From a9c80b6192164234ca1c2551762099c482bca646 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 1 Jun 2023 23:30:56 +0800 Subject: [PATCH] refactor: logic of login (#34) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除登录组件,改为使用 Console 的登录页面,因为目前 Halo 在 2.6 中已经支持了登录之后重定向到某个页面。 /kind improvement 可测试插件:[plugin-comment-widget-1.5.0-SNAPSHOT.jar.zip](https://github.com/halo-sigs/plugin-comment-widget/files/11622679/plugin-comment-widget-1.5.0-SNAPSHOT.jar.zip) ```release-note 重构登录的逻辑,改为统一使用 Console 的登录页面。 ``` --- packages/comment-widget/package.json | 9 +- .../comment-widget/src/components/Form.vue | 28 ++- .../src/components/LoginModal.vue | 115 --------- packages/comment-widget/tsconfig.app.json | 1 + pnpm-lock.yaml | 235 ++---------------- src/main/resources/plugin.yaml | 2 +- .../resources/static/comment-widget.iife.js | 58 +---- src/main/resources/static/style.css | 4 +- 8 files changed, 52 insertions(+), 400 deletions(-) delete mode 100644 packages/comment-widget/src/components/LoginModal.vue diff --git a/packages/comment-widget/package.json b/packages/comment-widget/package.json index 621efc1..30fc0ba 100644 --- a/packages/comment-widget/package.json +++ b/packages/comment-widget/package.json @@ -31,15 +31,12 @@ "./dist/style.css": "./dist/style.css" }, "dependencies": { - "@halo-dev/api-client": "^2.4.0", - "@halo-dev/components": "^1.3.0", + "@halo-dev/api-client": "^2.6.0", + "@halo-dev/components": "^1.5.0", "@vueuse/components": "8.9.4", "@vueuse/core": "8.9.4", - "jsencrypt": "^3.3.2", "emoji-mart-vue-fast": "^12.0.1", - "lodash.clonedeep": "^4.5.0", - "qs": "^6.11.0", - "uuid": "^9.0.0" + "lodash.clonedeep": "^4.5.0" }, "devDependencies": { "@iconify-json/mdi": "^1.1.47", diff --git a/packages/comment-widget/src/components/Form.vue b/packages/comment-widget/src/components/Form.vue index 674650d..2570ba2 100644 --- a/packages/comment-widget/src/components/Form.vue +++ b/packages/comment-widget/src/components/Form.vue @@ -1,6 +1,5 @@
@@ -349,6 +360,5 @@ watchEffect(() => {
- diff --git a/packages/comment-widget/src/components/LoginModal.vue b/packages/comment-widget/src/components/LoginModal.vue deleted file mode 100644 index b6c31a6..0000000 --- a/packages/comment-widget/src/components/LoginModal.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - diff --git a/packages/comment-widget/tsconfig.app.json b/packages/comment-widget/tsconfig.app.json index 3c0ea31..f8ced31 100644 --- a/packages/comment-widget/tsconfig.app.json +++ b/packages/comment-widget/tsconfig.app.json @@ -4,6 +4,7 @@ "exclude": ["src/**/__tests__/*"], "compilerOptions": { "composite": true, + "lib": ["esnext"], "baseUrl": ".", "paths": { "@/*": ["./src/*"] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7821b93..7c76fbe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,8 +55,8 @@ importers: packages/comment-widget: specifiers: - '@halo-dev/api-client': ^2.4.0 - '@halo-dev/components': ^1.3.0 + '@halo-dev/api-client': ^2.6.0 + '@halo-dev/components': ^1.5.0 '@iconify-json/mdi': ^1.1.47 '@tailwindcss/forms': ^0.5.3 '@types/lodash.clonedeep': ^4.5.7 @@ -66,28 +66,22 @@ importers: '@vueuse/core': 8.9.4 autoprefixer: ^10.4.13 emoji-mart-vue-fast: ^12.0.1 - jsencrypt: ^3.3.2 lodash.clonedeep: ^4.5.0 postcss: ^8.4.21 prettier-plugin-tailwindcss: ^0.1.13 - qs: ^6.11.0 release-it: ^15.6.0 sass: ^1.58.3 tailwindcss: ^3.2.7 tailwindcss-themer: ^2.0.3 unplugin-icons: ^0.14.15 - uuid: ^9.0.0 vue-typegen: ^0.2.0 dependencies: - '@halo-dev/api-client': 2.4.0 - '@halo-dev/components': 1.3.0 + '@halo-dev/api-client': 2.6.0 + '@halo-dev/components': 1.5.0 '@vueuse/components': 8.9.4 '@vueuse/core': 8.9.4 emoji-mart-vue-fast: 12.0.1 - jsencrypt: 3.3.2 lodash.clonedeep: 4.5.0 - qs: 6.11.0 - uuid: 9.0.0 devDependencies: '@iconify-json/mdi': 1.1.47 '@tailwindcss/forms': 0.5.3_tailwindcss@3.2.7 @@ -175,117 +169,6 @@ packages: '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 - /@codemirror/autocomplete/6.4.2_dtwlkgx6567fllxi7sgvnep6hy: - resolution: {integrity: sha512-8WE2xp+D0MpWEv5lZ6zPW1/tf4AGb358T5GWYiKEuCP8MvFfT3tH2mIF9Y2yr2e3KbHuSvsVhosiEyqCpiJhZQ==} - peerDependencies: - '@codemirror/language': ^6.0.0 - '@codemirror/state': ^6.0.0 - '@codemirror/view': ^6.0.0 - dependencies: - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - '@lezer/common': 1.0.2 - dev: false - - /@codemirror/commands/6.2.1: - resolution: {integrity: sha512-FFiNKGuHA5O8uC6IJE5apI5rT9gyjlw4whqy4vlcX0wE/myxL6P1s0upwDhY4HtMWLOwzwsp0ap3bjdQhvfDOA==} - dependencies: - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - '@lezer/common': 1.0.2 - dev: false - - /@codemirror/lang-css/6.0.2_@codemirror+view@6.9.1: - resolution: {integrity: sha512-4V4zmUOl2Glx0GWw0HiO1oGD4zvMlIQ3zx5hXOE6ipCjhohig2bhWRAasrZylH9pRNTcl1VMa59Lsl8lZWlTzw==} - dependencies: - '@codemirror/autocomplete': 6.4.2_dtwlkgx6567fllxi7sgvnep6hy - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@lezer/css': 1.1.1 - transitivePeerDependencies: - - '@codemirror/view' - dev: false - - /@codemirror/lang-html/6.4.2: - resolution: {integrity: sha512-bqCBASkteKySwtIbiV/WCtGnn/khLRbbiV5TE+d9S9eQJD7BA4c5dTRm2b3bVmSpilff5EYxvB4PQaZzM/7cNw==} - dependencies: - '@codemirror/autocomplete': 6.4.2_dtwlkgx6567fllxi7sgvnep6hy - '@codemirror/lang-css': 6.0.2_@codemirror+view@6.9.1 - '@codemirror/lang-javascript': 6.1.4 - '@codemirror/language': 6.6.0 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - '@lezer/common': 1.0.2 - '@lezer/css': 1.1.1 - '@lezer/html': 1.3.2 - dev: false - - /@codemirror/lang-javascript/6.1.4: - resolution: {integrity: sha512-OxLf7OfOZBTMRMi6BO/F72MNGmgOd9B0vetOLvHsDACFXayBzW8fm8aWnDM0yuy68wTK03MBf4HbjSBNRG5q7A==} - dependencies: - '@codemirror/autocomplete': 6.4.2_dtwlkgx6567fllxi7sgvnep6hy - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.1.1 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - '@lezer/common': 1.0.2 - '@lezer/javascript': 1.4.1 - dev: false - - /@codemirror/lang-json/6.0.1: - resolution: {integrity: sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==} - dependencies: - '@codemirror/language': 6.6.0 - '@lezer/json': 1.0.0 - dev: false - - /@codemirror/language/6.6.0: - resolution: {integrity: sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.3 - '@lezer/lr': 1.3.3 - style-mod: 4.0.0 - dev: false - - /@codemirror/legacy-modes/6.3.1: - resolution: {integrity: sha512-icXmCs4Mhst2F8mE0TNpmG6l7YTj1uxam3AbZaFaabINH5oWAdg2CfR/PVi+d/rqxJ+TuTnvkKK5GILHrNThtw==} - dependencies: - '@codemirror/language': 6.6.0 - dev: false - - /@codemirror/lint/6.1.1: - resolution: {integrity: sha512-e+M543x0NVHGayNHQzLP4XByJsvbu/ojY6+0VF2Y4Uu66Rt1nADuxNflZwECLf7gS009smIsptSUa6bUj/U/rw==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - crelt: 1.0.5 - dev: false - - /@codemirror/search/6.2.3: - resolution: {integrity: sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==} - dependencies: - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - crelt: 1.0.5 - dev: false - - /@codemirror/state/6.2.0: - resolution: {integrity: sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==} - dev: false - - /@codemirror/view/6.9.1: - resolution: {integrity: sha512-bzfSjJn9dAADVpabLKWKNmMG4ibyTV2e3eOGowjElNPTdTkSbi6ixPYHm2u0ADcETfKsi2/R84Rkmi91dH9yEg==} - dependencies: - '@codemirror/state': 6.2.0 - style-mod: 4.0.0 - w3c-keyname: 2.2.6 - dev: false - /@esbuild/android-arm/0.16.17: resolution: {integrity: sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==} engines: {node: '>=12'} @@ -520,26 +403,16 @@ packages: '@floating-ui/core': 0.3.1 dev: false - /@halo-dev/api-client/2.4.0: - resolution: {integrity: sha512-QhA2+oLkiWBHVn/SRXla/Db38LSA7XJUwDM6PfGHxlwj7v48FP1T1yfTnxAmQ07/ZDfR/8IH6wZxU//OMFCTog==} + /@halo-dev/api-client/2.6.0: + resolution: {integrity: sha512-lDZi+G0nPjIOsO/m2ERL+P14PnXzuqE9iALZaBb6In9/CSK5g2+wvGBsSsOe+LAdt+eagx70cq5grIdK+CYzgg==} dev: false - /@halo-dev/components/1.3.0: - resolution: {integrity: sha512-tlB6EcDXyYTTWoxT8JS7c1EkRZ49Ss59m6cwij9pa+yJCv4dCxt3E+iDV3gaThdifKRImPgiTM05GSp1NQBdCg==} + /@halo-dev/components/1.5.0: + resolution: {integrity: sha512-zVRY2AzeE83fR5omZO8q6R/kAAxZ7iSgVNcLxTjOXSPl0SP3HD4LWXoloO1rWoa/O/JUlFY2WqBAEWnu8miCGA==} peerDependencies: vue: ^3.2.37 vue-router: ^4.0.16 dependencies: - '@codemirror/commands': 6.2.1 - '@codemirror/lang-css': 6.0.2_@codemirror+view@6.9.1 - '@codemirror/lang-html': 6.4.2 - '@codemirror/lang-javascript': 6.1.4 - '@codemirror/lang-json': 6.0.1 - '@codemirror/language': 6.6.0 - '@codemirror/legacy-modes': 6.3.1 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - codemirror: 6.0.1 floating-vue: 2.0.0-beta.20 dev: false @@ -590,51 +463,6 @@ packages: - supports-color dev: true - /@lezer/common/1.0.2: - resolution: {integrity: sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==} - dev: false - - /@lezer/css/1.1.1: - resolution: {integrity: sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==} - dependencies: - '@lezer/highlight': 1.1.3 - '@lezer/lr': 1.3.3 - dev: false - - /@lezer/highlight/1.1.3: - resolution: {integrity: sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==} - dependencies: - '@lezer/common': 1.0.2 - dev: false - - /@lezer/html/1.3.2: - resolution: {integrity: sha512-LKGyDdqqDugXR/lKM9FwaKEfMerbZ/aqvhLf0P1FLLK/pVP7wKHXGcg6g3cJ7ckvFidn0tXA8jioG0irVsCBAQ==} - dependencies: - '@lezer/common': 1.0.2 - '@lezer/highlight': 1.1.3 - '@lezer/lr': 1.3.3 - dev: false - - /@lezer/javascript/1.4.1: - resolution: {integrity: sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==} - dependencies: - '@lezer/highlight': 1.1.3 - '@lezer/lr': 1.3.3 - dev: false - - /@lezer/json/1.0.0: - resolution: {integrity: sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==} - dependencies: - '@lezer/highlight': 1.1.3 - '@lezer/lr': 1.3.3 - dev: false - - /@lezer/lr/1.3.3: - resolution: {integrity: sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==} - dependencies: - '@lezer/common': 1.0.2 - dev: false - /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1611,6 +1439,7 @@ packages: dependencies: function-bind: 1.1.1 get-intrinsic: 1.2.0 + dev: true /callsites/3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} @@ -1729,18 +1558,6 @@ packages: engines: {node: '>=0.8'} dev: true - /codemirror/6.0.1: - resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} - dependencies: - '@codemirror/autocomplete': 6.4.2_dtwlkgx6567fllxi7sgvnep6hy - '@codemirror/commands': 6.2.1 - '@codemirror/language': 6.6.0 - '@codemirror/lint': 6.1.1 - '@codemirror/search': 6.2.3 - '@codemirror/state': 6.2.0 - '@codemirror/view': 6.9.1 - dev: false - /color-convert/1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -1832,10 +1649,6 @@ packages: path-type: 4.0.0 dev: true - /crelt/1.0.5: - resolution: {integrity: sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==} - dev: false - /cross-spawn/6.0.5: resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} engines: {node: '>=4.8'} @@ -2853,6 +2666,7 @@ packages: /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true /function.prototype.name/1.1.5: resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} @@ -2878,6 +2692,7 @@ packages: function-bind: 1.1.1 has: 1.0.3 has-symbols: 1.0.3 + dev: true /get-stream/6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} @@ -3058,6 +2873,7 @@ packages: /has-symbols/1.0.3: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} + dev: true /has-tostringtag/1.0.0: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} @@ -3076,6 +2892,7 @@ packages: engines: {node: '>= 0.4.0'} dependencies: function-bind: 1.1.1 + dev: true /he/1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} @@ -3604,10 +3421,6 @@ packages: - utf-8-validate dev: true - /jsencrypt/3.3.2: - resolution: {integrity: sha512-arQR1R1ESGdAxY7ZheWr12wCaF2yF47v5qpB76TtV64H1pyGudk9Hvw8Y9tb/FiTIaaTRUyaSnm5T/Y53Ghm/A==} - dev: false - /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} dev: true @@ -4024,6 +3837,7 @@ packages: /object-inspect/1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} + dev: true /object-keys/1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} @@ -4501,13 +4315,6 @@ packages: escape-goat: 4.0.0 dev: true - /qs/6.11.0: - resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} - engines: {node: '>=0.6'} - dependencies: - side-channel: 1.0.4 - dev: false - /querystringify/2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} dev: true @@ -4866,6 +4673,7 @@ packages: call-bind: 1.0.2 get-intrinsic: 1.2.0 object-inspect: 1.12.3 + dev: true /siginfo/2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} @@ -5086,10 +4894,6 @@ packages: acorn: 8.8.2 dev: true - /style-mod/4.0.0: - resolution: {integrity: sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==} - dev: false - /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} @@ -5435,11 +5239,6 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true - /uuid/9.0.0: - resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} - hasBin: true - dev: false - /validate-npm-package-license/3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -5701,10 +5500,6 @@ packages: browser-process-hrtime: 1.0.0 dev: true - /w3c-keyname/2.2.6: - resolution: {integrity: sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==} - dev: false - /w3c-xmlserializer/3.0.0: resolution: {integrity: sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==} engines: {node: '>=12'} diff --git a/src/main/resources/plugin.yaml b/src/main/resources/plugin.yaml index 688ea66..5a93d91 100644 --- a/src/main/resources/plugin.yaml +++ b/src/main/resources/plugin.yaml @@ -5,7 +5,7 @@ metadata: spec: enabled: true version: "1.5.0" - requires: ">=2.4.0" + requires: ">=2.6.0" author: name: Halo OSS Team website: https://github.com/halo-dev diff --git a/src/main/resources/static/comment-widget.iife.js b/src/main/resources/static/comment-widget.iife.js index 74a71f4..0a96e2a 100644 --- a/src/main/resources/static/comment-widget.iife.js +++ b/src/main/resources/static/comment-widget.iife.js @@ -1,14 +1,14 @@ -var CommentWidget=function(Fh){"use strict";function dr(t,e){const r=Object.create(null),n=t.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const $Q=dr("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function Ct(t){if(te(t)){const e={};for(let r=0;r{if(r){const n=r.split(PQ);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function qe(t){let e="";if(pe(t))e=t;else if(te(t))for(let r=0;rri(r,e))}const Te=t=>pe(t)?t:t==null?"":te(t)||ze(t)&&(t.toString===am||!he(t.toString))?JSON.stringify(t,sm,2):String(t),sm=(t,e)=>e&&e.__v_isRef?sm(t,e.value):Zs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:Hi(e)?{[`Set(${e.size})`]:[...e.values()]}:ze(e)&&!te(e)&&!lm(e)?String(e):e,Ie={},qs=[],rr=()=>{},_l=()=>!1,IQ=/^on[^a-z]/,Gi=t=>IQ.test(t),Gh=t=>t.startsWith("onUpdate:"),Re=Object.assign,Hh=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},LQ=Object.prototype.hasOwnProperty,xe=(t,e)=>LQ.call(t,e),te=Array.isArray,Zs=t=>Fs(t)==="[object Map]",Hi=t=>Fs(t)==="[object Set]",om=t=>Fs(t)==="[object Date]",VQ=t=>Fs(t)==="[object RegExp]",he=t=>typeof t=="function",pe=t=>typeof t=="string",ni=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",Yh=t=>ze(t)&&he(t.then)&&he(t.catch),am=Object.prototype.toString,Fs=t=>am.call(t),zQ=t=>Fs(t).slice(8,-1),lm=t=>Fs(t)==="[object Object]",Kh=t=>pe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Yi=dr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),WQ=dr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Pl=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},BQ=/-(\w)/g,St=Pl(t=>t.replace(BQ,(e,r)=>r?r.toUpperCase():"")),UQ=/\B([A-Z])/g,Tr=Pl(t=>t.replace(UQ,"-$1").toLowerCase()),Ki=Pl(t=>t.charAt(0).toUpperCase()+t.slice(1)),Gs=Pl(t=>t?`on${Ki(t)}`:""),Hs=(t,e)=>!Object.is(t,e),Ys=(t,e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},kl=t=>{const e=parseFloat(t);return isNaN(e)?t:e},El=t=>{const e=pe(t)?Number(t):NaN;return isNaN(e)?t:e};let cm;const XQ=()=>cm||(cm=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Qr;class Jh{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qr,!e&&Qr&&(this.index=(Qr.scopes||(Qr.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=Qr;try{return Qr=this,e()}finally{Qr=r}}}on(){Qr=this}off(){Qr=this.parent}stop(e){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const e=new Set(t);return e.w=0,e.n=0,e},fm=t=>(t.w&ii)>0,dm=t=>(t.n&ii)>0,ZQ=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let r=0;for(let n=0;n{(u==="length"||u>=l)&&a.push(c)})}else switch(r!==void 0&&a.push(o.get(r)),e){case"add":te(t)?Kh(r)&&a.push(o.get("length")):(a.push(o.get(Ji)),Zs(t)&&a.push(o.get(nf)));break;case"delete":te(t)||(a.push(o.get(Ji)),Zs(t)&&a.push(o.get(nf)));break;case"set":Zs(t)&&a.push(o.get(Ji));break}if(a.length===1)a[0]&&sf(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);sf(tf(l))}}function sf(t,e){const r=te(t)?t:[...t];for(const n of r)n.computed&&mm(n);for(const n of r)n.computed||mm(n)}function mm(t,e){(t!==Fr||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function YQ(t,e){var r;return(r=Al.get(t))===null||r===void 0?void 0:r.get(e)}const KQ=dr("__proto__,__v_isRef,__isVue"),ym=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ni)),JQ=Rl(),ex=Rl(!1,!0),tx=Rl(!0),rx=Rl(!0,!0),vm=nx();function nx(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=Se(this);for(let s=0,o=this.length;s{t[e]=function(...r){Ks();const n=Se(this)[e].apply(this,r);return Js(),n}}),t}function ix(t){const e=Se(this);return pr(e,"has",t),e.hasOwnProperty(t)}function Rl(t=!1,e=!1){return function(n,i,s){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(t?e?km:Cm:e?Pm:_m).get(n))return n;const o=te(n);if(!t){if(o&&xe(vm,i))return Reflect.get(vm,i,s);if(i==="hasOwnProperty")return ix}const a=Reflect.get(n,i,s);return(ni(i)?ym.has(i):KQ(i))||(t||pr(n,"get",i),e)?a:Ke(a)?o&&Kh(i)?a:a.value:ze(a)?t?af(a):hn(a):a}}const sx=wm(),ox=wm(!0);function wm(t=!1){return function(r,n,i,s){let o=r[n];if(ts(o)&&Ke(o)&&!Ke(i))return!1;if(!t&&(!ua(i)&&!ts(i)&&(o=Se(o),i=Se(i)),!te(r)&&Ke(o)&&!Ke(i)))return o.value=i,!0;const a=te(r)&&Kh(n)?Number(n)t,Ml=t=>Reflect.getPrototypeOf(t);function jl(t,e,r=!1,n=!1){t=t.__v_raw;const i=Se(t),s=Se(e);r||(e!==s&&pr(i,"get",e),pr(i,"get",s));const{has:o}=Ml(i),a=n?of:r?uf:ha;if(o.call(i,e))return a(t.get(e));if(o.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function Dl(t,e=!1){const r=this.__v_raw,n=Se(r),i=Se(t);return e||(t!==i&&pr(n,"has",t),pr(n,"has",i)),t===i?r.has(t):r.has(t)||r.has(i)}function Nl(t,e=!1){return t=t.__v_raw,!e&&pr(Se(t),"iterate",Ji),Reflect.get(t,"size",t)}function Tm(t){t=Se(t);const e=Se(this);return Ml(e).has.call(e,t)||(e.add(t),En(e,"add",t,t)),this}function Qm(t,e){e=Se(e);const r=Se(this),{has:n,get:i}=Ml(r);let s=n.call(r,t);s||(t=Se(t),s=n.call(r,t));const o=i.call(r,t);return r.set(t,e),s?Hs(e,o)&&En(r,"set",t,e):En(r,"add",t,e),this}function xm(t){const e=Se(this),{has:r,get:n}=Ml(e);let i=r.call(e,t);i||(t=Se(t),i=r.call(e,t)),n&&n.call(e,t);const s=e.delete(t);return i&&En(e,"delete",t,void 0),s}function $m(){const t=Se(this),e=t.size!==0,r=t.clear();return e&&En(t,"clear",void 0,void 0),r}function Il(t,e){return function(n,i){const s=this,o=s.__v_raw,a=Se(o),l=e?of:t?uf:ha;return!t&&pr(a,"iterate",Ji),o.forEach((c,u)=>n.call(i,l(c),l(u),s))}}function Ll(t,e,r){return function(...n){const i=this.__v_raw,s=Se(i),o=Zs(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...n),u=r?of:e?uf:ha;return!e&&pr(s,"iterate",l?nf:Ji),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function oi(t){return function(...e){return t==="delete"?!1:this}}function fx(){const t={get(s){return jl(this,s)},get size(){return Nl(this)},has:Dl,add:Tm,set:Qm,delete:xm,clear:$m,forEach:Il(!1,!1)},e={get(s){return jl(this,s,!1,!0)},get size(){return Nl(this)},has:Dl,add:Tm,set:Qm,delete:xm,clear:$m,forEach:Il(!1,!0)},r={get(s){return jl(this,s,!0)},get size(){return Nl(this,!0)},has(s){return Dl.call(this,s,!0)},add:oi("add"),set:oi("set"),delete:oi("delete"),clear:oi("clear"),forEach:Il(!0,!1)},n={get(s){return jl(this,s,!0,!0)},get size(){return Nl(this,!0)},has(s){return Dl.call(this,s,!0)},add:oi("add"),set:oi("set"),delete:oi("delete"),clear:oi("clear"),forEach:Il(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Ll(s,!1,!1),r[s]=Ll(s,!0,!1),e[s]=Ll(s,!1,!0),n[s]=Ll(s,!0,!0)}),[t,r,e,n]}const[dx,px,Ox,gx]=fx();function Vl(t,e){const r=e?t?gx:Ox:t?px:dx;return(n,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(xe(r,i)&&i in n?r:n,i,s)}const mx={get:Vl(!1,!1)},yx={get:Vl(!1,!0)},vx={get:Vl(!0,!1)},wx={get:Vl(!0,!0)},_m=new WeakMap,Pm=new WeakMap,Cm=new WeakMap,km=new WeakMap;function Sx(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bx(t){return t.__v_skip||!Object.isExtensible(t)?0:Sx(zQ(t))}function hn(t){return ts(t)?t:zl(t,!1,Sm,mx,_m)}function Em(t){return zl(t,!1,ux,yx,Pm)}function af(t){return zl(t,!0,bm,vx,Cm)}function Tx(t){return zl(t,!0,hx,wx,km)}function zl(t,e,r,n,i){if(!ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=bx(t);if(o===0)return t;const a=new Proxy(t,o===2?n:r);return i.set(t,a),a}function es(t){return ts(t)?es(t.__v_raw):!!(t&&t.__v_isReactive)}function ts(t){return!!(t&&t.__v_isReadonly)}function ua(t){return!!(t&&t.__v_isShallow)}function lf(t){return es(t)||ts(t)}function Se(t){const e=t&&t.__v_raw;return e?Se(e):t}function cf(t){return Cl(t,"__v_skip",!0),t}const ha=t=>ze(t)?hn(t):t,uf=t=>ze(t)?af(t):t;function hf(t){si&&Fr&&(t=Se(t),gm(t.dep||(t.dep=tf())))}function Wl(t,e){t=Se(t);const r=t.dep;r&&sf(r)}function Ke(t){return!!(t&&t.__v_isRef===!0)}function fe(t){return Am(t,!1)}function ff(t){return Am(t,!0)}function Am(t,e){return Ke(t)?t:new Qx(t,e)}class Qx{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Se(e),this._value=r?e:ha(e)}get value(){return hf(this),this._value}set value(e){const r=this.__v_isShallow||ua(e)||ts(e);e=r?e:Se(e),Hs(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:ha(e),Wl(this))}}function xx(t){Wl(t)}function V(t){return Ke(t)?t.value:t}const $x={get:(t,e,r)=>V(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return Ke(i)&&!Ke(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function df(t){return es(t)?t:new Proxy(t,$x)}class _x{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=e(()=>hf(this),()=>Wl(this));this._get=r,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Px(t){return new _x(t)}function Cx(t){const e=te(t)?new Array(t.length):{};for(const r in t)e[r]=Rm(t,r);return e}class kx{constructor(e,r,n){this._object=e,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return YQ(Se(this._object),this._key)}}function Rm(t,e,r){const n=t[e];return Ke(n)?n:new kx(t,e,r)}var Mm;class Ex{constructor(e,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[Mm]=!1,this._dirty=!0,this.effect=new ca(e,()=>{this._dirty||(this._dirty=!0,Wl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Se(this);return hf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Mm="__v_isReadonly";function Ax(t,e,r=!1){let n,i;const s=he(t);return s?(n=t,i=rr):(n=t.get,i=t.set),new Ex(n,i,s||!i,r)}function Rx(t,...e){}function Mx(t,e){}function An(t,e,r,n){let i;try{i=n?t(...n):t()}catch(s){rs(s,e,r)}return i}function xr(t,e,r,n){if(he(t)){const s=An(t,e,r,n);return s&&Yh(s)&&s.catch(o=>{rs(o,e,r)}),s}const i=[];for(let s=0;s>>1;pa(zt[n])fn&&zt.splice(e,1)}function gf(t){te(t)?eo.push(...t):(!Rn||!Rn.includes(t,t.allowRecurse?ns+1:ns))&&eo.push(t),Dm()}function Nm(t,e=fa?fn+1:0){for(;epa(r)-pa(n)),ns=0;nst.id==null?1/0:t.id,Ix=(t,e)=>{const r=pa(t)-pa(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function Im(t){pf=!1,fa=!0,zt.sort(Ix);const e=rr;try{for(fn=0;fnto.emit(i,...s)),Xl=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((n=(r=window.navigator)===null||r===void 0?void 0:r.userAgent)===null||n===void 0)&&n.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Lm(s,e)}),setTimeout(()=>{to||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Xl=[])},3e3)):Xl=[]}function Lx(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||Ie;let i=r;const s=e.startsWith("update:"),o=s&&e.slice(7);if(o&&o in n){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:f}=n[u]||Ie;f&&(i=r.map(d=>pe(d)?d.trim():d)),h&&(i=r.map(kl))}let a,l=n[a=Gs(e)]||n[a=Gs(St(e))];!l&&s&&(l=n[a=Gs(Tr(e))]),l&&xr(l,t,6,i);const c=n[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xr(c,t,6,i)}}function Vm(t,e,r=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!he(t)){const l=c=>{const u=Vm(c,e,!0);u&&(a=!0,Re(o,u))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(ze(t)&&n.set(t,null),null):(te(s)?s.forEach(l=>o[l]=null):Re(o,s),ze(t)&&n.set(t,o),o)}function ql(t,e){return!t||!Gi(e)?!1:(e=e.slice(2).replace(/Once$/,""),xe(t,e[0].toLowerCase()+e.slice(1))||xe(t,Tr(e))||xe(t,e))}let kt=null,Zl=null;function Oa(t){const e=kt;return kt=t,Zl=t&&t.type.__scopeId||null,e}function zm(t){Zl=t}function Wm(){Zl=null}const Bm=t=>We;function We(t,e=kt,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&Nf(-1);const s=Oa(e);let o;try{o=t(...i)}finally{Oa(s),n._d&&Nf(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function FL(){}function Fl(t){const{type:e,vnode:r,proxy:n,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:f,setupState:d,ctx:p,inheritAttrs:O}=t;let y,g;const m=Oa(t);try{if(r.shapeFlag&4){const b=i||n;y=_r(u.call(b,b,h,s,d,f,p)),g=l}else{const b=e;y=_r(b.length>1?b(s,{attrs:l,slots:a,emit:c}):b(s,null)),g=e.props?l:zx(l)}}catch(b){Ta.length=0,rs(b,t,1),y=se(Wt)}let v=y;if(g&&O!==!1){const b=Object.keys(g),{shapeFlag:x}=v;b.length&&x&7&&(o&&b.some(Gh)&&(g=Wx(g,o)),v=pn(v,g))}return r.dirs&&(v=pn(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),y=v,Oa(m),y}function Vx(t){let e;for(let r=0;r{let e;for(const r in t)(r==="class"||r==="style"||Gi(r))&&((e||(e={}))[r]=t[r]);return e},Wx=(t,e)=>{const r={};for(const n in t)(!Gh(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function Bx(t,e,r){const{props:n,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?Um(n,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense,Ux={name:"Suspense",__isSuspense:!0,process(t,e,r,n,i,s,o,a,l,c){t==null?Xx(e,r,n,i,s,o,a,l,c):qx(t,e,r,n,i,o,a,l,c)},hydrate:Zx,create:yf,normalize:Fx};function ga(t,e){const r=t.props&&t.props[e];he(r)&&r()}function Xx(t,e,r,n,i,s,o,a,l){const{p:c,o:{createElement:u}}=l,h=u("div"),f=t.suspense=yf(t,i,n,e,h,r,s,o,a,l);c(null,f.pendingBranch=t.ssContent,h,null,n,f,s,o),f.deps>0?(ga(t,"onPending"),ga(t,"onFallback"),c(null,t.ssFallback,e,r,n,null,s,o),ro(f,t.ssFallback)):f.resolve()}function qx(t,e,r,n,i,s,o,a,{p:l,um:c,o:{createElement:u}}){const h=e.suspense=t.suspense;h.vnode=e,e.el=t.el;const f=e.ssContent,d=e.ssFallback,{activeBranch:p,pendingBranch:O,isInFallback:y,isHydrating:g}=h;if(O)h.pendingBranch=f,Yr(f,O)?(l(O,f,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0?h.resolve():y&&(l(p,d,r,n,i,null,s,o,a),ro(h,d))):(h.pendingId++,g?(h.isHydrating=!1,h.activeBranch=O):c(O,i,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),y?(l(null,f,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0?h.resolve():(l(p,d,r,n,i,null,s,o,a),ro(h,d))):p&&Yr(f,p)?(l(p,f,r,n,i,h,s,o,a),h.resolve(!0)):(l(null,f,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0&&h.resolve()));else if(p&&Yr(f,p))l(p,f,r,n,i,h,s,o,a),ro(h,f);else if(ga(e,"onPending"),h.pendingBranch=f,h.pendingId++,l(null,f,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0)h.resolve();else{const{timeout:m,pendingId:v}=h;m>0?setTimeout(()=>{h.pendingId===v&&h.fallback(d)},m):m===0&&h.fallback(d)}}function yf(t,e,r,n,i,s,o,a,l,c,u=!1){const{p:h,m:f,um:d,n:p,o:{parentNode:O,remove:y}}=c,g=t.props?El(t.props.timeout):void 0,m={vnode:t,parent:e,parentComponent:r,isSVG:o,container:n,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(v=!1){const{vnode:b,activeBranch:x,pendingBranch:w,pendingId:$,effects:T,parentComponent:C,container:A}=m;if(m.isHydrating)m.isHydrating=!1;else if(!v){const k=x&&w.transition&&w.transition.mode==="out-in";k&&(x.transition.afterLeave=()=>{$===m.pendingId&&f(w,A,E,0)});let{anchor:E}=m;x&&(E=p(x),d(x,C,m,!0)),k||f(w,A,E,0)}ro(m,w),m.pendingBranch=null,m.isInFallback=!1;let _=m.parent,P=!1;for(;_;){if(_.pendingBranch){_.effects.push(...T),P=!0;break}_=_.parent}P||gf(T),m.effects=[],ga(b,"onResolve")},fallback(v){if(!m.pendingBranch)return;const{vnode:b,activeBranch:x,parentComponent:w,container:$,isSVG:T}=m;ga(b,"onFallback");const C=p(x),A=()=>{!m.isInFallback||(h(null,v,$,C,w,null,T,a,l),ro(m,v))},_=v.transition&&v.transition.mode==="out-in";_&&(x.transition.afterLeave=A),m.isInFallback=!0,d(x,w,null,!0),_||A()},move(v,b,x){m.activeBranch&&f(m.activeBranch,v,b,x),m.container=v},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(v,b){const x=!!m.pendingBranch;x&&m.deps++;const w=v.vnode.el;v.asyncDep.catch($=>{rs($,v,0)}).then($=>{if(v.isUnmounted||m.isUnmounted||m.pendingId!==v.suspenseId)return;v.asyncResolved=!0;const{vnode:T}=v;Vf(v,$,!1),w&&(T.el=w);const C=!w&&v.subTree.el;b(v,T,O(w||v.subTree.el),w?null:p(v.subTree),m,o,l),C&&y(C),mf(v,T.el),x&&--m.deps===0&&m.resolve()})},unmount(v,b){m.isUnmounted=!0,m.activeBranch&&d(m.activeBranch,r,v,b),m.pendingBranch&&d(m.pendingBranch,r,v,b)}};return m}function Zx(t,e,r,n,i,s,o,a,l){const c=e.suspense=yf(e,n,r,t.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=l(t,c.pendingBranch=e.ssContent,r,c,s,o);return c.deps===0&&c.resolve(),u}function Fx(t){const{shapeFlag:e,children:r}=t,n=e&32;t.ssContent=qm(n?r.default:r),t.ssFallback=n?qm(r.fallback):se(Wt)}function qm(t){let e;if(he(t)){const r=hs&&t._c;r&&(t._d=!1,W()),t=t(),r&&(t._d=!0,e=Or,E1())}return te(t)&&(t=Vx(t)),t=_r(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(r=>r!==t)),t}function Zm(t,e){e&&e.pendingBranch?te(t)?e.effects.push(...t):e.effects.push(t):gf(t)}function ro(t,e){t.activeBranch=e;const{vnode:r,parentComponent:n}=t,i=r.el=e.el;n&&n.subTree===r&&(n.vnode.el=i,mf(n,i))}function Nr(t,e){if(st){let r=st.provides;const n=st.parent&&st.parent.provides;n===r&&(r=st.provides=Object.create(n)),r[t]=e}}function nr(t,e,r=!1){const n=st||kt;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return r&&he(e)?e.call(n.proxy):e}}function Fm(t,e){return ma(t,null,e)}function Gm(t,e){return ma(t,null,{flush:"post"})}function Gx(t,e){return ma(t,null,{flush:"sync"})}const Gl={};function ut(t,e,r){return ma(t,e,r)}function ma(t,e,{immediate:r,deep:n,flush:i,onTrack:s,onTrigger:o}=Ie){const a=ef()===(st==null?void 0:st.scope)?st:null;let l,c=!1,u=!1;if(Ke(t)?(l=()=>t.value,c=ua(t)):es(t)?(l=()=>t,n=!0):te(t)?(u=!0,c=t.some(v=>es(v)||ua(v)),l=()=>t.map(v=>{if(Ke(v))return v.value;if(es(v))return is(v);if(he(v))return An(v,a,2)})):he(t)?e?l=()=>An(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),xr(t,a,3,[f])}:l=rr,e&&n){const v=l;l=()=>is(v())}let h,f=v=>{h=g.onStop=()=>{An(v,a,4)}},d;if(io)if(f=rr,e?r&&xr(e,a,3,[l(),u?[]:void 0,f]):l(),i==="sync"){const v=U1();d=v.__watcherHandles||(v.__watcherHandles=[])}else return rr;let p=u?new Array(t.length).fill(Gl):Gl;const O=()=>{if(!!g.active)if(e){const v=g.run();(n||c||(u?v.some((b,x)=>Hs(b,p[x])):Hs(v,p)))&&(h&&h(),xr(e,a,3,[v,p===Gl?void 0:u&&p[0]===Gl?[]:p,f]),p=v)}else g.run()};O.allowRecurse=!!e;let y;i==="sync"?y=O:i==="post"?y=()=>Et(O,a&&a.suspense):(O.pre=!0,a&&(O.id=a.uid),y=()=>Bl(O));const g=new ca(l,y);e?r?O():p=g.run():i==="post"?Et(g.run.bind(g),a&&a.suspense):g.run();const m=()=>{g.stop(),a&&a.scope&&Hh(a.scope.effects,g)};return d&&d.push(m),m}function Hx(t,e,r){const n=this.proxy,i=pe(t)?t.includes(".")?Hm(n,t):()=>n[t]:t.bind(n,n);let s;he(e)?s=e:(s=e.handler,r=e);const o=st;fi(this);const a=ma(i,s.bind(n),r);return o?fi(o):di(),a}function Hm(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i{is(r,e)});else if(lm(t))for(const r in t)is(t[r],e);return t}function vf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ai(()=>{t.isMounted=!0}),Jl(()=>{t.isUnmounting=!0}),t}const Ir=[Function,Array],wf={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ir,onEnter:Ir,onAfterEnter:Ir,onEnterCancelled:Ir,onBeforeLeave:Ir,onLeave:Ir,onAfterLeave:Ir,onLeaveCancelled:Ir,onBeforeAppear:Ir,onAppear:Ir,onAfterAppear:Ir,onAppearCancelled:Ir},setup(t,{slots:e}){const r=hi(),n=vf();let i;return()=>{const s=e.default&&Hl(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const O of s)if(O.type!==Wt){o=O;break}}const a=Se(t),{mode:l}=a;if(n.isLeaving)return Sf(o);const c=Km(o);if(!c)return Sf(o);const u=no(c,a,n,r);ss(c,u);const h=r.subTree,f=h&&Km(h);let d=!1;const{getTransitionKey:p}=c.type;if(p){const O=p();i===void 0?i=O:O!==i&&(i=O,d=!0)}if(f&&f.type!==Wt&&(!Yr(c,f)||d)){const O=no(f,a,n,r);if(ss(f,O),l==="out-in")return n.isLeaving=!0,O.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},Sf(o);l==="in-out"&&c.type!==Wt&&(O.delayLeave=(y,g,m)=>{const v=Ym(n,f);v[String(f.key)]=f,y._leaveCb=()=>{g(),y._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return o}}};function Ym(t,e){const{leavingVNodes:r}=t;let n=r.get(e.type);return n||(n=Object.create(null),r.set(e.type,n)),n}function no(t,e,r,n){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:O,onAppear:y,onAfterAppear:g,onAppearCancelled:m}=e,v=String(t.key),b=Ym(r,t),x=(T,C)=>{T&&xr(T,n,9,C)},w=(T,C)=>{const A=C[1];x(T,C),te(T)?T.every(_=>_.length<=1)&&A():T.length<=1&&A()},$={mode:s,persisted:o,beforeEnter(T){let C=a;if(!r.isMounted)if(i)C=O||a;else return;T._leaveCb&&T._leaveCb(!0);const A=b[v];A&&Yr(t,A)&&A.el._leaveCb&&A.el._leaveCb(),x(C,[T])},enter(T){let C=l,A=c,_=u;if(!r.isMounted)if(i)C=y||l,A=g||c,_=m||u;else return;let P=!1;const k=T._enterCb=E=>{P||(P=!0,E?x(_,[T]):x(A,[T]),$.delayedLeave&&$.delayedLeave(),T._enterCb=void 0)};C?w(C,[T,k]):k()},leave(T,C){const A=String(t.key);if(T._enterCb&&T._enterCb(!0),r.isUnmounting)return C();x(h,[T]);let _=!1;const P=T._leaveCb=k=>{_||(_=!0,C(),k?x(p,[T]):x(d,[T]),T._leaveCb=void 0,b[A]===t&&delete b[A])};b[A]=t,f?w(f,[T,P]):P()},clone(T){return no(T,e,r,n)}};return $}function Sf(t){if(ya(t))return t=pn(t),t.children=null,t}function Km(t){return ya(t)?t.children?t.children[0]:void 0:t}function ss(t,e){t.shapeFlag&6&&t.component?ss(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Hl(t,e=!1,r){let n=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader;function Yx(t){he(t)&&(t={loader:t});const{loader:e,loadingComponent:r,errorComponent:n,delay:i=200,timeout:s,suspensible:o=!0,onError:a}=t;let l=null,c,u=0;const h=()=>(u++,l=null,f()),f=()=>{let d;return l||(d=l=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((O,y)=>{a(p,()=>O(h()),()=>y(p),u+1)});throw p}).then(p=>d!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return it({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const d=st;if(c)return()=>bf(c,d);const p=m=>{l=null,rs(m,d,13,!n)};if(o&&d.suspense||io)return f().then(m=>()=>bf(m,d)).catch(m=>(p(m),()=>n?se(n,{error:m}):null));const O=fe(!1),y=fe(),g=fe(!!i);return i&&setTimeout(()=>{g.value=!1},i),s!=null&&setTimeout(()=>{if(!O.value&&!y.value){const m=new Error(`Async component timed out after ${s}ms.`);p(m),y.value=m}},s),f().then(()=>{O.value=!0,d.parent&&ya(d.parent.vnode)&&Bl(d.parent.update)}).catch(m=>{p(m),y.value=m}),()=>{if(O.value&&c)return bf(c,d);if(y.value&&n)return se(n,{error:y.value});if(r&&!g.value)return se(r)}}})}function bf(t,e){const{ref:r,props:n,children:i,ce:s}=e.vnode,o=se(t,n,i);return o.ref=r,o.ce=s,delete e.vnode.ce,o}const ya=t=>t.type.__isKeepAlive,Kx={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const r=hi(),n=r.ctx;if(!n.renderer)return()=>{const m=e.default&&e.default();return m&&m.length===1?m[0]:m};const i=new Map,s=new Set;let o=null;const a=r.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=n,f=h("div");n.activate=(m,v,b,x,w)=>{const $=m.component;c(m,v,b,0,a),l($.vnode,m,v,b,$,a,x,m.slotScopeIds,w),Et(()=>{$.isDeactivated=!1,$.a&&Ys($.a);const T=m.props&&m.props.onVnodeMounted;T&&gr(T,$.parent,m)},a)},n.deactivate=m=>{const v=m.component;c(m,f,null,1,a),Et(()=>{v.da&&Ys(v.da);const b=m.props&&m.props.onVnodeUnmounted;b&&gr(b,v.parent,m),v.isDeactivated=!0},a)};function d(m){Tf(m),u(m,r,a,!0)}function p(m){i.forEach((v,b)=>{const x=Wf(v.type);x&&(!m||!m(x))&&O(b)})}function O(m){const v=i.get(m);!o||!Yr(v,o)?d(v):o&&Tf(o),i.delete(m),s.delete(m)}ut(()=>[t.include,t.exclude],([m,v])=>{m&&p(b=>va(m,b)),v&&p(b=>!va(v,b))},{flush:"post",deep:!0});let y=null;const g=()=>{y!=null&&i.set(y,Qf(r.subTree))};return ai(g),Kl(g),Jl(()=>{i.forEach(m=>{const{subTree:v,suspense:b}=r,x=Qf(v);if(m.type===x.type&&m.key===x.key){Tf(x);const w=x.component.da;w&&Et(w,b);return}d(m)})}),()=>{if(y=null,!e.default)return null;const m=e.default(),v=m[0];if(m.length>1)return o=null,m;if(!ci(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let b=Qf(v);const x=b.type,w=Wf(os(b)?b.type.__asyncResolved||{}:x),{include:$,exclude:T,max:C}=t;if($&&(!w||!va($,w))||T&&w&&va(T,w))return o=b,v;const A=b.key==null?x:b.key,_=i.get(A);return b.el&&(b=pn(b),v.shapeFlag&128&&(v.ssContent=b)),y=A,_?(b.el=_.el,b.component=_.component,b.transition&&ss(b,b.transition),b.shapeFlag|=512,s.delete(A),s.add(A)):(s.add(A),C&&s.size>parseInt(C,10)&&O(s.values().next().value)),b.shapeFlag|=256,o=b,Xm(v.type)?v:b}}};function va(t,e){return te(t)?t.some(r=>va(r,e)):pe(t)?t.split(",").includes(e):VQ(t)?t.test(e):!1}function Jm(t,e){t1(t,"a",e)}function e1(t,e){t1(t,"da",e)}function t1(t,e,r=st){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Yl(e,n,r),r){let i=r.parent;for(;i&&i.parent;)ya(i.parent.vnode)&&Jx(n,e,r,i),i=i.parent}}function Jx(t,e,r,n){const i=Yl(e,t,n,!0);wa(()=>{Hh(n[e],i)},r)}function Tf(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Qf(t){return t.shapeFlag&128?t.ssContent:t}function Yl(t,e,r=st,n=!1){if(r){const i=r[t]||(r[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;Ks(),fi(r);const a=xr(e,r,t,o);return di(),Js(),a});return n?i.unshift(s):i.push(s),s}}const Mn=t=>(e,r=st)=>(!io||t==="sp")&&Yl(t,(...n)=>e(...n),r),r1=Mn("bm"),ai=Mn("m"),n1=Mn("bu"),Kl=Mn("u"),Jl=Mn("bum"),wa=Mn("um"),i1=Mn("sp"),s1=Mn("rtg"),o1=Mn("rtc");function a1(t,e=st){Yl("ec",t,e)}function ir(t,e){const r=kt;if(r===null)return t;const n=lc(r)||r.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;a{const s=n.fn(...i);return s&&(s.key=n.key),s}:n.fn)}return t}function ht(t,e,r={},n,i){if(kt.isCE||kt.parent&&os(kt.parent)&&kt.parent.isCE)return e!=="default"&&(r.name=e),se("slot",r,n&&n());let s=t[e];s&&s._c&&(s._d=!1),W();const o=s&&h1(s(r)),a=$e(Ce,{key:r.key||o&&o.key||`_${e}`},o||(n?n():[]),o&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function h1(t){return t.some(e=>ci(e)?!(e.type===Wt||e.type===Ce&&!h1(e.children)):!0)?t:null}function n$(t,e){const r={};for(const n in t)r[e&&/[A-Z]/.test(n)?`on:${n}`:Gs(n)]=t[n];return r}const _f=t=>t?D1(t)?lc(t)||t.proxy:_f(t.parent):null,Sa=Re(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>_f(t.parent),$root:t=>_f(t.root),$emit:t=>t.emit,$options:t=>Ef(t),$forceUpdate:t=>t.f||(t.f=()=>Bl(t.update)),$nextTick:t=>t.n||(t.n=da.bind(t.proxy)),$watch:t=>Hx.bind(t)}),Pf=(t,e)=>t!==Ie&&!t.__isScriptSetup&&xe(t,e),Cf={get({_:t},e){const{ctx:r,setupState:n,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return n[e];case 2:return i[e];case 4:return r[e];case 3:return s[e]}else{if(Pf(n,e))return o[e]=1,n[e];if(i!==Ie&&xe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&xe(c,e))return o[e]=3,s[e];if(r!==Ie&&xe(r,e))return o[e]=4,r[e];kf&&(o[e]=0)}}const u=Sa[e];let h,f;if(u)return e==="$attrs"&&pr(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(r!==Ie&&xe(r,e))return o[e]=4,r[e];if(f=l.config.globalProperties,xe(f,e))return f[e]},set({_:t},e,r){const{data:n,setupState:i,ctx:s}=t;return Pf(i,e)?(i[e]=r,!0):n!==Ie&&xe(n,e)?(n[e]=r,!0):xe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:i,propsOptions:s}},o){let a;return!!r[o]||t!==Ie&&xe(t,o)||Pf(e,o)||(a=s[0])&&xe(a,o)||xe(n,o)||xe(Sa,o)||xe(i.config.globalProperties,o)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:xe(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}},i$=Re({},Cf,{get(t,e){if(e!==Symbol.unscopables)return Cf.get(t,e,t)},has(t,e){return e[0]!=="_"&&!$Q(e)}});let kf=!0;function s$(t){const e=Ef(t),r=t.proxy,n=t.ctx;kf=!1,e.beforeCreate&&f1(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:d,updated:p,activated:O,deactivated:y,beforeDestroy:g,beforeUnmount:m,destroyed:v,unmounted:b,render:x,renderTracked:w,renderTriggered:$,errorCaptured:T,serverPrefetch:C,expose:A,inheritAttrs:_,components:P,directives:k,filters:E}=e;if(c&&o$(c,n,null,t.appContext.config.unwrapInjectedRef),o)for(const X in o){const B=o[X];he(B)&&(n[X]=B.bind(r))}if(i){const X=i.call(r,r);ze(X)&&(t.data=hn(X))}if(kf=!0,s)for(const X in s){const B=s[X],G=he(B)?B.bind(r,r):he(B.get)?B.get.bind(r,r):rr,J=!he(B)&&he(B.set)?B.set.bind(r):rr,re=ot({get:G,set:J});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>re.value,set:ce=>re.value=ce})}if(a)for(const X in a)d1(a[X],n,r,X);if(l){const X=he(l)?l.call(r):l;Reflect.ownKeys(X).forEach(B=>{Nr(B,X[B])})}u&&f1(u,t,"c");function D(X,B){te(B)?B.forEach(G=>X(G.bind(r))):B&&X(B.bind(r))}if(D(r1,h),D(ai,f),D(n1,d),D(Kl,p),D(Jm,O),D(e1,y),D(a1,T),D(o1,w),D(s1,$),D(Jl,m),D(wa,b),D(i1,C),te(A))if(A.length){const X=t.exposed||(t.exposed={});A.forEach(B=>{Object.defineProperty(X,B,{get:()=>r[B],set:G=>r[B]=G})})}else t.exposed||(t.exposed={});x&&t.render===rr&&(t.render=x),_!=null&&(t.inheritAttrs=_),P&&(t.components=P),k&&(t.directives=k)}function o$(t,e,r=rr,n=!1){te(t)&&(t=Af(t));for(const i in t){const s=t[i];let o;ze(s)?"default"in s?o=nr(s.from||i,s.default,!0):o=nr(s.from||i):o=nr(s),Ke(o)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[i]=o}}function f1(t,e,r){xr(te(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function d1(t,e,r,n){const i=n.includes(".")?Hm(r,n):()=>r[n];if(pe(t)){const s=e[t];he(s)&&ut(i,s)}else if(he(t))ut(i,t.bind(r));else if(ze(t))if(te(t))t.forEach(s=>d1(s,e,r,n));else{const s=he(t.handler)?t.handler.bind(r):e[t.handler];he(s)&&ut(i,s,t)}}function Ef(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!r&&!n?l=e:(l={},i.length&&i.forEach(c=>ec(l,c,o,!0)),ec(l,e,o)),ze(e)&&s.set(e,l),l}function ec(t,e,r,n=!1){const{mixins:i,extends:s}=e;s&&ec(t,s,r,!0),i&&i.forEach(o=>ec(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const a=a$[o]||r&&r[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const a$={data:p1,props:as,emits:as,methods:as,computed:as,beforeCreate:sr,created:sr,beforeMount:sr,mounted:sr,beforeUpdate:sr,updated:sr,beforeDestroy:sr,beforeUnmount:sr,destroyed:sr,unmounted:sr,activated:sr,deactivated:sr,errorCaptured:sr,serverPrefetch:sr,components:as,directives:as,watch:c$,provide:p1,inject:l$};function p1(t,e){return e?t?function(){return Re(he(t)?t.call(this,this):t,he(e)?e.call(this,this):e)}:e:t}function l$(t,e){return as(Af(t),Af(e))}function Af(t){if(te(t)){const e={};for(let r=0;r0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,d]=g1(h,e,!0);Re(o,f),d&&a.push(...d)};!r&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return ze(t)&&n.set(t,qs),qs;if(te(s))for(let u=0;u-1,d[1]=O<0||p-1||xe(d,"default"))&&a.push(h)}}}const c=[o,a];return ze(t)&&n.set(t,c),c}function m1(t){return t[0]!=="$"}function y1(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function v1(t,e){return y1(t)===y1(e)}function w1(t,e){return te(e)?e.findIndex(r=>v1(r,t)):he(e)&&v1(e,t)?0:-1}const S1=t=>t[0]==="_"||t==="$stable",Mf=t=>te(t)?t.map(_r):[_r(t)],f$=(t,e,r)=>{if(e._n)return e;const n=We((...i)=>Mf(e(...i)),r);return n._c=!1,n},b1=(t,e,r)=>{const n=t._ctx;for(const i in t){if(S1(i))continue;const s=t[i];if(he(s))e[i]=f$(i,s,n);else if(s!=null){const o=Mf(s);e[i]=()=>o}}},T1=(t,e)=>{const r=Mf(e);t.slots.default=()=>r},d$=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=Se(e),Cl(e,"_",r)):b1(e,t.slots={})}else t.slots={},e&&T1(t,e);Cl(t.slots,sc,1)},p$=(t,e,r)=>{const{vnode:n,slots:i}=t;let s=!0,o=Ie;if(n.shapeFlag&32){const a=e._;a?r&&a===1?s=!1:(Re(i,e),!r&&a===1&&delete i._):(s=!e.$stable,b1(e,i)),o=e}else e&&(T1(t,e),o={default:1});if(s)for(const a in i)!S1(a)&&!(a in o)&&delete i[a]};function Q1(){return{app:null,config:{isNativeTag:_l,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 O$=0;function g$(t,e){return function(n,i=null){he(n)||(n=Object.assign({},n)),i!=null&&!ze(i)&&(i=null);const s=Q1(),o=new Set;let a=!1;const l=s.app={_uid:O$++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:q1,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&he(c.install)?(o.add(c),c.install(l,...u)):he(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,h){if(!a){const f=se(n,i);return f.appContext=s,u&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,lc(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function tc(t,e,r,n,i=!1){if(te(t)){t.forEach((f,d)=>tc(f,e&&(te(e)?e[d]:e),r,n,i));return}if(os(n)&&!i)return;const s=n.shapeFlag&4?lc(n.component)||n.component.proxy:n.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ie?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(pe(c)?(u[c]=null,xe(h,c)&&(h[c]=null)):Ke(c)&&(c.value=null)),he(l))An(l,a,12,[o,u]);else{const f=pe(l),d=Ke(l);if(f||d){const p=()=>{if(t.f){const O=f?xe(h,l)?h[l]:u[l]:l.value;i?te(O)&&Hh(O,s):te(O)?O.includes(s)||O.push(s):f?(u[l]=[s],xe(h,l)&&(h[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else f?(u[l]=o,xe(h,l)&&(h[l]=o)):d&&(l.value=o,t.k&&(u[t.k]=o))};o?(p.id=-1,Et(p,r)):p()}}}let li=!1;const rc=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",nc=t=>t.nodeType===8;function m$(t){const{mt:e,p:r,o:{patchProp:n,createText:i,nextSibling:s,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,m)=>{if(!m.hasChildNodes()){r(null,g,m),Ul(),m._vnode=g;return}li=!1,h(m.firstChild,g,null,null,null),Ul(),m._vnode=g,li&&console.error("Hydration completed but contains mismatches.")},h=(g,m,v,b,x,w=!1)=>{const $=nc(g)&&g.data==="[",T=()=>O(g,m,v,b,x,$),{type:C,ref:A,shapeFlag:_,patchFlag:P}=m;let k=g.nodeType;m.el=g,P===-2&&(w=!1,m.dynamicChildren=null);let E=null;switch(C){case cs:k!==3?m.children===""?(l(m.el=i(""),o(g),g),E=g):E=T():(g.data!==m.children&&(li=!0,g.data=m.children),E=s(g));break;case Wt:k!==8||$?E=T():E=s(g);break;case us:if($&&(g=s(g),k=g.nodeType),k===1||k===3){E=g;const N=!m.children.length;for(let D=0;D{w=w||!!m.dynamicChildren;const{type:$,props:T,patchFlag:C,shapeFlag:A,dirs:_}=m,P=$==="input"&&_||$==="option";if(P||C!==-1){if(_&&dn(m,null,v,"created"),T)if(P||!w||C&48)for(const E in T)(P&&E.endsWith("value")||Gi(E)&&!Yi(E))&&n(g,E,null,T[E],!1,void 0,v);else T.onClick&&n(g,"onClick",null,T.onClick,!1,void 0,v);let k;if((k=T&&T.onVnodeBeforeMount)&&gr(k,v,m),_&&dn(m,null,v,"beforeMount"),((k=T&&T.onVnodeMounted)||_)&&Zm(()=>{k&&gr(k,v,m),_&&dn(m,null,v,"mounted")},b),A&16&&!(T&&(T.innerHTML||T.textContent))){let E=d(g.firstChild,m,g,v,b,x,w);for(;E;){li=!0;const N=E;E=E.nextSibling,a(N)}}else A&8&&g.textContent!==m.children&&(li=!0,g.textContent=m.children)}return g.nextSibling},d=(g,m,v,b,x,w,$)=>{$=$||!!m.dynamicChildren;const T=m.children,C=T.length;for(let A=0;A{const{slotScopeIds:$}=m;$&&(x=x?x.concat($):$);const T=o(g),C=d(s(g),m,T,v,b,x,w);return C&&nc(C)&&C.data==="]"?s(m.anchor=C):(li=!0,l(m.anchor=c("]"),T,C),C)},O=(g,m,v,b,x,w)=>{if(li=!0,m.el=null,w){const C=y(g);for(;;){const A=s(g);if(A&&A!==C)a(A);else break}}const $=s(g),T=o(g);return a(g),r(null,m,T,$,v,b,rc(T),x),$},y=g=>{let m=0;for(;g;)if(g=s(g),g&&nc(g)&&(g.data==="["&&m++,g.data==="]")){if(m===0)return s(g);m--}return g};return[u,h]}const Et=Zm;function x1(t){return _1(t)}function $1(t){return _1(t,m$)}function _1(t,e){const r=XQ();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:f,setScopeId:d=rr,insertStaticContent:p}=t,O=(S,Q,M,I=null,L=null,F=null,H=!1,Z=null,q=!!Q.dynamicChildren)=>{if(S===Q)return;S&&!Yr(S,Q)&&(I=ge(S),ce(S,L,F,!0),S=null),Q.patchFlag===-2&&(q=!1,Q.dynamicChildren=null);const{type:U,ref:ee,shapeFlag:ne}=Q;switch(U){case cs:y(S,Q,M,I);break;case Wt:g(S,Q,M,I);break;case us:S==null&&m(Q,M,I,H);break;case Ce:P(S,Q,M,I,L,F,H,Z,q);break;default:ne&1?x(S,Q,M,I,L,F,H,Z,q):ne&6?k(S,Q,M,I,L,F,H,Z,q):(ne&64||ne&128)&&U.process(S,Q,M,I,L,F,H,Z,q,De)}ee!=null&&L&&tc(ee,S&&S.ref,F,Q||S,!Q)},y=(S,Q,M,I)=>{if(S==null)n(Q.el=a(Q.children),M,I);else{const L=Q.el=S.el;Q.children!==S.children&&c(L,Q.children)}},g=(S,Q,M,I)=>{S==null?n(Q.el=l(Q.children||""),M,I):Q.el=S.el},m=(S,Q,M,I)=>{[S.el,S.anchor]=p(S.children,Q,M,I,S.el,S.anchor)},v=({el:S,anchor:Q},M,I)=>{let L;for(;S&&S!==Q;)L=f(S),n(S,M,I),S=L;n(Q,M,I)},b=({el:S,anchor:Q})=>{let M;for(;S&&S!==Q;)M=f(S),i(S),S=M;i(Q)},x=(S,Q,M,I,L,F,H,Z,q)=>{H=H||Q.type==="svg",S==null?w(Q,M,I,L,F,H,Z,q):C(S,Q,L,F,H,Z,q)},w=(S,Q,M,I,L,F,H,Z)=>{let q,U;const{type:ee,props:ne,shapeFlag:ie,transition:le,dirs:ue}=S;if(q=S.el=o(S.type,F,ne&&ne.is,ne),ie&8?u(q,S.children):ie&16&&T(S.children,q,null,I,L,F&&ee!=="foreignObject",H,Z),ue&&dn(S,null,I,"created"),$(q,S,S.scopeId,H,I),ne){for(const Ae in ne)Ae!=="value"&&!Yi(Ae)&&s(q,Ae,null,ne[Ae],F,S.children,I,L,ve);"value"in ne&&s(q,"value",null,ne.value),(U=ne.onVnodeBeforeMount)&&gr(U,I,S)}ue&&dn(S,null,I,"beforeMount");const Ne=(!L||L&&!L.pendingBranch)&&le&&!le.persisted;Ne&&le.beforeEnter(q),n(q,Q,M),((U=ne&&ne.onVnodeMounted)||Ne||ue)&&Et(()=>{U&&gr(U,I,S),Ne&&le.enter(q),ue&&dn(S,null,I,"mounted")},L)},$=(S,Q,M,I,L)=>{if(M&&d(S,M),I)for(let F=0;F{for(let U=q;U{const Z=Q.el=S.el;let{patchFlag:q,dynamicChildren:U,dirs:ee}=Q;q|=S.patchFlag&16;const ne=S.props||Ie,ie=Q.props||Ie;let le;M&&ls(M,!1),(le=ie.onVnodeBeforeUpdate)&&gr(le,M,Q,S),ee&&dn(Q,S,M,"beforeUpdate"),M&&ls(M,!0);const ue=L&&Q.type!=="foreignObject";if(U?A(S.dynamicChildren,U,Z,M,I,ue,F):H||B(S,Q,Z,null,M,I,ue,F,!1),q>0){if(q&16)_(Z,Q,ne,ie,M,I,L);else if(q&2&&ne.class!==ie.class&&s(Z,"class",null,ie.class,L),q&4&&s(Z,"style",ne.style,ie.style,L),q&8){const Ne=Q.dynamicProps;for(let Ae=0;Ae{le&&gr(le,M,Q,S),ee&&dn(Q,S,M,"updated")},I)},A=(S,Q,M,I,L,F,H)=>{for(let Z=0;Z{if(M!==I){if(M!==Ie)for(const Z in M)!Yi(Z)&&!(Z in I)&&s(S,Z,M[Z],null,H,Q.children,L,F,ve);for(const Z in I){if(Yi(Z))continue;const q=I[Z],U=M[Z];q!==U&&Z!=="value"&&s(S,Z,U,q,H,Q.children,L,F,ve)}"value"in I&&s(S,"value",M.value,I.value)}},P=(S,Q,M,I,L,F,H,Z,q)=>{const U=Q.el=S?S.el:a(""),ee=Q.anchor=S?S.anchor:a("");let{patchFlag:ne,dynamicChildren:ie,slotScopeIds:le}=Q;le&&(Z=Z?Z.concat(le):le),S==null?(n(U,M,I),n(ee,M,I),T(Q.children,M,ee,L,F,H,Z,q)):ne>0&&ne&64&&ie&&S.dynamicChildren?(A(S.dynamicChildren,ie,M,L,F,H,Z),(Q.key!=null||L&&Q===L.subTree)&&jf(S,Q,!0)):B(S,Q,M,ee,L,F,H,Z,q)},k=(S,Q,M,I,L,F,H,Z,q)=>{Q.slotScopeIds=Z,S==null?Q.shapeFlag&512?L.ctx.activate(Q,M,I,H,q):E(Q,M,I,L,F,H,q):N(S,Q,q)},E=(S,Q,M,I,L,F,H)=>{const Z=S.component=j1(S,I,L);if(ya(S)&&(Z.ctx.renderer=De),N1(Z),Z.asyncDep){if(L&&L.registerDep(Z,D),!S.el){const q=Z.subTree=se(Wt);g(null,q,Q,M)}return}D(Z,S,Q,M,L,F,H)},N=(S,Q,M)=>{const I=Q.component=S.component;if(Bx(S,Q,M))if(I.asyncDep&&!I.asyncResolved){X(I,Q,M);return}else I.next=Q,Nx(I.update),I.update();else Q.el=S.el,I.vnode=Q},D=(S,Q,M,I,L,F,H)=>{const Z=()=>{if(S.isMounted){let{next:ee,bu:ne,u:ie,parent:le,vnode:ue}=S,Ne=ee,Ae;ls(S,!1),ee?(ee.el=ue.el,X(S,ee,H)):ee=ue,ne&&Ys(ne),(Ae=ee.props&&ee.props.onVnodeBeforeUpdate)&&gr(Ae,le,ee,ue),ls(S,!0);const Ye=Fl(S),hr=S.subTree;S.subTree=Ye,O(hr,Ye,h(hr.el),ge(hr),S,L,F),ee.el=Ye.el,Ne===null&&mf(S,Ye.el),ie&&Et(ie,L),(Ae=ee.props&&ee.props.onVnodeUpdated)&&Et(()=>gr(Ae,le,ee,ue),L)}else{let ee;const{el:ne,props:ie}=Q,{bm:le,m:ue,parent:Ne}=S,Ae=os(Q);if(ls(S,!1),le&&Ys(le),!Ae&&(ee=ie&&ie.onVnodeBeforeMount)&&gr(ee,Ne,Q),ls(S,!0),ne&&Ze){const Ye=()=>{S.subTree=Fl(S),Ze(ne,S.subTree,S,L,null)};Ae?Q.type.__asyncLoader().then(()=>!S.isUnmounted&&Ye()):Ye()}else{const Ye=S.subTree=Fl(S);O(null,Ye,M,I,S,L,F),Q.el=Ye.el}if(ue&&Et(ue,L),!Ae&&(ee=ie&&ie.onVnodeMounted)){const Ye=Q;Et(()=>gr(ee,Ne,Ye),L)}(Q.shapeFlag&256||Ne&&os(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&S.a&&Et(S.a,L),S.isMounted=!0,Q=M=I=null}},q=S.effect=new ca(Z,()=>Bl(U),S.scope),U=S.update=()=>q.run();U.id=S.uid,ls(S,!0),U()},X=(S,Q,M)=>{Q.component=S;const I=S.vnode.props;S.vnode=Q,S.next=null,h$(S,Q.props,I,M),p$(S,Q.children,M),Ks(),Nm(),Js()},B=(S,Q,M,I,L,F,H,Z,q=!1)=>{const U=S&&S.children,ee=S?S.shapeFlag:0,ne=Q.children,{patchFlag:ie,shapeFlag:le}=Q;if(ie>0){if(ie&128){J(U,ne,M,I,L,F,H,Z,q);return}else if(ie&256){G(U,ne,M,I,L,F,H,Z,q);return}}le&8?(ee&16&&ve(U,L,F),ne!==U&&u(M,ne)):ee&16?le&16?J(U,ne,M,I,L,F,H,Z,q):ve(U,L,F,!0):(ee&8&&u(M,""),le&16&&T(ne,M,I,L,F,H,Z,q))},G=(S,Q,M,I,L,F,H,Z,q)=>{S=S||qs,Q=Q||qs;const U=S.length,ee=Q.length,ne=Math.min(U,ee);let ie;for(ie=0;ieee?ve(S,L,F,!0,!1,ne):T(Q,M,I,L,F,H,Z,q,ne)},J=(S,Q,M,I,L,F,H,Z,q)=>{let U=0;const ee=Q.length;let ne=S.length-1,ie=ee-1;for(;U<=ne&&U<=ie;){const le=S[U],ue=Q[U]=q?ui(Q[U]):_r(Q[U]);if(Yr(le,ue))O(le,ue,M,null,L,F,H,Z,q);else break;U++}for(;U<=ne&&U<=ie;){const le=S[ne],ue=Q[ie]=q?ui(Q[ie]):_r(Q[ie]);if(Yr(le,ue))O(le,ue,M,null,L,F,H,Z,q);else break;ne--,ie--}if(U>ne){if(U<=ie){const le=ie+1,ue=leie)for(;U<=ne;)ce(S[U],L,F,!0),U++;else{const le=U,ue=U,Ne=new Map;for(U=ue;U<=ie;U++){const nt=Q[U]=q?ui(Q[U]):_r(Q[U]);nt.key!=null&&Ne.set(nt.key,U)}let Ae,Ye=0;const hr=ie-ue+1;let Vt=!1,Xs=0;const ei=new Array(hr);for(U=0;U=hr){ce(nt,L,F,!0);continue}let mt;if(nt.key!=null)mt=Ne.get(nt.key);else for(Ae=ue;Ae<=ie;Ae++)if(ei[Ae-ue]===0&&Yr(nt,Q[Ae])){mt=Ae;break}mt===void 0?ce(nt,L,F,!0):(ei[mt-ue]=U+1,mt>=Xs?Xs=mt:Vt=!0,O(nt,Q[mt],M,null,L,F,H,Z,q),Ye++)}const aa=Vt?y$(ei):qs;for(Ae=aa.length-1,U=hr-1;U>=0;U--){const nt=ue+U,mt=Q[nt],fr=nt+1{const{el:F,type:H,transition:Z,children:q,shapeFlag:U}=S;if(U&6){re(S.component.subTree,Q,M,I);return}if(U&128){S.suspense.move(Q,M,I);return}if(U&64){H.move(S,Q,M,De);return}if(H===Ce){n(F,Q,M);for(let ne=0;neZ.enter(F),L);else{const{leave:ne,delayLeave:ie,afterLeave:le}=Z,ue=()=>n(F,Q,M),Ne=()=>{ne(F,()=>{ue(),le&&le()})};ie?ie(F,ue,Ne):Ne()}else n(F,Q,M)},ce=(S,Q,M,I=!1,L=!1)=>{const{type:F,props:H,ref:Z,children:q,dynamicChildren:U,shapeFlag:ee,patchFlag:ne,dirs:ie}=S;if(Z!=null&&tc(Z,null,M,S,!0),ee&256){Q.ctx.deactivate(S);return}const le=ee&1&&ie,ue=!os(S);let Ne;if(ue&&(Ne=H&&H.onVnodeBeforeUnmount)&&gr(Ne,Q,S),ee&6)je(S.component,M,I);else{if(ee&128){S.suspense.unmount(M,I);return}le&&dn(S,null,Q,"beforeUnmount"),ee&64?S.type.remove(S,Q,M,L,De,I):U&&(F!==Ce||ne>0&&ne&64)?ve(U,Q,M,!1,!0):(F===Ce&&ne&384||!L&&ee&16)&&ve(q,Q,M),I&&de(S)}(ue&&(Ne=H&&H.onVnodeUnmounted)||le)&&Et(()=>{Ne&&gr(Ne,Q,S),le&&dn(S,null,Q,"unmounted")},M)},de=S=>{const{type:Q,el:M,anchor:I,transition:L}=S;if(Q===Ce){ye(M,I);return}if(Q===us){b(S);return}const F=()=>{i(M),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(S.shapeFlag&1&&L&&!L.persisted){const{leave:H,delayLeave:Z}=L,q=()=>H(M,F);Z?Z(S.el,F,q):q()}else F()},ye=(S,Q)=>{let M;for(;S!==Q;)M=f(S),i(S),S=M;i(Q)},je=(S,Q,M)=>{const{bum:I,scope:L,update:F,subTree:H,um:Z}=S;I&&Ys(I),L.stop(),F&&(F.active=!1,ce(H,S,Q,M)),Z&&Et(Z,Q),Et(()=>{S.isUnmounted=!0},Q),Q&&Q.pendingBranch&&!Q.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===Q.pendingId&&(Q.deps--,Q.deps===0&&Q.resolve())},ve=(S,Q,M,I=!1,L=!1,F=0)=>{for(let H=F;HS.shapeFlag&6?ge(S.component.subTree):S.shapeFlag&128?S.suspense.next():f(S.anchor||S.el),Qe=(S,Q,M)=>{S==null?Q._vnode&&ce(Q._vnode,null,null,!0):O(Q._vnode||null,S,Q,null,null,null,M),Nm(),Ul(),Q._vnode=S},De={p:O,um:ce,m:re,r:de,mt:E,mc:T,pc:B,pbc:A,n:ge,o:t};let Xe,Ze;return e&&([Xe,Ze]=e(De)),{render:Qe,hydrate:Xe,createApp:g$(Qe,Xe)}}function ls({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function jf(t,e,r=!1){const n=t.children,i=e.children;if(te(n)&&te(i))for(let s=0;s>1,t[r[a]]0&&(e[n]=r[s-1]),r[s]=n)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=e[o];return r}const v$=t=>t.__isTeleport,ba=t=>t&&(t.disabled||t.disabled===""),P1=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,Df=(t,e)=>{const r=t&&t.to;return pe(r)?e?e(r):null:r},w$={__isTeleport:!0,process(t,e,r,n,i,s,o,a,l,c){const{mc:u,pc:h,pbc:f,o:{insert:d,querySelector:p,createText:O,createComment:y}}=c,g=ba(e.props);let{shapeFlag:m,children:v,dynamicChildren:b}=e;if(t==null){const x=e.el=O(""),w=e.anchor=O("");d(x,r,n),d(w,r,n);const $=e.target=Df(e.props,p),T=e.targetAnchor=O("");$&&(d(T,$),o=o||P1($));const C=(A,_)=>{m&16&&u(v,A,_,i,s,o,a,l)};g?C(r,w):$&&C($,T)}else{e.el=t.el;const x=e.anchor=t.anchor,w=e.target=t.target,$=e.targetAnchor=t.targetAnchor,T=ba(t.props),C=T?r:w,A=T?x:$;if(o=o||P1(w),b?(f(t.dynamicChildren,b,C,i,s,o,a),jf(t,e,!0)):l||h(t,e,C,A,i,s,o,a,!1),g)T||ic(e,r,x,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const _=e.target=Df(e.props,p);_&&ic(e,_,null,c,0)}else T&&ic(e,w,$,c,1)}k1(e)},remove(t,e,r,n,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:h,props:f}=t;if(h&&s(u),(o||!ba(f))&&(s(c),a&16))for(let d=0;d0?Or||qs:null,E1(),hs>0&&Or&&Or.push(t),t}function K(t,e,r,n,i,s){return A1(j(t,e,r,n,i,s,!0))}function $e(t,e,r,n,i){return A1(se(t,e,r,n,i,!0))}function ci(t){return t?t.__v_isVNode===!0:!1}function Yr(t,e){return t.type===e.type&&t.key===e.key}function b$(t){}const sc="__vInternal",R1=({key:t})=>t!=null?t:null,oc=({ref:t,ref_key:e,ref_for:r})=>t!=null?pe(t)||Ke(t)||he(t)?{i:kt,r:t,k:e,f:!!r}:t:null;function j(t,e=null,r=null,n=0,i=null,s=t===Ce?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&R1(e),ref:e&&oc(e),scopeId:Zl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:kt};return a?(Lf(l,r),s&128&&t.normalize(l)):r&&(l.shapeFlag|=pe(r)?8:16),hs>0&&!o&&Or&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Or.push(l),l}const se=T$;function T$(t,e=null,r=null,n=0,i=null,s=!1){if((!t||t===l1)&&(t=Wt),ci(t)){const a=pn(t,e,!0);return r&&Lf(a,r),hs>0&&!s&&Or&&(a.shapeFlag&6?Or[Or.indexOf(t)]=a:Or.push(a)),a.patchFlag|=-2,a}if(k$(t)&&(t=t.__vccOpts),e){e=If(e);let{class:a,style:l}=e;a&&!pe(a)&&(e.class=qe(a)),ze(l)&&(lf(l)&&!te(l)&&(l=Re({},l)),e.style=Ct(l))}const o=pe(t)?1:Xm(t)?128:v$(t)?64:ze(t)?4:he(t)?2:0;return j(t,e,r,n,i,o,s,!0)}function If(t){return t?lf(t)||sc in t?Re({},t):t:null}function pn(t,e,r=!1){const{props:n,ref:i,patchFlag:s,children:o}=t,a=e?M1(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&R1(a),ref:e&&e.ref?r&&i?te(i)?i.concat(oc(e)):[i,oc(e)]:oc(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ce?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pn(t.ssContent),ssFallback:t.ssFallback&&pn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function $r(t=" ",e=0){return se(cs,null,t,e)}function Q$(t,e){const r=se(us,null,t);return r.staticCount=e,r}function ke(t="",e=!1){return e?(W(),$e(Wt,null,t)):se(Wt,null,t)}function _r(t){return t==null||typeof t=="boolean"?se(Wt):te(t)?se(Ce,null,t.slice()):typeof t=="object"?ui(t):se(cs,null,String(t))}function ui(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:pn(t)}function Lf(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(te(e))r=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Lf(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!(sc in e)?e._ctx=kt:i===3&&kt&&(kt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else he(e)?(e={default:e,_ctx:kt},r=32):(e=String(e),n&64?(r=16,e=[$r(e)]):r=8);t.children=e,t.shapeFlag|=r}function M1(...t){const e={};for(let r=0;rst||kt,fi=t=>{st=t,t.scope.on()},di=()=>{st&&st.scope.off(),st=null};function D1(t){return t.vnode.shapeFlag&4}let io=!1;function N1(t,e=!1){io=e;const{props:r,children:n}=t.vnode,i=D1(t);u$(t,r,i,e),d$(t,n);const s=i?_$(t,e):void 0;return io=!1,s}function _$(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=cf(new Proxy(t.ctx,Cf));const{setup:n}=r;if(n){const i=t.setupContext=n.length>1?V1(t):null;fi(t),Ks();const s=An(n,t,0,[t.props,i]);if(Js(),di(),Yh(s)){if(s.then(di,di),e)return s.then(o=>{Vf(t,o,e)}).catch(o=>{rs(o,t,0)});t.asyncDep=s}else Vf(t,s,e)}else L1(t,e)}function Vf(t,e,r){he(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ze(e)&&(t.setupState=df(e)),L1(t,r)}let ac,zf;function I1(t){ac=t,zf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,i$))}}const P$=()=>!ac;function L1(t,e,r){const n=t.type;if(!t.render){if(!e&&ac&&!n.render){const i=n.template||Ef(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=n,c=Re(Re({isCustomElement:s,delimiters:a},o),l);n.render=ac(i,c)}}t.render=n.render||rr,zf&&zf(t)}fi(t),Ks(),s$(t),Js(),di()}function C$(t){return new Proxy(t.attrs,{get(e,r){return pr(t,"get","$attrs"),e[r]}})}function V1(t){const e=n=>{t.exposed=n||{}};let r;return{get attrs(){return r||(r=C$(t))},slots:t.slots,emit:t.emit,expose:e}}function lc(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(df(cf(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Sa)return Sa[r](t)},has(e,r){return r in e||r in Sa}}))}function Wf(t,e=!0){return he(t)?t.displayName||t.name:t.name||e&&t.__name}function k$(t){return he(t)&&"__vccOpts"in t}const ot=(t,e)=>Ax(t,e,io);function E$(){return null}function A$(){return null}function R$(t){}function M$(t,e){return null}function j$(){return z1().slots}function D$(){return z1().attrs}function z1(){const t=hi();return t.setupContext||(t.setupContext=V1(t))}function N$(t,e){const r=te(t)?t.reduce((n,i)=>(n[i]={},n),{}):t;for(const n in e){const i=r[n];i?te(i)||he(i)?r[n]={type:i,default:e[n]}:i.default=e[n]:i===null&&(r[n]={default:e[n]})}return r}function I$(t,e){const r={};for(const n in t)e.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>t[n]});return r}function L$(t){const e=hi();let r=t();return di(),Yh(r)&&(r=r.catch(n=>{throw fi(e),n})),[r,()=>fi(e)]}function W1(t,e,r){const n=arguments.length;return n===2?ze(e)&&!te(e)?ci(e)?se(t,null,[e]):se(t,e):se(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&ci(r)&&(r=[r]),se(t,e,r))}const B1=Symbol(""),U1=()=>nr(B1);function V$(){}function z$(t,e,r,n){const i=r[n];if(i&&X1(i,t))return i;const s=e();return s.memo=t.slice(),r[n]=s}function X1(t,e){const r=t.memo;if(r.length!=e.length)return!1;for(let n=0;n0&&Or&&Or.push(t),!0}const q1="3.2.47",W$={createComponentInstance:j1,setupComponent:N1,renderComponentRoot:Fl,setCurrentRenderingInstance:Oa,isVNode:ci,normalizeVNode:_r},B$=null,U$=null,X$="http://www.w3.org/2000/svg",fs=typeof document!="undefined"?document:null,Z1=fs&&fs.createElement("template"),q$={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const i=e?fs.createElementNS(X$,t):fs.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>fs.createTextNode(t),createComment:t=>fs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>fs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,i,s){const o=r?r.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Z1.innerHTML=n?`${t}`:t;const a=Z1.content;if(n){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function Z$(t,e,r){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}function F$(t,e,r){const n=t.style,i=pe(r);if(r&&!i){if(e&&!pe(e))for(const s in e)r[s]==null&&Bf(n,s,"");for(const s in r)Bf(n,s,r[s])}else{const s=n.display;i?e!==r&&(n.cssText=r):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=s)}}const F1=/\s*!important$/;function Bf(t,e,r){if(te(r))r.forEach(n=>Bf(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=G$(t,e);F1.test(r)?t.setProperty(Tr(n),r.replace(F1,""),"important"):t[n]=r}}const G1=["Webkit","Moz","ms"],Uf={};function G$(t,e){const r=Uf[e];if(r)return r;let n=St(e);if(n!=="filter"&&n in t)return Uf[e]=n;n=Ki(n);for(let i=0;iXf||(t_.then(()=>Xf=0),Xf=Date.now());function n_(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;xr(i_(n,r.value),e,5,[n])};return r.value=t,r.attached=r_(),r}function i_(t,e){if(te(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const K1=/^on[a-z]/,s_=(t,e,r,n,i=!1,s,o,a,l)=>{e==="class"?Z$(t,n,i):e==="style"?F$(t,r,n):Gi(e)?Gh(e)||J$(t,e,r,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):o_(t,e,n,i))?Y$(t,e,n,s,o,a,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),H$(t,e,n,i))};function o_(t,e,r,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&K1.test(e)&&he(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||K1.test(e)&&pe(r)?!1:e in t}function J1(t,e){const r=it(t);class n extends cc{constructor(s){super(r,s,e)}}return n.def=r,n}const a_=t=>J1(t,b0),l_=typeof HTMLElement!="undefined"?HTMLElement:class{};class cc extends l_{constructor(e,r={},n){super(),this._def=e,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,da(()=>{this._connected||(Jf(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let n=0;n{for(const i of n)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const e=(n,i=!1)=>{const{props:s,styles:o}=n;let a;if(s&&!te(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=El(this._props[l])),(a||(a=Object.create(null)))[St(l)]=!0)}this._numberProps=a,i&&this._resolveProps(n),this._applyStyles(o),this._update()},r=this._def.__asyncLoader;r?r().then(n=>e(n,!0)):e(this._def)}_resolveProps(e){const{props:r}=e,n=te(r)?r:Object.keys(r||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of n.map(St))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s)}})}_setAttr(e){let r=this.getAttribute(e);const n=St(e);this._numberProps&&this._numberProps[n]&&(r=El(r)),this._setProp(n,r,!1)}_getProp(e){return this._props[e]}_setProp(e,r,n=!0,i=!0){r!==this._props[e]&&(this._props[e]=r,i&&this._instance&&this._update(),n&&(r===!0?this.setAttribute(Tr(e),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Tr(e),r+""):r||this.removeAttribute(Tr(e))))}_update(){Jf(this._createVNode(),this.shadowRoot)}_createVNode(){const e=se(this._def,Re({},this._props));return this._instance||(e.ce=r=>{this._instance=r,r.isCE=!0;const n=(s,o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};r.emit=(s,...o)=>{n(s,o),Tr(s)!==s&&n(Tr(s),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof cc){r.parent=i._instance,r.provides=i._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(r=>{const n=document.createElement("style");n.textContent=r,this.shadowRoot.appendChild(n)})}}function c_(t="$style"){{const e=hi();if(!e)return Ie;const r=e.type.__cssModules;if(!r)return Ie;const n=r[t];return n||Ie}}function u_(t){const e=hi();if(!e)return;const r=e.ut=(i=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(s=>Zf(s,i))},n=()=>{const i=t(e.proxy);qf(e.subTree,i),r(i)};Gm(n),ai(()=>{const i=new MutationObserver(n);i.observe(e.subTree.el.parentNode,{childList:!0}),wa(()=>i.disconnect())})}function qf(t,e){if(t.shapeFlag&128){const r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{qf(r.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Zf(t.el,e);else if(t.type===Ce)t.children.forEach(r=>qf(r,e));else if(t.type===us){let{el:r,anchor:n}=t;for(;r&&(Zf(r,e),r!==n);)r=r.nextSibling}}function Zf(t,e){if(t.nodeType===1){const r=t.style;for(const n in e)r.setProperty(`--${n}`,e[n])}}const pi="transition",Qa="animation",Oi=(t,{slots:e})=>W1(wf,r0(t),e);Oi.displayName="Transition";const e0={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},h_=Oi.props=Re({},wf.props,e0),ds=(t,e=[])=>{te(t)?t.forEach(r=>r(...e)):t&&t(...e)},t0=t=>t?te(t)?t.some(e=>e.length>1):t.length>1:!1;function r0(t){const e={};for(const P in t)P in e0||(e[P]=t[P]);if(t.css===!1)return e;const{name:r="v",type:n,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:h=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=t,p=f_(i),O=p&&p[0],y=p&&p[1],{onBeforeEnter:g,onEnter:m,onEnterCancelled:v,onLeave:b,onLeaveCancelled:x,onBeforeAppear:w=g,onAppear:$=m,onAppearCancelled:T=v}=e,C=(P,k,E)=>{gi(P,k?u:a),gi(P,k?c:o),E&&E()},A=(P,k)=>{P._isLeaving=!1,gi(P,h),gi(P,d),gi(P,f),k&&k()},_=P=>(k,E)=>{const N=P?$:m,D=()=>C(k,P,E);ds(N,[k,D]),n0(()=>{gi(k,P?l:s),Dn(k,P?u:a),t0(N)||i0(k,n,O,D)})};return Re(e,{onBeforeEnter(P){ds(g,[P]),Dn(P,s),Dn(P,o)},onBeforeAppear(P){ds(w,[P]),Dn(P,l),Dn(P,c)},onEnter:_(!1),onAppear:_(!0),onLeave(P,k){P._isLeaving=!0;const E=()=>A(P,k);Dn(P,h),l0(),Dn(P,f),n0(()=>{!P._isLeaving||(gi(P,h),Dn(P,d),t0(b)||i0(P,n,y,E))}),ds(b,[P,E])},onEnterCancelled(P){C(P,!1),ds(v,[P])},onAppearCancelled(P){C(P,!0),ds(T,[P])},onLeaveCancelled(P){A(P),ds(x,[P])}})}function f_(t){if(t==null)return null;if(ze(t))return[Ff(t.enter),Ff(t.leave)];{const e=Ff(t);return[e,e]}}function Ff(t){return El(t)}function Dn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t._vtc||(t._vtc=new Set)).add(e)}function gi(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const{_vtc:r}=t;r&&(r.delete(e),r.size||(t._vtc=void 0))}function n0(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let d_=0;function i0(t,e,r,n){const i=t._endId=++d_,s=()=>{i===t._endId&&n()};if(r)return setTimeout(s,r);const{type:o,timeout:a,propCount:l}=s0(t,e);if(!o)return n();const c=o+"end";let u=0;const h=()=>{t.removeEventListener(c,f),s()},f=d=>{d.target===t&&++u>=l&&h()};setTimeout(()=>{u(r[p]||"").split(", "),i=n(`${pi}Delay`),s=n(`${pi}Duration`),o=o0(i,s),a=n(`${Qa}Delay`),l=n(`${Qa}Duration`),c=o0(a,l);let u=null,h=0,f=0;e===pi?o>0&&(u=pi,h=o,f=s.length):e===Qa?c>0&&(u=Qa,h=c,f=l.length):(h=Math.max(o,c),u=h>0?o>c?pi:Qa:null,f=u?u===pi?s.length:l.length:0);const d=u===pi&&/\b(transform|all)(,|$)/.test(n(`${pi}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:d}}function o0(t,e){for(;t.lengtha0(r)+a0(t[n])))}function a0(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function l0(){return document.body.offsetHeight}const c0=new WeakMap,u0=new WeakMap,h0={name:"TransitionGroup",props:Re({},h_,{tag:String,moveClass:String}),setup(t,{slots:e}){const r=hi(),n=vf();let i,s;return Kl(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!y_(i[0].el,r.vnode.el,o))return;i.forEach(O_),i.forEach(g_);const a=i.filter(m_);l0(),a.forEach(l=>{const c=l.el,u=c.style;Dn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,gi(c,o))};c.addEventListener("transitionend",h)})}),()=>{const o=Se(t),a=r0(o);let l=o.tag||Ce;i=s,s=e.default?Hl(e.default()):[];for(let c=0;cdelete t.mode;h0.props;const Gf=h0;function O_(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function g_(t){u0.set(t,t.el.getBoundingClientRect())}function m_(t){const e=c0.get(t),r=u0.get(t),n=e.left-r.left,i=e.top-r.top;if(n||i){const s=t.el.style;return s.transform=s.webkitTransform=`translate(${n}px,${i}px)`,s.transitionDuration="0s",t}}function y_(t,e,r){const n=t.cloneNode();t._vtc&&t._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&n.classList.remove(a))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(n);const{hasTransform:s}=s0(n);return i.removeChild(n),s}const mi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return te(e)?r=>Ys(e,r):e};function v_(t){t.target.composing=!0}function f0(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Kr={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t._assign=mi(i);const s=n||i.props&&i.props.type==="number";jn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;r&&(a=a.trim()),s&&(a=kl(a)),t._assign(a)}),r&&jn(t,"change",()=>{t.value=t.value.trim()}),e||(jn(t,"compositionstart",v_),jn(t,"compositionend",f0),jn(t,"change",f0))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:r,trim:n,number:i}},s){if(t._assign=mi(s),t.composing||document.activeElement===t&&t.type!=="range"&&(r||n&&t.value.trim()===e||(i||t.type==="number")&&kl(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},Hf={deep:!0,created(t,e,r){t._assign=mi(r),jn(t,"change",()=>{const n=t._modelValue,i=so(t),s=t.checked,o=t._assign;if(te(n)){const a=$l(n,i),l=a!==-1;if(s&&!l)o(n.concat(i));else if(!s&&l){const c=[...n];c.splice(a,1),o(c)}}else if(Hi(n)){const a=new Set(n);s?a.add(i):a.delete(i),o(a)}else o(O0(t,s))})},mounted:d0,beforeUpdate(t,e,r){t._assign=mi(r),d0(t,e,r)}};function d0(t,{value:e,oldValue:r},n){t._modelValue=e,te(e)?t.checked=$l(e,n.props.value)>-1:Hi(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=ri(e,O0(t,!0)))}const Yf={created(t,{value:e},r){t.checked=ri(e,r.props.value),t._assign=mi(r),jn(t,"change",()=>{t._assign(so(t))})},beforeUpdate(t,{value:e,oldValue:r},n){t._assign=mi(n),e!==r&&(t.checked=ri(e,n.props.value))}},uc={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const i=Hi(e);jn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>r?kl(so(o)):so(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=mi(n)},mounted(t,{value:e}){p0(t,e)},beforeUpdate(t,e,r){t._assign=mi(r)},updated(t,{value:e}){p0(t,e)}};function p0(t,e){const r=t.multiple;if(!(r&&!te(e)&&!Hi(e))){for(let n=0,i=t.options.length;n-1:s.selected=e.has(o);else if(ri(so(s),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function so(t){return"_value"in t?t._value:t.value}function O0(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const g0={created(t,e,r){hc(t,e,r,null,"created")},mounted(t,e,r){hc(t,e,r,null,"mounted")},beforeUpdate(t,e,r,n){hc(t,e,r,n,"beforeUpdate")},updated(t,e,r,n){hc(t,e,r,n,"updated")}};function m0(t,e){switch(t){case"SELECT":return uc;case"TEXTAREA":return Kr;default:switch(e){case"checkbox":return Hf;case"radio":return Yf;default:return Kr}}}function hc(t,e,r,n,i){const o=m0(t.tagName,r.props&&r.props.type)[i];o&&o(t,e,r,n)}function w_(){Kr.getSSRProps=({value:t})=>({value:t}),Yf.getSSRProps=({value:t},e)=>{if(e.props&&ri(e.props.value,t))return{checked:!0}},Hf.getSSRProps=({value:t},e)=>{if(te(t)){if(e.props&&$l(t,e.props.value)>-1)return{checked:!0}}else if(Hi(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},g0.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const r=m0(e.type.toUpperCase(),e.props&&e.props.type);if(r.getSSRProps)return r.getSSRProps(t,e)}}const S_=["ctrl","shift","alt","meta"],b_={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>S_.some(r=>t[`${r}Key`]&&!e.includes(r))},Kf=(t,e)=>(r,...n)=>{for(let i=0;ir=>{if(!("key"in r))return;const n=Tr(r.key);if(e.some(i=>i===n||T_[i]===n))return t(r)},ps={beforeMount(t,{value:e},{transition:r}){t._vod=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):xa(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),xa(t,!0),n.enter(t)):n.leave(t,()=>{xa(t,!1)}):xa(t,e))},beforeUnmount(t,{value:e}){xa(t,e)}};function xa(t,e){t.style.display=e?t._vod:"none"}function Q_(){ps.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const y0=Re({patchProp:s_},q$);let $a,v0=!1;function w0(){return $a||($a=x1(y0))}function S0(){return $a=v0?$a:$1(y0),v0=!0,$a}const Jf=(...t)=>{w0().render(...t)},b0=(...t)=>{S0().hydrate(...t)},T0=(...t)=>{const e=w0().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=Q0(n);if(!i)return;const s=e._component;!he(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},x_=(...t)=>{const e=S0().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=Q0(n);if(i)return r(i,!0,i instanceof SVGElement)},e};function Q0(t){return pe(t)?document.querySelector(t):t}let x0=!1;var $_=Object.freeze(Object.defineProperty({__proto__:null,Transition:Oi,TransitionGroup:Gf,VueElement:cc,createApp:T0,createSSRApp:x_,defineCustomElement:J1,defineSSRCustomElement:a_,hydrate:b0,initDirectivesForSSR:()=>{x0||(x0=!0,w_(),Q_())},render:Jf,useCssModule:c_,useCssVars:u_,vModelCheckbox:Hf,vModelDynamic:g0,vModelRadio:Yf,vModelSelect:uc,vModelText:Kr,vShow:ps,withKeys:yi,withModifiers:Kf,EffectScope:Jh,ReactiveEffect:ca,customRef:Px,effect:GQ,effectScope:qQ,getCurrentScope:ef,isProxy:lf,isReactive:es,isReadonly:ts,isRef:Ke,isShallow:ua,markRaw:cf,onScopeDispose:hm,proxyRefs:df,reactive:hn,readonly:af,ref:fe,shallowReactive:Em,shallowReadonly:Tx,shallowRef:ff,stop:HQ,toRaw:Se,toRef:Rm,toRefs:Cx,triggerRef:xx,unref:V,camelize:St,capitalize:Ki,normalizeClass:qe,normalizeProps:nm,normalizeStyle:Ct,toDisplayString:Te,toHandlerKey:Gs,BaseTransition:wf,Comment:Wt,Fragment:Ce,KeepAlive:Kx,Static:us,Suspense:Ux,Teleport:C1,Text:cs,assertNumber:Mx,callWithAsyncErrorHandling:xr,callWithErrorHandling:An,cloneVNode:pn,compatUtils:U$,computed:ot,createBlock:$e,createCommentVNode:ke,createElementBlock:K,createElementVNode:j,createHydrationRenderer:$1,createPropsRestProxy:I$,createRenderer:x1,createSlots:r$,createStaticVNode:Q$,createTextVNode:$r,createVNode:se,defineAsyncComponent:Yx,defineComponent:it,defineEmits:A$,defineExpose:R$,defineProps:E$,get devtools(){return to},getCurrentInstance:hi,getTransitionRawChildren:Hl,guardReactiveProps:If,h:W1,handleError:rs,initCustomFormatter:V$,inject:nr,isMemoSame:X1,isRuntimeOnly:P$,isVNode:ci,mergeDefaults:N$,mergeProps:M1,nextTick:da,onActivated:Jm,onBeforeMount:r1,onBeforeUnmount:Jl,onBeforeUpdate:n1,onDeactivated:e1,onErrorCaptured:a1,onMounted:ai,onRenderTracked:o1,onRenderTriggered:s1,onServerPrefetch:i1,onUnmounted:wa,onUpdated:Kl,openBlock:W,popScopeId:Wm,provide:Nr,pushScopeId:zm,queuePostFlushCb:gf,registerRuntimeCompiler:I1,renderList:Hr,renderSlot:ht,resolveComponent:Gr,resolveDirective:t$,resolveDynamicComponent:c1,resolveFilter:B$,resolveTransitionHooks:no,setBlockTracking:Nf,setDevtoolsHook:Lm,setTransitionHooks:ss,ssrContextKey:B1,ssrUtils:W$,toHandlers:n$,transformVNodeArgs:b$,useAttrs:D$,useSSRContext:U1,useSlots:j$,useTransitionState:vf,version:q1,warn:Rx,watch:ut,watchEffect:Fm,watchPostEffect:Gm,watchSyncEffect:Gx,withAsyncContext:L$,withCtx:We,withDefaults:M$,withDirectives:ir,withMemo:z$,withScopeId:Bm},Symbol.toStringTag,{value:"Module"}));function ed(t){throw t}function $0(t){}function He(t,e,r,n){const i=t,s=new SyntaxError(String(i));return s.code=t,s.loc=e,s}const _a=Symbol(""),Pa=Symbol(""),td=Symbol(""),fc=Symbol(""),_0=Symbol(""),Os=Symbol(""),P0=Symbol(""),C0=Symbol(""),rd=Symbol(""),nd=Symbol(""),Ca=Symbol(""),id=Symbol(""),k0=Symbol(""),sd=Symbol(""),dc=Symbol(""),od=Symbol(""),ad=Symbol(""),ld=Symbol(""),cd=Symbol(""),E0=Symbol(""),A0=Symbol(""),pc=Symbol(""),Oc=Symbol(""),ud=Symbol(""),hd=Symbol(""),ka=Symbol(""),Ea=Symbol(""),fd=Symbol(""),dd=Symbol(""),__=Symbol(""),pd=Symbol(""),gc=Symbol(""),P_=Symbol(""),C_=Symbol(""),Od=Symbol(""),k_=Symbol(""),E_=Symbol(""),gd=Symbol(""),R0=Symbol(""),oo={[_a]:"Fragment",[Pa]:"Teleport",[td]:"Suspense",[fc]:"KeepAlive",[_0]:"BaseTransition",[Os]:"openBlock",[P0]:"createBlock",[C0]:"createElementBlock",[rd]:"createVNode",[nd]:"createElementVNode",[Ca]:"createCommentVNode",[id]:"createTextVNode",[k0]:"createStaticVNode",[sd]:"resolveComponent",[dc]:"resolveDynamicComponent",[od]:"resolveDirective",[ad]:"resolveFilter",[ld]:"withDirectives",[cd]:"renderList",[E0]:"renderSlot",[A0]:"createSlots",[pc]:"toDisplayString",[Oc]:"mergeProps",[ud]:"normalizeClass",[hd]:"normalizeStyle",[ka]:"normalizeProps",[Ea]:"guardReactiveProps",[fd]:"toHandlers",[dd]:"camelize",[__]:"capitalize",[pd]:"toHandlerKey",[gc]:"setBlockTracking",[P_]:"pushScopeId",[C_]:"popScopeId",[Od]:"withCtx",[k_]:"unref",[E_]:"isRef",[gd]:"withMemo",[R0]:"isMemoSame"};function A_(t){Object.getOwnPropertySymbols(t).forEach(e=>{oo[e]=t[e]})}const Pr={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function R_(t,e=Pr){return{type:0,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function Aa(t,e,r,n,i,s,o,a=!1,l=!1,c=!1,u=Pr){return t&&(a?(t.helper(Os),t.helper(uo(t.inSSR,c))):t.helper(co(t.inSSR,c)),o&&t.helper(ld)),{type:13,tag:e,props:r,children:n,patchFlag:i,dynamicProps:s,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Ra(t,e=Pr){return{type:17,loc:e,elements:t}}function Lr(t,e=Pr){return{type:15,loc:e,properties:t}}function at(t,e){return{type:16,loc:Pr,key:pe(t)?me(t,!0):t,value:e}}function me(t,e=!1,r=Pr,n=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:n}}function Jr(t,e=Pr){return{type:8,loc:e,children:t}}function Ot(t,e=[],r=Pr){return{type:14,loc:r,callee:t,arguments:e}}function ao(t,e=void 0,r=!1,n=!1,i=Pr){return{type:18,params:t,returns:e,newline:r,isSlot:n,loc:i}}function md(t,e,r,n=!0){return{type:19,test:t,consequent:e,alternate:r,newline:n,loc:Pr}}function M_(t,e,r=!1){return{type:20,index:t,value:e,isVNode:r,loc:Pr}}function j_(t){return{type:21,body:t,loc:Pr}}const mr=t=>t.type===4&&t.isStatic,lo=(t,e)=>t===e||t===Tr(e);function M0(t){if(lo(t,"Teleport"))return Pa;if(lo(t,"Suspense"))return td;if(lo(t,"KeepAlive"))return fc;if(lo(t,"BaseTransition"))return _0}const D_=/^\d|[^\$\w]/,yd=t=>!D_.test(t),N_=/[A-Za-z_$\xA0-\uFFFF]/,I_=/[\.\?\w$\xA0-\uFFFF]/,L_=/\s+[.[]\s*|\s*[.[]\s+/g,j0=t=>{t=t.trim().replace(L_,o=>o.trim());let e=0,r=[],n=0,i=0,s=null;for(let o=0;oe.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function vd(t){return t.type===5||t.type===2}function z_(t){return t.type===7&&t.name==="slot"}function wc(t){return t.type===1&&t.tagType===3}function Sc(t){return t.type===1&&t.tagType===2}function co(t,e){return t||e?rd:nd}function uo(t,e){return t||e?P0:C0}const W_=new Set([ka,Ea]);function N0(t,e=[]){if(t&&!pe(t)&&t.type===14){const r=t.callee;if(!pe(r)&&W_.has(r))return N0(t.arguments[0],e.concat(t))}return[t,e]}function bc(t,e,r){let n,i=t.type===13?t.props:t.arguments[2],s=[],o;if(i&&!pe(i)&&i.type===14){const a=N0(i);i=a[0],s=a[1],o=s[s.length-1]}if(i==null||pe(i))n=Lr([e]);else if(i.type===14){const a=i.arguments[0];!pe(a)&&a.type===15?I0(e,a)||a.properties.unshift(e):i.callee===fd?n=Ot(r.helper(Oc),[Lr([e]),i]):i.arguments.unshift(Lr([e])),!n&&(n=i)}else i.type===15?(I0(e,i)||i.properties.unshift(e),n=i):(n=Ot(r.helper(Oc),[Lr([e]),i]),o&&o.callee===Ea&&(o=s[s.length-2]));t.type===13?o?o.arguments[0]=n:t.props=n:o?o.arguments[0]=n:t.arguments[2]=n}function I0(t,e){let r=!1;if(t.key.type===4){const n=t.key.content;r=e.properties.some(i=>i.key.type===4&&i.key.content===n)}return r}function Ma(t,e){return`_${e}_${t.replace(/[^\w]/g,(r,n)=>r==="-"?"_":t.charCodeAt(n).toString())}`}function B_(t){return t.type===14&&t.callee===gd?t.arguments[1].returns:t}function wd(t,{helper:e,removeHelper:r,inSSR:n}){t.isBlock||(t.isBlock=!0,r(co(n,t.isComponent)),e(Os),e(uo(n,t.isComponent)))}function L0(t,e){const r=e.options?e.options.compatConfig:e.compatConfig,n=r&&r[t];return t==="MODE"?n||3:n}function ms(t,e){const r=L0("MODE",e),n=L0(t,e);return r===3?n===!0:n!==!1}function ja(t,e,r,...n){return ms(t,e)}const U_=/&(gt|lt|amp|apos|quot);/g,X_={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},V0={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:_l,isPreTag:_l,isCustomElement:_l,decodeEntities:t=>t.replace(U_,(e,r)=>X_[r]),onError:ed,onWarn:$0,comments:!1};function q_(t,e={}){const r=Z_(t,e),n=Cr(r);return R_(Sd(r,0,[]),zr(r,n))}function Z_(t,e){const r=Re({},V0);let n;for(n in e)r[n]=e[n]===void 0?V0[n]:e[n];return{options:r,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:r.onWarn}}function Sd(t,e,r){const n=Tc(r),i=n?n.ns:0,s=[];for(;!rP(t,e,r);){const a=t.source;let l;if(e===0||e===1){if(!t.inVPre&&Bt(a,t.options.delimiters[0]))l=eP(t,e);else if(e===0&&a[0]==="<")if(a.length===1)Le(t,5,1);else if(a[1]==="!")Bt(a,"=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(s)n.codegenNode=ry(i,l,r);else{const c=$P(n.codegenNode);c.alternate=ry(i,l+n.branches.length-1,r)}}}));function xP(t,e,r,n){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const i=e.exp?e.exp.loc:t.loc;r.onError(He(28,e.loc)),e.exp=me("true",!1,i)}if(e.name==="if"){const i=ty(t,e),s={type:9,loc:t.loc,branches:[i]};if(r.replaceNode(s),n)return n(s,i,!0)}else{const i=r.parent.children;let s=i.indexOf(t);for(;s-->=-1;){const o=i[s];if(o&&o.type===3){r.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){r.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&r.onError(He(30,t.loc)),r.removeNode();const a=ty(t,e);o.branches.push(a);const l=n&&n(o,a,!1);xc(a,r),l&&l(),r.currentNode=null}else r.onError(He(30,t.loc));break}}}function ty(t,e){const r=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:r&&!Vr(t,"for")?t.children:[t],userKey:vc(t,"key"),isTemplateIf:r}}function ry(t,e,r){return t.condition?md(t.condition,ny(t,e,r),Ot(r.helper(Ca),['""',"true"])):ny(t,e,r)}function ny(t,e,r){const{helper:n}=r,i=at("key",me(`${e}`,!1,Pr,2)),{children:s}=t,o=s[0];if(s.length!==1||o.type!==1)if(s.length===1&&o.type===11){const l=o.codegenNode;return bc(l,i,r),l}else{let l=64;return Aa(r,n(_a),Lr([i]),s,l+"",void 0,void 0,!0,!1,!1,t.loc)}else{const l=o.codegenNode,c=B_(l);return c.type===13&&wd(c,r),bc(c,i,r),l}}function $P(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const _P=H0("for",(t,e,r)=>{const{helper:n,removeHelper:i}=r;return PP(t,e,r,s=>{const o=Ot(n(cd),[s.source]),a=wc(t),l=Vr(t,"memo"),c=vc(t,"key"),u=c&&(c.type===6?me(c.value.content,!0):c.exp),h=c?at("key",u):null,f=s.source.type===4&&s.source.constType>0,d=f?64:c?128:256;return s.codegenNode=Aa(r,n(_a),void 0,o,d+"",void 0,void 0,!0,!f,!1,t.loc),()=>{let p;const{children:O}=s,y=O.length!==1||O[0].type!==1,g=Sc(t)?t:a&&t.children.length===1&&Sc(t.children[0])?t.children[0]:null;if(g?(p=g.codegenNode,a&&h&&bc(p,h,r)):y?p=Aa(r,n(_a),h?Lr([h]):void 0,t.children,64+"",void 0,void 0,!0,void 0,!1):(p=O[0].codegenNode,a&&h&&bc(p,h,r),p.isBlock!==!f&&(p.isBlock?(i(Os),i(uo(r.inSSR,p.isComponent))):i(co(r.inSSR,p.isComponent))),p.isBlock=!f,p.isBlock?(n(Os),n(uo(r.inSSR,p.isComponent))):n(co(r.inSSR,p.isComponent))),l){const m=ao($d(s.parseResult,[me("_cached")]));m.body=j_([Jr(["const _memo = (",l.exp,")"]),Jr(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${r.helperString(R0)}(_cached, _memo)) return _cached`]),Jr(["const _item = ",p]),me("_item.memo = _memo"),me("return _item")]),o.arguments.push(m,me("_cache"),me(String(r.cached++)))}else o.arguments.push(ao($d(s.parseResult),p,!0))}})});function PP(t,e,r,n){if(!e.exp){r.onError(He(31,e.loc));return}const i=sy(e.exp);if(!i){r.onError(He(32,e.loc));return}const{addIdentifiers:s,removeIdentifiers:o,scopes:a}=r,{source:l,value:c,key:u,index:h}=i,f={type:11,loc:e.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:h,parseResult:i,children:wc(t)?t.children:[t]};r.replaceNode(f),a.vFor++;const d=n&&n(f);return()=>{a.vFor--,d&&d()}}const CP=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,iy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,kP=/^\(|\)$/g;function sy(t,e){const r=t.loc,n=t.content,i=n.match(CP);if(!i)return;const[,s,o]=i,a={source:_c(r,o.trim(),n.indexOf(o,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(kP,"").trim();const c=s.indexOf(l),u=l.match(iy);if(u){l=l.replace(iy,"").trim();const h=u[1].trim();let f;if(h&&(f=n.indexOf(h,c+l.length),a.key=_c(r,h,f)),u[2]){const d=u[2].trim();d&&(a.index=_c(r,d,n.indexOf(d,a.key?f+h.length:c+l.length)))}}return l&&(a.value=_c(r,l,c)),a}function _c(t,e,r){return me(e,!1,D0(t,r,e.length))}function $d({value:t,key:e,index:r},n=[]){return EP([t,e,r,...n])}function EP(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((r,n)=>r||me("_".repeat(n+1),!1))}const oy=me("undefined",!1),AP=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const r=Vr(t,"slot");if(r)return r.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},RP=(t,e,r)=>ao(t,e,!1,!0,e.length?e[0].loc:r);function MP(t,e,r=RP){e.helper(Od);const{children:n,loc:i}=t,s=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=Vr(t,"slot",!0);if(l){const{arg:y,exp:g}=l;y&&!mr(y)&&(a=!0),s.push(at(y||me("default",!0),r(g,n,i)))}let c=!1,u=!1;const h=[],f=new Set;let d=0;for(let y=0;y{const v=r(g,m,i);return e.compatConfig&&(v.isNonScopedSlot=!0),at("default",v)};c?h.length&&h.some(g=>ay(g))&&(u?e.onError(He(39,h[0].loc)):s.push(y(void 0,h))):s.push(y(void 0,n))}const p=a?2:Cc(t.children)?3:1;let O=Lr(s.concat(at("_",me(p+"",!1))),i);return o.length&&(O=Ot(e.helper(A0),[O,Ra(o)])),{slots:O,hasDynamicSlots:a}}function Pc(t,e,r){const n=[at("name",t),at("fn",e)];return r!=null&&n.push(at("key",me(String(r),!0))),Lr(n)}function Cc(t){for(let e=0;efunction(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:n,props:i}=t,s=t.tagType===1;let o=s?DP(t,e):`"${n}"`;const a=ze(o)&&o.callee===dc;let l,c,u,h=0,f,d,p,O=a||o===Pa||o===td||!s&&(n==="svg"||n==="foreignObject");if(i.length>0){const y=cy(t,e,void 0,s,a);l=y.props,h=y.patchFlag,d=y.dynamicPropNames;const g=y.directives;p=g&&g.length?Ra(g.map(m=>IP(m,e))):void 0,y.shouldUseBlock&&(O=!0)}if(t.children.length>0)if(o===fc&&(O=!0,h|=1024),s&&o!==Pa&&o!==fc){const{slots:g,hasDynamicSlots:m}=MP(t,e);c=g,m&&(h|=1024)}else if(t.children.length===1&&o!==Pa){const g=t.children[0],m=g.type,v=m===5||m===8;v&&Wr(g,e)===0&&(h|=1),v||m===2?c=g:c=t.children}else c=t.children;h!==0&&(u=String(h),d&&d.length&&(f=LP(d))),t.codegenNode=Aa(e,o,l,c,u,f,p,!!O,!1,s,t.loc)};function DP(t,e,r=!1){let{tag:n}=t;const i=_d(n),s=vc(t,"is");if(s)if(i||ms("COMPILER_IS_ON_ELEMENT",e)){const l=s.type===6?s.value&&me(s.value.content,!0):s.exp;if(l)return Ot(e.helper(dc),[l])}else s.type===6&&s.value.content.startsWith("vue:")&&(n=s.value.content.slice(4));const o=!i&&Vr(t,"is");if(o&&o.exp)return Ot(e.helper(dc),[o.exp]);const a=M0(n)||e.isBuiltInComponent(n);return a?(r||e.helper(a),a):(e.helper(sd),e.components.add(n),Ma(n,"component"))}function cy(t,e,r=t.props,n,i,s=!1){const{tag:o,loc:a,children:l}=t;let c=[];const u=[],h=[],f=l.length>0;let d=!1,p=0,O=!1,y=!1,g=!1,m=!1,v=!1,b=!1;const x=[],w=C=>{c.length&&(u.push(Lr(uy(c),a)),c=[]),C&&u.push(C)},$=({key:C,value:A})=>{if(mr(C)){const _=C.content,P=Gi(_);if(P&&(!n||i)&&_.toLowerCase()!=="onclick"&&_!=="onUpdate:modelValue"&&!Yi(_)&&(m=!0),P&&Yi(_)&&(b=!0),A.type===20||(A.type===4||A.type===8)&&Wr(A,e)>0)return;_==="ref"?O=!0:_==="class"?y=!0:_==="style"?g=!0:_!=="key"&&!x.includes(_)&&x.push(_),n&&(_==="class"||_==="style")&&!x.includes(_)&&x.push(_)}else v=!0};for(let C=0;C0&&c.push(at(me("ref_for",!0),me("true")))),P==="is"&&(_d(o)||k&&k.content.startsWith("vue:")||ms("COMPILER_IS_ON_ELEMENT",e)))continue;c.push(at(me(P,!0,D0(_,0,P.length)),me(k?k.content:"",E,k?k.loc:_)))}else{const{name:_,arg:P,exp:k,loc:E}=A,N=_==="bind",D=_==="on";if(_==="slot"){n||e.onError(He(40,E));continue}if(_==="once"||_==="memo"||_==="is"||N&&gs(P,"is")&&(_d(o)||ms("COMPILER_IS_ON_ELEMENT",e))||D&&s)continue;if((N&&gs(P,"key")||D&&f&&gs(P,"vue:before-update"))&&(d=!0),N&&gs(P,"ref")&&e.scopes.vFor>0&&c.push(at(me("ref_for",!0),me("true"))),!P&&(N||D)){if(v=!0,k)if(N){if(w(),ms("COMPILER_V_BIND_OBJECT_ORDER",e)){u.unshift(k);continue}u.push(k)}else w({type:14,loc:E,callee:e.helper(fd),arguments:n?[k]:[k,"true"]});else e.onError(He(N?34:35,E));continue}const X=e.directiveTransforms[_];if(X){const{props:B,needRuntime:G}=X(A,t,e);!s&&B.forEach($),D&&P&&!mr(P)?w(Lr(B,a)):c.push(...B),G&&(h.push(A),ni(G)&&ly.set(A,G))}else WQ(_)||(h.push(A),f&&(d=!0))}}let T;if(u.length?(w(),u.length>1?T=Ot(e.helper(Oc),u,a):T=u[0]):c.length&&(T=Lr(uy(c),a)),v?p|=16:(y&&!n&&(p|=2),g&&!n&&(p|=4),x.length&&(p|=8),m&&(p|=32)),!d&&(p===0||p===32)&&(O||b||h.length>0)&&(p|=512),!e.inSSR&&T)switch(T.type){case 15:let C=-1,A=-1,_=!1;for(let E=0;Eat(o,s)),i))}return Ra(r,t.loc)}function LP(t){let e="[";for(let r=0,n=t.length;r{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},zP=/-(\w)/g,hy=VP(t=>t.replace(zP,(e,r)=>r?r.toUpperCase():"")),WP=(t,e)=>{if(Sc(t)){const{children:r,loc:n}=t,{slotName:i,slotProps:s}=BP(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;s&&(o[2]=s,a=3),r.length&&(o[3]=ao([],r,!1,!1,n),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Ot(e.helper(E0),o,n)}};function BP(t,e){let r='"default"',n;const i=[];for(let s=0;s0){const{props:s,directives:o}=cy(t,e,i,!1,!1);n=s,o.length&&e.onError(He(36,o[0].loc))}return{slotName:r,slotProps:n}}const UP=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,fy=(t,e,r,n)=>{const{loc:i,modifiers:s,arg:o}=t;!t.exp&&!s.length&&r.onError(He(35,i));let a;if(o.type===4)if(o.isStatic){let h=o.content;h.startsWith("vue:")&&(h=`vnode-${h.slice(4)}`);const f=e.tagType!==0||h.startsWith("vnode")||!/[A-Z]/.test(h)?Gs(St(h)):`on:${h}`;a=me(f,!0,o.loc)}else a=Jr([`${r.helperString(pd)}(`,o,")"]);else a=o,a.children.unshift(`${r.helperString(pd)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let c=r.cacheHandlers&&!l&&!r.inVOnce;if(l){const h=j0(l.content),f=!(h||UP.test(l.content)),d=l.content.includes(";");(f||c&&h)&&(l=Jr([`${f?"$event":"(...args)"} => ${d?"{":"("}`,l,d?"}":")"]))}let u={props:[at(a,l||me("() => {}",!1,i))]};return n&&(u=n(u)),c&&(u.props[0].value=r.cache(u.props[0].value)),u.props.forEach(h=>h.key.isHandlerKey=!0),u},XP=(t,e,r)=>{const{exp:n,modifiers:i,loc:s}=t,o=t.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),i.includes("camel")&&(o.type===4?o.isStatic?o.content=St(o.content):o.content=`${r.helperString(dd)}(${o.content})`:(o.children.unshift(`${r.helperString(dd)}(`),o.children.push(")"))),r.inSSR||(i.includes("prop")&&dy(o,"."),i.includes("attr")&&dy(o,"^")),!n||n.type===4&&!n.content.trim()?(r.onError(He(34,s)),{props:[at(o,me("",!0,s))]}):{props:[at(o,n)]}},dy=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},qP=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const r=t.children;let n,i=!1;for(let s=0;ss.type===7&&!e.directiveTransforms[s.name])&&t.tag!=="template")))for(let s=0;s{if(t.type===1&&Vr(t,"once",!0))return py.has(t)||e.inVOnce?void 0:(py.add(t),e.inVOnce=!0,e.helper(gc),()=>{e.inVOnce=!1;const r=e.currentNode;r.codegenNode&&(r.codegenNode=e.cache(r.codegenNode,!0))})},Oy=(t,e,r)=>{const{exp:n,arg:i}=t;if(!n)return r.onError(He(41,t.loc)),kc();const s=n.loc.source,o=n.type===4?n.content:s,a=r.bindingMetadata[s];if(a==="props"||a==="props-aliased")return r.onError(He(44,n.loc)),kc();const l=!1;if(!o.trim()||!j0(o)&&!l)return r.onError(He(42,n.loc)),kc();const c=i||me("modelValue",!0),u=i?mr(i)?`onUpdate:${St(i.content)}`:Jr(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;const f=r.isTS?"($event: any)":"$event";h=Jr([`${f} => ((`,n,") = $event)"]);const d=[at(c,t.exp),at(u,h)];if(t.modifiers.length&&e.tagType===1){const p=t.modifiers.map(y=>(yd(y)?y:JSON.stringify(y))+": true").join(", "),O=i?mr(i)?`${i.content}Modifiers`:Jr([i,' + "Modifiers"']):"modelModifiers";d.push(at(O,me(`{ ${p} }`,!1,t.loc,2)))}return kc(d)};function kc(t=[]){return{props:t}}const FP=/[\w).+\-_$\]]/,GP=(t,e)=>{!ms("COMPILER_FILTER",e)||(t.type===5&&Ec(t.content,e),t.type===1&&t.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&Ec(r.exp,e)}))};function Ec(t,e){if(t.type===4)gy(t,e);else for(let r=0;r=0&&(m=r.charAt(g),m===" ");g--);(!m||!FP.test(m))&&(o=!0)}}p===void 0?p=r.slice(0,d).trim():u!==0&&y();function y(){O.push(r.slice(u,d).trim()),u=d+1}if(O.length){for(d=0;d{if(t.type===1){const r=Vr(t,"memo");return!r||my.has(t)?void 0:(my.add(t),()=>{const n=t.codegenNode||e.currentNode.codegenNode;n&&n.type===13&&(t.tagType!==1&&wd(n,e),t.codegenNode=Ot(e.helper(gd),[r.exp,ao(void 0,n),"_cache",String(e.cached++)]))})}};function KP(t){return[[ZP,QP,YP,_P,GP,WP,jP,AP,qP],{on:fy,bind:XP,model:Oy}]}function JP(t,e={}){const r=e.onError||ed,n=e.mode==="module";e.prefixIdentifiers===!0?r(He(47)):n&&r(He(48));const i=!1;e.cacheHandlers&&r(He(49)),e.scopeId&&!n&&r(He(50));const s=pe(t)?q_(t,e):t,[o,a]=KP();return oP(s,Re({},e,{prefixIdentifiers:i,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:Re({},a,e.directiveTransforms||{})})),cP(s,Re({},e,{prefixIdentifiers:i}))}const eC=()=>({props:[]}),yy=Symbol(""),vy=Symbol(""),wy=Symbol(""),Sy=Symbol(""),Pd=Symbol(""),by=Symbol(""),Ty=Symbol(""),Qy=Symbol(""),xy=Symbol(""),$y=Symbol("");A_({[yy]:"vModelRadio",[vy]:"vModelCheckbox",[wy]:"vModelText",[Sy]:"vModelSelect",[Pd]:"vModelDynamic",[by]:"withModifiers",[Ty]:"withKeys",[Qy]:"vShow",[xy]:"Transition",[$y]:"TransitionGroup"});let ho;function tC(t,e=!1){return ho||(ho=document.createElement("div")),e?(ho.innerHTML=`
`,ho.children[0].getAttribute("foo")):(ho.innerHTML=t,ho.textContent)}const rC=dr("style,iframe,script,noscript",!0),nC={isVoidTag:jQ,isNativeTag:t=>RQ(t)||MQ(t),isPreTag:t=>t==="pre",decodeEntities:tC,isBuiltInComponent:t=>{if(lo(t,"Transition"))return xy;if(lo(t,"TransitionGroup"))return $y},getNamespace(t,e){let r=e?e.ns:0;if(e&&r===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(r=0);else e&&r===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(r=0);if(r===0){if(t==="svg")return 1;if(t==="math")return 2}return r},getTextMode({tag:t,ns:e}){if(e===0){if(t==="textarea"||t==="title")return 1;if(rC(t))return 2}return 0}},iC=t=>{t.type===1&&t.props.forEach((e,r)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[r]={type:7,name:"bind",arg:me("style",!0,e.loc),exp:sC(e.value.content,e.loc),modifiers:[],loc:e.loc})})},sC=(t,e)=>{const r=rm(t);return me(JSON.stringify(r),!1,e,3)};function Nn(t,e){return He(t,e)}const oC=(t,e,r)=>{const{exp:n,loc:i}=t;return n||r.onError(Nn(51,i)),e.children.length&&(r.onError(Nn(52,i)),e.children.length=0),{props:[at(me("innerHTML",!0,i),n||me("",!0))]}},aC=(t,e,r)=>{const{exp:n,loc:i}=t;return n||r.onError(Nn(53,i)),e.children.length&&(r.onError(Nn(54,i)),e.children.length=0),{props:[at(me("textContent",!0),n?Wr(n,r)>0?n:Ot(r.helperString(pc),[n],i):me("",!0))]}},lC=(t,e,r)=>{const n=Oy(t,e,r);if(!n.props.length||e.tagType===1)return n;t.arg&&r.onError(Nn(56,t.arg.loc));const{tag:i}=e,s=r.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||s){let o=wy,a=!1;if(i==="input"||s){const l=vc(e,"type");if(l){if(l.type===7)o=Pd;else if(l.value)switch(l.value.content){case"radio":o=yy;break;case"checkbox":o=vy;break;case"file":a=!0,r.onError(Nn(57,t.loc));break}}else V_(e)&&(o=Pd)}else i==="select"&&(o=Sy);a||(n.needRuntime=r.helper(o))}else r.onError(Nn(55,t.loc));return n.props=n.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),n},cC=dr("passive,once,capture"),uC=dr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),hC=dr("left,right"),_y=dr("onkeyup,onkeydown,onkeypress",!0),fC=(t,e,r,n)=>{const i=[],s=[],o=[];for(let a=0;amr(t)&&t.content.toLowerCase()==="onclick"?me(e,!0):t.type!==4?Jr(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,dC=(t,e,r)=>fy(t,e,r,n=>{const{modifiers:i}=t;if(!i.length)return n;let{key:s,value:o}=n.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=fC(s,i,r,t.loc);if(l.includes("right")&&(s=Py(s,"onContextmenu")),l.includes("middle")&&(s=Py(s,"onMouseup")),l.length&&(o=Ot(r.helper(by),[o,JSON.stringify(l)])),a.length&&(!mr(s)||_y(s.content))&&(o=Ot(r.helper(Ty),[o,JSON.stringify(a)])),c.length){const u=c.map(Ki).join("");s=mr(s)?me(`${s.content}${u}`,!0):Jr(["(",s,`) + "${u}"`])}return{props:[at(s,o)]}}),pC=(t,e,r)=>{const{exp:n,loc:i}=t;return n||r.onError(Nn(59,i)),{props:[],needRuntime:r.helper(Qy)}},OC=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(e.onError(Nn(61,t.loc)),e.removeNode())},gC=[iC],mC={cloak:eC,html:oC,text:aC,model:lC,on:dC,show:pC};function yC(t,e={}){return JP(t,Re({},nC,e,{nodeTransforms:[OC,...gC,...e.nodeTransforms||[]],directiveTransforms:Re({},mC,e.directiveTransforms||{}),transformHoist:null}))}const Cy=Object.create(null);function vC(t,e){if(!pe(t))if(t.nodeType)t=t.innerHTML;else return rr;const r=t,n=Cy[r];if(n)return n;if(t[0]==="#"){const a=document.querySelector(t);t=a?a.innerHTML:""}const i=Re({hoistStatic:!0,onError:void 0,onWarn:rr},e);!i.isCustomElement&&typeof customElements!="undefined"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:s}=yC(t,i),o=new Function("Vue",s)($_);return o._rc=!0,Cy[r]=o}I1(vC);/*! +var CommentWidget=function(Lo){"use strict";function nt(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const om=nt("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function We(e){if(Y(e)){const t={};for(let n=0;n{if(n){const r=n.split(lm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ce(e){let t="";if(J(e))t=e;else if(Y(e))for(let n=0;non(n,t))}const ie=e=>J(e)?e:e==null?"":Y(e)||me(e)&&(e.toString===vc||!Z(e.toString))?JSON.stringify(e,gc,2):String(e),gc=(e,t)=>t&&t.__v_isRef?gc(e,t.value):cr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ln(t)?{[`Set(${t.size})`]:[...t.values()]}:me(t)&&!Y(t)&&!wc(t)?String(t):t,de={},lr=[],Je=()=>{},$s=()=>!1,vm=/^on[^a-z]/,Nn=e=>vm.test(e),xo=e=>e.startsWith("onUpdate:"),ce=Object.assign,Io=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wm=Object.prototype.hasOwnProperty,oe=(e,t)=>wm.call(e,t),Y=Array.isArray,cr=e=>ur(e)==="[object Map]",Ln=e=>ur(e)==="[object Set]",yc=e=>ur(e)==="[object Date]",Cm=e=>ur(e)==="[object RegExp]",Z=e=>typeof e=="function",J=e=>typeof e=="string",an=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",Oo=e=>me(e)&&Z(e.then)&&Z(e.catch),vc=Object.prototype.toString,ur=e=>vc.call(e),_m=e=>ur(e).slice(8,-1),wc=e=>ur(e)==="[object Object]",Do=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xn=nt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bm=nt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ks=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Em=/-(\w)/g,Ie=ks(e=>e.replace(Em,(t,n)=>n?n.toUpperCase():"")),Mm=/\B([A-Z])/g,ct=ks(e=>e.replace(Mm,"-$1").toLowerCase()),In=ks(e=>e.charAt(0).toUpperCase()+e.slice(1)),fr=ks(e=>e?`on${In(e)}`:""),dr=(e,t)=>!Object.is(e,t),hr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Fs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bs=e=>{const t=J(e)?Number(e):NaN;return isNaN(t)?e:t};let Cc;const Sm=()=>Cc||(Cc=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ut;class Po{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ut,!t&&ut&&(this.index=(ut.scopes||(ut.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ut;try{return ut=this,t()}finally{ut=n}}}on(){ut=this}off(){ut=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ec=e=>(e.w&ln)>0,Mc=e=>(e.n&ln)>0,jm=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Y(e)?Do(n)&&a.push(o.get("length")):(a.push(o.get(On)),cr(e)&&a.push(o.get(Fo)));break;case"delete":Y(e)||(a.push(o.get(On)),cr(e)&&a.push(o.get(Fo)));break;case"set":cr(e)&&a.push(o.get(On));break}if(a.length===1)a[0]&&Bo(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Bo(ko(l))}}function Bo(e,t){const n=Y(e)?e:[...e];for(const r of n)r.computed&&Tc(r);for(const r of n)r.computed||Tc(r)}function Tc(e,t){(e!==At||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function xm(e,t){var n;return(n=zs.get(e))===null||n===void 0?void 0:n.get(t)}const Im=nt("__proto__,__v_isRef,__isVue"),Nc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(an)),Om=Us(),Dm=Us(!1,!0),Pm=Us(!0),$m=Us(!0,!0),Lc=km();function km(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let i=0,o=this.length;i{e[t]=function(...n){pr();const r=se(this)[t].apply(this,n);return mr(),r}}),e}function Rm(e){const t=se(this);return rt(t,"has",e),t.hasOwnProperty(e)}function Us(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?zc:Bc:t?Fc:Rc).get(r))return r;const o=Y(r);if(!e){if(o&&oe(Lc,s))return Reflect.get(Lc,s,i);if(s==="hasOwnProperty")return Rm}const a=Reflect.get(r,s,i);return(an(s)?Nc.has(s):Im(s))||(e||rt(r,"get",s),t)?a:_e(a)?o&&Do(s)?a:a.value:me(a)?e?Uo(a):Ht(a):a}}const Fm=xc(),Bm=xc(!0);function xc(e=!1){return function(n,r,s,i){let o=n[r];if(Pn(o)&&_e(o)&&!_e(s))return!1;if(!e&&(!Zr(s)&&!Pn(s)&&(o=se(o),s=se(s)),!Y(n)&&_e(o)&&!_e(s)))return o.value=s,!0;const a=Y(n)&&Do(r)?Number(r)e,Hs=e=>Reflect.getPrototypeOf(e);function Vs(e,t,n=!1,r=!1){e=e.__v_raw;const s=se(e),i=se(t);n||(t!==i&&rt(s,"get",t),rt(s,"get",i));const{has:o}=Hs(s),a=r?zo:n?Yo:Gr;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function Ys(e,t=!1){const n=this.__v_raw,r=se(n),s=se(e);return t||(e!==s&&rt(r,"has",e),rt(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Ws(e,t=!1){return e=e.__v_raw,!t&&rt(se(e),"iterate",On),Reflect.get(e,"size",e)}function Dc(e){e=se(e);const t=se(this);return Hs(t).has.call(t,e)||(t.add(e),Ut(t,"add",e,e)),this}function Pc(e,t){t=se(t);const n=se(this),{has:r,get:s}=Hs(n);let i=r.call(n,e);i||(e=se(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?dr(t,o)&&Ut(n,"set",e,t):Ut(n,"add",e,t),this}function $c(e){const t=se(this),{has:n,get:r}=Hs(t);let s=n.call(t,e);s||(e=se(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ut(t,"delete",e,void 0),i}function kc(){const e=se(this),t=e.size!==0,n=e.clear();return t&&Ut(e,"clear",void 0,void 0),n}function qs(e,t){return function(r,s){const i=this,o=i.__v_raw,a=se(o),l=t?zo:e?Yo:Gr;return!e&&rt(a,"iterate",On),o.forEach((c,u)=>r.call(s,l(c),l(u),i))}}function Qs(e,t,n){return function(...r){const s=this.__v_raw,i=se(s),o=cr(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...r),u=n?zo:t?Yo:Gr;return!t&&rt(i,"iterate",l?Fo:On),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function un(e){return function(...t){return e==="delete"?!1:this}}function Wm(){const e={get(i){return Vs(this,i)},get size(){return Ws(this)},has:Ys,add:Dc,set:Pc,delete:$c,clear:kc,forEach:qs(!1,!1)},t={get(i){return Vs(this,i,!1,!0)},get size(){return Ws(this)},has:Ys,add:Dc,set:Pc,delete:$c,clear:kc,forEach:qs(!1,!0)},n={get(i){return Vs(this,i,!0)},get size(){return Ws(this,!0)},has(i){return Ys.call(this,i,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:qs(!0,!1)},r={get(i){return Vs(this,i,!0,!0)},get size(){return Ws(this,!0)},has(i){return Ys.call(this,i,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:qs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Qs(i,!1,!1),n[i]=Qs(i,!0,!1),t[i]=Qs(i,!1,!0),r[i]=Qs(i,!0,!0)}),[e,n,t,r]}const[qm,Qm,Km,Zm]=Wm();function Ks(e,t){const n=t?e?Zm:Km:e?Qm:qm;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(oe(n,s)&&s in r?n:r,s,i)}const Gm={get:Ks(!1,!1)},Jm={get:Ks(!1,!0)},Xm={get:Ks(!0,!1)},eg={get:Ks(!0,!0)},Rc=new WeakMap,Fc=new WeakMap,Bc=new WeakMap,zc=new WeakMap;function tg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ng(e){return e.__v_skip||!Object.isExtensible(e)?0:tg(_m(e))}function Ht(e){return Pn(e)?e:Zs(e,!1,Ic,Gm,Rc)}function Uc(e){return Zs(e,!1,Vm,Jm,Fc)}function Uo(e){return Zs(e,!0,Oc,Xm,Bc)}function rg(e){return Zs(e,!0,Ym,eg,zc)}function Zs(e,t,n,r,s){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=ng(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function Dn(e){return Pn(e)?Dn(e.__v_raw):!!(e&&e.__v_isReactive)}function Pn(e){return!!(e&&e.__v_isReadonly)}function Zr(e){return!!(e&&e.__v_isShallow)}function Ho(e){return Dn(e)||Pn(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Vo(e){return Rs(e,"__v_skip",!0),e}const Gr=e=>me(e)?Ht(e):e,Yo=e=>me(e)?Uo(e):e;function Wo(e){cn&&At&&(e=se(e),jc(e.dep||(e.dep=ko())))}function Gs(e,t){e=se(e);const n=e.dep;n&&Bo(n)}function _e(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return Vc(e,!1)}function Hc(e){return Vc(e,!0)}function Vc(e,t){return _e(e)?e:new sg(e,t)}class sg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:Gr(t)}get value(){return Wo(this),this._value}set value(t){const n=this.__v_isShallow||Zr(t)||Pn(t);t=n?t:se(t),dr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Gr(t),Gs(this))}}function ig(e){Gs(e)}function L(e){return _e(e)?e.value:e}const og={get:(e,t,n)=>L(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function qo(e){return Dn(e)?e:new Proxy(e,og)}class ag{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Wo(this),()=>Gs(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function lg(e){return new ag(e)}function cg(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=Yc(e,n);return t}class ug{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return xm(se(this._object),this._key)}}function Yc(e,t,n){const r=e[t];return _e(r)?r:new ug(e,t,n)}var Wc;class fg{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Wc]=!1,this._dirty=!0,this.effect=new Kr(t,()=>{this._dirty||(this._dirty=!0,Gs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=se(this);return Wo(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Wc="__v_isReadonly";function dg(e,t,n=!1){let r,s;const i=Z(e);return i?(r=e,s=Je):(r=e.get,s=e.set),new fg(r,s,i||!s,n)}function hg(e,...t){}function pg(e,t){}function Vt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){$n(i,t,n)}return s}function ft(e,t,n,r){if(Z(e)){const i=Vt(e,t,n,r);return i&&Oo(i)&&i.catch(o=>{$n(o,t,n)}),i}const s=[];for(let i=0;i>>1;Xr(qe[r])$t&&qe.splice(t,1)}function Zo(e){Y(e)?gr.push(...e):(!Yt||!Yt.includes(e,e.allowRecurse?kn+1:kn))&&gr.push(e),Qc()}function Kc(e,t=Jr?$t+1:0){for(;tXr(n)-Xr(r)),kn=0;kne.id==null?1/0:e.id,vg=(e,t)=>{const n=Xr(e)-Xr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zc(e){Qo=!1,Jr=!0,qe.sort(vg);const t=Je;try{for($t=0;$tyr.emit(s,...i)),ti=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Gc(i,t)}),setTimeout(()=>{yr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ti=[])},3e3)):ti=[]}function wg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||de;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[u]||de;d&&(s=n.map(h=>J(h)?h.trim():h)),f&&(s=n.map(Fs))}let a,l=r[a=fr(t)]||r[a=fr(Ie(t))];!l&&i&&(l=r[a=fr(ct(t))]),l&&ft(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ft(c,e,6,s)}}function Jc(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!Z(e)){const l=c=>{const u=Jc(c,t,!0);u&&(a=!0,ce(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(me(e)&&r.set(e,null),null):(Y(i)?i.forEach(l=>o[l]=null):ce(o,i),me(e)&&r.set(e,o),o)}function ni(e,t){return!e||!Nn(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,ct(t))||oe(e,t))}let $e=null,ri=null;function es(e){const t=$e;return $e=e,ri=e&&e.type.__scopeId||null,t}function Xc(e){ri=e}function eu(){ri=null}const tu=e=>be;function be(e,t=$e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ya(-1);const i=es(t);let o;try{o=e(...s)}finally{es(i),r._d&&ya(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function qM(){}function si(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:m,inheritAttrs:y}=e;let C,g;const p=es(e);try{if(n.shapeFlag&4){const E=s||r;C=dt(u.call(E,E,f,i,h,d,m)),g=l}else{const E=t;C=dt(E.length>1?E(i,{attrs:l,slots:a,emit:c}):E(i,null)),g=t.props?l:_g(l)}}catch(E){as.length=0,$n(E,e,1),C=q(Ke)}let w=C;if(g&&y!==!1){const E=Object.keys(g),{shapeFlag:M}=w;E.length&&M&7&&(o&&E.some(xo)&&(g=bg(g,o)),w=Ft(w,g))}return n.dirs&&(w=Ft(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),C=w,es(p),C}function Cg(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Nn(n))&&((t||(t={}))[n]=e[n]);return t},bg=(e,t)=>{const n={};for(const r in e)(!xo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Eg(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?nu(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,Mg={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,a,l,c){e==null?Sg(t,n,r,s,i,o,a,l,c):Ag(e,t,n,r,s,o,a,l,c)},hydrate:jg,create:Jo,normalize:Tg};function ts(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function Sg(e,t,n,r,s,i,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Jo(e,s,r,t,f,n,i,o,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,o),d.deps>0?(ts(e,"onPending"),ts(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,o),vr(d,e.ssFallback)):d.resolve()}function Ag(e,t,n,r,s,i,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:C,isHydrating:g}=f;if(y)f.pendingBranch=d,Nt(d,y)?(l(y,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():C&&(l(m,h,n,r,s,null,i,o,a),vr(f,h))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=y):c(y,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),C?(l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():(l(m,h,n,r,s,null,i,o,a),vr(f,h))):m&&Nt(d,m)?(l(m,d,n,r,s,f,i,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0&&f.resolve()));else if(m&&Nt(d,m))l(m,d,n,r,s,f,i,o,a),vr(f,d);else if(ts(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:p,pendingId:w}=f;p>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},p):p===0&&f.fallback(h)}}function Jo(e,t,n,r,s,i,o,a,l,c,u=!1){const{p:f,m:d,um:h,n:m,o:{parentNode:y,remove:C}}=c,g=e.props?Bs(e.props.timeout):void 0,p={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1){const{vnode:E,activeBranch:M,pendingBranch:j,pendingId:T,effects:b,parentComponent:O,container:R}=p;if(p.isHydrating)p.isHydrating=!1;else if(!w){const D=M&&j.transition&&j.transition.mode==="out-in";D&&(M.transition.afterLeave=()=>{T===p.pendingId&&d(j,R,P,0)});let{anchor:P}=p;M&&(P=m(M),h(M,O,p,!0)),D||d(j,R,P,0)}vr(p,j),p.pendingBranch=null,p.isInFallback=!1;let k=p.parent,N=!1;for(;k;){if(k.pendingBranch){k.effects.push(...b),N=!0;break}k=k.parent}N||Zo(b),p.effects=[],ts(E,"onResolve")},fallback(w){if(!p.pendingBranch)return;const{vnode:E,activeBranch:M,parentComponent:j,container:T,isSVG:b}=p;ts(E,"onFallback");const O=m(M),R=()=>{!p.isInFallback||(f(null,w,T,O,j,null,b,a,l),vr(p,w))},k=w.transition&&w.transition.mode==="out-in";k&&(M.transition.afterLeave=R),p.isInFallback=!0,h(M,j,null,!0),k||R()},move(w,E,M){p.activeBranch&&d(p.activeBranch,w,E,M),p.container=w},next(){return p.activeBranch&&m(p.activeBranch)},registerDep(w,E){const M=!!p.pendingBranch;M&&p.deps++;const j=w.vnode.el;w.asyncDep.catch(T=>{$n(T,w,0)}).then(T=>{if(w.isUnmounted||p.isUnmounted||p.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:b}=w;Ca(w,T,!1),j&&(b.el=j);const O=!j&&w.subTree.el;E(w,b,y(j||w.subTree.el),j?null:m(w.subTree),p,o,l),O&&C(O),Go(w,b.el),M&&--p.deps===0&&p.resolve()})},unmount(w,E){p.isUnmounted=!0,p.activeBranch&&h(p.activeBranch,n,w,E),p.pendingBranch&&h(p.pendingBranch,n,w,E)}};return p}function jg(e,t,n,r,s,i,o,a,l){const c=t.suspense=Jo(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,o);return c.deps===0&&c.resolve(),u}function Tg(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=su(r?n.default:n),e.ssFallback=r?su(n.fallback):q(Ke)}function su(e){let t;if(Z(e)){const n=Yn&&e._c;n&&(e._d=!1,x()),e=e(),n&&(e._d=!0,t=st,Uu())}return Y(e)&&(e=Cg(e)),e=dt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function iu(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Zo(e)}function vr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Go(r,s))}function vt(e,t){if(Ee){let n=Ee.provides;const r=Ee.parent&&Ee.parent.provides;r===n&&(n=Ee.provides=Object.create(r)),n[e]=t}}function Xe(e,t,n=!1){const r=Ee||$e;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Z(t)?t.call(r.proxy):t}}function ou(e,t){return ns(e,null,t)}function au(e,t){return ns(e,null,{flush:"post"})}function Ng(e,t){return ns(e,null,{flush:"sync"})}const ii={};function et(e,t,n){return ns(e,t,n)}function ns(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=de){const a=$o()===(Ee==null?void 0:Ee.scope)?Ee:null;let l,c=!1,u=!1;if(_e(e)?(l=()=>e.value,c=Zr(e)):Dn(e)?(l=()=>e,r=!0):Y(e)?(u=!0,c=e.some(w=>Dn(w)||Zr(w)),l=()=>e.map(w=>{if(_e(w))return w.value;if(Dn(w))return Rn(w);if(Z(w))return Vt(w,a,2)})):Z(e)?t?l=()=>Vt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),ft(e,a,3,[d])}:l=Je,t&&r){const w=l;l=()=>Rn(w())}let f,d=w=>{f=g.onStop=()=>{Vt(w,a,4)}},h;if(Cr)if(d=Je,t?n&&ft(t,a,3,[l(),u?[]:void 0,d]):l(),s==="sync"){const w=tf();h=w.__watcherHandles||(w.__watcherHandles=[])}else return Je;let m=u?new Array(e.length).fill(ii):ii;const y=()=>{if(!!g.active)if(t){const w=g.run();(r||c||(u?w.some((E,M)=>dr(E,m[M])):dr(w,m)))&&(f&&f(),ft(t,a,3,[w,m===ii?void 0:u&&m[0]===ii?[]:m,d]),m=w)}else g.run()};y.allowRecurse=!!t;let C;s==="sync"?C=y:s==="post"?C=()=>ke(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),C=()=>Xs(y));const g=new Kr(l,C);t?n?y():m=g.run():s==="post"?ke(g.run.bind(g),a&&a.suspense):g.run();const p=()=>{g.stop(),a&&a.scope&&Io(a.scope.effects,g)};return h&&h.push(p),p}function Lg(e,t,n){const r=this.proxy,s=J(e)?e.includes(".")?lu(r,e):()=>r[e]:e.bind(r,r);let i;Z(t)?i=t:(i=t.handler,n=t);const o=Ee;gn(this);const a=ns(s,i.bind(r),n);return o?gn(o):yn(),a}function lu(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Rn(n,t)});else if(wc(e))for(const n in e)Rn(e[n],t);return e}function Xo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fn(()=>{e.isMounted=!0}),ci(()=>{e.isUnmounting=!0}),e}const wt=[Function,Array],ea={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},setup(e,{slots:t}){const n=mn(),r=Xo();let s;return()=>{const i=t.default&&oi(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const y of i)if(y.type!==Ke){o=y;break}}const a=se(e),{mode:l}=a;if(r.isLeaving)return ta(o);const c=uu(o);if(!c)return ta(o);const u=wr(c,a,r,n);Fn(c,u);const f=n.subTree,d=f&&uu(f);let h=!1;const{getTransitionKey:m}=c.type;if(m){const y=m();s===void 0?s=y:y!==s&&(s=y,h=!0)}if(d&&d.type!==Ke&&(!Nt(c,d)||h)){const y=wr(d,a,r,n);if(Fn(d,y),l==="out-in")return r.isLeaving=!0,y.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ta(o);l==="in-out"&&c.type!==Ke&&(y.delayLeave=(C,g,p)=>{const w=cu(r,d);w[String(d.key)]=d,C._leaveCb=()=>{g(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=p})}return o}}};function cu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function wr(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:y,onAppear:C,onAfterAppear:g,onAppearCancelled:p}=t,w=String(e.key),E=cu(n,e),M=(b,O)=>{b&&ft(b,r,9,O)},j=(b,O)=>{const R=O[1];M(b,O),Y(b)?b.every(k=>k.length<=1)&&R():b.length<=1&&R()},T={mode:i,persisted:o,beforeEnter(b){let O=a;if(!n.isMounted)if(s)O=y||a;else return;b._leaveCb&&b._leaveCb(!0);const R=E[w];R&&Nt(e,R)&&R.el._leaveCb&&R.el._leaveCb(),M(O,[b])},enter(b){let O=l,R=c,k=u;if(!n.isMounted)if(s)O=C||l,R=g||c,k=p||u;else return;let N=!1;const D=b._enterCb=P=>{N||(N=!0,P?M(k,[b]):M(R,[b]),T.delayedLeave&&T.delayedLeave(),b._enterCb=void 0)};O?j(O,[b,D]):D()},leave(b,O){const R=String(e.key);if(b._enterCb&&b._enterCb(!0),n.isUnmounting)return O();M(f,[b]);let k=!1;const N=b._leaveCb=D=>{k||(k=!0,O(),D?M(m,[b]):M(h,[b]),b._leaveCb=void 0,E[R]===e&&delete E[R])};E[R]=e,d?j(d,[b,N]):N()},clone(b){return wr(b,t,n,r)}};return T}function ta(e){if(rs(e))return e=Ft(e),e.children=null,e}function uu(e){return rs(e)?e.children?e.children[0]:void 0:e}function Fn(e,t){e.shapeFlag&6&&e.component?Fn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function oi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function xg(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:o=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((y,C)=>{a(m,()=>y(f()),()=>C(m),u+1)});throw m}).then(m=>h!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=Ee;if(c)return()=>na(c,h);const m=p=>{l=null,$n(p,h,13,!r)};if(o&&h.suspense||Cr)return d().then(p=>()=>na(p,h)).catch(p=>(m(p),()=>r?q(r,{error:p}):null));const y=ne(!1),C=ne(),g=ne(!!s);return s&&setTimeout(()=>{g.value=!1},s),i!=null&&setTimeout(()=>{if(!y.value&&!C.value){const p=new Error(`Async component timed out after ${i}ms.`);m(p),C.value=p}},i),d().then(()=>{y.value=!0,h.parent&&rs(h.parent.vnode)&&Xs(h.parent.update)}).catch(p=>{m(p),C.value=p}),()=>{if(y.value&&c)return na(c,h);if(C.value&&r)return q(r,{error:C.value});if(n&&!g.value)return q(n)}}})}function na(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=q(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const rs=e=>e.type.__isKeepAlive,Ig={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=mn(),r=n.ctx;if(!r.renderer)return()=>{const p=t.default&&t.default();return p&&p.length===1?p[0]:p};const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(p,w,E,M,j)=>{const T=p.component;c(p,w,E,0,a),l(T.vnode,p,w,E,T,a,M,p.slotScopeIds,j),ke(()=>{T.isDeactivated=!1,T.a&&hr(T.a);const b=p.props&&p.props.onVnodeMounted;b&&it(b,T.parent,p)},a)},r.deactivate=p=>{const w=p.component;c(p,d,null,1,a),ke(()=>{w.da&&hr(w.da);const E=p.props&&p.props.onVnodeUnmounted;E&&it(E,w.parent,p),w.isDeactivated=!0},a)};function h(p){ra(p),u(p,n,a,!0)}function m(p){s.forEach((w,E)=>{const M=ba(w.type);M&&(!p||!p(M))&&y(E)})}function y(p){const w=s.get(p);!o||!Nt(w,o)?h(w):o&&ra(o),s.delete(p),i.delete(p)}et(()=>[e.include,e.exclude],([p,w])=>{p&&m(E=>ss(p,E)),w&&m(E=>!ss(w,E))},{flush:"post",deep:!0});let C=null;const g=()=>{C!=null&&s.set(C,sa(n.subTree))};return fn(g),li(g),ci(()=>{s.forEach(p=>{const{subTree:w,suspense:E}=n,M=sa(w);if(p.type===M.type&&p.key===M.key){ra(M);const j=M.component.da;j&&ke(j,E);return}h(p)})}),()=>{if(C=null,!t.default)return null;const p=t.default(),w=p[0];if(p.length>1)return o=null,p;if(!hn(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return o=null,w;let E=sa(w);const M=E.type,j=ba(Bn(E)?E.type.__asyncResolved||{}:M),{include:T,exclude:b,max:O}=e;if(T&&(!j||!ss(T,j))||b&&j&&ss(b,j))return o=E,w;const R=E.key==null?M:E.key,k=s.get(R);return E.el&&(E=Ft(E),w.shapeFlag&128&&(w.ssContent=E)),C=R,k?(E.el=k.el,E.component=k.component,E.transition&&Fn(E,E.transition),E.shapeFlag|=512,i.delete(R),i.add(R)):(i.add(R),O&&i.size>parseInt(O,10)&&y(i.values().next().value)),E.shapeFlag|=256,o=E,ru(w.type)?w:E}}};function ss(e,t){return Y(e)?e.some(n=>ss(n,t)):J(e)?e.split(",").includes(t):Cm(e)?e.test(t):!1}function fu(e,t){hu(e,"a",t)}function du(e,t){hu(e,"da",t)}function hu(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ai(t,r,n),n){let s=n.parent;for(;s&&s.parent;)rs(s.parent.vnode)&&Og(r,t,n,s),s=s.parent}}function Og(e,t,n,r){const s=ai(t,e,r,!0);ui(()=>{Io(r[t],s)},n)}function ra(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function sa(e){return e.shapeFlag&128?e.ssContent:e}function ai(e,t,n=Ee,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pr(),gn(n);const a=ft(t,n,e,o);return yn(),mr(),a});return r?s.unshift(i):s.push(i),i}}const Wt=e=>(t,n=Ee)=>(!Cr||e==="sp")&&ai(e,(...r)=>t(...r),n),pu=Wt("bm"),fn=Wt("m"),mu=Wt("bu"),li=Wt("u"),ci=Wt("bum"),ui=Wt("um"),gu=Wt("sp"),yu=Wt("rtg"),vu=Wt("rtc");function wu(e,t=Ee){ai("ec",e,t)}function kt(e,t){const n=$e;if(n===null)return e;const r=wi(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;it(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;a{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function Qe(e,t,n={},r,s){if($e.isCE||$e.parent&&Bn($e.parent)&&$e.parent.isCE)return t!=="default"&&(n.name=t),q("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),x();const o=i&&Eu(i(n)),a=ue(le,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Eu(e){return e.some(t=>hn(t)?!(t.type===Ke||t.type===le&&!Eu(t.children)):!0)?e:null}function kg(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:fr(r)]=e[r];return n}const aa=e=>e?qu(e)?wi(e)||e.proxy:aa(e.parent):null,is=ce(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=>aa(e.parent),$root:e=>aa(e.root),$emit:e=>e.emit,$options:e=>fa(e),$forceUpdate:e=>e.f||(e.f=()=>Xs(e.update)),$nextTick:e=>e.n||(e.n=Js.bind(e.proxy)),$watch:e=>Lg.bind(e)}),la=(e,t)=>e!==de&&!e.__isScriptSetup&&oe(e,t),ca={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(la(r,t))return o[t]=1,r[t];if(s!==de&&oe(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&oe(c,t))return o[t]=3,i[t];if(n!==de&&oe(n,t))return o[t]=4,n[t];ua&&(o[t]=0)}}const u=is[t];let f,d;if(u)return t==="$attrs"&&rt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==de&&oe(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,oe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return la(s,t)?(s[t]=n,!0):r!==de&&oe(r,t)?(r[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==de&&oe(e,o)||la(t,o)||(a=i[0])&&oe(a,o)||oe(r,o)||oe(is,o)||oe(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Rg=ce({},ca,{get(e,t){if(t!==Symbol.unscopables)return ca.get(e,t,e)},has(e,t){return t[0]!=="_"&&!om(t)}});let ua=!0;function Fg(e){const t=fa(e),n=e.proxy,r=e.ctx;ua=!1,t.beforeCreate&&Mu(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:y,deactivated:C,beforeDestroy:g,beforeUnmount:p,destroyed:w,unmounted:E,render:M,renderTracked:j,renderTriggered:T,errorCaptured:b,serverPrefetch:O,expose:R,inheritAttrs:k,components:N,directives:D,filters:P}=t;if(c&&Bg(c,r,null,e.appContext.config.unwrapInjectedRef),o)for(const ye in o){const fe=o[ye];Z(fe)&&(r[ye]=fe.bind(n))}if(s){const ye=s.call(n,n);me(ye)&&(e.data=Ht(ye))}if(ua=!0,i)for(const ye in i){const fe=i[ye],Dt=Z(fe)?fe.bind(n,n):Z(fe.get)?fe.get.bind(n,n):Je,To=!Z(fe)&&Z(fe.set)?fe.set.bind(n):Je,ar=je({get:Dt,set:To});Object.defineProperty(r,ye,{enumerable:!0,configurable:!0,get:()=>ar.value,set:Bt=>ar.value=Bt})}if(a)for(const ye in a)Su(a[ye],r,n,ye);if(l){const ye=Z(l)?l.call(n):l;Reflect.ownKeys(ye).forEach(fe=>{vt(fe,ye[fe])})}u&&Mu(u,e,"c");function te(ye,fe){Y(fe)?fe.forEach(Dt=>ye(Dt.bind(n))):fe&&ye(fe.bind(n))}if(te(pu,f),te(fn,d),te(mu,h),te(li,m),te(fu,y),te(du,C),te(wu,b),te(vu,j),te(yu,T),te(ci,p),te(ui,E),te(gu,O),Y(R))if(R.length){const ye=e.exposed||(e.exposed={});R.forEach(fe=>{Object.defineProperty(ye,fe,{get:()=>n[fe],set:Dt=>n[fe]=Dt})})}else e.exposed||(e.exposed={});M&&e.render===Je&&(e.render=M),k!=null&&(e.inheritAttrs=k),N&&(e.components=N),D&&(e.directives=D)}function Bg(e,t,n=Je,r=!1){Y(e)&&(e=da(e));for(const s in e){const i=e[s];let o;me(i)?"default"in i?o=Xe(i.from||s,i.default,!0):o=Xe(i.from||s):o=Xe(i),_e(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Mu(e,t,n){ft(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Su(e,t,n,r){const s=r.includes(".")?lu(n,r):()=>n[r];if(J(e)){const i=t[e];Z(i)&&et(s,i)}else if(Z(e))et(s,e.bind(n));else if(me(e))if(Y(e))e.forEach(i=>Su(i,t,n,r));else{const i=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(i)&&et(s,i,e)}}function fa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>fi(l,c,o,!0)),fi(l,t,o)),me(t)&&i.set(t,l),l}function fi(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&fi(e,i,n,!0),s&&s.forEach(o=>fi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=zg[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const zg={data:Au,props:zn,emits:zn,methods:zn,computed:zn,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:zn,directives:zn,watch:Hg,provide:Au,inject:Ug};function Au(e,t){return t?e?function(){return ce(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function Ug(e,t){return zn(da(e),da(t))}function da(e){if(Y(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=Tu(f,t,!0);ce(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return me(e)&&r.set(e,lr),lr;if(Y(i))for(let u=0;u-1,h[1]=y<0||m-1||oe(h,"default"))&&a.push(f)}}}const c=[o,a];return me(e)&&r.set(e,c),c}function Nu(e){return e[0]!=="$"}function Lu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function xu(e,t){return Lu(e)===Lu(t)}function Iu(e,t){return Y(t)?t.findIndex(n=>xu(n,e)):Z(t)&&xu(t,e)?0:-1}const Ou=e=>e[0]==="_"||e==="$stable",pa=e=>Y(e)?e.map(dt):[dt(e)],Wg=(e,t,n)=>{if(t._n)return t;const r=be((...s)=>pa(t(...s)),n);return r._c=!1,r},Du=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ou(s))continue;const i=e[s];if(Z(i))t[s]=Wg(s,i,r);else if(i!=null){const o=pa(i);t[s]=()=>o}}},Pu=(e,t)=>{const n=pa(t);e.slots.default=()=>n},qg=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),Rs(t,"_",n)):Du(t,e.slots={})}else e.slots={},t&&Pu(e,t);Rs(e.slots,gi,1)},Qg=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=de;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(ce(s,t),!n&&a===1&&delete s._):(i=!t.$stable,Du(t,s)),o=t}else t&&(Pu(e,t),o={default:1});if(i)for(const a in s)!Ou(a)&&!(a in o)&&delete s[a]};function $u(){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 Kg=0;function Zg(e,t){return function(r,s=null){Z(r)||(r=Object.assign({},r)),s!=null&&!me(s)&&(s=null);const i=$u(),o=new Set;let a=!1;const l=i.app={_uid:Kg++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:rf,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&Z(c.install)?(o.add(c),c.install(l,...u)):Z(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=q(r,s);return d.appContext=i,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,wi(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function di(e,t,n,r,s=!1){if(Y(e)){e.forEach((d,h)=>di(d,t&&(Y(t)?t[h]:t),n,r,s));return}if(Bn(r)&&!s)return;const i=r.shapeFlag&4?wi(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===de?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(J(c)?(u[c]=null,oe(f,c)&&(f[c]=null)):_e(c)&&(c.value=null)),Z(l))Vt(l,a,12,[o,u]);else{const d=J(l),h=_e(l);if(d||h){const m=()=>{if(e.f){const y=d?oe(f,l)?f[l]:u[l]:l.value;s?Y(y)&&Io(y,i):Y(y)?y.includes(i)||y.push(i):d?(u[l]=[i],oe(f,l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else d?(u[l]=o,oe(f,l)&&(f[l]=o)):h&&(l.value=o,e.k&&(u[e.k]=o))};o?(m.id=-1,ke(m,n)):m()}}}let dn=!1;const hi=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",pi=e=>e.nodeType===8;function Gg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:c}}=e,u=(g,p)=>{if(!p.hasChildNodes()){n(null,g,p),ei(),p._vnode=g;return}dn=!1,f(p.firstChild,g,null,null,null),ei(),p._vnode=g,dn&&console.error("Hydration completed but contains mismatches.")},f=(g,p,w,E,M,j=!1)=>{const T=pi(g)&&g.data==="[",b=()=>y(g,p,w,E,M,T),{type:O,ref:R,shapeFlag:k,patchFlag:N}=p;let D=g.nodeType;p.el=g,N===-2&&(j=!1,p.dynamicChildren=null);let P=null;switch(O){case Hn:D!==3?p.children===""?(l(p.el=s(""),o(g),g),P=g):P=b():(g.data!==p.children&&(dn=!0,g.data=p.children),P=i(g));break;case Ke:D!==8||T?P=b():P=i(g);break;case Vn:if(T&&(g=i(g),D=g.nodeType),D===1||D===3){P=g;const X=!p.children.length;for(let te=0;te{j=j||!!p.dynamicChildren;const{type:T,props:b,patchFlag:O,shapeFlag:R,dirs:k}=p,N=T==="input"&&k||T==="option";if(N||O!==-1){if(k&&Rt(p,null,w,"created"),b)if(N||!j||O&48)for(const P in b)(N&&P.endsWith("value")||Nn(P)&&!xn(P))&&r(g,P,null,b[P],!1,void 0,w);else b.onClick&&r(g,"onClick",null,b.onClick,!1,void 0,w);let D;if((D=b&&b.onVnodeBeforeMount)&&it(D,w,p),k&&Rt(p,null,w,"beforeMount"),((D=b&&b.onVnodeMounted)||k)&&iu(()=>{D&&it(D,w,p),k&&Rt(p,null,w,"mounted")},E),R&16&&!(b&&(b.innerHTML||b.textContent))){let P=h(g.firstChild,p,g,w,E,M,j);for(;P;){dn=!0;const X=P;P=P.nextSibling,a(X)}}else R&8&&g.textContent!==p.children&&(dn=!0,g.textContent=p.children)}return g.nextSibling},h=(g,p,w,E,M,j,T)=>{T=T||!!p.dynamicChildren;const b=p.children,O=b.length;for(let R=0;R{const{slotScopeIds:T}=p;T&&(M=M?M.concat(T):T);const b=o(g),O=h(i(g),p,b,w,E,M,j);return O&&pi(O)&&O.data==="]"?i(p.anchor=O):(dn=!0,l(p.anchor=c("]"),b,O),O)},y=(g,p,w,E,M,j)=>{if(dn=!0,p.el=null,j){const O=C(g);for(;;){const R=i(g);if(R&&R!==O)a(R);else break}}const T=i(g),b=o(g);return a(g),n(null,p,b,T,w,E,hi(b),M),T},C=g=>{let p=0;for(;g;)if(g=i(g),g&&pi(g)&&(g.data==="["&&p++,g.data==="]")){if(p===0)return i(g);p--}return g};return[u,f]}const ke=iu;function ku(e){return Fu(e)}function Ru(e){return Fu(e,Gg)}function Fu(e,t){const n=Sm();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Je,insertStaticContent:m}=e,y=(v,_,S,$=null,I=null,z=null,V=!1,B=null,U=!!_.dynamicChildren)=>{if(v===_)return;v&&!Nt(v,_)&&($=No(v),Bt(v,I,z,!0),v=null),_.patchFlag===-2&&(U=!1,_.dynamicChildren=null);const{type:F,ref:Q,shapeFlag:W}=_;switch(F){case Hn:C(v,_,S,$);break;case Ke:g(v,_,S,$);break;case Vn:v==null&&p(_,S,$,V);break;case le:N(v,_,S,$,I,z,V,B,U);break;default:W&1?M(v,_,S,$,I,z,V,B,U):W&6?D(v,_,S,$,I,z,V,B,U):(W&64||W&128)&&F.process(v,_,S,$,I,z,V,B,U,Wr)}Q!=null&&I&&di(Q,v&&v.ref,z,_||v,!_)},C=(v,_,S,$)=>{if(v==null)r(_.el=a(_.children),S,$);else{const I=_.el=v.el;_.children!==v.children&&c(I,_.children)}},g=(v,_,S,$)=>{v==null?r(_.el=l(_.children||""),S,$):_.el=v.el},p=(v,_,S,$)=>{[v.el,v.anchor]=m(v.children,_,S,$,v.el,v.anchor)},w=({el:v,anchor:_},S,$)=>{let I;for(;v&&v!==_;)I=d(v),r(v,S,$),v=I;r(_,S,$)},E=({el:v,anchor:_})=>{let S;for(;v&&v!==_;)S=d(v),s(v),v=S;s(_)},M=(v,_,S,$,I,z,V,B,U)=>{V=V||_.type==="svg",v==null?j(_,S,$,I,z,V,B,U):O(v,_,I,z,V,B,U)},j=(v,_,S,$,I,z,V,B)=>{let U,F;const{type:Q,props:W,shapeFlag:K,transition:G,dirs:re}=v;if(U=v.el=o(v.type,z,W&&W.is,W),K&8?u(U,v.children):K&16&&b(v.children,U,null,$,I,z&&Q!=="foreignObject",V,B),re&&Rt(v,null,$,"created"),T(U,v,v.scopeId,V,$),W){for(const ge in W)ge!=="value"&&!xn(ge)&&i(U,ge,null,W[ge],z,v.children,$,I,sn);"value"in W&&i(U,"value",null,W.value),(F=W.onVnodeBeforeMount)&&it(F,$,v)}re&&Rt(v,null,$,"beforeMount");const ve=(!I||I&&!I.pendingBranch)&&G&&!G.persisted;ve&&G.beforeEnter(U),r(U,_,S),((F=W&&W.onVnodeMounted)||ve||re)&&ke(()=>{F&&it(F,$,v),ve&&G.enter(U),re&&Rt(v,null,$,"mounted")},I)},T=(v,_,S,$,I)=>{if(S&&h(v,S),$)for(let z=0;z<$.length;z++)h(v,$[z]);if(I){let z=I.subTree;if(_===z){const V=I.vnode;T(v,V,V.scopeId,V.slotScopeIds,I.parent)}}},b=(v,_,S,$,I,z,V,B,U=0)=>{for(let F=U;F{const B=_.el=v.el;let{patchFlag:U,dynamicChildren:F,dirs:Q}=_;U|=v.patchFlag&16;const W=v.props||de,K=_.props||de;let G;S&&Un(S,!1),(G=K.onVnodeBeforeUpdate)&&it(G,S,_,v),Q&&Rt(_,v,S,"beforeUpdate"),S&&Un(S,!0);const re=I&&_.type!=="foreignObject";if(F?R(v.dynamicChildren,F,B,S,$,re,z):V||fe(v,_,B,null,S,$,re,z,!1),U>0){if(U&16)k(B,_,W,K,S,$,I);else if(U&2&&W.class!==K.class&&i(B,"class",null,K.class,I),U&4&&i(B,"style",W.style,K.style,I),U&8){const ve=_.dynamicProps;for(let ge=0;ge{G&&it(G,S,_,v),Q&&Rt(_,v,S,"updated")},$)},R=(v,_,S,$,I,z,V)=>{for(let B=0;B<_.length;B++){const U=v[B],F=_[B],Q=U.el&&(U.type===le||!Nt(U,F)||U.shapeFlag&70)?f(U.el):S;y(U,F,Q,null,$,I,z,V,!0)}},k=(v,_,S,$,I,z,V)=>{if(S!==$){if(S!==de)for(const B in S)!xn(B)&&!(B in $)&&i(v,B,S[B],null,V,_.children,I,z,sn);for(const B in $){if(xn(B))continue;const U=$[B],F=S[B];U!==F&&B!=="value"&&i(v,B,F,U,V,_.children,I,z,sn)}"value"in $&&i(v,"value",S.value,$.value)}},N=(v,_,S,$,I,z,V,B,U)=>{const F=_.el=v?v.el:a(""),Q=_.anchor=v?v.anchor:a("");let{patchFlag:W,dynamicChildren:K,slotScopeIds:G}=_;G&&(B=B?B.concat(G):G),v==null?(r(F,S,$),r(Q,S,$),b(_.children,S,Q,I,z,V,B,U)):W>0&&W&64&&K&&v.dynamicChildren?(R(v.dynamicChildren,K,S,I,z,V,B),(_.key!=null||I&&_===I.subTree)&&ma(v,_,!0)):fe(v,_,S,Q,I,z,V,B,U)},D=(v,_,S,$,I,z,V,B,U)=>{_.slotScopeIds=B,v==null?_.shapeFlag&512?I.ctx.activate(_,S,$,V,U):P(_,S,$,I,z,V,U):X(v,_,U)},P=(v,_,S,$,I,z,V)=>{const B=v.component=Wu(v,$,I);if(rs(v)&&(B.ctx.renderer=Wr),Qu(B),B.asyncDep){if(I&&I.registerDep(B,te),!v.el){const U=B.subTree=q(Ke);g(null,U,_,S)}return}te(B,v,_,S,I,z,V)},X=(v,_,S)=>{const $=_.component=v.component;if(Eg(v,_,S))if($.asyncDep&&!$.asyncResolved){ye($,_,S);return}else $.next=_,yg($.update),$.update();else _.el=v.el,$.vnode=_},te=(v,_,S,$,I,z,V)=>{const B=()=>{if(v.isMounted){let{next:Q,bu:W,u:K,parent:G,vnode:re}=v,ve=Q,ge;Un(v,!1),Q?(Q.el=re.el,ye(v,Q,V)):Q=re,W&&hr(W),(ge=Q.props&&Q.props.onVnodeBeforeUpdate)&&it(ge,G,Q,re),Un(v,!0);const Ne=si(v),Pt=v.subTree;v.subTree=Ne,y(Pt,Ne,f(Pt.el),No(Pt),v,I,z),Q.el=Ne.el,ve===null&&Go(v,Ne.el),K&&ke(K,I),(ge=Q.props&&Q.props.onVnodeUpdated)&&ke(()=>it(ge,G,Q,re),I)}else{let Q;const{el:W,props:K}=_,{bm:G,m:re,parent:ve}=v,ge=Bn(_);if(Un(v,!1),G&&hr(G),!ge&&(Q=K&&K.onVnodeBeforeMount)&&it(Q,ve,_),Un(v,!0),W&&dc){const Ne=()=>{v.subTree=si(v),dc(W,v.subTree,v,I,null)};ge?_.type.__asyncLoader().then(()=>!v.isUnmounted&&Ne()):Ne()}else{const Ne=v.subTree=si(v);y(null,Ne,S,$,v,I,z),_.el=Ne.el}if(re&&ke(re,I),!ge&&(Q=K&&K.onVnodeMounted)){const Ne=_;ke(()=>it(Q,ve,Ne),I)}(_.shapeFlag&256||ve&&Bn(ve.vnode)&&ve.vnode.shapeFlag&256)&&v.a&&ke(v.a,I),v.isMounted=!0,_=S=$=null}},U=v.effect=new Kr(B,()=>Xs(F),v.scope),F=v.update=()=>U.run();F.id=v.uid,Un(v,!0),F()},ye=(v,_,S)=>{_.component=v;const $=v.vnode.props;v.vnode=_,v.next=null,Yg(v,_.props,$,S),Qg(v,_.children,S),pr(),Kc(),mr()},fe=(v,_,S,$,I,z,V,B,U=!1)=>{const F=v&&v.children,Q=v?v.shapeFlag:0,W=_.children,{patchFlag:K,shapeFlag:G}=_;if(K>0){if(K&128){To(F,W,S,$,I,z,V,B,U);return}else if(K&256){Dt(F,W,S,$,I,z,V,B,U);return}}G&8?(Q&16&&sn(F,I,z),W!==F&&u(S,W)):Q&16?G&16?To(F,W,S,$,I,z,V,B,U):sn(F,I,z,!0):(Q&8&&u(S,""),G&16&&b(W,S,$,I,z,V,B,U))},Dt=(v,_,S,$,I,z,V,B,U)=>{v=v||lr,_=_||lr;const F=v.length,Q=_.length,W=Math.min(F,Q);let K;for(K=0;KQ?sn(v,I,z,!0,!1,W):b(_,S,$,I,z,V,B,U,W)},To=(v,_,S,$,I,z,V,B,U)=>{let F=0;const Q=_.length;let W=v.length-1,K=Q-1;for(;F<=W&&F<=K;){const G=v[F],re=_[F]=U?pn(_[F]):dt(_[F]);if(Nt(G,re))y(G,re,S,null,I,z,V,B,U);else break;F++}for(;F<=W&&F<=K;){const G=v[W],re=_[K]=U?pn(_[K]):dt(_[K]);if(Nt(G,re))y(G,re,S,null,I,z,V,B,U);else break;W--,K--}if(F>W){if(F<=K){const G=K+1,re=GK)for(;F<=W;)Bt(v[F],I,z,!0),F++;else{const G=F,re=F,ve=new Map;for(F=re;F<=K;F++){const yt=_[F]=U?pn(_[F]):dt(_[F]);yt.key!=null&&ve.set(yt.key,F)}let ge,Ne=0;const Pt=K-re+1;let qr=!1,rm=0;const Ds=new Array(Pt);for(F=0;F=Pt){Bt(yt,I,z,!0);continue}let zt;if(yt.key!=null)zt=ve.get(yt.key);else for(ge=re;ge<=K;ge++)if(Ds[ge-re]===0&&Nt(yt,_[ge])){zt=ge;break}zt===void 0?Bt(yt,I,z,!0):(Ds[zt-re]=F+1,zt>=rm?rm=zt:qr=!0,y(yt,_[zt],S,null,I,z,V,B,U),Ne++)}const sm=qr?Jg(Ds):lr;for(ge=sm.length-1,F=Pt-1;F>=0;F--){const yt=re+F,zt=_[yt],im=yt+1{const{el:z,type:V,transition:B,children:U,shapeFlag:F}=v;if(F&6){ar(v.component.subTree,_,S,$);return}if(F&128){v.suspense.move(_,S,$);return}if(F&64){V.move(v,_,S,Wr);return}if(V===le){r(z,_,S);for(let W=0;WB.enter(z),I);else{const{leave:W,delayLeave:K,afterLeave:G}=B,re=()=>r(z,_,S),ve=()=>{W(z,()=>{re(),G&&G()})};K?K(z,re,ve):ve()}else r(z,_,S)},Bt=(v,_,S,$=!1,I=!1)=>{const{type:z,props:V,ref:B,children:U,dynamicChildren:F,shapeFlag:Q,patchFlag:W,dirs:K}=v;if(B!=null&&di(B,null,S,v,!0),Q&256){_.ctx.deactivate(v);return}const G=Q&1&&K,re=!Bn(v);let ve;if(re&&(ve=V&&V.onVnodeBeforeUnmount)&&it(ve,_,v),Q&6)VM(v.component,S,$);else{if(Q&128){v.suspense.unmount(S,$);return}G&&Rt(v,null,_,"beforeUnmount"),Q&64?v.type.remove(v,_,S,I,Wr,$):F&&(z!==le||W>0&&W&64)?sn(F,_,S,!1,!0):(z===le&&W&384||!I&&Q&16)&&sn(U,_,S),$&&tm(v)}(re&&(ve=V&&V.onVnodeUnmounted)||G)&&ke(()=>{ve&&it(ve,_,v),G&&Rt(v,null,_,"unmounted")},S)},tm=v=>{const{type:_,el:S,anchor:$,transition:I}=v;if(_===le){HM(S,$);return}if(_===Vn){E(v);return}const z=()=>{s(S),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(v.shapeFlag&1&&I&&!I.persisted){const{leave:V,delayLeave:B}=I,U=()=>V(S,z);B?B(v.el,z,U):U()}else z()},HM=(v,_)=>{let S;for(;v!==_;)S=d(v),s(v),v=S;s(_)},VM=(v,_,S)=>{const{bum:$,scope:I,update:z,subTree:V,um:B}=v;$&&hr($),I.stop(),z&&(z.active=!1,Bt(V,v,_,S)),B&&ke(B,_),ke(()=>{v.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},sn=(v,_,S,$=!1,I=!1,z=0)=>{for(let V=z;Vv.shapeFlag&6?No(v.component.subTree):v.shapeFlag&128?v.suspense.next():d(v.anchor||v.el),nm=(v,_,S)=>{v==null?_._vnode&&Bt(_._vnode,null,null,!0):y(_._vnode||null,v,_,null,null,null,S),Kc(),ei(),_._vnode=v},Wr={p:y,um:Bt,m:ar,r:tm,mt:P,mc:b,pc:fe,pbc:R,n:No,o:e};let fc,dc;return t&&([fc,dc]=t(Wr)),{render:nm,hydrate:fc,createApp:Zg(nm,fc)}}function Un({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ma(e,t,n=!1){const r=e.children,s=t.children;if(Y(r)&&Y(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Xg=e=>e.__isTeleport,os=e=>e&&(e.disabled||e.disabled===""),Bu=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,ga=(e,t)=>{const n=e&&e.to;return J(n)?t?t(n):null:n},e1={__isTeleport:!0,process(e,t,n,r,s,i,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:y,createComment:C}}=c,g=os(t.props);let{shapeFlag:p,children:w,dynamicChildren:E}=t;if(e==null){const M=t.el=y(""),j=t.anchor=y("");h(M,n,r),h(j,n,r);const T=t.target=ga(t.props,m),b=t.targetAnchor=y("");T&&(h(b,T),o=o||Bu(T));const O=(R,k)=>{p&16&&u(w,R,k,s,i,o,a,l)};g?O(n,j):T&&O(T,b)}else{t.el=e.el;const M=t.anchor=e.anchor,j=t.target=e.target,T=t.targetAnchor=e.targetAnchor,b=os(e.props),O=b?n:j,R=b?M:T;if(o=o||Bu(j),E?(d(e.dynamicChildren,E,O,s,i,o,a),ma(e,t,!0)):l||f(e,t,O,R,s,i,o,a,!1),g)b||mi(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=ga(t.props,m);k&&mi(t,k,null,c,0)}else b&&mi(t,j,T,c,1)}zu(t)},remove(e,t,n,r,{um:s,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),(o||!os(d))&&(i(c),a&16))for(let h=0;h0?st||lr:null,Uu(),Yn>0&&st&&st.push(e),e}function H(e,t,n,r,s,i){return Hu(A(e,t,n,r,s,i,!0))}function ue(e,t,n,r,s){return Hu(q(e,t,n,r,s,!0))}function hn(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}function r1(e){}const gi="__vInternal",Vu=({key:e})=>e!=null?e:null,yi=({ref:e,ref_key:t,ref_for:n})=>e!=null?J(e)||_e(e)||Z(e)?{i:$e,r:e,k:t,f:!!n}:e:null;function A(e,t=null,n=null,r=0,s=null,i=e===le?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vu(t),ref:t&&yi(t),scopeId:ri,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:$e};return a?(wa(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=J(n)?8:16),Yn>0&&!o&&st&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&st.push(l),l}const q=s1;function s1(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Cu)&&(e=Ke),hn(e)){const a=Ft(e,t,!0);return n&&wa(a,n),Yn>0&&!i&&st&&(a.shapeFlag&6?st[st.indexOf(e)]=a:st.push(a)),a.patchFlag|=-2,a}if(f1(e)&&(e=e.__vccOpts),t){t=va(t);let{class:a,style:l}=t;a&&!J(a)&&(t.class=Ce(a)),me(l)&&(Ho(l)&&!Y(l)&&(l=ce({},l)),t.style=We(l))}const o=J(e)?1:ru(e)?128:Xg(e)?64:me(e)?4:Z(e)?2:0;return A(e,t,n,r,s,o,i,!0)}function va(e){return e?Ho(e)||gi in e?ce({},e):e:null}function Ft(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?Yu(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Vu(a),ref:t&&t.ref?n&&s?Y(s)?s.concat(yi(t)):[s,yi(t)]:yi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ct(e=" ",t=0){return q(Hn,null,e,t)}function i1(e,t){const n=q(Vn,null,e);return n.staticCount=t,n}function he(e="",t=!1){return t?(x(),ue(Ke,null,e)):q(Ke,null,e)}function dt(e){return e==null||typeof e=="boolean"?q(Ke):Y(e)?q(le,null,e.slice()):typeof e=="object"?pn(e):q(Hn,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function wa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),wa(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(gi in t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[Ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yu(...e){const t={};for(let n=0;nEe||$e,gn=e=>{Ee=e,e.scope.on()},yn=()=>{Ee&&Ee.scope.off(),Ee=null};function qu(e){return e.vnode.shapeFlag&4}let Cr=!1;function Qu(e,t=!1){Cr=t;const{props:n,children:r}=e.vnode,s=qu(e);Vg(e,n,s,t),qg(e,r);const i=s?l1(e,t):void 0;return Cr=!1,i}function l1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Vo(new Proxy(e.ctx,ca));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Gu(e):null;gn(e),pr();const i=Vt(r,e,0,[e.props,s]);if(mr(),yn(),Oo(i)){if(i.then(yn,yn),t)return i.then(o=>{Ca(e,o,t)}).catch(o=>{$n(o,e,0)});e.asyncDep=i}else Ca(e,i,t)}else Zu(e,t)}function Ca(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=qo(t)),Zu(e,n)}let vi,_a;function Ku(e){vi=e,_a=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Rg))}}const c1=()=>!vi;function Zu(e,t,n){const r=e.type;if(!e.render){if(!t&&vi&&!r.render){const s=r.template||fa(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=ce(ce({isCustomElement:i,delimiters:a},o),l);r.render=vi(s,c)}}e.render=r.render||Je,_a&&_a(e)}gn(e),pr(),Fg(e),mr(),yn()}function u1(e){return new Proxy(e.attrs,{get(t,n){return rt(e,"get","$attrs"),t[n]}})}function Gu(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=u1(e))},slots:e.slots,emit:e.emit,expose:t}}function wi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qo(Vo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in is)return is[n](e)},has(t,n){return n in t||n in is}}))}function ba(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function f1(e){return Z(e)&&"__vccOpts"in e}const je=(e,t)=>dg(e,t,Cr);function d1(){return null}function h1(){return null}function p1(e){}function m1(e,t){return null}function g1(){return Ju().slots}function y1(){return Ju().attrs}function Ju(){const e=mn();return e.setupContext||(e.setupContext=Gu(e))}function v1(e,t){const n=Y(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?Y(s)||Z(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function w1(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function C1(e){const t=mn();let n=e();return yn(),Oo(n)&&(n=n.catch(r=>{throw gn(t),r})),[n,()=>gn(t)]}function Xu(e,t,n){const r=arguments.length;return r===2?me(t)&&!Y(t)?hn(t)?q(e,null,[t]):q(e,t):q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hn(n)&&(n=[n]),q(e,t,n))}const ef=Symbol(""),tf=()=>Xe(ef);function _1(){}function b1(e,t,n,r){const s=n[r];if(s&&nf(s,e))return s;const i=t();return i.memo=e.slice(),n[r]=i}function nf(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&st&&st.push(e),!0}const rf="3.2.47",E1={createComponentInstance:Wu,setupComponent:Qu,renderComponentRoot:si,setCurrentRenderingInstance:es,isVNode:hn,normalizeVNode:dt},M1=null,S1=null,A1="http://www.w3.org/2000/svg",Wn=typeof document!="undefined"?document:null,sf=Wn&&Wn.createElement("template"),j1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Wn.createElementNS(A1,e):Wn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Wn.createTextNode(e),createComment:e=>Wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{sf.innerHTML=r?`${e}`:e;const a=sf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function T1(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function N1(e,t,n){const r=e.style,s=J(n);if(n&&!s){if(t&&!J(t))for(const i in t)n[i]==null&&Ea(r,i,"");for(const i in n)Ea(r,i,n[i])}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const of=/\s*!important$/;function Ea(e,t,n){if(Y(n))n.forEach(r=>Ea(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=L1(e,t);of.test(n)?e.setProperty(ct(r),n.replace(of,""),"important"):e[r]=n}}const af=["Webkit","Moz","ms"],Ma={};function L1(e,t){const n=Ma[t];if(n)return n;let r=Ie(t);if(r!=="filter"&&r in e)return Ma[t]=r;r=In(r);for(let s=0;sSa||($1.then(()=>Sa=0),Sa=Date.now());function R1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ft(F1(r,n.value),t,5,[r])};return n.value=e,n.attached=k1(),n}function F1(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const uf=/^on[a-z]/,B1=(e,t,n,r,s=!1,i,o,a,l)=>{t==="class"?T1(e,r,s):t==="style"?N1(e,n,r):Nn(t)?xo(t)||D1(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):z1(e,t,r,s))?I1(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),x1(e,t,r,s))};function z1(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&uf.test(t)&&Z(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||uf.test(t)&&J(n)?!1:t in e}function ff(e,t){const n=Ae(e);class r extends Ci{constructor(i){super(n,i,t)}}return r.def=n,r}const U1=e=>ff(e,Df),H1=typeof HTMLElement!="undefined"?HTMLElement:class{};class Ci extends H1{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Js(()=>{this._connected||(Ia(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:i,styles:o}=r;let a;if(i&&!Y(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Bs(this._props[l])),(a||(a=Object.create(null)))[Ie(l)]=!0)}this._numberProps=a,s&&this._resolveProps(r),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=Y(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of r.map(Ie))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i)}})}_setAttr(t){let n=this.getAttribute(t);const r=Ie(t);this._numberProps&&this._numberProps[r]&&(n=Bs(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(ct(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ct(t),n+""):n||this.removeAttribute(ct(t))))}_update(){Ia(this._createVNode(),this.shadowRoot)}_createVNode(){const t=q(this._def,ce({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{r(i,o),ct(i)!==i&&r(ct(i),o)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Ci){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function V1(e="$style"){{const t=mn();if(!t)return de;const n=t.type.__cssModules;if(!n)return de;const r=n[e];return r||de}}function Y1(e){const t=mn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>ja(i,s))},r=()=>{const s=e(t.proxy);Aa(t.subTree,s),n(s)};au(r),fn(()=>{const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),ui(()=>s.disconnect())})}function Aa(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Aa(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ja(e.el,t);else if(e.type===le)e.children.forEach(n=>Aa(n,t));else if(e.type===Vn){let{el:n,anchor:r}=e;for(;n&&(ja(n,t),n!==r);)n=n.nextSibling}}function ja(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const vn="transition",ls="animation",_r=(e,{slots:t})=>Xu(ea,pf(e),t);_r.displayName="Transition";const df={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},W1=_r.props=ce({},ea.props,df),qn=(e,t=[])=>{Y(e)?e.forEach(n=>n(...t)):e&&e(...t)},hf=e=>e?Y(e)?e.some(t=>t.length>1):e.length>1:!1;function pf(e){const t={};for(const N in e)N in df||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=q1(s),y=m&&m[0],C=m&&m[1],{onBeforeEnter:g,onEnter:p,onEnterCancelled:w,onLeave:E,onLeaveCancelled:M,onBeforeAppear:j=g,onAppear:T=p,onAppearCancelled:b=w}=t,O=(N,D,P)=>{wn(N,D?u:a),wn(N,D?c:o),P&&P()},R=(N,D)=>{N._isLeaving=!1,wn(N,f),wn(N,h),wn(N,d),D&&D()},k=N=>(D,P)=>{const X=N?T:p,te=()=>O(D,N,P);qn(X,[D,te]),mf(()=>{wn(D,N?l:i),Qt(D,N?u:a),hf(X)||gf(D,r,y,te)})};return ce(t,{onBeforeEnter(N){qn(g,[N]),Qt(N,i),Qt(N,o)},onBeforeAppear(N){qn(j,[N]),Qt(N,l),Qt(N,c)},onEnter:k(!1),onAppear:k(!0),onLeave(N,D){N._isLeaving=!0;const P=()=>R(N,D);Qt(N,f),Cf(),Qt(N,d),mf(()=>{!N._isLeaving||(wn(N,f),Qt(N,h),hf(E)||gf(N,r,C,P))}),qn(E,[N,P])},onEnterCancelled(N){O(N,!1),qn(w,[N])},onAppearCancelled(N){O(N,!0),qn(b,[N])},onLeaveCancelled(N){R(N),qn(M,[N])}})}function q1(e){if(e==null)return null;if(me(e))return[Ta(e.enter),Ta(e.leave)];{const t=Ta(e);return[t,t]}}function Ta(e){return Bs(e)}function Qt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function mf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Q1=0;function gf(e,t,n,r){const s=e._endId=++Q1,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=yf(e,t);if(!o)return r();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[m]||"").split(", "),s=r(`${vn}Delay`),i=r(`${vn}Duration`),o=vf(s,i),a=r(`${ls}Delay`),l=r(`${ls}Duration`),c=vf(a,l);let u=null,f=0,d=0;t===vn?o>0&&(u=vn,f=o,d=i.length):t===ls?c>0&&(u=ls,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?vn:ls:null,d=u?u===vn?i.length:l.length:0);const h=u===vn&&/\b(transform|all)(,|$)/.test(r(`${vn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function vf(e,t){for(;e.lengthwf(n)+wf(e[r])))}function wf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Cf(){return document.body.offsetHeight}const _f=new WeakMap,bf=new WeakMap,Ef={name:"TransitionGroup",props:ce({},W1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=mn(),r=Xo();let s,i;return li(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!X1(s[0].el,n.vnode.el,o))return;s.forEach(Z1),s.forEach(G1);const a=s.filter(J1);Cf(),a.forEach(l=>{const c=l.el,u=c.style;Qt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,wn(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=se(e),a=pf(o);let l=o.tag||le;s=i,i=t.default?oi(t.default()):[];for(let c=0;cdelete e.mode;Ef.props;const Na=Ef;function Z1(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function G1(e){bf.set(e,e.el.getBoundingClientRect())}function J1(e){const t=_f.get(e),n=bf.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${s}px)`,i.transitionDuration="0s",e}}function X1(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=yf(r);return s.removeChild(r),i}const Cn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>hr(t,n):t};function e0(e){e.target.composing=!0}function Mf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kt={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Cn(s);const i=r||s.props&&s.props.type==="number";qt(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=Fs(a)),e._assign(a)}),n&&qt(e,"change",()=>{e.value=e.value.trim()}),t||(qt(e,"compositionstart",e0),qt(e,"compositionend",Mf),qt(e,"change",Mf))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e._assign=Cn(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Fs(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},La={deep:!0,created(e,t,n){e._assign=Cn(n),qt(e,"change",()=>{const r=e._modelValue,s=br(e),i=e.checked,o=e._assign;if(Y(r)){const a=Ps(r,s),l=a!==-1;if(i&&!l)o(r.concat(s));else if(!i&&l){const c=[...r];c.splice(a,1),o(c)}}else if(Ln(r)){const a=new Set(r);i?a.add(s):a.delete(s),o(a)}else o(jf(e,i))})},mounted:Sf,beforeUpdate(e,t,n){e._assign=Cn(n),Sf(e,t,n)}};function Sf(e,{value:t,oldValue:n},r){e._modelValue=t,Y(t)?e.checked=Ps(t,r.props.value)>-1:Ln(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=on(t,jf(e,!0)))}const xa={created(e,{value:t},n){e.checked=on(t,n.props.value),e._assign=Cn(n),qt(e,"change",()=>{e._assign(br(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Cn(r),t!==n&&(e.checked=on(t,r.props.value))}},_i={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Ln(t);qt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Fs(br(o)):br(o));e._assign(e.multiple?s?new Set(i):i:i[0])}),e._assign=Cn(r)},mounted(e,{value:t}){Af(e,t)},beforeUpdate(e,t,n){e._assign=Cn(n)},updated(e,{value:t}){Af(e,t)}};function Af(e,t){const n=e.multiple;if(!(n&&!Y(t)&&!Ln(t))){for(let r=0,s=e.options.length;r-1:i.selected=t.has(o);else if(on(br(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function br(e){return"_value"in e?e._value:e.value}function jf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Tf={created(e,t,n){bi(e,t,n,null,"created")},mounted(e,t,n){bi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){bi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){bi(e,t,n,r,"updated")}};function Nf(e,t){switch(e){case"SELECT":return _i;case"TEXTAREA":return Kt;default:switch(t){case"checkbox":return La;case"radio":return xa;default:return Kt}}}function bi(e,t,n,r,s){const o=Nf(e.tagName,n.props&&n.props.type)[s];o&&o(e,t,n,r)}function t0(){Kt.getSSRProps=({value:e})=>({value:e}),xa.getSSRProps=({value:e},t)=>{if(t.props&&on(t.props.value,e))return{checked:!0}},La.getSSRProps=({value:e},t)=>{if(Y(e)){if(t.props&&Ps(e,t.props.value)>-1)return{checked:!0}}else if(Ln(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Tf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Nf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const n0=["ctrl","shift","alt","meta"],r0={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>n0.some(n=>e[`${n}Key`]&&!t.includes(n))},s0=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=ct(n.key);if(t.some(s=>s===r||i0[s]===r))return e(n)},Ei={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):cs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),cs(e,!0),r.enter(e)):r.leave(e,()=>{cs(e,!1)}):cs(e,t))},beforeUnmount(e,{value:t}){cs(e,t)}};function cs(e,t){e.style.display=t?e._vod:"none"}function o0(){Ei.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Lf=ce({patchProp:B1},j1);let us,xf=!1;function If(){return us||(us=ku(Lf))}function Of(){return us=xf?us:Ru(Lf),xf=!0,us}const Ia=(...e)=>{If().render(...e)},Df=(...e)=>{Of().hydrate(...e)},Pf=(...e)=>{const t=If().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=$f(r);if(!s)return;const i=t._component;!Z(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},a0=(...e)=>{const t=Of().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=$f(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function $f(e){return J(e)?document.querySelector(e):e}let kf=!1;var l0=Object.freeze(Object.defineProperty({__proto__:null,Transition:_r,TransitionGroup:Na,VueElement:Ci,createApp:Pf,createSSRApp:a0,defineCustomElement:ff,defineSSRCustomElement:U1,hydrate:Df,initDirectivesForSSR:()=>{kf||(kf=!0,t0(),o0())},render:Ia,useCssModule:V1,useCssVars:Y1,vModelCheckbox:La,vModelDynamic:Tf,vModelRadio:xa,vModelSelect:_i,vModelText:Kt,vShow:Ei,withKeys:Qn,withModifiers:s0,EffectScope:Po,ReactiveEffect:Kr,customRef:lg,effect:Nm,effectScope:Am,getCurrentScope:$o,isProxy:Ho,isReactive:Dn,isReadonly:Pn,isRef:_e,isShallow:Zr,markRaw:Vo,onScopeDispose:bc,proxyRefs:qo,reactive:Ht,readonly:Uo,ref:ne,shallowReactive:Uc,shallowReadonly:rg,shallowRef:Hc,stop:Lm,toRaw:se,toRef:Yc,toRefs:cg,triggerRef:ig,unref:L,camelize:Ie,capitalize:In,normalizeClass:Ce,normalizeProps:pc,normalizeStyle:We,toDisplayString:ie,toHandlerKey:fr,BaseTransition:ea,Comment:Ke,Fragment:le,KeepAlive:Ig,Static:Vn,Suspense:Mg,Teleport:n1,Text:Hn,assertNumber:pg,callWithAsyncErrorHandling:ft,callWithErrorHandling:Vt,cloneVNode:Ft,compatUtils:S1,computed:je,createBlock:ue,createCommentVNode:he,createElementBlock:H,createElementVNode:A,createHydrationRenderer:Ru,createPropsRestProxy:w1,createRenderer:ku,createSlots:$g,createStaticVNode:i1,createTextVNode:Ct,createVNode:q,defineAsyncComponent:xg,defineComponent:Ae,defineEmits:h1,defineExpose:p1,defineProps:d1,get devtools(){return yr},getCurrentInstance:mn,getTransitionRawChildren:oi,guardReactiveProps:va,h:Xu,handleError:$n,initCustomFormatter:_1,inject:Xe,isMemoSame:nf,isRuntimeOnly:c1,isVNode:hn,mergeDefaults:v1,mergeProps:Yu,nextTick:Js,onActivated:fu,onBeforeMount:pu,onBeforeUnmount:ci,onBeforeUpdate:mu,onDeactivated:du,onErrorCaptured:wu,onMounted:fn,onRenderTracked:vu,onRenderTriggered:yu,onServerPrefetch:gu,onUnmounted:ui,onUpdated:li,openBlock:x,popScopeId:eu,provide:vt,pushScopeId:Xc,queuePostFlushCb:Zo,registerRuntimeCompiler:Ku,renderList:Tt,renderSlot:Qe,resolveComponent:jt,resolveDirective:Pg,resolveDynamicComponent:_u,resolveFilter:M1,resolveTransitionHooks:wr,setBlockTracking:ya,setDevtoolsHook:Gc,setTransitionHooks:Fn,ssrContextKey:ef,ssrUtils:E1,toHandlers:kg,transformVNodeArgs:r1,useAttrs:y1,useSSRContext:tf,useSlots:g1,useTransitionState:Xo,version:rf,warn:hg,watch:et,watchEffect:ou,watchPostEffect:au,watchSyncEffect:Ng,withAsyncContext:C1,withCtx:be,withDefaults:m1,withDirectives:kt,withMemo:b1,withScopeId:tu},Symbol.toStringTag,{value:"Module"}));function Oa(e){throw e}function Rf(e){}function we(e,t,n,r){const s=e,i=new SyntaxError(String(s));return i.code=e,i.loc=t,i}const fs=Symbol(""),ds=Symbol(""),Da=Symbol(""),Mi=Symbol(""),Ff=Symbol(""),Kn=Symbol(""),Bf=Symbol(""),zf=Symbol(""),Pa=Symbol(""),$a=Symbol(""),hs=Symbol(""),ka=Symbol(""),Uf=Symbol(""),Ra=Symbol(""),Si=Symbol(""),Fa=Symbol(""),Ba=Symbol(""),za=Symbol(""),Ua=Symbol(""),Hf=Symbol(""),Vf=Symbol(""),Ai=Symbol(""),ji=Symbol(""),Ha=Symbol(""),Va=Symbol(""),ps=Symbol(""),ms=Symbol(""),Ya=Symbol(""),Wa=Symbol(""),c0=Symbol(""),qa=Symbol(""),Ti=Symbol(""),u0=Symbol(""),f0=Symbol(""),Qa=Symbol(""),d0=Symbol(""),h0=Symbol(""),Ka=Symbol(""),Yf=Symbol(""),Er={[fs]:"Fragment",[ds]:"Teleport",[Da]:"Suspense",[Mi]:"KeepAlive",[Ff]:"BaseTransition",[Kn]:"openBlock",[Bf]:"createBlock",[zf]:"createElementBlock",[Pa]:"createVNode",[$a]:"createElementVNode",[hs]:"createCommentVNode",[ka]:"createTextVNode",[Uf]:"createStaticVNode",[Ra]:"resolveComponent",[Si]:"resolveDynamicComponent",[Fa]:"resolveDirective",[Ba]:"resolveFilter",[za]:"withDirectives",[Ua]:"renderList",[Hf]:"renderSlot",[Vf]:"createSlots",[Ai]:"toDisplayString",[ji]:"mergeProps",[Ha]:"normalizeClass",[Va]:"normalizeStyle",[ps]:"normalizeProps",[ms]:"guardReactiveProps",[Ya]:"toHandlers",[Wa]:"camelize",[c0]:"capitalize",[qa]:"toHandlerKey",[Ti]:"setBlockTracking",[u0]:"pushScopeId",[f0]:"popScopeId",[Qa]:"withCtx",[d0]:"unref",[h0]:"isRef",[Ka]:"withMemo",[Yf]:"isMemoSame"};function p0(e){Object.getOwnPropertySymbols(e).forEach(t=>{Er[t]=e[t]})}const ht={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function m0(e,t=ht){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function gs(e,t,n,r,s,i,o,a=!1,l=!1,c=!1,u=ht){return e&&(a?(e.helper(Kn),e.helper(jr(e.inSSR,c))):e.helper(Ar(e.inSSR,c)),o&&e.helper(za)),{type:13,tag:t,props:n,children:r,patchFlag:s,dynamicProps:i,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function ys(e,t=ht){return{type:17,loc:t,elements:e}}function _t(e,t=ht){return{type:15,loc:t,properties:e}}function Me(e,t){return{type:16,loc:ht,key:J(e)?ee(e,!0):e,value:t}}function ee(e,t=!1,n=ht,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Lt(e,t=ht){return{type:8,loc:t,children:e}}function Te(e,t=[],n=ht){return{type:14,loc:n,callee:e,arguments:t}}function Mr(e,t=void 0,n=!1,r=!1,s=ht){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:s}}function Za(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:ht}}function g0(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ht}}function y0(e){return{type:21,body:e,loc:ht}}const ot=e=>e.type===4&&e.isStatic,Sr=(e,t)=>e===t||e===ct(t);function Wf(e){if(Sr(e,"Teleport"))return ds;if(Sr(e,"Suspense"))return Da;if(Sr(e,"KeepAlive"))return Mi;if(Sr(e,"BaseTransition"))return Ff}const v0=/^\d|[^\$\w]/,Ga=e=>!v0.test(e),w0=/[A-Za-z_$\xA0-\uFFFF]/,C0=/[\.\?\w$\xA0-\uFFFF]/,_0=/\s+[.[]\s*|\s*[.[]\s+/g,qf=e=>{e=e.trim().replace(_0,o=>o.trim());let t=0,n=[],r=0,s=0,i=null;for(let o=0;ot.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ja(e){return e.type===5||e.type===2}function E0(e){return e.type===7&&e.name==="slot"}function Ii(e){return e.type===1&&e.tagType===3}function Oi(e){return e.type===1&&e.tagType===2}function Ar(e,t){return e||t?Pa:$a}function jr(e,t){return e||t?Bf:zf}const M0=new Set([ps,ms]);function Kf(e,t=[]){if(e&&!J(e)&&e.type===14){const n=e.callee;if(!J(n)&&M0.has(n))return Kf(e.arguments[0],t.concat(e))}return[e,t]}function Di(e,t,n){let r,s=e.type===13?e.props:e.arguments[2],i=[],o;if(s&&!J(s)&&s.type===14){const a=Kf(s);s=a[0],i=a[1],o=i[i.length-1]}if(s==null||J(s))r=_t([t]);else if(s.type===14){const a=s.arguments[0];!J(a)&&a.type===15?Zf(t,a)||a.properties.unshift(t):s.callee===Ya?r=Te(n.helper(ji),[_t([t]),s]):s.arguments.unshift(_t([t])),!r&&(r=s)}else s.type===15?(Zf(t,s)||s.properties.unshift(t),r=s):(r=Te(n.helper(ji),[_t([t]),s]),o&&o.callee===ms&&(o=i[i.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Zf(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===r)}return n}function vs(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function S0(e){return e.type===14&&e.callee===Ka?e.arguments[1].returns:e}function Xa(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Ar(r,e.isComponent)),t(Kn),t(jr(r,e.isComponent)))}function Gf(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function Gn(e,t){const n=Gf("MODE",t),r=Gf(e,t);return n===3?r===!0:r!==!1}function ws(e,t,n,...r){return Gn(e,t)}const A0=/&(gt|lt|amp|apos|quot);/g,j0={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Jf={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:$s,isPreTag:$s,isCustomElement:$s,decodeEntities:e=>e.replace(A0,(t,n)=>j0[n]),onError:Oa,onWarn:Rf,comments:!1};function T0(e,t={}){const n=N0(e,t),r=pt(n);return m0(el(n,0,[]),Et(n,r))}function N0(e,t){const n=ce({},Jf);let r;for(r in t)n[r]=t[r]===void 0?Jf[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function el(e,t,n){const r=Pi(n),s=r?r.ns:0,i=[];for(;!R0(e,t,n);){const a=e.source;let l;if(t===0||t===1){if(!e.inVPre&&Ze(a,e.options.delimiters[0]))l=$0(e,t);else if(t===0&&a[0]==="<")if(a.length===1)pe(e,5,1);else if(a[1]==="!")Ze(a,"=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(i)r.codegenNode=pd(s,l,n);else{const c=ly(r.codegenNode);c.alternate=pd(s,l+r.branches.length-1,n)}}}));function ay(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(we(28,t.loc)),t.exp=ee("true",!1,s)}if(t.name==="if"){const s=hd(e,t),i={type:9,loc:e.loc,branches:[s]};if(n.replaceNode(i),r)return r(i,s,!0)}else{const s=n.parent.children;let i=s.indexOf(e);for(;i-->=-1;){const o=s[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(we(30,e.loc)),n.removeNode();const a=hd(e,t);o.branches.push(a);const l=r&&r(o,a,!1);ki(a,n),l&&l(),n.currentNode=null}else n.onError(we(30,e.loc));break}}}function hd(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!bt(e,"for")?e.children:[e],userKey:xi(e,"key"),isTemplateIf:n}}function pd(e,t,n){return e.condition?Za(e.condition,md(e,t,n),Te(n.helper(hs),['""',"true"])):md(e,t,n)}function md(e,t,n){const{helper:r}=n,s=Me("key",ee(`${t}`,!1,ht,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return Di(l,s,n),l}else{let l=64;return gs(n,r(fs),_t([s]),i,l+"",void 0,void 0,!0,!1,!1,e.loc)}else{const l=o.codegenNode,c=S0(l);return c.type===13&&Xa(c,n),Di(c,s,n),l}}function ly(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const cy=ld("for",(e,t,n)=>{const{helper:r,removeHelper:s}=n;return uy(e,t,n,i=>{const o=Te(r(Ua),[i.source]),a=Ii(e),l=bt(e,"memo"),c=xi(e,"key"),u=c&&(c.type===6?ee(c.value.content,!0):c.exp),f=c?Me("key",u):null,d=i.source.type===4&&i.source.constType>0,h=d?64:c?128:256;return i.codegenNode=gs(n,r(fs),void 0,o,h+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let m;const{children:y}=i,C=y.length!==1||y[0].type!==1,g=Oi(e)?e:a&&e.children.length===1&&Oi(e.children[0])?e.children[0]:null;if(g?(m=g.codegenNode,a&&f&&Di(m,f,n)):C?m=gs(n,r(fs),f?_t([f]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(m=y[0].codegenNode,a&&f&&Di(m,f,n),m.isBlock!==!d&&(m.isBlock?(s(Kn),s(jr(n.inSSR,m.isComponent))):s(Ar(n.inSSR,m.isComponent))),m.isBlock=!d,m.isBlock?(r(Kn),r(jr(n.inSSR,m.isComponent))):r(Ar(n.inSSR,m.isComponent))),l){const p=Mr(il(i.parseResult,[ee("_cached")]));p.body=y0([Lt(["const _memo = (",l.exp,")"]),Lt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(Yf)}(_cached, _memo)) return _cached`]),Lt(["const _item = ",m]),ee("_item.memo = _memo"),ee("return _item")]),o.arguments.push(p,ee("_cache"),ee(String(n.cached++)))}else o.arguments.push(Mr(il(i.parseResult),m,!0))}})});function uy(e,t,n,r){if(!t.exp){n.onError(we(31,t.loc));return}const s=yd(t.exp);if(!s){n.onError(we(32,t.loc));return}const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:u,index:f}=s,d={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:s,children:Ii(e)?e.children:[e]};n.replaceNode(d),a.vFor++;const h=r&&r(d);return()=>{a.vFor--,h&&h()}}const fy=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,gd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dy=/^\(|\)$/g;function yd(e,t){const n=e.loc,r=e.content,s=r.match(fy);if(!s)return;const[,i,o]=s,a={source:Fi(n,o.trim(),r.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(dy,"").trim();const c=i.indexOf(l),u=l.match(gd);if(u){l=l.replace(gd,"").trim();const f=u[1].trim();let d;if(f&&(d=r.indexOf(f,c+l.length),a.key=Fi(n,f,d)),u[2]){const h=u[2].trim();h&&(a.index=Fi(n,h,r.indexOf(h,a.key?d+f.length:c+l.length)))}}return l&&(a.value=Fi(n,l,c)),a}function Fi(e,t,n){return ee(t,!1,Qf(e,n,t.length))}function il({value:e,key:t,index:n},r=[]){return hy([e,t,n,...r])}function hy(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||ee("_".repeat(r+1),!1))}const vd=ee("undefined",!1),py=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=bt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},my=(e,t,n)=>Mr(e,t,!1,!0,t.length?t[0].loc:n);function gy(e,t,n=my){t.helper(Qa);const{children:r,loc:s}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=bt(e,"slot",!0);if(l){const{arg:C,exp:g}=l;C&&!ot(C)&&(a=!0),i.push(Me(C||ee("default",!0),n(g,r,s)))}let c=!1,u=!1;const f=[],d=new Set;let h=0;for(let C=0;C{const w=n(g,p,s);return t.compatConfig&&(w.isNonScopedSlot=!0),Me("default",w)};c?f.length&&f.some(g=>wd(g))&&(u?t.onError(we(39,f[0].loc)):i.push(C(void 0,f))):i.push(C(void 0,r))}const m=a?2:zi(e.children)?3:1;let y=_t(i.concat(Me("_",ee(m+"",!1))),s);return o.length&&(y=Te(t.helper(Vf),[y,ys(o)])),{slots:y,hasDynamicSlots:a}}function Bi(e,t,n){const r=[Me("name",e),Me("fn",t)];return n!=null&&r.push(Me("key",ee(String(n),!0))),_t(r)}function zi(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:s}=e,i=e.tagType===1;let o=i?vy(e,t):`"${r}"`;const a=me(o)&&o.callee===Si;let l,c,u,f=0,d,h,m,y=a||o===ds||o===Da||!i&&(r==="svg"||r==="foreignObject");if(s.length>0){const C=_d(e,t,void 0,i,a);l=C.props,f=C.patchFlag,h=C.dynamicPropNames;const g=C.directives;m=g&&g.length?ys(g.map(p=>Cy(p,t))):void 0,C.shouldUseBlock&&(y=!0)}if(e.children.length>0)if(o===Mi&&(y=!0,f|=1024),i&&o!==ds&&o!==Mi){const{slots:g,hasDynamicSlots:p}=gy(e,t);c=g,p&&(f|=1024)}else if(e.children.length===1&&o!==ds){const g=e.children[0],p=g.type,w=p===5||p===8;w&&Mt(g,t)===0&&(f|=1),w||p===2?c=g:c=e.children}else c=e.children;f!==0&&(u=String(f),h&&h.length&&(d=_y(h))),e.codegenNode=gs(t,o,l,c,u,d,m,!!y,!1,i,e.loc)};function vy(e,t,n=!1){let{tag:r}=e;const s=ol(r),i=xi(e,"is");if(i)if(s||Gn("COMPILER_IS_ON_ELEMENT",t)){const l=i.type===6?i.value&&ee(i.value.content,!0):i.exp;if(l)return Te(t.helper(Si),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const o=!s&&bt(e,"is");if(o&&o.exp)return Te(t.helper(Si),[o.exp]);const a=Wf(r)||t.isBuiltInComponent(r);return a?(n||t.helper(a),a):(t.helper(Ra),t.components.add(r),vs(r,"component"))}function _d(e,t,n=e.props,r,s,i=!1){const{tag:o,loc:a,children:l}=e;let c=[];const u=[],f=[],d=l.length>0;let h=!1,m=0,y=!1,C=!1,g=!1,p=!1,w=!1,E=!1;const M=[],j=O=>{c.length&&(u.push(_t(bd(c),a)),c=[]),O&&u.push(O)},T=({key:O,value:R})=>{if(ot(O)){const k=O.content,N=Nn(k);if(N&&(!r||s)&&k.toLowerCase()!=="onclick"&&k!=="onUpdate:modelValue"&&!xn(k)&&(p=!0),N&&xn(k)&&(E=!0),R.type===20||(R.type===4||R.type===8)&&Mt(R,t)>0)return;k==="ref"?y=!0:k==="class"?C=!0:k==="style"?g=!0:k!=="key"&&!M.includes(k)&&M.push(k),r&&(k==="class"||k==="style")&&!M.includes(k)&&M.push(k)}else w=!0};for(let O=0;O0&&c.push(Me(ee("ref_for",!0),ee("true")))),N==="is"&&(ol(o)||D&&D.content.startsWith("vue:")||Gn("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Me(ee(N,!0,Qf(k,0,N.length)),ee(D?D.content:"",P,D?D.loc:k)))}else{const{name:k,arg:N,exp:D,loc:P}=R,X=k==="bind",te=k==="on";if(k==="slot"){r||t.onError(we(40,P));continue}if(k==="once"||k==="memo"||k==="is"||X&&Zn(N,"is")&&(ol(o)||Gn("COMPILER_IS_ON_ELEMENT",t))||te&&i)continue;if((X&&Zn(N,"key")||te&&d&&Zn(N,"vue:before-update"))&&(h=!0),X&&Zn(N,"ref")&&t.scopes.vFor>0&&c.push(Me(ee("ref_for",!0),ee("true"))),!N&&(X||te)){if(w=!0,D)if(X){if(j(),Gn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(D);continue}u.push(D)}else j({type:14,loc:P,callee:t.helper(Ya),arguments:r?[D]:[D,"true"]});else t.onError(we(X?34:35,P));continue}const ye=t.directiveTransforms[k];if(ye){const{props:fe,needRuntime:Dt}=ye(R,e,t);!i&&fe.forEach(T),te&&N&&!ot(N)?j(_t(fe,a)):c.push(...fe),Dt&&(f.push(R),an(Dt)&&Cd.set(R,Dt))}else bm(k)||(f.push(R),d&&(h=!0))}}let b;if(u.length?(j(),u.length>1?b=Te(t.helper(ji),u,a):b=u[0]):c.length&&(b=_t(bd(c),a)),w?m|=16:(C&&!r&&(m|=2),g&&!r&&(m|=4),M.length&&(m|=8),p&&(m|=32)),!h&&(m===0||m===32)&&(y||E||f.length>0)&&(m|=512),!t.inSSR&&b)switch(b.type){case 15:let O=-1,R=-1,k=!1;for(let P=0;PMe(o,i)),s))}return ys(n,e.loc)}function _y(e){let t="[";for(let n=0,r=e.length;n{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ey=/-(\w)/g,Ed=by(e=>e.replace(Ey,(t,n)=>n?n.toUpperCase():"")),My=(e,t)=>{if(Oi(e)){const{children:n,loc:r}=e,{slotName:s,slotProps:i}=Sy(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Mr([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=Te(t.helper(Hf),o,r)}};function Sy(e,t){let n='"default"',r;const s=[];for(let i=0;i0){const{props:i,directives:o}=_d(e,t,s,!1,!1);r=i,o.length&&t.onError(we(36,o[0].loc))}return{slotName:n,slotProps:r}}const Ay=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Md=(e,t,n,r)=>{const{loc:s,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(we(35,s));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?fr(Ie(f)):`on:${f}`;a=ee(d,!0,o.loc)}else a=Lt([`${n.helperString(qa)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(qa)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=qf(l.content),d=!(f||Ay.test(l.content)),h=l.content.includes(";");(d||c&&f)&&(l=Lt([`${d?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let u={props:[Me(a,l||ee("() => {}",!1,s))]};return r&&(u=r(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},jy=(e,t,n)=>{const{exp:r,modifiers:s,loc:i}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),s.includes("camel")&&(o.type===4?o.isStatic?o.content=Ie(o.content):o.content=`${n.helperString(Wa)}(${o.content})`:(o.children.unshift(`${n.helperString(Wa)}(`),o.children.push(")"))),n.inSSR||(s.includes("prop")&&Sd(o,"."),s.includes("attr")&&Sd(o,"^")),!r||r.type===4&&!r.content.trim()?(n.onError(we(34,i)),{props:[Me(o,ee("",!0,i))]}):{props:[Me(o,r)]}},Sd=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Ty=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,s=!1;for(let i=0;ii.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i{if(e.type===1&&bt(e,"once",!0))return Ad.has(e)||t.inVOnce?void 0:(Ad.add(e),t.inVOnce=!0,t.helper(Ti),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},jd=(e,t,n)=>{const{exp:r,arg:s}=e;if(!r)return n.onError(we(41,e.loc)),Ui();const i=r.loc.source,o=r.type===4?r.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(we(44,r.loc)),Ui();const l=!1;if(!o.trim()||!qf(o)&&!l)return n.onError(we(42,r.loc)),Ui();const c=s||ee("modelValue",!0),u=s?ot(s)?`onUpdate:${Ie(s.content)}`:Lt(['"onUpdate:" + ',s]):"onUpdate:modelValue";let f;const d=n.isTS?"($event: any)":"$event";f=Lt([`${d} => ((`,r,") = $event)"]);const h=[Me(c,e.exp),Me(u,f)];if(e.modifiers.length&&t.tagType===1){const m=e.modifiers.map(C=>(Ga(C)?C:JSON.stringify(C))+": true").join(", "),y=s?ot(s)?`${s.content}Modifiers`:Lt([s,' + "Modifiers"']):"modelModifiers";h.push(Me(y,ee(`{ ${m} }`,!1,e.loc,2)))}return Ui(h)};function Ui(e=[]){return{props:e}}const Ly=/[\w).+\-_$\]]/,xy=(e,t)=>{!Gn("COMPILER_FILTER",t)||(e.type===5&&Hi(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Hi(n.exp,t)}))};function Hi(e,t){if(e.type===4)Td(e,t);else for(let n=0;n=0&&(p=n.charAt(g),p===" ");g--);(!p||!Ly.test(p))&&(o=!0)}}m===void 0?m=n.slice(0,h).trim():u!==0&&C();function C(){y.push(n.slice(u,h).trim()),u=h+1}if(y.length){for(h=0;h{if(e.type===1){const n=bt(e,"memo");return!n||Nd.has(e)?void 0:(Nd.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Xa(r,t),e.codegenNode=Te(t.helper(Ka),[n.exp,Mr(void 0,r),"_cache",String(t.cached++)]))})}};function Dy(e){return[[Ny,oy,Oy,cy,xy,My,yy,py,Ty],{on:Md,bind:jy,model:jd}]}function Py(e,t={}){const n=t.onError||Oa,r=t.mode==="module";t.prefixIdentifiers===!0?n(we(47)):r&&n(we(48));const s=!1;t.cacheHandlers&&n(we(49)),t.scopeId&&!r&&n(we(50));const i=J(e)?T0(e,t):e,[o,a]=Dy();return U0(i,ce({},t,{prefixIdentifiers:s,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:ce({},a,t.directiveTransforms||{})})),Y0(i,ce({},t,{prefixIdentifiers:s}))}const $y=()=>({props:[]}),Ld=Symbol(""),xd=Symbol(""),Id=Symbol(""),Od=Symbol(""),al=Symbol(""),Dd=Symbol(""),Pd=Symbol(""),$d=Symbol(""),kd=Symbol(""),Rd=Symbol("");p0({[Ld]:"vModelRadio",[xd]:"vModelCheckbox",[Id]:"vModelText",[Od]:"vModelSelect",[al]:"vModelDynamic",[Dd]:"withModifiers",[Pd]:"withKeys",[$d]:"vShow",[kd]:"Transition",[Rd]:"TransitionGroup"});let Tr;function ky(e,t=!1){return Tr||(Tr=document.createElement("div")),t?(Tr.innerHTML=`
`,Tr.children[0].getAttribute("foo")):(Tr.innerHTML=e,Tr.textContent)}const Ry=nt("style,iframe,script,noscript",!0),Fy={isVoidTag:mm,isNativeTag:e=>hm(e)||pm(e),isPreTag:e=>e==="pre",decodeEntities:ky,isBuiltInComponent:e=>{if(Sr(e,"Transition"))return kd;if(Sr(e,"TransitionGroup"))return Rd},getNamespace(e,t){let n=t?t.ns:0;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n},getTextMode({tag:e,ns:t}){if(t===0){if(e==="textarea"||e==="title")return 1;if(Ry(e))return 2}return 0}},By=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ee("style",!0,t.loc),exp:zy(t.value.content,t.loc),modifiers:[],loc:t.loc})})},zy=(e,t)=>{const n=hc(e);return ee(JSON.stringify(n),!1,t,3)};function Zt(e,t){return we(e,t)}const Uy=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Zt(51,s)),t.children.length&&(n.onError(Zt(52,s)),t.children.length=0),{props:[Me(ee("innerHTML",!0,s),r||ee("",!0))]}},Hy=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Zt(53,s)),t.children.length&&(n.onError(Zt(54,s)),t.children.length=0),{props:[Me(ee("textContent",!0),r?Mt(r,n)>0?r:Te(n.helperString(Ai),[r],s):ee("",!0))]}},Vy=(e,t,n)=>{const r=jd(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Zt(56,e.arg.loc));const{tag:s}=t,i=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||i){let o=Id,a=!1;if(s==="input"||i){const l=xi(t,"type");if(l){if(l.type===7)o=al;else if(l.value)switch(l.value.content){case"radio":o=Ld;break;case"checkbox":o=xd;break;case"file":a=!0,n.onError(Zt(57,e.loc));break}}else b0(t)&&(o=al)}else s==="select"&&(o=Od);a||(r.needRuntime=n.helper(o))}else n.onError(Zt(55,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},Yy=nt("passive,once,capture"),Wy=nt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),qy=nt("left,right"),Fd=nt("onkeyup,onkeydown,onkeypress",!0),Qy=(e,t,n,r)=>{const s=[],i=[],o=[];for(let a=0;aot(e)&&e.content.toLowerCase()==="onclick"?ee(t,!0):e.type!==4?Lt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ky=(e,t,n)=>Md(e,t,n,r=>{const{modifiers:s}=e;if(!s.length)return r;let{key:i,value:o}=r.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=Qy(i,s,n,e.loc);if(l.includes("right")&&(i=Bd(i,"onContextmenu")),l.includes("middle")&&(i=Bd(i,"onMouseup")),l.length&&(o=Te(n.helper(Dd),[o,JSON.stringify(l)])),a.length&&(!ot(i)||Fd(i.content))&&(o=Te(n.helper(Pd),[o,JSON.stringify(a)])),c.length){const u=c.map(In).join("");i=ot(i)?ee(`${i.content}${u}`,!0):Lt(["(",i,`) + "${u}"`])}return{props:[Me(i,o)]}}),Zy=(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Zt(59,s)),{props:[],needRuntime:n.helper($d)}},Gy=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(t.onError(Zt(61,e.loc)),t.removeNode())},Jy=[By],Xy={cloak:$y,html:Uy,text:Hy,model:Vy,on:Ky,show:Zy};function ev(e,t={}){return Py(e,ce({},Fy,t,{nodeTransforms:[Gy,...Jy,...t.nodeTransforms||[]],directiveTransforms:ce({},Xy,t.directiveTransforms||{}),transformHoist:null}))}const zd=Object.create(null);function tv(e,t){if(!J(e))if(e.nodeType)e=e.innerHTML;else return Je;const n=e,r=zd[n];if(r)return r;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const s=ce({hoistStatic:!0,onError:void 0,onWarn:Je},t);!s.isCustomElement&&typeof customElements!="undefined"&&(s.isCustomElement=a=>!!customElements.get(a));const{code:i}=ev(e,s),o=new Function("Vue",i)(l0);return o._rc=!0,zd[n]=o}Ku(tv);/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */var ky;(function(t){t.pop="pop",t.push="push"})(ky||(ky={}));var Ey;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ey||(Ey={}));var Ay;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Ay||(Ay={}));const wC=Symbol("");function SC(){return nr(wC)}var Ry;const Ac=typeof window!="undefined",bC=t=>typeof t=="string",My=(t,e,r)=>Math.min(r,Math.max(e,t)),ys=()=>{};Ac&&((Ry=window==null?void 0:window.navigator)==null?void 0:Ry.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function TC(t,e){function r(...n){t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})}return r}const jy=t=>t();function QC(t=jy){const e=fe(!0);function r(){e.value=!1}function n(){e.value=!0}return{isActive:e,pause:r,resume:n,eventFilter:(...s)=>{e.value&&t(...s)}}}function Rc(t){return ef()?(hm(t),!0):!1}function Dy(t,e,r={}){const{flush:n="sync",deep:i=!1,immediate:s=!0,direction:o="both"}=r;let a,l;return(o==="both"||o==="ltr")&&(a=ut(t,c=>e.value=c,{flush:n,deep:i,immediate:s})),(o==="both"||o==="rtl")&&(l=ut(e,c=>t.value=c,{flush:n,deep:i,immediate:s})),()=>{a==null||a(),l==null||l()}}function xC(t,e=1e3,r={}){const{immediate:n=!0,immediateCallback:i=!1}=r;let s=null;const o=fe(!1);function a(){s&&(clearInterval(s),s=null)}function l(){o.value=!1,a()}function c(){V(e)<=0||(o.value=!0,i&&t(),a(),s=setInterval(t,V(e)))}if(n&&Ac&&c(),Ke(e)){const u=ut(e,()=>{o.value&&Ac&&c()});Rc(u)}return Rc(l),{isActive:o,pause:l,resume:c}}var Ny=Object.getOwnPropertySymbols,$C=Object.prototype.hasOwnProperty,_C=Object.prototype.propertyIsEnumerable,PC=(t,e)=>{var r={};for(var n in t)$C.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ny)for(var n of Ny(t))e.indexOf(n)<0&&_C.call(t,n)&&(r[n]=t[n]);return r};function CC(t,e,r={}){const n=r,{eventFilter:i=jy}=n,s=PC(n,["eventFilter"]);return ut(t,TC(i,e),s)}var kC=Object.defineProperty,EC=Object.defineProperties,AC=Object.getOwnPropertyDescriptors,Mc=Object.getOwnPropertySymbols,Iy=Object.prototype.hasOwnProperty,Ly=Object.prototype.propertyIsEnumerable,Vy=(t,e,r)=>e in t?kC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,RC=(t,e)=>{for(var r in e||(e={}))Iy.call(e,r)&&Vy(t,r,e[r]);if(Mc)for(var r of Mc(e))Ly.call(e,r)&&Vy(t,r,e[r]);return t},MC=(t,e)=>EC(t,AC(e)),jC=(t,e)=>{var r={};for(var n in t)Iy.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Mc)for(var n of Mc(t))e.indexOf(n)<0&&Ly.call(t,n)&&(r[n]=t[n]);return r};function DC(t,e,r={}){const n=r,{eventFilter:i}=n,s=jC(n,["eventFilter"]),{eventFilter:o,pause:a,resume:l,isActive:c}=QC(i);return{stop:CC(t,e,MC(RC({},s),{eventFilter:o})),pause:a,resume:l,isActive:c}}function Va(t){var e;const r=V(t);return(e=r==null?void 0:r.$el)!=null?e:r}const vs=Ac?window:void 0;function In(...t){let e,r,n,i;if(bC(t[0])?([r,n,i]=t,e=vs):[e,r,n,i]=t,!e)return ys;let s=ys;const o=ut(()=>Va(e),l=>{s(),l&&(l.addEventListener(r,n,i),s=()=>{l.removeEventListener(r,n,i),s=ys})},{immediate:!0,flush:"post"}),a=()=>{o(),s()};return Rc(a),a}function NC(t,e,r={}){const{window:n=vs,ignore:i,capture:s=!0,detectIframe:o=!1}=r;if(!n)return;const a=fe(!0);let l;const c=f=>{n.clearTimeout(l);const d=Va(t),p=f.composedPath();!d||d===f.target||p.includes(d)||!a.value||i&&i.length>0&&i.some(O=>{const y=Va(O);return y&&(f.target===y||p.includes(y))})||e(f)},u=[In(n,"click",c,{passive:!0,capture:s}),In(n,"pointerdown",f=>{const d=Va(t);a.value=!!d&&!f.composedPath().includes(d)},{passive:!0}),In(n,"pointerup",f=>{if(f.button===0){const d=f.composedPath();f.composedPath=()=>d,l=n.setTimeout(()=>c(f),50)}},{passive:!0}),o&&In(n,"blur",f=>{var d;const p=Va(t);((d=document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(p!=null&&p.contains(document.activeElement))&&e(f)})].filter(Boolean);return()=>u.forEach(f=>f())}function zy(t,e,r){const n=fe(t);return ot({get(){return n.value=My(n.value,V(e),V(r))},set(i){n.value=My(i,V(e),V(r))}})}const Cd=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},kd="__vueuse_ssr_handlers__";Cd[kd]=Cd[kd]||{};const IC=Cd[kd];function LC(t,e){return IC[t]||e}function VC(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"||Array.isArray(t)?"object":Number.isNaN(t)?"any":"number"}const zC={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}};function WC(t,e,r,n={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,shallow:c,window:u=vs,eventFilter:h,onError:f=w=>{console.error(w)}}=n,d=(c?ff:fe)(e);if(!r)try{r=LC("getDefaultStorage",()=>{var w;return(w=vs)==null?void 0:w.localStorage})()}catch(w){f(w)}if(!r)return d;const p=V(e),O=VC(p),y=(i=n.serializer)!=null?i:zC[O],{pause:g,resume:m}=DC(d,()=>v(d.value),{flush:s,deep:o,eventFilter:h});return u&&a&&In(u,"storage",x),x(),d;function v(w){try{w==null?r.removeItem(t):r.setItem(t,y.write(w))}catch($){f($)}}function b(w){if(!(w&&w.key!==t)){g();try{const $=w?w.newValue:r.getItem(t);return $==null?(l&&p!==null&&r.setItem(t,y.write(p)),p):typeof $!="string"?$:y.read($)}catch($){f($)}finally{m()}}}function x(w){w&&w.key!==t||(d.value=b(w))}}function BC(t,e={}){const{immediate:r=!0,window:n=vs}=e,i=fe(!1);let s=null;function o(){!i.value||!n||(t(),s=n.requestAnimationFrame(o))}function a(){!i.value&&n&&(i.value=!0,o())}function l(){i.value=!1,s!=null&&n&&(n.cancelAnimationFrame(s),s=null)}return r&&a(),Rc(l),{isActive:i,pause:l,resume:a}}function Ed(t,e,r={}){const{window:n=vs}=r;return WC(t,e,n==null?void 0:n.localStorage,r)}const UC={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function XC(t={}){const{reactive:e=!1,target:r=vs,aliasMap:n=UC,passive:i=!0,onEventFired:s=ys}=t,o=hn(new Set),a={toJSON(){return{}},current:o},l=e?hn(a):a,c=new Set,u=new Set;function h(O,y){O in l&&(e?l[O]=y:l[O].value=y)}function f(){for(const O of u)h(O,!1)}function d(O,y){var g,m;const v=(g=O.key)==null?void 0:g.toLowerCase(),b=(m=O.code)==null?void 0:m.toLowerCase(),x=[b,v].filter(Boolean);b&&(y?o.add(O.code):o.delete(O.code));for(const w of x)u.add(w),h(w,y);v==="meta"&&!y?(c.forEach(w=>{o.delete(w),h(w,!1)}),c.clear()):typeof O.getModifierState=="function"&&O.getModifierState("Meta")&&y&&[...o,...x].forEach(w=>c.add(w))}r&&(In(r,"keydown",O=>(d(O,!0),s(O)),{passive:i}),In(r,"keyup",O=>(d(O,!1),s(O)),{passive:i}),In("blur",f,{passive:!0}),In("focus",f,{passive:!0}));const p=new Proxy(l,{get(O,y,g){if(typeof y!="string")return Reflect.get(O,y,g);if(y=y.toLowerCase(),y in n&&(y=n[y]),!(y in l))if(/[+_-]/.test(y)){const v=y.split(/[+_-]/g).map(b=>b.trim());l[y]=ot(()=>v.every(b=>V(p[b])))}else l[y]=fe(!1);const m=Reflect.get(O,y,g);return e?V(m):m}});return p}var qC=Object.defineProperty,Wy=Object.getOwnPropertySymbols,ZC=Object.prototype.hasOwnProperty,FC=Object.prototype.propertyIsEnumerable,By=(t,e,r)=>e in t?qC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,GC=(t,e)=>{for(var r in e||(e={}))ZC.call(e,r)&&By(t,r,e[r]);if(Wy)for(var r of Wy(e))FC.call(e,r)&&By(t,r,e[r]);return t};function HC(t={}){const{controls:e=!1,interval:r="requestAnimationFrame"}=t,n=fe(new Date),i=()=>n.value=new Date,s=r==="requestAnimationFrame"?BC(i,{immediate:!0}):xC(i,r,{immediate:!0});return e?GC({now:n},s):n}function YC(t){const{total:e=1/0,pageSize:r=10,page:n=1,onPageChange:i=ys,onPageSizeChange:s=ys,onPageCountChange:o=ys}=t,a=zy(r,1,1/0),l=ot(()=>Math.ceil(V(e)/V(a))),c=zy(n,1,l),u=ot(()=>c.value===1),h=ot(()=>c.value===l.value);Ke(n)&&Dy(n,c),Ke(r)&&Dy(r,a);function f(){c.value--}function d(){c.value++}const p={currentPage:c,currentPageSize:a,pageCount:l,isFirstPage:u,isLastPage:h,prev:f,next:d};return ut(c,()=>{i(hn(p))}),ut(a,()=>{s(hn(p))}),ut(l,()=>{o(hn(p))}),p}var Uy;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Uy||(Uy={}));var KC=Object.defineProperty,jc=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,qy=Object.prototype.propertyIsEnumerable,Zy=(t,e,r)=>e in t?KC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,JC=(t,e)=>{for(var r in e||(e={}))Xy.call(e,r)&&Zy(t,r,e[r]);if(jc)for(var r of jc(e))qy.call(e,r)&&Zy(t,r,e[r]);return t},e5=(t,e)=>{var r={};for(var n in t)Xy.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&jc)for(var n of jc(t))e.indexOf(n)<0&&qy.call(t,n)&&(r[n]=t[n]);return r};const Fy=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],t5={justNow:"just now",past:t=>t.match(/\d/)?`${t} ago`:t,future:t=>t.match(/\d/)?`in ${t}`:t,month:(t,e)=>t===1?e?"last month":"next month":`${t} month${t>1?"s":""}`,year:(t,e)=>t===1?e?"last year":"next year":`${t} year${t>1?"s":""}`,day:(t,e)=>t===1?e?"yesterday":"tomorrow":`${t} day${t>1?"s":""}`,week:(t,e)=>t===1?e?"last week":"next week":`${t} week${t>1?"s":""}`,hour:t=>`${t} hour${t>1?"s":""}`,minute:t=>`${t} minute${t>1?"s":""}`,second:t=>`${t} second${t>1?"s":""}`},r5=t=>t.toISOString().slice(0,10);function Gy(t,e={}){const{controls:r=!1,max:n,updateInterval:i=3e4,messages:s=t5,fullDateFormatter:o=r5}=e,{abs:a,round:l}=Math,c=HC({interval:i,controls:!0}),{now:u}=c,h=e5(c,["now"]);function f(y,g){var m;const v=+g-+y,b=a(v);if(b<6e4)return s.justNow;if(typeof n=="number"&&b>n)return o(new Date(y));if(typeof n=="string"){const x=(m=Fy.find(w=>w.name===n))==null?void 0:m.max;if(x&&b>x)return o(new Date(y))}for(const x of Fy)if(b0,b=d(g.name,m,v);return d(v?"past":"future",b,v)}const O=ot(()=>f(new Date(V(t)),V(u.value)));return r?JC({timeAgo:O},h):O}const n5={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},i5=j("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),s5=[i5];function o5(t,e){return W(),K("svg",n5,s5)}var Hy={name:"ri-arrow-left-s-line",render:o5};const a5={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},l5=j("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1),c5=[l5];function u5(t,e){return W(),K("svg",a5,c5)}var Yy={name:"ri-arrow-right-s-line",render:u5};const h5={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},f5=j("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"},null,-1),d5=[f5];function p5(t,e){return W(),K("svg",h5,d5)}var O5={name:"ri-close-line",render:p5};const g5={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},m5=j("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1),y5=[m5];function v5(t,e){return W(),K("svg",g5,y5)}var w5={name:"ri-error-warning-line",render:v5};const S5={key:0,class:"avatar-fallback"},b5={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},T5=j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),Q5=j("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),x5=[T5,Q5],$5={key:1,class:"avatar-placeholder"},_5=["src","alt"];var Ad=it({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(t){const e=t,r=fe(!1),n=fe(!1),i=async()=>{if(!e.src)return Promise.reject();const l=new Image;return l.src=e.src,new Promise((c,u)=>{l.onload=()=>c(l),l.onerror=h=>u(h)})};ai(async()=>{if(!e.src){n.value=!0;return}r.value=!0;try{await i()}catch{n.value=!0}finally{r.value=!1}});const s=ot(()=>{const l=[`avatar-${e.circle?"circle":"square"}`];return e.size&&l.push(`avatar-${e.size}`),l}),o=ot(()=>{const l={};return e.width&&(l.width=e.width),e.height&&(l.height=e.height),l}),a=ot(()=>{if(!e.alt)return;const l=e.alt.split(" ");if(l.length===1)return l[0].charAt(0).toUpperCase();if(l.length>1)return l[0].charAt(0).toUpperCase()+l[1].charAt(0).toUpperCase()});return(l,c)=>(W(),K("div",{class:qe(["avatar-wrapper",V(s)]),style:Ct(V(o))},[r.value||n.value?(W(),K("div",S5,[r.value?(W(),K("svg",b5,x5)):V(a)?(W(),K("span",$5,Te(V(a)),1)):(W(),$e(V(w5),{key:2,class:"avatar-error"}))])):(W(),K("img",{key:1,src:t.src,alt:t.alt},null,8,_5))],6))}}),P5=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};const C5=["disabled"],k5={key:0,class:"btn-icon"},E5={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},A5=j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),R5=j("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),M5=[A5,R5],j5={class:"btn-content"};var ws=it({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(t,{emit:e}){const r=t,n=SC(),i=ot(()=>[`btn-${r.size}`,`btn-${r.type}`,{"btn-circle":r.circle},{"btn-block":r.block},{"btn-loading":r.loading}]);function s(){r.disabled||r.loading||(r.route&&n.push(r.route),e("click"))}return(o,a)=>(W(),K("button",{class:qe([V(i),"btn"]),disabled:t.disabled,type:"button",onClick:s},[o.$slots.icon||t.loading?(W(),K("span",k5,[t.loading?(W(),K("svg",E5,M5)):ht(o.$slots,"icon",{key:1})])):ke("",!0),j("span",j5,[ht(o.$slots,"default")])],10,C5))}});/*! + */var Ud;(function(e){e.pop="pop",e.push="push"})(Ud||(Ud={}));var Hd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hd||(Hd={}));var Vd;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vd||(Vd={}));const nv=Symbol("");function rv(){return Xe(nv)}var Yd;const Vi=typeof window!="undefined",sv=e=>typeof e=="string",Wd=(e,t,n)=>Math.min(n,Math.max(t,e)),Jn=()=>{};Vi&&((Yd=window==null?void 0:window.navigator)==null?void 0:Yd.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function iv(e,t){function n(...r){e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})}return n}const qd=e=>e();function ov(e=qd){const t=ne(!0);function n(){t.value=!1}function r(){t.value=!0}return{isActive:t,pause:n,resume:r,eventFilter:(...i)=>{t.value&&e(...i)}}}function Yi(e){return $o()?(bc(e),!0):!1}function Qd(e,t,n={}){const{flush:r="sync",deep:s=!1,immediate:i=!0,direction:o="both"}=n;let a,l;return(o==="both"||o==="ltr")&&(a=et(e,c=>t.value=c,{flush:r,deep:s,immediate:i})),(o==="both"||o==="rtl")&&(l=et(t,c=>e.value=c,{flush:r,deep:s,immediate:i})),()=>{a==null||a(),l==null||l()}}function av(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let i=null;const o=ne(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){L(t)<=0||(o.value=!0,s&&e(),a(),i=setInterval(e,L(t)))}if(r&&Vi&&c(),_e(t)){const u=et(t,()=>{o.value&&Vi&&c()});Yi(u)}return Yi(l),{isActive:o,pause:l,resume:c}}var Kd=Object.getOwnPropertySymbols,lv=Object.prototype.hasOwnProperty,cv=Object.prototype.propertyIsEnumerable,uv=(e,t)=>{var n={};for(var r in e)lv.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Kd)for(var r of Kd(e))t.indexOf(r)<0&&cv.call(e,r)&&(n[r]=e[r]);return n};function fv(e,t,n={}){const r=n,{eventFilter:s=qd}=r,i=uv(r,["eventFilter"]);return et(e,iv(s,t),i)}var dv=Object.defineProperty,hv=Object.defineProperties,pv=Object.getOwnPropertyDescriptors,Wi=Object.getOwnPropertySymbols,Zd=Object.prototype.hasOwnProperty,Gd=Object.prototype.propertyIsEnumerable,Jd=(e,t,n)=>t in e?dv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mv=(e,t)=>{for(var n in t||(t={}))Zd.call(t,n)&&Jd(e,n,t[n]);if(Wi)for(var n of Wi(t))Gd.call(t,n)&&Jd(e,n,t[n]);return e},gv=(e,t)=>hv(e,pv(t)),yv=(e,t)=>{var n={};for(var r in e)Zd.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wi)for(var r of Wi(e))t.indexOf(r)<0&&Gd.call(e,r)&&(n[r]=e[r]);return n};function vv(e,t,n={}){const r=n,{eventFilter:s}=r,i=yv(r,["eventFilter"]),{eventFilter:o,pause:a,resume:l,isActive:c}=ov(s);return{stop:fv(e,t,gv(mv({},i),{eventFilter:o})),pause:a,resume:l,isActive:c}}function Ms(e){var t;const n=L(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Xn=Vi?window:void 0;function Gt(...e){let t,n,r,s;if(sv(e[0])?([n,r,s]=e,t=Xn):[t,n,r,s]=e,!t)return Jn;let i=Jn;const o=et(()=>Ms(t),l=>{i(),l&&(l.addEventListener(n,r,s),i=()=>{l.removeEventListener(n,r,s),i=Jn})},{immediate:!0,flush:"post"}),a=()=>{o(),i()};return Yi(a),a}function wv(e,t,n={}){const{window:r=Xn,ignore:s,capture:i=!0,detectIframe:o=!1}=n;if(!r)return;const a=ne(!0);let l;const c=d=>{r.clearTimeout(l);const h=Ms(e),m=d.composedPath();!h||h===d.target||m.includes(h)||!a.value||s&&s.length>0&&s.some(y=>{const C=Ms(y);return C&&(d.target===C||m.includes(C))})||t(d)},u=[Gt(r,"click",c,{passive:!0,capture:i}),Gt(r,"pointerdown",d=>{const h=Ms(e);a.value=!!h&&!d.composedPath().includes(h)},{passive:!0}),Gt(r,"pointerup",d=>{if(d.button===0){const h=d.composedPath();d.composedPath=()=>h,l=r.setTimeout(()=>c(d),50)}},{passive:!0}),o&&Gt(r,"blur",d=>{var h;const m=Ms(e);((h=document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(document.activeElement))&&t(d)})].filter(Boolean);return()=>u.forEach(d=>d())}function Xd(e,t,n){const r=ne(e);return je({get(){return r.value=Wd(r.value,L(t),L(n))},set(s){r.value=Wd(s,L(t),L(n))}})}const ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},cl="__vueuse_ssr_handlers__";ll[cl]=ll[cl]||{};const Cv=ll[cl];function _v(e,t){return Cv[e]||t}function bv(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const Ev={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Mv(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,shallow:c,window:u=Xn,eventFilter:f,onError:d=j=>{console.error(j)}}=r,h=(c?Hc:ne)(t);if(!n)try{n=_v("getDefaultStorage",()=>{var j;return(j=Xn)==null?void 0:j.localStorage})()}catch(j){d(j)}if(!n)return h;const m=L(t),y=bv(m),C=(s=r.serializer)!=null?s:Ev[y],{pause:g,resume:p}=vv(h,()=>w(h.value),{flush:i,deep:o,eventFilter:f});return u&&a&&Gt(u,"storage",M),M(),h;function w(j){try{j==null?n.removeItem(e):n.setItem(e,C.write(j))}catch(T){d(T)}}function E(j){if(!(j&&j.key!==e)){g();try{const T=j?j.newValue:n.getItem(e);return T==null?(l&&m!==null&&n.setItem(e,C.write(m)),m):typeof T!="string"?T:C.read(T)}catch(T){d(T)}finally{p()}}}function M(j){j&&j.key!==e||(h.value=E(j))}}function Sv(e,t={}){const{immediate:n=!0,window:r=Xn}=t,s=ne(!1);let i=null;function o(){!s.value||!r||(e(),i=r.requestAnimationFrame(o))}function a(){!s.value&&r&&(s.value=!0,o())}function l(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&a(),Yi(l),{isActive:s,pause:l,resume:a}}function ul(e,t,n={}){const{window:r=Xn}=n;return Mv(e,t,r==null?void 0:r.localStorage,n)}const Av={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function jv(e={}){const{reactive:t=!1,target:n=Xn,aliasMap:r=Av,passive:s=!0,onEventFired:i=Jn}=e,o=Ht(new Set),a={toJSON(){return{}},current:o},l=t?Ht(a):a,c=new Set,u=new Set;function f(y,C){y in l&&(t?l[y]=C:l[y].value=C)}function d(){for(const y of u)f(y,!1)}function h(y,C){var g,p;const w=(g=y.key)==null?void 0:g.toLowerCase(),E=(p=y.code)==null?void 0:p.toLowerCase(),M=[E,w].filter(Boolean);E&&(C?o.add(y.code):o.delete(y.code));for(const j of M)u.add(j),f(j,C);w==="meta"&&!C?(c.forEach(j=>{o.delete(j),f(j,!1)}),c.clear()):typeof y.getModifierState=="function"&&y.getModifierState("Meta")&&C&&[...o,...M].forEach(j=>c.add(j))}n&&(Gt(n,"keydown",y=>(h(y,!0),i(y)),{passive:s}),Gt(n,"keyup",y=>(h(y,!1),i(y)),{passive:s}),Gt("blur",d,{passive:!0}),Gt("focus",d,{passive:!0}));const m=new Proxy(l,{get(y,C,g){if(typeof C!="string")return Reflect.get(y,C,g);if(C=C.toLowerCase(),C in r&&(C=r[C]),!(C in l))if(/[+_-]/.test(C)){const w=C.split(/[+_-]/g).map(E=>E.trim());l[C]=je(()=>w.every(E=>L(m[E])))}else l[C]=ne(!1);const p=Reflect.get(y,C,g);return t?L(p):p}});return m}var Tv=Object.defineProperty,eh=Object.getOwnPropertySymbols,Nv=Object.prototype.hasOwnProperty,Lv=Object.prototype.propertyIsEnumerable,th=(e,t,n)=>t in e?Tv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xv=(e,t)=>{for(var n in t||(t={}))Nv.call(t,n)&&th(e,n,t[n]);if(eh)for(var n of eh(t))Lv.call(t,n)&&th(e,n,t[n]);return e};function Iv(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=ne(new Date),s=()=>r.value=new Date,i=n==="requestAnimationFrame"?Sv(s,{immediate:!0}):av(s,n,{immediate:!0});return t?xv({now:r},i):r}function Ov(e){const{total:t=1/0,pageSize:n=10,page:r=1,onPageChange:s=Jn,onPageSizeChange:i=Jn,onPageCountChange:o=Jn}=e,a=Xd(n,1,1/0),l=je(()=>Math.ceil(L(t)/L(a))),c=Xd(r,1,l),u=je(()=>c.value===1),f=je(()=>c.value===l.value);_e(r)&&Qd(r,c),_e(n)&&Qd(n,a);function d(){c.value--}function h(){c.value++}const m={currentPage:c,currentPageSize:a,pageCount:l,isFirstPage:u,isLastPage:f,prev:d,next:h};return et(c,()=>{s(Ht(m))}),et(a,()=>{i(Ht(m))}),et(l,()=>{o(Ht(m))}),m}var nh;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(nh||(nh={}));var Dv=Object.defineProperty,qi=Object.getOwnPropertySymbols,rh=Object.prototype.hasOwnProperty,sh=Object.prototype.propertyIsEnumerable,ih=(e,t,n)=>t in e?Dv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pv=(e,t)=>{for(var n in t||(t={}))rh.call(t,n)&&ih(e,n,t[n]);if(qi)for(var n of qi(t))sh.call(t,n)&&ih(e,n,t[n]);return e},$v=(e,t)=>{var n={};for(var r in e)rh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qi)for(var r of qi(e))t.indexOf(r)<0&&sh.call(e,r)&&(n[r]=e[r]);return n};const oh=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],kv={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`},Rv=e=>e.toISOString().slice(0,10);function ah(e,t={}){const{controls:n=!1,max:r,updateInterval:s=3e4,messages:i=kv,fullDateFormatter:o=Rv}=t,{abs:a,round:l}=Math,c=Iv({interval:s,controls:!0}),{now:u}=c,f=$v(c,["now"]);function d(C,g){var p;const w=+g-+C,E=a(w);if(E<6e4)return i.justNow;if(typeof r=="number"&&E>r)return o(new Date(C));if(typeof r=="string"){const M=(p=oh.find(j=>j.name===r))==null?void 0:p.max;if(M&&E>M)return o(new Date(C))}for(const M of oh)if(E0,E=h(g.name,p,w);return h(w?"past":"future",E,w)}const y=je(()=>d(new Date(L(e)),L(u.value)));return n?Pv({timeAgo:y},f):y}const Fv={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Bv=A("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),zv=[Bv];function Uv(e,t){return x(),H("svg",Fv,zv)}var lh={name:"ri-arrow-left-s-line",render:Uv};const Hv={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Vv=A("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1),Yv=[Vv];function Wv(e,t){return x(),H("svg",Hv,Yv)}var ch={name:"ri-arrow-right-s-line",render:Wv};const qv={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Qv=A("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1),Kv=[Qv];function Zv(e,t){return x(),H("svg",qv,Kv)}var Gv={name:"ri-error-warning-line",render:Zv};const Jv={key:0,class:"avatar-fallback"},Xv={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},ew=A("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),tw=A("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),nw=[ew,tw],rw={key:1,class:"avatar-placeholder"},sw=["src","alt"];var fl=Ae({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(e){const t=e,n=ne(!1),r=ne(!1),s=async()=>{if(!t.src)return Promise.reject();const l=new Image;return l.src=t.src,new Promise((c,u)=>{l.onload=()=>c(l),l.onerror=f=>u(f)})};fn(async()=>{if(!t.src){r.value=!0;return}n.value=!0;try{await s()}catch{r.value=!0}finally{n.value=!1}});const i=je(()=>{const l=[`avatar-${t.circle?"circle":"square"}`];return t.size&&l.push(`avatar-${t.size}`),l}),o=je(()=>{const l={};return t.width&&(l.width=t.width),t.height&&(l.height=t.height),l}),a=je(()=>{if(!t.alt)return;const l=t.alt.split(" ");if(l.length===1)return l[0].charAt(0).toUpperCase();if(l.length>1)return l[0].charAt(0).toUpperCase()+l[1].charAt(0).toUpperCase()});return(l,c)=>(x(),H("div",{class:Ce(["avatar-wrapper",L(i)]),style:We(L(o))},[n.value||r.value?(x(),H("div",Jv,[n.value?(x(),H("svg",Xv,nw)):L(a)?(x(),H("span",rw,ie(L(a)),1)):(x(),ue(L(Gv),{key:2,class:"avatar-error"}))])):(x(),H("img",{key:1,src:e.src,alt:e.alt},null,8,sw))],6))}}),iw=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const ow=["disabled"],aw={key:0,class:"btn-icon"},lw={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},cw=A("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),uw=A("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),fw=[cw,uw],dw={class:"btn-content"};var Nr=Ae({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(e,{emit:t}){const n=e,r=rv(),s=je(()=>[`btn-${n.size}`,`btn-${n.type}`,{"btn-circle":n.circle},{"btn-block":n.block},{"btn-loading":n.loading}]);function i(){n.disabled||n.loading||(n.route&&r.push(n.route),t("click"))}return(o,a)=>(x(),H("button",{class:Ce([L(s),"btn"]),disabled:e.disabled,type:"button",onClick:i},[o.$slots.icon||e.loading?(x(),H("span",aw,[e.loading?(x(),H("svg",lw,fw)):Qe(o.$slots,"icon",{key:1})])):he("",!0),A("span",dw,[Qe(o.$slots,"default")])],10,ow))}});/*! * OverlayScrollbars * Version: 2.1.1 * @@ -16,42 +16,6 @@ var CommentWidget=function(Fh){"use strict";function dr(t,e){const r=Object.crea * https://github.com/KingSora * * Released under the MIT license. - */function Ee(t,e){if(Nc(t))for(let r=0;re(t[r],r,t));return t}function Xt(t,e){const r=wi(e);if(rn(e)||r){let n=r?"":{};if(t){const i=window.getComputedStyle(t,null);n=r?uv(t,i,e):e.reduce((s,o)=>(s[o]=uv(t,i,o),s),n)}return n}t&&Ee(kr(e),n=>K5(t,n,e[n]))}const en=(t,e)=>{const{o:r,u:n,_:i}=t;let s=r,o;const a=(l,c)=>{const u=s,h=l,f=c||(n?!n(u,h):u!==h);return(f||i)&&(s=h,o=u),[s,f,o]};return[e?l=>a(e(s,o),l):a,l=>[s,!!l,o]]},za=()=>typeof window<"u",Ky=za()&&Node.ELEMENT_NODE,{toString:D5,hasOwnProperty:Rd}=Object.prototype,Ln=t=>t===void 0,Dc=t=>t===null,N5=t=>Ln(t)||Dc(t)?`${t}`:D5.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),vi=t=>typeof t=="number",wi=t=>typeof t=="string",Md=t=>typeof t=="boolean",tn=t=>typeof t=="function",rn=t=>Array.isArray(t),Wa=t=>typeof t=="object"&&!rn(t)&&!Dc(t),Nc=t=>{const e=!!t&&t.length,r=vi(e)&&e>-1&&e%1==0;return rn(t)||!tn(t)&&r?e>0&&Wa(t)?e-1 in t:!0:!1},jd=t=>{if(!t||!Wa(t)||N5(t)!=="object")return!1;let e;const r="constructor",n=t[r],i=n&&n.prototype,s=Rd.call(t,r),o=i&&Rd.call(i,"isPrototypeOf");if(n&&!s&&!o)return!1;for(e in t);return Ln(e)||Rd.call(t,e)},Ic=t=>{const e=HTMLElement;return t?e?t instanceof e:t.nodeType===Ky:!1},Lc=t=>{const e=Element;return t?e?t instanceof e:t.nodeType===Ky:!1},Dd=(t,e,r)=>t.indexOf(e,r),Be=(t,e,r)=>(!r&&!wi(e)&&Nc(e)?Array.prototype.push.apply(t,e):t.push(e),t),Ss=t=>{const e=Array.from,r=[];return e&&t?e(t):(t instanceof Set?t.forEach(n=>{Be(r,n)}):Ee(t,n=>{Be(r,n)}),r)},Nd=t=>!!t&&t.length===0,On=(t,e,r)=>{Ee(t,n=>n&&n.apply(void 0,e||[])),!r&&(t.length=0)},Vc=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),kr=t=>t?Object.keys(t):[],Je=(t,e,r,n,i,s,o)=>{const a=[e,r,n,i,s,o];return(typeof t!="object"||Dc(t))&&!tn(t)&&(t={}),Ee(a,l=>{Ee(kr(l),c=>{const u=l[c];if(t===u)return!0;const h=rn(u);if(u&&(jd(u)||h)){const f=t[c];let d=f;h&&!rn(f)?d=[]:!h&&!jd(f)&&(d={}),t[c]=Je(d,u)}else t[c]=u})}),t},Id=t=>{for(const e in t)return!1;return!0},Jy=(t,e,r,n)=>{if(Ln(n))return r?r[t]:e;r&&(wi(n)||vi(n))&&(r[t]=n)},Er=(t,e,r)=>{if(Ln(r))return t?t.getAttribute(e):null;t&&t.setAttribute(e,r)},ev=(t,e,r,n)=>{if(r){const i=Er(t,e)||"",s=new Set(i.split(" "));s[n?"add":"delete"](r),Er(t,e,Ss(s).join(" ").trim())}},I5=(t,e,r)=>{const n=Er(t,e)||"";return new Set(n.split(" ")).has(r)},gn=(t,e)=>{t&&t.removeAttribute(e)},nn=(t,e)=>Jy("scrollLeft",0,t,e),Vn=(t,e)=>Jy("scrollTop",0,t,e),Ld=za()&&Element.prototype,tv=(t,e)=>{const r=[],n=e?Lc(e)?e:null:document;return n?Be(r,n.querySelectorAll(t)):r},L5=(t,e)=>{const r=e?Lc(e)?e:null:document;return r?r.querySelector(t):null},zc=(t,e)=>Lc(t)?(Ld.matches||Ld.msMatchesSelector).call(t,e):!1,Vd=t=>t?Ss(t.childNodes):[],zn=t=>t?t.parentElement:null,fo=(t,e)=>{if(Lc(t)){const r=Ld.closest;if(r)return r.call(t,e);do{if(zc(t,e))return t;t=zn(t)}while(t)}return null},V5=(t,e,r)=>{const n=t&&fo(t,e),i=t&&L5(r,n),s=fo(i,e)===n;return n&&i?n===t||i===t||s&&fo(fo(t,r),e)!==n:!1},zd=(t,e,r)=>{if(r&&t){let n=e,i;Nc(r)?(i=document.createDocumentFragment(),Ee(r,s=>{s===n&&(n=s.previousSibling),i.appendChild(s)})):i=r,e&&(n?n!==e&&(n=n.nextSibling):n=t.firstChild),t.insertBefore(i,n||null)}},Br=(t,e)=>{zd(t,null,e)},z5=(t,e)=>{zd(zn(t),t,e)},rv=(t,e)=>{zd(zn(t),t&&t.nextSibling,e)},mn=t=>{if(Nc(t))Ee(Ss(t),e=>mn(e));else if(t){const e=zn(t);e&&e.removeChild(t)}},bs=t=>{const e=document.createElement("div");return t&&Er(e,"class",t),e},nv=t=>{const e=bs();return e.innerHTML=t.trim(),Ee(Vd(e),r=>mn(r))},Wd=t=>t.charAt(0).toUpperCase()+t.slice(1),W5=()=>bs().style,B5=["-webkit-","-moz-","-o-","-ms-"],U5=["WebKit","Moz","O","MS","webkit","moz","o","ms"],Bd={},Ud={},X5=t=>{let e=Ud[t];if(Vc(Ud,t))return e;const r=Wd(t),n=W5();return Ee(B5,i=>{const s=i.replace(/-/g,"");return!(e=[t,i+t,s+r,Wd(s)+r].find(o=>n[o]!==void 0))}),Ud[t]=e||""},Ba=t=>{if(za()){let e=Bd[t]||window[t];return Vc(Bd,t)||(Ee(U5,r=>(e=e||window[r+Wd(t)],!e)),Bd[t]=e),e}},q5=Ba("MutationObserver"),iv=Ba("IntersectionObserver"),po=Ba("ResizeObserver"),sv=Ba("cancelAnimationFrame"),ov=Ba("requestAnimationFrame"),Wc=za()&&window.setTimeout,Xd=za()&&window.clearTimeout,Bc=(t,e,r,n)=>{if(t&&e){let i=!0;return Ee(r,s=>{const o=n?n(t[s]):t[s],a=n?n(e[s]):e[s];o!==a&&(i=!1)}),i}return!1},av=(t,e)=>Bc(t,e,["w","h"]),lv=(t,e)=>Bc(t,e,["x","y"]),Z5=(t,e)=>Bc(t,e,["t","r","b","l"]),cv=(t,e,r)=>Bc(t,e,["width","height"],r&&(n=>Math.round(n))),Ur=()=>{},Oo=t=>{let e;const r=t?Wc:ov,n=t?Xd:sv;return[i=>{n(e),e=r(i,tn(t)?t():t)},()=>n(e)]},qd=(t,e)=>{let r,n,i,s=Ur;const{v:o,g:a,p:l}=e||{},c=function(d){s(),Xd(r),r=n=void 0,s=Ur,t.apply(this,d)},u=d=>l&&n?l(n,d):d,h=()=>{s!==Ur&&c(u(i)||i)},f=function(){const d=Ss(arguments),p=tn(o)?o():o;if(vi(p)&&p>=0){const O=tn(a)?a():a,y=vi(O)&&O>=0,g=p>0?Wc:ov,m=p>0?Xd:sv,v=u(d)||d,b=c.bind(0,v);s();const x=g(b,p);s=()=>m(x),y&&!r&&(r=Wc(h,O)),n=i=v}else c(d)};return f.m=h,f},F5=/[^\x20\t\r\n\f]+/g,Zd=(t,e,r)=>{const n=t&&t.classList;let i,s=0,o=!1;if(n&&e&&wi(e)){const a=e.match(F5)||[];for(o=a.length>0;i=a[s++];)o=!!r(n,i)&&o}return o},G5=(t,e)=>Zd(t,e,(r,n)=>r.contains(n)),go=(t,e)=>{Zd(t,e,(r,n)=>r.remove(n))},yr=(t,e)=>(Zd(t,e,(r,n)=>r.add(n)),go.bind(0,t,e)),H5={opacity:1,zindex:1},Uc=(t,e)=>{const r=e?parseFloat(t):parseInt(t,10);return r===r?r:0},Y5=(t,e)=>!H5[t.toLowerCase()]&&vi(e)?`${e}px`:e,uv=(t,e,r)=>e!=null?e[r]||e.getPropertyValue(r):t.style[r],K5=(t,e,r)=>{try{const{style:n}=t;Ln(n[e])?n.setProperty(e,r):n[e]=Y5(e,r)}catch{}},Ua=t=>Xt(t,"direction")==="rtl",hv=(t,e,r)=>{const n=e?`${e}-`:"",i=r?`-${r}`:"",s=`${n}top${i}`,o=`${n}right${i}`,a=`${n}bottom${i}`,l=`${n}left${i}`,c=Xt(t,[s,o,a,l]);return{t:Uc(c[s],!0),r:Uc(c[o],!0),b:Uc(c[a],!0),l:Uc(c[l],!0)}},{round:fv}=Math,Fd={w:0,h:0},Ts=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Fd,Xc=t=>t?{w:t.clientWidth,h:t.clientHeight}:Fd,qc=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Fd,Zc=t=>{const e=parseFloat(Xt(t,"height"))||0,r=parseFloat(Xt(t,"width"))||0;return{w:r-fv(r),h:e-fv(e)}},Si=t=>t.getBoundingClientRect();let Fc;const J5=()=>{if(Ln(Fc)){Fc=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Fc=!0}}))}catch{}}return Fc},dv=t=>t.split(" "),ek=(t,e,r,n)=>{Ee(dv(e),i=>{t.removeEventListener(i,r,n)})},vt=(t,e,r,n)=>{var i;const s=J5(),o=(i=s&&n&&n.S)!=null?i:s,a=n&&n.$||!1,l=n&&n.C||!1,c=[],u=s?{passive:o,capture:a}:a;return Ee(dv(e),h=>{const f=l?d=>{t.removeEventListener(h,f,a),r&&r(d)}:r;Be(c,ek.bind(null,t,h,f,a)),t.addEventListener(h,f,u)}),On.bind(0,c)},pv=t=>t.stopPropagation(),Ov=t=>t.preventDefault(),tk={x:0,y:0},Gd=t=>{const e=t?Si(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:tk},gv=(t,e)=>{Ee(rn(e)?e:[e],t)},Hd=t=>{const e=new Map,r=(s,o)=>{if(s){const a=e.get(s);gv(l=>{a&&a[l?"delete":"clear"](l)},o)}else e.forEach(a=>{a.clear()}),e.clear()},n=(s,o)=>{if(wi(s)){const c=e.get(s)||new Set;return e.set(s,c),gv(u=>{tn(u)&&c.add(u)},o),r.bind(0,s,o)}Md(o)&&o&&r();const a=kr(s),l=[];return Ee(a,c=>{const u=s[c];u&&Be(l,n(c,u))}),On.bind(0,l)},i=(s,o)=>{const a=e.get(s);Ee(Ss(a),l=>{o&&!Nd(o)?l.apply(0,o):l()})};return n(t||{}),[n,r,i]},mv=t=>JSON.stringify(t,(e,r)=>{if(tn(r))throw new Error;return r}),rk={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},yv=(t,e)=>{const r={},n=kr(e).concat(kr(t));return Ee(n,i=>{const s=t[i],o=e[i];if(Wa(s)&&Wa(o))Je(r[i]={},yv(s,o)),Id(r[i])&&delete r[i];else if(Vc(e,i)&&o!==s){let a=!0;if(rn(s)||rn(o))try{mv(s)===mv(o)&&(a=!1)}catch{}a&&(r[i]=o)}}),r},vv="os-environment",wv=`${vv}-flexbox-glue`,nk=`${wv}-max`,Wn="data-overlayscrollbars",Yd="data-overlayscrollbars-initialize",Sv=`${Wn}-overflow-x`,bv=`${Wn}-overflow-y`,Xa="overflowVisible",ik="scrollbarHidden",Gc="updating",sk="os-padding",Hc="os-viewport",Kd=`${Hc}-arrange`,ok="os-content",Yc=`${Hc}-scrollbar-hidden`,mo="os-overflow-visible",Jd="os-size-observer",ak=`${Jd}-appear`,lk=`${Jd}-listener`,ck="os-trinsic-observer",uk="os-no-css-vars",hk="os-theme-none",vr="os-scrollbar",fk=`${vr}-rtl`,dk=`${vr}-horizontal`,pk=`${vr}-vertical`,Tv=`${vr}-track`,ep=`${vr}-handle`,Ok=`${vr}-visible`,gk=`${vr}-cornerless`,Qv=`${vr}-transitionless`,xv=`${vr}-interaction`,$v=`${vr}-unusable`,_v=`${vr}-auto-hidden`,Pv=`${vr}-wheel`,mk=`${Tv}-interactive`,yk=`${ep}-interactive`,Cv={},Qs=()=>Cv,vk=t=>{const e=[];return Ee(rn(t)?t:[t],r=>{const n=kr(r);Ee(n,i=>{Be(e,Cv[i]=r[i])})}),e},wk="__osOptionsValidationPlugin",Sk="__osSizeObserverPlugin",tp="__osScrollbarsHidingPlugin",bk="__osClickScrollPlugin";let rp;const kv=(t,e,r,n)=>{Br(t,e);const i=Xc(e),s=Ts(e),o=Zc(r);return n&&mn(e),{x:s.h-i.h+o.h,y:s.w-i.w+o.w}},Tk=t=>{let e=!1;const r=yr(t,Yc);try{e=Xt(t,X5("scrollbar-width"))==="none"||window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return r(),e},Qk=(t,e)=>{const r="hidden";Xt(t,{overflowX:r,overflowY:r,direction:"rtl"}),nn(t,0);const n=Gd(t),i=Gd(e);nn(t,-999);const s=Gd(e);return{i:n.x===i.x,n:i.x!==s.x}},xk=(t,e)=>{const r=yr(t,wv),n=Si(t),i=Si(e),s=cv(i,n,!0),o=yr(t,nk),a=Si(t),l=Si(e),c=cv(l,a,!0);return r(),o(),s&&c},$k=()=>{const{body:t}=document,e=nv(`
`)[0],r=e.firstChild,[n,,i]=Hd(),[s,o]=en({o:kv(t,e,r),u:lv},kv.bind(0,t,e,r,!0)),[a]=o(),l=Tk(e),c={x:a.x===0,y:a.y===0},u={elements:{host:null,padding:!l,viewport:g=>l&&g===g.ownerDocument.body&&g,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=Je({},rk),f=Je.bind(0,{},h),d=Je.bind(0,{},u),p={k:a,A:c,I:l,L:Xt(e,"zIndex")==="-1",B:Qk(e,r),V:xk(e,r),Y:n.bind(0,"z"),j:n.bind(0,"r"),N:d,q:g=>Je(u,g)&&d(),F:f,G:g=>Je(h,g)&&f(),X:Je({},u),U:Je({},h)},O=window.addEventListener,y=qd(g=>i(g?"z":"r"),{v:33,g:99});if(gn(e,"style"),mn(e),O("resize",y.bind(0,!1)),!l&&(!c.x||!c.y)){let g;O("resize",()=>{const m=Qs()[tp];g=g||m&&m.R(),g&&g(p,s,y.bind(0,!0))})}return p},wr=()=>(rp||(rp=$k()),rp),np=(t,e)=>tn(e)?e.apply(0,t):e,_k=(t,e,r,n)=>{const i=Ln(n)?r:n;return np(t,i)||e.apply(0,t)},Ev=(t,e,r,n)=>{const i=Ln(n)?r:n,s=np(t,i);return!!s&&(Ic(s)?s:e.apply(0,t))},Pk=(t,e,r)=>{const{nativeScrollbarsOverlaid:n,body:i}=r||{},{A:s,I:o}=wr(),{nativeScrollbarsOverlaid:a,body:l}=e,c=n!=null?n:a,u=Ln(i)?l:i,h=(s.x||s.y)&&c,f=t&&(Dc(u)?!o:u);return!!h||!!f},ip=new WeakMap,Ck=(t,e)=>{ip.set(t,e)},kk=t=>{ip.delete(t)},Av=t=>ip.get(t),Rv=(t,e)=>t?e.split(".").reduce((r,n)=>r&&Vc(r,n)?r[n]:void 0,t):void 0,sp=(t,e,r)=>n=>[Rv(t,n),r||Rv(e,n)!==void 0],Mv=t=>{let e=t;return[()=>e,r=>{e=Je({},e,r)}]},Kc="tabindex",Jc=bs.bind(0,""),op=t=>{Br(zn(t),Vd(t)),mn(t)},Ek=t=>{const e=wr(),{N:r,I:n}=e,i=Qs()[tp],s=i&&i.T,{elements:o}=r(),{host:a,padding:l,viewport:c,content:u}=o,h=Ic(t),f=h?{}:t,{elements:d}=f,{host:p,padding:O,viewport:y,content:g}=d||{},m=h?t:f.target,v=zc(m,"textarea"),b=m.ownerDocument,x=b.documentElement,w=m===b.body,$=b.defaultView,T=_k.bind(0,[m]),C=Ev.bind(0,[m]),A=np.bind(0,[m]),_=T.bind(0,Jc,c),P=C.bind(0,Jc,u),k=_(y),E=k===m,N=E&&w,D=!E&&P(g),X=!E&&Ic(k)&&k===D,B=X&&!!A(u),G=B?_():k,J=B?D:P(),re=N?x:X?G:k,ce=v?T(Jc,a,p):m,de=N?re:ce,ye=X?J:D,je=b.activeElement,ve=!E&&$.top===$&&je===m,ge={W:m,Z:de,J:re,K:!E&&C(Jc,l,O),tt:ye,nt:!E&&!n&&s&&s(e),ot:N?x:re,st:N?b:re,et:$,ct:b,rt:v,it:w,lt:h,ut:E,dt:X,ft:(q,U)=>E?I5(re,Wn,U):G5(re,q),_t:(q,U,ee)=>E?ev(re,Wn,U,ee):(ee?yr:go)(re,q)},Qe=kr(ge).reduce((q,U)=>{const ee=ge[U];return Be(q,ee&&!zn(ee)?ee:!1)},[]),De=q=>q?Dd(Qe,q)>-1:null,{W:Xe,Z:Ze,K:S,J:Q,tt:M,nt:I}=ge,L=[()=>{gn(Ze,Wn),gn(Ze,Yd),gn(Xe,Yd),w&&(gn(x,Wn),gn(x,Yd))}],F=v&&De(Ze);let H=v?Xe:Vd([M,Q,S,Ze,Xe].find(q=>De(q)===!1));const Z=N?Xe:M||Q;return[ge,()=>{Er(Ze,Wn,E?"viewport":"host");const q=yr(S,sk),U=yr(Q,!E&&Hc),ee=yr(M,ok),ne=w&&!E?yr(zn(m),Yc):Ur;if(F&&(rv(Xe,Ze),Be(L,()=>{rv(Ze,Xe),mn(Ze)})),Br(Z,H),Br(Ze,S),Br(S||Ze,!E&&Q),Br(Q,M),Be(L,()=>{ne(),gn(Q,Sv),gn(Q,bv),De(M)&&op(M),De(Q)&&op(Q),De(S)&&op(S),q(),U(),ee()}),n&&!E&&Be(L,go.bind(0,Q,Yc)),I&&(z5(Q,I),Be(L,mn.bind(0,I))),ve){const ie=Er(Q,Kc);Er(Q,Kc,"-1"),Q.focus();const le=()=>ie?Er(Q,Kc,ie):gn(Q,Kc),ue=vt(b,"pointerdown keydown",()=>{le(),ue()});Be(L,[le,ue])}else je&&je.focus&&je.focus();H=0},On.bind(0,L)]},Ak=(t,e)=>{const{tt:r}=t,[n]=e;return i=>{const{V:s}=wr(),{ht:o}=n(),{vt:a}=i,l=(r||!s)&&a;return l&&Xt(r,{height:o?"":"100%"}),{gt:l,wt:l}}},Rk=(t,e)=>{const[r,n]=e,{Z:i,K:s,J:o,ut:a}=t,[l,c]=en({u:Z5,o:hv()},hv.bind(0,i,"padding",""));return(u,h,f)=>{let[d,p]=c(f);const{I:O,V:y}=wr(),{bt:g}=r(),{gt:m,wt:v,yt:b}=u,[x,w]=h("paddingAbsolute");(m||p||!y&&v)&&([d,p]=l(f));const $=!a&&(w||b||p);if($){const T=!x||!s&&!O,C=d.r+d.l,A=d.t+d.b,_={marginRight:T&&!g?-C:0,marginBottom:T?-A:0,marginLeft:T&&g?-C:0,top:T?-d.t:0,right:T?g?-d.r:"auto":0,left:T?g?"auto":-d.l:0,width:T?`calc(100% + ${C}px)`:""},P={paddingTop:T?d.t:0,paddingRight:T?d.r:0,paddingBottom:T?d.b:0,paddingLeft:T?d.l:0};Xt(s||o,_),Xt(o,P),n({K:d,St:!T,P:s?P:Je({},_,P)})}return{xt:$}}},{max:ap}=Math,bi=ap.bind(0,0),jv="visible",Dv="hidden",Mk=42,eu={u:av,o:{w:0,h:0}},jk={u:lv,o:{x:Dv,y:Dv}},Dk=(t,e)=>{const r=window.devicePixelRatio%1!==0?1:0,n={w:bi(t.w-e.w),h:bi(t.h-e.h)};return{w:n.w>r?n.w:0,h:n.h>r?n.h:0}},Nv=(t,e,r)=>r?yr(t,e):go(t,e),tu=t=>t.indexOf(jv)===0,Nk=(t,e)=>{const[r,n]=e,{Z:i,K:s,J:o,nt:a,ut:l,_t:c,it:u,et:h}=t,{k:f,V:d,I:p,A:O}=wr(),y=Qs()[tp],g=!l&&!p&&(O.x||O.y),m=u&&l,[v,b]=en(eu,Zc.bind(0,o)),[x,w]=en(eu,qc.bind(0,o)),[$,T]=en(eu),[C,A]=en(eu),[_]=en(jk),P=(B,G)=>{if(Xt(o,{height:""}),G){const{St:J,K:re}=r(),{$t:ce,M:de}=B,ye=Zc(i),je=Xc(i),ve=Xt(o,"boxSizing")==="content-box",ge=J||ve?re.b+re.t:0,Qe=!(O.x&&ve);Xt(o,{height:je.h+ye.h+(ce.x&&Qe?de.x:0)-ge})}},k=(B,G)=>{const J=!p&&!B?Mk:0,re=(Xe,Ze,S)=>{const Q=Xt(o,Xe),M=(G?G[Xe]:Q)==="scroll";return[Q,M,M&&!p?Ze?J:S:0,Ze&&!!J]},[ce,de,ye,je]=re("overflowX",O.x,f.x),[ve,ge,Qe,De]=re("overflowY",O.y,f.y);return{Ct:{x:ce,y:ve},$t:{x:de,y:ge},M:{x:ye,y:Qe},D:{x:je,y:De}}},E=(B,G,J,re)=>{const ce=(ge,Qe)=>{const De=tu(ge),Xe=Qe&&De&&ge.replace(`${jv}-`,"")||"";return[Qe&&!De?ge:"",tu(Xe)?"hidden":Xe]},[de,ye]=ce(J.x,G.x),[je,ve]=ce(J.y,G.y);return re.overflowX=ye&&je?ye:de,re.overflowY=ve&&de?ve:je,k(B,re)},N=(B,G,J,re)=>{const{M:ce,D:de}=B,{x:ye,y:je}=de,{x:ve,y:ge}=ce,{P:Qe}=r(),De=G?"marginLeft":"marginRight",Xe=G?"paddingLeft":"paddingRight",Ze=Qe[De],S=Qe.marginBottom,Q=Qe[Xe],M=Qe.paddingBottom;re.width=`calc(100% + ${ge+-1*Ze}px)`,re[De]=-ge+Ze,re.marginBottom=-ve+S,J&&(re[Xe]=Q+(je?ge:0),re.paddingBottom=M+(ye?ve:0))},[D,X]=y?y.H(g,d,o,a,r,k,N):[()=>g,()=>[Ur]];return(B,G,J)=>{const{gt:re,Ot:ce,wt:de,xt:ye,vt:je,yt:ve}=B,{ht:ge,bt:Qe}=r(),[De,Xe]=G("showNativeOverlaidScrollbars"),[Ze,S]=G("overflow"),Q=De&&O.x&&O.y,M=!l&&!d&&(re||de||ce||Xe||je),I=tu(Ze.x),L=tu(Ze.y),F=I||L;let H=b(J),Z=w(J),q=T(J),U=A(J),ee;if(Xe&&p&&c(Yc,ik,!Q),M&&(ee=k(Q),P(ee,ge)),re||ye||de||ve||Xe){F&&c(mo,Xa,!1);const[nt,mt]=X(Q,Qe,ee),[fr,xl]=H=v(J),[ti,UL]=Z=x(J),Jg=Xc(o);let em=ti,tm=Jg;nt(),(UL||xl||Xe)&&mt&&!Q&&D(mt,ti,fr,Qe)&&(tm=Xc(o),em=qc(o));const XL={w:bi(ap(ti.w,em.w)+fr.w),h:bi(ap(ti.h,em.h)+fr.h)},xQ={w:bi((m?h.innerWidth:tm.w+bi(Jg.w-ti.w))+fr.w),h:bi((m?h.innerHeight+fr.h:tm.h+bi(Jg.h-ti.h))+fr.h)};U=C(xQ),q=$(Dk(XL,xQ),J)}const[ne,ie]=U,[le,ue]=q,[Ne,Ae]=Z,[Ye,hr]=H,Vt={x:le.w>0,y:le.h>0},Xs=I&&L&&(Vt.x||Vt.y)||I&&Vt.x&&!Vt.y||L&&Vt.y&&!Vt.x;if(ye||ve||hr||Ae||ie||ue||S||Xe||M){const nt={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},mt=E(Q,Vt,Ze,nt),fr=D(mt,Ne,Ye,Qe);l||N(mt,Qe,fr,nt),M&&P(mt,ge),l?(Er(i,Sv,nt.overflowX),Er(i,bv,nt.overflowY)):Xt(o,nt)}ev(i,Wn,Xa,Xs),Nv(s,mo,Xs),!l&&Nv(o,mo,F);const[ei,aa]=_(k(Q).Ct);return n({Ct:ei,zt:{x:ne.w,y:ne.h},Tt:{x:le.w,y:le.h},Et:Vt}),{It:aa,At:ie,Lt:ue}}},Iv=(t,e,r)=>{const n={},i=e||{},s=kr(t).concat(kr(i));return Ee(s,o=>{const a=t[o],l=i[o];n[o]=!!(r||a||l)}),n},Ik=(t,e)=>{const{W:r,J:n,_t:i,ut:s}=t,{I:o,A:a,V:l}=wr(),c=!o&&(a.x||a.y),u=[Ak(t,e),Rk(t,e),Nk(t,e)];return(h,f,d)=>{const p=Iv(Je({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},f),{},d),O=c||!l,y=O&&nn(n),g=O&&Vn(n);i("",Gc,!0);let m=p;return Ee(u,v=>{m=Iv(m,v(m,h,!!d)||{},d)}),nn(n,y),Vn(n,g),i("",Gc),s||(nn(r,0),Vn(r,0)),m}},Lk=(t,e,r)=>{let n,i=!1;const s=()=>{i=!0},o=a=>{if(r){const l=r.reduce((c,u)=>{if(u){const[h,f]=u,d=f&&h&&(a?a(h):tv(h,t));d&&d.length&&f&&wi(f)&&Be(c,[d,f.trim()],!0)}return c},[]);Ee(l,c=>Ee(c[0],u=>{const h=c[1],f=n.get(u)||[];if(t.contains(u)){const d=vt(u,h,p=>{i?(d(),n.delete(u)):e(p)});n.set(u,Be(f,d))}else On(f),n.delete(u)}))}};return r&&(n=new WeakMap,o()),[s,o]},Lv=(t,e,r,n)=>{let i=!1;const{Ht:s,Pt:o,Mt:a,Dt:l,Rt:c,kt:u}=n||{},h=qd(()=>{i&&r(!0)},{v:33,g:99}),[f,d]=Lk(t,h,a),p=s||[],O=o||[],y=p.concat(O),g=(v,b)=>{const x=c||Ur,w=u||Ur,$=new Set,T=new Set;let C=!1,A=!1;if(Ee(v,_=>{const{attributeName:P,target:k,type:E,oldValue:N,addedNodes:D,removedNodes:X}=_,B=E==="attributes",G=E==="childList",J=t===k,re=B&&wi(P)?Er(k,P):0,ce=re!==0&&N!==re,de=Dd(O,P)>-1&&ce;if(e&&(G||!J)){const ye=!B,je=B&&ce,ve=je&&l&&zc(k,l),ge=(ve?!x(k,P,N,re):ye||je)&&!w(_,!!ve,t,n);Ee(D,Qe=>$.add(Qe)),Ee(X,Qe=>$.add(Qe)),A=A||ge}!e&&J&&ce&&!x(k,P,N,re)&&(T.add(P),C=C||de)}),$.size>0&&d(_=>Ss($).reduce((P,k)=>(Be(P,tv(_,k)),zc(k,_)?Be(P,k):P),[])),e)return!b&&A&&r(!1),[!1];if(T.size>0||C){const _=[Ss(T),C];return!b&&r.apply(0,_),_}},m=new q5(v=>g(v));return m.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:y,subtree:e,childList:e,characterData:e}),i=!0,[()=>{i&&(f(),m.disconnect(),i=!1)},()=>{if(i){h.m();const v=m.takeRecords();return!Nd(v)&&g(v,!0)}}]},ru=3333333,nu=t=>t&&(t.height||t.width),Vv=(t,e,r)=>{const{Bt:n=!1,Vt:i=!1}=r||{},s=Qs()[Sk],{B:o}=wr(),a=nv(`
`)[0],l=a.firstChild,c=Ua.bind(0,t),[u]=en({o:void 0,_:!0,u:(p,O)=>!(!p||!nu(p)&&nu(O))}),h=p=>{const O=rn(p)&&p.length>0&&Wa(p[0]),y=!O&&Md(p[0]);let g=!1,m=!1,v=!0;if(O){const[b,,x]=u(p.pop().contentRect),w=nu(b),$=nu(x);g=!x||!w,m=!$&&w,v=!g}else y?[,v]=p:m=p===!0;if(n&&v){const b=y?p[0]:Ua(a);nn(a,b?o.n?-ru:o.i?0:ru:ru),Vn(a,ru)}g||e({gt:!y,Yt:y?p:void 0,Vt:!!m})},f=[];let d=i?h:!1;return[()=>{On(f),mn(a)},()=>{if(po){const p=new po(h);p.observe(l),Be(f,()=>{p.disconnect()})}else if(s){const[p,O]=s.O(l,h,i);d=p,Be(f,O)}if(n){const[p]=en({o:void 0},c);Be(f,vt(a,"scroll",O=>{const y=p(),[g,m,v]=y;m&&(go(l,"ltr rtl"),g?yr(l,"rtl"):yr(l,"ltr"),h([!!g,m,v])),pv(O)}))}d&&(yr(a,ak),Be(f,vt(a,"animationstart",d,{C:!!po}))),(po||s)&&Br(t,a)}]},Vk=t=>t.h===0||t.isIntersecting||t.intersectionRatio>0,zk=(t,e)=>{let r;const n=bs(ck),i=[],[s]=en({o:!1}),o=(l,c)=>{if(l){const u=s(Vk(l)),[,h]=u;if(h)return!c&&e(u),[u]}},a=(l,c)=>{if(l&&l.length>0)return o(l.pop(),c)};return[()=>{On(i),mn(n)},()=>{if(iv)r=new iv(l=>a(l),{root:t}),r.observe(n),Be(i,()=>{r.disconnect()});else{const l=()=>{const h=Ts(n);o(h)},[c,u]=Vv(n,l);Be(i,c),u(),l()}Br(t,n)},()=>{if(r)return a(r.takeRecords(),!0)}]},zv=`[${Wn}]`,Wk=`.${Hc}`,lp=["tabindex"],Wv=["wrap","cols","rows"],cp=["id","class","style","open"],Bk=(t,e,r)=>{let n,i,s;const{Z:o,J:a,tt:l,rt:c,ut:u,ft:h,_t:f}=t,{V:d}=wr(),[p]=en({u:av,o:{w:0,h:0}},()=>{const E=h(mo,Xa),N=h(Kd,""),D=N&&nn(a),X=N&&Vn(a);f(mo,Xa),f(Kd,""),f("",Gc,!0);const B=qc(l),G=qc(a),J=Zc(a);return f(mo,Xa,E),f(Kd,"",N),f("",Gc),nn(a,D),Vn(a,X),{w:G.w+B.w+J.w,h:G.h+B.h+J.h}}),O=c?Wv:cp.concat(Wv),y=qd(r,{v:()=>n,g:()=>i,p(E,N){const[D]=E,[X]=N;return[kr(D).concat(kr(X)).reduce((B,G)=>(B[G]=D[G]||X[G],B),{})]}}),g=E=>{Ee(E||lp,N=>{if(Dd(lp,N)>-1){const D=Er(o,N);wi(D)?Er(a,N,D):gn(a,N)}})},m=(E,N)=>{const[D,X]=E,B={vt:X};return e({ht:D}),!N&&r(B),B},v=({gt:E,Yt:N,Vt:D})=>{const X=!E||D?r:y;let B=!1;if(N){const[G,J]=N;B=J,e({bt:G})}X({gt:E,yt:B})},b=(E,N)=>{const[,D]=p(),X={wt:D};return D&&!N&&(E?r:y)(X),X},x=(E,N,D)=>{const X={Ot:N};return N?!D&&y(X):u||g(E),X},[w,$,T]=l||!d?zk(o,m):[Ur,Ur,Ur],[C,A]=u?[Ur,Ur]:Vv(o,v,{Vt:!0,Bt:!0}),[_,P]=Lv(o,!1,x,{Pt:cp,Ht:cp.concat(lp)}),k=u&&po&&new po(v.bind(0,{gt:!0}));return k&&k.observe(o),g(),[()=>{w(),C(),s&&s[0](),k&&k.disconnect(),_()},()=>{A(),$()},()=>{const E={},N=P(),D=T(),X=s&&s[1]();return N&&Je(E,x.apply(0,Be(N,!0))),D&&Je(E,m.apply(0,Be(D,!0))),X&&Je(E,b.apply(0,Be(X,!0))),E},E=>{const[N]=E("update.ignoreMutation"),[D,X]=E("update.attributes"),[B,G]=E("update.elementEvents"),[J,re]=E("update.debounce"),ce=G||X,de=ye=>tn(N)&&N(ye);if(ce&&(s&&(s[1](),s[0]()),s=Lv(l||a,!0,b,{Ht:O.concat(D||[]),Mt:B,Dt:zv,kt:(ye,je)=>{const{target:ve,attributeName:ge}=ye;return(!je&&ge&&!u?V5(ve,zv,Wk):!1)||!!fo(ve,`.${vr}`)||!!de(ye)}})),re)if(y.m(),rn(J)){const ye=J[0],je=J[1];n=vi(ye)&&ye,i=vi(je)&&je}else vi(J)?(n=J,i=!1):(n=!1,i=!1)}]},Bv={x:0,y:0},Uk=t=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Bv,Tt:Bv,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:Ua(t.Z)}),Xk=(t,e)=>{const r=sp(e,{}),[n,i,s]=Hd(),[o,a,l]=Ek(t),c=Mv(Uk(o)),[u,h]=c,f=Ik(o,c),d=(v,b,x)=>{const w=kr(v).some($=>v[$])||!Id(b)||x;return w&&s("u",[v,b,x]),w},[p,O,y,g]=Bk(o,h,v=>d(f(r,v),{},!1)),m=u.bind(0);return m.jt=v=>n("u",v),m.Nt=()=>{const{W:v,J:b}=o,x=nn(v),w=Vn(v);O(),a(),nn(b,x),Vn(b,w)},m.qt=o,[(v,b)=>{const x=sp(e,v,b);return g(x),d(f(x,y(),b),v,!!b)},m,()=>{i(),p(),l()}]},{round:Uv}=Math,qk=t=>{const{width:e,height:r}=Si(t),{w:n,h:i}=Ts(t);return{x:Uv(e)/n||1,y:Uv(r)/i||1}},Zk=(t,e,r)=>{const n=e.scrollbars,{button:i,isPrimary:s,pointerType:o}=t,{pointers:a}=n;return i===0&&s&&n[r?"dragScroll":"clickScroll"]&&(a||[]).includes(o)},Fk=(t,e)=>vt(t,"mousedown",vt.bind(0,e,"click",pv,{C:!0,$:!0}),{$:!0}),Xv="pointerup pointerleave pointercancel lostpointercapture",Gk=(t,e,r,n,i,s)=>{const{B:o}=wr(),{Ft:a,Gt:l,Xt:c}=r,u=`scroll${s?"Left":"Top"}`,h=`client${s?"X":"Y"}`,f=s?"width":"height",d=s?"left":"top",p=s?"w":"h",O=s?"x":"y",y=(g,m)=>v=>{const{Tt:b}=i(),x=Ts(l)[p]-Ts(a)[p],w=m*v/x*b[O],$=Ua(c)&&s?o.n||o.i?1:-1:1;n[u]=g+w*$};return vt(l,"pointerdown",g=>{const m=fo(g.target,`.${ep}`)===a,v=m?a:l;if(Zk(g,t,m)){const b=!m&&g.shiftKey,x=()=>Si(a),w=()=>Si(l),$=(B,G)=>(B||x())[d]-(G||w())[d],T=y(n[u]||0,1/qk(n)[O]),C=g[h],A=x(),_=w(),P=A[f],k=$(A,_)+P/2,E=C-_[d],N=m?0:E-k,D=B=>{On(X),v.releasePointerCapture(B.pointerId)},X=[vt(e,Xv,D),vt(e,"selectstart",B=>Ov(B),{S:!1}),vt(l,Xv,D),vt(l,"pointermove",B=>{const G=B[h]-C;(m||b)&&T(N+G)})];if(b)T(N);else if(!m){const B=Qs()[bk];B&&Be(X,B.O(T,$,N,P,E))}v.setPointerCapture(g.pointerId)}})},Hk=(t,e)=>(r,n,i,s,o,a)=>{const{Xt:l}=r,[c,u]=Oo(333),h=!!o.scrollBy;let f=!0;return On.bind(0,[vt(l,"pointerenter",()=>{n(xv,!0)}),vt(l,"pointerleave pointercancel",()=>{n(xv)}),vt(l,"wheel",d=>{const{deltaX:p,deltaY:O,deltaMode:y}=d;h&&f&&y===0&&zn(l)===s&&o.scrollBy({left:p,top:O,behavior:"smooth"}),f=!1,n(Pv,!0),c(()=>{f=!0,n(Pv)}),Ov(d)},{S:!1,$:!0}),Fk(l,i),Gk(t,i,r,o,e,a),u])},{min:up,max:qv,abs:Yk,round:Kk}=Math,Zv=(t,e,r,n)=>{if(n){const a=r?"x":"y",{Tt:l,zt:c}=n,u=c[a],h=l[a];return qv(0,up(1,u/(u+h)))}const i=r?"w":"h",s=Ts(t)[i],o=Ts(e)[i];return qv(0,up(1,s/o))},Jk=(t,e,r,n,i,s)=>{const{B:o}=wr(),a=s?"x":"y",l=s?"Left":"Top",{Tt:c}=n,u=Kk(c[a]),h=Yk(r[`scroll${l}`]),f=s&&i,d=o.i?h:u-h,p=up(1,(f?d:h)/u),O=Zv(t,e,s);return 1/O*(1-O)*p},eE=(t,e,r)=>{const{N:n,L:i}=wr(),{scrollbars:s}=n(),{slot:o}=s,{ct:a,W:l,Z:c,J:u,lt:h,ot:f,it:d,ut:p}=e,{scrollbars:O}=h?{}:t,{slot:y}=O||{},g=Ev([l,c,u],()=>p&&d?l:c,o,y),m=(D,X,B)=>{const G=B?yr:go;Ee(D,J=>{G(J.Xt,X)})},v=(D,X)=>{Ee(D,B=>{const[G,J]=X(B);Xt(G,J)})},b=(D,X,B)=>{v(D,G=>{const{Ft:J,Gt:re}=G;return[J,{[B?"width":"height"]:`${(100*Zv(J,re,B,X)).toFixed(3)}%`}]})},x=(D,X,B)=>{const G=B?"X":"Y";v(D,J=>{const{Ft:re,Gt:ce,Xt:de}=J,ye=Jk(re,ce,f,X,Ua(de),B);return[re,{transform:ye===ye?`translate${G}(${(100*ye).toFixed(3)}%)`:""}]})},w=[],$=[],T=[],C=(D,X,B)=>{const G=Md(B),J=G?B:!0,re=G?!B:!0;J&&m($,D,X),re&&m(T,D,X)},A=D=>{b($,D,!0),b(T,D)},_=D=>{x($,D,!0),x(T,D)},P=D=>{const X=D?dk:pk,B=D?$:T,G=Nd(B)?Qv:"",J=bs(`${vr} ${X} ${G}`),re=bs(Tv),ce=bs(ep),de={Xt:J,Gt:re,Ft:ce};return i||yr(J,uk),Br(J,re),Br(re,ce),Be(B,de),Be(w,[mn.bind(0,J),r(de,C,a,c,f,D)]),de},k=P.bind(0,!0),E=P.bind(0,!1),N=()=>{Br(g,$[0].Xt),Br(g,T[0].Xt),Wc(()=>{C(Qv)},300)};return k(),E(),[{Ut:A,Wt:_,Zt:C,Jt:{Kt:$,Qt:k,tn:v.bind(0,$)},nn:{Kt:T,Qt:E,tn:v.bind(0,T)}},N,On.bind(0,w)]},tE=(t,e,r,n)=>{let i,s,o,a,l,c=0;const u=Mv({}),[h]=u,[f,d]=Oo(),[p,O]=Oo(),[y,g]=Oo(100),[m,v]=Oo(100),[b,x]=Oo(()=>c),[w,$,T]=eE(t,r.qt,Hk(e,r)),{Z:C,J:A,ot:_,st:P,ut:k,it:E}=r.qt,{Jt:N,nn:D,Zt:X,Ut:B,Wt:G}=w,{tn:J}=N,{tn:re}=D,ce=ge=>{const{Xt:Qe}=ge,De=k&&!E&&zn(Qe)===A&&Qe;return[De,{transform:De?`translate(${nn(_)}px, ${Vn(_)}px)`:""}]},de=(ge,Qe)=>{if(x(),ge)X(_v);else{const De=()=>X(_v,!0);c>0&&!Qe?b(De):De()}},ye=()=>{a=s,a&&de(!0)},je=[g,x,v,O,d,T,vt(C,"pointerover",ye,{C:!0}),vt(C,"pointerenter",ye),vt(C,"pointerleave",()=>{a=!1,s&&de(!1)}),vt(C,"pointermove",()=>{i&&f(()=>{g(),de(!0),m(()=>{i&&de(!1)})})}),vt(P,"scroll",ge=>{p(()=>{G(r()),o&&de(!0),y(()=>{o&&!a&&de(!1)})}),n(ge),k&&J(ce),k&&re(ce)})],ve=h.bind(0);return ve.qt=w,ve.Nt=$,[(ge,Qe,De)=>{const{At:Xe,Lt:Ze,It:S,yt:Q}=De,{A:M}=wr(),I=sp(e,ge,Qe),L=r(),{Tt:F,Ct:H,bt:Z}=L,[q,U]=I("showNativeOverlaidScrollbars"),[ee,ne]=I("scrollbars.theme"),[ie,le]=I("scrollbars.visibility"),[ue,Ne]=I("scrollbars.autoHide"),[Ae]=I("scrollbars.autoHideDelay"),[Ye,hr]=I("scrollbars.dragScroll"),[Vt,Xs]=I("scrollbars.clickScroll"),ei=Xe||Ze||Q,aa=S||le,nt=q&&M.x&&M.y,mt=(fr,xl)=>{const ti=ie==="visible"||ie==="auto"&&fr==="scroll";return X(Ok,ti,xl),ti};if(c=Ae,U&&X(hk,nt),ne&&(X(l),X(ee,!0),l=ee),Ne&&(i=ue==="move",s=ue==="leave",o=ue!=="never",de(!o,!0)),hr&&X(yk,Ye),Xs&&X(mk,Vt),aa){const fr=mt(H.x,!0),xl=mt(H.y,!1);X(gk,!(fr&&xl))}ei&&(B(L),G(L),X($v,!F.x,!0),X($v,!F.y,!1),X(fk,Z&&!E))},ve,On.bind(0,je)]},Fv=(t,e,r)=>{tn(t)&&t(e||void 0,r||void 0)},Ti=(t,e,r)=>{const{F:n,N:i,Y:s,j:o}=wr(),a=Qs(),l=Ic(t),c=l?t:t.target,u=Av(c);if(e&&!u){let h=!1;const f=k=>{const E=Qs()[wk],N=E&&E.O;return N?N(k,!0):k},d=Je({},n(),f(e)),[p,O,y]=Hd(r),[g,m,v]=Xk(t,d),[b,x,w]=tE(t,d,m,k=>y("scroll",[P,k])),$=(k,E)=>g(k,!!E),T=$.bind(0,{},!0),C=s(T),A=o(T),_=k=>{kk(c),C(),A(),w(),v(),h=!0,y("destroyed",[P,!!k]),O()},P={options(k,E){if(k){const N=E?n():{},D=yv(d,Je(N,f(k)));Id(D)||(Je(d,D),$(D))}return Je({},d)},on:p,off:(k,E)=>{k&&E&&O(k,E)},state(){const{zt:k,Tt:E,Ct:N,Et:D,K:X,St:B,bt:G}=m();return Je({},{overflowEdge:k,overflowAmount:E,overflowStyle:N,hasOverflow:D,padding:X,paddingAbsolute:B,directionRTL:G,destroyed:h})},elements(){const{W:k,Z:E,K:N,J:D,tt:X,ot:B,st:G}=m.qt,{Jt:J,nn:re}=x.qt,ce=ye=>{const{Ft:je,Gt:ve,Xt:ge}=ye;return{scrollbar:ge,track:ve,handle:je}},de=ye=>{const{Kt:je,Qt:ve}=ye,ge=ce(je[0]);return Je({},ge,{clone:()=>{const Qe=ce(ve());return b({},!0,{}),Qe}})};return Je({},{target:k,host:E,padding:N||D,viewport:D,content:X||D,scrollOffsetElement:B,scrollEventElement:G,scrollbarHorizontal:de(J),scrollbarVertical:de(re)})},update:k=>$({},k),destroy:_.bind(0)};return m.jt((k,E,N)=>{b(E,N,k)}),Ck(c,P),Ee(kr(a),k=>Fv(a[k],0,P)),Pk(m.qt.it,i().cancel,!l&&t.cancel)?(_(!0),P):(m.Nt(),x.Nt(),y("initialized",[P]),m.jt((k,E,N)=>{const{gt:D,yt:X,vt:B,At:G,Lt:J,It:re,wt:ce,Ot:de}=k;y("updated",[P,{updateHints:{sizeChanged:D,directionChanged:X,heightIntrinsicChanged:B,overflowEdgeChanged:G,overflowAmountChanged:J,overflowStyleChanged:re,contentMutation:ce,hostMutation:de},changedOptions:E,force:N}])}),P.update(!0),P)}return u};Ti.plugin=t=>{Ee(vk(t),e=>Fv(e,Ti))},Ti.valid=t=>{const e=t&&t.elements,r=tn(e)&&e();return jd(r)&&!!Av(r.target)},Ti.env=()=>{const{k:t,A:e,I:r,B:n,V:i,L:s,X:o,U:a,N:l,q:c,F:u,G:h}=wr();return Je({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:r,rtlScrollBehavior:n,flexboxGlue:i,cssCustomProperties:s,staticDefaultInitialization:o,staticDefaultOptions:a,getDefaultInitialization:l,setDefaultInitialization:c,getDefaultOptions:u,setDefaultOptions:h})};const rE=()=>{if(typeof window>"u"){const c=()=>{};return[c,c]}let t,e;const r=window,n=typeof r.requestIdleCallback=="function",i=r.requestAnimationFrame,s=r.cancelAnimationFrame,o=n?r.requestIdleCallback:i,a=n?r.cancelIdleCallback:s,l=()=>{a(t),s(e)};return[(c,u)=>{l(),t=o(n?()=>{l(),e=i(c)}:c,typeof u=="object"?u:{timeout:2233})},l]},nE=t=>{let e=null,r,n,i;const s=ff(t||{}),[o,a]=rE();return ut(()=>{var l;return V((l=s.value)==null?void 0:l.defer)},l=>{i=l},{deep:!0,immediate:!0}),ut(()=>{var l;return V((l=s.value)==null?void 0:l.options)},l=>{r=l,Ti.valid(e)&&e.options(r||{},!0)},{deep:!0,immediate:!0}),ut(()=>{var l;return V((l=s.value)==null?void 0:l.events)},l=>{n=l,Ti.valid(e)&&e.on(n||{},!0)},{deep:!0,immediate:!0}),wa(()=>{a(),e==null||e.destroy()}),[l=>{if(Ti.valid(e))return e;const c=()=>e=Ti(l,r||{},n||{});i?o(c,i):c()},()=>e]},iE={key:0,class:"modal-header group"},sE={class:"modal-header-title"},oE={key:0,class:"modal-header-center"},aE={class:"modal-header-actions"},lE={key:1,class:"modal-footer"};var cE=it({__name:"Modal",props:{visible:{type:Boolean,default:!1},title:{default:void 0},width:{default:500},height:{default:void 0},fullscreen:{type:Boolean,default:!1},bodyClass:{default:void 0},mountToBody:{type:Boolean,default:!1},centered:{type:Boolean,default:!0},layerClosable:{type:Boolean,default:!1}},emits:["update:visible","close"],setup(t,{emit:e}){const r=t,n=fe(!1),i=fe(),s=ot(()=>({"modal-wrapper-fullscreen":r.fullscreen,"modal-wrapper-centered":r.centered})),o=ot(()=>({maxWidth:r.width+"px",height:r.height}));function a(){e("update:visible",!1),e("close")}const l=fe(!1);function c(){if(r.layerClosable){a();return}l.value=!0,setTimeout(()=>{l.value=!1},300)}ut(()=>r.visible,()=>{r.visible&&da(()=>{var p;(p=i.value)==null||p.focus()})});const u=fe(null),h=hn({options:{scrollbars:{autoHide:"scroll",autoHideDelay:600}},defer:!0}),[f,d]=nE(h);return ut(()=>r.visible,p=>{var O;p?u.value&&f({target:u.value}):(O=d())==null||O.destroy()}),(p,O)=>(W(),$e(C1,{disabled:!t.mountToBody,to:"body"},[ir(j("div",{ref_key:"modelWrapper",ref:i,class:qe([V(s),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:O[4]||(O[4]=yi(Kf(y=>a(),["stop"]),["esc"]))},[se(Oi,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onBeforeEnter:O[1]||(O[1]=y=>n.value=!0),onAfterLeave:O[2]||(O[2]=y=>n.value=!1)},{default:We(()=>[ir(j("div",{class:"modal-layer",onClick:O[0]||(O[0]=Kf(y=>c(),["stop"]))},null,512),[[ps,t.visible]])]),_:1}),se(Oi,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:We(()=>[ir(j("div",{style:Ct(V(o)),class:qe(["modal-content transform transition-all duration-300",{"modal-focus":l.value}])},[p.$slots.header||t.title?(W(),K("div",iE,[ht(p.$slots,"header",{},()=>[j("div",sE,Te(t.title),1),p.$slots.center?(W(),K("div",oE,[ht(p.$slots,"center")])):ke("",!0),j("div",aE,[ht(p.$slots,"actions"),j("span",{class:"bg-gray-50",onClick:O[3]||(O[3]=y=>a())},[se(V(O5))])])])])):ke("",!0),j("div",{ref_key:"modalBody",ref:u,class:qe([t.bodyClass,"modal-body"])},[ht(p.$slots,"default")],2),p.$slots.footer?(W(),K("div",lE,[ht(p.$slots,"footer")])):ke("",!0)],6),[[ps,t.visible]])]),_:3})],34),[[ps,n.value]])],8,["disabled"]))}});const uE={xs:10,sm:12,md:16,lg:20};var Gv=it({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(t){const e=t,r=ot(()=>{const{direction:n,align:i}=e;return[`space-direction-${n}`,`space-align-${i}`]});return(n,i)=>(W(),K("div",{class:qe([V(r),"space-wrapper"]),style:Ct(`gap: ${V(uE)[t.spacing]}px`)},[ht(n.$slots,"default")],6))}});const hE={key:0,class:"tag-left-icon"},fE={class:"tag-content"},dE={key:1,class:"tag-right-icon"};var pE=it({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(t){const e=t,r=ot(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(n,i)=>(W(),K("div",{class:qe([V(r),"tag-wrapper"]),style:Ct(t.styles)},[n.$slots.leftIcon?(W(),K("div",hE,[ht(n.$slots,"leftIcon")])):ke("",!0),j("span",fE,[ht(n.$slots,"default")]),n.$slots.rightIcon?(W(),K("div",dE,[ht(n.$slots,"rightIcon")])):ke("",!0)],6))}});const OE={class:"bg-white flex items-center justify-between"},gE={class:"flex-1 flex justify-between sm:!hidden items-center"},mE={class:"text-sm text-gray-500"},yE={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},vE={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},wE=["disabled"],SE=["disabled"],bE={class:"inline-flex items-center gap-2"},TE=["disabled"],QE={key:0,value:0},xE=["value"],$E={class:"text-sm text-gray-500"},_E={class:"inline-flex items-center gap-2"},PE=["value"],CE={class:"text-sm text-gray-500"};var kE=it({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]},pageLabel:{default:"\u9875"},sizeLabel:{default:"\u6761 / \u9875"}},emits:["update:page","update:size","change"],setup(t,{emit:e}){const r=t,n=fe(r.page),i=fe(r.size),s=fe(r.total);ut([()=>r.page,()=>r.size,()=>r.total],()=>{n.value=r.page,i.value=r.size,s.value=r.total});const o=({currentPage:p,currentPageSize:O})=>{e("update:page",p),e("update:size",O),e("change",{page:p,size:O})},{currentPage:a,currentPageSize:l,pageCount:c,isFirstPage:u,isLastPage:h,prev:f,next:d}=YC({total:s,page:n,pageSize:i,onPageChange:o,onPageSizeChange:o});return(p,O)=>(W(),K("div",OE,[j("div",gE,[j("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:O[0]||(O[0]=(...y)=>V(f)&&V(f)(...y))},[se(V(Hy))]),j("span",mE,Te(V(a))+" / "+Te(V(c)),1),j("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:O[1]||(O[1]=(...y)=>V(d)&&V(d)(...y))},[se(V(Yy))])]),j("div",yE,[j("nav",vE,[j("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:V(u),onClick:O[2]||(O[2]=(...y)=>V(f)&&V(f)(...y))},[se(V(Hy))],8,wE),j("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:V(h),onClick:O[3]||(O[3]=(...y)=>V(d)&&V(d)(...y))},[se(V(Yy))],8,SE)]),j("div",bE,[ir(j("select",{"onUpdate:modelValue":O[4]||(O[4]=y=>Ke(a)?a.value=y:null),disabled:V(c)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[V(c)===0?(W(),K("option",QE,"0 / 0")):ke("",!0),(W(!0),K(Ce,null,Hr(V(c),y=>(W(),K("option",{key:y,value:y},Te(y)+" / "+Te(V(c)),9,xE))),128))],8,TE),[[uc,V(a)]]),j("span",$E,Te(t.pageLabel),1)]),j("div",_E,[ir(j("select",{"onUpdate:modelValue":O[5]||(O[5]=y=>Ke(l)?l.value=y:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(W(!0),K(Ce,null,Hr(t.sizeOptions,(y,g)=>(W(),K("option",{key:g,value:y},Te(y),9,PE))),128))],512),[[uc,V(l)]]),j("span",CE,Te(t.sizeLabel),1)])])]))}});class Ve{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,r,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(r,this.length,i,1),yn.from(i,this.length-(r-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,r=this.length){let n=[];return this.decompose(e,r,n,0),yn.from(n,r-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let r=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new qa(this),s=new qa(e);for(let o=r,a=r;;){if(i.next(o),s.next(o),o=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(a+=i.value.length,i.done||a>=n)return!0}}iter(e=1){return new qa(this,e)}iterRange(e,r=this.length){return new Yv(this,e,r)}iterLines(e,r){let n;if(e==null)n=this.iter();else{r==null&&(r=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new Kv(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Ve.empty:e.length<=32?new ft(e):yn.from(ft.split(e,[]))}}class ft extends Ve{constructor(e,r=EE(e)){super(),this.text=e,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(e,r,n,i){for(let s=0;;s++){let o=this.text[s],a=i+o.length;if((r?n:a)>=e)return new AE(i,a,n,o);i=a+1,n++}}decompose(e,r,n,i){let s=e<=0&&r>=this.length?this:new ft(Hv(this.text,e,r),Math.min(r,this.length)-Math.max(0,e));if(i&1){let o=n.pop(),a=iu(s.text,o.text.slice(),0,s.length);if(a.length<=32)n.push(new ft(a,o.length+s.length));else{let l=a.length>>1;n.push(new ft(a.slice(0,l)),new ft(a.slice(l)))}}else n.push(s)}replace(e,r,n){if(!(n instanceof ft))return super.replace(e,r,n);let i=iu(this.text,iu(n.text,Hv(this.text,0,e)),r),s=this.length+n.length-(r-e);return i.length<=32?new ft(i,s):yn.from(ft.split(i,[]),s)}sliceString(e,r=this.length,n=` -`){let i="";for(let s=0,o=0;s<=r&&oe&&o&&(i+=n),es&&(i+=a.slice(Math.max(0,e-s),r-s)),s=l+1}return i}flatten(e){for(let r of this.text)e.push(r)}scanIdentical(){return 0}static split(e,r){let n=[],i=-1;for(let s of e)n.push(s),i+=s.length+1,n.length==32&&(r.push(new ft(n,i)),n=[],i=-1);return i>-1&&r.push(new ft(n,i)),r}}class yn extends Ve{constructor(e,r){super(),this.children=e,this.length=r,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,r,n,i){for(let s=0;;s++){let o=this.children[s],a=i+o.length,l=n+o.lines-1;if((r?l:a)>=e)return o.lineInner(e,r,n,i);i=a+1,n=l+1}}decompose(e,r,n,i){for(let s=0,o=0;o<=r&&s=o){let c=i&((o<=e?1:0)|(l>=r?2:0));o>=e&&l<=r&&!c?n.push(a):a.decompose(e-o,r-o,n,c)}o=l+1}}replace(e,r,n){if(n.lines=s&&r<=a){let l=o.replace(e-s,r-s,n),c=this.lines-o.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[i]=l,new yn(u,this.length-(r-e)+n.length)}return super.replace(s,a,l)}s=a+1}return super.replace(e,r,n)}sliceString(e,r=this.length,n=` -`){let i="";for(let s=0,o=0;se&&s&&(i+=n),eo&&(i+=a.sliceString(e-o,r-o,n)),o=l+1}return i}flatten(e){for(let r of this.children)r.flatten(e)}scanIdentical(e,r){if(!(e instanceof yn))return 0;let n=0,[i,s,o,a]=r>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=r,s+=r){if(i==o||s==a)return n;let l=this.children[i],c=e.children[s];if(l!=c)return n+l.scanIdentical(c,r);n+=l.length+1}}static from(e,r=e.reduce((n,i)=>n+i.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let p of e)p.flatten(d);return new ft(d,r)}let i=Math.max(32,n>>5),s=i<<1,o=i>>1,a=[],l=0,c=-1,u=[];function h(d){let p;if(d.lines>s&&d instanceof yn)for(let O of d.children)h(O);else d.lines>o&&(l>o||!l)?(f(),a.push(d)):d instanceof ft&&l&&(p=u[u.length-1])instanceof ft&&d.lines+p.lines<=32?(l+=d.lines,c+=d.length+1,u[u.length-1]=new ft(p.text.concat(d.text),p.length+1+d.length)):(l+d.lines>i&&f(),l+=d.lines,c+=d.length+1,u.push(d))}function f(){l!=0&&(a.push(u.length==1?u[0]:yn.from(u,c)),c=-1,l=u.length=0)}for(let d of e)h(d);return f(),a.length==1?a[0]:new yn(a,r)}}Ve.empty=new ft([""],0);function EE(t){let e=-1;for(let r of t)e+=r.length+1;return e}function iu(t,e,r=0,n=1e9){for(let i=0,s=0,o=!0;s=r&&(l>n&&(a=a.slice(0,n-i)),i0?1:(e instanceof ft?e.text.length:e.children.length)<<1]}nextInner(e,r){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],s=this.offsets[n],o=s>>1,a=i instanceof ft?i.text.length:i.children.length;if(o==(r>0?a:0)){if(n==0)return this.done=!0,this.value="",this;r>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(r>0?0:1)){if(this.offsets[n]+=r,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(i instanceof ft){let l=i.text[o+(r<0?-1:0)];if(this.offsets[n]+=r,l.length>Math.max(0,e))return this.value=e==0?l:r>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[o+(r<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=r):(r<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof ft?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Yv{constructor(e,r,n){this.value="",this.done=!1,this.cursor=new qa(e,r>n?-1:1),this.pos=r>n?e.length:0,this.from=Math.min(r,n),this.to=Math.max(r,n)}nextInner(e,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let n=r<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*r,this.value=i.length<=n?i:r<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Kv{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:r,lineBreak:n,value:i}=this.inner.next(e);return r?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ve.prototype[Symbol.iterator]=function(){return this.iter()},qa.prototype[Symbol.iterator]=Yv.prototype[Symbol.iterator]=Kv.prototype[Symbol.iterator]=function(){return this});class AE{constructor(e,r,n,i){this.from=e,this.to=r,this.number=n,this.text=i}get length(){return this.to-this.from}}let yo="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return yo[e-1]<=t;return!1}function Jv(t){return t>=127462&&t<=127487}const ew=8205;function Qi(t,e,r=!0,n=!0){return(r?tw:ME)(t,e,n)}function tw(t,e,r){if(e==t.length)return e;e&&rw(t.charCodeAt(e))&&nw(t.charCodeAt(e-1))&&e--;let n=hp(t,e);for(e+=iw(n);e=0&&Jv(hp(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function ME(t,e,r){for(;e>0;){let n=tw(t,e-2,r);if(n=56320&&t<57344}function nw(t){return t>=55296&&t<56320}function hp(t,e){let r=t.charCodeAt(e);if(!nw(r)||e+1==t.length)return r;let n=t.charCodeAt(e+1);return rw(n)?(r-55296<<10)+(n-56320)+65536:r}function iw(t){return t<65536?1:2}const fp=/\r\n?|\n/;var Ar=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(Ar||(Ar={}));class Bn{constructor(e){this.sections=e}get length(){let e=0;for(let r=0;re)return s+(e-i);s+=a}else{if(n!=Ar.Simple&&c>=e&&(n==Ar.TrackDel&&ie||n==Ar.TrackBefore&&ie))return null;if(c>e||c==e&&r<0&&!a)return e==i||r<0?s:s+l;s+=l}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,r=e){for(let n=0,i=0;n=0&&i<=r&&a>=e)return ir?"cover":!0;i=a}return!1}toString(){let e="";for(let r=0;r=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Bn(e)}static create(e){return new Bn(e)}}class bt extends Bn{constructor(e,r){super(e),this.inserted=r}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return dp(this,(r,n,i,s,o)=>e=e.replace(i,i+(n-r),o),!1),e}mapDesc(e,r=!1){return pp(this,e,r,!0)}invert(e){let r=this.sections.slice(),n=[];for(let i=0,s=0;i=0){r[i]=a,r[i+1]=o;let l=i>>1;for(;n.length0&&xi(n,r,s.text),s.forward(u),a+=u}let c=e[o++];for(;a>1].toJSON()))}return e}static of(e,r,n){let i=[],s=[],o=0,a=null;function l(u=!1){if(!u&&!i.length)return;of||h<0||f>r)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${r})`);let p=d?typeof d=="string"?Ve.of(d.split(n||fp)):d:Ve.empty,O=p.length;if(h==f&&O==0)return;ho&&qt(i,h-o,-1),qt(i,f-h,O),xi(s,i,p),o=f}}return c(e),l(!a),a}static empty(e){return new bt(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],n=[];for(let i=0;ia&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)r.push(s[0],0);else{for(;n.length=0&&r<=0&&r==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=r:n?(t[i]+=e,t[i+1]+=r):t.push(e,r)}function xi(t,e,r){if(r.length==0)return;let n=e.length-2>>1;if(n>1])),!(r||o==t.sections.length||t.sections[o+1]<0);)a=t.sections[o++],l=t.sections[o++];e(i,c,s,u,h),i=c,s=u}}}function pp(t,e,r,n=!1){let i=[],s=n?[]:null,o=new Za(t),a=new Za(e);for(let l=-1;;)if(o.ins==-1&&a.ins==-1){let c=Math.min(o.len,a.len);qt(i,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(a.len=0&&l=0){let c=0,u=o.len;for(;u;)if(a.ins==-1){let h=Math.min(u,a.len);c+=h,u-=h,a.forward(h)}else if(a.ins==0&&a.lenl||o.ins>=0&&o.len>l)&&(a||n.length>c),s.forward2(l),o.forward(l)}}}}class Za{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return r>=e.length?Ve.empty:e[r]}textBit(e){let{inserted:r}=this.set,n=this.i-2>>1;return n>=r.length&&!e?Ve.empty:r[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class xs{constructor(e,r,n){this.from=e,this.to=r,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,r=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,r):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new xs(n,i,this.flags)}extend(e,r=e){if(e<=this.anchor&&r>=this.anchor)return ae.range(e,r);let n=Math.abs(e-this.anchor)>Math.abs(r-this.anchor)?e:r;return ae.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ae.range(e.anchor,e.head)}static create(e,r,n){return new xs(e,r,n)}}class ae{constructor(e,r){this.ranges=e,this.mainIndex=r}map(e,r=-1){return e.empty?this:ae.create(this.ranges.map(n=>n.map(e,r)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new ae(e.ranges.map(r=>xs.fromJSON(r)),e.main)}static single(e,r=e){return new ae([ae.range(e,r)],0)}static create(e,r=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,r=0){let n=e[r];e.sort((i,s)=>i.from-s.from),r=e.indexOf(n);for(let i=1;is.head?ae.range(l,a):ae.range(a,l))}}return new ae(e,r)}}function ow(t,e){for(let r of t.ranges)if(r.to>e)throw new RangeError("Selection points outside of document")}let Op=0;class _e{constructor(e,r,n,i,s){this.combine=e,this.compareInput=r,this.compare=n,this.isStatic=i,this.id=Op++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new _e(e.combine||(r=>r),e.compareInput||((r,n)=>r===n),e.compare||(e.combine?(r,n)=>r===n:gp),!!e.static,e.enables)}of(e){return new su([],this,0,e)}compute(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new su(e,this,1,r)}computeN(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new su(e,this,2,r)}from(e,r){return r||(r=n=>n),this.compute([e],n=>r(n.field(e)))}}function gp(t,e){return t==e||t.length==e.length&&t.every((r,n)=>r===e[n])}class su{constructor(e,r,n,i){this.dependencies=e,this.facet=r,this.type=n,this.value=i,this.id=Op++}dynamicSlot(e){var r;let n=this.value,i=this.facet.compareInput,s=this.id,o=e[s]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let h of this.dependencies)h=="doc"?l=!0:h=="selection"?c=!0:((r=e[h.id])!==null&&r!==void 0?r:1)&1||u.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||mp(h,u)){let d=n(h);if(a?!aw(d,h.values[o],i):!i(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let O=lu(f,p);if(this.dependencies.every(y=>y instanceof _e?f.facet(y)===h.facet(y):y instanceof $s?f.field(y,!1)==h.field(y,!1):!0)||(a?aw(d=n(h),O,i):i(d=n(h),O)))return h.values[o]=O,0}else d=n(h);return h.values[o]=d,1}}}}function aw(t,e,r){if(t.length!=e.length)return!1;for(let n=0;nt[l.id]),i=r.map(l=>l.type),s=n.filter(l=>!(l&1)),o=t[e.id]>>1;function a(l){let c=[];for(let u=0;un===i),e);return e.provide&&(r.provides=e.provide(r)),r}create(e){let r=e.facet(lw).find(n=>n.field==this);return((r==null?void 0:r.create)||this.createF)(e)}slot(e){let r=e[this.id]>>1;return{create:n=>(n.values[r]=this.create(n),1),update:(n,i)=>{let s=n.values[r],o=this.updateF(s,i);return this.compareF(s,o)?0:(n.values[r]=o,1)},reconfigure:(n,i)=>i.config.address[this.id]!=null?(n.values[r]=i.field(this),0):(n.values[r]=this.create(n),1)}}init(e){return[this,lw.of({field:this,create:e})]}get extension(){return this}}const _s={lowest:4,low:3,default:2,high:1,highest:0};function Fa(t){return e=>new cw(e,t)}const DE={highest:Fa(_s.highest),high:Fa(_s.high),default:Fa(_s.default),low:Fa(_s.low),lowest:Fa(_s.lowest)};class cw{constructor(e,r){this.inner=e,this.prec=r}}class ou{of(e){return new yp(this,e)}reconfigure(e){return ou.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class yp{constructor(e,r){this.compartment=e,this.inner=r}}class au{constructor(e,r,n,i,s,o){for(this.base=e,this.compartments=r,this.dynamicSlots=n,this.address=i,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,r,n){let i=[],s=Object.create(null),o=new Map;for(let f of NE(e,r,o))f instanceof $s?i.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let a=Object.create(null),l=[],c=[];for(let f of i)a[f.id]=c.length<<1,c.push(d=>f.slot(d));let u=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,O=u&&u[f]||[];if(d.every(y=>y.type==0))if(a[p.id]=l.length<<1|1,gp(O,d))l.push(n.facet(p));else{let y=p.combine(d.map(g=>g.value));l.push(n&&p.compare(y,n.facet(p))?n.facet(p):y)}else{for(let y of d)y.type==0?(a[y.id]=l.length<<1|1,l.push(y.value)):(a[y.id]=c.length<<1,c.push(g=>y.dynamicSlot(g)));a[p.id]=c.length<<1,c.push(y=>jE(y,p,d))}}let h=c.map(f=>f(a));return new au(e,o,h,a,l,s)}}function NE(t,e,r){let n=[[],[],[],[],[]],i=new Map;function s(o,a){let l=i.get(o);if(l!=null){if(l<=a)return;let c=n[l].indexOf(o);c>-1&&n[l].splice(c,1),o instanceof yp&&r.delete(o.compartment)}if(i.set(o,a),Array.isArray(o))for(let c of o)s(c,a);else if(o instanceof yp){if(r.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(o.compartment)||o.inner;r.set(o.compartment,c),s(c,a)}else if(o instanceof cw)s(o.inner,o.prec);else if(o instanceof $s)n[a].push(o),o.provides&&s(o.provides,a);else if(o instanceof su)n[a].push(o),o.facet.extensions&&s(o.facet.extensions,_s.default);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,a)}}return s(t,_s.default),n.reduce((o,a)=>o.concat(a))}function Ga(t,e){if(e&1)return 2;let r=e>>1,n=t.status[r];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[r]=4;let i=t.computeSlot(t,t.config.dynamicSlots[r]);return t.status[r]=2|i}function lu(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const uw=_e.define(),hw=_e.define({combine:t=>t.some(e=>e),static:!0}),fw=_e.define({combine:t=>t.length?t[0]:void 0,static:!0}),dw=_e.define(),pw=_e.define(),Ow=_e.define(),gw=_e.define({combine:t=>t.length?t[0]:!1});class Ha{constructor(e,r){this.type=e,this.value=r}static define(){return new IE}}class IE{of(e){return new Ha(this,e)}}class LE{constructor(e){this.map=e}of(e){return new Tt(this,e)}}class Tt{constructor(e,r){this.type=e,this.value=r}map(e){let r=this.type.map(this.value,e);return r===void 0?void 0:r==this.value?this:new Tt(this.type,r)}is(e){return this.type==e}static define(e={}){return new LE(e.map||(r=>r))}static mapEffects(e,r){if(!e.length)return e;let n=[];for(let i of e){let s=i.map(r);s&&n.push(s)}return n}}Tt.reconfigure=Tt.define(),Tt.appendConfig=Tt.define();class Zt{constructor(e,r,n,i,s,o){this.startState=e,this.changes=r,this.selection=n,this.effects=i,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&ow(n,r.newLength),s.some(a=>a.type==Zt.time)||(this.annotations=s.concat(Zt.time.of(Date.now())))}static create(e,r,n,i,s,o){return new Zt(e,r,n,i,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let r of this.annotations)if(r.type==e)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let r=this.annotation(Zt.userEvent);return!!(r&&(r==e||r.length>e.length&&r.slice(0,e.length)==e&&r[e.length]=="."))}}Zt.time=Ha.define(),Zt.userEvent=Ha.define(),Zt.addToHistory=Ha.define(),Zt.remote=Ha.define();function VE(t,e){let r=[];for(let n=0,i=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(i=0;i--){let s=n[i](t);s instanceof Zt?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Zt?t=s[0]:t=yw(e,vo(s),!1)}return t}function WE(t){let e=t.startState,r=e.facet(Ow),n=t;for(let i=r.length-1;i>=0;i--){let s=r[i](t);s&&Object.keys(s).length&&(n=mw(n,vp(e,s,t.changes.newLength),!0))}return n==t?t:Zt.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const BE=[];function vo(t){return t==null?BE:Array.isArray(t)?t:[t]}var Un=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Un||(Un={}));const UE=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let wp;try{wp=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function XE(t){if(wp)return wp.test(t);for(let e=0;e"\x80"&&(r.toUpperCase()!=r.toLowerCase()||UE.test(r)))return!0}return!1}function qE(t){return e=>{if(!/\S/.test(e))return Un.Space;if(XE(e))return Un.Word;for(let r=0;r-1)return Un.Word;return Un.Other}}class Ue{constructor(e,r,n,i,s,o){this.config=e,this.doc=r,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let a=0;ai.set(l,a)),r=null),i.set(o.value.compartment,o.value.extension)):o.is(Tt.reconfigure)?(r=null,n=o.value):o.is(Tt.appendConfig)&&(r=null,n=vo(n).concat(o.value));let s;r?s=e.startState.values.slice():(r=au.resolve(n,i,this),s=new Ue(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(o,a)=>a.reconfigure(o,this),null).values),new Ue(r,e.newDoc,e.newSelection,s,(o,a)=>a.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:e},range:ae.cursor(r.from+e.length)}))}changeByRange(e){let r=this.selection,n=e(r.ranges[0]),i=this.changes(n.changes),s=[n.range],o=vo(n.effects);for(let a=1;ao.spec.fromJSON(a,l)))}}return Ue.create({doc:e.doc,selection:ae.fromJSON(e.selection),extensions:r.extensions?i.concat([r.extensions]):i})}static create(e={}){let r=au.resolve(e.extensions||[],new Map),n=e.doc instanceof Ve?e.doc:Ve.of((e.doc||"").split(r.staticFacet(Ue.lineSeparator)||fp)),i=e.selection?e.selection instanceof ae?e.selection:ae.single(e.selection.anchor,e.selection.head):ae.single(0);return ow(i,n.length),r.staticFacet(hw)||(i=i.asSingle()),new Ue(r,n,i,r.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(Ue.tabSize)}get lineBreak(){return this.facet(Ue.lineSeparator)||` -`}get readOnly(){return this.facet(gw)}phrase(e,...r){for(let n of this.facet(Ue.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return r.length&&(e=e.replace(/\$(\$|\d*)/g,(n,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>r.length?n:r[s-1]})),e}languageDataAt(e,r,n=-1){let i=[];for(let s of this.facet(uw))for(let o of s(this,r,n))Object.prototype.hasOwnProperty.call(o,e)&&i.push(o[e]);return i}charCategorizer(e){return qE(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:r,from:n,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,a=e-n;for(;o>0;){let l=Qi(r,o,!1);if(s(r.slice(l,o))!=Un.Word)break;o=l}for(;at.length?t[0]:4}),Ue.lineSeparator=fw,Ue.readOnly=gw,Ue.phrases=_e.define({compare(t,e){let r=Object.keys(t),n=Object.keys(e);return r.length==n.length&&r.every(i=>t[i]==e[i])}}),Ue.languageData=uw,Ue.changeFilter=dw,Ue.transactionFilter=pw,Ue.transactionExtender=Ow,ou.reconfigure=Tt.define();class Ps{eq(e){return this==e}range(e,r=e){return cu.create(e,r,this)}}Ps.prototype.startSide=Ps.prototype.endSide=0,Ps.prototype.point=!1,Ps.prototype.mapMode=Ar.TrackDel;let cu=class{constructor(t,e,r){this.from=t,this.to=e,this.value=r}static create(t,e,r){return new cu(t,e,r)}};function Sp(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class bp{constructor(e,r,n,i){this.from=e,this.to=r,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,r,n,i=0){let s=n?this.to:this.from;for(let o=i,a=s.length;;){if(o==a)return o;let l=o+a>>1,c=s[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-r;if(l==o)return c>=0?o:a;c>=0?a=l:o=l+1}}between(e,r,n,i){for(let s=this.findIndex(r,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&c.startSide>0&&c.endSide<=0)continue;(d-f||c.endSide-c.startSide)<0||(o<0&&(o=f),c.point&&(a=Math.max(a,d-f)),n.push(c),i.push(f-o),s.push(d-o))}return{mapped:n.length?new bp(i,s,n,a):null,pos:o}}}class gt{constructor(e,r,n,i){this.chunkPos=e,this.chunk=r,this.nextLayer=n,this.maxPoint=i}static create(e,r,n,i){return new gt(e,r,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let r of this.chunk)e+=r.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:r=[],sort:n=!1,filterFrom:i=0,filterTo:s=this.length}=e,o=e.filter;if(r.length==0&&!o)return this;if(n&&(r=r.slice().sort(Sp)),this.isEmpty)return r.length?gt.of(r):this;let a=new ww(this,null,-1).goto(0),l=0,c=[],u=new uu;for(;a.value||l=0){let h=r[l++];u.addInner(h.from,h.to,h.value)||c.push(h)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&e<=s+o.length&&o.between(s,e-s,r-s,n)===!1)return}this.nextLayer.between(e,r,n)}}iter(e=0){return Ya.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,r=0){return Ya.from(e).goto(r)}static compare(e,r,n,i,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=r.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=vw(o,a,n),c=new Ka(o,l,s),u=new Ka(a,l,s);n.iterGaps((h,f,d)=>Sw(c,h,u,f,d,i)),n.empty&&n.length==0&&Sw(c,0,u,0,0,i)}static eq(e,r,n=0,i){i==null&&(i=999999999);let s=e.filter(u=>!u.isEmpty&&r.indexOf(u)<0),o=r.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let a=vw(s,o),l=new Ka(s,a,0).goto(n),c=new Ka(o,a,0).goto(n);for(;;){if(l.to!=c.to||!Qp(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(e,r,n,i,s=-1){let o=new Ka(e,null,s).goto(r),a=r,l=o.openStart;for(;;){let c=Math.min(o.to,n);if(o.point){let u=o.activeForPoint(o.to),h=o.pointFroma&&(i.span(a,c,o.active,l),l=o.openEnd(c));if(o.to>n)return l+(o.point&&o.to>n?1:0);a=o.to,o.next()}}static of(e,r=!1){let n=new uu;for(let i of e instanceof cu?[e]:r?ZE(e):e)n.add(i.from,i.to,i.value);return n.finish()}}gt.empty=new gt([],[],null,-1);function ZE(t){if(t.length>1)for(let e=t[0],r=1;r0)return t.slice().sort(Sp);e=n}return t}gt.empty.nextLayer=gt.empty;class uu{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new bp(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,r,n){this.addInner(e,r,n)||(this.nextLayer||(this.nextLayer=new uu)).add(e,r,n)}addInner(e,r,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(r-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=r,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,r-e)),!0)}addChunk(e,r){if((e-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(e);let n=r.value.length-1;return this.last=r.value[n],this.lastFrom=r.from[n]+e,this.lastTo=r.to[n]+e,!0}finish(){return this.finishInner(gt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let r=gt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,r}}function vw(t,e,r){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new ww(o,r,n,s));return i.length==1?i[0]:new Ya(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,r=-1e9){for(let n of this.heap)n.goto(e,r);for(let n=this.heap.length>>1;n>=0;n--)Tp(this.heap,n);return this.next(),this}forward(e,r){for(let n of this.heap)n.forward(e,r);for(let n=this.heap.length>>1;n>=0;n--)Tp(this.heap,n);(this.to-e||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Tp(this.heap,0)}}}function Tp(t,e){for(let r=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let i=t[n];if(n+1=0&&(i=t[n+1],n++),r.compare(i)<0)break;t[n]=r,t[e]=i,e=n}}class Ka{constructor(e,r,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ya.from(e,r,n)}goto(e,r=-1e9){return this.cursor.goto(e,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=r,this.openStart=-1,this.next(),this}forward(e,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(e,r)}removeActive(e){hu(this.active,e),hu(this.activeTo,e),hu(this.activeRank,e),this.minActive=bw(this.active,this.activeTo)}addActive(e){let r=0,{value:n,to:i,rank:s}=this.cursor;for(;r-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&hu(n,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from=0&&n[i]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&r.push(this.active[n]);return r.reverse()}openEnd(e){let r=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)r++;return r}}function Sw(t,e,r,n,i,s){t.goto(e),r.goto(n);let o=n+i,a=n,l=n-e;for(;;){let c=t.to+l-r.to||t.endSide-r.endSide,u=c<0?t.to+l:r.to,h=Math.min(u,o);if(t.point||r.point?t.point&&r.point&&(t.point==r.point||t.point.eq(r.point))&&Qp(t.activeForPoint(t.to+l),r.activeForPoint(r.to))||s.comparePoint(a,h,t.point,r.point):h>a&&!Qp(t.active,r.active)&&s.compareRange(a,h,t.active,r.active),u>o)break;a=u,c<=0&&t.next(),c>=0&&r.next()}}function Qp(t,e){if(t.length!=e.length)return!1;for(let r=0;r=e;n--)t[n+1]=t[n];t[e]=r}function bw(t,e){let r=-1,n=1e9;for(let i=0;i=e)return i;if(i==t.length)break;s+=t.charCodeAt(i)==9?r-s%r:1,i=Qi(t,i)}return n===!0?-1:t.length}const xp="\u037C",Tw=typeof Symbol>"u"?"__"+xp:Symbol.for(xp),$p=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Qw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class wo{constructor(e,r){this.rules=[];let{finish:n}=r||{};function i(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,a,l,c){let u=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&a==null)return l.push(o[0]+";");for(let d in a){let p=a[d];if(/&/.test(d))s(d.split(/,\s*/).map(O=>o.map(y=>O.replace(/&/,y))).reduce((O,y)=>O.concat(y)),p,l);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(i(d),p,u,f)}else p!=null&&u.push(d.replace(/_.*/,"").replace(/[A-Z]/g,O=>"-"+O.toLowerCase())+": "+p+";")}(u.length||f)&&l.push((n&&!h&&!c?o.map(n):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in e)s(i(o),e[o],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=Qw[Tw]||1;return Qw[Tw]=e+1,xp+e.toString(36)}static mount(e,r){(e[$p]||new GE(e)).mount(Array.isArray(r)?r:[r])}}let du=null;class GE{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet<"u"){if(du)return e.adoptedStyleSheets=[du.sheet].concat(e.adoptedStyleSheets),e[$p]=du;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),du=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let r=e.head||e;r.insertBefore(this.styleTag,r.firstChild)}this.modules=[],e[$p]=this}mount(e){let r=this.sheet,n=0,i=0;for(let s=0;s-1&&(this.modules.splice(a,1),i--,a=-1),a==-1){if(this.modules.splice(i++,0,o),r)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},xw=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),HE=typeof navigator<"u"&&/Mac/.test(navigator.platform);typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),HE||xw&&+xw[1]<57;for(var At=0;At<10;At++)So[48+At]=So[96+At]=String(At);for(var At=1;At<=24;At++)So[At+111]="F"+At;for(var At=65;At<=90;At++)So[At]=String.fromCharCode(At+32),_p[At]=String.fromCharCode(At);for(var Pp in So)_p.hasOwnProperty(Pp)||(_p[Pp]=So[Pp]);function pu(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function bo(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function YE(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Ou(t,e){if(!e.anchorNode)return!1;try{return bo(t,e.anchorNode)}catch{return!1}}function Ja(t){return t.nodeType==3?Qo(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function gu(t,e,r,n){return r?$w(t,e,r,n,-1)||$w(t,e,r,n,1):!1}function mu(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function $w(t,e,r,n,i){for(;;){if(t==r&&e==n)return!0;if(e==(i<0?0:el(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=mu(t)+(i<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?el(t):0}else return!1}}function el(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}const _w={left:0,right:0,top:0,bottom:0};function Cp(t,e){let r=e?t.left:t.right;return{left:r,right:r,top:t.top,bottom:t.bottom}}function KE(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function JE(t,e,r,n,i,s,o,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t;u;)if(u.nodeType==1){let h,f=u==l.body;if(f)h=KE(c);else{if(u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let O=u.getBoundingClientRect();h={left:O.left,right:O.left+u.clientWidth,top:O.top,bottom:O.top+u.clientHeight}}let d=0,p=0;if(i=="nearest")e.top0&&e.bottom>h.bottom+p&&(p=e.bottom-h.bottom+p+o)):e.bottom>h.bottom&&(p=e.bottom-h.bottom+o,r<0&&e.top-p0&&e.right>h.right+d&&(d=e.right-h.right+d+s)):e.right>h.right&&(d=e.right-h.right+s,r<0&&e.leftr)return h.domBoundsAround(e,r,c);if(f>=e&&i==-1&&(i=l,s=c),c>r&&h.dom.parentNode==this.dom){o=l,a=u;break}u=f,c=f+h.breakAfter}return{from:s,to:a<0?n+this.length:a,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let r=this.parent;r;r=r.parent){if(e&&(r.dirty|=2),r.dirty&1)return;r.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let r=e.parent;if(!r)return e;e=r}}replaceChildren(e,r,n=kp){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function Rw(t,e,r,n,i,s,o,a,l){let{children:c}=t,u=c.length?c[e]:null,h=s.length?s[s.length-1]:null,f=h?h.breakAfter:o;if(!(e==n&&u&&!o&&!f&&s.length<2&&u.merge(r,i,s.length?h:null,r==0,a,l))){if(n0&&(!o&&s.length&&u.merge(r,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(r2);var oe={mac:Lw||/Mac/.test(Rr.platform),windows:/Win/.test(Rr.platform),linux:/Linux|X11/.test(Rr.platform),ie:yu,ie_version:jw?Ep.documentMode||6:Rp?+Rp[1]:Ap?+Ap[1]:0,gecko:Dw,gecko_version:Dw?+(/Firefox\/(\d+)/.exec(Rr.userAgent)||[0,0])[1]:0,chrome:!!Mp,chrome_version:Mp?+Mp[1]:0,ios:Lw,android:/Android\b/.test(Rr.userAgent),webkit:Nw,safari:Iw,webkit_version:Nw?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Ep.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const nA=256;class $i extends Fe{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,r,n){return n&&(!(n instanceof $i)||this.length-(r-e)+n.length>nA)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(r),this.markDirty(),!0)}split(e){let r=new $i(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),r}localPosFromDOM(e,r){return e==this.dom?r:r?this.text.length:0}domAtPos(e){return new Ft(this.dom,e)}domBoundsAround(e,r,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,r){return jp(this.dom,e,r)}}class vn extends Fe{constructor(e,r=[],n=0){super(),this.mark=e,this.children=r,this.length=n;for(let i of r)i.setParent(this)}setAttrs(e){if(kw(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)e.setAttribute(r,this.mark.attrs[r]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,r,n,i,s,o){return n&&(!(n instanceof vn&&n.mark.eq(this.mark))||e&&s<=0||re&&r.push(n=e&&(i=s),n=l,s++}let o=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new vn(this.mark,r,o)}domAtPos(e){return Ww(this,e)}coordsAt(e,r){return Uw(this,e,r)}}function jp(t,e,r){let n=t.nodeValue.length;e>n&&(e=n);let i=e,s=e,o=0;e==0&&r<0||e==n&&r>=0?oe.chrome||oe.gecko||(e?(i--,o=1):s=0)?0:a.length-1];return oe.safari&&!o&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),o?Cp(l,o<0):l||null}class _i extends Fe{constructor(e,r,n){super(),this.widget=e,this.length=r,this.side=n,this.prevWidget=null}static create(e,r,n){return new(e.customView||_i)(e,r,n)}split(e){let r=_i.create(this.widget,this.length-e,this.side);return this.length-=e,r}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,r,n,i,s,o){return n&&(!(n instanceof _i)||!this.widget.compare(n.widget)||e>0&&s<=0||r0?n.length-1:0;i=n[s],!(e>0?s==0:s==n.length-1||i.top0?-1:1);return this.length?i:Cp(i,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Vw extends _i{domAtPos(e){let{topView:r,text:n}=this.widget;return r?Dp(e,0,r,n,(i,s)=>i.domAtPos(s),i=>new Ft(n,Math.min(i,n.nodeValue.length))):new Ft(n,Math.min(e,n.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,r){let{topView:n,text:i}=this.widget;return n?zw(e,r,n,i):Math.min(r,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,r){let{topView:n,text:i}=this.widget;return n?Dp(e,r,n,i,(s,o,a)=>s.coordsAt(o,a),(s,o)=>jp(i,s,o)):jp(i,e,r)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function Dp(t,e,r,n,i,s){if(r instanceof vn){for(let o=r.dom.firstChild;o;o=o.nextSibling){let a=Fe.get(o);if(!a)return s(t,e);let l=bo(o,n),c=a.length+(l?n.nodeValue.length:0);if(t0?-1:1);return n&&n.topr.top?{left:r.left,right:r.right,top:n.top,bottom:n.bottom}:r}get overrideDOMText(){return Ve.empty}}$i.prototype.children=_i.prototype.children=$o.prototype.children=kp;function iA(t,e){let r=t.parent,n=r?r.children.indexOf(t):-1;for(;r&&n>=0;)if(e<0?n>0:ns&&e0;s--){let o=n[s-1];if(o.dom.parentNode==r)return o.domAtPos(o.length)}for(let s=i;s0&&e instanceof vn&&i.length&&(n=i[i.length-1])instanceof vn&&n.mark.eq(e.mark)?Bw(n,e.children[0],r-1):(i.push(e),e.setParent(t)),t.length+=e.length}function Uw(t,e,r){let n=null,i=-1,s=null,o=-1;function a(c,u){for(let h=0,f=0;h=u&&(d.children.length?a(d,u-f):!s&&(p>u||f==p&&d.getSide()>0)?(s=d,o=u-f):(f0?3e8:-4e8:r>0?1e8:-1e8,new Cs(e,r,r,n,e.widget||null,!1)}static replace(e){let r=!!e.block,n,i;if(e.isBlockGap)n=-5e8,i=4e8;else{let{start:s,end:o}=Xw(e,r);n=(s?r?-3e8:-1:5e8)-1,i=(o?r?2e8:1:-6e8)+1}return new Cs(e,n,i,r,e.widget||null,!0)}static line(e){return new tl(e)}static set(e,r=!1){return gt.of(e,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Rt.none=gt.empty;class wu extends Rt{constructor(e){let{start:r,end:n}=Xw(e);super(r?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof wu&&this.tagName==e.tagName&&this.class==e.class&&Ip(this.attrs,e.attrs)}range(e,r=e){if(e>=r)throw new RangeError("Mark decorations may not be empty");return super.range(e,r)}}wu.prototype.point=!1;class tl extends Rt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof tl&&Ip(this.spec.attributes,e.spec.attributes)}range(e,r=e){if(r!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,r)}}tl.prototype.mapMode=Ar.TrackBefore,tl.prototype.point=!0;class Cs extends Rt{constructor(e,r,n,i,s,o){super(r,n,s,e),this.block=i,this.isReplace=o,this.mapMode=i?r<=0?Ar.TrackBefore:Ar.TrackAfter:Ar.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof Cs&&oA(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,r=e){if(this.isReplace&&(e>r||e==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,r)}}Cs.prototype.point=!0;function Xw(t,e=!1){let{inclusiveStart:r,inclusiveEnd:n}=t;return r==null&&(r=t.inclusive),n==null&&(n=t.inclusive),{start:r!=null?r:e,end:n!=null?n:e}}function oA(t,e){return t==e||!!(t&&e&&t.compare(e))}function Vp(t,e,r,n=0){let i=r.length-1;i>=0&&r[i]+n>=t?r[i]=Math.max(r[i],e):r.push(t,e)}class or extends Fe{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,r,n,i,s,o){if(n){if(!(n instanceof or))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),Mw(this,e,r,n?n.children:[],s,o),!0}split(e){let r=new or;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i:n,off:i}=this.childPos(e);i&&(r.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let s=n;s0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,r}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Ip(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,r){Bw(this,e,r)}addLineDeco(e){let r=e.spec.attributes,n=e.spec.class;r&&(this.attrs=Np(r,this.attrs||{})),n&&(this.attrs=Np({class:n},this.attrs||{}))}domAtPos(e){return Ww(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var r;this.dom?this.dirty&4&&(kw(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(Lp(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let n=this.dom.lastChild;for(;n&&Fe.get(n)instanceof vn;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((r=Fe.get(n))===null||r===void 0?void 0:r.isEditable)==!1&&(!oe.ios||!this.children.some(i=>i instanceof $i))){let i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let r of this.children){if(!(r instanceof $i)||/[^ -~]/.test(r.text))return null;let n=Ja(r.dom);if(n.length!=1)return null;e+=n[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,r){return Uw(this,e,r)}become(e){return!1}get type(){return wt.Text}static find(e,r){for(let n=0,i=0;n=r){if(s instanceof or)return s;if(o>r)break}i=o+s.breakAfter}return null}}class ks extends Fe{constructor(e,r,n){super(),this.widget=e,this.length=r,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,r,n,i,s,o){return n&&(!(n instanceof ks)||!this.widget.compare(n.widget)||e>0&&s<=0||r0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}else this.text=s,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(r.slice(r.length-n)),this.getLine().append(Su(new $i(this.text.slice(this.textOff,this.textOff+i)),r),n),this.atCursorPos=!0,this.textOff+=i,e-=i,n=0}}span(e,r,n,i){this.buildText(r-e,n,i),this.pos=r,this.openStart<0&&(this.openStart=i)}point(e,r,n,i,s,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Cs){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=r-e;if(n instanceof Cs)if(n.block){let{type:l}=n;l==wt.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ks(n.widget||new qw("div"),a,l))}else{let l=_i.create(n.widget||new qw("span"),a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&s<=i.length&&(e0),u=!l.isEditable&&(et.some(e=>e)}),aA=_e.define({combine:t=>t.some(e=>e)});class bu{constructor(e,r="nearest",n="nearest",i=5,s=5){this.range=e,this.y=r,this.x=n,this.yMargin=i,this.xMargin=s}map(e){return e.empty?this:new bu(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const Jw=Tt.define({map:(t,e)=>t.map(e)});function Pi(t,e,r){let n=t.facet(Hw);n.length?n[0](e):window.onerror?window.onerror(String(e),r,void 0,void 0,e):r?console.error(r+":",e):console.error(e)}const Tu=_e.define({combine:t=>t.length?t[0]:!0});let lA=0;const rl=_e.define();class nl{constructor(e,r,n,i){this.id=e,this.create=r,this.domEventHandlers=n,this.extension=i(this)}static define(e,r){const{eventHandlers:n,provide:i,decorations:s}=r||{};return new nl(lA++,e,n,o=>{let a=[rl.of(o)];return s&&a.push(il.of(l=>{let c=l.plugin(o);return c?s(c):Rt.none})),i&&a.push(i(o)),a})}static fromClass(e,r){return nl.define(n=>new e(n),r)}}class Bp{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(n){if(Pi(r.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(r){Pi(e.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(n){Pi(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const eS=_e.define(),Up=_e.define(),il=_e.define(),tS=_e.define(),rS=_e.define(),sl=_e.define();class wn{constructor(e,r,n,i){this.fromA=e,this.toA=r,this.fromB=n,this.toB=i}join(e){return new wn(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let r=e.length,n=this;for(;r>0;r--){let i=e[r-1];if(!(i.fromA>n.toA)){if(i.toAu)break;s+=2}if(!l)return n;new wn(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),o=l.toA,a=l.toB}}}class Qu{constructor(e,r,n){this.view=e,this.state=r,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=bt.empty(this.startState.doc.length);for(let o of n)this.changes=this.changes.compose(o.changes);let i=[];this.changes.iterChangedRanges((o,a,l,c)=>i.push(new wn(o,a,l,c))),this.changedRanges=i;let s=e.hasFocus;s!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=s,this.flags|=1)}static create(e,r,n){return new Qu(e,r,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ar=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(ar||(ar={}));const Xp=ar.LTR,cA=ar.RTL;function nS(t){let e=[];for(let r=0;r=r){if(a.level==n)return o;(s<0||(i!=0?i<0?a.fromr:e[s].level>a.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}const et=[];function pA(t,e){let r=t.length,n=e==Xp?1:2,i=e==Xp?2:1;if(!t||n==1&&!dA.test(t))return iS(r);for(let o=0,a=n,l=n;o=0;f-=3)if(Sn[f+1]==-u){let d=Sn[f+2],p=d&2?n:d&4?d&1?i:n:0;p&&(et[o]=et[Sn[f]]=p),a=f;break}}else{if(Sn.length==189)break;Sn[a++]=o,Sn[a++]=c,Sn[a++]=l}else if((h=et[o])==2||h==1){let f=h==n;l=f?0:1;for(let d=a-3;d>=0;d-=3){let p=Sn[d+2];if(p&2)break;if(f)Sn[d+2]|=2;else{if(p&4)break;Sn[d+2]|=4}}}for(let o=0;oa;){let u=c,h=et[--c]!=2;for(;c>a&&h==(et[c-1]!=2);)c--;s.push(new _o(c,u,h?2:1))}else s.push(new _o(a,o,0))}else for(let o=0;o1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=o-1);n=s+o}}readNode(e){if(e.cmIgnore)return;let r=Fe.get(e),n=r&&r.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,r){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==r&&(n.pos=this.text.length)}findPointInside(e,r){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(r,n.offset))}}function aS(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class lS{constructor(e,r){this.node=e,this.offset=r,this.pos=-1}}class cS extends Fe{constructor(e){super(),this.view=e,this.compositionDeco=Rt.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new or],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new wn(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:o,toA:a})=>athis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=Rt.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=mA(this.view,e.changes)),(oe.ie||oe.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=this.decorations,i=this.updateDeco(),s=SA(n,i,e.changes);return r=wn.extendWithRanges(r,s),this.dirty==0&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,r);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=oe.chrome||oe.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(s),this.dirty=0,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let i=[];if(this.view.viewport.from||this.view.viewport.to=0?e[i]:null;if(!s)break;let{fromA:o,toA:a,fromB:l,toB:c}=s,{content:u,breakAtStart:h,openStart:f,openEnd:d}=zp.build(this.view.state.doc,l,c,this.decorations,this.dynamicDecorationMap),{i:p,off:O}=n.findPos(a,1),{i:y,off:g}=n.findPos(o,-1);Rw(this,y,g,p,O,u,h,f,d)}}updateSelection(e=!1,r=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(r||this.mayControlSelection()))return;let n=this.forceSelection;this.forceSelection=!1;let i=this.view.state.selection.main,s=this.domAtPos(i.anchor),o=i.empty?s:this.domAtPos(i.head);if(oe.gecko&&i.empty&&gA(s)){let l=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(l,s.node.childNodes[s.offset]||null)),s=o=new Ft(l,0),n=!0}let a=this.view.observer.selectionRange;(n||!a.focusNode||!gu(s.node,s.offset,a.anchorNode,a.anchorOffset)||!gu(o.node,o.offset,a.focusNode,a.focusOffset))&&(this.view.observer.ignore(()=>{oe.android&&oe.chrome&&this.dom.contains(a.focusNode)&&bA(a.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let l=pu(this.view.root);if(l)if(i.empty){if(oe.gecko){let c=vA(s.node,s.offset);if(c&&c!=3){let u=fS(s.node,s.offset,c==1?1:-1);u&&(s=new Ft(u,c==1?0:u.nodeValue.length))}}l.collapse(s.node,s.offset),i.bidiLevel!=null&&a.cursorBidiLevel!=null&&(a.cursorBidiLevel=i.bidiLevel)}else if(l.extend){l.collapse(s.node,s.offset);try{l.extend(o.node,o.offset)}catch{}}else{let c=document.createRange();i.anchor>i.head&&([s,o]=[o,s]),c.setEnd(o.node,o.offset),c.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(c)}}),this.view.observer.setSelectionRange(s,o)),this.impreciseAnchor=s.precise?null:new Ft(a.anchorNode,a.anchorOffset),this.impreciseHead=o.precise?null:new Ft(a.focusNode,a.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,r=e.state.selection.main,n=pu(e.root),{anchorNode:i,anchorOffset:s}=e.observer.selectionRange;if(!n||!r.empty||!r.assoc||!n.modify)return;let o=or.find(this,r.head);if(!o)return;let a=o.posAtStart;if(r.head==a||r.head==a+o.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);n.collapse(u.node,u.offset),n.modify("move",r.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=r.from&&n.collapse(i,s)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||Ou(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let r=e;r;){let n=Fe.get(r);if(n&&n.rootView==this)return n;r=r.parentNode}return null}posFromDOM(e,r){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,r)+n.posAtStart}domAtPos(e){let{i:r,off:n}=this.childCursor().findPos(e,-1);for(;ro||e==o&&s.type!=wt.WidgetBefore&&s.type!=wt.WidgetAfter&&(!i||r==2||this.children[i-1].breakAfter||this.children[i-1].type==wt.WidgetBefore&&r>-2))return s.coordsAt(e-o,r);n=o}}measureVisibleLineHeights(e){let r=[],{from:n,to:i}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==ar.LTR;for(let c=0,u=0;ui)break;if(c>=n){let d=h.dom.getBoundingClientRect();if(r.push(d.height),o){let p=h.dom.lastChild,O=p?Ja(p):[];if(O.length){let y=O[O.length-1],g=l?y.right-d.left:d.right-y.left;g>a&&(a=g,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=f)}}}c=f+h.breakAfter}return r}textDirectionAt(e){let{i:r}=this.childPos(e,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?ar.RTL:ar.LTR}measureTextSize(){for(let i of this.children)if(i instanceof or){let s=i.measureTextSize();if(s)return s}let e=document.createElement("div"),r,n;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=Ja(e.firstChild)[0];r=e.getBoundingClientRect().height,n=i?i.width/27:7,e.remove()}),{lineHeight:r,charWidth:n}}childCursor(e=this.length){let r=this.children.length;return r&&(e-=this.children[--r].length),new Aw(this.children,e,r)}computeBlockGapDeco(){let e=[],r=this.view.viewState;for(let n=0,i=0;;i++){let s=i==r.viewports.length?null:r.viewports[i],o=s?s.from-1:this.length;if(o>n){let a=r.lineBlockAt(o).bottom-r.lineBlockAt(n).top;e.push(Rt.replace({widget:new uS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return Rt.set(e)}updateDeco(){let e=this.view.state.facet(il).map((r,n)=>(this.dynamicDecorationMap[n]=typeof r=="function")?r(this.view):r);for(let r=e.length;rr.anchor?-1:1),i;if(!n)return;!r.empty&&(i=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,i.left),top:Math.min(n.top,i.top),right:Math.max(n.right,i.right),bottom:Math.max(n.bottom,i.bottom)});let s=0,o=0,a=0,l=0;for(let u of this.view.state.facet(rS).map(h=>h(this.view)))if(u){let{left:h,right:f,top:d,bottom:p}=u;h!=null&&(s=Math.max(s,h)),f!=null&&(o=Math.max(o,f)),d!=null&&(a=Math.max(a,d)),p!=null&&(l=Math.max(l,p))}let c={left:n.left-s,top:n.top-a,right:n.right+o,bottom:n.bottom+l};JE(this.view.scrollDOM,c,r.head0&&r<=0)t=t.childNodes[e-1],e=el(t);else if(t.nodeType==1&&e=0)t=t.childNodes[e],e=0;else return null}}function vA(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let c=Qi(i.text,o,!1);if(n(i.text.slice(c,o))!=l)break;o=c}for(;at?e.left-t:Math.max(0,t-e.right)}function xA(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function Zp(t,e){return t.tope.top+1}function dS(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Fp(t,e,r){let n,i,s,o,a=!1,l,c,u,h;for(let p=t.firstChild;p;p=p.nextSibling){let O=Ja(p);for(let y=0;yv||o==v&&s>m)&&(n=p,i=g,s=m,o=v,a=!m||(m>0?y0)),m==0?r>g.bottom&&(!u||u.bottomg.top)&&(c=p,h=g):u&&Zp(u,g)?u=pS(u,g.bottom):h&&Zp(h,g)&&(h=dS(h,g.top))}}if(u&&u.bottom>=r?(n=l,i=u):h&&h.top<=r&&(n=c,i=h),!n)return{node:t,offset:0};let f=Math.max(i.left,Math.min(i.right,e));if(n.nodeType==3)return OS(n,f,r);if(a&&n.contentEditable!="false")return Fp(n,f,r);let d=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:d}}function OS(t,e,r){let n=t.nodeValue.length,i=-1,s=1e9,o=0;for(let a=0;ar?u.top-r:r-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&h=(u.left+u.right)/2,d=f;if((oe.chrome||oe.gecko)&&Qo(t,a).getBoundingClientRect().left==u.right&&(d=!f),h<=0)return{node:t,offset:a+(d?1:0)};i=a+(d?1:0),s=h}}}return{node:t,offset:i>-1?i:o>0?t.nodeValue.length:0}}function gS(t,{x:e,y:r},n,i=-1){var s;let o=t.contentDOM.getBoundingClientRect(),a=o.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,u=r-a;if(u<0)return 0;if(u>c)return t.state.doc.length;for(let g=t.defaultLineHeight/2,m=!1;l=t.elementAtHeight(u),l.type!=wt.Text;)for(;u=i>0?l.bottom+g:l.top-g,!(u>=0&&u<=c);){if(m)return n?null:0;m=!0,i=-i}r=a+u;let h=l.from;if(ht.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:mS(t,o,l,e,r);let f=t.dom.ownerDocument,d=t.root.elementFromPoint?t.root:f,p=d.elementFromPoint(e,r);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(o.left+1,Math.min(o.right-1,e)),p=d.elementFromPoint(e,r),p&&!t.contentDOM.contains(p)&&(p=null));let O,y=-1;if(p&&((s=t.docView.nearest(p))===null||s===void 0?void 0:s.isEditable)!=!1){if(f.caretPositionFromPoint){let g=f.caretPositionFromPoint(e,r);g&&({offsetNode:O,offset:y}=g)}else if(f.caretRangeFromPoint){let g=f.caretRangeFromPoint(e,r);g&&({startContainer:O,startOffset:y}=g,(!t.contentDOM.contains(O)||oe.safari&&$A(O,y,e)||oe.chrome&&_A(O,y,e))&&(O=void 0))}}if(!O||!t.docView.dom.contains(O)){let g=or.find(t.docView,h);if(!g)return u>l.top+l.height/2?l.to:l.from;({node:O,offset:y}=Fp(g.dom,e,r))}return t.docView.posFromDOM(O,y)}function mS(t,e,r,n,i){let s=Math.round((n-e.left)*t.defaultCharacterWidth);t.lineWrapping&&r.height>t.defaultLineHeight*1.5&&(s+=Math.floor((i-r.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength);let o=t.state.sliceDoc(r.from,r.to);return r.from+FE(o,s,t.state.tabSize)}function $A(t,e,r){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return Qo(t,n-1,n).getBoundingClientRect().left>r}function _A(t,e,r){if(e!=0)return!1;for(let i=t;;){let s=i.parentNode;if(!s||s.nodeType!=1||s.firstChild!=i)return!1;if(s.classList.contains("cm-line"))break;i=s}let n=t.nodeType==1?t.getBoundingClientRect():Qo(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return r-n.left>5}function PA(t,e,r,n){let i=t.state.doc.lineAt(e.head),s=!n||!t.lineWrapping?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(s){let l=t.dom.getBoundingClientRect(),c=t.textDirectionAt(i.from),u=t.posAtCoords({x:r==(c==ar.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(u!=null)return ae.cursor(u,r?-1:1)}let o=or.find(t.docView,e.head),a=o?r?o.posAtEnd:o.posAtStart:r?i.to:i.from;return ae.cursor(a,r?-1:1)}function yS(t,e,r,n){let i=t.state.doc.lineAt(e.head),s=t.bidiSpans(i),o=t.textDirectionAt(i.from);for(let a=e,l=null;;){let c=OA(i,s,o,a,r),u=sS;if(!c){if(i.number==(r?t.state.doc.lines:1))return a;u=` -`,i=t.state.doc.line(i.number+(r?1:-1)),s=t.bidiSpans(i),c=ae.cursor(r?i.from:i.to)}if(l){if(!l(u))return a}else{if(!n)return c;l=n(u)}a=c}}function CA(t,e,r){let n=t.state.charCategorizer(e),i=n(r);return s=>{let o=n(s);return i==Un.Space&&(i=o),i==o}}function kA(t,e,r,n){let i=e.head,s=r?1:-1;if(i==(r?t.state.doc.length:0))return ae.cursor(i,e.assoc);let o=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i),u=t.documentTop;if(c)o==null&&(o=c.left-l.left),a=s<0?c.top:c.bottom;else{let d=t.viewState.lineBlockAt(i);o==null&&(o=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-d.from))),a=(s<0?d.top:d.bottom)+u}let h=l.left+o,f=n!=null?n:t.defaultLineHeight>>1;for(let d=0;;d+=10){let p=a+(f+d)*s,O=gS(t,{x:h,y:p},!1,s);if(pl.bottom||(s<0?Oi))return ae.cursor(O,e.assoc,void 0,o)}}function Gp(t,e,r){let n=t.state.facet(tS).map(i=>i(t));for(;;){let i=!1;for(let s of n)s.between(r.from-1,r.from+1,(o,a,l)=>{r.from>o&&r.fromr.from?ae.cursor(o,1):ae.cursor(a,-1),i=!0)});if(!i)return r}}class EA{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;for(let r in Qt){let n=Qt[r];e.contentDOM.addEventListener(r,i=>{!wS(e,i)||this.ignoreDuringComposition(i)||r=="keydown"&&this.keydown(e,i)||(this.mustFlushObserver(i)&&e.observer.forceFlush(),this.runCustomHandlers(r,e,i)?i.preventDefault():n(e,i))},Hp[r]),this.registeredEvents.push(r)}oe.chrome&&oe.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,oe.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,r){var n;let i;this.customHandlers=[];for(let s of r)if(i=(n=s.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:i});for(let o in i)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,a=>{wS(e,a)&&this.runCustomHandlers(o,e,a)&&a.preventDefault()}))}}runCustomHandlers(e,r,n){for(let i of this.customHandlers){let s=i.handlers[e];if(s)try{if(s.call(i.plugin,n,r)||n.defaultPrevented)return!0}catch(o){Pi(r.state,o)}}return!1}runScrollHandlers(e,r){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let i=n.handlers.scroll;if(i)try{i.call(n.plugin,r,e)}catch(s){Pi(e.state,s)}}}keydown(e,r){if(this.lastKeyCode=r.keyCode,this.lastKeyTime=Date.now(),r.keyCode==9&&Date.now()i.keyCode==r.keyCode))&&!r.ctrlKey||AA.indexOf(r.key)>-1&&r.ctrlKey&&!r.shiftKey)?(this.pendingIOSKey=n||r,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let r=this.pendingIOSKey;return r?(this.pendingIOSKey=void 0,xo(e.contentDOM,r.key,r.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:oe.safari&&!oe.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const vS=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],AA="dthko",RA=[16,17,18,20,91,92,224,225];class MA{constructor(e,r,n,i){this.view=e,this.style=n,this.mustSelect=i,this.lastEvent=r;let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=e.state.facet(Ue.allowMultipleSelections)&&jA(e,r),this.dragMove=DA(e,r),this.dragging=NA(e,r)&&kS(r)==1?null:!1,this.dragging===!1&&(r.preventDefault(),this.select(r))}move(e){if(e.buttons==0)return this.destroy();this.dragging===!1&&this.select(this.lastEvent=e)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(e){let r=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!r.eq(this.view.state.selection)||r.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:r,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function jA(t,e){let r=t.state.facet(Zw);return r.length?r[0](e):oe.mac?e.metaKey:e.ctrlKey}function DA(t,e){let r=t.state.facet(Fw);return r.length?r[0](e):oe.mac?!e.altKey:!e.ctrlKey}function NA(t,e){let{main:r}=t.state.selection;if(r.empty)return!1;let n=pu(t.root);if(!n||n.rangeCount==0)return!0;let i=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function wS(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let r=e.target,n;r!=t.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(n=Fe.get(r))&&n.ignoreEvent(e))return!1;return!0}const Qt=Object.create(null),Hp=Object.create(null),SS=oe.ie&&oe.ie_version<15||oe.ios&&oe.webkit_version<604;function IA(t){let e=t.dom.parentNode;if(!e)return;let r=e.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{t.focus(),r.remove(),bS(t,r.value)},50)}function bS(t,e){let{state:r}=t,n,i=1,s=r.toText(e),o=s.lines==r.selection.ranges.length;if(Yp!=null&&r.selection.ranges.every(a=>a.empty)&&Yp==s.toString()){let a=-1;n=r.changeByRange(l=>{let c=r.doc.lineAt(l.from);if(c.from==a)return{range:l};a=c.from;let u=r.toText((o?s.line(i++).text:e)+r.lineBreak);return{changes:{from:c.from,insert:u},range:ae.cursor(l.from+u.length)}})}else o?n=r.changeByRange(a=>{let l=s.line(i++);return{changes:{from:a.from,to:a.to,insert:l.text},range:ae.cursor(a.from+l.length)}}):n=r.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Qt.keydown=(t,e)=>{t.inputState.setSelectionOrigin("select"),e.keyCode==27?t.inputState.lastEscPress=Date.now():RA.indexOf(e.keyCode)<0&&(t.inputState.lastEscPress=0)},Qt.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},Qt.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},Hp.touchstart=Hp.touchmove={passive:!0},Qt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return;let r=null;for(let n of t.state.facet(Gw))if(r=n(t,e),r)break;if(!r&&e.button==0&&(r=zA(t,e)),r){let n=t.root.activeElement!=t.contentDOM;n&&t.observer.ignore(()=>Pw(t.contentDOM)),t.inputState.startMouseSelection(new MA(t,e,r,n))}};function TS(t,e,r,n){if(n==1)return ae.cursor(e,r);if(n==2)return TA(t.state,e,r);{let i=or.find(t.docView,e),s=t.state.doc.lineAt(i?i.posAtEnd:e),o=i?i.posAtStart:s.from,a=i?i.posAtEnd:s.to;return at>=e.top&&t<=e.bottom,xS=(t,e,r)=>QS(e,r)&&t>=r.left&&t<=r.right;function LA(t,e,r,n){let i=or.find(t.docView,e);if(!i)return 1;let s=e-i.posAtStart;if(s==0)return 1;if(s==i.length)return-1;let o=i.coordsAt(s,-1);if(o&&xS(r,n,o))return-1;let a=i.coordsAt(s,1);return a&&xS(r,n,a)?1:o&&QS(n,o)?-1:1}function $S(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:r,bias:LA(t,r,e.clientX,e.clientY)}}const VA=oe.ie&&oe.ie_version<=11;let _S=null,PS=0,CS=0;function kS(t){if(!VA)return t.detail;let e=_S,r=CS;return _S=t,CS=Date.now(),PS=!e||r>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(PS+1)%3:1}function zA(t,e){let r=$S(t,e),n=kS(e),i=t.state.selection,s=r,o=e;return{update(a){a.docChanged&&(r.pos=a.changes.mapPos(r.pos),i=i.map(a.changes),o=null)},get(a,l,c){let u;o&&a.clientX==o.clientX&&a.clientY==o.clientY?u=s:(u=s=$S(t,a),o=a);let h=TS(t,u.pos,u.bias,n);if(r.pos!=u.pos&&!l){let f=TS(t,r.pos,r.bias,n),d=Math.min(f.from,h.from),p=Math.max(f.to,h.to);h=d1&&i.ranges.some(f=>f.eq(h))?WA(i,h):c?i.addRange(h):ae.create([h])}}}function WA(t,e){for(let r=0;;r++)if(t.ranges[r].eq(e))return ae.create(t.ranges.slice(0,r).concat(t.ranges.slice(r+1)),t.mainIndex==r?0:t.mainIndex-(t.mainIndex>r?1:0))}Qt.dragstart=(t,e)=>{let{selection:{main:r}}=t.state,{mouseSelection:n}=t.inputState;n&&(n.dragging=r),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(r.from,r.to)),e.dataTransfer.effectAllowed="copyMove")};function ES(t,e,r,n){if(!r)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=t.inputState,o=n&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,a={from:i,insert:r},l=t.state.changes(o?[o,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:o?"move.drop":"input.drop"})}Qt.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let r=e.dataTransfer.files;if(r&&r.length){e.preventDefault();let n=Array(r.length),i=0,s=()=>{++i==r.length&&ES(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(n[o]=a.result),s()},a.readAsText(r[o])}}else ES(t,e,e.dataTransfer.getData("Text"),!0)},Qt.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let r=SS?null:e.clipboardData;r?(bS(t,r.getData("text/plain")),e.preventDefault()):IA(t)};function BA(t,e){let r=t.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function UA(t){let e=[],r=[],n=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),r.push(i));if(!e.length){let i=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>i&&(e.push(o.text),r.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),i=o.number}n=!0}return{text:e.join(t.lineBreak),ranges:r,linewise:n}}let Yp=null;Qt.copy=Qt.cut=(t,e)=>{let{text:r,ranges:n,linewise:i}=UA(t.state);if(!r&&!i)return;Yp=i?r:null;let s=SS?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",r)):BA(t,r),e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};function AS(t){setTimeout(()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])},10)}Qt.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),AS(t)},Qt.blur=t=>{t.observer.clearSelectionRange(),AS(t)},Qt.compositionstart=Qt.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)},Qt.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,oe.chrome&&oe.android&&t.observer.flushSoon(),setTimeout(()=>{t.inputState.composing<0&&t.docView.compositionDeco.size&&t.update([])},50)},Qt.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},Qt.beforeinput=(t,e)=>{var r;let n;if(oe.chrome&&oe.android&&(n=vS.find(i=>i.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let i=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}};const RS=["pre-wrap","normal","pre-line","break-spaces"];class XA{constructor(e){this.lineWrapping=e,this.doc=Ve.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,r){let n=this.doc.lineAt(r).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((r-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return RS.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let r=!1;for(let n=0;n-1,a=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=r,this.charWidth=n,this.lineLength=i,a){this.heightSamples={};for(let l=0;l0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,r){this.height!=r&&(Math.abs(this.height-r)>xu&&(e.heightChanged=!0),this.height=r)}replace(e,r,n){return lr.of(n)}decomposeLeft(e,r){r.push(this)}decomposeRight(e,r){r.push(this)}applyChanges(e,r,n,i){let s=this;for(let o=i.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:c,toB:u}=i[o],h=s.lineAt(a,Ge.ByPosNoHeight,r,0,0),f=h.to>=l?h:s.lineAt(l,Ge.ByPosNoHeight,r,0,0);for(u+=f.to-l,l=f.to;o>0&&h.from<=i[o-1].toA;)a=i[o-1].fromA,c=i[o-1].fromB,o--,as*2){let a=e[r-1];a.break?e.splice(--r,1,a.left,null,a.right):e.splice(--r,1,a.left,a.right),n+=1+a.break,i-=a.size}else if(s>i*2){let a=e[n];a.break?e.splice(n,1,a.left,null,a.right):e.splice(n,1,a.left,a.right),n+=2+a.break,s-=a.size}else break;else if(i=s&&o(this.blockAt(0,n,i,s))}updateHeight(e,r=0,n=!1,i){return i&&i.from<=r&&i.more&&this.setHeight(e,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Mr extends MS{constructor(e,r){super(e,r,wt.Text),this.collapsed=0,this.widgetHeight=0}replace(e,r,n){let i=n[0];return n.length==1&&(i instanceof Mr||i instanceof Mt&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof Mt?i=new Mr(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):lr.of(n)}updateHeight(e,r=0,n=!1,i){return i&&i.from<=r&&i.more?this.setHeight(e,i.heights[i.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Mt extends lr{constructor(e){super(e,0)}lines(e,r){let n=e.lineAt(r).number,i=e.lineAt(r+this.length).number;return{firstLine:n,lastLine:i,lineHeight:this.height/(i-n+1)}}blockAt(e,r,n,i){let{firstLine:s,lastLine:o,lineHeight:a}=this.lines(r,i),l=Math.max(0,Math.min(o-s,Math.floor((e-n)/a))),{from:c,length:u}=r.line(s+l);return new ki(c,u,n+a*l,a,wt.Text)}lineAt(e,r,n,i,s){if(r==Ge.ByHeight)return this.blockAt(e,n,i,s);if(r==Ge.ByPosNoHeight){let{from:h,to:f}=n.lineAt(e);return new ki(h,f-h,0,0,wt.Text)}let{firstLine:o,lineHeight:a}=this.lines(n,s),{from:l,length:c,number:u}=n.lineAt(e);return new ki(l,c,i+a*(u-o),a,wt.Text)}forEachLine(e,r,n,i,s,o){let{firstLine:a,lineHeight:l}=this.lines(n,s);for(let c=Math.max(e,s),u=Math.min(s+this.length,r);c<=u;){let h=n.lineAt(c);c==e&&(i+=l*(h.number-a)),o(new ki(h.from,h.length,i,l,wt.Text)),i+=l,c=h.to+1}}replace(e,r,n){let i=this.length-r;if(i>0){let s=n[n.length-1];s instanceof Mt?n[n.length-1]=new Mt(s.length+i):n.push(null,new Mt(i-1))}if(e>0){let s=n[0];s instanceof Mt?n[0]=new Mt(e+s.length):n.unshift(new Mt(e-1),null)}return lr.of(n)}decomposeLeft(e,r){r.push(new Mt(e-1),null)}decomposeRight(e,r){r.push(null,new Mt(this.length-e-1))}updateHeight(e,r=0,n=!1,i){let s=r+this.length;if(i&&i.from<=r+this.length&&i.more){let o=[],a=Math.max(r,i.from),l=-1,c=e.heightChanged;for(i.from>r&&o.push(new Mt(i.from-r-1).updateHeight(e,r));a<=s&&i.more;){let h=e.doc.lineAt(a).length;o.length&&o.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=xu&&(l=-2);let d=new Mr(h,f);d.outdated=!1,o.push(d),a+=h+1}a<=s&&o.push(null,new Mt(s-a).updateHeight(e,a));let u=lr.of(o);return e.heightChanged=c||l<0||Math.abs(u.height-this.height)>=xu||Math.abs(l-this.lines(e.doc,r).lineHeight)>=xu,u}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class ZA extends lr{constructor(e,r,n){super(e.length+r+n.length,e.height+n.height,r|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,r,n,i){let s=n+this.left.height;return ea))return c;let u=r==Ge.ByPosNoHeight?Ge.ByPosNoHeight:Ge.ByPos;return l?c.join(this.right.lineAt(a,u,n,o,a)):this.left.lineAt(a,u,n,i,s).join(c)}forEachLine(e,r,n,i,s,o){let a=i+this.left.height,l=s+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,r,n,a,l,o);else{let c=this.lineAt(l,Ge.ByPos,n,i,s);e=e&&c.from<=r&&o(c),r>c.to&&this.right.forEachLine(c.to+1,r,n,a,l,o)}}replace(e,r,n){let i=this.left.length+this.break;if(rthis.left.length)return this.balanced(this.left,this.right.replace(e-i,r-i,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let a of n)s.push(a);if(e>0&&jS(s,o-1),r=n&&r.push(null)),e>n&&this.right.decomposeLeft(e-n,r)}decomposeRight(e,r){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,r);e2*r.size||r.size>2*e.size?lr.of(this.break?[e,null,r]:[e,r]):(this.left=e,this.right=r,this.height=e.height+r.height,this.outdated=e.outdated||r.outdated,this.size=e.size+r.size,this.length=e.length+this.break+r.length,this)}updateHeight(e,r=0,n=!1,i){let{left:s,right:o}=this,a=r+s.length+this.break,l=null;return i&&i.from<=r+s.length&&i.more?l=s=s.updateHeight(e,r,n,i):s.updateHeight(e,r,n),i&&i.from<=a+o.length&&i.more?l=o=o.updateHeight(e,a,n,i):o.updateHeight(e,a,n),l?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function jS(t,e){let r,n;t[e]==null&&(r=t[e-1])instanceof Mt&&(n=t[e+1])instanceof Mt&&t.splice(e-1,3,new Mt(r.length+1+n.length))}const FA=5;class Kp{constructor(e,r){this.pos=e,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,r){if(this.lineStart>-1){let n=Math.min(r,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Mr?i.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Mr(n-this.pos,-1)),this.writtenTo=n,r>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(e,r,n){if(e=FA)&&this.addLineDeco(i,s)}else r>e&&this.span(e,r);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=r,this.writtenToe&&this.nodes.push(new Mr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,r){let n=new Mt(r-e);return this.oracle.doc.lineAt(e).to==r&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Mr)return e;let r=new Mr(0,-1);return this.nodes.push(r),r}addBlock(e){this.enterLine(),e.type==wt.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=wt.WidgetBefore&&(this.covering=e)}addLineDeco(e,r){let n=this.ensureLine();n.length+=r,n.collapsed+=r,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+r}finish(e){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof Mr)&&!this.isCovered?this.nodes.push(new Mr(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&h.overflow!="visible"){let f=u.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),a=Math.max(a,f.top),l=c==t.parentNode?f.bottom:Math.min(l,f.bottom)}c=h.position=="absolute"||h.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-r.left,right:Math.max(s,o)-r.left,top:a-(r.top+e),bottom:Math.max(a,l)-(r.top+e)}}function KA(t,e){let r=t.getBoundingClientRect();return{left:0,right:r.right-r.left,top:e,bottom:r.bottom-(r.top+e)}}class Jp{constructor(e,r,n){this.from=e,this.to=r,this.size=n}static same(e,r){if(e.length!=r.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new XA(r),this.stateDeco=e.facet(il).filter(n=>typeof n!="function"),this.heightMap=lr.empty().applyChanges(this.stateDeco,Ve.empty,this.heightOracle.setDoc(e.doc),[new wn(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Rt.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:r}=this.state.selection;for(let n=0;n<=1;n++){let i=n?r.head:r.anchor;if(!e.some(({from:s,to:o})=>i>=s&&i<=o)){let{from:s,to:o}=this.lineBlockAt(i);e.push(new $u(s,o))}}this.viewports=e.sort((n,i)=>n.from-i.from),this.scaler=this.heightMap.height<=7e6?NS:new rR(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:ol(e,this.scaler))})}update(e,r=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(il).filter(c=>typeof c!="function");let i=e.changedRanges,s=wn.extendWithRanges(i,GA(n,this.stateDeco,e?e.changes:bt.empty(this.state.doc.length))),o=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(r&&(r.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,r));let l=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),l&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(aA)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let r=e.contentDOM,n=window.getComputedStyle(r),i=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?ar.RTL:ar.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=o||this.mustMeasureContent||this.contentDOMHeight!=r.clientHeight;this.contentDOMHeight=r.clientHeight,this.mustMeasureContent=!1;let l=0,c=0,u=parseInt(n.paddingTop)||0,h=parseInt(n.paddingBottom)||0;(this.paddingTop!=u||this.paddingBottom!=h)&&(this.paddingTop=u,this.paddingBottom=h,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8);let f=(this.printing?KA:YA)(r,this.paddingTop),d=f.top-this.pixelViewport.top,p=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let y=r.clientWidth;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=y,this.editorHeight=e.scrollDOM.clientHeight,l|=8),a){let m=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(m)&&(o=!0),o||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:v,charWidth:b}=e.docView.measureTextSize();o=v>0&&i.refresh(s,v,b,y/b,m),o&&(e.docView.minWidth=0,l|=8)}d>0&&p>0?c=Math.max(d,p):d<0&&p<0&&(c=Math.min(d,p)),i.heightChanged=!1;for(let v of this.viewports){let b=v.from==this.viewport.from?m:e.docView.measureVisibleLineHeights(v);this.heightMap=(o?lr.empty().applyChanges(this.stateDeco,Ve.empty,this.heightOracle,[new wn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,o,new qA(v.from,b))}i.heightChanged&&(l|=2)}let g=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return g&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(l&2||g)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,r){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,s=this.state.doc,{visibleTop:o,visibleBottom:a}=this,l=new $u(i.lineAt(o-n*1e3,Ge.ByHeight,s,0,0).from,i.lineAt(a+(1-n)*1e3,Ge.ByHeight,s,0,0).to);if(r){let{head:c}=r.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=i.lineAt(c,Ge.ByPos,s,0,0),f;r.y=="center"?f=(h.top+h.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c=a+Math.max(10,Math.min(n,250)))&&i>o-2e3&&s>1,o=i<<1;if(this.defaultTextDirection!=ar.LTR&&!n)return[];let a=[],l=(c,u,h,f)=>{if(u-cc&&yy.from>=h.from&&y.to<=h.to&&Math.abs(y.from-c)y.fromg));if(!O){if(uy.from<=u&&y.to>=u)){let y=r.moveToLineBoundary(ae.cursor(u),!1,!0).head;y>c&&(u=y)}O=new Jp(c,u,this.gapSize(h,c,u,f))}a.push(O)};for(let c of this.viewportLines){if(c.lengthc.from&&l(c.from,f,c,u),dr.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let r=[];gt.spans(e,this.viewport.from,this.viewport.to,{span(i,s){r.push({from:i,to:s})},point(){}},20);let n=r.length!=this.visibleRanges.length||this.visibleRanges.some((i,s)=>i.from!=r[s].from||i.to!=r[s].to);return this.visibleRanges=r,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(r=>r.from<=e&&r.to>=e)||ol(this.heightMap.lineAt(e,Ge.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return ol(this.heightMap.lineAt(this.scaler.fromDOM(e),Ge.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return ol(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class $u{constructor(e,r){this.from=e,this.to=r}}function eR(t,e,r){let n=[],i=t,s=0;return gt.spans(r,t,e,{span(){},point(o,a){o>i&&(n.push({from:i,to:o}),s+=o-i),i=a}},20),i=1)return e[e.length-1].to;let n=Math.floor(t*r);for(let i=0;;i++){let{from:s,to:o}=e[i],a=o-s;if(n<=a)return s+n;n-=a}}function Pu(t,e){let r=0;for(let{from:n,to:i}of t.ranges){if(e<=i){r+=e-n;break}r+=i-n}return r/t.total}function tR(t,e){for(let r of t)if(e(r))return r}const NS={toDOM(t){return t},fromDOM(t){return t},scale:1};class rR{constructor(e,r,n){let i=0,s=0,o=0;this.viewports=n.map(({from:a,to:l})=>{let c=r.lineAt(a,Ge.ByPos,e,0,0).top,u=r.lineAt(l,Ge.ByPos,e,0,0).bottom;return i+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(r.height-i);for(let a of this.viewports)a.domTop=o+(a.top-s)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(e){for(let r=0,n=0,i=0;;r++){let s=rol(i,e)):t.type)}const Cu=_e.define({combine:t=>t.join(" ")}),eO=_e.define({combine:t=>t.indexOf(!0)>-1}),tO=wo.newName(),IS=wo.newName(),LS=wo.newName(),VS={"&light":"."+IS,"&dark":"."+LS};function rO(t,e,r){return new wo(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,i=>{if(i=="&")return t;if(!r||!r[i])throw new RangeError(`Unsupported selector: ${i}`);return r[i]}):t+" "+n}})}const nR=rO("."+tO,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},VS);class iR{constructor(e,r,n,i){this.typeOver=i,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=e.docView.domBoundsAround(r,n,0))){let a=s||o?[]:oR(e),l=new oS(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=aR(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!bo(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=o&&o.node==a.anchorNode&&o.offset==a.anchorOffset||!bo(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset);this.newSel=ae.single(c,l)}}}function zS(t,e){let r,{newSel:n}=e,i=t.state.selection.main;if(e.bounds){let{from:s,to:o}=e.bounds,a=i.from,l=null;(t.inputState.lastKeyCode===8&&t.inputState.lastKeyTime>Date.now()-100||oe.android&&e.text.length=i.from&&r.to<=i.to&&(r.from!=i.from||r.to!=i.to)&&i.to-i.from-(r.to-r.from)<=4?r={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,i.to))}:(oe.mac||oe.android)&&r&&r.from==r.to&&r.from==i.head-1&&/^\. ?$/.test(r.insert.toString())?(n&&r.insert.length==2&&(n=ae.single(n.main.anchor-1,n.main.head-1)),r={from:i.from,to:i.to,insert:Ve.of([" "])}):oe.chrome&&r&&r.from==r.to&&r.from==i.head&&r.insert.toString()==` - `&&t.lineWrapping&&(n&&(n=ae.single(n.main.anchor-1,n.main.head-1)),r={from:i.from,to:i.to,insert:Ve.of([" "])}),r){let s=t.state;if(oe.ios&&t.inputState.flushIOSKey(t)||oe.android&&(r.from==i.from&&r.to==i.to&&r.insert.length==1&&r.insert.lines==2&&xo(t.contentDOM,"Enter",13)||r.from==i.from-1&&r.to==i.to&&r.insert.length==0&&xo(t.contentDOM,"Backspace",8)||r.from==i.from&&r.to==i.to+1&&r.insert.length==0&&xo(t.contentDOM,"Delete",46)))return!0;let o=r.insert.toString();if(t.state.facet(Yw).some(c=>c(t,r.from,r.to,o)))return!0;t.inputState.composing>=0&&t.inputState.composing++;let a;if(r.from>=i.from&&r.to<=i.to&&r.to-r.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==r.from+r.insert.length)&&t.inputState.composing<0){let c=i.fromr.to?s.sliceDoc(r.to,i.to):"";a=s.replaceSelection(t.state.toText(c+r.insert.sliceString(0,void 0,t.state.lineBreak)+u))}else{let c=s.changes(r),u=n&&!s.selection.main.eq(n.main)&&n.main.to<=c.newLength?n.main:void 0;if(s.selection.ranges.length>1&&t.inputState.composing>=0&&r.to<=i.to&&r.to>=i.to-10){let h=t.state.sliceDoc(r.from,r.to),f=hS(t)||t.state.doc.lineAt(i.head),d=i.to-r.to,p=i.to-i.from;a=s.changeByRange(O=>{if(O.from==i.from&&O.to==i.to)return{changes:c,range:u||O.map(c)};let y=O.to-d,g=y-h.length;if(O.to-O.from!=p||t.state.sliceDoc(g,y)!=h||f&&O.to>=f.from&&O.from<=f.to)return{range:O};let m=s.changes({from:g,to:y,insert:r.insert}),v=O.to-i.to;return{changes:m,range:u?ae.range(Math.max(0,u.anchor+v),Math.max(0,u.head+v)):O.map(m)}})}else a={changes:c,selection:u&&s.selection.replaceRange(u)}}let l="input.type";return t.composing&&(l+=".compose",t.inputState.compositionFirstChange&&(l+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(a,{scrollIntoView:!0,userEvent:l}),!0}else if(n&&!n.main.eq(i)){let s=!1,o="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),o=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:s,userEvent:o}),!0}else return!1}function sR(t,e,r,n){let i=Math.min(t.length,e.length),s=0;for(;s0&&a>0&&t.charCodeAt(o-1)==e.charCodeAt(a-1);)o--,a--;if(n=="end"){let l=Math.max(0,s-Math.min(o,a));r-=o+l-s}return o=o?s-r:0,a=s+(a-o),o=s):a=a?s-r:0,o=s+(o-a),a=s),{from:s,toA:o,toB:a}}function oR(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:r,anchorOffset:n,focusNode:i,focusOffset:s}=t.observer.selectionRange;return r&&(e.push(new lS(r,n)),(i!=r||s!=n)&&e.push(new lS(i,s))),e}function aR(t,e){if(t.length==0)return null;let r=t[0].pos,n=t.length==2?t[1].pos:r;return r>-1&&n>-1?ae.single(r+e,n+e):null}const lR={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},nO=oe.ie&&oe.ie_version<=11;class cR{constructor(e){this.view=e,this.active=!1,this.selectionRange=new eA,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let n of r)this.queue.push(n);(oe.ie&&oe.ie_version<=11||oe.ios&&e.composing)&&r.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),nO&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((r,n)=>r!=e[n]))){this.gapIntersection.disconnect();for(let r of e)this.gapIntersection.observe(r);this.gaps=e}}onSelectionChange(e){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Tu)?n.root.activeElement!=this.dom:!Ou(n.dom,i))return;let s=i.anchorNode&&n.docView.nearest(i.anchorNode);if(s&&s.ignoreEvent(e)){r||(this.selectionChanged=!1);return}(oe.ie&&oe.ie_version<=11||oe.android&&oe.chrome)&&!n.state.selection.main.empty&&i.focusNode&&gu(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,r=oe.safari&&e.root.nodeType==11&&YE(this.dom.ownerDocument)==this.dom&&uR(this.view)||pu(e.root);if(!r||this.selectionRange.eq(r))return!1;let n=Ou(this.dom,r);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),!this.flush()&&s.force&&xo(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:r,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let e=this.queue;for(let s of this.observer.takeRecords())e.push(s);e.length&&(this.queue=[]);let r=-1,n=-1,i=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(i=!0),r==-1?{from:r,to:n}=o:(r=Math.min(o.from,r),n=Math.max(o.to,n)))}return{from:r,to:n,typeOver:i}}readChange(){let{from:e,to:r,typeOver:n}=this.processRecords(),i=this.selectionChanged&&Ou(this.dom,this.selectionRange);return e<0&&!i?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new iR(this.view,e,r,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let r=this.readChange();if(!r)return!1;let n=this.view.state,i=zS(this.view,r);return this.view.state==n&&this.view.update([]),i}readMutation(e){let r=this.view.docView.nearest(e.target);if(!r||r.ignoreMutation(e))return null;if(r.markDirty(e.type=="attributes"),e.type=="attributes"&&(r.dirty|=4),e.type=="childList"){let n=WS(r,e.previousSibling||e.target.previousSibling,-1),i=WS(r,e.nextSibling||e.target.nextSibling,1);return{from:n?r.posAfter(n):r.posAtStart,to:i?r.posBefore(i):r.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,r,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(n=this.resize)===null||n===void 0||n.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function WS(t,e,r){for(;e;){let n=Fe.get(e);if(n&&n.parent==t)return n;let i=e.parentNode;e=i!=t.dom?i:r>0?e.nextSibling:e.previousSibling}return null}function uR(t){let e=null;function r(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),!e)return null;let n=e.startContainer,i=e.startOffset,s=e.endContainer,o=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return gu(a.node,a.offset,s,o)&&([n,i,s,o]=[s,o,n,i]),{anchorNode:n,anchorOffset:i,focusNode:s,focusOffset:o}}class dt{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(r=>this.update([r])),this.dispatch=this.dispatch.bind(this),this._root=e.root||tA(e.parent)||document,this.viewState=new DS(e.state||Ue.create(e)),this.plugins=this.state.facet(rl).map(r=>new Bp(r));for(let r of this.plugins)r.update(this);this.observer=new cR(this),this.inputState=new EA(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new cS(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof Zt?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,n=!1,i,s=this.state;for(let c of e){if(c.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=c.state}if(this.destroyed){this.viewState.state=s;return}let o=this.observer.delayedAndroidKey,a=null;if(o?(this.observer.clearDelayedAndroidKey(),a=this.observer.readChange(),(a&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(a=null)):this.observer.clear(),s.facet(Ue.phrases)!=this.state.facet(Ue.phrases))return this.setState(s);i=Qu.create(this,s,e);let l=this.viewState.scrollTarget;try{this.updateState=2;for(let c of e){if(l&&(l=l.map(c.changes)),c.scrollIntoView){let{main:u}=c.state.selection;l=new bu(u.empty?u:ae.cursor(u.head,u.head>u.anchor?-1:1))}for(let u of c.effects)u.is(Jw)&&(l=u.value)}this.viewState.update(i,l),this.bidiCache=ku.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),r=this.docView.update(i),this.state.facet(sl)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(c=>c.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(Cu)!=i.state.facet(Cu)&&(this.viewState.mustMeasureContent=!0),(r||n||l||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!i.empty)for(let c of this.state.facet(Wp))c(i);a&&!zS(this,a)&&o.force&&xo(this.contentDOM,o.key,o.keyCode)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let r=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new DS(e),this.plugins=e.facet(rl).map(n=>new Bp(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new cS(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(e){let r=e.startState.facet(rl),n=e.state.facet(rl);if(r!=n){let i=[];for(let s of n){let o=r.indexOf(s);if(o<0)i.push(new Bp(s));else{let a=this.plugins[o];a.mustUpdate=e,i.push(a)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let r=null,{scrollHeight:n,scrollTop:i,clientHeight:s}=this.scrollDOM,o=i>n-s-4?n:i;try{for(let a=0;;a++){this.updateState=1;let l=this.viewport,c=this.viewState.lineBlockAtHeight(o),u=this.viewState.measure(this);if(!u&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let h=[];u&4||([this.measureRequests,h]=[h,this.measureRequests]);let f=h.map(y=>{try{return y.read(this)}catch(g){return Pi(this.state,g),BS}}),d=Qu.create(this,this.state,[]),p=!1,O=!1;d.flags|=u,r?r.flags|=u:r=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),p=this.docView.update(d));for(let y=0;y1||y<-1)&&(this.scrollDOM.scrollTop+=y,O=!0)}if(p&&this.docView.updateSelection(!0),this.viewport.from==l.from&&this.viewport.to==l.to&&!O&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let a of this.state.facet(Wp))a(r)}get themeClasses(){return tO+" "+(this.state.facet(eO)?LS:IS)+" "+this.state.facet(Cu)}updateAttrs(){let e=US(this,eS,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Tu)?"true":"false",class:"cm-content",style:`${oe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),US(this,Up,r);let n=this.observer.ignore(()=>{let i=Lp(this.contentDOM,this.contentAttrs,r),s=Lp(this.dom,this.editorAttrs,e);return i||s});return this.editorAttrs=e,this.contentAttrs=r,n}showAnnouncements(e){let r=!0;for(let n of e)for(let i of n.effects)if(i.is(dt.announce)){r&&(this.announceDOM.textContent=""),r=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(sl),wo.mount(this.root,this.styleModules.concat(nR).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(e.key!=null){for(let r=0;rn.spec==e)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,r,n){return Gp(this,e,yS(this,e,r,n))}moveByGroup(e,r){return Gp(this,e,yS(this,e,r,n=>CA(this,e.head,n)))}moveToLineBoundary(e,r,n=!0){return PA(this,e,r,n)}moveVertically(e,r,n){return Gp(this,e,kA(this,e,r,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,r=0){return this.docView.posFromDOM(e,r)}posAtCoords(e,r=!0){return this.readMeasured(),gS(this,e,r)}coordsAtPos(e,r=1){this.readMeasured();let n=this.docView.coordsAt(e,r);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i),o=s[_o.find(s,e-i.from,-1,r)];return Cp(n,o.dir==ar.LTR==r>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Kw)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>hR)return iS(e.length);let r=this.textDirectionAt(e.from);for(let i of this.bidiCache)if(i.from==e.from&&i.dir==r)return i.order;let n=pA(e.text,r);return this.bidiCache.push(new ku(e.from,e.to,r,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||oe.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Pw(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,r={}){return Jw.of(new bu(typeof e=="number"?ae.cursor(e):e,r.y,r.x,r.yMargin,r.xMargin))}static domEventHandlers(e){return nl.define(()=>({}),{eventHandlers:e})}static theme(e,r){let n=wo.newName(),i=[Cu.of(n),sl.of(rO(`.${n}`,e))];return r&&r.dark&&i.push(eO.of(!0)),i}static baseTheme(e){return DE.lowest(sl.of(rO("."+tO,e,VS)))}static findFromDOM(e){var r;let n=e.querySelector(".cm-content"),i=n&&Fe.get(n)||Fe.get(e);return((r=i==null?void 0:i.rootView)===null||r===void 0?void 0:r.view)||null}}dt.styleModule=sl,dt.inputHandler=Yw,dt.perLineTextDirection=Kw,dt.exceptionSink=Hw,dt.updateListener=Wp,dt.editable=Tu,dt.mouseSelectionStyle=Gw,dt.dragMovesSelection=Fw,dt.clickAddsSelectionRange=Zw,dt.decorations=il,dt.atomicRanges=tS,dt.scrollMargins=rS,dt.darkTheme=eO,dt.contentAttributes=Up,dt.editorAttributes=eS,dt.lineWrapping=dt.contentAttributes.of({class:"cm-lineWrapping"}),dt.announce=Tt.define();const hR=4096,BS={};class ku{constructor(e,r,n,i){this.from=e,this.to=r,this.dir=n,this.order=i}static update(e,r){if(r.empty)return e;let n=[],i=e.length?e[e.length-1].dir:ar.LTR;for(let s=Math.max(0,e.length-10);s=0;i--){let s=n[i],o=typeof s=="function"?s(t):s;o&&Np(o,r)}return r}class Po extends Ps{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Po.prototype.elementClass="",Po.prototype.toDOM=void 0,Po.prototype.mapMode=Ar.TrackBefore,Po.prototype.startSide=Po.prototype.endSide=-1,Po.prototype.point=!0;const XS=1024;let fR=0;class Xr{constructor(e,r){this.from=e,this.to=r}}class Me{constructor(e={}){this.id=fR++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=cr.match(e)),r=>{let n=e(r);return n===void 0?null:[this,n]}}}Me.closedBy=new Me({deserialize:t=>t.split(" ")}),Me.openedBy=new Me({deserialize:t=>t.split(" ")}),Me.group=new Me({deserialize:t=>t.split(" ")}),Me.contextHash=new Me({perNode:!0}),Me.lookAhead=new Me({perNode:!0}),Me.mounted=new Me({perNode:!0});class dR{constructor(e,r,n){this.tree=e,this.overlay=r,this.parser=n}}const pR=Object.create(null);class cr{constructor(e,r,n,i=0){this.name=e,this.props=r,this.id=n,this.flags=i}static define(e){let r=e.props&&e.props.length?Object.create(null):pR,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new cr(e.name||"",r,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[s[0].id]=s[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let r=this.prop(Me.group);return r?r.indexOf(e)>-1:!1}return this.id==e}static match(e){let r=Object.create(null);for(let n in e)for(let i of n.split(" "))r[i]=e[n];return n=>{for(let i=n.prop(Me.group),s=-1;s<(i?i.length:0);s++){let o=r[s<0?n.name:i[s]];if(o)return o}}}}cr.none=new cr("",Object.create(null),0,8);class iO{constructor(e){this.types=e;for(let r=0;r=i&&(o.type.isAnonymous||r(o)!==!1)){if(o.firstChild())continue;a=!0}for(;a&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let r in this.props)e.push([+r,this.props[r]]);return e}balance(e={}){return this.children.length<=8?this:aO(cr.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,i)=>new rt(this.type,r,n,i,this.propValues),e.makeTree||((r,n,i)=>new rt(cr.none,r,n,i)))}static build(e){return gR(e)}}rt.empty=new rt(cr.none,[],[],0);class sO{constructor(e,r){this.buffer=e,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new sO(this.buffer,this.index)}}class Es{constructor(e,r,n){this.buffer=e,this.length=r,this.set=n}get type(){return cr.none}toString(){let e=[];for(let r=0;r0));l=o[l+3]);return a}slice(e,r,n,i){let s=this.buffer,o=new Uint16Array(r-e);for(let a=e,l=0;a=e&&re;case 1:return r<=e&&n>e;case 2:return n>e;case 4:return!0}}function FS(t,e){let r=t.childBefore(e);for(;r;){let n=r.lastChild;if(!n||n.to!=r.to)break;n.type.isError&&n.from==n.to?(t=r,r=n.prevSibling):r=n}return t}function Co(t,e,r,n){for(var i;t.from==t.to||(r<1?t.from>=e:t.from>e)||(r>-1?t.to<=e:t.to0?a.length:-1;e!=c;e+=r){let u=a[e],h=l[e]+o.from;if(ZS(i,n,h,h+u.length)){if(u instanceof Es){if(s&tt.ExcludeBuffers)continue;let f=u.findChild(0,u.buffer.length,r,n-h,i);if(f>-1)return new Ei(new OR(o,u,e,h),null,f)}else if(s&tt.IncludeAnonymous||!u.type.isAnonymous||oO(u)){let f;if(!(s&tt.IgnoreMounts)&&u.props&&(f=u.prop(Me.mounted))&&!f.overlay)return new bn(f.tree,h,e,o);let d=new bn(u,h,e,o);return s&tt.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(r<0?u.children.length-1:0,r,n,i)}}}if(s&tt.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+r:e=r<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,r,n=0){let i;if(!(n&tt.IgnoreOverlays)&&(i=this._tree.prop(Me.mounted))&&i.overlay){let s=e-this.from;for(let{from:o,to:a}of i.overlay)if((r>0?o<=s:o=s:a>s))return new bn(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new al(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,r=0){return Co(this,e,r,!1)}resolveInner(e,r=0){return Co(this,e,r,!0)}enterUnfinishedNodesBefore(e){return FS(this,e)}getChild(e,r=null,n=null){let i=Au(this,e,r,n);return i.length?i[0]:null}getChildren(e,r=null,n=null){return Au(this,e,r,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Ru(this,e)}}function Au(t,e,r,n){let i=t.cursor(),s=[];if(!i.firstChild())return s;if(r!=null){for(;!i.type.is(r);)if(!i.nextSibling())return s}for(;;){if(n!=null&&i.type.is(n))return s;if(i.type.is(e)&&s.push(i.node),!i.nextSibling())return n==null?s:[]}}function Ru(t,e,r=e.length-1){for(let n=t.parent;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[r]&&e[r]!=n.name)return!1;r--}}return!0}class OR{constructor(e,r,n,i){this.parent=e,this.buffer=r,this.index=n,this.start=i}}class Ei{constructor(e,r,n){this.context=e,this._parent=r,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,r,n){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],e,r-this.context.start,n);return s<0?null:new Ei(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,r,n=0){if(n&tt.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);return s<0?null:new Ei(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,r=e.buffer[this.index+3];return r<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Ei(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new Ei(this.context,this._parent,e.findChild(r,this.index,-1,0,4))}cursor(e=0){return new al(this,e)}get tree(){return null}toTree(){let e=[],r=[],{buffer:n}=this.context,i=this.index+4,s=n.buffer[this.index+3];if(s>i){let o=n.buffer[this.index+1],a=n.buffer[this.index+2];e.push(n.slice(i,s,o,a)),r.push(0)}return new rt(this.type,e,r,this.to-this.from)}resolve(e,r=0){return Co(this,e,r,!1)}resolveInner(e,r=0){return Co(this,e,r,!0)}enterUnfinishedNodesBefore(e){return FS(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,r=null,n=null){let i=Au(this,e,r,n);return i.length?i[0]:null}getChildren(e,r=null,n=null){return Au(this,e,r,n)}get node(){return this}matchContext(e){return Ru(this,e)}}class al{constructor(e,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof bn)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,r){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=r||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return e?e instanceof bn?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,r,n,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],e,r-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,r,n=this.mode){return this.buffer?n&tt.ExcludeBuffers?!1:this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&tt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&tt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(r.findChild(i,this.index,-1,0,4))}else{let i=r.buffer[this.index+3];if(i<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let r,n,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let s=r+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let a=n._tree.children[s];if(this.mode&tt.IncludeAnonymous||a instanceof Es||!a.type.isAnonymous||oO(a))return!1}return!0}move(e,r){if(r&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,r=0){for(;(this.from==this.to||(r<1?this.from>=e:this.from>e)||(r>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==i){if(i==this.index)return o;r=o,n=s+1;break e}i=this.stack[--s]}}for(let i=n;i=0;s--){if(s<0)return Ru(this.node,e,i);let o=n[r.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[i]&&e[i]!=o.name)return!1;i--}}return!0}}function oO(t){return t.children.some(e=>e instanceof Es||!e.type.isAnonymous||oO(e))}function gR(t){var e;let{buffer:r,nodeSet:n,maxBufferLength:i=XS,reused:s=[],minRepeatType:o=n.types.length}=t,a=Array.isArray(r)?new sO(r,r.length):r,l=n.types,c=0,u=0;function h(b,x,w,$,T){let{id:C,start:A,end:_,size:P}=a,k=u;for(;P<0;)if(a.next(),P==-1){let B=s[C];w.push(B),$.push(A-b);return}else if(P==-3){c=C;return}else if(P==-4){u=C;return}else throw new RangeError(`Unrecognized record size: ${P}`);let E=l[C],N,D,X=A-b;if(_-A<=i&&(D=O(a.pos-x,T))){let B=new Uint16Array(D.size-D.skip),G=a.pos-D.size,J=B.length;for(;a.pos>G;)J=y(D.start,B,J);N=new Es(B,_-D.start,n),X=D.start-b}else{let B=a.pos-P;a.next();let G=[],J=[],re=C>=o?C:-1,ce=0,de=_;for(;a.pos>B;)re>=0&&a.id==re&&a.size>=0?(a.end<=de-i&&(d(G,J,A,ce,a.end,de,re,k),ce=G.length,de=a.end),a.next()):h(A,B,G,J,re);if(re>=0&&ce>0&&ce-1&&ce>0){let ye=f(E);N=aO(E,G,J,0,G.length,0,_-A,ye,ye)}else N=p(E,G,J,_-A,k-_)}w.push(N),$.push(X)}function f(b){return(x,w,$)=>{let T=0,C=x.length-1,A,_;if(C>=0&&(A=x[C])instanceof rt){if(!C&&A.type==b&&A.length==$)return A;(_=A.prop(Me.lookAhead))&&(T=w[C]+A.length+_)}return p(b,x,w,$,T)}}function d(b,x,w,$,T,C,A,_){let P=[],k=[];for(;b.length>$;)P.push(b.pop()),k.push(x.pop()+w-T);b.push(p(n.types[A],P,k,C-T,_-C)),x.push(T-w)}function p(b,x,w,$,T=0,C){if(c){let A=[Me.contextHash,c];C=C?[A].concat(C):[A]}if(T>25){let A=[Me.lookAhead,T];C=C?[A].concat(C):[A]}return new rt(b,x,w,$,C)}function O(b,x){let w=a.fork(),$=0,T=0,C=0,A=w.end-i,_={size:0,start:0,skip:0};e:for(let P=w.pos-b;w.pos>P;){let k=w.size;if(w.id==x&&k>=0){_.size=$,_.start=T,_.skip=C,C+=4,$+=4,w.next();continue}let E=w.pos-k;if(k<0||E=o?4:0,D=w.start;for(w.next();w.pos>E;){if(w.size<0)if(w.size==-3)N+=4;else break e;else w.id>=o&&(N+=4);w.next()}T=D,$+=k,C+=N}return(x<0||$==b)&&(_.size=$,_.start=T,_.skip=C),_.size>4?_:void 0}function y(b,x,w){let{id:$,start:T,end:C,size:A}=a;if(a.next(),A>=0&&$4){let P=a.pos-(A-4);for(;a.pos>P;)w=y(b,x,w)}x[--w]=_,x[--w]=C-b,x[--w]=T-b,x[--w]=$}else A==-3?c=$:A==-4&&(u=$);return w}let g=[],m=[];for(;a.pos>0;)h(t.start||0,t.bufferStart||0,g,m,-1);let v=(e=t.length)!==null&&e!==void 0?e:g.length?m[0]+g[0].length:0;return new rt(l[t.topID],g.reverse(),m.reverse(),v)}const GS=new WeakMap;function Mu(t,e){if(!t.isAnonymous||e instanceof Es||e.type!=t)return 1;let r=GS.get(e);if(r==null){r=1;for(let n of e.children){if(n.type!=t||!(n instanceof rt)){r=1;break}r+=Mu(t,n)}GS.set(e,r)}return r}function aO(t,e,r,n,i,s,o,a,l){let c=0;for(let p=n;p=u)break;w+=$}if(v==b+1){if(w>u){let $=p[b];d($.children,$.positions,0,$.children.length,O[b]+m);continue}h.push(p[b])}else{let $=O[v-1]+p[v-1].length-x;h.push(aO(t,p,O,b,v,x,$,null,l))}f.push(x+m-s)}}return d(e,r,n,i,0),(a||l)(h,f,o)}class Xn{constructor(e,r,n,i,s=!1,o=!1){this.from=e,this.to=r,this.tree=n,this.offset=i,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,r=[],n=!1){let i=[new Xn(0,e.length,e,0,!1,n)];for(let s of r)s.to>e.length&&i.push(s);return i}static applyChanges(e,r,n=128){if(!r.length)return e;let i=[],s=1,o=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=n)for(;o&&o.from=f.from||h<=f.to||c){let d=Math.max(f.from,l)-c,p=Math.min(f.to,h)-c;f=d>=p?null:new Xn(d,p,f.tree,f.offset+c,a>0,!!u)}if(f&&i.push(f),o.to>h)break;o=snew Xr(i.from,i.to)):[new Xr(0,0)]:[new Xr(0,e.length)],this.createParse(e,r||[],n)}parse(e,r,n){let i=this.startParse(e,r,n);for(;;){let s=i.advance();if(s)return s}}}class mR{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,r){return this.string.slice(e,r)}}function yR(t){return(e,r,n,i)=>new wR(e,t,r,n,i)}class YS{constructor(e,r,n,i,s){this.parser=e,this.parse=r,this.overlay=n,this.target=i,this.ranges=s}}class vR{constructor(e,r,n,i,s,o,a){this.parser=e,this.predicate=r,this.mounts=n,this.index=i,this.start=s,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}const lO=new Me({perNode:!0});class wR{constructor(e,r,n,i,s){this.nest=r,this.input=n,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new rt(n.type,n.children,n.positions,n.length,n.propValues.concat([[lO,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],r=e.parse.advance();if(r){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Me.mounted.id]=new dR(r,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let r=this.innerDone;ru.frag.from<=i.from&&u.frag.to>=i.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let h=u.from+c.pos,f=u.to+c.pos;h>=i.from&&f<=i.to&&!r.ranges.some(d=>d.fromh)&&r.ranges.push({from:h,to:f})}}a=!1}else if(n&&(o=SR(n.ranges,i.from,i.to)))a=o!=2;else if(!i.type.isAnonymous&&i.fromnew Xr(h.from-i.from,h.to-i.from)):null,i.tree,u)),s.overlay?u.length&&(n={ranges:u,depth:0,prev:n}):a=!1}}else r&&(l=r.predicate(i))&&(l===!0&&(l=new Xr(i.from,i.to)),l.fromnew Xr(u.from-r.start,u.to-r.start)),r.target,c)),r=r.prev}n&&!--n.depth&&(n=n.prev)}}}}function SR(t,e,r){for(let n of t){if(n.from>=r)break;if(n.to>e)return n.from<=e&&n.to>=r?2:1}return 0}function KS(t,e,r,n,i,s){if(e=e.to);n++);let o=i.children[n],a=o.buffer;function l(c,u,h,f,d){let p=c;for(;a[p+2]+s<=e.from;)p=a[p+3];let O=[],y=[];KS(o,c,p,O,y,f);let g=a[p+1],m=a[p+2],v=g+s==e.from&&m+s==e.to&&a[p]==e.type.id;return O.push(v?e.toTree():l(p+4,a[p+3],o.set.types[a[p]],g,m-g)),y.push(g-f),KS(o,a[p+3],u,O,y,f),new rt(h,O,y,d)}i.children[n]=l(0,a.length,cr.none,0,o.length);for(let c=0;c<=r;c++)t.childAfter(e.from)}class JS{constructor(e,r){this.offset=r,this.done=!1,this.cursor=e.cursor(tt.IncludeAnonymous|tt.IgnoreMounts)}moveTo(e){let{cursor:r}=this,n=e-this.offset;for(;!this.done&&r.from=e&&r.enter(n,1,tt.IgnoreOverlays|tt.ExcludeBuffers)||r.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let r=this.cursor.tree;;){if(r==e.tree)return!0;if(r.children.length&&r.positions[0]==0&&r.children[0]instanceof rt)r=r.children[0];else break}return!1}}let TR=class{constructor(t){var e;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let r=this.curFrag=t[0];this.curTo=(e=r.tree.prop(lO))!==null&&e!==void 0?e:r.to,this.inner=new JS(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=(t=e.tree.prop(lO))!==null&&t!==void 0?t:e.to,this.inner=new JS(e.tree,-e.offset)}}findMounts(t,e){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let i=this.inner.cursor.node;i;i=i.parent){let s=(r=i.tree)===null||r===void 0?void 0:r.prop(Me.mounted);if(s&&s.parser==e)for(let o=this.fragI;o=i.to)break;a.tree==this.curFrag.tree&&n.push({frag:a,pos:i.from-a.offset,mount:s})}}}return n}};function eb(t,e){let r=null,n=e;for(let i=1,s=0;i=a)break;l.to<=o||(r||(n=r=e.slice()),l.froma&&r.splice(s+1,0,new Xr(a,l.to))):l.to>a?r[s--]=new Xr(a,l.to):r.splice(s--,1))}}return n}function QR(t,e,r,n){let i=0,s=0,o=!1,a=!1,l=-1e9,c=[];for(;;){let u=i==t.length?1e9:o?t[i].to:t[i].from,h=s==e.length?1e9:a?e[s].to:e[s].from;if(o!=a){let f=Math.max(l,r),d=Math.min(u,h,n);fnew Xr(f.from+n,f.to+n)),h=QR(e,u,l,c);for(let f=0,d=l;;f++){let p=f==h.length,O=p?c:h[f].from;if(O>d&&r.push(new Xn(d,O,i.tree,-o,s.from>=d||s.openStart,s.to<=O||s.openEnd)),p)break;d=h[f].to}}else r.push(new Xn(l,c,i.tree,-o,s.from>=o||s.openStart,s.to<=a||s.openEnd))}return r}let xR=0;class Tn{constructor(e,r,n){this.set=e,this.base=r,this.modified=n,this.id=xR++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let r=new Tn([],null,[]);if(r.set.push(r),e)for(let n of e.set)r.set.push(n);return r}static defineModifier(){let e=new ju;return r=>r.modified.indexOf(e)>-1?r:ju.get(r.base||r,r.modified.concat(e).sort((n,i)=>n.id-i.id))}}let $R=0;class ju{constructor(){this.instances=[],this.id=$R++}static get(e,r){if(!r.length)return e;let n=r[0].instances.find(a=>a.base==e&&_R(r,a.modified));if(n)return n;let i=[],s=new Tn(i,e,r);for(let a of r)a.instances.push(s);let o=rb(r);for(let a of e.set)for(let l of o)i.push(ju.get(a,l));return s}}function _R(t,e){return t.length==e.length&&t.every((r,n)=>r==e[n])}function rb(t){let e=[t];for(let r=0;r0&&h+3==i.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!f)throw new RangeError("Invalid path: "+i);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==i.length)break;let d=i[h++];if(h==i.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+i);a=i.slice(h)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+i);let u=new cO(n,o,l>0?s.slice(0,l):null);e[c]=u.sort(e[c])}}return PR.add(e)}const PR=new Me;class cO{constructor(e,r,n,i){this.tags=e,this.mode=r,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=i;for(let a of s)for(let l of a.set){let c=r[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:n}}const Y=Tn.define,Du=Y(),Ai=Y(),nb=Y(Ai),ib=Y(Ai),Ri=Y(),Nu=Y(Ri),uO=Y(Ri),Qn=Y(),As=Y(Qn),xn=Y(),$n=Y(),hO=Y(),cl=Y(hO),Iu=Y(),R={comment:Du,lineComment:Y(Du),blockComment:Y(Du),docComment:Y(Du),name:Ai,variableName:Y(Ai),typeName:nb,tagName:Y(nb),propertyName:ib,attributeName:Y(ib),className:Y(Ai),labelName:Y(Ai),namespace:Y(Ai),macroName:Y(Ai),literal:Ri,string:Nu,docString:Y(Nu),character:Y(Nu),attributeValue:Y(Nu),number:uO,integer:Y(uO),float:Y(uO),bool:Y(Ri),regexp:Y(Ri),escape:Y(Ri),color:Y(Ri),url:Y(Ri),keyword:xn,self:Y(xn),null:Y(xn),atom:Y(xn),unit:Y(xn),modifier:Y(xn),operatorKeyword:Y(xn),controlKeyword:Y(xn),definitionKeyword:Y(xn),moduleKeyword:Y(xn),operator:$n,derefOperator:Y($n),arithmeticOperator:Y($n),logicOperator:Y($n),bitwiseOperator:Y($n),compareOperator:Y($n),updateOperator:Y($n),definitionOperator:Y($n),typeOperator:Y($n),controlOperator:Y($n),punctuation:hO,separator:Y(hO),bracket:cl,angleBracket:Y(cl),squareBracket:Y(cl),paren:Y(cl),brace:Y(cl),content:Qn,heading:As,heading1:Y(As),heading2:Y(As),heading3:Y(As),heading4:Y(As),heading5:Y(As),heading6:Y(As),contentSeparator:Y(Qn),list:Y(Qn),quote:Y(Qn),emphasis:Y(Qn),strong:Y(Qn),link:Y(Qn),monospace:Y(Qn),strikethrough:Y(Qn),inserted:Y(),deleted:Y(),changed:Y(),invalid:Y(),meta:Iu,documentMeta:Y(Iu),annotation:Y(Iu),processingInstruction:Y(Iu),definition:Tn.defineModifier(),constant:Tn.defineModifier(),function:Tn.defineModifier(),standard:Tn.defineModifier(),local:Tn.defineModifier(),special:Tn.defineModifier()};CR([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}]);var fO;const Lu=new Me;function kR(t){return _e.define({combine:t?e=>e.concat(t):void 0})}class _n{constructor(e,r,n=[],i=""){this.data=e,this.name=i,Ue.prototype.hasOwnProperty("tree")||Object.defineProperty(Ue.prototype,"tree",{get(){return dO(this)}}),this.parser=r,this.extension=[Ao.of(this),Ue.languageData.of((s,o,a)=>s.facet(sb(s,o,a)))].concat(n)}isActiveAt(e,r,n=-1){return sb(e,r,n)==this.data}findRegions(e){let r=e.facet(Ao);if((r==null?void 0:r.data)==this.data)return[{from:0,to:e.doc.length}];if(!r||!r.allowsNesting)return[];let n=[],i=(s,o)=>{if(s.prop(Lu)==this.data){n.push({from:o,to:o+s.length});return}let a=s.prop(Me.mounted);if(a){if(a.tree.prop(Lu)==this.data){if(a.overlay)for(let l of a.overlay)n.push({from:l.from+o,to:l.to+o});else n.push({from:o,to:o+s.length});return}else if(a.overlay){let l=n.length;if(i(a.tree,a.overlay[0].from+o),n.length>l)return}}for(let l=0;ln.isTop?r:void 0)]}),e.name)}configure(e,r){return new ko(this.data,this.parser.configure(e),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function dO(t){let e=t.field(_n.state,!1);return e?e.tree:rt.empty}class ER{constructor(e,r=e.length){this.doc=e,this.length=r,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,r){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,r):this.string.slice(e-n,r-n)}}let ul=null;class Vu{constructor(e,r,n=[],i,s,o,a,l){this.parser=e,this.state=r,this.fragments=n,this.tree=i,this.treeLen=s,this.viewport=o,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,r,n){return new Vu(e,r,[],rt.empty,0,n,[],null)}startParse(){return this.parser.startParse(new ER(this.state.doc),this.fragments)}work(e,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=rt.empty&&this.isDone(r!=null?r:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=e,this.tree=r,this.fragments=this.withoutTempSkipped(Xn.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let r=ul;ul=this;try{return e()}finally{ul=r}}withoutTempSkipped(e){for(let r;r=this.tempSkipped.pop();)e=ob(e,r.from,r.to);return e}changes(e,r){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,h,f)=>l.push({fromA:c,toA:u,fromB:h,toB:f})),n=Xn.applyChanges(n,l),i=rt.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),h=e.mapPos(c.to,-1);ue.from&&(this.fragments=ob(this.fragments,i,s),this.skipped.splice(n--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,r){this.skipped.push({from:e,to:r})}static getSkippingParser(e){return new class extends HS{createParse(r,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let a=ul;if(a){for(let l of i)a.tempSkipped.push(l);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new rt(cr.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let r=this.fragments;return this.treeLen>=e&&r.length&&r[0].from==0&&r[0].to>=e}static get(){return ul}}function ob(t,e,r){return Xn.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}class Eo{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,n)||r.takeTree(),new Eo(r)}static init(e){let r=Math.min(3e3,e.doc.length),n=Vu.create(e.facet(Ao).parser,e,{from:0,to:r});return n.work(20,r)||n.takeTree(),new Eo(n)}}_n.state=$s.define({create:Eo.init,update(t,e){for(let r of e.effects)if(r.is(_n.setState))return r.value;return e.startState.facet(Ao)!=e.state.facet(Ao)?Eo.init(e.state):t.apply(e)}});let ab=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(ab=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:500-100})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});const pO=typeof navigator<"u"&&!((fO=navigator.scheduling)===null||fO===void 0)&&fO.isInputPending?()=>navigator.scheduling.isInputPending():null,AR=nl.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(_n.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),t.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(_n.state);(e.tree!=e.context.tree||!e.context.isDone(t.doc.length))&&(this.working=ab(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEndn+1e3,a=i.context.work(()=>pO&&pO()||Date.now()>s,n+(o?0:1e5));this.chunkBudget-=Date.now()-e,(a||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:_n.setState.of(new Eo(i.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(e=>Pi(this.view.state,e)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ao=_e.define({combine(t){return t.length?t[0]:null},enables:t=>[_n.state,AR,dt.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]}),OO=new Me;function RR(t){let e=t.node,r=e.childAfter(e.from),n=e.lastChild;if(!r)return null;let i=t.options.simulateBreak,s=t.state.doc.lineAt(r.from),o=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let a=r.to;;){let l=e.childAfter(a);if(!l||l==n)return null;if(!l.type.isSkipped)return l.fromjR(n,e,r,t)}function jR(t,e,r,n,i){let s=t.textAfter,o=s.match(/^\s*/)[0].length,a=n&&s.slice(o,o+n.length)==n||i==t.pos+o,l=e?RR(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*r)}const DR=t=>t.baseIndent;function zu({except:t,units:e=1}={}){return r=>{let n=t&&t.test(r.textAfter);return r.baseIndent+(n?0:e*r.unit)}}const gO=new Me;function lb(t){let e=t.firstChild,r=t.lastChild;return e&&e.to-1||(ub.push(t),console.warn(e))}function LR(t,e){let r=null;for(let s of e.split(".")){let o=t[s]||R[s];o?typeof o=="function"?r?r=o(r):mO(s,`Modifier ${s} used at start of tag`):r?mO(s,`Tag ${s} used as modifier`):r=o:mO(s,`Unknown highlighting tag ${s}`)}if(!r)return 0;let n=e.replace(/ /g,"_"),i=cr.define({id:cb.length,name:n,props:[ll({[n]:r})]});return cb.push(i),i.id}const hb=new class extends Ps{};hb.startSide=1,hb.endSide=-1;class Wu{constructor(e,r,n,i,s,o,a,l,c,u=0,h){this.p=e,this.stack=r,this.state=n,this.reducePos=i,this.pos=s,this.score=o,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=h}toString(){return`[${this.stack.filter((e,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,r,n=0){let i=e.parser.context;return new Wu(e,[],r,n,n,0,[],0,i?new fb(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let r=e>>19,n=e&65535,{parser:i}=this.p,s=i.dynamicPrecedence(n);if(s&&(this.score+=s),r==0){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),no;)this.stack.pop();this.reduceContext(n,a)}storeNode(e,r,n,i=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[a-4]==0&&o.buffer[a-1]>-1){if(r==n)return;if(o.buffer[a-2]>=r){o.buffer[a-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,r,n,i);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,i>4&&(i-=4);this.buffer[o]=e,this.buffer[o+1]=r,this.buffer[o+2]=n,this.buffer[o+3]=i}}shift(e,r,n){let i=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(r,i),r<=this.p.parser.maxNode&&this.buffer.push(r,i,n,4);else{let s=e,{parser:o}=this.p;(n>this.pos||r<=o.maxNode)&&(this.pos=n,o.stateFlag(s,1)||(this.reducePos=n)),this.pushState(s,i),this.shiftContext(r,i),r<=o.maxNode&&this.buffer.push(r,i,n,4)}}apply(e,r,n){e&65536?this.reduce(e):this.shift(e,r,n)}useNode(e,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(r,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,r=e.buffer.length;for(;r>0&&e.buffer[r-2]>e.reducePos;)r-=4;let n=e.buffer.slice(r),i=e.bufferBase+r;for(;e&&i==e.bufferBase;)e=e.parent;return new Wu(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,r){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(e){for(let r=new VR(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,e);if(!(n&65536))return!0;if(n==0)return!1;r.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let i=[];for(let s=0,o;sl&1&&a==o)||i.push(r[s],o)}r=i}let n=[];for(let i=0;i>19,i=e&65535,s=this.stack.length-n*3;if(s<0||r.getGoto(this.stack[s],i,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let r=0;rthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class fb{constructor(e,r){this.tracker=e,this.context=r,this.hash=e.strict?e.hash(r):0}}var db;(function(t){t[t.Insert=200]="Insert",t[t.Delete=190]="Delete",t[t.Reduce=100]="Reduce",t[t.MaxNext=4]="MaxNext",t[t.MaxInsertStackDepth=300]="MaxInsertStackDepth",t[t.DampenInsertStackDepth=120]="DampenInsertStackDepth"})(db||(db={}));class VR{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let r=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=i}}class Bu{constructor(e,r,n){this.stack=e,this.pos=r,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,r=e.bufferBase+e.buffer.length){return new Bu(e,r,r-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Bu(this.stack,this.pos,this.index)}}class Uu{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const pb=new Uu;class zR{constructor(e,r){this.input=e,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=pb,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(e,r){let n=this.range,i=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,r.from);return this.end}peek(e){let r=this.chunkOff+e,n,i;if(r>=0&&r=this.chunk2Pos&&na.to&&(this.chunk2=this.chunk2.slice(0,a.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,r){if(r?(this.token=r,r.start=e,r.lookAhead=e+1,r.value=r.extended=-1):this.token=pb,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,r-this.chunkPos);if(e>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,r-this.chunk2Pos);if(e>=this.range.from&&r<=this.range.to)return this.input.read(e,r);let n="";for(let i of this.ranges){if(i.from>=r)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,r)))}return n}}class Xu{constructor(e,r){this.data=e,this.id=r}token(e,r){WR(this.data,e,r,this.id)}}Xu.prototype.contextual=Xu.prototype.fallback=Xu.prototype.extend=!1;class sn{constructor(e,r={}){this.token=e,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}}function WR(t,e,r,n){let i=0,s=1<0){let d=t[f];if(a.allows(d)&&(e.token.value==-1||e.token.value==d||o.overrides(d,e.token.value))){e.acceptToken(d);break}}let c=e.next,u=0,h=t[i+2];if(e.next<0&&h>u&&t[l+h*3-3]==65535){i=t[l+h*3-1];continue e}for(;u>1,d=l+f+(f<<1),p=t[d],O=t[d+1];if(c=O)u=f+1;else{i=t[d+2],e.advance();continue e}}break}}function qu(t,e=Uint16Array){if(typeof t!="string")return t;let r=null;for(let n=0,i=0;n=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}r?r[i++]=s:r=new e(s)}return r}const on=typeof process<"u"&&{LDFLAGS:"-L/opt/homebrew/opt/php@8.0/lib",TERM_PROGRAM:"iTerm.app",npm_package_scripts_prettier:"prettier --write './src/**/*.{vue,js,jsx,ts,tsx,css,scss,json,yml,yaml,html}'",npm_package_devDependencies__histoire_plugin_vue:"^0.11.7",npm_package_dependencies__codemirror_language:"^6.3.1",npm_package_scripts_test_unit_coverage:"vitest run --environment jsdom --coverage",NODE:"/opt/homebrew/Cellar/node@18/18.15.0/bin/node",_P9K_TTY:"/dev/ttys074",npm_package_homepage:"https://github.com/halo-dev/console/tree/main/packages/components#readme",INIT_CWD:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",TERM:"xterm-256color",SHELL:"/bin/zsh",npm_package_unpkg:"./dist/halo-components.iife.js",npm_package_dependencies__codemirror_view:"^6.5.1",CPPFLAGS:"-I/opt/homebrew/opt/php@8.0/include",TMPDIR:"/var/folders/pl/2sj_41xn3nv98xvrfr7xyrl00000gn/T/",npm_package_scripts_lint:"eslint ./src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",TERM_PROGRAM_VERSION:"3.4.15",npm_package_dependencies_floating_vue:"2.0.0-beta.20",npm_package_scripts_dev:"vite build --watch",TERM_SESSION_ID:"w0t0p0:79166829-FB9A-424C-BE56-B3FCE96D56AD",npm_config_registry:"https://registry.npmjs.org/",PNPM_HOME:"/Users/ryanwang/Library/pnpm",ZSH:"/Users/ryanwang/.oh-my-zsh",npm_package_repository_url:"https://github.com/halo-dev/console.git",npm_package_devDependencies_unplugin_icons:"^0.14.14",npm_package_jsdelivr:"./dist/halo-components.iife.js",npm_package_scripts_test_unit_ui:"vitest --environment jsdom --watch --ui",npm_package_scripts_story_build:"histoire build",USER:"ryanwang",npm_package_description:"",LS_COLORS:"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43",npm_package_license:"MIT",COMMAND_MODE:"unix2003",npm_package_exports___import:"./dist/halo-components.es.js",PNPM_SCRIPT_SRC_DIR:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",npm_package_repository_directory:"packages/components",npm_config_strict_peer_dependencies:"",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.vnyLQTkZwa/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_dependencies__codemirror_commands:"^6.1.2",npm_execpath:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/bin/pnpm.cjs",PAGER:"less",npm_package_module:"./dist/halo-components.es.js",npm_package_dependencies__codemirror_lang_javascript:"^6.1.1",npm_package_author_name:"@halo-dev",LSCOLORS:"Gxfxcxdxbxegedabagacad",PATH:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components/node_modules/.bin:/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/dist/node-gyp-bin:/Users/ryanwang/Workspace/github/halo-dev/halo/console/node_modules/.bin:/opt/homebrew/opt/php@8.0/sbin:/opt/homebrew/opt/php@8.0/bin:/Users/ryanwang/.orbstack/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/Users/ryanwang/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/ryanwang/.jenv/bin:/Users/ryanwang/Workspace/sdk/flutter/bin:/Users/ryanwang/.cargo/bin:/opt/homebrew/opt/node@18/bin:/Users/ryanwang/Library/pnpm",npm_package_scripts_typecheck:"vue-tsc --noEmit -p tsconfig.app.json --composite false",npm_package_devDependencies_histoire:"^0.11.7",npm_package_peerDependencies_vue:"^3.2.37",npm_config_https_proxy:"http://127.0.0.1:7890/",__CFBundleIdentifier:"com.googlecode.iterm2",npm_config_auto_install_peers:"true",PWD:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",npm_package_devDependencies__iconify_json_ri:"^1.1.4",npm_command:"run-script",npm_package_author_url:"https://github.com/halo-dev",npm_package_bugs_url:"https://github.com/halo-dev/halo/issues",EDITOR:"nvim",P9K_SSH:"0",npm_lifecycle_event:"build",P9K_TTY:"old",npm_package_name:"@halo-dev/components",npm_package_types:"./dist/index.d.ts",npm_package_keywords_0:"halo",npm_package_repository_type:"git",ITERM_PROFILE:"Default",npm_package_keywords_1:"halo-components",npm_package_dependencies__codemirror_lang_css:"^6.0.1",NODE_PATH:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/node_modules:/Users/ryanwang/Workspace/github/halo-dev/halo/console/node_modules/.pnpm/node_modules",npm_package_scripts_build:"vite build",npm_package_keywords_2:"halo-dev",npm_package_exports___types:"./dist/index.d.ts",XPC_FLAGS:"0x0",npm_package_keywords_3:"@halo-dev/components",npm_package_dependencies__codemirror_state:"^6.1.4",npm_package_main:"./dist/halo-components.iife.js",npm_package_devDependencies_vite_plugin_dts:"^1.7.3",npm_config_node_gyp:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.3.0",SHLVL:"2",HOME:"/Users/ryanwang",COLORFGBG:"15;0",npm_package_scripts_story_dev:"histoire dev --port 4000",npm_package_exports___dist_style_css:"./dist/style.css",LC_TERMINAL_VERSION:"3.4.15",ITERM_SESSION_ID:"w0t0p0:79166829-FB9A-424C-BE56-B3FCE96D56AD",LESS:"-R",LOGNAME:"ryanwang",npm_lifecycle_script:"vite build",LC_CTYPE:"UTF-8",npm_config_proxy:"http://127.0.0.1:7890/",npm_package_scripts_test_unit_watch:"vitest --environment jsdom --watch",npm_config_user_agent:"pnpm/7.28.0 npm/? node/v18.15.0 darwin arm64",npm_package_dependencies__codemirror_legacy_modes:"^6.3.0",LC_TERMINAL:"iTerm2",npm_package_files_0:"dist",npm_package_dependencies_codemirror:"^6.0.1",npm_package_peerDependencies_vue_router:"^4.0.16",npm_package_dependencies__codemirror_lang_json:"^6.0.1",COLORTERM:"truecolor",npm_package_scripts_test_unit:"vitest --environment jsdom --run",npm_package_dependencies__codemirror_lang_html:"^6.2.0",npm_node_execpath:"/opt/homebrew/Cellar/node@18/18.15.0/bin/node",NODE_ENV:"production"}&&/\bparse\b/.test({LDFLAGS:"-L/opt/homebrew/opt/php@8.0/lib",TERM_PROGRAM:"iTerm.app",npm_package_scripts_prettier:"prettier --write './src/**/*.{vue,js,jsx,ts,tsx,css,scss,json,yml,yaml,html}'",npm_package_devDependencies__histoire_plugin_vue:"^0.11.7",npm_package_dependencies__codemirror_language:"^6.3.1",npm_package_scripts_test_unit_coverage:"vitest run --environment jsdom --coverage",NODE:"/opt/homebrew/Cellar/node@18/18.15.0/bin/node",_P9K_TTY:"/dev/ttys074",npm_package_homepage:"https://github.com/halo-dev/console/tree/main/packages/components#readme",INIT_CWD:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",TERM:"xterm-256color",SHELL:"/bin/zsh",npm_package_unpkg:"./dist/halo-components.iife.js",npm_package_dependencies__codemirror_view:"^6.5.1",CPPFLAGS:"-I/opt/homebrew/opt/php@8.0/include",TMPDIR:"/var/folders/pl/2sj_41xn3nv98xvrfr7xyrl00000gn/T/",npm_package_scripts_lint:"eslint ./src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",TERM_PROGRAM_VERSION:"3.4.15",npm_package_dependencies_floating_vue:"2.0.0-beta.20",npm_package_scripts_dev:"vite build --watch",TERM_SESSION_ID:"w0t0p0:79166829-FB9A-424C-BE56-B3FCE96D56AD",npm_config_registry:"https://registry.npmjs.org/",PNPM_HOME:"/Users/ryanwang/Library/pnpm",ZSH:"/Users/ryanwang/.oh-my-zsh",npm_package_repository_url:"https://github.com/halo-dev/console.git",npm_package_devDependencies_unplugin_icons:"^0.14.14",npm_package_jsdelivr:"./dist/halo-components.iife.js",npm_package_scripts_test_unit_ui:"vitest --environment jsdom --watch --ui",npm_package_scripts_story_build:"histoire build",USER:"ryanwang",npm_package_description:"",LS_COLORS:"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43",npm_package_license:"MIT",COMMAND_MODE:"unix2003",npm_package_exports___import:"./dist/halo-components.es.js",PNPM_SCRIPT_SRC_DIR:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",npm_package_repository_directory:"packages/components",npm_config_strict_peer_dependencies:"",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.vnyLQTkZwa/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_dependencies__codemirror_commands:"^6.1.2",npm_execpath:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/bin/pnpm.cjs",PAGER:"less",npm_package_module:"./dist/halo-components.es.js",npm_package_dependencies__codemirror_lang_javascript:"^6.1.1",npm_package_author_name:"@halo-dev",LSCOLORS:"Gxfxcxdxbxegedabagacad",PATH:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components/node_modules/.bin:/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/dist/node-gyp-bin:/Users/ryanwang/Workspace/github/halo-dev/halo/console/node_modules/.bin:/opt/homebrew/opt/php@8.0/sbin:/opt/homebrew/opt/php@8.0/bin:/Users/ryanwang/.orbstack/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/Users/ryanwang/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/ryanwang/.jenv/bin:/Users/ryanwang/Workspace/sdk/flutter/bin:/Users/ryanwang/.cargo/bin:/opt/homebrew/opt/node@18/bin:/Users/ryanwang/Library/pnpm",npm_package_scripts_typecheck:"vue-tsc --noEmit -p tsconfig.app.json --composite false",npm_package_devDependencies_histoire:"^0.11.7",npm_package_peerDependencies_vue:"^3.2.37",npm_config_https_proxy:"http://127.0.0.1:7890/",__CFBundleIdentifier:"com.googlecode.iterm2",npm_config_auto_install_peers:"true",PWD:"/Users/ryanwang/Workspace/github/halo-dev/halo/console/packages/components",npm_package_devDependencies__iconify_json_ri:"^1.1.4",npm_command:"run-script",npm_package_author_url:"https://github.com/halo-dev",npm_package_bugs_url:"https://github.com/halo-dev/halo/issues",EDITOR:"nvim",P9K_SSH:"0",npm_lifecycle_event:"build",P9K_TTY:"old",npm_package_name:"@halo-dev/components",npm_package_types:"./dist/index.d.ts",npm_package_keywords_0:"halo",npm_package_repository_type:"git",ITERM_PROFILE:"Default",npm_package_keywords_1:"halo-components",npm_package_dependencies__codemirror_lang_css:"^6.0.1",NODE_PATH:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/node_modules:/Users/ryanwang/Workspace/github/halo-dev/halo/console/node_modules/.pnpm/node_modules",npm_package_scripts_build:"vite build",npm_package_keywords_2:"halo-dev",npm_package_exports___types:"./dist/index.d.ts",XPC_FLAGS:"0x0",npm_package_keywords_3:"@halo-dev/components",npm_package_dependencies__codemirror_state:"^6.1.4",npm_package_main:"./dist/halo-components.iife.js",npm_package_devDependencies_vite_plugin_dts:"^1.7.3",npm_config_node_gyp:"/Users/ryanwang/Library/pnpm/global/5/.pnpm/pnpm@7.28.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.3.0",SHLVL:"2",HOME:"/Users/ryanwang",COLORFGBG:"15;0",npm_package_scripts_story_dev:"histoire dev --port 4000",npm_package_exports___dist_style_css:"./dist/style.css",LC_TERMINAL_VERSION:"3.4.15",ITERM_SESSION_ID:"w0t0p0:79166829-FB9A-424C-BE56-B3FCE96D56AD",LESS:"-R",LOGNAME:"ryanwang",npm_lifecycle_script:"vite build",LC_CTYPE:"UTF-8",npm_config_proxy:"http://127.0.0.1:7890/",npm_package_scripts_test_unit_watch:"vitest --environment jsdom --watch",npm_config_user_agent:"pnpm/7.28.0 npm/? node/v18.15.0 darwin arm64",npm_package_dependencies__codemirror_legacy_modes:"^6.3.0",LC_TERMINAL:"iTerm2",npm_package_files_0:"dist",npm_package_dependencies_codemirror:"^6.0.1",npm_package_peerDependencies_vue_router:"^4.0.16",npm_package_dependencies__codemirror_lang_json:"^6.0.1",COLORTERM:"truecolor",npm_package_scripts_test_unit:"vitest --environment jsdom --run",npm_package_dependencies__codemirror_lang_html:"^6.2.0",npm_node_execpath:"/opt/homebrew/Cellar/node@18/18.15.0/bin/node",NODE_ENV:"production"}.LOG);let yO=null;var Ob;(function(t){t[t.Margin=25]="Margin"})(Ob||(Ob={}));function gb(t,e,r){let n=t.cursor(tt.IncludeAnonymous);for(n.moveTo(e);;)if(!(r<0?n.childBefore(e):n.childAfter(e)))for(;;){if((r<0?n.toe)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:t.length}}class BR{constructor(e,r){this.fragments=e,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?gb(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?gb(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof rt){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[r]++,this.nextStart=o+s.length}}}class UR{constructor(e,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Uu)}getActions(e){let r=0,n=null,{parser:i}=e.p,{tokenizers:s}=i,o=i.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;ch.end+25&&(l=Math.max(h.lookAhead,l)),h.value!=0)){let f=r;if(h.extended>-1&&(r=this.addActions(e,h.extended,h.end,r)),r=this.addActions(e,h.value,h.end,r),!u.extend&&(n=h,r>f))break}}for(;this.actions.length>r;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new Uu,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,r=this.addActions(e,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let r=new Uu,{pos:n,p:i}=e;return r.start=n,r.end=Math.min(n+1,i.stream.end),r.value=n==i.stream.end?i.parser.eofTerm:0,r}updateCachedToken(e,r,n){let i=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(i,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,r,n,i){for(let s=0;se.bufferLength*4?new BR(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,r=this.minStackPos,n=this.stacks=[],i,s;for(let o=0;or)n.push(a);else{if(this.advanceStack(a,n,e))continue;{i||(i=[],s=[]),i.push(a);let l=this.tokens.getMainToken(a);s.push(l.value,l.end)}}break}}if(!n.length){let o=i&&ZR(i);if(o)return this.stackToTree(o);if(this.parser.strict)throw on&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&i){let o=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,n);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((a,l)=>l.score-a.score);n.length>o;)n.pop();n.some(a=>a.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(o--,1);continue e}}}}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let h=this.fragments.nodeAt(i);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!c||(h.prop(Me.contextHash)||0)==u))return e.useNode(h,f),on&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof rt)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof rt&&h.positions[0]==0)h=d;else break}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),on&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;ci?r.push(p):n.push(p)}return!1}advanceFully(e,r){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return yb(e,r),!0}}runRecovery(e,r,n){let i=null,s=!1;for(let o=0;o ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),on&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))))continue;let h=a.split(),f=u;for(let d=0;h.forceReduce()&&d<10&&(on&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)on&&(f=this.stackID(h)+" -> ");for(let d of a.recoverByInsert(l))on&&console.log(u+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),on&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),yb(a,n)):(!i||i.scoret;class vb{constructor(e){this.start=e.start,this.shift=e.shift||vO,this.reduce=e.reduce||vO,this.reuse=e.reuse||vO,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Rs extends HS{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (${14})`);let r=e.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let a=0;ae.topRules[a][1]),i=[];for(let a=0;a=0)s(u,l,a[c++]);else{let h=a[c+-u];for(let f=-u;f>0;f--)s(a[c++],l,h);c++}}}this.nodeSet=new iO(r.map((a,l)=>cr.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:i[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=XS;let o=qu(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new Xu(o,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,r,n){let i=new XR(this,e,r,n);for(let s of this.wrappers)i=s(i,e,r,n);return i}getGoto(e,r,n=!1){let i=this.goto;if(r>=i[0])return-1;for(let s=i[r+1];;){let o=i[s++],a=o&1,l=i[s++];if(a&&n)return l;for(let c=s+(o>>1);s0}validAction(e,r){if(r==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=qn(this.data,n+2);else return!1;if(r==qn(this.data,n+1))return!0}}nextStates(e){let r=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=qn(this.data,n+2);else break;if(!(this.data[n+2]&1)){let i=this.data[n+1];r.some((s,o)=>o&1&&s==i)||r.push(this.data[n],i)}}return r}overrides(e,r){let n=wb(this.data,this.tokenPrecTable,r);return n<0||wb(this.data,this.tokenPrecTable,e){let i=e.tokenizers.find(s=>s.from==n);return i?i.to:n})),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,i)=>{let s=e.specializers.find(a=>a.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return r.specializers[i]=Sb(o),o})),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),e.bufferLength!=null&&(r.bufferLength=e.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let r=this.dynamicPrecedences;return r==null?0:r[e]||0}parseDialect(e){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(e)for(let s of e.split(" ")){let o=r.indexOf(s);o>=0&&(n[o]=!0)}let i=null;for(let s=0;sn)&&r.p.parser.stateFlag(r.state,2)&&(!e||e.scoret.external(r,n)<<1|e}return t.get}const FR=54,GR=1,HR=55,YR=2,KR=56,JR=3,Zu=4,bb=5,Tb=6,Qb=7,xb=8,e3=9,t3=10,r3=11,wO=57,n3=12,$b=58,i3=18,s3=27,o3=30,a3=33,l3=35,c3=0,u3={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},h3={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},_b={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function f3(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Pb(t){return t==9||t==10||t==13||t==32}let Cb=null,kb=null,Eb=0;function SO(t,e){let r=t.pos+e;if(Eb==r&&kb==t)return Cb;let n=t.peek(e);for(;Pb(n);)n=t.peek(++e);let i="";for(;f3(n);)i+=String.fromCharCode(n),n=t.peek(++e);return kb=t,Eb=r,Cb=i?i.toLowerCase():n==d3||n==p3?void 0:null}const Ab=60,Rb=62,Mb=47,d3=63,p3=33,O3=45;function jb(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let r=0;r-1?new jb(SO(n,1)||"",t):t},reduce(t,e){return e==i3&&t?t.parent:t},reuse(t,e,r,n){let i=e.type.id;return i==Zu||i==l3?new jb(SO(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),y3=new sn((t,e)=>{if(t.next!=Ab){t.next<0&&e.context&&t.acceptToken(wO);return}t.advance();let r=t.next==Mb;r&&t.advance();let n=SO(t,0);if(n===void 0)return;if(!n)return t.acceptToken(r?n3:Zu);let i=e.context?e.context.name:null;if(r){if(n==i)return t.acceptToken(e3);if(i&&h3[i])return t.acceptToken(wO,-2);if(e.dialectEnabled(c3))return t.acceptToken(t3);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(r3)}else{if(n=="script")return t.acceptToken(bb);if(n=="style")return t.acceptToken(Tb);if(n=="textarea")return t.acceptToken(Qb);if(u3.hasOwnProperty(n))return t.acceptToken(xb);i&&_b[i]&&_b[i][n]?t.acceptToken(wO,-1):t.acceptToken(Zu)}},{contextual:!0}),v3=new sn(t=>{for(let e=0,r=0;;r++){if(t.next<0){r&&t.acceptToken($b);break}if(t.next==O3)e++;else if(t.next==Rb&&e>=2){r>3&&t.acceptToken($b,-2);break}else e=0;t.advance()}});function bO(t,e,r){let n=2+t.length;return new sn(i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(e);break}if(s==0&&i.next==Ab||s==1&&i.next==Mb||s>=2&&so?i.acceptToken(e,-o):i.acceptToken(r,-(o-2));break}else if((i.next==10||i.next==13)&&a){i.acceptToken(e,1);break}else s=o=0;i.advance()}})}const w3=bO("script",FR,GR),S3=bO("style",HR,YR),b3=bO("textarea",KR,JR),T3=ll({"Text RawText":R.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":R.angleBracket,TagName:R.tagName,"MismatchedCloseTag/TagName":[R.tagName,R.invalid],AttributeName:R.attributeName,"AttributeValue UnquotedAttributeValue":R.attributeValue,Is:R.definitionOperator,"EntityReference CharacterReference":R.character,Comment:R.blockComment,ProcessingInst:R.processingInstruction,DoctypeDecl:R.documentMeta}),Q3=Rs.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/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O~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:m3,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[T3],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c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P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_{let o=i.type.id;return o==s3?TO(i,s,e):o==o3?TO(i,s,r):o==a3?TO(i,s,n):null})}const _3=93,Db=1,P3=94,C3=95,Nb=2,Ib=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],k3=58,E3=40,Lb=95,A3=91,Fu=45,R3=46,M3=35,j3=37;function Gu(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function D3(t){return t>=48&&t<=57}const N3=new sn((t,e)=>{for(let r=!1,n=0,i=0;;i++){let{next:s}=t;if(Gu(s)||s==Fu||s==Lb||r&&D3(s))!r&&(s!=Fu||i>0)&&(r=!0),n===i&&s==Fu&&n++,t.advance();else{r&&t.acceptToken(s==E3?P3:n==2&&e.canShift(Nb)?Nb:C3);break}}}),I3=new sn(t=>{if(Ib.includes(t.peek(-1))){let{next:e}=t;(Gu(e)||e==Lb||e==M3||e==R3||e==A3||e==k3||e==Fu)&&t.acceptToken(_3)}}),L3=new sn(t=>{if(!Ib.includes(t.peek(-1))){let{next:e}=t;if(e==j3&&(t.advance(),t.acceptToken(Db)),Gu(e)){do t.advance();while(Gu(t.next));t.acceptToken(Db)}}}),V3=ll({"AtKeyword import charset namespace keyframes media supports":R.definitionKeyword,"from to selector":R.keyword,NamespaceName:R.namespace,KeyframeName:R.labelName,TagName:R.tagName,ClassName:R.className,PseudoClassName:R.constant(R.className),IdName:R.labelName,"FeatureName PropertyName":R.propertyName,AttributeName:R.attributeName,NumberLiteral:R.number,KeywordQuery:R.keyword,UnaryQueryOp:R.operatorKeyword,"CallTag ValueName":R.atom,VariableName:R.variableName,Callee:R.operatorKeyword,Unit:R.unit,"UniversalSelector NestingSelector":R.definitionOperator,MatchOp:R.compareOperator,"ChildOp SiblingOp, LogicOp":R.logicOperator,BinOp:R.arithmeticOperator,Important:R.modifier,Comment:R.blockComment,ParenthesizedContent:R.special(R.name),ColorLiteral:R.color,StringLiteral:R.string,":":R.punctuation,"PseudoOp #":R.derefOperator,"; ,":R.separator,"( )":R.paren,"[ ]":R.squareBracket,"{ }":R.brace}),z3={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},W3={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},B3={__proto__:null,not:128,only:128,from:158,to:160},U3=Rs.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#Dp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Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[I3,L3,N3,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:t=>z3[t]||-1},{term:56,get:t=>W3[t]||-1},{term:95,get:t=>B3[t]||-1}],tokenPrec:1078}),X3=ko.define({name:"css",parser:U3.configure({props:[OO.add({Declaration:zu()}),gO.add({Block:lb})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),q3=1,Vb=281,zb=2,Z3=3,Hu=282,F3=4,G3=283,Wb=284,H3=286,Y3=287,K3=5,J3=6,e4=1,t4=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Bb=125,r4=123,n4=59,Ub=47,i4=42,s4=43,o4=45,a4=36,l4=96,c4=92,u4=new vb({start:!1,shift(t,e){return e==K3||e==J3||e==H3?t:e==Y3},strict:!1}),h4=new sn((t,e)=>{let{next:r}=t;(r==Bb||r==-1||e.context)&&e.canShift(Wb)&&t.acceptToken(Wb)},{contextual:!0,fallback:!0}),f4=new sn((t,e)=>{let{next:r}=t,n;t4.indexOf(r)>-1||r==Ub&&((n=t.peek(1))==Ub||n==i4)||r!=Bb&&r!=n4&&r!=-1&&!e.context&&e.canShift(Vb)&&t.acceptToken(Vb)},{contextual:!0}),d4=new sn((t,e)=>{let{next:r}=t;if((r==s4||r==o4)&&(t.advance(),r==t.next)){t.advance();let n=!e.context&&e.canShift(zb);t.acceptToken(n?zb:Z3)}},{contextual:!0}),p4=new sn(t=>{for(let e=!1,r=0;;r++){let{next:n}=t;if(n<0){r&&t.acceptToken(Hu);break}else if(n==l4){r?t.acceptToken(Hu):t.acceptToken(G3,1);break}else if(n==r4&&e){r==1?t.acceptToken(F3,1):t.acceptToken(Hu,-1);break}else if(n==10&&r){t.advance(),t.acceptToken(Hu);break}else n==c4&&t.advance();e=n==a4,t.advance()}}),O4=new sn((t,e)=>{if(!(t.next!=101||!e.dialectEnabled(e4))){t.advance();for(let r=0;r<6;r++){if(t.next!="xtends".charCodeAt(r))return;t.advance()}t.next>=57&&t.next<=65||t.next>=48&&t.next<=90||t.next==95||t.next>=97&&t.next<=122||t.next>160||t.acceptToken(q3)}}),g4=ll({"get set async static":R.modifier,"for while do if else switch try catch finally return throw break continue default case":R.controlKeyword,"in of await yield void typeof delete instanceof":R.operatorKeyword,"let var const function class extends":R.definitionKeyword,"import export from":R.moduleKeyword,"with debugger as new":R.keyword,TemplateString:R.special(R.string),super:R.atom,BooleanLiteral:R.bool,this:R.self,null:R.null,Star:R.modifier,VariableName:R.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":R.function(R.variableName),VariableDefinition:R.definition(R.variableName),Label:R.labelName,PropertyName:R.propertyName,PrivatePropertyName:R.special(R.propertyName),"CallExpression/MemberExpression/PropertyName":R.function(R.propertyName),"FunctionDeclaration/VariableDefinition":R.function(R.definition(R.variableName)),"ClassDeclaration/VariableDefinition":R.definition(R.className),PropertyDefinition:R.definition(R.propertyName),PrivatePropertyDefinition:R.definition(R.special(R.propertyName)),UpdateOp:R.updateOperator,LineComment:R.lineComment,BlockComment:R.blockComment,Number:R.number,String:R.string,ArithOp:R.arithmeticOperator,LogicOp:R.logicOperator,BitOp:R.bitwiseOperator,CompareOp:R.compareOperator,RegExp:R.regexp,Equals:R.definitionOperator,Arrow:R.function(R.punctuation),": Spread":R.punctuation,"( )":R.paren,"[ ]":R.squareBracket,"{ }":R.brace,"InterpolationStart InterpolationEnd":R.special(R.brace),".":R.derefOperator,", ;":R.separator,TypeName:R.typeName,TypeDefinition:R.definition(R.typeName),"type enum interface implements namespace module declare":R.definitionKeyword,"abstract global Privacy readonly override":R.modifier,"is keyof unique infer":R.operatorKeyword,JSXAttributeValue:R.attributeValue,JSXText:R.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":R.angleBracket,"JSXIdentifier JSXNameSpacedName":R.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":R.attributeName}),m4={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},y4={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},v4={__proto__:null,"<":129},w4=Rs.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#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{Q8Z7jQ8m8]Q8y8oQ9_!WR:|;aR!aRR&Y!bS&U!b+`S+]&V&^R0Q+fR'P!yR'S!zT!tU$ZS!sU$ZU$xrs*mS&s!r!uQ,T&tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26A0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:u4,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[g4],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R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#o%T#p~%TX!@PR!kP$UWO!^%T!_#o%T#p~%T7Z!@gr$UW'Y7R#zS']$y'g3SOX%TXY%cYZ%TZ[%c[p%Tpq%cqt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[O4,f4,d4,p4,0,1,2,3,4,5,6,7,8,9,h4],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:t=>m4[t]||-1},{term:299,get:t=>y4[t]||-1},{term:63,get:t=>v4[t]||-1}],tokenPrec:12130}),Yu=ko.define({name:"javascript",parser:w4.configure({props:[OO.add({IfStatement:zu({except:/^\s*({|else\b)/}),TryStatement:zu({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:DR,SwitchBody:t=>{let e=t.textAfter,r=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(r?0:n?1:2)*t.unit},Block:MR({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":zu({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),gO.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":lb,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),S4=Yu.configure({dialect:"ts"},"typescript"),b4=Yu.configure({dialect:"jsx"}),T4=Yu.configure({dialect:"jsx ts"},"typescript");S4.parser,b4.parser,T4.parser,Yu.parser,X3.parser;const Q4=ll({String:R.string,Number:R.number,"True False":R.bool,PropertyName:R.propertyName,Null:R.null,",":R.separator,"[ ]":R.squareBracket,"{ }":R.brace});Rs.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[Q4],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs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48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const $4={class:"empty-wrapper"},_4={class:"empty-image h-32 w-32"},P4=["src"],C4={class:"empty-title"},k4={class:"empty-message"},E4={class:"empty-actions"};var Xb=it({__name:"Empty",props:{title:null,message:null,image:null},setup(t){return(e,r)=>(W(),K("div",$4,[j("div",_4,[ht(e.$slots,"image",{},()=>[j("img",{src:t.image||V(x4),alt:"Empty"},null,8,P4)])]),j("div",C4,Te(t.title),1),j("div",k4,[ht(e.$slots,"message",{},()=>[$r(Te(t.message),1)])]),j("div",E4,[ht(e.$slots,"actions")])]))}});function Zn(t){return t.split("-")[0]}function Ro(t){return t.split("-")[1]}function hl(t){return["top","bottom"].includes(Zn(t))?"x":"y"}function QO(t){return t==="y"?"height":"width"}function qb(t){let{reference:e,floating:r,placement:n}=t;const i=e.x+e.width/2-r.width/2,s=e.y+e.height/2-r.height/2;let o;switch(Zn(n)){case"top":o={x:i,y:e.y-r.height};break;case"bottom":o={x:i,y:e.y+e.height};break;case"right":o={x:e.x+e.width,y:s};break;case"left":o={x:e.x-r.width,y:s};break;default:o={x:e.x,y:e.y}}const a=hl(n),l=QO(a);switch(Ro(n)){case"start":o[a]=o[a]-(e[l]/2-r[l]/2);break;case"end":o[a]=o[a]+(e[l]/2-r[l]/2);break}return o}const A4=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r;let a=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:l,y:c}=qb({...a,placement:n}),u=n,h={};for(let f=0;f({name:"arrow",options:t,async fn(e){const{element:r,padding:n=0}=t!=null?t:{},{x:i,y:s,placement:o,rects:a,platform:l}=e;if(r==null)return{};const c=Zb(n),u={x:i,y:s},h=Zn(o),f=hl(h),d=QO(f),p=await l.getDimensions({element:r}),O=f==="y"?"top":"left",y=f==="y"?"bottom":"right",g=a.reference[d]+a.reference[f]-u[f]-a.floating[d],m=u[f]-a.reference[f],v=await l.getOffsetParent({element:r}),b=v?f==="y"?v.clientHeight||0:v.clientWidth||0:0,x=g/2-m/2,w=c[O],$=b-p[d]-c[y],T=b/2-p[d]/2+x,C=$O(w,T,$);return{data:{[f]:C,centerOffset:T-C}}}}),D4={left:"right",right:"left",bottom:"top",top:"bottom"};function Ju(t){return t.replace(/left|right|bottom|top/g,e=>D4[e])}function Fb(t,e){const r=Ro(t)==="start",n=hl(t),i=QO(n);let s=n==="x"?r?"right":"left":r?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ju(s)),{main:s,cross:Ju(s)}}const N4={start:"end",end:"start"};function _O(t){return t.replace(/start|end/g,e=>N4[e])}const I4=["top","right","bottom","left"],L4=I4.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function V4(t,e,r){return(t?[...r.filter(n=>Ro(n)===t),...r.filter(n=>Ro(n)!==t)]:r.filter(n=>Zn(n)===n)).filter(n=>t?Ro(n)===t||(e?_O(n)!==n:!1):!0)}const z4=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i,s,o,a;const{x:l,y:c,rects:u,middlewareData:h,placement:f}=e,{alignment:d=null,allowedPlacements:p=L4,autoAlignment:O=!0,...y}=t;if((r=h.autoPlacement)!=null&&r.skip)return{};const g=V4(d,O,p),m=await Ku(e,y),v=(n=(i=h.autoPlacement)==null?void 0:i.index)!=null?n:0,b=g[v],{main:x,cross:w}=Fb(b,u);if(f!==b)return{x:l,y:c,reset:{placement:g[0]}};const $=[m[Zn(b)],m[x],m[w]],T=[...(s=(o=h.autoPlacement)==null?void 0:o.overflows)!=null?s:[],{placement:b,overflows:$}],C=g[v+1];if(C)return{data:{index:v+1,overflows:T},reset:{placement:C}};const A=T.slice().sort((P,k)=>P.overflows[0]-k.overflows[0]),_=(a=A.find(P=>{let{overflows:k}=P;return k.every(E=>E<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:_!=null?_:A[0].placement}}}}};function W4(t){const e=Ju(t);return[_O(t),e,_O(e)]}const B4=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:s,rects:o,initialPlacement:a}=e;if((r=s.flip)!=null&&r.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",flipAlignment:f=!0,...d}=t,p=Zn(i),O=u||(p===a||!f?[Ju(a)]:W4(a)),y=[a,...O],g=await Ku(e,d),m=[];let v=((n=s.flip)==null?void 0:n.overflows)||[];if(l&&m.push(g[p]),c){const{main:$,cross:T}=Fb(i,o);m.push(g[$],g[T])}if(v=[...v,{placement:i,overflows:m}],!m.every($=>$<=0)){var b,x;const $=((b=(x=s.flip)==null?void 0:x.index)!=null?b:0)+1,T=y[$];if(T)return{data:{index:$,overflows:v},reset:{placement:T}};let C="bottom";switch(h){case"bestFit":{var w;const A=(w=v.slice().sort((_,P)=>_.overflows.filter(k=>k>0).reduce((k,E)=>k+E,0)-P.overflows.filter(k=>k>0).reduce((k,E)=>k+E,0))[0])==null?void 0:w.placement;A&&(C=A);break}case"initialPlacement":C=a;break}return{data:{skip:!0},reset:{placement:C}}}return{}}}};function U4(t){let{placement:e,rects:r,value:n}=t;const i=Zn(e),s=["left","top"].includes(i)?-1:1,o=typeof n=="function"?n({...r,placement:e}):n,{mainAxis:a,crossAxis:l}=typeof o=="number"?{mainAxis:o,crossAxis:0}:{mainAxis:0,crossAxis:0,...o};return hl(i)==="x"?{x:l,y:a*s}:{x:a*s,y:l}}const X4=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(e){const{x:r,y:n,placement:i,rects:s}=e,o=U4({placement:i,rects:s,value:t});return{x:r+o.x,y:n+o.y,data:o}}}};function q4(t){return t==="x"?"y":"x"}const Z4=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:y=>{let{x:g,y:m}=y;return{x:g,y:m}}},...l}=t,c={x:r,y:n},u=await Ku(e,l),h=hl(Zn(i)),f=q4(h);let d=c[h],p=c[f];if(s){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=d+u[y],v=d-u[g];d=$O(m,d,v)}if(o){const y=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=p+u[y],v=p-u[g];p=$O(m,p,v)}const O=a.fn({...e,[h]:d,[f]:p});return{...O,data:{x:O.x-r,y:O.y-n}}}}},F4=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r;const{placement:n,rects:i,middlewareData:s}=e,{apply:o,...a}=t;if((r=s.size)!=null&&r.skip)return{};const l=await Ku(e,a),c=Zn(n),u=Ro(n)==="end";let h,f;c==="top"||c==="bottom"?(h=c,f=u?"left":"right"):(f=c,h=u?"top":"bottom");const d=Ms(l.left,0),p=Ms(l.right,0),O=Ms(l.top,0),y=Ms(l.bottom,0),g={height:i.floating.height-(["left","right"].includes(n)?2*(O!==0||y!==0?O+y:Ms(l.top,l.bottom)):l[h]),width:i.floating.width-(["top","bottom"].includes(n)?2*(d!==0||p!==0?d+p:Ms(l.left,l.right)):l[f])};return o==null||o({...g,...i}),{data:{skip:!0},reset:{rects:!0}}}}};function PO(t){return(t==null?void 0:t.toString())==="[object Window]"}function Mi(t){if(t==null)return window;if(!PO(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function eh(t){return Mi(t).getComputedStyle(t)}function Fn(t){return PO(t)?"":t?(t.nodeName||"").toLowerCase():""}function Gn(t){return t instanceof Mi(t).HTMLElement}function th(t){return t instanceof Mi(t).Element}function G4(t){return t instanceof Mi(t).Node}function Gb(t){const e=Mi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function rh(t){const{overflow:e,overflowX:r,overflowY:n}=eh(t);return/auto|scroll|overlay|hidden/.test(e+n+r)}function H4(t){return["table","td","th"].includes(Fn(t))}function Hb(t){const e=navigator.userAgent.toLowerCase().includes("firefox"),r=eh(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":!1)}const Yb=Math.min,fl=Math.max,nh=Math.round;function Mo(t,e){e===void 0&&(e=!1);const r=t.getBoundingClientRect();let n=1,i=1;return e&&Gn(t)&&(n=t.offsetWidth>0&&nh(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&nh(r.height)/t.offsetHeight||1),{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}function ji(t){return((G4(t)?t.ownerDocument:t.document)||window.document).documentElement}function ih(t){return PO(t)?{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}:{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Kb(t){return Mo(ji(t)).left+ih(t).scrollLeft}function Y4(t){const e=Mo(t);return nh(e.width)!==t.offsetWidth||nh(e.height)!==t.offsetHeight}function K4(t,e,r){const n=Gn(e),i=ji(e),s=Mo(t,n&&Y4(e));let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(n||!n&&r!=="fixed")if((Fn(e)!=="body"||rh(i))&&(o=ih(e)),Gn(e)){const l=Mo(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=Kb(i));return{x:s.left+o.scrollLeft-a.x,y:s.top+o.scrollTop-a.y,width:s.width,height:s.height}}function sh(t){return Fn(t)==="html"?t:t.assignedSlot||t.parentNode||(Gb(t)?t.host:null)||ji(t)}function Jb(t){return!Gn(t)||getComputedStyle(t).position==="fixed"?null:t.offsetParent}function J4(t){let e=sh(t);for(;Gn(e)&&!["html","body"].includes(Fn(e));){if(Hb(e))return e;e=e.parentNode}return null}function CO(t){const e=Mi(t);let r=Jb(t);for(;r&&H4(r)&&getComputedStyle(r).position==="static";)r=Jb(r);return r&&(Fn(r)==="html"||Fn(r)==="body"&&getComputedStyle(r).position==="static"&&!Hb(r))?e:r||J4(t)||e}function e2(t){return{width:t.offsetWidth,height:t.offsetHeight}}function eM(t){let{rect:e,offsetParent:r,strategy:n}=t;const i=Gn(r),s=ji(r);if(r===s)return e;let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&n!=="fixed")&&((Fn(r)!=="body"||rh(s))&&(o=ih(r)),Gn(r))){const l=Mo(r,!0);a.x=l.x+r.clientLeft,a.y=l.y+r.clientTop}return{...e,x:e.x-o.scrollLeft+a.x,y:e.y-o.scrollTop+a.y}}function tM(t){const e=Mi(t),r=ji(t),n=e.visualViewport;let i=r.clientWidth,s=r.clientHeight,o=0,a=0;return n&&(i=n.width,s=n.height,Math.abs(e.innerWidth/n.scale-n.width)<.01&&(o=n.offsetLeft,a=n.offsetTop)),{width:i,height:s,x:o,y:a}}function rM(t){var e;const r=ji(t),n=ih(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=fl(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=fl(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-n.scrollLeft+Kb(t);const l=-n.scrollTop;return eh(i||r).direction==="rtl"&&(a+=fl(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function t2(t){return["html","body","#document"].includes(Fn(t))?t.ownerDocument.body:Gn(t)&&rh(t)?t:t2(sh(t))}function oh(t,e){var r;e===void 0&&(e=[]);const n=t2(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),s=Mi(n),o=i?[s].concat(s.visualViewport||[],rh(n)?n:[]):n,a=e.concat(o);return i?a:a.concat(oh(sh(o)))}function nM(t,e){const r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(r&&Gb(r)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function iM(t){const e=Mo(t),r=e.top+t.clientTop,n=e.left+t.clientLeft;return{top:r,left:n,x:n,y:r,right:n+t.clientWidth,bottom:r+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function r2(t,e){return e==="viewport"?xO(tM(t)):th(e)?iM(e):xO(rM(ji(t)))}function sM(t){const e=oh(sh(t)),r=["absolute","fixed"].includes(eh(t).position)&&Gn(t)?CO(t):t;return th(r)?e.filter(n=>th(n)&&nM(n,r)&&Fn(n)!=="body"):[]}function oM(t){let{element:e,boundary:r,rootBoundary:n}=t;const i=[...r==="clippingParents"?sM(e):[].concat(r),n],s=i[0],o=i.reduce((a,l)=>{const c=r2(e,l);return a.top=fl(c.top,a.top),a.right=Yb(c.right,a.right),a.bottom=Yb(c.bottom,a.bottom),a.left=fl(c.left,a.left),a},r2(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}const aM={getElementRects:t=>{let{reference:e,floating:r,strategy:n}=t;return{reference:K4(e,CO(r),n),floating:{...e2(r),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:t=>eM(t),getOffsetParent:t=>{let{element:e}=t;return CO(e)},isElement:t=>th(t),getDocumentElement:t=>{let{element:e}=t;return ji(e)},getClippingClientRect:t=>oM(t),getDimensions:t=>{let{element:e}=t;return e2(e)},getClientRects:t=>{let{element:e}=t;return e.getClientRects()}},lM=(t,e,r)=>A4(t,e,{platform:aM,...r});var cM=Object.defineProperty,uM=Object.defineProperties,hM=Object.getOwnPropertyDescriptors,n2=Object.getOwnPropertySymbols,fM=Object.prototype.hasOwnProperty,dM=Object.prototype.propertyIsEnumerable,i2=(t,e,r)=>e in t?cM(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Di=(t,e)=>{for(var r in e||(e={}))fM.call(e,r)&&i2(t,r,e[r]);if(n2)for(var r of n2(e))dM.call(e,r)&&i2(t,r,e[r]);return t},ah=(t,e)=>uM(t,hM(e));const js={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function lh(t,e){let r=js.themes[t]||{},n;do n=r[e],typeof n>"u"?r.$extend?r=js.themes[r.$extend]||{}:(r=null,n=js[e]):r=null;while(r);return n}function pM(t){const e=[t];let r=js.themes[t]||{};do r.$extend&&!r.$resetCss?(e.push(r.$extend),r=js.themes[r.$extend]||{}):r=null;while(r);return e.map(n=>`v-popper--theme-${n}`)}function s2(t){const e=[t];let r=js.themes[t]||{};do r.$extend?(e.push(r.$extend),r=js.themes[r.$extend]||{}):r=null;while(r);return e}let jo=!1;if(typeof window<"u"){jo=!1;try{const t=Object.defineProperty({},"passive",{get(){jo=!0}});window.addEventListener("test",null,t)}catch{}}let o2=!1;typeof window<"u"&&typeof navigator<"u"&&(o2=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const OM=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),a2={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},l2={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function c2(t,e){const r=t.indexOf(e);r!==-1&&t.splice(r,1)}function kO(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const an=[];let Ds=null;const u2={};function h2(t){let e=u2[t];return e||(e=u2[t]=[]),e}let EO=function(){};typeof window<"u"&&(EO=window.Element);function Pe(t){return function(e){return lh(e.theme,t)}}const AO="__floating-vue__popper";var f2=()=>it({name:"VPopper",provide(){return{[AO]:{parentPopper:this}}},inject:{[AO]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Pe("disabled")},positioningDisabled:{type:Boolean,default:Pe("positioningDisabled")},placement:{type:String,default:Pe("placement"),validator:t=>OM.includes(t)},delay:{type:[String,Number,Object],default:Pe("delay")},distance:{type:[Number,String],default:Pe("distance")},skidding:{type:[Number,String],default:Pe("skidding")},triggers:{type:Array,default:Pe("triggers")},showTriggers:{type:[Array,Function],default:Pe("showTriggers")},hideTriggers:{type:[Array,Function],default:Pe("hideTriggers")},popperTriggers:{type:Array,default:Pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Pe("popperHideTriggers")},container:{type:[String,Object,EO,Boolean],default:Pe("container")},boundary:{type:[String,EO],default:Pe("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Pe("strategy")},autoHide:{type:[Boolean,Function],default:Pe("autoHide")},handleResize:{type:Boolean,default:Pe("handleResize")},instantMove:{type:Boolean,default:Pe("instantMove")},eagerMount:{type:Boolean,default:Pe("eagerMount")},popperClass:{type:[String,Array,Object],default:Pe("popperClass")},computeTransformOrigin:{type:Boolean,default:Pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Pe("autoMinSize")},autoSize:{type:[Boolean,String],default:Pe("autoSize")},autoMaxSize:{type:Boolean,default:Pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Pe("preventOverflow")},overflowPadding:{type:[Number,String],default:Pe("overflowPadding")},arrowPadding:{type:[Number,String],default:Pe("arrowPadding")},arrowOverflow:{type:Boolean,default:Pe("arrowOverflow")},flip:{type:Boolean,default:Pe("flip")},shift:{type:Boolean,default:Pe("shift")},shiftCrossAxis:{type:Boolean,default:Pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Pe("noAutoFocus")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:ah(Di({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[AO])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:Di(Di({shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:r=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(r||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var r;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t,e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(e=(t=this.referenceNode)==null?void 0:t.call(this))!=null?e:this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var t;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(X4({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?e.middleware.push(z4({alignment:(t=this.placement.split("-")[1])!=null?t:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Z4({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&e.middleware.push(B4({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(j4({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:s,middlewareData:o})=>{let a;const{centerOffset:l}=o.arrow;return i.startsWith("top")||i.startsWith("bottom")?a=Math.abs(l)>s.reference.width/2:a=Math.abs(l)>s.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,u;return o.startsWith("top")||o.startsWith("bottom")?c=s.reference.width:u=s.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(F4({boundary:this.boundary,padding:this.overflowPadding,apply:({width:i,height:s})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await lM(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:Di(Di({},n.middlewareData.arrow),n.middlewareData.arrowOverflow)})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ds&&this.instantMove&&Ds.instantMove&&Ds!==this.parentPopper){Ds.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ds=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await kO(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oh(this.$_referenceNode),...oh(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),r=this.$_popperNode.querySelector(".v-popper__wrapper"),n=r.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(n.left+r.offsetLeft),s=e.y+e.height/2-(n.top+r.offsetTop);this.result.transformOrigin=`${i}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let r=0;r0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,c2(an,this),an.length===0&&document.body.classList.remove("v-popper--some-open");for(const r of s2(this.theme)){const n=h2(r);c2(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${r}`)}Ds===this&&(Ds=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=lh(this.theme,"disposeTimeout");e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await kO(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=r=>{this.isShown&&!this.$_hideInProgress||(r.usedByTooltip=!0,!this.$_preventShow&&this.show({event:r}))};this.$_registerTriggerListeners(this.$_targetNodes,a2,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],a2,this.popperTriggers,this.popperShowTriggers,t);const e=r=>{r.usedByTooltip||this.hide({event:r})};this.$_registerTriggerListeners(this.$_targetNodes,l2,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],l2,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,r){this.$_events.push({targetNodes:t,eventType:e,handler:r}),t.forEach(n=>n.addEventListener(e,r,jo?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,r,n,i){let s=r;n!=null&&(s=typeof n=="function"?n(s):n),s.forEach(o=>{const a=e[o];a&&this.$_registerEventListeners(t,a,i)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(r=>{const{targetNodes:n,eventType:i,handler:s}=r;!t||t===i?n.forEach(o=>o.removeEventListener(i,s)):e.push(r)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const r of this.$_targetNodes){const n=r.getAttribute(t);n&&(r.removeAttribute(t),r.setAttribute(e,n))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const r in t){const n=t[r];n==null?e.removeAttribute(r):e.setAttribute(r,n)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(dl>=t.left&&dl<=t.right&&pl>=t.top&&pl<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),r=dl-Ni,n=pl-Ii,i=e.left+e.width/2-Ni+(e.top+e.height/2)-Ii+e.width+e.height,s=Ni+r*i,o=Ii+n*i;return ch(Ni,Ii,s,o,e.left,e.top,e.left,e.bottom)||ch(Ni,Ii,s,o,e.left,e.top,e.right,e.top)||ch(Ni,Ii,s,o,e.right,e.top,e.right,e.bottom)||ch(Ni,Ii,s,o,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(o2?(document.addEventListener("touchstart",d2,jo?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",mM,jo?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",d2,!0),window.addEventListener("click",gM,!0)),window.addEventListener("resize",wM));function d2(t){for(let e=0;e=0;n--){const i=an[n];try{const s=i.$_containsGlobalTarget=yM(i,t);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!r[i.randomId]&&O2(i,s,t)){if(i.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&s){let a=i.parentPopper;for(;a;)r[a.randomId]=!0,a=a.parentPopper;return}let o=i.parentPopper;for(;o&&O2(o,o.$_containsGlobalTarget,t);)o.$_handleGlobalClose(t,e),o=o.parentPopper}})}catch{}}}function yM(t,e){const r=t.popperNode();return t.$_mouseDownContains||r.contains(e.target)}function O2(t,e,r){return r.closeAllPopover||r.closePopover&&e||vM(t,r)&&!e}function vM(t,e){if(typeof t.autoHide=="function"){const r=t.autoHide(e);return t.lastAutoHide=r,r}return t.autoHide}function wM(t){for(let e=0;e{Ni=dl,Ii=pl,dl=t.clientX,pl=t.clientY},jo?{passive:!0}:void 0);function ch(t,e,r,n,i,s,o,a){const l=((o-i)*(e-s)-(a-s)*(t-i))/((a-s)*(r-t)-(o-i)*(n-e)),c=((r-t)*(e-s)-(n-e)*(t-i))/((a-s)*(r-t)-(o-i)*(n-e));return l>=0&&l<=1&&c>=0&&c<=1}var RO=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};const SM={extends:f2()};function bM(t,e,r,n,i,s){return W(),K("div",{ref:"reference",class:qe(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[ht(t.$slots,"default",nm(If(t.slotData)))],2)}var TM=RO(SM,[["render",bM]]);function QM(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var r=t.indexOf("Trident/");if(r>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let uh;function MO(){MO.init||(MO.init=!0,uh=QM()!==-1)}var hh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){MO(),da(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",uh&&this.$el.appendChild(t),t.data="about:blank",uh||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!uh&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xM=Bm();zm("data-v-b329ee4c");const $M={class:"resize-observer",tabindex:"-1"};Wm();const _M=xM((t,e,r,n,i,s)=>(W(),$e("div",$M)));hh.render=_M,hh.__scopeId="data-v-b329ee4c",hh.__file="src/components/ResizeObserver.vue";var g2=(t="theme")=>({computed:{themeClass(){return pM(this[t])}}});const PM=it({name:"VPopperContent",components:{ResizeObserver:hh},mixins:[g2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),CM=["id","aria-hidden","tabindex","data-popper-placement"],kM={ref:"inner",class:"v-popper__inner"},EM=j("div",{class:"v-popper__arrow-outer"},null,-1),AM=j("div",{class:"v-popper__arrow-inner"},null,-1),RM=[EM,AM];function MM(t,e,r,n,i,s){const o=Gr("ResizeObserver");return W(),K("div",{id:t.popperId,ref:"popover",class:qe(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:Ct(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=yi(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[j("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),j("div",{class:"v-popper__wrapper",style:Ct(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[j("div",kM,[t.mounted?(W(),K(Ce,{key:0},[j("div",null,[ht(t.$slots,"default")]),t.handleResize?(W(),$e(o,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):ke("",!0)],64)):ke("",!0)],512),j("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ct(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},RM,4)],4)],46,CM)}var m2=RO(PM,[["render",MM]]),y2={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}};const jM=it({name:"VPopperWrapper",components:{Popper:TM,PopperContent:m2},mixins:[y2,g2("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){var t;return(t=this.theme)!=null?t:this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function DM(t,e,r,n,i,s){const o=Gr("PopperContent"),a=Gr("Popper");return W(),$e(a,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:qe([t.themeClass])},{default:We(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:h,autoHide:f,show:d,hide:p,handleResize:O,onResize:y,classes:g,result:m})=>[ht(t.$slots,"default",{shown:c,show:d,hide:p}),se(o,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":h,"auto-hide":f,"handle-resize":O,classes:g,result:m,onHide:p,onResize:y},{default:We(()=>[ht(t.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var jO=RO(jM,[["render",DM]]);it(ah(Di({},jO),{name:"VDropdown",vPopperTheme:"dropdown"})),it(ah(Di({},jO),{name:"VMenu",vPopperTheme:"menu"})),it(ah(Di({},jO),{name:"VTooltip",vPopperTheme:"tooltip"})),it({name:"VTooltipDirective",components:{Popper:f2(),PopperContent:m2},mixins:[y2],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>lh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>lh(t.theme,"loadingContent")}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,r=this.content(this);r.then?r.then(n=>this.onResult(e,n)):this.onResult(e,r)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const NM={},IM={class:"flex items-center justify-center py-4"},LM=j("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),j("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1),VM=[LM];function zM(t,e){return W(),K("div",IM,VM)}var DO=P5(NM,[["render",zM]]);let fh;const WM=new Uint8Array(16);function BM(){if(!fh&&(fh=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!fh))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return fh(WM)}const jt=[];for(let t=0;t<256;++t)jt.push((t+256).toString(16).slice(1));function UM(t,e=0){return(jt[t[e+0]]+jt[t[e+1]]+jt[t[e+2]]+jt[t[e+3]]+"-"+jt[t[e+4]]+jt[t[e+5]]+"-"+jt[t[e+6]]+jt[t[e+7]]+"-"+jt[t[e+8]]+jt[t[e+9]]+"-"+jt[t[e+10]]+jt[t[e+11]]+jt[t[e+12]]+jt[t[e+13]]+jt[t[e+14]]+jt[t[e+15]]).toLowerCase()}var v2={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function XM(t,e,r){if(v2.randomUUID&&!e&&!t)return v2.randomUUID();t=t||{};const n=t.random||(t.rng||BM)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return UM(n)}function qM(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}),e}var ZM=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},w2=typeof Symbol!="undefined"&&Symbol,FM=ZM,GM=function(){return typeof w2!="function"||typeof Symbol!="function"||typeof w2("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:FM()},HM="Function.prototype.bind called on incompatible ",NO=Array.prototype.slice,YM=Object.prototype.toString,KM="[object Function]",JM=function(e){var r=this;if(typeof r!="function"||YM.call(r)!==KM)throw new TypeError(HM+r);for(var n=NO.call(arguments,1),i,s=function(){if(this instanceof i){var u=r.apply(this,n.concat(NO.call(arguments)));return Object(u)===u?u:this}else return r.apply(e,n.concat(NO.call(arguments)))},o=Math.max(0,r.length-n.length),a=[],l=0;l1&&typeof r!="boolean")throw new No('"allowMissing" argument must be a boolean');if(cj(/^%?[^%]*%?$/,e)===null)throw new Do("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fj(e),i=n.length>0?n[0]:"",s=dj("%"+i+"%",r),o=s.name,a=s.value,l=!1,c=s.alias;c&&(i=c[0],lj(n,aj([0,1],c)));for(var u=1,h=!0;u=n.length){var O=Ns(a,f);h=!!O,h&&"get"in O&&!("originalValue"in O.get)?a=O.get:a=a[f]}else h=dh(a,f),a=a[f];h&&!l&&(Is[o]=a)}}return a},Q2={exports:{}};(function(t){var e=IO,r=zO,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||e.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),a=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}t.exports=function(h){var f=s(e,i,arguments);if(o&&a){var d=o(f,"length");d.configurable&&a(f,"length",{value:1+l(0,h.length-(arguments.length-1))})}return f};var c=function(){return s(e,n,arguments)};a?a(t.exports,"apply",{value:c}):t.exports.apply=c})(Q2);var x2=zO,$2=Q2.exports,pj=$2(x2("String.prototype.indexOf")),Oj=function(e,r){var n=x2(e,!!r);return typeof n=="function"&&pj(e,".prototype.")>-1?$2(n):n},gj={},mj=Object.freeze(Object.defineProperty({__proto__:null,default:gj},Symbol.toStringTag,{value:"Module"})),yj=qM(mj),WO=typeof Map=="function"&&Map.prototype,BO=Object.getOwnPropertyDescriptor&&WO?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Oh=WO&&BO&&typeof BO.get=="function"?BO.get:null,_2=WO&&Map.prototype.forEach,UO=typeof Set=="function"&&Set.prototype,XO=Object.getOwnPropertyDescriptor&&UO?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,gh=UO&&XO&&typeof XO.get=="function"?XO.get:null,P2=UO&&Set.prototype.forEach,vj=typeof WeakMap=="function"&&WeakMap.prototype,gl=vj?WeakMap.prototype.has:null,wj=typeof WeakSet=="function"&&WeakSet.prototype,ml=wj?WeakSet.prototype.has:null,Sj=typeof WeakRef=="function"&&WeakRef.prototype,C2=Sj?WeakRef.prototype.deref:null,bj=Boolean.prototype.valueOf,Tj=Object.prototype.toString,Qj=Function.prototype.toString,xj=String.prototype.match,qO=String.prototype.slice,Li=String.prototype.replace,$j=String.prototype.toUpperCase,k2=String.prototype.toLowerCase,E2=RegExp.prototype.test,A2=Array.prototype.concat,Cn=Array.prototype.join,_j=Array.prototype.slice,R2=Math.floor,ZO=typeof BigInt=="function"?BigInt.prototype.valueOf:null,FO=Object.getOwnPropertySymbols,GO=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vo=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Gt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vo?"object":"symbol")?Symbol.toStringTag:null,M2=Object.prototype.propertyIsEnumerable,j2=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function D2(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||E2.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-R2(-t):R2(t);if(n!==t){var i=String(n),s=qO.call(e,i.length+1);return Li.call(i,r,"$&_")+"."+Li.call(Li.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Li.call(e,r,"$&_")}var HO=yj,N2=HO.custom,I2=z2(N2)?N2:null,Pj=function t(e,r,n,i){var s=r||{};if(Vi(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Vi(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Vi(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Vi(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Vi(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return B2(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return a?D2(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return a?D2(e,c):c}var u=typeof s.depth=="undefined"?5:s.depth;if(typeof n=="undefined"&&(n=0),n>=u&&u>0&&typeof e=="object")return YO(e)?"[Array]":"[Object]";var h=qj(s,n);if(typeof i=="undefined")i=[];else if(W2(i,e)>=0)return"[Circular]";function f(k,E,N){if(E&&(i=_j.call(i),i.push(E)),N){var D={depth:s.depth};return Vi(s,"quoteStyle")&&(D.quoteStyle=s.quoteStyle),t(k,D,n+1,i)}return t(k,s,n+1,i)}if(typeof e=="function"&&!V2(e)){var d=Nj(e),p=mh(e,f);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(p.length>0?" { "+Cn.call(p,", ")+" }":"")}if(z2(e)){var O=Vo?Li.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):GO.call(e);return typeof e=="object"&&!Vo?yl(O):O}if(Bj(e)){for(var y="<"+k2.call(String(e.nodeName)),g=e.attributes||[],m=0;m",y}if(YO(e)){if(e.length===0)return"[]";var v=mh(e,f);return h&&!Xj(v)?"["+JO(v,h)+"]":"[ "+Cn.call(v,", ")+" ]"}if(Ej(e)){var b=mh(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!M2.call(e,"cause")?"{ ["+String(e)+"] "+Cn.call(A2.call("[cause]: "+f(e.cause),b),", ")+" }":b.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Cn.call(b,", ")+" }"}if(typeof e=="object"&&o){if(I2&&typeof e[I2]=="function"&&HO)return HO(e,{depth:u-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ij(e)){var x=[];return _2&&_2.call(e,function(k,E){x.push(f(E,e,!0)+" => "+f(k,e))}),U2("Map",Oh.call(e),x,h)}if(zj(e)){var w=[];return P2&&P2.call(e,function(k){w.push(f(k,e))}),U2("Set",gh.call(e),w,h)}if(Lj(e))return KO("WeakMap");if(Wj(e))return KO("WeakSet");if(Vj(e))return KO("WeakRef");if(Rj(e))return yl(f(Number(e)));if(jj(e))return yl(f(ZO.call(e)));if(Mj(e))return yl(bj.call(e));if(Aj(e))return yl(f(String(e)));if(!kj(e)&&!V2(e)){var $=mh(e,f),T=j2?j2(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",A=!T&&Gt&&Object(e)===e&&Gt in e?qO.call(zi(e),8,-1):C?"Object":"",_=T||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",P=_+(A||C?"["+Cn.call(A2.call([],A||[],C||[]),": ")+"] ":"");return $.length===0?P+"{}":h?P+"{"+JO($,h)+"}":P+"{ "+Cn.call($,", ")+" }"}return String(e)};function L2(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function Cj(t){return Li.call(String(t),/"/g,""")}function YO(t){return zi(t)==="[object Array]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function kj(t){return zi(t)==="[object Date]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function V2(t){return zi(t)==="[object RegExp]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function Ej(t){return zi(t)==="[object Error]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function Aj(t){return zi(t)==="[object String]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function Rj(t){return zi(t)==="[object Number]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function Mj(t){return zi(t)==="[object Boolean]"&&(!Gt||!(typeof t=="object"&&Gt in t))}function z2(t){if(Vo)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!GO)return!1;try{return GO.call(t),!0}catch{}return!1}function jj(t){if(!t||typeof t!="object"||!ZO)return!1;try{return ZO.call(t),!0}catch{}return!1}var Dj=Object.prototype.hasOwnProperty||function(t){return t in this};function Vi(t,e){return Dj.call(t,e)}function zi(t){return Tj.call(t)}function Nj(t){if(t.name)return t.name;var e=xj.call(Qj.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function W2(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return B2(qO.call(t,0,e.maxStringLength),e)+n}var i=Li.call(Li.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Uj);return L2(i,"single",e)}function Uj(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+$j.call(e.toString(16))}function yl(t){return"Object("+t+")"}function KO(t){return t+" { ? }"}function U2(t,e,r,n){var i=n?JO(r,n):Cn.call(r,", ");return t+" ("+e+") {"+i+"}"}function Xj(t){for(var e=0;e=0)return!1;return!0}function qj(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=Cn.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Cn.call(Array(e+1),r)}}function JO(t,e){if(t.length===0)return"";var r=` -`+e.prev+e.base;return r+Cn.call(t,","+r)+` -`+e.prev}function mh(t,e){var r=YO(t),n=[];if(r){n.length=t.length;for(var i=0;i1;){var r=e.pop(),n=r.obj[r.prop];if(Ls(n)){for(var i=[],s=0;s=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||s===a9.RFC1738&&(c===40||c===41)){a+=o.charAt(l);continue}if(c<128){a=a+kn[c];continue}if(c<2048){a=a+(kn[192|c>>6]+kn[128|c&63]);continue}if(c<55296||c>=57344){a=a+(kn[224|c>>12]+kn[128|c>>6&63]+kn[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),a+=kn[240|c>>18]+kn[128|c>>12&63]+kn[128|c>>6&63]+kn[128|c&63]}return a},d9=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i0?g.join(",")||null:void 0}];else if(Hn(l))_=l;else{var P=Object.keys(g);_=c?P.sort(c):P}for(var k=i&&Hn(g)&&g.length===1?r+"[]":r,E=0;E<_.length;++E){var N=_[E],D=typeof N=="object"&&typeof N.value!="undefined"?N.value:g[N];if(!(o&&D===null)){var X=Hn(g)?typeof n=="function"?n(k,N):k:k+(u?"."+N:"["+N+"]");y.set(e,v);var B=Z2();B.set(og,y),G2(A,t(D,X,n,i,s,o,a,l,c,u,h,f,d,p,O,B))}}return A},Q9=function(e){if(!e)return Dt;if(e.encoder!==null&&typeof e.encoder!="undefined"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||Dt.charset;if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=vl.default;if(typeof e.format!="undefined"){if(!y9.call(vl.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=vl.formatters[n],s=Dt.filter;return(typeof e.filter=="function"||Hn(e.filter))&&(s=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Dt.addQueryPrefix,allowDots:typeof e.allowDots=="undefined"?Dt.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Dt.charsetSentinel,delimiter:typeof e.delimiter=="undefined"?Dt.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Dt.encode,encoder:typeof e.encoder=="function"?e.encoder:Dt.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Dt.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Dt.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Dt.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Dt.strictNullHandling}},x9=function(t,e){var r=t,n=Q9(e),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Hn(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a;e&&e.arrayFormat in F2?a=e.arrayFormat:e&&"indices"in e?a=e.indices?"indices":"repeat":a="indices";var l=F2[a];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=l==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=Z2(),h=0;h0?p+d:""},Wo=q2,ag=Object.prototype.hasOwnProperty,$9=Array.isArray,xt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Wo.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},_9=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Y2=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},P9="utf8=%26%2310003%3B",C9="utf8=%E2%9C%93",k9=function(e,r){var n={},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),a=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l-1&&(p=$9(p)?[p]:p),ag.call(n,d)?n[d]=Wo.combine(n[d],p):n[d]=p}return n},E9=function(t,e,r,n){for(var i=n?e:Y2(e,r),s=t.length-1;s>=0;--s){var o,a=t[s];if(a==="[]"&&r.parseArrays)o=[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,c=parseInt(l,10);!r.parseArrays&&l===""?o={0:i}:!isNaN(c)&&a!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(o=[],o[c]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},A9=function(e,r,n,i){if(!!e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(s),c=l?s.slice(0,l.index):s,u=[];if(c){if(!n.plainObjects&&ag.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&(l=a.exec(s))!==null&&h0;)s=n[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function nD(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return n!==-1&&n===r}function iD(t){if(!t)return null;var e=t.length;if(wh(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var sD=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Nt={isArray:hg,isArrayBuffer:J2,isBuffer:V9,isFormData:G9,isArrayBufferView:z9,isString:W9,isNumber:B9,isObject:eT,isPlainObject:Sh,isUndefined:wh,isDate:U9,isFile:X9,isBlob:q9,isFunction:fg,isStream:F9,isURLSearchParams:H9,isStandardBrowserEnv:K9,forEach:dg,merge:pg,extend:J9,trim:Y9,stripBOM:eD,inherits:tD,toFlatObject:rD,kindOf:ug,kindOfTest:Vs,endsWith:nD,toArray:iD,isTypedArray:sD,isFileList:Z9},Bo=Nt;function tT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var rT=function(e,r,n){if(!r)return e;var i;if(n)i=n(r);else if(Bo.isURLSearchParams(r))i=r.toString();else{var s=[];Bo.forEach(r,function(l,c){l===null||typeof l=="undefined"||(Bo.isArray(l)?c=c+"[]":l=[l],Bo.forEach(l,function(h){Bo.isDate(h)?h=h.toISOString():Bo.isObject(h)&&(h=JSON.stringify(h)),s.push(tT(c)+"="+tT(h))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},oD=Nt;function bh(){this.handlers=[]}bh.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},bh.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},bh.prototype.forEach=function(e){oD.forEach(this.handlers,function(n){n!==null&&e(n)})};var aD=bh,lD=Nt,cD=function(e,r){lD.forEach(e,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(e[r]=i,delete e[s])})},nT=Nt;function Uo(t,e,r,n,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}nT.inherits(Uo,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var iT=Uo.prototype,sT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){sT[t]={value:t}}),Object.defineProperties(Uo,sT),Object.defineProperty(iT,"isAxiosError",{value:!0}),Uo.from=function(t,e,r,n,i,s){var o=Object.create(iT);return nT.toFlatObject(t,o,function(l){return l!==Error.prototype}),Uo.call(o,t.message,e,r,n,i),o.name=t.name,s&&Object.assign(o,s),o};var Xo=Uo,oT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ln=Nt;function uD(t,e){e=e||new FormData;var r=[];function n(s){return s===null?"":ln.isDate(s)?s.toISOString():ln.isArrayBuffer(s)||ln.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(ln.isPlainObject(s)||ln.isArray(s)){if(r.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);r.push(s),ln.forEach(s,function(l,c){if(!ln.isUndefined(l)){var u=o?o+"."+c:c,h;if(l&&!o&&typeof l=="object"){if(ln.endsWith(c,"{}"))l=JSON.stringify(l);else if(ln.endsWith(c,"[]")&&(h=ln.toArray(l))){h.forEach(function(f){!ln.isUndefined(f)&&e.append(u,n(f))});return}}i(l,u)}}),r.pop()}else e.append(o,n(s))}return i(t),e}var aT=uD,Og=Xo,hD=function(e,r,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):r(new Og("Request failed with status code "+n.status,[Og.ERR_BAD_REQUEST,Og.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},Th=Nt,fD=Th.isStandardBrowserEnv()?function(){return{write:function(r,n,i,s,o,a){var l=[];l.push(r+"="+encodeURIComponent(n)),Th.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),Th.isString(s)&&l.push("path="+s),Th.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),dD=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},pD=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},OD=dD,gD=pD,lT=function(e,r){return e&&!OD(r)?gD(e,r):r},gg=Nt,mD=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],yD=function(e){var r={},n,i,s;return e&&gg.forEach(e.split(` -`),function(a){if(s=a.indexOf(":"),n=gg.trim(a.substr(0,s)).toLowerCase(),i=gg.trim(a.substr(s+1)),n){if(r[n]&&mD.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+", "+i:i}}),r},cT=Nt,vD=cT.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(s){var o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){var a=cT.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}(),mg=Xo,wD=Nt;function uT(t){mg.call(this,t==null?"canceled":t,mg.ERR_CANCELED),this.name="CanceledError"}wD.inherits(uT,mg,{__CANCEL__:!0});var Qh=uT,SD=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""},wl=Nt,bD=hD,TD=fD,QD=rT,xD=lT,$D=yD,_D=vD,PD=oT,Yn=Xo,CD=Qh,kD=SD,hT=function(e){return new Promise(function(n,i){var s=e.data,o=e.headers,a=e.responseType,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}wl.isFormData(s)&&wl.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(h+":"+f)}var d=xD(e.baseURL,e.url);u.open(e.method.toUpperCase(),QD(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!!u){var g="getAllResponseHeaders"in u?$D(u.getAllResponseHeaders()):null,m=!a||a==="text"||a==="json"?u.responseText:u.response,v={data:m,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};bD(function(x){n(x),c()},function(x){i(x),c()},v),u=null}}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){!u||(i(new Yn("Request aborted",Yn.ECONNABORTED,e,u)),u=null)},u.onerror=function(){i(new Yn("Network Error",Yn.ERR_NETWORK,e,u,u)),u=null},u.ontimeout=function(){var m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",v=e.transitional||PD;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),i(new Yn(m,v.clarifyTimeoutError?Yn.ETIMEDOUT:Yn.ECONNABORTED,e,u)),u=null},wl.isStandardBrowserEnv()){var O=(e.withCredentials||_D(d))&&e.xsrfCookieName?TD.read(e.xsrfCookieName):void 0;O&&(o[e.xsrfHeaderName]=O)}"setRequestHeader"in u&&wl.forEach(o,function(m,v){typeof s=="undefined"&&v.toLowerCase()==="content-type"?delete o[v]:u.setRequestHeader(v,m)}),wl.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(g){!u||(i(!g||g&&g.type?new CD:g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),s||(s=null);var y=kD(d);if(y&&["http","https","file"].indexOf(y)===-1){i(new Yn("Unsupported protocol "+y+":",Yn.ERR_BAD_REQUEST,e));return}u.send(s)})},ED=null,$t=Nt,fT=cD,dT=Xo,AD=oT,RD=aT,MD={"Content-Type":"application/x-www-form-urlencoded"};function pT(t,e){!$t.isUndefined(t)&&$t.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function jD(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=hT),t}function DD(t,e,r){if($t.isString(t))try{return(e||JSON.parse)(t),$t.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var xh={transitional:AD,adapter:jD(),transformRequest:[function(e,r){if(fT(r,"Accept"),fT(r,"Content-Type"),$t.isFormData(e)||$t.isArrayBuffer(e)||$t.isBuffer(e)||$t.isStream(e)||$t.isFile(e)||$t.isBlob(e))return e;if($t.isArrayBufferView(e))return e.buffer;if($t.isURLSearchParams(e))return pT(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=$t.isObject(e),i=r&&r["Content-Type"],s;if((s=$t.isFileList(e))||n&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return RD(s?{"files[]":e}:e,o&&new o)}else if(n||i==="application/json")return pT(r,"application/json"),DD(e);return e}],transformResponse:[function(e){var r=this.transitional||xh.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!n&&this.responseType==="json";if(s||i&&$t.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?dT.from(o,dT.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ED},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$t.forEach(["delete","get","head"],function(e){xh.headers[e]={}}),$t.forEach(["post","put","patch"],function(e){xh.headers[e]=$t.merge(MD)});var yg=xh,ND=Nt,ID=yg,LD=function(e,r,n){var i=this||ID;return ND.forEach(n,function(o){e=o.call(i,e,r)}),e},OT=function(e){return!!(e&&e.__CANCEL__)},gT=Nt,vg=LD,VD=OT,zD=yg,WD=Qh;function wg(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new WD}var BD=function(e){wg(e),e.headers=e.headers||{},e.data=vg.call(e,e.data,e.headers,e.transformRequest),e.headers=gT.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),gT.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||zD.adapter;return r(e).then(function(i){return wg(e),i.data=vg.call(e,i.data,i.headers,e.transformResponse),i},function(i){return VD(i)||(wg(e),i&&i.response&&(i.response.data=vg.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},jr=Nt,mT=function(e,r){r=r||{};var n={};function i(u,h){return jr.isPlainObject(u)&&jr.isPlainObject(h)?jr.merge(u,h):jr.isPlainObject(h)?jr.merge({},h):jr.isArray(h)?h.slice():h}function s(u){if(jr.isUndefined(r[u])){if(!jr.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],r[u])}function o(u){if(!jr.isUndefined(r[u]))return i(void 0,r[u])}function a(u){if(jr.isUndefined(r[u])){if(!jr.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,r[u])}function l(u){if(u in r)return i(e[u],r[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return jr.forEach(Object.keys(e).concat(Object.keys(r)),function(h){var f=c[h]||s,d=f(h);jr.isUndefined(d)&&f!==l||(n[h]=d)}),n},yT={version:"0.27.2"},UD=yT.version,Wi=Xo,Sg={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Sg[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var vT={};Sg.transitional=function(e,r,n){function i(s,o){return"[Axios v"+UD+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return function(s,o,a){if(e===!1)throw new Wi(i(o," has been removed"+(r?" in "+r:"")),Wi.ERR_DEPRECATED);return r&&!vT[o]&&(vT[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function XD(t,e,r){if(typeof t!="object")throw new Wi("options must be an object",Wi.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var s=n[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new Wi("option "+s+" must be "+l,Wi.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Wi("Unknown option "+s,Wi.ERR_BAD_OPTION)}}var qD={assertOptions:XD,validators:Sg},wT=Nt,ZD=rT,ST=aD,bT=BD,$h=mT,FD=lT,TT=qD,qo=TT.validators;function Zo(t){this.defaults=t,this.interceptors={request:new ST,response:new ST}}Zo.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=$h(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&TT.assertOptions(n,{silentJSONParsing:qo.transitional(qo.boolean),forcedJSONParsing:qo.transitional(qo.boolean),clarifyTimeoutError:qo.transitional(qo.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(s=s&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var a;if(!s){var l=[bT,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(r);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=r;i.length;){var u=i.shift(),h=i.shift();try{c=u(c)}catch(f){h(f);break}}try{a=bT(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a},Zo.prototype.getUri=function(e){e=$h(this.defaults,e);var r=FD(e.baseURL,e.url);return ZD(r,e.params,e.paramsSerializer)},wT.forEach(["delete","get","head","options"],function(e){Zo.prototype[e]=function(r,n){return this.request($h(n||{},{method:e,url:r,data:(n||{}).data}))}}),wT.forEach(["post","put","patch"],function(e){function r(n){return function(s,o,a){return this.request($h(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Zo.prototype[e]=r(),Zo.prototype[e+"Form"]=r(!0)});var GD=Zo,HD=Qh;function Fo(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(i){e=i});var r=this;this.promise.then(function(n){if(!!r._listeners){var i,s=r._listeners.length;for(i=0;ibg(t,n,r)):Object.keys(e).forEach(n=>bg(t,e[n],`${r}${r!==""?".":""}${n}`)):t.has(r)?t.append(r,e):t.set(r,e))}const Jt=function(t,...e){const r=new URLSearchParams(t.search);bg(r,e),t.search=r.toString()},Bi=function(t,e,r){const n=typeof t!="string";return(n&&r&&r.isJsonMime?r.isJsonMime(e.headers["Content-Type"]):n)?JSON.stringify(t!==void 0?t:{}):t||""},er=function(t){return t.pathname+t.search+t.hash},tr=function(t,e,r,n){return(i=e,s=r)=>{const o={...t.options,url:((n==null?void 0:n.basePath)||s)+t.url};return i.request(o)}},sN=function(t){return{changePassword:async(e,r,n={})=>{_t("changePassword","name",e),_t("changePassword","changePasswordRequest",r);const i="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(e))),s=new URL(i,Ht);let o;t&&(o=t.baseOptions);const a={method:"PUT",...o,...n},l={},c={};Yt(a,t),await Kt(l,t),l["Content-Type"]="application/json",Jt(s,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...n.headers},a.data=Bi(r,a,t),{url:er(s),options:a}},getCurrentUserDetail:async(e={})=>{const r="/apis/api.console.halo.run/v1alpha1/users/-",n=new URL(r,Ht);let i;t&&(i=t.baseOptions);const s={method:"GET",...i,...e},o={},a={};Yt(s,t),await Kt(o,t),Jt(n,a);let l=i&&i.headers?i.headers:{};return s.headers={...o,...l,...e.headers},{url:er(n),options:s}},getPermissions:async(e,r={})=>{_t("getPermissions","name",e);const n="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"GET",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},{url:er(i),options:o}},getUserDetail:async(e,r={})=>{_t("getUserDetail","name",e);const n="/apis/api.console.halo.run/v1alpha1/users/{name}".replace("{name}",encodeURIComponent(String(e))),i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"GET",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},{url:er(i),options:o}},grantPermission:async(e,r,n={})=>{_t("grantPermission","name",e),_t("grantPermission","grantRequest",r);const i="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),s=new URL(i,Ht);let o;t&&(o=t.baseOptions);const a={method:"POST",...o,...n},l={},c={};Yt(a,t),await Kt(l,t),l["Content-Type"]="application/json",Jt(s,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...n.headers},a.data=Bi(r,a,t),{url:er(s),options:a}},listUsers:async(e,r,n,i,s,o,a,l={})=>{const c="/apis/api.console.halo.run/v1alpha1/users",u=new URL(c,Ht);let h;t&&(h=t.baseOptions);const f={method:"GET",...h,...l},d={},p={};Yt(f,t),await Kt(d,t),e&&(p.sort=Array.from(e)),r!==void 0&&(p.keyword=r),n!==void 0&&(p.role=n),i!==void 0&&(p.size=i),s&&(p.labelSelector=s),o&&(p.fieldSelector=o),a!==void 0&&(p.page=a),Jt(u,p);let O=h&&h.headers?h.headers:{};return f.headers={...d,...O,...l.headers},{url:er(u),options:f}},updateCurrentUser:async(e,r={})=>{_t("updateCurrentUser","user",e);const n="/apis/api.console.halo.run/v1alpha1/users/-",i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"PUT",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),a["Content-Type"]="application/json",Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},o.data=Bi(e,o,t),{url:er(i),options:o}}}},zs=function(t){const e=sN(t);return{async changePassword(r,n,i){const s=await e.changePassword(r,n,i);return tr(s,lt,It,t)},async getCurrentUserDetail(r){const n=await e.getCurrentUserDetail(r);return tr(n,lt,It,t)},async getPermissions(r,n){const i=await e.getPermissions(r,n);return tr(i,lt,It,t)},async getUserDetail(r,n){const i=await e.getUserDetail(r,n);return tr(i,lt,It,t)},async grantPermission(r,n,i){const s=await e.grantPermission(r,n,i);return tr(s,lt,It,t)},async listUsers(r,n,i,s,o,a,l,c){const u=await e.listUsers(r,n,i,s,o,a,l,c);return tr(u,lt,It,t)},async updateCurrentUser(r,n){const i=await e.updateCurrentUser(r,n);return tr(i,lt,It,t)}}};class oN extends Ph{changePassword(e,r){return zs(this.configuration).changePassword(e.name,e.changePasswordRequest,r).then(n=>n(this.axios,this.basePath))}getCurrentUserDetail(e){return zs(this.configuration).getCurrentUserDetail(e).then(r=>r(this.axios,this.basePath))}getPermissions(e,r){return zs(this.configuration).getPermissions(e.name,r).then(n=>n(this.axios,this.basePath))}getUserDetail(e,r){return zs(this.configuration).getUserDetail(e.name,r).then(n=>n(this.axios,this.basePath))}grantPermission(e,r){return zs(this.configuration).grantPermission(e.name,e.grantRequest,r).then(n=>n(this.axios,this.basePath))}listUsers(e={},r){return zs(this.configuration).listUsers(e.sort,e.keyword,e.role,e.size,e.labelSelector,e.fieldSelector,e.page,r).then(n=>n(this.axios,this.basePath))}updateCurrentUser(e,r){return zs(this.configuration).updateCurrentUser(e.user,r).then(n=>n(this.axios,this.basePath))}}const aN=function(t){return{createComment1:async(e,r={})=>{_t("createComment1","commentRequest",e);const n="/apis/api.halo.run/v1alpha1/comments",i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"POST",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),a["Content-Type"]="application/json",Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},o.data=Bi(e,o,t),{url:er(i),options:o}},createReply1:async(e,r,n={})=>{_t("createReply1","name",e),_t("createReply1","replyRequest",r);const i="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),s=new URL(i,Ht);let o;t&&(o=t.baseOptions);const a={method:"POST",...o,...n},l={},c={};Yt(a,t),await Kt(l,t),l["Content-Type"]="application/json",Jt(s,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...n.headers},a.data=Bi(r,a,t),{url:er(s),options:a}},getComment:async(e,r={})=>{_t("getComment","name",e);const n="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(e))),i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"GET",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},{url:er(i),options:o}},listCommentReplies:async(e,r,n,i={})=>{_t("listCommentReplies","name",e);const s="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),o=new URL(s,Ht);let a;t&&(a=t.baseOptions);const l={method:"GET",...a,...i},c={},u={};Yt(l,t),await Kt(c,t),r!==void 0&&(u.size=r),n!==void 0&&(u.page=n),Jt(o,u);let h=a&&a.headers?a.headers:{};return l.headers={...c,...h,...i.headers},{url:er(o),options:l}},listComments1:async(e,r,n,i,s,o,a={})=>{_t("listComments1","name",e),_t("listComments1","version",r),_t("listComments1","kind",n);const l="/apis/api.halo.run/v1alpha1/comments",c=new URL(l,Ht);let u;t&&(u=t.baseOptions);const h={method:"GET",...u,...a},f={},d={};Yt(h,t),await Kt(f,t),e!==void 0&&(d.name=e),r!==void 0&&(d.version=r),i!==void 0&&(d.group=i),n!==void 0&&(d.kind=n),s!==void 0&&(d.size=s),o!==void 0&&(d.page=o),Jt(c,d);let p=u&&u.headers?u.headers:{};return h.headers={...f,...p,...a.headers},{url:er(c),options:h}}}},Sl=function(t){const e=aN(t);return{async createComment1(r,n){const i=await e.createComment1(r,n);return tr(i,lt,It,t)},async createReply1(r,n,i){const s=await e.createReply1(r,n,i);return tr(s,lt,It,t)},async getComment(r,n){const i=await e.getComment(r,n);return tr(i,lt,It,t)},async listCommentReplies(r,n,i,s){const o=await e.listCommentReplies(r,n,i,s);return tr(o,lt,It,t)},async listComments1(r,n,i,s,o,a,l){const c=await e.listComments1(r,n,i,s,o,a,l);return tr(c,lt,It,t)}}};class lN extends Ph{createComment1(e,r){return Sl(this.configuration).createComment1(e.commentRequest,r).then(n=>n(this.axios,this.basePath))}createReply1(e,r){return Sl(this.configuration).createReply1(e.name,e.replyRequest,r).then(n=>n(this.axios,this.basePath))}getComment(e,r){return Sl(this.configuration).getComment(e.name,r).then(n=>n(this.axios,this.basePath))}listCommentReplies(e,r){return Sl(this.configuration).listCommentReplies(e.name,e.size,e.page,r).then(n=>n(this.axios,this.basePath))}listComments1(e,r){return Sl(this.configuration).listComments1(e.name,e.version,e.kind,e.group,e.size,e.page,r).then(n=>n(this.axios,this.basePath))}}const cN=function(t){return{count:async(e,r={})=>{_t("count","counterRequest",e);const n="/apis/api.halo.run/v1alpha1/trackers/counter",i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"POST",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),a["Content-Type"]="application/json",Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},o.data=Bi(e,o,t),{url:er(i),options:o}},downvote:async(e,r={})=>{_t("downvote","voteRequest",e);const n="/apis/api.halo.run/v1alpha1/trackers/downvote",i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"POST",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),a["Content-Type"]="application/json",Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},o.data=Bi(e,o,t),{url:er(i),options:o}},upvote:async(e,r={})=>{_t("upvote","voteRequest",e);const n="/apis/api.halo.run/v1alpha1/trackers/upvote",i=new URL(n,Ht);let s;t&&(s=t.baseOptions);const o={method:"POST",...s,...r},a={},l={};Yt(o,t),await Kt(a,t),a["Content-Type"]="application/json",Jt(i,l);let c=s&&s.headers?s.headers:{};return o.headers={...a,...c,...r.headers},o.data=Bi(e,o,t),{url:er(i),options:o}}}},Tg=function(t){const e=cN(t);return{async count(r,n){const i=await e.count(r,n);return tr(i,lt,It,t)},async downvote(r,n){const i=await e.downvote(r,n);return tr(i,lt,It,t)},async upvote(r,n){const i=await e.upvote(r,n);return tr(i,lt,It,t)}}};class uN extends Ph{count(e,r){return Tg(this.configuration).count(e.counterRequest,r).then(n=>n(this.axios,this.basePath))}downvote(e,r){return Tg(this.configuration).downvote(e.voteRequest,r).then(n=>n(this.axios,this.basePath))}upvote(e,r){return Tg(this.configuration).upvote(e.voteRequest,r).then(n=>n(this.axios,this.basePath))}}const hN=function(t){return{getPublicKey:async(e={})=>{const r="/login/public-key",n=new URL(r,Ht);let i;t&&(i=t.baseOptions);const s={method:"GET",...i,...e},o={},a={};Yt(s,t),await Kt(o,t),Jt(n,a);let l=i&&i.headers?i.headers:{};return s.headers={...o,...l,...e.headers},{url:er(n),options:s}}}},fN=function(t){const e=hN(t);return{async getPublicKey(r){const n=await e.getPublicKey(r);return tr(n,lt,It,t)}}};class dN extends Ph{getPublicKey(e){return fN(this.configuration).getPublicKey(e).then(r=>r(this.axios,this.basePath))}}const bl="",Ch=lt.create({baseURL:bl,withCredentials:!0});Ch.interceptors.response.use(t=>t,async t=>{if(/Network Error/.test(t.message))return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(t);const e=t.response;if(!e)return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(t);const{title:r,detail:n}=e.data;return r&&n&&alert([r,n].join(": ")),Promise.reject(t)});const Ui={user:new oN(void 0,bl,Ch),comment:new lN(void 0,bl,Ch),tracker:new uN(void 0,bl,Ch),login:new dN(void 0,bl,lt)};var pN="0123456789abcdefghijklmnopqrstuvwxyz";function Kn(t){return pN.charAt(t)}function ON(t,e){return t&e}function kh(t,e){return t|e}function $T(t,e){return t^e}function _T(t,e){return t&~e}function gN(t){if(t==0)return-1;var e=0;return(t&65535)==0&&(t>>=16,e+=16),(t&255)==0&&(t>>=8,e+=8),(t&15)==0&&(t>>=4,e+=4),(t&3)==0&&(t>>=2,e+=2),(t&1)==0&&++e,e}function mN(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var Go="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",PT="=";function Eh(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=Go.charAt(r>>6)+Go.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=Go.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=Go.charAt(r>>2)+Go.charAt((r&3)<<4));(n.length&3)>0;)n+=PT;return n}function CT(t){var e="",r,n=0,i=0;for(r=0;r>2),i=s&3,n=1):n==1?(e+=Kn(i<<2|s>>4),i=s&15,n=2):n==2?(e+=Kn(i),e+=Kn(s>>2),i=s&3,n=3):(e+=Kn(i<<2|s>>4),e+=Kn(s&15),n=0))}return n==1&&(e+=Kn(i<<2)),e}var Ho,yN={decode:function(t){var e;if(Ho===void 0){var r="0123456789ABCDEF",n=` \f -\r \xA0\u2028\u2029`;for(Ho={},e=0;e<16;++e)Ho[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)Ho[r.charAt(e)]=e;for(e=0;e=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Ws,Qg={decode:function(t){var e;if(Ws===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=`= \f -\r \xA0\u2028\u2029`;for(Ws=Object.create(null),e=0;e<64;++e)Ws[r.charAt(e)]=e;for(Ws["-"]=62,Ws._=63,e=0;e=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=Qg.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return Qg.decode(t)}},Yo=1e13,Tl=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,s,o;for(s=0;s0&&(n[s]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,s;for(i=0;i=0;--i)n+=(Yo+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*Yo+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),kT="\u2026",vN=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,wN=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Ko(t,e){return t.length>e&&(t=t.substring(0,e)+kT),t}var xg=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",s=e;s176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,s,o=e;o127,s=i?255:0,o,a="";n==s&&++e4){for(a=n,o<<=3;((+a^s)&128)==0;)a=+a<<1,--o;a="("+o+` bit) -`}i&&(n=n-256);for(var l=new Tl(n),c=e+1;c=u;--h)a+=c>>h&1?"1":"0";if(a.length>n)return o+Ko(a,n)}return o+a},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Ko(this.parseStringISO(e,r),n);var i=r-e,s="("+i+` byte) -`;n/=2,i>n&&(r=e+n);for(var o=e;on&&(s+=kT),s},t.prototype.parseOID=function(e,r,n){for(var i="",s=new Tl,o=0,a=e;an)return Ko(i,n);s=new Tl,o=0}}return o>0&&(i+=".incomplete"),i},t}(),SN=function(){function t(e,r,n,i,s){if(!(i instanceof ET))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Ko(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Ko(this.stream.parseStringISO(r,r+n),e);case 30:return Ko(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+=` -`,this.sub!==null){e+=" ";for(var n=0,i=this.sub.length;n6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new Tl;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),Xi,bN=0xdeadbeefcafe,AT=(bN&16777215)==15715070,ur=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],TN=(1<<26)/ur[ur.length-1],Oe=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<0)for(l>l)>0&&(s=!0,o=Kn(i));a>=0;)l>(l+=this.DB-r)):(i=this[a]>>(l-=r)&n,l<=0&&(l+=this.DB,--a)),i>0&&(s=!0),s&&(o+=Kn(i));return s?o:"0"},t.prototype.negate=function(){var e=we();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Rh(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=we();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new RT(r):n=new MT(r),this.exp(e,n)},t.prototype.clone=function(){var e=we();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,s=0;if(e-- >0)for(n>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<=0;)n<8?(i=(this[e]&(1<>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),(i&128)!=0&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=we();return this.bitwiseTo(e,ON,r),r},t.prototype.or=function(e){var r=we();return this.bitwiseTo(e,kh,r),r},t.prototype.xor=function(e){var r=we();return this.bitwiseTo(e,$T,r),r},t.prototype.andNot=function(e){var r=we();return this.bitwiseTo(e,_T,r),r},t.prototype.not=function(){for(var e=we(),r=0;r=this.t?this.s!=0:(this[r]&1<1){var h=we();for(o.sqrTo(a[1],h);l<=u;)a[l]=we(),o.mulTo(h,a[l-2],a[l]),l+=2}var f=e.t-1,d,p=!0,O=we(),y;for(n=Rh(e[f])-1;f>=0;){for(n>=c?d=e[f]>>n-c&u:(d=(e[f]&(1<0&&(d|=e[f-1]>>this.DB+n-c)),l=i;(d&1)==0;)d>>=1,--l;if((n-=l)<0&&(n+=this.DB,--f),p)a[d].copyTo(s),p=!1;else{for(;l>1;)o.sqrTo(s,O),o.sqrTo(O,s),l-=2;l>0?o.sqrTo(s,O):(y=s,s=O,O=y),o.mulTo(O,a[d],s)}for(;f>=0&&(e[f]&1<=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(l,o)):(i.subTo(n,i),r&&a.subTo(s,a),l.subTo(o,l))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new QN)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=ur[ur.length-1]){for(r=0;r=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,s=!1,o=0;--i>=0;){var a=n==8?+e[i]&255:DT(e,i);if(a<0){e.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB)}n==8&&(+e[0]&128)!=0&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n=0;--l)r[l+o+1]=this[l]>>i|a,a=(this[l]&s)<=0;--l)r[l]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,s=this.DB-i,o=(1<>i;for(var a=n+1;a>i;i>0&&(r[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s=0;)e[n]=0;for(n=0;n=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var s=this.abs();if(s.t0?(i.lShiftTo(c,o),s.lShiftTo(c,n)):(i.copyTo(o),s.copyTo(n));var u=o.t,h=o[u-1];if(h!=0){var f=h*(1<1?o[u-2]>>this.F2:0),d=this.FV/f,p=(1<=0&&(n[n.t++]=1,n.subTo(m,n)),t.ONE.dlShiftTo(u,m),m.subTo(o,o);o.t=0;){var v=n[--y]==h?this.DM:Math.floor(n[y]*d+(n[y-1]+O)*p);if((n[y]+=o.am(0,v,n,g,0,u))0&&n.rShiftTo(c,n),a<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=we(),i=we(),s=r.convert(this),o=Rh(e)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(e&1<0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=qi(n),s=we(),o=we(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,l=0;l=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),kh,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],s=e&7;i.length=(e>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i=0;)n[i]=0;for(i=Math.max(r-this.t,0);i0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>ur.length&&(e=ur.length);for(var s=we(),o=0;o0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),kh,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,r.nextBytes(a),l>0?a[0]&=(1<=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),MT=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=we();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),xN=function(){function t(e){this.m=e,this.r2=we(),this.q3=we(),Oe.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=we();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function we(){return new Oe(null)}function ct(t,e){return new Oe(t,e)}var jT=typeof navigator!="undefined";jT&&AT&&navigator.appName=="Microsoft Internet Explorer"?(Oe.prototype.am=function(e,r,n,i,s,o){for(var a=r&32767,l=r>>15;--o>=0;){var c=this[e]&32767,u=this[e++]>>15,h=l*c+u*a;c=a*c+((h&32767)<<15)+n[i]+(s&1073741823),s=(c>>>30)+(h>>>15)+l*u+(s>>>30),n[i++]=c&1073741823}return s},Xi=30):jT&&AT&&navigator.appName!="Netscape"?(Oe.prototype.am=function(e,r,n,i,s,o){for(;--o>=0;){var a=r*this[e++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},Xi=26):(Oe.prototype.am=function(e,r,n,i,s,o){for(var a=r&16383,l=r>>14;--o>=0;){var c=this[e]&16383,u=this[e++]>>14,h=l*c+u*a;c=a*c+((h&16383)<<14)+n[i]+s,s=(c>>28)+(h>>14)+l*u,n[i++]=c&268435455}return s},Xi=28),Oe.prototype.DB=Xi,Oe.prototype.DM=(1<>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}Oe.ZERO=qi(0),Oe.ONE=qi(1);var $N=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function _N(){return new $N}var NT=256,Mh,Zi=null,cn;if(Zi==null){Zi=[],cn=0;var jh=void 0;if(typeof window!="undefined"&&window.crypto&&window.crypto.getRandomValues){var _g=new Uint32Array(256);for(window.crypto.getRandomValues(_g),jh=0;jh<_g.length;++jh)Zi[cn++]=_g[jh]&255}var Dh=0,Nh=function(t){if(Dh=Dh||0,Dh>=256||cn>=NT){window.removeEventListener?window.removeEventListener("mousemove",Nh,!1):window.detachEvent&&window.detachEvent("onmousemove",Nh);return}try{var e=t.x+t.y;Zi[cn++]=e&255,Dh+=1}catch{}};typeof window!="undefined"&&(window.addEventListener?window.addEventListener("mousemove",Nh,!1):window.attachEvent&&window.attachEvent("onmousemove",Nh))}function PN(){if(Mh==null){for(Mh=_N();cn=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new Pg,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new Oe(r)}var EN=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var r=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(e,r){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=ct(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e){var r=this.n.bitLength()+7>>3,n=kN(e,r);if(n==null)return null;var i=this.doPublic(n);if(i==null)return null;for(var s=i.toString(16),o=s.length,a=0;a0&&r.length>0?(this.n=ct(e,16),this.e=parseInt(r,16),this.d=ct(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,s,o,a,l){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=ct(e,16),this.e=parseInt(r,16),this.d=ct(n,16),this.p=ct(i,16),this.q=ct(s,16),this.dmp1=ct(o,16),this.dmq1=ct(a,16),this.coeff=ct(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new Pg,i=e>>1;this.e=parseInt(r,16);for(var s=new Oe(r,16);;){for(;this.p=new Oe(e-i,1,n),!(this.p.subtract(Oe.ONE).gcd(s).compareTo(Oe.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new Oe(i,1,n),!(this.q.subtract(Oe.ONE).gcd(s).compareTo(Oe.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(Oe.ONE),l=this.q.subtract(Oe.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(Oe.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=ct(e,16),n=this.doPrivate(r);return n==null?null:AN(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new Pg,s=e>>1;this.e=parseInt(r,16);var o=new Oe(r,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var f=a.p;a.p=a.q,a.q=f}var d=a.p.subtract(Oe.ONE),p=a.q.subtract(Oe.ONE),O=d.multiply(p);O.gcd(o).compareTo(Oe.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(O),a.dmp1=a.d.mod(d),a.dmq1=a.d.mod(p),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(l,0)},u=function(){a.q=we(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(Oe.ONE).gcda(o,function(f){f.compareTo(Oe.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)})})},h=function(){a.p=we(),a.p.fromNumberAsync(e-s,1,i,function(){a.p.subtract(Oe.ONE).gcda(o,function(f){f.compareTo(Oe.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(h,0)})})};setTimeout(h,0)};setTimeout(l,0)},t.prototype.sign=function(e,r,n){var i=RN(n),s=i+r(e).toString(),o=CN(s,this.n.bitLength()/4);if(o==null)return null;var a=this.doPrivate(o);if(a==null)return null;var l=a.toString(16);return(l.length&1)==0?l:"0"+l},t.prototype.verify=function(e,r,n){var i=ct(r,16),s=this.doPublic(i);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),a=MN(o);return a==n(e).toString()},t}();function AN(t,e){for(var r=t.toByteArray(),n=0;n=r.length)return null;for(var i="";++n191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Ih={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function RN(t){return Ih[t]||""}function MN(t){for(var e in Ih)if(Ih.hasOwnProperty(e)){var r=Ih[e],n=r.length;if(t.substr(0,n)==r)return t.substr(n)}return t}/*! -Copyright (c) 2011, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.com/yui/license.html -version: 2.9.0 -*/var pt={};pt.lang={extend:function(t,e,r){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),r){var i;for(i in r)t.prototype[i]=r[i];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(a,l){for(i=0;iMIT License - */var z={};(typeof z.asn1=="undefined"||!z.asn1)&&(z.asn1={}),z.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substr(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substr(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},z.asn1.DERAbstractString=function(t){z.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t=="string"?this.setString(t):typeof t.str!="undefined"?this.setString(t.str):typeof t.hex!="undefined"&&this.setStringHex(t.hex))},pt.lang.extend(z.asn1.DERAbstractString,z.asn1.ASN1Object),z.asn1.DERAbstractTime=function(t){z.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());r=="utc"&&(o=o.substr(2,2));var a=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),c=i(String(s.getHours()),2),u=i(String(s.getMinutes()),2),h=i(String(s.getSeconds()),2),f=o+a+l+c+u+h;if(n===!0){var d=s.getMilliseconds();if(d!=0){var p=i(String(d),3);p=p.replace(/[0]+$/,""),f=f+"."+p}}return f+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,s,o){var a=new Date(Date.UTC(e,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},pt.lang.extend(z.asn1.DERAbstractTime,z.asn1.ASN1Object),z.asn1.DERAbstractStructured=function(t){z.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t!="undefined"&&typeof t.array!="undefined"&&(this.asn1Array=t.array)},pt.lang.extend(z.asn1.DERAbstractStructured,z.asn1.ASN1Object),z.asn1.DERBoolean=function(){z.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},pt.lang.extend(z.asn1.DERBoolean,z.asn1.ASN1Object),z.asn1.DERInteger=function(t){z.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=z.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new Oe(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t!="undefined"&&(typeof t.bigint!="undefined"?this.setByBigInteger(t.bigint):typeof t.int!="undefined"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex!="undefined"&&this.setValueHex(t.hex))},pt.lang.extend(z.asn1.DERInteger,z.asn1.ASN1Object),z.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj!="undefined"){var e=z.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}z.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7{e("update:visible",l),l||e("close")},o=async()=>{const l=XM();n.value._csrf=l,document.cookie=`XSRF-TOKEN=${l}; Path=/;`},a=async()=>{try{i.value=!0;const{data:l}=await Ui.login.getPublicKey(),c=new NN;c.setPublicKey(l.base64Format),await lt.post("/login",I9.stringify({...n.value,password:c.encrypt(n.value.password)}),{withCredentials:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),window.location.reload()}catch(l){console.error("Failed to login",l),alert("\u767B\u5F55\u5931\u8D25\uFF0C\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF"),o()}finally{i.value=!1}};return ut(()=>r.visible,l=>{l&&o()}),(l,c)=>(W(),$e(V(cE),{title:"\u767B\u5F55",visible:t.visible,width:400,"onUpdate:visible":s},{footer:We(()=>[se(V(ws),{loading:i.value,type:"default",onClick:a},{default:We(()=>[$r(" \u767B\u5F55 ")]),_:1},8,["loading"])]),default:We(()=>[j("div",IN,[ir(j("input",{"onUpdate:modelValue":c[0]||(c[0]=u=>n.value.username=u),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u7528\u6237\u540D",type:"text"},null,512),[[Kr,n.value.username]]),ir(j("input",{"onUpdate:modelValue":c[1]||(c[1]=u=>n.value.password=u),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u5BC6\u7801",type:"password"},null,512),[[Kr,n.value.password]])])]),_:1},8,["visible"]))}}),VN={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},zN=[j("path",{fill:"currentColor",d:"M5.5 2C3.56 2 2 3.56 2 5.5v13C2 20.44 3.56 22 5.5 22H16l6-6V5.5C22 3.56 20.44 2 18.5 2h-13m.25 2h12.5A1.75 1.75 0 0 1 20 5.75V15h-1.5c-1.94 0-3.5 1.56-3.5 3.5V20H5.75A1.75 1.75 0 0 1 4 18.25V5.75A1.75 1.75 0 0 1 5.75 4m8.69 2.77c-.16 0-.32.02-.47.06c-.94.26-1.47 1.22-1.23 2.17c.05.15.12.3.21.44l3.23-.88c0-.17-.02-.34-.06-.51c-.21-.75-.9-1.28-1.68-1.28M8.17 8.5c-.17 0-.32 0-.47.05c-.93.26-1.48 1.22-1.23 2.15c.03.16.12.3.21.46l3.23-.88c0-.17-.02-.34-.06-.5A1.72 1.72 0 0 0 8.17 8.5m8.55 2.76l-9.13 2.51a5.266 5.266 0 0 0 5.36 1.64a5.273 5.273 0 0 0 3.77-4.15Z"},null,-1)];function WN(t,e){return W(),K("svg",VN,zN)}var BN={name:"mdi-sticker-emoji",render:WN};const UN={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},XN=[j("path",{fill:"currentColor",d:"M8 7.71L18 12L8 16.29v-3.34l7.14-.95L8 11.05V7.71M12 2a10 10 0 0 1 10 10a10 10 0 0 1-10 10A10 10 0 0 1 2 12A10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8a8 8 0 0 0 8 8a8 8 0 0 0 8-8a8 8 0 0 0-8-8Z"},null,-1)];function qN(t,e){return W(),K("svg",UN,XN)}var ZN={name:"mdi-send-circle-outline",render:qN},kg="emoji-mart";const FN=JSON;var LT=typeof window!="undefined"&&"localStorage"in window;let Eg,Ag;function GN(t){t||(t={}),Eg=t.getter,Ag=t.setter}function HN(t){kg=t}function YN(t){for(let e in t){let r=t[e];VT(e,r)}}function VT(t,e){if(Ag)Ag(t,e);else{if(!LT)return;try{window.localStorage[`${kg}.${t}`]=FN.stringify(e)}catch{}}}function KN(t){if(Eg)return Eg(t);if(!LT)return;try{var e=window.localStorage[`${kg}.${t}`]}catch{return}if(e)return JSON.parse(e)}var ea={update:YN,set:VT,get:KN,setNamespace:HN,setHandlers:GN};const Rg={name:"a",unified:"b",non_qualified:"c",has_img_apple:"d",has_img_google:"e",has_img_twitter:"f",has_img_facebook:"h",keywords:"j",sheet:"k",emoticons:"l",text:"m",short_names:"n",added_in:"o"},zT=t=>{const e=[];var r=(n,i)=>{!n||(Array.isArray(n)?n:[n]).forEach(s=>{(i?s.split(/[-|_|\s]+/):[s]).forEach(o=>{o=o.toLowerCase(),e.indexOf(o)==-1&&e.push(o)})})};return r(t.short_names,!0),r(t.name,!0),r(t.keywords,!1),r(t.emoticons,!1),e.join(",")};function WT(t){var e=Object.getOwnPropertyNames(t);for(let r of e){let n=t[r];t[r]=n&&typeof n=="object"?WT(n):n}return Object.freeze(t)}const JN=t=>{if(!t.compressed)return t;t.compressed=!1;for(let e in t.emojis){let r=t.emojis[e];for(let n in Rg)r[n]=r[Rg[n]],delete r[Rg[n]];r.short_names||(r.short_names=[]),r.short_names.unshift(e),r.sheet_x=r.sheet[0],r.sheet_y=r.sheet[1],delete r.sheet,r.text||(r.text=""),r.added_in||(r.added_in=6),r.added_in=r.added_in.toFixed(1),r.search=zT(r)}return t=WT(t),t},Mg=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","hankey"];let Zr,jg,Dg={};function BT(){jg=!0,Zr=ea.get("frequently")}function eI(t){jg||BT();var{id:e}=t;Zr||(Zr=Dg),Zr[e]||(Zr[e]=0),Zr[e]+=1,ea.set("last",e),ea.set("frequently",Zr)}function tI(t){if(jg||BT(),!Zr){Dg={};const o=[];let a=Math.min(t,Mg.length);for(let l=0;lZr[o]-Zr[a]).reverse().slice(0,e),s=ea.get("last");return s&&i.indexOf(s)==-1&&(i.pop(),i.push(s)),i}var Ng={add:eI,get:tI};const rI={activity:'',custom:'',flags:'',foods:'',nature:'',objects:'',smileys:'',people:' ',places:'',recent:'',symbols:''};var Bs=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};const nI={props:{i18n:{type:Object,required:!0},color:{type:String},categories:{type:Array,required:!0},activeCategory:{type:Object,default(){return{}}}},created(){this.svgs=rI}},iI={role:"tablist",class:"emoji-mart-anchors"},sI=["aria-label","aria-selected","data-title","onClick"],oI=["innerHTML"];function aI(t,e,r,n,i,s){return W(),K("div",iI,[(W(!0),K(Ce,null,Hr(r.categories,o=>(W(),K("button",{role:"tab",type:"button","aria-label":o.name,"aria-selected":o.id==r.activeCategory.id,key:o.id,class:qe({"emoji-mart-anchor":!0,"emoji-mart-anchor-selected":o.id==r.activeCategory.id}),style:Ct({color:o.id==r.activeCategory.id?r.color:""}),"data-title":r.i18n.categories[o.id],onClick:a=>t.$emit("click",o)},[j("div",{"aria-hidden":"true",innerHTML:t.svgs[o.id]},null,8,oI),j("span",{"aria-hidden":"true",class:"emoji-mart-anchor-bar",style:Ct({backgroundColor:r.color})},null,4)],14,sI))),128))])}var lI=Bs(nI,[["render",aI]]),cI=String.fromCodePoint||function(){var e=16384,r=[],n,i,s=-1,o=arguments.length;if(!o)return"";for(var a="";++s1114111||Math.floor(l)!=l)throw RangeError("Invalid code point: "+l);l<=65535?r.push(l):(l-=65536,n=(l>>10)+55296,i=l%1024+56320,r.push(n,i)),(s+1===o||r.length>e)&&(a+=String.fromCharCode.apply(null,r),r.length=0)}return a};function uI(t){var e=t.split("-"),r=e.map(n=>`0x${n}`);return cI.apply(null,r)}function UT(t){return t.reduce((e,r)=>(e.indexOf(r)===-1&&e.push(r),e),[])}function hI(t,e){const r=UT(t),n=UT(e);return r.filter(i=>n.indexOf(i)>=0)}function XT(t,e){var r={};for(let n in t){let i=t[n],s=i;e.hasOwnProperty(n)&&(s=e[n]),typeof s=="object"&&(s=XT(i,s)),r[n]=s}return r}function fI(){if(typeof document=="undefined")return 0;const t=document.createElement("div");t.style.width="100px",t.style.height="100px",t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}const dI=61,pI=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,qT=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];class OI{constructor(e,{emojisToShowFilter:r,include:n,exclude:i,custom:s,recent:o,recentLength:a=20}={}){this._data=JN(e),this._emojisFilter=r||null,this._include=n||null,this._exclude=i||null,this._custom=s||[],this._recent=o||Ng.get(a),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:"recent",name:"Recent",emojis:[]},this._customCategory={id:"custom",name:"Custom",emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)}buildIndex(){let e=this._data.categories;if(this._include&&(e=e.filter(r=>this._include.includes(r.id)),e=e.sort((r,n)=>{const i=this._include.indexOf(r.id),s=this._include.indexOf(n.id);return is?1:0})),e.forEach(r=>{if(!this.isCategoryNeeded(r.id))return;let n={id:r.id,name:r.name,emojis:[]};r.emojis.forEach(i=>{let s=this.addEmoji(i);s&&n.emojis.push(s)}),n.emojis.length&&this._categories.push(n)}),this.isCategoryNeeded("custom")){if(this._custom.length>0)for(let r of this._custom)this.addCustomEmoji(r);this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded("recent")&&(this._recent.length&&this._recent.map(r=>{for(let n of this._customCategory.emojis)if(n.id===r){this._recentCategory.emojis.push(n);return}this.hasEmoji(r)&&this._recentCategory.emojis.push(this.emoji(r))}),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}findEmoji(e,r){let n=e.match(pI);if(n&&(e=n[1],n[2]&&(r=parseInt(n[2],10))),this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),this._emojis.hasOwnProperty(e)){let i=this._emojis[e];return r?i.getSkin(r):i}return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}categories(){return this._categories}emoji(e){this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]);let r=this._emojis[e];if(!r)throw new Error("Can not find emoji by id: "+e);return r}firstEmoji(){let e=this._emojis[Object.keys(this._emojis)[0]];if(!e)throw new Error("Can not get first emoji");return e}hasEmoji(e){return this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),!!this._emojis[e]}nativeEmoji(e){return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}search(e,r){if(r||(r=75),!e.length)return null;if(e=="-"||e=="-1")return[this.emoji("-1")];let n=e.toLowerCase().split(/[\s|,|\-|_]+/),i=[];n.length>2&&(n=[n[0],n[1]]),i=n.map(o=>{let a=this._emojis,l=this._searchIndex,c=0;for(let u=0;u{var O=f[d.id],y=f[p.id];return O-y})}a=l.emojis}return l.results}).filter(o=>o);var s=null;return i.length>1?s=hI.apply(null,i):i.length?s=i[0]:s=[],s&&s.length>r&&(s=s.slice(0,r)),s}addCustomEmoji(e){let r=Object.assign({},e,{id:e.short_names[0],custom:!0});r.search||(r.search=zT(r));let n=new Lh(r);return this._emojis[n.id]=n,this._customCategory.emojis.push(n),n}addEmoji(e){let r=this._data.emojis[e];if(!this.isEmojiNeeded(r))return!1;let n=new Lh(r);if(this._emojis[e]=n,n.native&&(this._nativeEmojis[n.native]=n),n._skins)for(let i in n._skins){let s=n._skins[i];s.native&&(this._nativeEmojis[s.native]=s)}return n.emoticons&&n.emoticons.forEach(i=>{this._emoticons[i]||(this._emoticons[i]=e)}),n}isCategoryNeeded(e){let r=this._include&&this._include.length?this._include.indexOf(e)>-1:!0,n=this._exclude&&this._exclude.length?this._exclude.indexOf(e)>-1:!1;return!(!r||n)}isEmojiNeeded(e){return this._emojisFilter?this._emojisFilter(e):!0}}class Lh{constructor(e){if(this._data=Object.assign({},e),this._skins=null,this._data.skin_variations){this._skins=[];for(var r in qT){let n=qT[r],i=this._data.skin_variations[n],s=Object.assign({},e);for(let o in i)s[o]=i[o];delete s.skin_variations,s.skin_tone=parseInt(r)+1,this._skins.push(new Lh(s))}}this._sanitized=gI(this._data);for(let n in this._sanitized)this[n]=this._sanitized[n];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)}getSkin(e){return e&&e!="native"&&this._skins?this._skins[e-1]:this}getPosition(){let e=dI-1,r=+(100/e*this._data.sheet_x).toFixed(2),n=+(100/e*this._data.sheet_y).toFixed(2);return`${r}% ${n}%`}ariaLabel(){return[this.native].concat(this.short_names).filter(Boolean).join(", ")}}class ZT{constructor(e,r,n,i,s,o,a){this._emoji=e,this._native=i,this._skin=r,this._set=n,this._fallback=s,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(a),this.content=this._content(),this.title=o===!0?e.short_name:null,this.ariaLabel=e.ariaLabel(),Object.freeze(this)}getEmoji(){return this._emoji.getSkin(this._skin)}_canRender(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}_cssClass(){return["emoji-set-"+this._set,"emoji-type-"+this._emojiType()]}_cssStyle(e){let r={};return this._isCustom()?r={backgroundImage:"url("+this.getEmoji()._data.imageUrl+")",backgroundSize:"100%",width:e+"px",height:e+"px"}:this._hasEmoji()&&!this._isNative()&&(r={backgroundPosition:this.getEmoji().getPosition()}),e&&(this._isNative()?r=Object.assign(r,{fontSize:Math.round(e*.95*10)/10+"px"}):r=Object.assign(r,{width:e+"px",height:e+"px"})),r}_content(){return this._isCustom()?"":this._isNative()?this.getEmoji().native:this._hasEmoji()?"":this._fallback?this._fallback(this.getEmoji()):null}_isNative(){return this._native}_isCustom(){return this.getEmoji().custom}_hasEmoji(){if(!this.getEmoji()._data)return!1;const e=this.getEmoji()._data["has_img_"+this._set];return e===void 0?!0:e}_emojiType(){return this._isCustom()?"custom":this._isNative()?"native":this._hasEmoji()?"image":"fallback"}}function gI(t){var{name:e,short_names:r,skin_tone:n,skin_variations:i,emoticons:s,unified:o,custom:a,imageUrl:l}=t,c=t.id||r[0],u=`:${c}:`;return a?{id:c,name:e,colons:u,emoticons:s,custom:a,imageUrl:l}:(n&&(u+=`:skin-tone-${n}:`),{id:c,name:e,colons:u,emoticons:s,unified:o.toLowerCase(),skin:n||(i?1:null),native:uI(o)})}const mI={native:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},fallback:{type:Function},skin:{type:Number,default:1},set:{type:String,default:"apple"},emoji:{type:[String,Object],required:!0},size:{type:Number,default:null},tag:{type:String,default:"span"}},yI={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:"Emoji Mart\u2122"},emoji:{type:String,default:"department_store"},color:{type:String,default:"#ae65c5"},set:{type:String,default:"apple"},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default(){return{}}},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default(){return{}}}},vI={props:{...mI,data:{type:Object,required:!0}},emits:["click"],computed:{view(){return new ZT(this.emojiObject,this.skin,this.set,this.native,this.fallback,this.tooltip,this.size)},sanitizedData(){return this.emojiObject._sanitized},title(){return this.tooltip?this.emojiObject.short_name:null},emojiObject(){return typeof this.emoji=="string"?this.data.findEmoji(this.emoji):this.emoji}},created(){},methods:{onClick(){this.$emit("click",this.emojiObject)},onMouseEnter(){this.$emit("mouseenter",this.emojiObject)},onMouseLeave(){this.$emit("mouseleave",this.emojiObject)}}};function wI(t,e,r,n,i,s){return s.view.canRender?(W(),$e(c1(t.tag),{key:0,title:s.view.title,"aria-label":s.view.ariaLabel,"data-title":s.title,class:"emoji-mart-emoji",onMouseenter:s.onMouseEnter,onMouseleave:s.onMouseLeave,onClick:s.onClick},{default:We(()=>[j("span",{class:qe(s.view.cssClass),style:Ct(s.view.cssStyle)},Te(s.view.content),7)]),_:1},40,["title","aria-label","data-title","onMouseenter","onMouseleave","onClick"])):ke("",!0)}var FT=Bs(vI,[["render",wI]]);const SI={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},emojis:{type:Array},emojiProps:{type:Object,required:!0}},methods:{activeClass:function(t){return!this.emojiProps.selectedEmoji||!this.emojiProps.selectedEmojiCategory?"":this.emojiProps.selectedEmoji.id==t.id&&this.emojiProps.selectedEmojiCategory.id==this.id?"emoji-mart-emoji-selected":""}},computed:{isVisible(){return!!this.emojis},isSearch(){return this.name=="Search"},hasResults(){return this.emojis.length>0},emojiObjects(){return this.emojis.map(t=>{let e=t,r=new ZT(t,this.emojiProps.skin,this.emojiProps.set,this.emojiProps.native,this.emojiProps.fallback,this.emojiProps.emojiTooltip,this.emojiProps.emojiSize);return{emojiObject:e,emojiView:r}})}},components:{Emoji:FT}},bI=["aria-label"],TI={class:"emoji-mart-category-label"},QI={class:"emoji-mart-category-label"},xI=["aria-label","data-title","title","onMouseenter","onMouseleave","onClick"],$I={key:0},_I={class:"emoji-mart-no-results-label"};function PI(t,e,r,n,i,s){const o=Gr("emoji");return s.isVisible&&(s.isSearch||s.hasResults)?(W(),K("section",{key:0,class:qe({"emoji-mart-category":!0,"emoji-mart-no-results":!s.hasResults}),"aria-label":r.i18n.categories[r.id]},[j("div",TI,[j("h3",QI,Te(r.i18n.categories[r.id]),1)]),(W(!0),K(Ce,null,Hr(s.emojiObjects,({emojiObject:a,emojiView:l})=>(W(),K(Ce,null,[l.canRender?(W(),K("button",{"aria-label":l.ariaLabel,role:"option","aria-selected":"false","aria-posinset":"1","aria-setsize":"1812",type:"button","data-title":a.short_name,key:a.id,title:l.title,class:qe(["emoji-mart-emoji",s.activeClass(a)]),onMouseenter:c=>r.emojiProps.onEnter(l.getEmoji()),onMouseleave:c=>r.emojiProps.onLeave(l.getEmoji()),onClick:c=>r.emojiProps.onClick(l.getEmoji())},[j("span",{class:qe(l.cssClass),style:Ct(l.cssStyle)},Te(l.content),7)],42,xI)):ke("",!0)],64))),256)),s.hasResults?ke("",!0):(W(),K("div",$I,[se(o,{data:r.data,emoji:"sleuth_or_spy",native:r.emojiProps.native,skin:r.emojiProps.skin,set:r.emojiProps.set},null,8,["data","native","skin","set"]),j("div",_I,Te(r.i18n.notfound),1)]))],10,bI)):ke("",!0)}var CI=Bs(SI,[["render",PI]]);const kI={props:{skin:{type:Number,required:!0}},data(){return{opened:!1}},methods:{onClick(t){this.opened&&t!=this.skin&&this.$emit("change",t),this.opened=!this.opened}}},EI=["onClick"];function AI(t,e,r,n,i,s){return W(),K("div",{class:qe({"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":i.opened})},[(W(),K(Ce,null,Hr(6,o=>j("span",{key:o,class:qe({"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":r.skin==o})},[j("span",{class:qe("emoji-mart-skin emoji-mart-skin-tone-"+o),onClick:a=>s.onClick(o)},null,10,EI)],2)),64))],2)}var RI=Bs(kI,[["render",AI]]);const MI={props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData(){return this.emoji?this.emoji:{}},emojiShortNames(){return this.emojiData.short_names},emojiEmoticons(){return this.emojiData.emoticons}},components:{Emoji:FT,Skins:RI}},jI={class:"emoji-mart-preview"},DI={class:"emoji-mart-preview-emoji"},NI={class:"emoji-mart-preview-data"},II={class:"emoji-mart-preview-name"},LI={class:"emoji-mart-preview-shortnames"},VI={class:"emoji-mart-preview-emoticons"},zI={class:"emoji-mart-preview-emoji"},WI={class:"emoji-mart-preview-data"},BI={class:"emoji-mart-title-label"},UI={key:0,class:"emoji-mart-preview-skins"};function XI(t,e,r,n,i,s){const o=Gr("emoji"),a=Gr("skins");return W(),K("div",jI,[r.emoji?(W(),K(Ce,{key:0},[j("div",DI,[se(o,{data:r.data,emoji:r.emoji,native:r.emojiProps.native,skin:r.emojiProps.skin,set:r.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),j("div",NI,[j("div",II,Te(r.emoji.name),1),j("div",LI,[(W(!0),K(Ce,null,Hr(s.emojiShortNames,l=>(W(),K("span",{key:l,class:"emoji-mart-preview-shortname"},":"+Te(l)+":",1))),128))]),j("div",VI,[(W(!0),K(Ce,null,Hr(s.emojiEmoticons,l=>(W(),K("span",{key:l,class:"emoji-mart-preview-emoticon"},Te(l),1))),128))])])],64)):(W(),K(Ce,{key:1},[j("div",zI,[se(o,{data:r.data,emoji:r.idleEmoji,native:r.emojiProps.native,skin:r.emojiProps.skin,set:r.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),j("div",WI,[j("span",BI,Te(r.title),1)]),r.showSkinTones?(W(),K("div",UI,[se(a,{skin:r.skinProps.skin,onChange:e[0]||(e[0]=l=>r.onSkinChange(l))},null,8,["skin"])])):ke("",!0)],64))])}var qI=Bs(MI,[["render",XI]]);const ZI={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},data(){return{value:""}},computed:{emojiIndex(){return this.data}},watch:{value(){this.$emit("search",this.value)}},methods:{clear(){this.value=""}},mounted(){let t=this.$el.querySelector("input");this.autoFocus&&t.focus()}},FI={class:"emoji-mart-search"},GI=["placeholder"],HI=j("span",{class:"hidden",id:"emoji-picker-search-description"},"Use the left, right, up and down arrow keys to navigate the emoji search results.",-1);function YI(t,e,r,n,i,s){return W(),K("div",FI,[ir(j("input",{type:"text",placeholder:r.i18n.search,role:"textbox","aria-autocomplete":"list","aria-owns":"emoji-mart-list","aria-label":"Search for an emoji","aria-describedby":"emoji-mart-search-description",onKeydown:[e[0]||(e[0]=yi(o=>t.$emit("arrowLeft",o),["left"])),e[1]||(e[1]=yi(()=>t.$emit("arrowRight"),["right"])),e[2]||(e[2]=yi(()=>t.$emit("arrowDown"),["down"])),e[3]||(e[3]=yi(o=>t.$emit("arrowUp",o),["up"])),e[4]||(e[4]=yi(()=>t.$emit("enter"),["enter"]))],"onUpdate:modelValue":e[5]||(e[5]=o=>i.value=o)},null,40,GI),[[Kr,i.value]]),HI])}var KI=Bs(ZI,[["render",YI]]),JI=typeof window!="undefined";JI&&function(){for(var t=0,e=["ms","moz","webkit","o"],r=0;rr.emojis.length>0),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}onScroll(){const r=this._vm.$refs.scroll.scrollTop;let n=this.filteredCategories[0];for(let i=0,s=this.filteredCategories.length;ir)break;n=o}this.activeCategory=n}get allCategories(){return this._categories}get filteredCategories(){return this.searchEmojis?[{id:"search",name:"Search",emojis:this.searchEmojis}]:this._categories.filter(e=>e.emojis.length>0)}get previewEmojiCategory(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}onAnchorClick(e){if(this.searchEmojis)return;let r=this.filteredCategories.indexOf(e),n=this._vm.getCategoryComponent(r),i=()=>{if(n){let s=n.$el.offsetTop;e.first&&(s=0),this._vm.$refs.scroll.scrollTop=s}};this._vm.infiniteScroll?i():this.activeCategory=this.filteredCategories[r]}onSearch(e){let r=this._data.search(e,this.maxSearchResults);this.searchEmojis=r,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}onEmojiEnter(e){this.previewEmoji=e,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}onEmojiLeave(e){this.previewEmoji=null}onArrowLeft(){this.previewEmojiIdx>0?this.previewEmojiIdx-=1:(this.previewEmojiCategoryIdx-=1,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}onArrowRight(){this.previewEmojiIdx=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}onArrowDown(){if(this.previewEmojiIdx==-1)return this.onArrowRight();const e=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length;let r=this._perLine;this.previewEmojiIdx+r>e&&(r=e%this._perLine);for(let n=0;n0?e=this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:e=0);for(let r=0;r{const e=this._vm.$refs.scroll,r=e.querySelector(".emoji-mart-emoji-selected"),n=e.offsetTop-e.offsetHeight;r&&r.offsetTop+r.offsetHeight>n+e.scrollTop&&(e.scrollTop+=r.offsetHeight),r&&r.offsetTop[t.showSearch?(W(),$e(a,{key:0,ref:"search",data:r.data,i18n:s.mergedI18n,"auto-focus":t.autoFocus,"on-search":s.onSearch,onSearch:s.onSearch,onArrowLeft:s.onArrowLeft,onArrowRight:s.onArrowRight,onArrowDown:s.onArrowDown,onArrowUp:s.onArrowUp,onEnter:s.onEnter},null,8,["data","i18n","auto-focus","on-search","onSearch","onArrowLeft","onArrowRight","onArrowDown","onArrowUp","onEnter"])):ke("",!0)]),j("div",{role:"tabpanel",class:"emoji-mart-scroll",ref:"scroll",onScroll:e[0]||(e[0]=(...u)=>s.onScroll&&s.onScroll(...u))},[j("div",i8,[(W(!0),K(Ce,null,Hr(i.view.filteredCategories,(u,h)=>ir((W(),$e(l,{ref_for:!0,ref:"categories_"+h,key:u.id,data:r.data,i18n:s.mergedI18n,id:u.id,name:u.name,emojis:u.emojis,"emoji-props":s.emojiProps},null,8,["data","i18n","id","name","emojis","emoji-props"])),[[ps,t.infiniteScroll||u==i.view.activeCategory]])),128))],512)],544),ht(t.$slots,"previewTemplate",{data:r.data,title:t.title,emoji:i.view.previewEmoji,idleEmoji:s.idleEmoji,showSkinTones:t.showSkinTones,emojiProps:s.emojiProps,skinProps:s.skinProps,onSkinChange:s.onSkinChange},()=>[t.showPreview?(W(),K("div",s8,[se(c,{data:r.data,title:t.title,emoji:i.view.previewEmoji,"idle-emoji":s.idleEmoji,"show-skin-tones":t.showSkinTones,"emoji-props":s.emojiProps,"skin-props":s.skinProps,"on-skin-change":s.onSkinChange},null,8,["data","title","emoji","idle-emoji","show-skin-tones","emoji-props","skin-props","on-skin-change"])])):ke("",!0)])],4)}var a8=Bs(r8,[["render",o8]]);const l8={class:"comment-form flex gap-4"},c8={class:"flex flex-1 flex-col gap-y-4"},u8={key:0,class:"grid grid-cols-1 items-center gap-2 sm:grid-cols-4"},h8={class:"flex items-center justify-between"},f8={class:"flex items-center gap-3"},d8={class:"text-sm font-medium dark:text-slate-50"},p8={class:"flex flex-row items-center gap-3"},O8={class:"absolute right-0 z-10 mt-3 transform px-4 sm:px-0"},Ig=it({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(t,{emit:e}){const r=t,n=nr("currentUser"),i=nr("kind"),s=nr("name"),o=nr("group"),a=nr("emojiData",()=>Promise.resolve()),l=nr("allowAnonymousComments"),c=fe(!1),u=fe(""),h=fe(!0),f=fe(!1),d=Ed("halo-comment-custom-account",{displayName:"",email:"",website:""}),p=async()=>{if(!r.comment){O();return}y()},O=async()=>{if(!i||!s){console.error("Please provide kind and name");return}try{f.value=!0;const A={raw:u.value,content:u.value,allowNotification:h.value,subjectRef:{group:o,kind:i,name:s,version:"v1alpha1"}},{displayName:_,email:P,website:k}=d.value;if(!(n!=null&&n.value)&&!(l!=null&&l.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(n!=null&&n.value)&&(l==null?void 0:l.value))if(!_||!P){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else A.owner={displayName:_,email:P,website:k};await Ui.comment.createComment1({commentRequest:A}),u.value="",e("created")}catch(A){console.error("Failed to create comment",A)}finally{f.value=!1}},y=async()=>{var A;if(!i||!s){console.error("Please provide kind and name");return}try{f.value=!0;const _={raw:u.value,content:u.value,allowNotification:h.value};r.reply&&(_.quoteReply=r.reply.metadata.name);const{displayName:P,email:k,website:E}=d.value;if(!(n!=null&&n.value)&&!(l!=null&&l.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(n!=null&&n.value)&&(l==null?void 0:l.value))if(!P||!k){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else _.owner={displayName:P,email:k,website:E};await Ui.comment.createReply1({name:(A=r.comment)==null?void 0:A.metadata.name,replyRequest:_}),u.value="",e("created")}catch(_){console.error("Failed to create comment reply",_)}finally{f.value=!1}},g=async()=>{if(window.confirm("\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"))try{await lt.post("/logout",void 0,{withCredentials:!0}),window.location.reload()}catch(A){console.error("Failed to logout",A)}},m=fe(),v=fe(!1),b=fe(null),x=fe(),w=fe(!1);async function $(){if(v.value){v.value=!1;return}if(x.value){v.value=!0;return}w.value=!0;const A=await a();A||(alert("\u52A0\u8F7D Emoji \u6570\u636E\u5931\u8D25"),w.value=!1),x.value=new OI(A),w.value=!1,v.value=!0}function T(A){u.value+=A.native,m.value.focus()}NC(b,()=>{v.value=!1});const{Command_Enter:C}=XC();return Fm(()=>{C.value&&p()}),(A,_)=>(W(),K("div",l8,[j("div",c8,[ir(j("textarea",{ref_key:"contentInputRef",ref:m,"onUpdate:modelValue":_[0]||(_[0]=P=>u.value=P),required:"",rows:"4",class:"rounded-base block h-full w-full resize-y appearance-none bg-white px-3 py-2 text-sm text-black antialiased outline-0 ring-1 ring-gray-300 transition-all dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",placeholder:"\u7F16\u5199\u8BC4\u8BBA"},null,512),[[Kr,u.value]]),!V(n)&&V(l)?(W(),K("div",u8,[ir(j("input",{"onUpdate:modelValue":_[1]||(_[1]=P=>V(d).displayName=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"text",placeholder:"\u6635\u79F0"},null,512),[[Kr,V(d).displayName]]),ir(j("input",{"onUpdate:modelValue":_[2]||(_[2]=P=>V(d).email=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"email",placeholder:"\u7535\u5B50\u90AE\u4EF6"},null,512),[[Kr,V(d).email]]),ir(j("input",{"onUpdate:modelValue":_[3]||(_[3]=P=>V(d).website=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"url",placeholder:"\u7F51\u7AD9"},null,512),[[Kr,V(d).website]]),j("div",{class:"cursor-pointer select-none text-xs text-gray-600 transition-all hover:text-gray-900 dark:text-slate-200 dark:hover:text-slate-400",onClick:_[4]||(_[4]=P=>c.value=!0)}," \uFF08\u5DF2\u6709\u8BE5\u7AD9\u70B9\u7684\u8D26\u53F7\uFF09 ")])):ke("",!0),j("div",h8,[j("div",f8,[V(n)?(W(),K(Ce,{key:0},[se(V(Ad),{src:V(n).spec.avatar,alt:V(n).spec.displayName,size:"sm",circle:""},null,8,["src","alt"]),j("span",d8,Te(V(n).spec.displayName),1),se(V(ws),{size:"sm",onClick:g},{default:We(()=>[$r("\u6CE8\u9500")]),_:1})],64)):ke("",!0),!V(n)&&!V(l)?(W(),$e(V(ws),{key:1,size:"sm",onClick:_[5]||(_[5]=P=>c.value=!0)},{default:We(()=>[$r("\u767B\u5F55")]),_:1})):ke("",!0)]),j("div",p8,[j("div",{ref_key:"emojiPickerRef",ref:b,class:"relative"},[w.value?(W(),$e(V(DO),{key:0,class:"!p-0"})):(W(),$e(V(BN),{key:1,class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900 dark:text-slate-300 dark:hover:text-slate-50",onClick:$})),se(Oi,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:We(()=>[ir(j("div",O8,[x.value?(W(),$e(V(a8),{key:0,data:x.value,native:!0,onSelect:T},null,8,["data"])):ke("",!0)],512),[[ps,v.value]])]),_:1})],512),se(V(ws),{disabled:!u.value,type:"secondary",loading:f.value,onClick:p},{icon:We(()=>[se(V(ZN),{class:"h-full w-full"})]),default:We(()=>[$r(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])]),se(LN,{visible:c.value,"onUpdate:visible":_[6]||(_[6]=P=>c.value=P)},null,8,["visible"])]))}}),g8={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},m8=[j("path",{fill:"currentColor",d:"M10 9V5l-7 7l7 7v-4.1c5 0 8.5 1.6 11 5.1c-1-5-4-10-11-11Z"},null,-1)];function y8(t,e){return W(),K("svg",g8,m8)}var v8={name:"mdi-reply",render:y8};const w8={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},S8=[j("path",{fill:"currentColor",d:"m12 21.35l-1.45-1.32C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5c0 3.77-3.4 6.86-8.55 11.53L12 21.35Z"},null,-1)];function b8(t,e){return W(),K("svg",w8,S8)}var GT={name:"mdi-cards-heart",render:b8};const T8={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Q8=[j("path",{fill:"currentColor",d:"m12.1 18.55l-.1.1l-.11-.1C7.14 14.24 4 11.39 4 8.5C4 6.5 5.5 5 7.5 5c1.54 0 3.04 1 3.57 2.36h1.86C13.46 6 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5c0 2.89-3.14 5.74-7.9 10.05M16.5 3c-1.74 0-3.41.81-4.5 2.08C10.91 3.81 9.24 3 7.5 3C4.42 3 2 5.41 2 8.5c0 3.77 3.4 6.86 8.55 11.53L12 21.35l1.45-1.32C18.6 15.36 22 12.27 22 8.5C22 5.41 19.58 3 16.5 3Z"},null,-1)];function x8(t,e){return W(),K("svg",T8,Q8)}var HT={name:"mdi-cards-heart-outline",render:x8};const $8=["id"],_8={class:"flex flex-row gap-3"},P8={class:"reply-avatar"},C8={class:"flex-1"},k8={class:"reply-informations flex items-center"},E8={class:"flex flex-auto items-center gap-3"},A8={class:"text-sm font-medium dark:text-slate-50"},R8=["href"],M8={key:1},j8=["href"],D8={class:"reply-content mt-2"},N8={class:"text-sm text-gray-800 dark:text-slate-200"},I8=["href"],L8={key:1},V8={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},z8=j("span",{class:"text-gray-600"},"\xB7",-1),W8=it({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(t,{emit:e}){const r=t,n=fe(!1),i=Gy(new Date(r.reply.spec.creationTime||new Date)),s=ot(()=>{if(!r.reply)return"";const{annotations:d}=r.reply.spec.owner;return d==null?void 0:d.website}),o=ot(()=>{const{quoteReply:d}=r.reply.spec;if(!!d)return r.replies.find(p=>p.metadata.name===d)}),a=()=>{e("reload"),n.value=!1},l=nr("hoveredReply"),c=d=>{l&&(l.value=d?o.value:void 0)},u=ot(()=>{var d;return((d=l==null?void 0:l.value)==null?void 0:d.metadata.name)===r.reply.metadata.name}),h=nr("upvotedReplies",fe([])),f=async()=>{!r.reply||h.value.includes(r.reply.metadata.name)||(await Ui.tracker.upvote({voteRequest:{name:r.reply.metadata.name,plural:"replies",group:"content.halo.run"}}),h.value.push(r.reply.metadata.name),e("reload"))};return(d,p)=>{var O,y,g,m,v,b,x;return W(),K("div",{id:`reply-${t.reply.metadata.name}`,class:qe(["reply-item py-3",{"animate-breath":V(u)}])},[j("div",_8,[j("div",P8,[se(V(Ad),{src:(y=(O=t.reply)==null?void 0:O.owner)==null?void 0:y.avatar,alt:(m=(g=t.reply)==null?void 0:g.owner)==null?void 0:m.displayName,size:"sm",circle:""},null,8,["src","alt"])]),j("div",C8,[j("div",k8,[j("div",E8,[j("div",A8,[V(s)?(W(),K("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:V(s),target:"_blank"},Te((v=t.reply)==null?void 0:v.owner.displayName),9,R8)):(W(),K("span",M8,Te((b=t.reply)==null?void 0:b.owner.displayName),1))]),j("a",{href:`#reply-${t.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Te(V(i)),9,j8),ke("",!0)])]),j("div",D8,[j("p",N8,[V(o)?(W(),K("a",{key:0,class:"mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 py-0.5 px-1 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline dark:bg-slate-700 dark:text-slate-200 dark:hover:text-slate-100",href:`#reply-${V(o).metadata.name}`,onMouseenter:p[0]||(p[0]=w=>c(!0)),onMouseleave:p[1]||(p[1]=w=>c(!1))},[se(V(v8)),j("span",null,Te(V(o).owner.displayName),1)],40,I8)):ke("",!0),V(o)?(W(),K("br",L8)):ke("",!0),$r(" "+Te(t.reply.spec.content),1)])]),j("div",V8,[j("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:p[2]||(p[2]=w=>f())},[V(h).includes((x=t.reply)==null?void 0:x.metadata.name)?(W(),$e(V(GT),{key:1,class:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})):(W(),$e(V(HT),{key:0,class:"h-3.5 w-3.5 hover:text-red-600 hover:dark:text-red-400"})),j("span",null,Te(t.reply.stats.upvote),1)]),z8,j("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:p[3]||(p[3]=w=>n.value=!n.value)}," \u56DE\u590D ")]),n.value?(W(),$e(Ig,{key:0,class:"mt-2",comment:t.comment,reply:t.reply,onCreated:a},null,8,["comment","reply"])):ke("",!0)])])],10,$8)}}}),B8={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},U8=[j("path",{fill:"currentColor",d:"M9 22c-.6 0-1-.4-1-1v-3H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2h-6.1l-3.7 3.7c-.2.2-.4.3-.7.3H9m1-6v3.1l3.1-3.1H20V4H4v12h6m6.3-10l-1.4 3H17v4h-4V8.8L14.3 6h2m-6 0L8.9 9H11v4H7V8.8L8.3 6h2Z"},null,-1)];function X8(t,e){return W(),K("svg",B8,U8)}var q8={name:"mdi-comment-quote-outline",render:X8};const Z8={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},F8=[j("path",{fill:"currentColor",d:"M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v3c0 .6.4 1 1 1h.5c.2 0 .5-.1.7-.3l3.7-3.7H20c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-9 11H7V8.8L8.3 6h2L8.9 9H11v4m6 0h-4V8.8L14.3 6h2l-1.4 3H17v4Z"},null,-1)];function G8(t,e){return W(),K("svg",Z8,F8)}var H8={name:"mdi-comment-quote",render:G8};const Y8=["id"],K8={class:"flex flex-row gap-3"},J8={class:"comment-avatar"},e7={class:"flex-1"},t7={class:"comment-informations flex items-center"},r7={class:"flex flex-auto items-center gap-3"},n7={class:"text-sm font-medium dark:text-slate-50"},i7=["href"],s7={key:1},o7=["href"],a7={class:"comment-content mt-2"},l7={class:"text-sm text-gray-800 dark:text-slate-200"},c7={class:"comment-actions mt-2 flex flex-auto items-center gap-1.5"},u7=j("span",{class:"text-gray-600"},"\xB7",-1),h7=j("span",{class:"text-gray-600"},"\xB7",-1),f7={key:1,class:"comment-replies mt-2"},d7={class:"flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},p7=it({__name:"CommentItem",props:{comment:{default:void 0}},emits:["reload"],setup(t,{emit:e}){var r;const n=t,i=fe(!1),s=fe(!1),o=fe([]),a=fe(!1),l=fe();Nr("hoveredReply",l);const c=Gy(new Date(((r=n.comment)==null?void 0:r.spec.creationTime)||new Date)),u=ot(()=>(n.comment,!1)),h=ot(()=>{if(!n.comment)return"";const{annotations:y}=n.comment.spec.owner;return y==null?void 0:y.website}),f=async y=>{var g;try{y||(a.value=!0);const{data:m}=await Ui.comment.listCommentReplies({name:(g=n.comment)==null?void 0:g.metadata.name});o.value=m.items}catch(m){console.error("Failed to fetch comment replies",m)}finally{a.value=!1}};ut(()=>i.value,()=>{i.value?f():o.value.length=0});const d=()=>{s.value=!1,i.value=!0,f()},p=nr("upvotedComments",fe([])),O=async()=>{!n.comment||p.value.includes(n.comment.metadata.name)||(await Ui.tracker.upvote({voteRequest:{name:n.comment.metadata.name,plural:"comments",group:"content.halo.run"}}),p.value.push(n.comment.metadata.name),e("reload"))};return(y,g)=>{var m,v,b,x,w,$,T,C,A,_,P,k,E;return W(),K("div",{id:`comment-${(m=t.comment)==null?void 0:m.metadata.name}`,class:"comment-item py-4"},[j("div",K8,[j("div",J8,[se(V(Ad),{src:(b=(v=t.comment)==null?void 0:v.owner)==null?void 0:b.avatar,alt:(w=(x=t.comment)==null?void 0:x.owner)==null?void 0:w.displayName,size:"sm",circle:""},null,8,["src","alt"])]),j("div",e7,[j("div",t7,[j("div",r7,[j("div",n7,[V(h)?(W(),K("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:V(h),target:"_blank"},Te(($=t.comment)==null?void 0:$.owner.displayName),9,i7)):(W(),K("span",s7,Te((T=t.comment)==null?void 0:T.owner.displayName),1))]),j("a",{href:`#comment-${(C=t.comment)==null?void 0:C.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Te(V(c)),9,o7),V(u)?(W(),$e(V(pE),{key:0,rounded:"",class:"dark:!border-slate-600 dark:!bg-slate-700 dark:!text-slate-50"},{default:We(()=>[$r(" Author ")]),_:1})):ke("",!0)])]),j("div",a7,[j("p",l7,Te((A=t.comment)==null?void 0:A.spec.content),1)]),j("div",c7,[j("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[0]||(g[0]=N=>O())},[V(p).includes((_=t.comment)==null?void 0:_.metadata.name)?(W(),$e(V(GT),{key:1,class:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})):(W(),$e(V(HT),{key:0,class:"h-3.5 w-3.5 hover:text-red-600 hover:dark:text-red-400"})),j("span",null,Te((P=t.comment)==null?void 0:P.stats.upvote),1)]),u7,j("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[1]||(g[1]=N=>i.value=!i.value)},[i.value?(W(),$e(V(H8),{key:1,class:"h-3.5 w-3.5"})):(W(),$e(V(q8),{key:0,class:"h-3.5 w-3.5"})),j("span",null,Te(((E=(k=t.comment)==null?void 0:k.status)==null?void 0:E.visibleReplyCount)||0),1)]),h7,j("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[2]||(g[2]=N=>s.value=!s.value)}," \u52A0\u5165\u56DE\u590D ")]),s.value?(W(),$e(Ig,{key:0,class:"mt-2",comment:t.comment,onCreated:d},null,8,["comment"])):ke("",!0),i.value?(W(),K("div",f7,[j("div",d7,[a.value?(W(),$e(V(DO),{key:0,class:"dark:text-slate-100"})):!o.value.length&&!s.value?(W(),$e(Oi,{key:1,appear:"",name:"fade"},{default:We(()=>[se(V(Xb),{title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:We(()=>[se(V(Gv),null,{default:We(()=>[se(V(ws),{type:"default",onClick:f},{default:We(()=>[$r(" \u5237\u65B0 ")]),_:1}),se(V(ws),{type:"primary",onClick:g[3]||(g[3]=N=>s.value=!0)},{default:We(()=>[$r(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})]),_:1})):(W(),$e(Gf,{key:2,appear:"",name:"fade",tag:"div"},{default:We(()=>[(W(!0),K(Ce,null,Hr(o.value,(N,D)=>(W(),$e(W8,{key:D,class:qe({"!pt-2":D===1}),comment:t.comment,reply:N,replies:o.value,onReload:g[4]||(g[4]=X=>f(!0))},null,8,["class","comment","reply","replies"]))),128))]),_:1}))])])):ke("",!0)])])],8,Y8)}}}),O7={class:"comment-timeline mt-6"},g7={class:"flex items-center"},m7={class:"flex flex-auto items-center gap-1"},y7={class:"text-sm font-medium text-gray-900 dark:text-slate-50"},v7=j("div",null,null,-1),w7={class:"mt-4 flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},S7={key:0,class:"my-4 sm:flex sm:items-center sm:justify-center"},b7=it({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0},colorScheme:{default:"light"},emojiData:null},setup(t){const e=t;Nr("kind",e.kind),Nr("name",e.name),Nr("group",e.group),Nr("colorScheme",e.colorScheme),Nr("emojiData",e.emojiData);const r=fe(),n=fe({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1,totalPages:0}),i=fe(!1);Nr("currentUser",r);const s=async()=>{try{const{data:p}=await Ui.user.getCurrentUserDetail();r.value=p.user.metadata.name==="anonymousUser"?void 0:p.user}catch(p){console.error("Fetch logined user failed",p)}},o=async p=>{try{p||(i.value=!0);const{data:O}=await Ui.comment.listComments1({page:n.value.page,size:n.value.size,kind:e.kind,name:e.name,group:e.group,version:"v1alpha1"});n.value=O}catch(O){console.error("Failed to fetch comments",O)}finally{i.value=!1}},a=({page:p,size:O})=>{n.value.page=p,n.value.size=O,o()};ai(()=>{s(),o()});const l=()=>{o()},c=ot(()=>e.colorScheme==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e.colorScheme),u=fe(!1);Nr("allowAnonymousComments",u),ai(async()=>{const{data:p}=await lt.get("/actuator/globalinfo",{withCredentials:!0});u.value=p.allowAnonymousComments});const f=Ed("halo.upvoted.comments",[]),d=Ed("halo.upvoted.replies",[]);return Nr("upvotedComments",f),Nr("upvotedReplies",d),(p,O)=>{var y;return W(),K("div",{class:qe(["halo-comment-widget",V(c)])},[se(Ig,{onCreated:l}),j("div",O7,[j("div",g7,[j("div",m7,[j("span",y7,Te(((y=n.value)==null?void 0:y.total)||0)+" \u6761\u8BC4\u8BBA ",1),ke("",!0),ke("",!0)]),v7]),j("div",w7,[i.value?(W(),$e(V(DO),{key:0,class:"dark:text-slate-100"})):n.value.items.length?(W(),$e(Gf,{key:2,appear:"",name:"fade",tag:"div"},{default:We(()=>[(W(!0),K(Ce,null,Hr(n.value.items,(g,m)=>(W(),$e(p7,{key:m,comment:g,onReload:O[0]||(O[0]=v=>o(!0))},null,8,["comment"]))),128))]),_:1})):(W(),$e(Oi,{key:1,appear:"",name:"fade"},{default:We(()=>[se(V(Xb),{title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:We(()=>[se(V(Gv),null,{default:We(()=>[se(V(ws),{type:"default",onClick:o},{default:We(()=>[$r(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})]),_:1}))])]),n.value.hasPrevious||n.value.hasNext?(W(),K("div",S7,[se(V(kE),{page:n.value.page,size:n.value.size,total:n.value.total,class:"bg-transparent",onChange:a},null,8,["page","size","total"])])):ke("",!0)],2)}}});var u6="",h6="",Lg={exports:{}},YT=function(e,r){return function(){for(var i=new Array(arguments.length),s=0;s0;)s=n[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function z7(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return n!==-1&&n===r}function W7(t){if(!t)return null;var e=t.length;if(Vh(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var B7=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Lt={isArray:Wg,isArrayBuffer:KT,isBuffer:Q7,isFormData:R7,isArrayBufferView:x7,isString:$7,isNumber:_7,isObject:JT,isPlainObject:zh,isUndefined:Vh,isDate:P7,isFile:C7,isBlob:k7,isFunction:Bg,isStream:A7,isURLSearchParams:M7,isStandardBrowserEnv:D7,forEach:Ug,merge:Xg,extend:N7,trim:j7,stripBOM:I7,inherits:L7,toFlatObject:V7,kindOf:zg,kindOfTest:Us,endsWith:z7,toArray:W7,isTypedArray:B7,isFileList:E7},ta=Lt;function eQ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var tQ=function(e,r,n){if(!r)return e;var i;if(n)i=n(r);else if(ta.isURLSearchParams(r))i=r.toString();else{var s=[];ta.forEach(r,function(l,c){l===null||typeof l=="undefined"||(ta.isArray(l)?c=c+"[]":l=[l],ta.forEach(l,function(h){ta.isDate(h)?h=h.toISOString():ta.isObject(h)&&(h=JSON.stringify(h)),s.push(eQ(c)+"="+eQ(h))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},U7=Lt;function Wh(){this.handlers=[]}Wh.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},Wh.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Wh.prototype.forEach=function(e){U7.forEach(this.handlers,function(n){n!==null&&e(n)})};var X7=Wh,q7=Lt,Z7=function(e,r){q7.forEach(e,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(e[r]=i,delete e[s])})},rQ=Lt;function ra(t,e,r,n,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}rQ.inherits(ra,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var nQ=ra.prototype,iQ={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){iQ[t]={value:t}}),Object.defineProperties(ra,iQ),Object.defineProperty(nQ,"isAxiosError",{value:!0}),ra.from=function(t,e,r,n,i,s){var o=Object.create(nQ);return rQ.toFlatObject(t,o,function(l){return l!==Error.prototype}),ra.call(o,t.message,e,r,n,i),o.name=t.name,s&&Object.assign(o,s),o};var na=ra,sQ={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},un=Lt;function F7(t,e){e=e||new FormData;var r=[];function n(s){return s===null?"":un.isDate(s)?s.toISOString():un.isArrayBuffer(s)||un.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(un.isPlainObject(s)||un.isArray(s)){if(r.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);r.push(s),un.forEach(s,function(l,c){if(!un.isUndefined(l)){var u=o?o+"."+c:c,h;if(l&&!o&&typeof l=="object"){if(un.endsWith(c,"{}"))l=JSON.stringify(l);else if(un.endsWith(c,"[]")&&(h=un.toArray(l))){h.forEach(function(f){!un.isUndefined(f)&&e.append(u,n(f))});return}}i(l,u)}}),r.pop()}else e.append(o,n(s))}return i(t),e}var oQ=F7,qg=na,G7=function(e,r,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):r(new qg("Request failed with status code "+n.status,[qg.ERR_BAD_REQUEST,qg.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},Bh=Lt,H7=Bh.isStandardBrowserEnv()?function(){return{write:function(r,n,i,s,o,a){var l=[];l.push(r+"="+encodeURIComponent(n)),Bh.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),Bh.isString(s)&&l.push("path="+s),Bh.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Y7=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},K7=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},J7=Y7,eL=K7,aQ=function(e,r){return e&&!J7(r)?eL(e,r):r},Zg=Lt,tL=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],rL=function(e){var r={},n,i,s;return e&&Zg.forEach(e.split(` -`),function(a){if(s=a.indexOf(":"),n=Zg.trim(a.substr(0,s)).toLowerCase(),i=Zg.trim(a.substr(s+1)),n){if(r[n]&&tL.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+", "+i:i}}),r},lQ=Lt,nL=lQ.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(s){var o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){var a=lQ.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}(),Fg=na,iL=Lt;function cQ(t){Fg.call(this,t==null?"canceled":t,Fg.ERR_CANCELED),this.name="CanceledError"}iL.inherits(cQ,Fg,{__CANCEL__:!0});var Uh=cQ,sL=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""},Ql=Lt,oL=G7,aL=H7,lL=tQ,cL=aQ,uL=rL,hL=nL,fL=sQ,Jn=na,dL=Uh,pL=sL,uQ=function(e){return new Promise(function(n,i){var s=e.data,o=e.headers,a=e.responseType,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}Ql.isFormData(s)&&Ql.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(h+":"+f)}var d=cL(e.baseURL,e.url);u.open(e.method.toUpperCase(),lL(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!!u){var g="getAllResponseHeaders"in u?uL(u.getAllResponseHeaders()):null,m=!a||a==="text"||a==="json"?u.responseText:u.response,v={data:m,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};oL(function(x){n(x),c()},function(x){i(x),c()},v),u=null}}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){!u||(i(new Jn("Request aborted",Jn.ECONNABORTED,e,u)),u=null)},u.onerror=function(){i(new Jn("Network Error",Jn.ERR_NETWORK,e,u,u)),u=null},u.ontimeout=function(){var m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",v=e.transitional||fL;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),i(new Jn(m,v.clarifyTimeoutError?Jn.ETIMEDOUT:Jn.ECONNABORTED,e,u)),u=null},Ql.isStandardBrowserEnv()){var O=(e.withCredentials||hL(d))&&e.xsrfCookieName?aL.read(e.xsrfCookieName):void 0;O&&(o[e.xsrfHeaderName]=O)}"setRequestHeader"in u&&Ql.forEach(o,function(m,v){typeof s=="undefined"&&v.toLowerCase()==="content-type"?delete o[v]:u.setRequestHeader(v,m)}),Ql.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(g){!u||(i(!g||g&&g.type?new dL:g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),s||(s=null);var y=pL(d);if(y&&["http","https","file"].indexOf(y)===-1){i(new Jn("Unsupported protocol "+y+":",Jn.ERR_BAD_REQUEST,e));return}u.send(s)})},OL=null,Pt=Lt,hQ=Z7,fQ=na,gL=sQ,mL=oQ,yL={"Content-Type":"application/x-www-form-urlencoded"};function dQ(t,e){!Pt.isUndefined(t)&&Pt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function vL(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=uQ),t}function wL(t,e,r){if(Pt.isString(t))try{return(e||JSON.parse)(t),Pt.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var Xh={transitional:gL,adapter:vL(),transformRequest:[function(e,r){if(hQ(r,"Accept"),hQ(r,"Content-Type"),Pt.isFormData(e)||Pt.isArrayBuffer(e)||Pt.isBuffer(e)||Pt.isStream(e)||Pt.isFile(e)||Pt.isBlob(e))return e;if(Pt.isArrayBufferView(e))return e.buffer;if(Pt.isURLSearchParams(e))return dQ(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=Pt.isObject(e),i=r&&r["Content-Type"],s;if((s=Pt.isFileList(e))||n&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return mL(s?{"files[]":e}:e,o&&new o)}else if(n||i==="application/json")return dQ(r,"application/json"),wL(e);return e}],transformResponse:[function(e){var r=this.transitional||Xh.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!n&&this.responseType==="json";if(s||i&&Pt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?fQ.from(o,fQ.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:OL},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Pt.forEach(["delete","get","head"],function(e){Xh.headers[e]={}}),Pt.forEach(["post","put","patch"],function(e){Xh.headers[e]=Pt.merge(yL)});var Gg=Xh,SL=Lt,bL=Gg,TL=function(e,r,n){var i=this||bL;return SL.forEach(n,function(o){e=o.call(i,e,r)}),e},pQ=function(e){return!!(e&&e.__CANCEL__)},OQ=Lt,Hg=TL,QL=pQ,xL=Gg,$L=Uh;function Yg(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $L}var _L=function(e){Yg(e),e.headers=e.headers||{},e.data=Hg.call(e,e.data,e.headers,e.transformRequest),e.headers=OQ.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),OQ.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||xL.adapter;return r(e).then(function(i){return Yg(e),i.data=Hg.call(e,i.data,i.headers,e.transformResponse),i},function(i){return QL(i)||(Yg(e),i&&i.response&&(i.response.data=Hg.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Dr=Lt,gQ=function(e,r){r=r||{};var n={};function i(u,h){return Dr.isPlainObject(u)&&Dr.isPlainObject(h)?Dr.merge(u,h):Dr.isPlainObject(h)?Dr.merge({},h):Dr.isArray(h)?h.slice():h}function s(u){if(Dr.isUndefined(r[u])){if(!Dr.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],r[u])}function o(u){if(!Dr.isUndefined(r[u]))return i(void 0,r[u])}function a(u){if(Dr.isUndefined(r[u])){if(!Dr.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,r[u])}function l(u){if(u in r)return i(e[u],r[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return Dr.forEach(Object.keys(e).concat(Object.keys(r)),function(h){var f=c[h]||s,d=f(h);Dr.isUndefined(d)&&f!==l||(n[h]=d)}),n},mQ={version:"0.27.2"},PL=mQ.version,Fi=na,Kg={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Kg[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var yQ={};Kg.transitional=function(e,r,n){function i(s,o){return"[Axios v"+PL+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return function(s,o,a){if(e===!1)throw new Fi(i(o," has been removed"+(r?" in "+r:"")),Fi.ERR_DEPRECATED);return r&&!yQ[o]&&(yQ[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function CL(t,e,r){if(typeof t!="object")throw new Fi("options must be an object",Fi.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var s=n[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new Fi("option "+s+" must be "+l,Fi.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Fi("Unknown option "+s,Fi.ERR_BAD_OPTION)}}var kL={assertOptions:CL,validators:Kg},vQ=Lt,EL=tQ,wQ=X7,SQ=_L,qh=gQ,AL=aQ,bQ=kL,ia=bQ.validators;function sa(t){this.defaults=t,this.interceptors={request:new wQ,response:new wQ}}sa.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=qh(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&bQ.assertOptions(n,{silentJSONParsing:ia.transitional(ia.boolean),forcedJSONParsing:ia.transitional(ia.boolean),clarifyTimeoutError:ia.transitional(ia.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(s=s&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var a;if(!s){var l=[SQ,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(r);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=r;i.length;){var u=i.shift(),h=i.shift();try{c=u(c)}catch(f){h(f);break}}try{a=SQ(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a},sa.prototype.getUri=function(e){e=qh(this.defaults,e);var r=AL(e.baseURL,e.url);return EL(r,e.params,e.paramsSerializer)},vQ.forEach(["delete","get","head","options"],function(e){sa.prototype[e]=function(r,n){return this.request(qh(n||{},{method:e,url:r,data:(n||{}).data}))}}),vQ.forEach(["post","put","patch"],function(e){function r(n){return function(s,o,a){return this.request(qh(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}sa.prototype[e]=r(),sa.prototype[e+"Form"]=r(!0)});var RL=sa,ML=Uh;function oa(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(i){e=i});var r=this;this.promise.then(function(n){if(!!r._listeners){var i,s=r._listeners.length;for(i=0;i{const{data:u}=await WL.get("/plugins/PluginCommentWidget/assets/static/emoji/all.json");return u}}).mount(s)})}return Fh.init=BL,Object.defineProperties(Fh,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),Fh}({}); + */function uh(e,t){if(ww(e))for(let n=0;nt(e[n],n,e));return e}const hw=()=>typeof window<"u",pw=e=>e===void 0,mw=e=>e===null,gw=e=>typeof e=="number",yw=e=>typeof e=="function",fh=e=>Array.isArray(e),vw=e=>typeof e=="object"&&!fh(e)&&!mw(e),ww=e=>{const t=!!e&&e.length,n=gw(t)&&t>-1&&t%1==0;return fh(e)||!yw(e)&&n?t>0&&vw(e)?t-1 in e:!0:!1},Cw=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),_w=(e,t,n)=>{if(pw(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},bw=e=>{const t=document.createElement("div");return e&&_w(t,"class",e),t},Ew=e=>e.charAt(0).toUpperCase()+e.slice(1),Mw=["WebKit","Moz","O","MS","webkit","moz","o","ms"],dl={},Ss=e=>{if(hw()){let t=dl[e]||window[e];return Cw(dl,e)||(uh(Mw,n=>(t=t||window[n+Ew(e)],!t)),dl[e]=t),t}};Ss("MutationObserver"),Ss("IntersectionObserver"),Ss("ResizeObserver"),Ss("cancelAnimationFrame"),Ss("requestAnimationFrame"),bw.bind(0,"");const{max:Sw}=Math;Sw.bind(0,0);const Aw={xs:10,sm:12,md:16,lg:20};var dh=Ae({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(e){const t=e,n=je(()=>{const{direction:r,align:s}=t;return[`space-direction-${r}`,`space-align-${s}`]});return(r,s)=>(x(),H("div",{class:Ce([L(n),"space-wrapper"]),style:We(`gap: ${L(Aw)[e.spacing]}px`)},[Qe(r.$slots,"default")],6))}});const jw={key:0,class:"tag-left-icon"},Tw={class:"tag-content"},Nw={key:1,class:"tag-right-icon"};var Lw=Ae({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(e){const t=e,n=je(()=>[`tag-${t.theme}`,{"tag-rounded":t.rounded}]);return(r,s)=>(x(),H("div",{class:Ce([L(n),"tag-wrapper"]),style:We(e.styles)},[r.$slots.leftIcon?(x(),H("div",jw,[Qe(r.$slots,"leftIcon")])):he("",!0),A("span",Tw,[Qe(r.$slots,"default")]),r.$slots.rightIcon?(x(),H("div",Nw,[Qe(r.$slots,"rightIcon")])):he("",!0)],6))}});const xw={class:"bg-white flex items-center justify-between"},Iw={class:"flex-1 flex justify-between sm:!hidden items-center"},Ow={class:"text-sm text-gray-500"},Dw={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},Pw={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},$w=["disabled"],kw=["disabled"],Rw={class:"inline-flex items-center gap-2"},Fw=["disabled"],Bw={key:0,value:0},zw=["value"],Uw={class:"text-sm text-gray-500"},Hw={class:"inline-flex items-center gap-2"},Vw=["value"],Yw={class:"text-sm text-gray-500"};var Ww=Ae({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]},pageLabel:{default:"\u9875"},sizeLabel:{default:"\u6761 / \u9875"}},emits:["update:page","update:size","change"],setup(e,{emit:t}){const n=e,r=ne(n.page),s=ne(n.size),i=ne(n.total);et([()=>n.page,()=>n.size,()=>n.total],()=>{r.value=n.page,s.value=n.size,i.value=n.total});const o=({currentPage:m,currentPageSize:y})=>{t("update:page",m),t("update:size",y),t("change",{page:m,size:y})},{currentPage:a,currentPageSize:l,pageCount:c,isFirstPage:u,isLastPage:f,prev:d,next:h}=Ov({total:i,page:r,pageSize:s,onPageChange:o,onPageSizeChange:o});return(m,y)=>(x(),H("div",xw,[A("div",Iw,[A("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[0]||(y[0]=(...C)=>L(d)&&L(d)(...C))},[q(L(lh))]),A("span",Ow,ie(L(a))+" / "+ie(L(c)),1),A("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[1]||(y[1]=(...C)=>L(h)&&L(h)(...C))},[q(L(ch))])]),A("div",Dw,[A("nav",Pw,[A("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:L(u),onClick:y[2]||(y[2]=(...C)=>L(d)&&L(d)(...C))},[q(L(lh))],8,$w),A("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:L(f),onClick:y[3]||(y[3]=(...C)=>L(h)&&L(h)(...C))},[q(L(ch))],8,kw)]),A("div",Rw,[kt(A("select",{"onUpdate:modelValue":y[4]||(y[4]=C=>_e(a)?a.value=C:null),disabled:L(c)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[L(c)===0?(x(),H("option",Bw,"0 / 0")):he("",!0),(x(!0),H(le,null,Tt(L(c),C=>(x(),H("option",{key:C,value:C},ie(C)+" / "+ie(L(c)),9,zw))),128))],8,Fw),[[_i,L(a)]]),A("span",Uw,ie(e.pageLabel),1)]),A("div",Hw,[kt(A("select",{"onUpdate:modelValue":y[5]||(y[5]=C=>_e(l)?l.value=C:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(x(!0),H(le,null,Tt(e.sizeOptions,(C,g)=>(x(),H("option",{key:g,value:C},ie(C),9,Vw))),128))],512),[[_i,L(l)]]),A("span",Yw,ie(e.sizeLabel),1)])])]))}}),qw="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTguMDk1IDQ3NS43OTgiPgogIDxnPgogICAgPHBhdGgKICAgICAgZD0iTTU1NS41MzYsMzI4LjA0OWMtMTUuMjQzLTc2Ljg2Ni0xMDQuNTQ3LTEzOC4zLTEyMS45NjUtMjE4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AgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNTA3LjY2OCAxMS42ODIgNTA1LjY1NyAyMy43NDggNTA4LjYyNCAyNC40MjQgNTExLjExMiAxMi4xNzUgNTA3LjY2OCAxMS42ODIiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const Qw={class:"empty-wrapper"},Kw={class:"empty-image h-32 w-32"},Zw=["src"],Gw={class:"empty-title"},Jw={class:"empty-message"},Xw={class:"empty-actions"};var hh=Ae({__name:"Empty",props:{title:null,message:null,image:null},setup(e){return(t,n)=>(x(),H("div",Qw,[A("div",Kw,[Qe(t.$slots,"image",{},()=>[A("img",{src:e.image||L(qw),alt:"Empty"},null,8,Zw)])]),A("div",Gw,ie(e.title),1),A("div",Jw,[Qe(t.$slots,"message",{},()=>[Ct(ie(e.message),1)])]),A("div",Xw,[Qe(t.$slots,"actions")])]))}});function Jt(e){return e.split("-")[0]}function Lr(e){return e.split("-")[1]}function As(e){return["top","bottom"].includes(Jt(e))?"x":"y"}function hl(e){return e==="y"?"height":"width"}function ph(e){let{reference:t,floating:n,placement:r}=e;const s=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2;let o;switch(Jt(r)){case"top":o={x:s,y:t.y-n.height};break;case"bottom":o={x:s,y:t.y+t.height};break;case"right":o={x:t.x+t.width,y:i};break;case"left":o={x:t.x-n.width,y:i};break;default:o={x:t.x,y:t.y}}const a=As(r),l=hl(a);switch(Lr(r)){case"start":o[a]=o[a]-(t[l]/2-n[l]/2);break;case"end":o[a]=o[a]+(t[l]/2-n[l]/2);break}return o}const e2=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n;let a=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:l,y:c}=ph({...a,placement:r}),u=r,f={};for(let d=0;d({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:s,y:i,placement:o,rects:a,platform:l}=t;if(n==null)return{};const c=mh(r),u={x:s,y:i},f=Jt(o),d=As(f),h=hl(d),m=await l.getDimensions({element:n}),y=d==="y"?"top":"left",C=d==="y"?"bottom":"right",g=a.reference[h]+a.reference[d]-u[d]-a.floating[h],p=u[d]-a.reference[d],w=await l.getOffsetParent({element:n}),E=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,M=g/2-p/2,j=c[y],T=E-m[h]-c[C],b=E/2-m[h]/2+M,O=ml(j,b,T);return{data:{[d]:O,centerOffset:b-O}}}}),s2={left:"right",right:"left",bottom:"top",top:"bottom"};function Ki(e){return e.replace(/left|right|bottom|top/g,t=>s2[t])}function gh(e,t){const n=Lr(e)==="start",r=As(e),s=hl(r);let i=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ki(i)),{main:i,cross:Ki(i)}}const i2={start:"end",end:"start"};function gl(e){return e.replace(/start|end/g,t=>i2[t])}const o2=["top","right","bottom","left"],a2=o2.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function l2(e,t,n){return(e?[...n.filter(r=>Lr(r)===e),...n.filter(r=>Lr(r)!==e)]:n.filter(r=>Jt(r)===r)).filter(r=>e?Lr(r)===e||(t?gl(r)!==r:!1):!0)}const c2=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s,i,o,a;const{x:l,y:c,rects:u,middlewareData:f,placement:d}=t,{alignment:h=null,allowedPlacements:m=a2,autoAlignment:y=!0,...C}=e;if((n=f.autoPlacement)!=null&&n.skip)return{};const g=l2(h,y,m),p=await Qi(t,C),w=(r=(s=f.autoPlacement)==null?void 0:s.index)!=null?r:0,E=g[w],{main:M,cross:j}=gh(E,u);if(d!==E)return{x:l,y:c,reset:{placement:g[0]}};const T=[p[Jt(E)],p[M],p[j]],b=[...(i=(o=f.autoPlacement)==null?void 0:o.overflows)!=null?i:[],{placement:E,overflows:T}],O=g[w+1];if(O)return{data:{index:w+1,overflows:b},reset:{placement:O}};const R=b.slice().sort((N,D)=>N.overflows[0]-D.overflows[0]),k=(a=R.find(N=>{let{overflows:D}=N;return D.every(P=>P<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:k!=null?k:R[0].placement}}}}};function u2(e){const t=Ki(e);return[gl(e),t,gl(t)]}const f2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:a}=t;if((n=i.flip)!=null&&n.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",flipAlignment:d=!0,...h}=e,m=Jt(s),y=u||(m===a||!d?[Ki(a)]:u2(a)),C=[a,...y],g=await Qi(t,h),p=[];let w=((r=i.flip)==null?void 0:r.overflows)||[];if(l&&p.push(g[m]),c){const{main:T,cross:b}=gh(s,o);p.push(g[T],g[b])}if(w=[...w,{placement:s,overflows:p}],!p.every(T=>T<=0)){var E,M;const T=((E=(M=i.flip)==null?void 0:M.index)!=null?E:0)+1,b=C[T];if(b)return{data:{index:T,overflows:w},reset:{placement:b}};let O="bottom";switch(f){case"bestFit":{var j;const R=(j=w.slice().sort((k,N)=>k.overflows.filter(D=>D>0).reduce((D,P)=>D+P,0)-N.overflows.filter(D=>D>0).reduce((D,P)=>D+P,0))[0])==null?void 0:j.placement;R&&(O=R);break}case"initialPlacement":O=a;break}return{data:{skip:!0},reset:{placement:O}}}return{}}}};function d2(e){let{placement:t,rects:n,value:r}=e;const s=Jt(t),i=["left","top"].includes(s)?-1:1,o=typeof r=="function"?r({...n,placement:t}):r,{mainAxis:a,crossAxis:l}=typeof o=="number"?{mainAxis:o,crossAxis:0}:{mainAxis:0,crossAxis:0,...o};return As(s)==="x"?{x:l,y:a*i}:{x:a*i,y:l}}const h2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:r,placement:s,rects:i}=t,o=d2({placement:s,rects:i,value:e});return{x:n+o.x,y:r+o.y,data:o}}}};function p2(e){return e==="x"?"y":"x"}const m2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:C=>{let{x:g,y:p}=C;return{x:g,y:p}}},...l}=e,c={x:n,y:r},u=await Qi(t,l),f=As(Jt(s)),d=p2(f);let h=c[f],m=c[d];if(i){const C=f==="y"?"top":"left",g=f==="y"?"bottom":"right",p=h+u[C],w=h-u[g];h=ml(p,h,w)}if(o){const C=d==="y"?"top":"left",g=d==="y"?"bottom":"right",p=m+u[C],w=m-u[g];m=ml(p,m,w)}const y=a.fn({...t,[f]:h,[d]:m});return{...y,data:{x:y.x-n,y:y.y-r}}}}},g2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:r,rects:s,middlewareData:i}=t,{apply:o,...a}=e;if((n=i.size)!=null&&n.skip)return{};const l=await Qi(t,a),c=Jt(r),u=Lr(r)==="end";let f,d;c==="top"||c==="bottom"?(f=c,d=u?"left":"right"):(d=c,f=u?"top":"bottom");const h=er(l.left,0),m=er(l.right,0),y=er(l.top,0),C=er(l.bottom,0),g={height:s.floating.height-(["left","right"].includes(r)?2*(y!==0||C!==0?y+C:er(l.top,l.bottom)):l[f]),width:s.floating.width-(["top","bottom"].includes(r)?2*(h!==0||m!==0?h+m:er(l.left,l.right)):l[d])};return o==null||o({...g,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function yl(e){return(e==null?void 0:e.toString())==="[object Window]"}function _n(e){if(e==null)return window;if(!yl(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Zi(e){return _n(e).getComputedStyle(e)}function Xt(e){return yl(e)?"":e?(e.nodeName||"").toLowerCase():""}function en(e){return e instanceof _n(e).HTMLElement}function Gi(e){return e instanceof _n(e).Element}function y2(e){return e instanceof _n(e).Node}function yh(e){const t=_n(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ji(e){const{overflow:t,overflowX:n,overflowY:r}=Zi(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function v2(e){return["table","td","th"].includes(Xt(e))}function vh(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Zi(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}const wh=Math.min,js=Math.max,Xi=Math.round;function xr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&en(e)&&(r=e.offsetWidth>0&&Xi(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Xi(n.height)/e.offsetHeight||1),{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function bn(e){return((y2(e)?e.ownerDocument:e.document)||window.document).documentElement}function eo(e){return yl(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ch(e){return xr(bn(e)).left+eo(e).scrollLeft}function w2(e){const t=xr(e);return Xi(t.width)!==e.offsetWidth||Xi(t.height)!==e.offsetHeight}function C2(e,t,n){const r=en(t),s=bn(t),i=xr(e,r&&w2(t));let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Xt(t)!=="body"||Ji(s))&&(o=eo(t)),en(t)){const l=xr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Ch(s));return{x:i.left+o.scrollLeft-a.x,y:i.top+o.scrollTop-a.y,width:i.width,height:i.height}}function to(e){return Xt(e)==="html"?e:e.assignedSlot||e.parentNode||(yh(e)?e.host:null)||bn(e)}function _h(e){return!en(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function _2(e){let t=to(e);for(;en(t)&&!["html","body"].includes(Xt(t));){if(vh(t))return t;t=t.parentNode}return null}function vl(e){const t=_n(e);let n=_h(e);for(;n&&v2(n)&&getComputedStyle(n).position==="static";)n=_h(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&getComputedStyle(n).position==="static"&&!vh(n))?t:n||_2(e)||t}function bh(e){return{width:e.offsetWidth,height:e.offsetHeight}}function b2(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=en(n),i=bn(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((Xt(n)!=="body"||Ji(i))&&(o=eo(n)),en(n))){const l=xr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+a.x,y:t.y-o.scrollTop+a.y}}function E2(e){const t=_n(e),n=bn(e),r=t.visualViewport;let s=n.clientWidth,i=n.clientHeight,o=0,a=0;return r&&(s=r.width,i=r.height,Math.abs(t.innerWidth/r.scale-r.width)<.01&&(o=r.offsetLeft,a=r.offsetTop)),{width:s,height:i,x:o,y:a}}function M2(e){var t;const n=bn(e),r=eo(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=js(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=js(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+Ch(e);const l=-r.scrollTop;return Zi(s||n).direction==="rtl"&&(a+=js(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Eh(e){return["html","body","#document"].includes(Xt(e))?e.ownerDocument.body:en(e)&&Ji(e)?e:Eh(to(e))}function no(e,t){var n;t===void 0&&(t=[]);const r=Eh(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=_n(r),o=s?[i].concat(i.visualViewport||[],Ji(r)?r:[]):r,a=t.concat(o);return s?a:a.concat(no(to(o)))}function S2(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&yh(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function A2(e){const t=xr(e),n=t.top+e.clientTop,r=t.left+e.clientLeft;return{top:n,left:r,x:r,y:n,right:r+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Mh(e,t){return t==="viewport"?pl(E2(e)):Gi(t)?A2(t):pl(M2(bn(e)))}function j2(e){const t=no(to(e)),n=["absolute","fixed"].includes(Zi(e).position)&&en(e)?vl(e):e;return Gi(n)?t.filter(r=>Gi(r)&&S2(r,n)&&Xt(r)!=="body"):[]}function T2(e){let{element:t,boundary:n,rootBoundary:r}=e;const s=[...n==="clippingParents"?j2(t):[].concat(n),r],i=s[0],o=s.reduce((a,l)=>{const c=Mh(t,l);return a.top=js(c.top,a.top),a.right=wh(c.right,a.right),a.bottom=wh(c.bottom,a.bottom),a.left=js(c.left,a.left),a},Mh(t,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}const N2={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:C2(t,vl(n),r),floating:{...bh(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>b2(e),getOffsetParent:e=>{let{element:t}=e;return vl(t)},isElement:e=>Gi(e),getDocumentElement:e=>{let{element:t}=e;return bn(t)},getClippingClientRect:e=>T2(e),getDimensions:e=>{let{element:t}=e;return bh(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},L2=(e,t,n)=>e2(e,t,{platform:N2,...n});var x2=Object.defineProperty,I2=Object.defineProperties,O2=Object.getOwnPropertyDescriptors,Sh=Object.getOwnPropertySymbols,D2=Object.prototype.hasOwnProperty,P2=Object.prototype.propertyIsEnumerable,Ah=(e,t,n)=>t in e?x2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,En=(e,t)=>{for(var n in t||(t={}))D2.call(t,n)&&Ah(e,n,t[n]);if(Sh)for(var n of Sh(t))P2.call(t,n)&&Ah(e,n,t[n]);return e},ro=(e,t)=>I2(e,O2(t));const tr={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function so(e,t){let n=tr.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=tr.themes[n.$extend]||{}:(n=null,r=tr[t]):n=null;while(n);return r}function $2(e){const t=[e];let n=tr.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=tr.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function jh(e){const t=[e];let n=tr.themes[e]||{};do n.$extend?(t.push(n.$extend),n=tr.themes[n.$extend]||{}):n=null;while(n);return t}let Ir=!1;if(typeof window<"u"){Ir=!1;try{const e=Object.defineProperty({},"passive",{get(){Ir=!0}});window.addEventListener("test",null,e)}catch{}}let Th=!1;typeof window<"u"&&typeof navigator<"u"&&(Th=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const k2=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Nh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Lh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function xh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function wl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const xt=[];let nr=null;const Ih={};function Oh(e){let t=Ih[e];return t||(t=Ih[e]=[]),t}let Cl=function(){};typeof window<"u"&&(Cl=window.Element);function ae(e){return function(t){return so(t.theme,e)}}const _l="__floating-vue__popper";var Dh=()=>Ae({name:"VPopper",provide(){return{[_l]:{parentPopper:this}}},inject:{[_l]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ae("disabled")},positioningDisabled:{type:Boolean,default:ae("positioningDisabled")},placement:{type:String,default:ae("placement"),validator:e=>k2.includes(e)},delay:{type:[String,Number,Object],default:ae("delay")},distance:{type:[Number,String],default:ae("distance")},skidding:{type:[Number,String],default:ae("skidding")},triggers:{type:Array,default:ae("triggers")},showTriggers:{type:[Array,Function],default:ae("showTriggers")},hideTriggers:{type:[Array,Function],default:ae("hideTriggers")},popperTriggers:{type:Array,default:ae("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ae("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ae("popperHideTriggers")},container:{type:[String,Object,Cl,Boolean],default:ae("container")},boundary:{type:[String,Cl],default:ae("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ae("strategy")},autoHide:{type:[Boolean,Function],default:ae("autoHide")},handleResize:{type:Boolean,default:ae("handleResize")},instantMove:{type:Boolean,default:ae("instantMove")},eagerMount:{type:Boolean,default:ae("eagerMount")},popperClass:{type:[String,Array,Object],default:ae("popperClass")},computeTransformOrigin:{type:Boolean,default:ae("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ae("autoMinSize")},autoSize:{type:[Boolean,String],default:ae("autoSize")},autoMaxSize:{type:Boolean,default:ae("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ae("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ae("preventOverflow")},overflowPadding:{type:[Number,String],default:ae("overflowPadding")},arrowPadding:{type:[Number,String],default:ae("arrowPadding")},arrowOverflow:{type:Boolean,default:ae("arrowOverflow")},flip:{type:Boolean,default:ae("flip")},shift:{type:Boolean,default:ae("shift")},shiftCrossAxis:{type:Boolean,default:ae("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ae("noAutoFocus")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:ro(En({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[_l])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:En(En({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e,t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(t=(e=this.referenceNode)==null?void 0:e.call(this))!=null?t:this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(h2({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(c2({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(m2({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(f2({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(r2({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:i,middlewareData:o})=>{let a;const{centerOffset:l}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?a=Math.abs(l)>i.reference.width/2:a=Math.abs(l)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,u;return o.startsWith("top")||o.startsWith("bottom")?c=i.reference.width:u=i.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(g2({boundary:this.boundary,padding:this.overflowPadding,apply:({width:s,height:i})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const r=await L2(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:En(En({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),nr&&this.instantMove&&nr.instantMove&&nr!==this.parentPopper){nr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(nr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await wl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...no(this.$_referenceNode),...no(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,xh(xt,this),xt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of jh(this.theme)){const r=Oh(n);xh(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}nr===this&&(nr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=so(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await wl(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Nh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Nh,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Lh,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Lh,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Ir?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(o=>{const a=t[o];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:i}=n;!e||e===s?r.forEach(o=>o.removeEventListener(s,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Ts>=e.left&&Ts<=e.right&&Ns>=e.top&&Ns<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ts-Mn,r=Ns-Sn,s=t.left+t.width/2-Mn+(t.top+t.height/2)-Sn+t.width+t.height,i=Mn+n*s,o=Sn+r*s;return io(Mn,Sn,i,o,t.left,t.top,t.left,t.bottom)||io(Mn,Sn,i,o,t.left,t.top,t.right,t.top)||io(Mn,Sn,i,o,t.right,t.top,t.right,t.bottom)||io(Mn,Sn,i,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Th?(document.addEventListener("touchstart",Ph,Ir?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",F2,Ir?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Ph,!0),window.addEventListener("click",R2,!0)),window.addEventListener("resize",U2));function Ph(e){for(let t=0;t=0;r--){const s=xt[r];try{const i=s.$_containsGlobalTarget=B2(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&kh(s,i,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=s.parentPopper;for(;o&&kh(o,o.$_containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function B2(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function kh(e,t,n){return n.closeAllPopover||n.closePopover&&t||z2(e,n)&&!t}function z2(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function U2(e){for(let t=0;t{Mn=Ts,Sn=Ns,Ts=e.clientX,Ns=e.clientY},Ir?{passive:!0}:void 0);function io(e,t,n,r,s,i,o,a){const l=((o-s)*(t-i)-(a-i)*(e-s))/((a-i)*(n-e)-(o-s)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-s))/((a-i)*(n-e)-(o-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}var bl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const H2={extends:Dh()};function V2(e,t,n,r,s,i){return x(),H("div",{ref:"reference",class:Ce(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Qe(e.$slots,"default",pc(va(e.slotData)))],2)}var Y2=bl(H2,[["render",V2]]);function W2(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let oo;function El(){El.init||(El.init=!0,oo=W2()!==-1)}var ao={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){El(),Js(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",oo&&this.$el.appendChild(e),e.data="about:blank",oo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!oo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const q2=tu();Xc("data-v-b329ee4c");const Q2={class:"resize-observer",tabindex:"-1"};eu();const K2=q2((e,t,n,r,s,i)=>(x(),ue("div",Q2)));ao.render=K2,ao.__scopeId="data-v-b329ee4c",ao.__file="src/components/ResizeObserver.vue";var Rh=(e="theme")=>({computed:{themeClass(){return $2(this[e])}}});const Z2=Ae({name:"VPopperContent",components:{ResizeObserver:ao},mixins:[Rh()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),G2=["id","aria-hidden","tabindex","data-popper-placement"],J2={ref:"inner",class:"v-popper__inner"},X2=A("div",{class:"v-popper__arrow-outer"},null,-1),eC=A("div",{class:"v-popper__arrow-inner"},null,-1),tC=[X2,eC];function nC(e,t,n,r,s,i){const o=jt("ResizeObserver");return x(),H("div",{id:e.popperId,ref:"popover",class:Ce(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:We(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Qn(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[A("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),A("div",{class:"v-popper__wrapper",style:We(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[A("div",J2,[e.mounted?(x(),H(le,{key:0},[A("div",null,[Qe(e.$slots,"default")]),e.handleResize?(x(),ue(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):he("",!0)],64)):he("",!0)],512),A("div",{ref:"arrow",class:"v-popper__arrow-container",style:We(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},tC,4)],4)],46,G2)}var Fh=bl(Z2,[["render",nC]]),Bh={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};const rC=Ae({name:"VPopperWrapper",components:{Popper:Y2,PopperContent:Fh},mixins:[Bh,Rh("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){var e;return(e=this.theme)!=null?e:this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function sC(e,t,n,r,s,i){const o=jt("PopperContent"),a=jt("Popper");return x(),ue(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Ce([e.themeClass])},{default:be(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:m,handleResize:y,onResize:C,classes:g,result:p})=>[Qe(e.$slots,"default",{shown:c,show:h,hide:m}),q(o,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":y,classes:g,result:p,onHide:m,onResize:C},{default:be(()=>[Qe(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var Ml=bl(rC,[["render",sC]]);Ae(ro(En({},Ml),{name:"VDropdown",vPopperTheme:"dropdown"})),Ae(ro(En({},Ml),{name:"VMenu",vPopperTheme:"menu"})),Ae(ro(En({},Ml),{name:"VTooltip",vPopperTheme:"tooltip"})),Ae({name:"VTooltipDirective",components:{Popper:Dh(),PopperContent:Fh},mixins:[Bh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>so(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>so(e.theme,"loadingContent")}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const iC={},oC={class:"flex items-center justify-center py-4"},aC=A("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[A("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),A("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1),lC=[aC];function cC(e,t){return x(),H("div",oC,lC)}var Sl=iw(iC,[["render",cC]]);const uC={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},fC=[A("path",{fill:"currentColor",d:"M5.5 2C3.56 2 2 3.56 2 5.5v13C2 20.44 3.56 22 5.5 22H16l6-6V5.5C22 3.56 20.44 2 18.5 2h-13m.25 2h12.5A1.75 1.75 0 0 1 20 5.75V15h-1.5c-1.94 0-3.5 1.56-3.5 3.5V20H5.75A1.75 1.75 0 0 1 4 18.25V5.75A1.75 1.75 0 0 1 5.75 4m8.69 2.77c-.16 0-.32.02-.47.06c-.94.26-1.47 1.22-1.23 2.17c.05.15.12.3.21.44l3.23-.88c0-.17-.02-.34-.06-.51c-.21-.75-.9-1.28-1.68-1.28M8.17 8.5c-.17 0-.32 0-.47.05c-.93.26-1.48 1.22-1.23 2.15c.03.16.12.3.21.46l3.23-.88c0-.17-.02-.34-.06-.5A1.72 1.72 0 0 0 8.17 8.5m8.55 2.76l-9.13 2.51a5.266 5.266 0 0 0 5.36 1.64a5.273 5.273 0 0 0 3.77-4.15Z"},null,-1)];function dC(e,t){return x(),H("svg",uC,fC)}var hC={name:"mdi-sticker-emoji",render:dC};const pC={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},mC=[A("path",{fill:"currentColor",d:"M8 7.71L18 12L8 16.29v-3.34l7.14-.95L8 11.05V7.71M12 2a10 10 0 0 1 10 10a10 10 0 0 1-10 10A10 10 0 0 1 2 12A10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8a8 8 0 0 0 8 8a8 8 0 0 0 8-8a8 8 0 0 0-8-8Z"},null,-1)];function gC(e,t){return x(),H("svg",pC,mC)}var yC={name:"mdi-send-circle-outline",render:gC},Al="emoji-mart";const vC=JSON;var zh=typeof window!="undefined"&&"localStorage"in window;let jl,Tl;function wC(e){e||(e={}),jl=e.getter,Tl=e.setter}function CC(e){Al=e}function _C(e){for(let t in e){let n=e[t];Uh(t,n)}}function Uh(e,t){if(Tl)Tl(e,t);else{if(!zh)return;try{window.localStorage[`${Al}.${e}`]=vC.stringify(t)}catch{}}}function bC(e){if(jl)return jl(e);if(!zh)return;try{var t=window.localStorage[`${Al}.${e}`]}catch{return}if(t)return JSON.parse(t)}var Or={update:_C,set:Uh,get:bC,setNamespace:CC,setHandlers:wC};const Nl={name:"a",unified:"b",non_qualified:"c",has_img_apple:"d",has_img_google:"e",has_img_twitter:"f",has_img_facebook:"h",keywords:"j",sheet:"k",emoticons:"l",text:"m",short_names:"n",added_in:"o"},Hh=e=>{const t=[];var n=(r,s)=>{!r||(Array.isArray(r)?r:[r]).forEach(i=>{(s?i.split(/[-|_|\s]+/):[i]).forEach(o=>{o=o.toLowerCase(),t.indexOf(o)==-1&&t.push(o)})})};return n(e.short_names,!0),n(e.name,!0),n(e.keywords,!1),n(e.emoticons,!1),t.join(",")};function Vh(e){var t=Object.getOwnPropertyNames(e);for(let n of t){let r=e[n];e[n]=r&&typeof r=="object"?Vh(r):r}return Object.freeze(e)}const EC=e=>{if(!e.compressed)return e;e.compressed=!1;for(let t in e.emojis){let n=e.emojis[t];for(let r in Nl)n[r]=n[Nl[r]],delete n[Nl[r]];n.short_names||(n.short_names=[]),n.short_names.unshift(t),n.sheet_x=n.sheet[0],n.sheet_y=n.sheet[1],delete n.sheet,n.text||(n.text=""),n.added_in||(n.added_in=6),n.added_in=n.added_in.toFixed(1),n.search=Hh(n)}return e=Vh(e),e},Ll=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","hankey"];let St,xl,Il={};function Yh(){xl=!0,St=Or.get("frequently")}function MC(e){xl||Yh();var{id:t}=e;St||(St=Il),St[t]||(St[t]=0),St[t]+=1,Or.set("last",t),Or.set("frequently",St)}function SC(e){if(xl||Yh(),!St){Il={};const o=[];let a=Math.min(e,Ll.length);for(let l=0;lSt[o]-St[a]).reverse().slice(0,t),i=Or.get("last");return i&&s.indexOf(i)==-1&&(s.pop(),s.push(i)),s}var Ol={add:MC,get:SC};const AC={activity:'',custom:'',flags:'',foods:'',nature:'',objects:'',smileys:'',people:' ',places:'',recent:'',symbols:''};var rr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const jC={props:{i18n:{type:Object,required:!0},color:{type:String},categories:{type:Array,required:!0},activeCategory:{type:Object,default(){return{}}}},created(){this.svgs=AC}},TC={role:"tablist",class:"emoji-mart-anchors"},NC=["aria-label","aria-selected","data-title","onClick"],LC=["innerHTML"];function xC(e,t,n,r,s,i){return x(),H("div",TC,[(x(!0),H(le,null,Tt(n.categories,o=>(x(),H("button",{role:"tab",type:"button","aria-label":o.name,"aria-selected":o.id==n.activeCategory.id,key:o.id,class:Ce({"emoji-mart-anchor":!0,"emoji-mart-anchor-selected":o.id==n.activeCategory.id}),style:We({color:o.id==n.activeCategory.id?n.color:""}),"data-title":n.i18n.categories[o.id],onClick:a=>e.$emit("click",o)},[A("div",{"aria-hidden":"true",innerHTML:e.svgs[o.id]},null,8,LC),A("span",{"aria-hidden":"true",class:"emoji-mart-anchor-bar",style:We({backgroundColor:n.color})},null,4)],14,NC))),128))])}var IC=rr(jC,[["render",xC]]),OC=String.fromCodePoint||function(){var t=16384,n=[],r,s,i=-1,o=arguments.length;if(!o)return"";for(var a="";++i1114111||Math.floor(l)!=l)throw RangeError("Invalid code point: "+l);l<=65535?n.push(l):(l-=65536,r=(l>>10)+55296,s=l%1024+56320,n.push(r,s)),(i+1===o||n.length>t)&&(a+=String.fromCharCode.apply(null,n),n.length=0)}return a};function DC(e){var t=e.split("-"),n=t.map(r=>`0x${r}`);return OC.apply(null,n)}function Wh(e){return e.reduce((t,n)=>(t.indexOf(n)===-1&&t.push(n),t),[])}function PC(e,t){const n=Wh(e),r=Wh(t);return n.filter(s=>r.indexOf(s)>=0)}function qh(e,t){var n={};for(let r in e){let s=e[r],i=s;t.hasOwnProperty(r)&&(i=t[r]),typeof i=="object"&&(i=qh(s,i)),n[r]=i}return n}function $C(){if(typeof document=="undefined")return 0;const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}const kC=61,RC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,Qh=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];class FC{constructor(t,{emojisToShowFilter:n,include:r,exclude:s,custom:i,recent:o,recentLength:a=20}={}){this._data=EC(t),this._emojisFilter=n||null,this._include=r||null,this._exclude=s||null,this._custom=i||[],this._recent=o||Ol.get(a),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:"recent",name:"Recent",emojis:[]},this._customCategory={id:"custom",name:"Custom",emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)}buildIndex(){let t=this._data.categories;if(this._include&&(t=t.filter(n=>this._include.includes(n.id)),t=t.sort((n,r)=>{const s=this._include.indexOf(n.id),i=this._include.indexOf(r.id);return si?1:0})),t.forEach(n=>{if(!this.isCategoryNeeded(n.id))return;let r={id:n.id,name:n.name,emojis:[]};n.emojis.forEach(s=>{let i=this.addEmoji(s);i&&r.emojis.push(i)}),r.emojis.length&&this._categories.push(r)}),this.isCategoryNeeded("custom")){if(this._custom.length>0)for(let n of this._custom)this.addCustomEmoji(n);this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded("recent")&&(this._recent.length&&this._recent.map(n=>{for(let r of this._customCategory.emojis)if(r.id===n){this._recentCategory.emojis.push(r);return}this.hasEmoji(n)&&this._recentCategory.emojis.push(this.emoji(n))}),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}findEmoji(t,n){let r=t.match(RC);if(r&&(t=r[1],r[2]&&(n=parseInt(r[2],10))),this._data.aliases.hasOwnProperty(t)&&(t=this._data.aliases[t]),this._emojis.hasOwnProperty(t)){let s=this._emojis[t];return n?s.getSkin(n):s}return this._nativeEmojis.hasOwnProperty(t)?this._nativeEmojis[t]:null}categories(){return this._categories}emoji(t){this._data.aliases.hasOwnProperty(t)&&(t=this._data.aliases[t]);let n=this._emojis[t];if(!n)throw new Error("Can not find emoji by id: "+t);return n}firstEmoji(){let t=this._emojis[Object.keys(this._emojis)[0]];if(!t)throw new Error("Can not get first emoji");return t}hasEmoji(t){return this._data.aliases.hasOwnProperty(t)&&(t=this._data.aliases[t]),!!this._emojis[t]}nativeEmoji(t){return this._nativeEmojis.hasOwnProperty(t)?this._nativeEmojis[t]:null}search(t,n){if(n||(n=75),!t.length)return null;if(t=="-"||t=="-1")return[this.emoji("-1")];let r=t.toLowerCase().split(/[\s|,|\-|_]+/),s=[];r.length>2&&(r=[r[0],r[1]]),s=r.map(o=>{let a=this._emojis,l=this._searchIndex,c=0;for(let u=0;u{var y=d[h.id],C=d[m.id];return y-C})}a=l.emojis}return l.results}).filter(o=>o);var i=null;return s.length>1?i=PC.apply(null,s):s.length?i=s[0]:i=[],i&&i.length>n&&(i=i.slice(0,n)),i}addCustomEmoji(t){let n=Object.assign({},t,{id:t.short_names[0],custom:!0});n.search||(n.search=Hh(n));let r=new lo(n);return this._emojis[r.id]=r,this._customCategory.emojis.push(r),r}addEmoji(t){let n=this._data.emojis[t];if(!this.isEmojiNeeded(n))return!1;let r=new lo(n);if(this._emojis[t]=r,r.native&&(this._nativeEmojis[r.native]=r),r._skins)for(let s in r._skins){let i=r._skins[s];i.native&&(this._nativeEmojis[i.native]=i)}return r.emoticons&&r.emoticons.forEach(s=>{this._emoticons[s]||(this._emoticons[s]=t)}),r}isCategoryNeeded(t){let n=this._include&&this._include.length?this._include.indexOf(t)>-1:!0,r=this._exclude&&this._exclude.length?this._exclude.indexOf(t)>-1:!1;return!(!n||r)}isEmojiNeeded(t){return this._emojisFilter?this._emojisFilter(t):!0}}class lo{constructor(t){if(this._data=Object.assign({},t),this._skins=null,this._data.skin_variations){this._skins=[];for(var n in Qh){let r=Qh[n],s=this._data.skin_variations[r],i=Object.assign({},t);for(let o in s)i[o]=s[o];delete i.skin_variations,i.skin_tone=parseInt(n)+1,this._skins.push(new lo(i))}}this._sanitized=BC(this._data);for(let r in this._sanitized)this[r]=this._sanitized[r];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)}getSkin(t){return t&&t!="native"&&this._skins?this._skins[t-1]:this}getPosition(){let t=kC-1,n=+(100/t*this._data.sheet_x).toFixed(2),r=+(100/t*this._data.sheet_y).toFixed(2);return`${n}% ${r}%`}ariaLabel(){return[this.native].concat(this.short_names).filter(Boolean).join(", ")}}class Kh{constructor(t,n,r,s,i,o,a){this._emoji=t,this._native=s,this._skin=n,this._set=r,this._fallback=i,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(a),this.content=this._content(),this.title=o===!0?t.short_name:null,this.ariaLabel=t.ariaLabel(),Object.freeze(this)}getEmoji(){return this._emoji.getSkin(this._skin)}_canRender(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}_cssClass(){return["emoji-set-"+this._set,"emoji-type-"+this._emojiType()]}_cssStyle(t){let n={};return this._isCustom()?n={backgroundImage:"url("+this.getEmoji()._data.imageUrl+")",backgroundSize:"100%",width:t+"px",height:t+"px"}:this._hasEmoji()&&!this._isNative()&&(n={backgroundPosition:this.getEmoji().getPosition()}),t&&(this._isNative()?n=Object.assign(n,{fontSize:Math.round(t*.95*10)/10+"px"}):n=Object.assign(n,{width:t+"px",height:t+"px"})),n}_content(){return this._isCustom()?"":this._isNative()?this.getEmoji().native:this._hasEmoji()?"":this._fallback?this._fallback(this.getEmoji()):null}_isNative(){return this._native}_isCustom(){return this.getEmoji().custom}_hasEmoji(){if(!this.getEmoji()._data)return!1;const t=this.getEmoji()._data["has_img_"+this._set];return t===void 0?!0:t}_emojiType(){return this._isCustom()?"custom":this._isNative()?"native":this._hasEmoji()?"image":"fallback"}}function BC(e){var{name:t,short_names:n,skin_tone:r,skin_variations:s,emoticons:i,unified:o,custom:a,imageUrl:l}=e,c=e.id||n[0],u=`:${c}:`;return a?{id:c,name:t,colons:u,emoticons:i,custom:a,imageUrl:l}:(r&&(u+=`:skin-tone-${r}:`),{id:c,name:t,colons:u,emoticons:i,unified:o.toLowerCase(),skin:r||(s?1:null),native:DC(o)})}const zC={native:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},fallback:{type:Function},skin:{type:Number,default:1},set:{type:String,default:"apple"},emoji:{type:[String,Object],required:!0},size:{type:Number,default:null},tag:{type:String,default:"span"}},UC={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:"Emoji Mart\u2122"},emoji:{type:String,default:"department_store"},color:{type:String,default:"#ae65c5"},set:{type:String,default:"apple"},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default(){return{}}},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default(){return{}}}},HC={props:{...zC,data:{type:Object,required:!0}},emits:["click"],computed:{view(){return new Kh(this.emojiObject,this.skin,this.set,this.native,this.fallback,this.tooltip,this.size)},sanitizedData(){return this.emojiObject._sanitized},title(){return this.tooltip?this.emojiObject.short_name:null},emojiObject(){return typeof this.emoji=="string"?this.data.findEmoji(this.emoji):this.emoji}},created(){},methods:{onClick(){this.$emit("click",this.emojiObject)},onMouseEnter(){this.$emit("mouseenter",this.emojiObject)},onMouseLeave(){this.$emit("mouseleave",this.emojiObject)}}};function VC(e,t,n,r,s,i){return i.view.canRender?(x(),ue(_u(e.tag),{key:0,title:i.view.title,"aria-label":i.view.ariaLabel,"data-title":i.title,class:"emoji-mart-emoji",onMouseenter:i.onMouseEnter,onMouseleave:i.onMouseLeave,onClick:i.onClick},{default:be(()=>[A("span",{class:Ce(i.view.cssClass),style:We(i.view.cssStyle)},ie(i.view.content),7)]),_:1},40,["title","aria-label","data-title","onMouseenter","onMouseleave","onClick"])):he("",!0)}var Zh=rr(HC,[["render",VC]]);const YC={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},emojis:{type:Array},emojiProps:{type:Object,required:!0}},methods:{activeClass:function(e){return!this.emojiProps.selectedEmoji||!this.emojiProps.selectedEmojiCategory?"":this.emojiProps.selectedEmoji.id==e.id&&this.emojiProps.selectedEmojiCategory.id==this.id?"emoji-mart-emoji-selected":""}},computed:{isVisible(){return!!this.emojis},isSearch(){return this.name=="Search"},hasResults(){return this.emojis.length>0},emojiObjects(){return this.emojis.map(e=>{let t=e,n=new Kh(e,this.emojiProps.skin,this.emojiProps.set,this.emojiProps.native,this.emojiProps.fallback,this.emojiProps.emojiTooltip,this.emojiProps.emojiSize);return{emojiObject:t,emojiView:n}})}},components:{Emoji:Zh}},WC=["aria-label"],qC={class:"emoji-mart-category-label"},QC={class:"emoji-mart-category-label"},KC=["aria-label","data-title","title","onMouseenter","onMouseleave","onClick"],ZC={key:0},GC={class:"emoji-mart-no-results-label"};function JC(e,t,n,r,s,i){const o=jt("emoji");return i.isVisible&&(i.isSearch||i.hasResults)?(x(),H("section",{key:0,class:Ce({"emoji-mart-category":!0,"emoji-mart-no-results":!i.hasResults}),"aria-label":n.i18n.categories[n.id]},[A("div",qC,[A("h3",QC,ie(n.i18n.categories[n.id]),1)]),(x(!0),H(le,null,Tt(i.emojiObjects,({emojiObject:a,emojiView:l})=>(x(),H(le,null,[l.canRender?(x(),H("button",{"aria-label":l.ariaLabel,role:"option","aria-selected":"false","aria-posinset":"1","aria-setsize":"1812",type:"button","data-title":a.short_name,key:a.id,title:l.title,class:Ce(["emoji-mart-emoji",i.activeClass(a)]),onMouseenter:c=>n.emojiProps.onEnter(l.getEmoji()),onMouseleave:c=>n.emojiProps.onLeave(l.getEmoji()),onClick:c=>n.emojiProps.onClick(l.getEmoji())},[A("span",{class:Ce(l.cssClass),style:We(l.cssStyle)},ie(l.content),7)],42,KC)):he("",!0)],64))),256)),i.hasResults?he("",!0):(x(),H("div",ZC,[q(o,{data:n.data,emoji:"sleuth_or_spy",native:n.emojiProps.native,skin:n.emojiProps.skin,set:n.emojiProps.set},null,8,["data","native","skin","set"]),A("div",GC,ie(n.i18n.notfound),1)]))],10,WC)):he("",!0)}var XC=rr(YC,[["render",JC]]);const e_={props:{skin:{type:Number,required:!0}},data(){return{opened:!1}},methods:{onClick(e){this.opened&&e!=this.skin&&this.$emit("change",e),this.opened=!this.opened}}},t_=["onClick"];function n_(e,t,n,r,s,i){return x(),H("div",{class:Ce({"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":s.opened})},[(x(),H(le,null,Tt(6,o=>A("span",{key:o,class:Ce({"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":n.skin==o})},[A("span",{class:Ce("emoji-mart-skin emoji-mart-skin-tone-"+o),onClick:a=>i.onClick(o)},null,10,t_)],2)),64))],2)}var r_=rr(e_,[["render",n_]]);const s_={props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData(){return this.emoji?this.emoji:{}},emojiShortNames(){return this.emojiData.short_names},emojiEmoticons(){return this.emojiData.emoticons}},components:{Emoji:Zh,Skins:r_}},i_={class:"emoji-mart-preview"},o_={class:"emoji-mart-preview-emoji"},a_={class:"emoji-mart-preview-data"},l_={class:"emoji-mart-preview-name"},c_={class:"emoji-mart-preview-shortnames"},u_={class:"emoji-mart-preview-emoticons"},f_={class:"emoji-mart-preview-emoji"},d_={class:"emoji-mart-preview-data"},h_={class:"emoji-mart-title-label"},p_={key:0,class:"emoji-mart-preview-skins"};function m_(e,t,n,r,s,i){const o=jt("emoji"),a=jt("skins");return x(),H("div",i_,[n.emoji?(x(),H(le,{key:0},[A("div",o_,[q(o,{data:n.data,emoji:n.emoji,native:n.emojiProps.native,skin:n.emojiProps.skin,set:n.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),A("div",a_,[A("div",l_,ie(n.emoji.name),1),A("div",c_,[(x(!0),H(le,null,Tt(i.emojiShortNames,l=>(x(),H("span",{key:l,class:"emoji-mart-preview-shortname"},":"+ie(l)+":",1))),128))]),A("div",u_,[(x(!0),H(le,null,Tt(i.emojiEmoticons,l=>(x(),H("span",{key:l,class:"emoji-mart-preview-emoticon"},ie(l),1))),128))])])],64)):(x(),H(le,{key:1},[A("div",f_,[q(o,{data:n.data,emoji:n.idleEmoji,native:n.emojiProps.native,skin:n.emojiProps.skin,set:n.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),A("div",d_,[A("span",h_,ie(n.title),1)]),n.showSkinTones?(x(),H("div",p_,[q(a,{skin:n.skinProps.skin,onChange:t[0]||(t[0]=l=>n.onSkinChange(l))},null,8,["skin"])])):he("",!0)],64))])}var g_=rr(s_,[["render",m_]]);const y_={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},data(){return{value:""}},computed:{emojiIndex(){return this.data}},watch:{value(){this.$emit("search",this.value)}},methods:{clear(){this.value=""}},mounted(){let e=this.$el.querySelector("input");this.autoFocus&&e.focus()}},v_={class:"emoji-mart-search"},w_=["placeholder"],C_=A("span",{class:"hidden",id:"emoji-picker-search-description"},"Use the left, right, up and down arrow keys to navigate the emoji search results.",-1);function __(e,t,n,r,s,i){return x(),H("div",v_,[kt(A("input",{type:"text",placeholder:n.i18n.search,role:"textbox","aria-autocomplete":"list","aria-owns":"emoji-mart-list","aria-label":"Search for an emoji","aria-describedby":"emoji-mart-search-description",onKeydown:[t[0]||(t[0]=Qn(o=>e.$emit("arrowLeft",o),["left"])),t[1]||(t[1]=Qn(()=>e.$emit("arrowRight"),["right"])),t[2]||(t[2]=Qn(()=>e.$emit("arrowDown"),["down"])),t[3]||(t[3]=Qn(o=>e.$emit("arrowUp",o),["up"])),t[4]||(t[4]=Qn(()=>e.$emit("enter"),["enter"]))],"onUpdate:modelValue":t[5]||(t[5]=o=>s.value=o)},null,40,w_),[[Kt,s.value]]),C_])}var b_=rr(y_,[["render",__]]),E_=typeof window!="undefined";E_&&function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;nn.emojis.length>0),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}onScroll(){const n=this._vm.$refs.scroll.scrollTop;let r=this.filteredCategories[0];for(let s=0,i=this.filteredCategories.length;sn)break;r=o}this.activeCategory=r}get allCategories(){return this._categories}get filteredCategories(){return this.searchEmojis?[{id:"search",name:"Search",emojis:this.searchEmojis}]:this._categories.filter(t=>t.emojis.length>0)}get previewEmojiCategory(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}onAnchorClick(t){if(this.searchEmojis)return;let n=this.filteredCategories.indexOf(t),r=this._vm.getCategoryComponent(n),s=()=>{if(r){let i=r.$el.offsetTop;t.first&&(i=0),this._vm.$refs.scroll.scrollTop=i}};this._vm.infiniteScroll?s():this.activeCategory=this.filteredCategories[n]}onSearch(t){let n=this._data.search(t,this.maxSearchResults);this.searchEmojis=n,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}onEmojiEnter(t){this.previewEmoji=t,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}onEmojiLeave(t){this.previewEmoji=null}onArrowLeft(){this.previewEmojiIdx>0?this.previewEmojiIdx-=1:(this.previewEmojiCategoryIdx-=1,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}onArrowRight(){this.previewEmojiIdx=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}onArrowDown(){if(this.previewEmojiIdx==-1)return this.onArrowRight();const t=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length;let n=this._perLine;this.previewEmojiIdx+n>t&&(n=t%this._perLine);for(let r=0;r0?t=this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:t=0);for(let n=0;n{const t=this._vm.$refs.scroll,n=t.querySelector(".emoji-mart-emoji-selected"),r=t.offsetTop-t.offsetHeight;n&&n.offsetTop+n.offsetHeight>r+t.scrollTop&&(t.scrollTop+=n.offsetHeight),n&&n.offsetTop[e.showSearch?(x(),ue(a,{key:0,ref:"search",data:n.data,i18n:i.mergedI18n,"auto-focus":e.autoFocus,"on-search":i.onSearch,onSearch:i.onSearch,onArrowLeft:i.onArrowLeft,onArrowRight:i.onArrowRight,onArrowDown:i.onArrowDown,onArrowUp:i.onArrowUp,onEnter:i.onEnter},null,8,["data","i18n","auto-focus","on-search","onSearch","onArrowLeft","onArrowRight","onArrowDown","onArrowUp","onEnter"])):he("",!0)]),A("div",{role:"tabpanel",class:"emoji-mart-scroll",ref:"scroll",onScroll:t[0]||(t[0]=(...u)=>i.onScroll&&i.onScroll(...u))},[A("div",T_,[(x(!0),H(le,null,Tt(s.view.filteredCategories,(u,f)=>kt((x(),ue(l,{ref_for:!0,ref:"categories_"+f,key:u.id,data:n.data,i18n:i.mergedI18n,id:u.id,name:u.name,emojis:u.emojis,"emoji-props":i.emojiProps},null,8,["data","i18n","id","name","emojis","emoji-props"])),[[Ei,e.infiniteScroll||u==s.view.activeCategory]])),128))],512)],544),Qe(e.$slots,"previewTemplate",{data:n.data,title:e.title,emoji:s.view.previewEmoji,idleEmoji:i.idleEmoji,showSkinTones:e.showSkinTones,emojiProps:i.emojiProps,skinProps:i.skinProps,onSkinChange:i.onSkinChange},()=>[e.showPreview?(x(),H("div",N_,[q(c,{data:n.data,title:e.title,emoji:s.view.previewEmoji,"idle-emoji":i.idleEmoji,"show-skin-tones":e.showSkinTones,"emoji-props":i.emojiProps,"skin-props":i.skinProps,"on-skin-change":i.onSkinChange},null,8,["data","title","emoji","idle-emoji","show-skin-tones","emoji-props","skin-props","on-skin-change"])])):he("",!0)])],4)}var x_=rr(A_,[["render",L_]]),Dl={exports:{}},Gh=function(t,n){return function(){for(var s=new Array(arguments.length),i=0;i0;)i=r[s],o[i]||(t[i]=e[i],o[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function Z_(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function G_(e){if(!e)return null;var t=e.length;if(co(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var J_=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Re={isArray:kl,isArrayBuffer:Jh,isBuffer:O_,isFormData:U_,isArrayBufferView:D_,isString:P_,isNumber:$_,isObject:Xh,isPlainObject:uo,isUndefined:co,isDate:k_,isFile:R_,isBlob:F_,isFunction:Rl,isStream:z_,isURLSearchParams:H_,isStandardBrowserEnv:Y_,forEach:Fl,merge:Bl,extend:W_,trim:V_,stripBOM:q_,inherits:Q_,toFlatObject:K_,kindOf:$l,kindOfTest:sr,endsWith:Z_,toArray:G_,isTypedArray:J_,isFileList:B_},Dr=Re;function ep(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var tp=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Dr.isURLSearchParams(n))s=n.toString();else{var i=[];Dr.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Dr.isArray(l)?c=c+"[]":l=[l],Dr.forEach(l,function(f){Dr.isDate(f)?f=f.toISOString():Dr.isObject(f)&&(f=JSON.stringify(f)),i.push(ep(c)+"="+ep(f))}))}),s=i.join("&")}if(s){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},X_=Re;function fo(){this.handlers=[]}fo.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1},fo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},fo.prototype.forEach=function(t){X_.forEach(this.handlers,function(r){r!==null&&t(r)})};var eb=fo,tb=Re,nb=function(t,n){tb.forEach(t,function(s,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[i])})},np=Re;function Pr(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}np.inherits(Pr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var rp=Pr.prototype,sp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){sp[e]={value:e}}),Object.defineProperties(Pr,sp),Object.defineProperty(rp,"isAxiosError",{value:!0}),Pr.from=function(e,t,n,r,s,i){var o=Object.create(rp);return np.toFlatObject(e,o,function(l){return l!==Error.prototype}),Pr.call(o,e.message,t,n,r,s),o.name=e.name,i&&Object.assign(o,i),o};var $r=Pr,ip={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},It=Re;function rb(e,t){t=t||new FormData;var n=[];function r(i){return i===null?"":It.isDate(i)?i.toISOString():It.isArrayBuffer(i)||It.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,o){if(It.isPlainObject(i)||It.isArray(i)){if(n.indexOf(i)!==-1)throw Error("Circular reference detected in "+o);n.push(i),It.forEach(i,function(l,c){if(!It.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(It.endsWith(c,"{}"))l=JSON.stringify(l);else if(It.endsWith(c,"[]")&&(f=It.toArray(l))){f.forEach(function(d){!It.isUndefined(d)&&t.append(u,r(d))});return}}s(l,u)}}),n.pop()}else t.append(o,r(i))}return s(e),t}var op=rb,zl=$r,sb=function(t,n,r){var s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new zl("Request failed with status code "+r.status,[zl.ERR_BAD_REQUEST,zl.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},ho=Re,ib=ho.isStandardBrowserEnv()?function(){return{write:function(n,r,s,i,o,a){var l=[];l.push(n+"="+encodeURIComponent(r)),ho.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),ho.isString(i)&&l.push("path="+i),ho.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ob=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},ab=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},lb=ob,cb=ab,ap=function(t,n){return t&&!lb(n)?cb(t,n):n},Ul=Re,ub=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],fb=function(t){var n={},r,s,i;return t&&Ul.forEach(t.split(` +`),function(a){if(i=a.indexOf(":"),r=Ul.trim(a.substr(0,i)).toLowerCase(),s=Ul.trim(a.substr(i+1)),r){if(n[r]&&ub.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},lp=Re,db=lp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(i){var o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){var a=lp.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Hl=$r,hb=Re;function cp(e){Hl.call(this,e==null?"canceled":e,Hl.ERR_CANCELED),this.name="CanceledError"}hb.inherits(cp,Hl,{__CANCEL__:!0});var po=cp,pb=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Ls=Re,mb=sb,gb=ib,yb=tp,vb=ap,wb=fb,Cb=db,_b=ip,tn=$r,bb=po,Eb=pb,up=function(t){return new Promise(function(r,s){var i=t.data,o=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Ls.isFormData(i)&&Ls.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(f+":"+d)}var h=vb(t.baseURL,t.url);u.open(t.method.toUpperCase(),yb(h,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function m(){if(!!u){var g="getAllResponseHeaders"in u?wb(u.getAllResponseHeaders()):null,p=!a||a==="text"||a==="json"?u.responseText:u.response,w={data:p,status:u.status,statusText:u.statusText,headers:g,config:t,request:u};mb(function(M){r(M),c()},function(M){s(M),c()},w),u=null}}if("onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){!u||(s(new tn("Request aborted",tn.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new tn("Network Error",tn.ERR_NETWORK,t,u,u)),u=null},u.ontimeout=function(){var p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||_b;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new tn(p,w.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,t,u)),u=null},Ls.isStandardBrowserEnv()){var y=(t.withCredentials||Cb(h))&&t.xsrfCookieName?gb.read(t.xsrfCookieName):void 0;y&&(o[t.xsrfHeaderName]=y)}"setRequestHeader"in u&&Ls.forEach(o,function(p,w){typeof i=="undefined"&&w.toLowerCase()==="content-type"?delete o[w]:u.setRequestHeader(w,p)}),Ls.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),a&&a!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(g){!u||(s(!g||g&&g.type?new bb:g),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null);var C=Eb(h);if(C&&["http","https","file"].indexOf(C)===-1){s(new tn("Unsupported protocol "+C+":",tn.ERR_BAD_REQUEST,t));return}u.send(i)})},Mb=null,Oe=Re,fp=nb,dp=$r,Sb=ip,Ab=op,jb={"Content-Type":"application/x-www-form-urlencoded"};function hp(e,t){!Oe.isUndefined(e)&&Oe.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Tb(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=up),e}function Nb(e,t,n){if(Oe.isString(e))try{return(t||JSON.parse)(e),Oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var mo={transitional:Sb,adapter:Tb(),transformRequest:[function(t,n){if(fp(n,"Accept"),fp(n,"Content-Type"),Oe.isFormData(t)||Oe.isArrayBuffer(t)||Oe.isBuffer(t)||Oe.isStream(t)||Oe.isFile(t)||Oe.isBlob(t))return t;if(Oe.isArrayBufferView(t))return t.buffer;if(Oe.isURLSearchParams(t))return hp(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Oe.isObject(t),s=n&&n["Content-Type"],i;if((i=Oe.isFileList(t))||r&&s==="multipart/form-data"){var o=this.env&&this.env.FormData;return Ab(i?{"files[]":t}:t,o&&new o)}else if(r||s==="application/json")return hp(n,"application/json"),Nb(t);return t}],transformResponse:[function(t){var n=this.transitional||mo.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||s&&Oe.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?dp.from(o,dp.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mb},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Oe.forEach(["delete","get","head"],function(t){mo.headers[t]={}}),Oe.forEach(["post","put","patch"],function(t){mo.headers[t]=Oe.merge(jb)});var Vl=mo,Lb=Re,xb=Vl,Ib=function(t,n,r){var s=this||xb;return Lb.forEach(r,function(o){t=o.call(s,t,n)}),t},pp=function(t){return!!(t&&t.__CANCEL__)},mp=Re,Yl=Ib,Ob=pp,Db=Vl,Pb=po;function Wl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pb}var $b=function(t){Wl(t),t.headers=t.headers||{},t.data=Yl.call(t,t.data,t.headers,t.transformRequest),t.headers=mp.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),mp.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||Db.adapter;return n(t).then(function(s){return Wl(t),s.data=Yl.call(t,s.data,s.headers,t.transformResponse),s},function(s){return Ob(s)||(Wl(t),s&&s.response&&(s.response.data=Yl.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},mt=Re,gp=function(t,n){n=n||{};var r={};function s(u,f){return mt.isPlainObject(u)&&mt.isPlainObject(f)?mt.merge(u,f):mt.isPlainObject(f)?mt.merge({},f):mt.isArray(f)?f.slice():f}function i(u){if(mt.isUndefined(n[u])){if(!mt.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function o(u){if(!mt.isUndefined(n[u]))return s(void 0,n[u])}function a(u){if(mt.isUndefined(n[u])){if(!mt.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function l(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(void 0,t[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return mt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=c[f]||i,h=d(f);mt.isUndefined(h)&&d!==l||(r[f]=h)}),r},yp={version:"0.27.2"},kb=yp.version,An=$r,ql={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){ql[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var vp={};ql.transitional=function(t,n,r){function s(i,o){return"[Axios v"+kb+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return function(i,o,a){if(t===!1)throw new An(s(o," has been removed"+(n?" in "+n:"")),An.ERR_DEPRECATED);return n&&!vp[o]&&(vp[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function Rb(e,t,n){if(typeof e!="object")throw new An("options must be an object",An.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),s=r.length;s-- >0;){var i=r[s],o=t[i];if(o){var a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new An("option "+i+" must be "+l,An.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new An("Unknown option "+i,An.ERR_BAD_OPTION)}}var Fb={assertOptions:Rb,validators:ql},wp=Re,Bb=tp,Cp=eb,_p=$b,go=gp,zb=ap,bp=Fb,kr=bp.validators;function Rr(e){this.defaults=e,this.interceptors={request:new Cp,response:new Cp}}Rr.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=go(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&bp.assertOptions(r,{silentJSONParsing:kr.transitional(kr.boolean),forcedJSONParsing:kr.transitional(kr.boolean),clarifyTimeoutError:kr.transitional(kr.boolean)},!1);var s=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(i=i&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!i){var l=[_p,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var u=s.shift(),f=s.shift();try{c=u(c)}catch(d){f(d);break}}try{a=_p(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a},Rr.prototype.getUri=function(t){t=go(this.defaults,t);var n=zb(t.baseURL,t.url);return Bb(n,t.params,t.paramsSerializer)},wp.forEach(["delete","get","head","options"],function(t){Rr.prototype[t]=function(n,r){return this.request(go(r||{},{method:t,url:n,data:(r||{}).data}))}}),wp.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,a){return this.request(go(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Rr.prototype[t]=n(),Rr.prototype[t+"Form"]=n(!0)});var Ub=Rr,Hb=po;function Fr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,i=n._listeners.length;for(s=0;sQl(e,r,n)):Object.keys(t).forEach(r=>Ql(e,t[r],`${n}${n!==""?".":""}${r}`)):e.has(n)?e.append(n,t):e.set(n,t))}const Ue=function(e,...t){const n=new URLSearchParams(e.search);Ql(n,t),e.search=n.toString()},nn=function(e,t,n){const r=typeof e!="string";return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(e!==void 0?e:{}):e||""},He=function(e){return e.pathname+e.search+e.hash},Ve=function(e,t,n,r){return(s=t,i=n)=>{const o={...e.options,url:((r==null?void 0:r.basePath)||i)+e.url};return s.request(o)}},Jb=function(e){return{changePassword:async(t,n,r={})=>{xe("changePassword","name",t),xe("changePassword","changePasswordRequest",n);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(t))),i=new URL(s,Fe);let o;e&&(o=e.baseOptions);const a={method:"PUT",...o,...r},l={},c={};Be(a,e),await ze(l,e),l["Content-Type"]="application/json",Ue(i,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...r.headers},a.data=nn(n,a,e),{url:He(i),options:a}},createUser:async(t,n={})=>{xe("createUser","createUserRequest",t);const r="/apis/api.console.halo.run/v1alpha1/users",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"POST",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}},getCurrentUserDetail:async(t={})=>{const n="/apis/api.console.halo.run/v1alpha1/users/-",r=new URL(n,Fe);let s;e&&(s=e.baseOptions);const i={method:"GET",...s,...t},o={},a={};Be(i,e),await ze(o,e),Ue(r,a);let l=s&&s.headers?s.headers:{};return i.headers={...o,...l,...t.headers},{url:He(r),options:i}},getPermissions:async(t,n={})=>{xe("getPermissions","name",t);const r="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(t))),s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"GET",...i,...n},a={},l={};Be(o,e),await ze(a,e),Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},{url:He(s),options:o}},getUserDetail:async(t,n={})=>{xe("getUserDetail","name",t);const r="/apis/api.console.halo.run/v1alpha1/users/{name}".replace("{name}",encodeURIComponent(String(t))),s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"GET",...i,...n},a={},l={};Be(o,e),await ze(a,e),Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},{url:He(s),options:o}},grantPermission:async(t,n,r={})=>{xe("grantPermission","name",t),xe("grantPermission","grantRequest",n);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(t))),i=new URL(s,Fe);let o;e&&(o=e.baseOptions);const a={method:"POST",...o,...r},l={},c={};Be(a,e),await ze(l,e),l["Content-Type"]="application/json",Ue(i,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...r.headers},a.data=nn(n,a,e),{url:He(i),options:a}},listUsers:async(t,n,r,s,i,o,a,l={})=>{const c="/apis/api.console.halo.run/v1alpha1/users",u=new URL(c,Fe);let f;e&&(f=e.baseOptions);const d={method:"GET",...f,...l},h={},m={};Be(d,e),await ze(h,e),t&&(m.fieldSelector=t),n!==void 0&&(m.keyword=n),r&&(m.labelSelector=r),s!==void 0&&(m.page=s),i!==void 0&&(m.role=i),o!==void 0&&(m.size=o),a&&(m.sort=Array.from(a)),Ue(u,m);let y=f&&f.headers?f.headers:{};return d.headers={...h,...y,...l.headers},{url:He(u),options:d}},updateCurrentUser:async(t,n={})=>{xe("updateCurrentUser","user",t);const r="/apis/api.console.halo.run/v1alpha1/users/-",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"PUT",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}}}},jn=function(e){const t=Jb(e);return{async changePassword(n,r,s){const i=await t.changePassword(n,r,s);return Ve(i,Se,De,e)},async createUser(n,r){const s=await t.createUser(n,r);return Ve(s,Se,De,e)},async getCurrentUserDetail(n){const r=await t.getCurrentUserDetail(n);return Ve(r,Se,De,e)},async getPermissions(n,r){const s=await t.getPermissions(n,r);return Ve(s,Se,De,e)},async getUserDetail(n,r){const s=await t.getUserDetail(n,r);return Ve(s,Se,De,e)},async grantPermission(n,r,s){const i=await t.grantPermission(n,r,s);return Ve(i,Se,De,e)},async listUsers(n,r,s,i,o,a,l,c){const u=await t.listUsers(n,r,s,i,o,a,l,c);return Ve(u,Se,De,e)},async updateCurrentUser(n,r){const s=await t.updateCurrentUser(n,r);return Ve(s,Se,De,e)}}};class Xb extends vo{changePassword(t,n){return jn(this.configuration).changePassword(t.name,t.changePasswordRequest,n).then(r=>r(this.axios,this.basePath))}createUser(t,n){return jn(this.configuration).createUser(t.createUserRequest,n).then(r=>r(this.axios,this.basePath))}getCurrentUserDetail(t){return jn(this.configuration).getCurrentUserDetail(t).then(n=>n(this.axios,this.basePath))}getPermissions(t,n){return jn(this.configuration).getPermissions(t.name,n).then(r=>r(this.axios,this.basePath))}getUserDetail(t,n){return jn(this.configuration).getUserDetail(t.name,n).then(r=>r(this.axios,this.basePath))}grantPermission(t,n){return jn(this.configuration).grantPermission(t.name,t.grantRequest,n).then(r=>r(this.axios,this.basePath))}listUsers(t={},n){return jn(this.configuration).listUsers(t.fieldSelector,t.keyword,t.labelSelector,t.page,t.role,t.size,t.sort,n).then(r=>r(this.axios,this.basePath))}updateCurrentUser(t,n){return jn(this.configuration).updateCurrentUser(t.user,n).then(r=>r(this.axios,this.basePath))}}const eE=function(e){return{createComment1:async(t,n={})=>{xe("createComment1","commentRequest",t);const r="/apis/api.halo.run/v1alpha1/comments",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"POST",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}},createReply1:async(t,n,r={})=>{xe("createReply1","name",t),xe("createReply1","replyRequest",n);const s="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(t))),i=new URL(s,Fe);let o;e&&(o=e.baseOptions);const a={method:"POST",...o,...r},l={},c={};Be(a,e),await ze(l,e),l["Content-Type"]="application/json",Ue(i,c);let u=o&&o.headers?o.headers:{};return a.headers={...l,...u,...r.headers},a.data=nn(n,a,e),{url:He(i),options:a}},getComment:async(t,n={})=>{xe("getComment","name",t);const r="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(t))),s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"GET",...i,...n},a={},l={};Be(o,e),await ze(a,e),Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},{url:He(s),options:o}},listCommentReplies:async(t,n,r,s={})=>{xe("listCommentReplies","name",t);const i="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(t))),o=new URL(i,Fe);let a;e&&(a=e.baseOptions);const l={method:"GET",...a,...s},c={},u={};Be(l,e),await ze(c,e),n!==void 0&&(u.page=n),r!==void 0&&(u.size=r),Ue(o,u);let f=a&&a.headers?a.headers:{};return l.headers={...c,...f,...s.headers},{url:He(o),options:l}},listComments1:async(t,n,r,s,i,o,a,l={})=>{xe("listComments1","kind",t),xe("listComments1","name",n),xe("listComments1","version",r);const c="/apis/api.halo.run/v1alpha1/comments",u=new URL(c,Fe);let f;e&&(f=e.baseOptions);const d={method:"GET",...f,...l},h={},m={};Be(d,e),await ze(h,e),s!==void 0&&(m.group=s),t!==void 0&&(m.kind=t),n!==void 0&&(m.name=n),i!==void 0&&(m.page=i),o!==void 0&&(m.size=o),a&&(m.sort=Array.from(a)),r!==void 0&&(m.version=r),Ue(u,m);let y=f&&f.headers?f.headers:{};return d.headers={...h,...y,...l.headers},{url:He(u),options:d}}}},xs=function(e){const t=eE(e);return{async createComment1(n,r){const s=await t.createComment1(n,r);return Ve(s,Se,De,e)},async createReply1(n,r,s){const i=await t.createReply1(n,r,s);return Ve(i,Se,De,e)},async getComment(n,r){const s=await t.getComment(n,r);return Ve(s,Se,De,e)},async listCommentReplies(n,r,s,i){const o=await t.listCommentReplies(n,r,s,i);return Ve(o,Se,De,e)},async listComments1(n,r,s,i,o,a,l,c){const u=await t.listComments1(n,r,s,i,o,a,l,c);return Ve(u,Se,De,e)}}};class tE extends vo{createComment1(t,n){return xs(this.configuration).createComment1(t.commentRequest,n).then(r=>r(this.axios,this.basePath))}createReply1(t,n){return xs(this.configuration).createReply1(t.name,t.replyRequest,n).then(r=>r(this.axios,this.basePath))}getComment(t,n){return xs(this.configuration).getComment(t.name,n).then(r=>r(this.axios,this.basePath))}listCommentReplies(t,n){return xs(this.configuration).listCommentReplies(t.name,t.page,t.size,n).then(r=>r(this.axios,this.basePath))}listComments1(t,n){return xs(this.configuration).listComments1(t.kind,t.name,t.version,t.group,t.page,t.size,t.sort,n).then(r=>r(this.axios,this.basePath))}}const nE=function(e){return{count:async(t,n={})=>{xe("count","counterRequest",t);const r="/apis/api.halo.run/v1alpha1/trackers/counter",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"POST",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}},downvote:async(t,n={})=>{xe("downvote","voteRequest",t);const r="/apis/api.halo.run/v1alpha1/trackers/downvote",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"POST",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}},upvote:async(t,n={})=>{xe("upvote","voteRequest",t);const r="/apis/api.halo.run/v1alpha1/trackers/upvote",s=new URL(r,Fe);let i;e&&(i=e.baseOptions);const o={method:"POST",...i,...n},a={},l={};Be(o,e),await ze(a,e),a["Content-Type"]="application/json",Ue(s,l);let c=i&&i.headers?i.headers:{};return o.headers={...a,...c,...n.headers},o.data=nn(t,o,e),{url:He(s),options:o}}}},Kl=function(e){const t=nE(e);return{async count(n,r){const s=await t.count(n,r);return Ve(s,Se,De,e)},async downvote(n,r){const s=await t.downvote(n,r);return Ve(s,Se,De,e)},async upvote(n,r){const s=await t.upvote(n,r);return Ve(s,Se,De,e)}}};class rE extends vo{count(t,n){return Kl(this.configuration).count(t.counterRequest,n).then(r=>r(this.axios,this.basePath))}downvote(t,n){return Kl(this.configuration).downvote(t.voteRequest,n).then(r=>r(this.axios,this.basePath))}upvote(t,n){return Kl(this.configuration).upvote(t.voteRequest,n).then(r=>r(this.axios,this.basePath))}}const sE=function(e){return{getPublicKey:async(t={})=>{const n="/login/public-key",r=new URL(n,Fe);let s;e&&(s=e.baseOptions);const i={method:"GET",...s,...t},o={},a={};Be(i,e),await ze(o,e),Ue(r,a);let l=s&&s.headers?s.headers:{};return i.headers={...o,...l,...t.headers},{url:He(r),options:i}}}},iE=function(e){const t=sE(e);return{async getPublicKey(n){const r=await t.getPublicKey(n);return Ve(r,Se,De,e)}}};class oE extends vo{getPublicKey(t){return iE(this.configuration).getPublicKey(t).then(n=>n(this.axios,this.basePath))}}const Is="",wo=Se.create({baseURL:Is,withCredentials:!0});wo.interceptors.response.use(e=>e,async e=>{if(/Network Error/.test(e.message))return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(e);const t=e.response;if(!t)return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(e);const{title:n,detail:r}=t.data;return n&&r&&alert([n,r].join(": ")),Promise.reject(e)});const ir={user:new Xb(void 0,Is,wo),comment:new tE(void 0,Is,wo),tracker:new rE(void 0,Is,wo),login:new oE(void 0,Is,Se)},aE={class:"comment-form flex gap-4"},lE={class:"flex flex-1 flex-col gap-y-4"},cE={key:0,class:"grid grid-cols-1 items-center gap-2 sm:grid-cols-4"},uE={class:"flex items-center justify-between"},fE={class:"flex items-center gap-3"},dE={class:"text-sm font-medium dark:text-slate-50"},hE={class:"flex flex-row items-center gap-3"},pE={class:"absolute right-0 z-10 mt-3 transform px-4 sm:px-0"},Zl=Ae({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(e,{emit:t}){const n=e,r=Xe("currentUser"),s=Xe("kind"),i=Xe("name"),o=Xe("group"),a=Xe("emojiData",()=>Promise.resolve()),l=Xe("allowAnonymousComments"),c=ne(""),u=ne(!0),f=ne(!1),d=ul("halo-comment-custom-account",{displayName:"",email:"",website:""}),h=async()=>{if(!n.comment){m();return}y()},m=async()=>{if(!s||!i){console.error("Please provide kind and name");return}try{f.value=!0;const N={raw:c.value,content:c.value,allowNotification:u.value,subjectRef:{group:o,kind:s,name:i,version:"v1alpha1"}},{displayName:D,email:P,website:X}=d.value;if(!(r!=null&&r.value)&&!(l!=null&&l.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(r!=null&&r.value)&&(l==null?void 0:l.value))if(!D||!P){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else N.owner={displayName:D,email:P,website:X};await ir.comment.createComment1({commentRequest:N}),c.value="",t("created")}catch(N){console.error("Failed to create comment",N)}finally{f.value=!1}},y=async()=>{var N;if(!s||!i){console.error("Please provide kind and name");return}try{f.value=!0;const D={raw:c.value,content:c.value,allowNotification:u.value};n.reply&&(D.quoteReply=n.reply.metadata.name);const{displayName:P,email:X,website:te}=d.value;if(!(r!=null&&r.value)&&!(l!=null&&l.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(r!=null&&r.value)&&(l==null?void 0:l.value))if(!P||!X){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else D.owner={displayName:P,email:X,website:te};await ir.comment.createReply1({name:(N=n.comment)==null?void 0:N.metadata.name,replyRequest:D}),c.value="",t("created")}catch(D){console.error("Failed to create comment reply",D)}finally{f.value=!1}},C=async()=>{if(window.confirm("\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"))try{await Se.post("/logout",void 0,{withCredentials:!0}),window.location.reload()}catch(N){console.error("Failed to logout",N)}},g=ne(),p=ne(!1),w=ne(null),E=ne(),M=ne(!1);async function j(){if(p.value){p.value=!1;return}if(E.value){p.value=!0;return}M.value=!0;const N=await a();N||(alert("\u52A0\u8F7D Emoji \u6570\u636E\u5931\u8D25"),M.value=!1),E.value=new FC(N),M.value=!1,p.value=!0}function T(N){c.value+=N.native,g.value.focus()}wv(w,()=>{p.value=!1});const{Command_Enter:b}=jv();ou(()=>{b.value&&h()});const O=`#comment-${[o==null?void 0:o.replaceAll(".","-"),s,i].join("-").replaceAll(/-+/g,"-")}`,R=`/console/login?redirect_uri=${encodeURIComponent(window.location.href+O)}`;function k(){window.location.href=R}return(N,D)=>(x(),H("div",aE,[A("div",lE,[kt(A("textarea",{ref_key:"contentInputRef",ref:g,"onUpdate:modelValue":D[0]||(D[0]=P=>c.value=P),required:"",rows:"4",class:"rounded-base block h-full w-full resize-y appearance-none bg-white px-3 py-2 text-sm text-black antialiased outline-0 ring-1 ring-gray-300 transition-all dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",placeholder:"\u7F16\u5199\u8BC4\u8BBA"},null,512),[[Kt,c.value]]),!L(r)&&L(l)?(x(),H("div",cE,[kt(A("input",{"onUpdate:modelValue":D[1]||(D[1]=P=>L(d).displayName=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"text",placeholder:"\u6635\u79F0"},null,512),[[Kt,L(d).displayName]]),kt(A("input",{"onUpdate:modelValue":D[2]||(D[2]=P=>L(d).email=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"email",placeholder:"\u7535\u5B50\u90AE\u4EF6"},null,512),[[Kt,L(d).email]]),kt(A("input",{"onUpdate:modelValue":D[3]||(D[3]=P=>L(d).website=P),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"url",placeholder:"\u7F51\u7AD9"},null,512),[[Kt,L(d).website]]),A("a",{class:"select-none text-xs text-gray-600 transition-all hover:text-gray-900 dark:text-slate-200 dark:hover:text-slate-400",href:R}," \uFF08\u5DF2\u6709\u8BE5\u7AD9\u70B9\u7684\u8D26\u53F7\uFF09 ")])):he("",!0),A("div",uE,[A("div",fE,[L(r)?(x(),H(le,{key:0},[q(L(fl),{src:L(r).spec.avatar,alt:L(r).spec.displayName,size:"sm",circle:""},null,8,["src","alt"]),A("span",dE,ie(L(r).spec.displayName),1),q(L(Nr),{size:"sm",onClick:C},{default:be(()=>[Ct("\u6CE8\u9500")]),_:1})],64)):he("",!0),!L(r)&&!L(l)?(x(),ue(L(Nr),{key:1,size:"sm",onClick:k},{default:be(()=>[Ct("\u767B\u5F55")]),_:1})):he("",!0)]),A("div",hE,[A("div",{ref_key:"emojiPickerRef",ref:w,class:"relative"},[M.value?(x(),ue(L(Sl),{key:0,class:"!p-0"})):(x(),ue(L(hC),{key:1,class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900 dark:text-slate-300 dark:hover:text-slate-50",onClick:j})),q(_r,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:be(()=>[kt(A("div",pE,[E.value?(x(),ue(L(x_),{key:0,data:E.value,native:!0,onSelect:T},null,8,["data"])):he("",!0)],512),[[Ei,p.value]])]),_:1})],512),q(L(Nr),{disabled:!c.value,type:"secondary",loading:f.value,onClick:h},{icon:be(()=>[q(L(yC),{class:"h-full w-full"})]),default:be(()=>[Ct(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])])]))}}),mE={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},gE=[A("path",{fill:"currentColor",d:"M10 9V5l-7 7l7 7v-4.1c5 0 8.5 1.6 11 5.1c-1-5-4-10-11-11Z"},null,-1)];function yE(e,t){return x(),H("svg",mE,gE)}var vE={name:"mdi-reply",render:yE};const wE={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},CE=[A("path",{fill:"currentColor",d:"m12 21.35l-1.45-1.32C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5c0 3.77-3.4 6.86-8.55 11.53L12 21.35Z"},null,-1)];function _E(e,t){return x(),H("svg",wE,CE)}var Sp={name:"mdi-cards-heart",render:_E};const bE={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},EE=[A("path",{fill:"currentColor",d:"m12.1 18.55l-.1.1l-.11-.1C7.14 14.24 4 11.39 4 8.5C4 6.5 5.5 5 7.5 5c1.54 0 3.04 1 3.57 2.36h1.86C13.46 6 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5c0 2.89-3.14 5.74-7.9 10.05M16.5 3c-1.74 0-3.41.81-4.5 2.08C10.91 3.81 9.24 3 7.5 3C4.42 3 2 5.41 2 8.5c0 3.77 3.4 6.86 8.55 11.53L12 21.35l1.45-1.32C18.6 15.36 22 12.27 22 8.5C22 5.41 19.58 3 16.5 3Z"},null,-1)];function ME(e,t){return x(),H("svg",bE,EE)}var Ap={name:"mdi-cards-heart-outline",render:ME};const SE=["id"],AE={class:"flex flex-row gap-3"},jE={class:"reply-avatar"},TE={class:"flex-1"},NE={class:"reply-informations flex items-center"},LE={class:"flex flex-auto items-center gap-3"},xE={class:"text-sm font-medium dark:text-slate-50"},IE=["href"],OE={key:1},DE=["href"],PE={class:"reply-content mt-2"},$E={class:"text-sm text-gray-800 dark:text-slate-200"},kE=["href"],RE={key:1},FE={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},BE=A("span",{class:"text-gray-600"},"\xB7",-1),zE=Ae({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(e,{emit:t}){const n=e,r=ne(!1),s=ah(new Date(n.reply.spec.creationTime||new Date)),i=je(()=>{if(!n.reply)return"";const{annotations:h}=n.reply.spec.owner;return h==null?void 0:h.website}),o=je(()=>{const{quoteReply:h}=n.reply.spec;if(!!h)return n.replies.find(m=>m.metadata.name===h)}),a=()=>{t("reload"),r.value=!1},l=Xe("hoveredReply"),c=h=>{l&&(l.value=h?o.value:void 0)},u=je(()=>{var h;return((h=l==null?void 0:l.value)==null?void 0:h.metadata.name)===n.reply.metadata.name}),f=Xe("upvotedReplies",ne([])),d=async()=>{!n.reply||f.value.includes(n.reply.metadata.name)||(await ir.tracker.upvote({voteRequest:{name:n.reply.metadata.name,plural:"replies",group:"content.halo.run"}}),f.value.push(n.reply.metadata.name),t("reload"))};return(h,m)=>{var y,C,g,p,w,E,M;return x(),H("div",{id:`reply-${e.reply.metadata.name}`,class:Ce(["reply-item py-3",{"animate-breath":L(u)}])},[A("div",AE,[A("div",jE,[q(L(fl),{src:(C=(y=e.reply)==null?void 0:y.owner)==null?void 0:C.avatar,alt:(p=(g=e.reply)==null?void 0:g.owner)==null?void 0:p.displayName,size:"sm",circle:""},null,8,["src","alt"])]),A("div",TE,[A("div",NE,[A("div",LE,[A("div",xE,[L(i)?(x(),H("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:L(i),target:"_blank"},ie((w=e.reply)==null?void 0:w.owner.displayName),9,IE)):(x(),H("span",OE,ie((E=e.reply)==null?void 0:E.owner.displayName),1))]),A("a",{href:`#reply-${e.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},ie(L(s)),9,DE),he("",!0)])]),A("div",PE,[A("p",$E,[L(o)?(x(),H("a",{key:0,class:"mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 py-0.5 px-1 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline dark:bg-slate-700 dark:text-slate-200 dark:hover:text-slate-100",href:`#reply-${L(o).metadata.name}`,onMouseenter:m[0]||(m[0]=j=>c(!0)),onMouseleave:m[1]||(m[1]=j=>c(!1))},[q(L(vE)),A("span",null,ie(L(o).owner.displayName),1)],40,kE)):he("",!0),L(o)?(x(),H("br",RE)):he("",!0),Ct(" "+ie(e.reply.spec.content),1)])]),A("div",FE,[A("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:m[2]||(m[2]=j=>d())},[L(f).includes((M=e.reply)==null?void 0:M.metadata.name)?(x(),ue(L(Sp),{key:1,class:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})):(x(),ue(L(Ap),{key:0,class:"h-3.5 w-3.5 hover:text-red-600 hover:dark:text-red-400"})),A("span",null,ie(e.reply.stats.upvote),1)]),BE,A("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:m[3]||(m[3]=j=>r.value=!r.value)}," \u56DE\u590D ")]),r.value?(x(),ue(Zl,{key:0,class:"mt-2",comment:e.comment,reply:e.reply,onCreated:a},null,8,["comment","reply"])):he("",!0)])])],10,SE)}}}),UE={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},HE=[A("path",{fill:"currentColor",d:"M9 22c-.6 0-1-.4-1-1v-3H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2h-6.1l-3.7 3.7c-.2.2-.4.3-.7.3H9m1-6v3.1l3.1-3.1H20V4H4v12h6m6.3-10l-1.4 3H17v4h-4V8.8L14.3 6h2m-6 0L8.9 9H11v4H7V8.8L8.3 6h2Z"},null,-1)];function VE(e,t){return x(),H("svg",UE,HE)}var YE={name:"mdi-comment-quote-outline",render:VE};const WE={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},qE=[A("path",{fill:"currentColor",d:"M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v3c0 .6.4 1 1 1h.5c.2 0 .5-.1.7-.3l3.7-3.7H20c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-9 11H7V8.8L8.3 6h2L8.9 9H11v4m6 0h-4V8.8L14.3 6h2l-1.4 3H17v4Z"},null,-1)];function QE(e,t){return x(),H("svg",WE,qE)}var KE={name:"mdi-comment-quote",render:QE};const ZE=["id"],GE={class:"flex flex-row gap-3"},JE={class:"comment-avatar"},XE={class:"flex-1"},e4={class:"comment-informations flex items-center"},t4={class:"flex flex-auto items-center gap-3"},n4={class:"text-sm font-medium dark:text-slate-50"},r4=["href"],s4={key:1},i4=["href"],o4={class:"comment-content mt-2"},a4={class:"text-sm text-gray-800 dark:text-slate-200"},l4={class:"comment-actions mt-2 flex flex-auto items-center gap-1.5"},c4=A("span",{class:"text-gray-600"},"\xB7",-1),u4=A("span",{class:"text-gray-600"},"\xB7",-1),f4={key:1,class:"comment-replies mt-2"},d4={class:"flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},h4=Ae({__name:"CommentItem",props:{comment:{default:void 0}},emits:["reload"],setup(e,{emit:t}){var n;const r=e,s=ne(!1),i=ne(!1),o=ne([]),a=ne(!1),l=ne();vt("hoveredReply",l);const c=ah(new Date(((n=r.comment)==null?void 0:n.spec.creationTime)||new Date)),u=je(()=>(r.comment,!1)),f=je(()=>{if(!r.comment)return"";const{annotations:C}=r.comment.spec.owner;return C==null?void 0:C.website}),d=async C=>{var g;try{C||(a.value=!0);const{data:p}=await ir.comment.listCommentReplies({name:(g=r.comment)==null?void 0:g.metadata.name});o.value=p.items}catch(p){console.error("Failed to fetch comment replies",p)}finally{a.value=!1}};et(()=>s.value,()=>{s.value?d():o.value.length=0});const h=()=>{i.value=!1,s.value=!0,d()},m=Xe("upvotedComments",ne([])),y=async()=>{!r.comment||m.value.includes(r.comment.metadata.name)||(await ir.tracker.upvote({voteRequest:{name:r.comment.metadata.name,plural:"comments",group:"content.halo.run"}}),m.value.push(r.comment.metadata.name),t("reload"))};return(C,g)=>{var p,w,E,M,j,T,b,O,R,k,N,D,P;return x(),H("div",{id:`comment-${(p=e.comment)==null?void 0:p.metadata.name}`,class:"comment-item py-4"},[A("div",GE,[A("div",JE,[q(L(fl),{src:(E=(w=e.comment)==null?void 0:w.owner)==null?void 0:E.avatar,alt:(j=(M=e.comment)==null?void 0:M.owner)==null?void 0:j.displayName,size:"sm",circle:""},null,8,["src","alt"])]),A("div",XE,[A("div",e4,[A("div",t4,[A("div",n4,[L(f)?(x(),H("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:L(f),target:"_blank"},ie((T=e.comment)==null?void 0:T.owner.displayName),9,r4)):(x(),H("span",s4,ie((b=e.comment)==null?void 0:b.owner.displayName),1))]),A("a",{href:`#comment-${(O=e.comment)==null?void 0:O.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},ie(L(c)),9,i4),L(u)?(x(),ue(L(Lw),{key:0,rounded:"",class:"dark:!border-slate-600 dark:!bg-slate-700 dark:!text-slate-50"},{default:be(()=>[Ct(" Author ")]),_:1})):he("",!0)])]),A("div",o4,[A("p",a4,ie((R=e.comment)==null?void 0:R.spec.content),1)]),A("div",l4,[A("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[0]||(g[0]=X=>y())},[L(m).includes((k=e.comment)==null?void 0:k.metadata.name)?(x(),ue(L(Sp),{key:1,class:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})):(x(),ue(L(Ap),{key:0,class:"h-3.5 w-3.5 hover:text-red-600 hover:dark:text-red-400"})),A("span",null,ie((N=e.comment)==null?void 0:N.stats.upvote),1)]),c4,A("div",{class:"inline-flex cursor-pointer select-none items-center gap-1 text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[1]||(g[1]=X=>s.value=!s.value)},[s.value?(x(),ue(L(KE),{key:1,class:"h-3.5 w-3.5"})):(x(),ue(L(YE),{key:0,class:"h-3.5 w-3.5"})),A("span",null,ie(((P=(D=e.comment)==null?void 0:D.status)==null?void 0:P.visibleReplyCount)||0),1)]),u4,A("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:g[2]||(g[2]=X=>i.value=!i.value)}," \u52A0\u5165\u56DE\u590D ")]),i.value?(x(),ue(Zl,{key:0,class:"mt-2",comment:e.comment,onCreated:h},null,8,["comment"])):he("",!0),s.value?(x(),H("div",f4,[A("div",d4,[a.value?(x(),ue(L(Sl),{key:0,class:"dark:text-slate-100"})):!o.value.length&&!i.value?(x(),ue(_r,{key:1,appear:"",name:"fade"},{default:be(()=>[q(L(hh),{title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:be(()=>[q(L(dh),null,{default:be(()=>[q(L(Nr),{type:"default",onClick:d},{default:be(()=>[Ct(" \u5237\u65B0 ")]),_:1}),q(L(Nr),{type:"primary",onClick:g[3]||(g[3]=X=>i.value=!0)},{default:be(()=>[Ct(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})]),_:1})):(x(),ue(Na,{key:2,appear:"",name:"fade",tag:"div"},{default:be(()=>[(x(!0),H(le,null,Tt(o.value,(X,te)=>(x(),ue(zE,{key:te,class:Ce({"!pt-2":te===1}),comment:e.comment,reply:X,replies:o.value,onReload:g[4]||(g[4]=ye=>d(!0))},null,8,["class","comment","reply","replies"]))),128))]),_:1}))])])):he("",!0)])])],8,ZE)}}}),p4={class:"comment-timeline mt-6"},m4={class:"flex items-center"},g4={class:"flex flex-auto items-center gap-1"},y4={class:"text-sm font-medium text-gray-900 dark:text-slate-50"},v4=A("div",null,null,-1),w4={class:"mt-4 flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},C4={key:0,class:"my-4 sm:flex sm:items-center sm:justify-center"},_4=Ae({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0},colorScheme:{default:"light"},emojiData:null},setup(e){const t=e;vt("kind",t.kind),vt("name",t.name),vt("group",t.group),vt("colorScheme",t.colorScheme),vt("emojiData",t.emojiData);const n=ne(),r=ne({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1,totalPages:0}),s=ne(!1);vt("currentUser",n);const i=async()=>{try{const{data:m}=await ir.user.getCurrentUserDetail();n.value=m.user.metadata.name==="anonymousUser"?void 0:m.user}catch(m){console.error("Fetch logined user failed",m)}},o=async m=>{try{m||(s.value=!0);const{data:y}=await ir.comment.listComments1({page:r.value.page,size:r.value.size,kind:t.kind,name:t.name,group:t.group,version:"v1alpha1"});r.value=y}catch(y){console.error("Failed to fetch comments",y)}finally{s.value=!1}},a=({page:m,size:y})=>{r.value.page=m,r.value.size=y,o()};fn(()=>{i(),o()});const l=()=>{o()},c=je(()=>t.colorScheme==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t.colorScheme),u=ne(!1);vt("allowAnonymousComments",u),fn(async()=>{const{data:m}=await Se.get("/actuator/globalinfo",{withCredentials:!0});u.value=m.allowAnonymousComments});const d=ul("halo.upvoted.comments",[]),h=ul("halo.upvoted.replies",[]);return vt("upvotedComments",d),vt("upvotedReplies",h),(m,y)=>{var C;return x(),H("div",{class:Ce(["halo-comment-widget",L(c)])},[q(Zl,{onCreated:l}),A("div",p4,[A("div",m4,[A("div",g4,[A("span",y4,ie(((C=r.value)==null?void 0:C.total)||0)+" \u6761\u8BC4\u8BBA ",1),he("",!0),he("",!0)]),v4]),A("div",w4,[s.value?(x(),ue(L(Sl),{key:0,class:"dark:text-slate-100"})):r.value.items.length?(x(),ue(Na,{key:2,appear:"",name:"fade",tag:"div"},{default:be(()=>[(x(!0),H(le,null,Tt(r.value.items,(g,p)=>(x(),ue(h4,{key:p,comment:g,onReload:y[0]||(y[0]=w=>o(!0))},null,8,["comment"]))),128))]),_:1})):(x(),ue(_r,{key:1,appear:"",name:"fade"},{default:be(()=>[q(L(hh),{title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:be(()=>[q(L(dh),null,{default:be(()=>[q(L(Nr),{type:"default",onClick:o},{default:be(()=>[Ct(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})]),_:1}))])]),r.value.hasPrevious||r.value.hasNext?(x(),H("div",C4,[q(L(Ww),{page:r.value.page,size:r.value.size,total:r.value.total,class:"bg-transparent",onChange:a},null,8,["page","size","total"])])):he("",!0)],2)}}});var lS="",cS="",Gl={exports:{}},jp=function(t,n){return function(){for(var s=new Array(arguments.length),i=0;i0;)i=r[s],o[i]||(t[i]=e[i],o[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function B4(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function z4(e){if(!e)return null;var t=e.length;if(Co(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var U4=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Ye={isArray:ec,isArrayBuffer:Tp,isBuffer:E4,isFormData:I4,isArrayBufferView:M4,isString:S4,isNumber:A4,isObject:Np,isPlainObject:_o,isUndefined:Co,isDate:j4,isFile:T4,isBlob:N4,isFunction:tc,isStream:x4,isURLSearchParams:O4,isStandardBrowserEnv:P4,forEach:nc,merge:rc,extend:$4,trim:D4,stripBOM:k4,inherits:R4,toFlatObject:F4,kindOf:Xl,kindOfTest:or,endsWith:B4,toArray:z4,isTypedArray:U4,isFileList:L4},Br=Ye;function Lp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xp=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Br.isURLSearchParams(n))s=n.toString();else{var i=[];Br.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Br.isArray(l)?c=c+"[]":l=[l],Br.forEach(l,function(f){Br.isDate(f)?f=f.toISOString():Br.isObject(f)&&(f=JSON.stringify(f)),i.push(Lp(c)+"="+Lp(f))}))}),s=i.join("&")}if(s){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},H4=Ye;function bo(){this.handlers=[]}bo.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1},bo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},bo.prototype.forEach=function(t){H4.forEach(this.handlers,function(r){r!==null&&t(r)})};var V4=bo,Y4=Ye,W4=function(t,n){Y4.forEach(t,function(s,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[i])})},Ip=Ye;function zr(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Ip.inherits(zr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Op=zr.prototype,Dp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Dp[e]={value:e}}),Object.defineProperties(zr,Dp),Object.defineProperty(Op,"isAxiosError",{value:!0}),zr.from=function(e,t,n,r,s,i){var o=Object.create(Op);return Ip.toFlatObject(e,o,function(l){return l!==Error.prototype}),zr.call(o,e.message,t,n,r,s),o.name=e.name,i&&Object.assign(o,i),o};var Ur=zr,Pp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ot=Ye;function q4(e,t){t=t||new FormData;var n=[];function r(i){return i===null?"":Ot.isDate(i)?i.toISOString():Ot.isArrayBuffer(i)||Ot.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,o){if(Ot.isPlainObject(i)||Ot.isArray(i)){if(n.indexOf(i)!==-1)throw Error("Circular reference detected in "+o);n.push(i),Ot.forEach(i,function(l,c){if(!Ot.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(Ot.endsWith(c,"{}"))l=JSON.stringify(l);else if(Ot.endsWith(c,"[]")&&(f=Ot.toArray(l))){f.forEach(function(d){!Ot.isUndefined(d)&&t.append(u,r(d))});return}}s(l,u)}}),n.pop()}else t.append(o,r(i))}return s(e),t}var $p=q4,sc=Ur,Q4=function(t,n,r){var s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new sc("Request failed with status code "+r.status,[sc.ERR_BAD_REQUEST,sc.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},Eo=Ye,K4=Eo.isStandardBrowserEnv()?function(){return{write:function(n,r,s,i,o,a){var l=[];l.push(n+"="+encodeURIComponent(r)),Eo.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),Eo.isString(i)&&l.push("path="+i),Eo.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Z4=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},G4=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},J4=Z4,X4=G4,kp=function(t,n){return t&&!J4(n)?X4(t,n):n},ic=Ye,eM=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],tM=function(t){var n={},r,s,i;return t&&ic.forEach(t.split(` +`),function(a){if(i=a.indexOf(":"),r=ic.trim(a.substr(0,i)).toLowerCase(),s=ic.trim(a.substr(i+1)),r){if(n[r]&&eM.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},Rp=Ye,nM=Rp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(i){var o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){var a=Rp.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),oc=Ur,rM=Ye;function Fp(e){oc.call(this,e==null?"canceled":e,oc.ERR_CANCELED),this.name="CanceledError"}rM.inherits(Fp,oc,{__CANCEL__:!0});var Mo=Fp,sM=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Os=Ye,iM=Q4,oM=K4,aM=xp,lM=kp,cM=tM,uM=nM,fM=Pp,rn=Ur,dM=Mo,hM=sM,Bp=function(t){return new Promise(function(r,s){var i=t.data,o=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Os.isFormData(i)&&Os.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(f+":"+d)}var h=lM(t.baseURL,t.url);u.open(t.method.toUpperCase(),aM(h,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function m(){if(!!u){var g="getAllResponseHeaders"in u?cM(u.getAllResponseHeaders()):null,p=!a||a==="text"||a==="json"?u.responseText:u.response,w={data:p,status:u.status,statusText:u.statusText,headers:g,config:t,request:u};iM(function(M){r(M),c()},function(M){s(M),c()},w),u=null}}if("onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){!u||(s(new rn("Request aborted",rn.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new rn("Network Error",rn.ERR_NETWORK,t,u,u)),u=null},u.ontimeout=function(){var p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||fM;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new rn(p,w.clarifyTimeoutError?rn.ETIMEDOUT:rn.ECONNABORTED,t,u)),u=null},Os.isStandardBrowserEnv()){var y=(t.withCredentials||uM(h))&&t.xsrfCookieName?oM.read(t.xsrfCookieName):void 0;y&&(o[t.xsrfHeaderName]=y)}"setRequestHeader"in u&&Os.forEach(o,function(p,w){typeof i=="undefined"&&w.toLowerCase()==="content-type"?delete o[w]:u.setRequestHeader(w,p)}),Os.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),a&&a!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(g){!u||(s(!g||g&&g.type?new dM:g),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null);var C=hM(h);if(C&&["http","https","file"].indexOf(C)===-1){s(new rn("Unsupported protocol "+C+":",rn.ERR_BAD_REQUEST,t));return}u.send(i)})},pM=null,Pe=Ye,zp=W4,Up=Ur,mM=Pp,gM=$p,yM={"Content-Type":"application/x-www-form-urlencoded"};function Hp(e,t){!Pe.isUndefined(e)&&Pe.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function vM(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Bp),e}function wM(e,t,n){if(Pe.isString(e))try{return(t||JSON.parse)(e),Pe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var So={transitional:mM,adapter:vM(),transformRequest:[function(t,n){if(zp(n,"Accept"),zp(n,"Content-Type"),Pe.isFormData(t)||Pe.isArrayBuffer(t)||Pe.isBuffer(t)||Pe.isStream(t)||Pe.isFile(t)||Pe.isBlob(t))return t;if(Pe.isArrayBufferView(t))return t.buffer;if(Pe.isURLSearchParams(t))return Hp(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Pe.isObject(t),s=n&&n["Content-Type"],i;if((i=Pe.isFileList(t))||r&&s==="multipart/form-data"){var o=this.env&&this.env.FormData;return gM(i?{"files[]":t}:t,o&&new o)}else if(r||s==="application/json")return Hp(n,"application/json"),wM(t);return t}],transformResponse:[function(t){var n=this.transitional||So.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||s&&Pe.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?Up.from(o,Up.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pM},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Pe.forEach(["delete","get","head"],function(t){So.headers[t]={}}),Pe.forEach(["post","put","patch"],function(t){So.headers[t]=Pe.merge(yM)});var ac=So,CM=Ye,_M=ac,bM=function(t,n,r){var s=this||_M;return CM.forEach(r,function(o){t=o.call(s,t,n)}),t},Vp=function(t){return!!(t&&t.__CANCEL__)},Yp=Ye,lc=bM,EM=Vp,MM=ac,SM=Mo;function cc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new SM}var AM=function(t){cc(t),t.headers=t.headers||{},t.data=lc.call(t,t.data,t.headers,t.transformRequest),t.headers=Yp.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Yp.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||MM.adapter;return n(t).then(function(s){return cc(t),s.data=lc.call(t,s.data,s.headers,t.transformResponse),s},function(s){return EM(s)||(cc(t),s&&s.response&&(s.response.data=lc.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},gt=Ye,Wp=function(t,n){n=n||{};var r={};function s(u,f){return gt.isPlainObject(u)&>.isPlainObject(f)?gt.merge(u,f):gt.isPlainObject(f)?gt.merge({},f):gt.isArray(f)?f.slice():f}function i(u){if(gt.isUndefined(n[u])){if(!gt.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function o(u){if(!gt.isUndefined(n[u]))return s(void 0,n[u])}function a(u){if(gt.isUndefined(n[u])){if(!gt.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function l(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(void 0,t[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return gt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=c[f]||i,h=d(f);gt.isUndefined(h)&&d!==l||(r[f]=h)}),r},qp={version:"0.27.2"},jM=qp.version,Tn=Ur,uc={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){uc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Qp={};uc.transitional=function(t,n,r){function s(i,o){return"[Axios v"+jM+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return function(i,o,a){if(t===!1)throw new Tn(s(o," has been removed"+(n?" in "+n:"")),Tn.ERR_DEPRECATED);return n&&!Qp[o]&&(Qp[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function TM(e,t,n){if(typeof e!="object")throw new Tn("options must be an object",Tn.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),s=r.length;s-- >0;){var i=r[s],o=t[i];if(o){var a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new Tn("option "+i+" must be "+l,Tn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Tn("Unknown option "+i,Tn.ERR_BAD_OPTION)}}var NM={assertOptions:TM,validators:uc},Kp=Ye,LM=xp,Zp=V4,Gp=AM,Ao=Wp,xM=kp,Jp=NM,Hr=Jp.validators;function Vr(e){this.defaults=e,this.interceptors={request:new Zp,response:new Zp}}Vr.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ao(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Jp.assertOptions(r,{silentJSONParsing:Hr.transitional(Hr.boolean),forcedJSONParsing:Hr.transitional(Hr.boolean),clarifyTimeoutError:Hr.transitional(Hr.boolean)},!1);var s=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(i=i&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!i){var l=[Gp,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var u=s.shift(),f=s.shift();try{c=u(c)}catch(d){f(d);break}}try{a=Gp(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a},Vr.prototype.getUri=function(t){t=Ao(this.defaults,t);var n=xM(t.baseURL,t.url);return LM(n,t.params,t.paramsSerializer)},Kp.forEach(["delete","get","head","options"],function(t){Vr.prototype[t]=function(n,r){return this.request(Ao(r||{},{method:t,url:n,data:(r||{}).data}))}}),Kp.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,a){return this.request(Ao(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Vr.prototype[t]=n(),Vr.prototype[t+"Form"]=n(!0)});var IM=Vr,OM=Mo;function Yr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,i=n._listeners.length;for(s=0;s{const{data:u}=await zM.get("/plugins/PluginCommentWidget/assets/static/emoji/all.json");return u}}).mount(i)})}return Lo.init=UM,Object.defineProperties(Lo,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),Lo}({}); diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index f398aa6..649ea0e 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -1,4 +1,4 @@ -:host{--colors-primary: 76, 203, 160;--colors-secondary: 14, 23, 49;--borderRadius-base: 4px}.emoji-mart,.emoji-mart *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@14.0.0/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@14.0.0/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@14.0.0/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@14.0.0/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;-webkit-transition:color .1s ease-out;-o-transition:color .1s ease-out;transition:color .1s ease-out;border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:1}.emoji-mart-category-label{position:-webkit-sticky;position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;-webkit-transition-property:width,padding;-o-transition-property:width,padding;transition-property:width,padding;-webkit-transition-duration:.125s;-o-transition-duration:.125s;transition-duration:.125s;-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){-webkit-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){-webkit-transition-delay:.03s;-o-transition-delay:.03s;transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){-webkit-transition-delay:.06s;-o-transition-delay:.06s;transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){-webkit-transition-delay:.09s;-o-transition-delay:.09s;transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){-webkit-transition-delay:.12s;-o-transition-delay:.12s;transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){-webkit-transition-delay:.15s;-o-transition-delay:.15s;transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;-webkit-transition:opacity .2s ease-out;-o-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.emoji-mart .vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}.\!visible{visibility:visible!important}.right-0{right:0px}.z-10{z-index:10}.my-4{margin-top:1rem;margin-bottom:1rem}.mr-1{margin-right:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.h-3\.5{height:.875rem}.w-3\.5{width:.875rem}.flex-auto{flex:1 1 auto}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes breath{0%{transform:scale(1);opacity:.8}50%{transform:scale(1.02);opacity:1}to{transform:scale(1);opacity:.8}}.animate-breath{animation:breath 1s ease-in-out infinite}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gap-1\.5{gap:.375rem}.gap-y-4{row-gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.bg-transparent{background-color:transparent}.\!p-0{padding:0!important}.\!pt-2{padding-top:.5rem!important}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.duration-150{transition-duration:.15s}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.dark .dark\:divide-slate-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(51 65 85 / var(--tw-divide-opacity))}.dark .dark\:\!border-slate-600{--tw-border-opacity: 1 !important;border-color:rgb(71 85 105 / var(--tw-border-opacity))!important}.dark .dark\:\!bg-slate-700{--tw-bg-opacity: 1 !important;background-color:rgb(51 65 85 / var(--tw-bg-opacity))!important}.dark .dark\:bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.dark .dark\:\!text-slate-50{--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}.dark .dark\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark .dark\:text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .dark\:text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.dark .dark\:text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark .dark\:text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark .dark\:text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .dark\:text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.dark .dark\:ring-slate-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(71 85 105 / var(--tw-ring-opacity))}.dark .dark\:hover\:text-slate-100:hover{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-300:hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-400:hover{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-50:hover{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .hover\:dark\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}.dark .empty-title{--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}.dark .empty-message{--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}.dark .btn-default{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .btn-default:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark .btn-icon{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .btn-secondary{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fade-enter-active{transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}.fade-enter-from{opacity:0}.fade-enter-to{opacity:1}.fade-leave-active{transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,1,1)}.fade-leave-from{opacity:1}.fade-leave-to{opacity:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--colors-primary: 76, 203, 160;--colors-secondary: 14, 23, 49;--borderRadius-base: 4px}.theme-dark{--colors-primary: 0, 0, 0;--colors-secondary: 14, 23, 49;--borderRadius-base: 2px}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0px;bottom:0px}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0px}.left-0{left:0px}.top-0{top:0px}.z-0{z-index:0}.z-\[9999\]{z-index:9999}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.-mt-6{margin-top:-1.5rem}.mb-2{margin-bottom:.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-full{height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[13rem\]{min-width:13rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-2{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[1\.02\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-\[10px\]{gap:10px}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-base{border-radius:var(--borderRadius-base)}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l-base{border-top-left-radius:var(--borderRadius-base);border-bottom-left-radius:var(--borderRadius-base)}.rounded-r-base{border-top-right-radius:var(--borderRadius-base);border-bottom-right-radius:var(--borderRadius-base)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.\!bg-gray-300\/60{background-color:#d1d5db99!important}.\!bg-primary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))!important}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-\[0\.7rem\]{font-size:.7rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:hidden{display:none}.group:hover .group-hover\:bg-gray-200\/60{background-color:#e5e7eb99}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:\!hidden{display:none!important}.sm\:flex-1{flex:1 1 0%}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}}@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))}}/*! +:host{--colors-primary: 76, 203, 160;--colors-secondary: 14, 23, 49;--borderRadius-base: 4px}.emoji-mart,.emoji-mart *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@14.0.0/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@14.0.0/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@14.0.0/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@14.0.0/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;-webkit-transition:color .1s ease-out;-o-transition:color .1s ease-out;transition:color .1s ease-out;border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:1}.emoji-mart-category-label{position:-webkit-sticky;position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;-webkit-transition-property:width,padding;-o-transition-property:width,padding;transition-property:width,padding;-webkit-transition-duration:.125s;-o-transition-duration:.125s;transition-duration:.125s;-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){-webkit-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){-webkit-transition-delay:.03s;-o-transition-delay:.03s;transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){-webkit-transition-delay:.06s;-o-transition-delay:.06s;transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){-webkit-transition-delay:.09s;-o-transition-delay:.09s;transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){-webkit-transition-delay:.12s;-o-transition-delay:.12s;transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){-webkit-transition-delay:.15s;-o-transition-delay:.15s;transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;-webkit-transition:opacity .2s ease-out;-o-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.emoji-mart .vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}.right-0{right:0px}.z-10{z-index:10}.my-4{margin-top:1rem;margin-bottom:1rem}.mr-1{margin-right:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.h-3\.5{height:.875rem}.w-3\.5{width:.875rem}.flex-auto{flex:1 1 auto}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes breath{0%{transform:scale(1);opacity:.8}50%{transform:scale(1.02);opacity:1}to{transform:scale(1);opacity:.8}}.animate-breath{animation:breath 1s ease-in-out infinite}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.gap-1\.5{gap:.375rem}.gap-y-4{row-gap:1rem}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.bg-transparent{background-color:transparent}.\!p-0{padding:0!important}.\!pt-2{padding-top:.5rem!important}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.duration-150{transition-duration:.15s}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.dark .dark\:divide-slate-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(51 65 85 / var(--tw-divide-opacity))}.dark .dark\:\!border-slate-600{--tw-border-opacity: 1 !important;border-color:rgb(71 85 105 / var(--tw-border-opacity))!important}.dark .dark\:\!bg-slate-700{--tw-bg-opacity: 1 !important;background-color:rgb(51 65 85 / var(--tw-bg-opacity))!important}.dark .dark\:bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.dark .dark\:\!text-slate-50{--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}.dark .dark\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.dark .dark\:text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .dark\:text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.dark .dark\:text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark .dark\:text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark .dark\:text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .dark\:text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.dark .dark\:ring-slate-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(71 85 105 / var(--tw-ring-opacity))}.dark .dark\:hover\:text-slate-100:hover{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-300:hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-400:hover{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-50:hover{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .hover\:dark\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}.dark .empty-title{--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}.dark .empty-message{--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}.dark .btn-default{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .btn-default:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark .btn-icon{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark .btn-secondary{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark .btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fade-enter-active{transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}.fade-enter-from{opacity:0}.fade-enter-to{opacity:1}.fade-leave-active{transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,1,1)}.fade-leave-from{opacity:1}.fade-leave-to{opacity:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--colors-primary: 76, 203, 160;--colors-secondary: 14, 23, 49;--borderRadius-base: 4px}.theme-dark{--colors-primary: 0, 0, 0;--colors-secondary: 14, 23, 49;--borderRadius-base: 2px}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0px;bottom:0px}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0px}.left-0{left:0px}.top-0{top:0px}.z-0{z-index:0}.z-\[9999\]{z-index:9999}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.-mt-6{margin-top:-1.5rem}.mb-2{margin-bottom:.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-full{height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[13rem\]{min-width:13rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-2{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[1\.02\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-\[10px\]{gap:10px}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-base{border-radius:var(--borderRadius-base)}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l-base{border-top-left-radius:var(--borderRadius-base);border-bottom-left-radius:var(--borderRadius-base)}.rounded-r-base{border-top-right-radius:var(--borderRadius-base);border-bottom-right-radius:var(--borderRadius-base)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.\!bg-gray-300\/60{background-color:#d1d5db99!important}.\!bg-primary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))!important}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-5{padding-bottom:1.25rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-\[0\.7rem\]{font-size:.7rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:hidden{display:none}.group:hover .group-hover\:bg-gray-200\/60{background-color:#e5e7eb99}@media (min-width: 640px){.sm\:col-span-6{grid-column:span 6 / span 6}.sm\:flex{display:flex}.sm\:grid{display:grid}.sm\:\!hidden{display:none!important}.sm\:flex-1{flex:1 1 0%}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:gap-4{gap:1rem}.sm\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}}@media (min-width: 768px){.md\:col-span-5{grid-column:span 5 / span 5}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}/*! * OverlayScrollbars * Version: 2.1.1 * @@ -6,4 +6,4 @@ * https://github.com/KingSora * * Released under the MIT license. -*/.os-size-observer,.os-size-observer-listener{direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-environment{--os-custom-prop: -1;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:var(--os-custom-prop)}.os-environment div{width:200%;height:200%;margin:10px 0}.os-environment.os-environment-flexbox-glue{display:flex;flex-direction:row;flex-wrap:nowrap;height:auto;width:auto;min-height:200px;min-width:200px}.os-environment.os-environment-flexbox-glue div{flex:auto;width:auto;height:auto;max-height:100%;max-width:100%;margin:0}.os-environment.os-environment-flexbox-glue-max{max-height:200px}.os-environment.os-environment-flexbox-glue-max div{overflow:visible}.os-environment.os-environment-flexbox-glue-max div:before{content:"";display:block;height:999px;width:999px}.os-environment,.os-viewport{-ms-overflow-style:scrollbar!important}[data-overlayscrollbars-initialize],[data-overlayscrollbars~=scrollbarHidden],.os-viewport-scrollbar-hidden.os-environment,.os-viewport-scrollbar-hidden.os-viewport{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,.os-viewport-scrollbar-hidden.os-environment::-webkit-scrollbar,.os-viewport-scrollbar-hidden.os-environment::-webkit-scrollbar-corner,.os-viewport-scrollbar-hidden.os-viewport::-webkit-scrollbar,.os-viewport-scrollbar-hidden.os-viewport::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]{overflow:auto}html[data-overlayscrollbars],html.os-viewport-scrollbar-hidden,html.os-viewport-scrollbar-hidden>body{box-sizing:border-box;margin:0;width:100%;height:100%}html[data-overlayscrollbars]>body{overflow:visible}[data-overlayscrollbars~=host]{position:relative}[data-overlayscrollbars~=host],.os-padding{display:flex;flex-direction:row!important;flex-wrap:nowrap!important}.os-padding,.os-viewport{box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;padding:0;margin:0;border:none;z-index:0}.os-viewport{--os-vaw: 0;--os-vah: 0}.os-viewport.os-viewport-arrange:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars~=host],[data-overlayscrollbars~=viewport]{overflow:hidden}[data-overlayscrollbars~=overflowVisible]{overflow:visible}[data-overlayscrollbars-overflow-x=hidden]{overflow-x:hidden}[data-overlayscrollbars-overflow-x=scroll]{overflow-x:scroll}[data-overlayscrollbars-overflow-x=hidden]{overflow-y:hidden}[data-overlayscrollbars-overflow-y=scroll]{overflow-y:scroll}.os-padding,.os-viewport{overflow:hidden}.os-overflow-visible{overflow:visible}.os-content{box-sizing:inherit}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] .os-padding{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>.os-padding,[data-overlayscrollbars-grid]>.os-viewport,[data-overlayscrollbars-grid]>.os-padding>.os-viewport{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;direction:ltr!important;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible,.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hidden{opacity:0;visibility:hidden}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0}.os-scrollbar-vertical .os-scrollbar-handle{right:0}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars~=updating]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size: 10px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .44);--os-handle-bg-hover: rgba(0, 0, 0, .55);--os-handle-bg-active: rgba(0, 0, 0, .66)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .44);--os-handle-bg-hover: rgba(255, 255, 255, .55);--os-handle-bg-active: rgba(255, 255, 255, .66)}.os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-handle,.os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-track,.os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-track{border-radius:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal{padding:2px;right:10px;height:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal.os-scrollbar-rtl,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal.os-scrollbar-rtl{left:10px;right:0}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle{min-width:33px;max-width:none}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle:before{top:-6px;bottom:-2px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical,.os-no-css-vars.os-theme-light.os-scrollbar-vertical{padding:2px;bottom:10px;width:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle{min-height:33px;max-height:none}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle:before{left:-6px;right:-2px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:-6px;left:-2px}.os-no-css-vars.os-theme-dark .os-scrollbar-handle{background:rgba(0,0,0,.44)}.os-no-css-vars.os-theme-dark:hover .os-scrollbar-handle{background:rgba(0,0,0,.55)}.os-no-css-vars.os-theme-dark:active .os-scrollbar-handle{background:rgba(0,0,0,.66)}.os-no-css-vars.os-theme-light .os-scrollbar-handle{background:rgba(255,255,255,.44)}.os-no-css-vars.os-theme-light:hover .os-scrollbar-handle{background:rgba(255,255,255,.55)}.os-no-css-vars.os-theme-light:active .os-scrollbar-handle{background:rgba(255,255,255,.66)}.avatar-wrapper{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.avatar-wrapper img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar-wrapper .avatar-fallback{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.avatar-wrapper .avatar-loading{height:1.25rem;width:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}.avatar-wrapper .avatar-loading{animation:spin 1s linear infinite}.avatar-wrapper .avatar-placeholder{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.avatar-wrapper .avatar-error{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.avatar-wrapper.avatar-circle{border-radius:9999px}.avatar-wrapper.avatar-square{border-radius:var(--borderRadius-base)}.avatar-wrapper.avatar-xs{height:1.5rem;width:1.5rem}.avatar-wrapper.avatar-xs .avatar-placeholder{font-size:.75rem;line-height:1rem}.avatar-wrapper.avatar-sm{height:2rem;width:2rem}.avatar-wrapper.avatar-sm .avatar-placeholder{font-size:.75rem;line-height:1rem}.avatar-wrapper.avatar-md{height:2.5rem;width:2.5rem}.avatar-wrapper.avatar-lg{height:3rem;width:3rem}.alert-wrapper[data-v-dfa24a7f]{box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--borderRadius-base);border-width:1px;padding:12px 16px}.alert-wrapper .alert-header[data-v-dfa24a7f]{display:flex}.alert-wrapper .alert-header .alert-icon[data-v-dfa24a7f]{margin-right:.75rem;align-self:center;font-size:1.125rem;line-height:1.75rem}.alert-wrapper .alert-header .alert-title[data-v-dfa24a7f]{margin-right:.75rem;flex:1 1 0%;align-self:center;font-size:.875rem;line-height:1.25rem;font-weight:500}.alert-wrapper .alert-header .alert-close[data-v-dfa24a7f]{cursor:pointer;align-self:center;border-radius:9999px;padding:.125rem}.alert-wrapper .alert-header .alert-close[data-v-dfa24a7f]:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.alert-wrapper .alert-description[data-v-dfa24a7f]{margin-top:.5rem;font-size:.75rem;line-height:1rem}.alert-wrapper .alert-actions[data-v-dfa24a7f]{margin-top:.75rem;border-top-width:1px;padding-top:.5rem}.alert-wrapper.alert-default[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.alert-wrapper.alert-default .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-default .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.alert-wrapper.alert-default .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-default .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.alert-wrapper.alert-success[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.alert-wrapper.alert-success .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-success .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.alert-wrapper.alert-success .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-success .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.alert-wrapper.alert-info[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.alert-wrapper.alert-info .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-info .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.alert-wrapper.alert-info .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-info .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}.alert-wrapper.alert-warning[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.alert-wrapper.alert-warning .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-warning .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.alert-wrapper.alert-warning .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-warning .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}.alert-wrapper.alert-error[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.alert-wrapper.alert-error .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-error .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.alert-wrapper.alert-error .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-error .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.btn{display:inline-flex;height:2.25rem;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--borderRadius-base);border-style:none;padding-left:1rem;padding-right:1rem;text-align:center;vertical-align:middle;font-size:.875rem;line-height:1.25rem;text-decoration-line:none;outline-width:0px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn:hover{opacity:.9}.btn:active{opacity:1}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-default{border:1px solid #d9d9d9}.btn-default .btn-icon{--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.btn-primary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.btn-secondary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.btn-danger{background-color:#d71d1d!important;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-block{width:100%}.btn-icon{margin-right:.75rem;height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-loading{cursor:not-allowed}.btn-loading:hover{opacity:1}.btn-lg{height:2.75rem;padding-left:1.25rem;padding-right:1.25rem;font-size:1.125rem;line-height:1.75rem}.btn-sm{height:1.75rem;padding-left:.75rem;padding-right:.75rem;font-size:.75rem;line-height:1rem}.btn-sm .btn-icon{margin-right:.5rem;height:.75rem;width:.75rem}.btn-xs{height:1.5rem;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem}.btn-xs .btn-icon{margin-right:.5rem;height:.75rem;width:.75rem}.btn-circle{width:2.25rem;border-radius:9999px;padding:0}.btn-lg.btn-circle{width:2.75rem}.btn-sm.btn-circle{width:1.75rem}.btn-xs.btn-circle{width:1.5rem}.card-wrapper{box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border:1px solid #eaecf0}.card-wrapper .card-header{display:flex;justify-content:space-between;border-bottom:1px solid #eaecf0}.card-wrapper .card-header .card-header-title{align-self:center;font-size:1rem;line-height:1.5rem;font-weight:700;padding:12px 16px}.card-wrapper .card-header .card-header-actions{align-self:center}.card-wrapper .card-body{padding:12px 16px}.card-wrapper .card-footer{border-top:1px solid #eaecf0;padding:12px 16px}.menu-item{cursor:pointer}.menu-item-title{position:relative;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--borderRadius-base);padding:.5rem;font-size:1rem;line-height:1.5rem;font-weight:400;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.menu-item-title:hover,.menu-item-title.active{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));font-weight:500}.menu-item-title.active:after{position:absolute;top:calc(50% - 13px);left:-8px;width:3px;height:26px;content:"";background:#242e41;border-radius:6px}.menu-icon-collapse.open{transform:rotate(90deg)}.submenus-show-enter-active{transition:all .1s ease-out}.submenus-show-leave-active{transition:all .8s cubic-bezier(1,.5,.8,1)}.submenus-show-enter-from,.submenus-show-enter-to{transform:translateY(-10px);opacity:0}.menu-label{padding-top:10px;padding-bottom:10px;color:#847e7e;font-size:14px;font-weight:400}.modal-wrapper{position:fixed;left:0px;top:0px;display:flex;height:100%;width:100%;flex-direction:row;align-items:flex-start;justify-content:center;padding-top:2.5rem;padding-bottom:2.5rem;z-index:999}.modal-wrapper .modal-layer{position:absolute;top:0px;left:0px;height:100%;width:100%;flex:none;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-bg-opacity: .75;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.modal-wrapper .modal-content{position:relative;display:flex;flex-direction:column;align-items:stretch;border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);width:calc(100vw - 20px);max-height:calc(100vh - 5rem)}.modal-wrapper .modal-content.modal-focus{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.modal-wrapper .modal-content .modal-header{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;border-bottom-width:1px;padding:10px 16px}.modal-wrapper .modal-content .modal-header .modal-header-title{font-size:1rem;line-height:1.5rem;font-weight:500}.modal-wrapper .modal-content .modal-header .modal-header-actions{display:flex;flex-direction:row;gap:.5rem}.modal-wrapper .modal-content .modal-header .modal-header-actions span{display:inline-flex;height:1.75rem;width:1.75rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;border-radius:9999px;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.modal-wrapper .modal-content .modal-header .modal-header-actions span:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .modal-wrapper .modal-content .modal-header .modal-header-actions span{display:none}.modal-wrapper .modal-content .modal-body{flex:1 1 0%;overflow-x:hidden;overflow-y:hidden;word-wrap:break-word;padding:12px 16px}.modal-wrapper .modal-content .modal-footer{border-top-width:1px;padding:12px 16px}.modal-wrapper.modal-wrapper-centered{align-items:center;padding-top:0;padding-bottom:0}.modal-wrapper.modal-wrapper-centered .modal-content{max-height:calc(100vh - 20px)!important}.modal-wrapper.modal-wrapper-fullscreen .modal-content{width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;border-radius:0}.space-wrapper{box-sizing:border-box;display:inline-flex}.space-wrapper.space-direction-row{flex-direction:row}.space-wrapper.space-direction-column{flex-direction:column}.space-wrapper.space-align-center{align-items:center}.space-wrapper.space-align-start{align-items:flex-start}.space-wrapper.space-align-end{align-items:flex-end}.space-wrapper.space-align-stretch{align-items:stretch}.tabs-wrapper{display:flex}.tabs-wrapper.tabs-direction-row{flex-direction:column}.tabs-wrapper.tabs-direction-row .tabs-items-wrapper{margin-top:.5rem}.tabs-wrapper.tabs-direction-column .tabs-items-wrapper{margin-left:.5rem}.tabbar-wrapper .tabbar-items{display:flex;flex-direction:row;align-items:center;overflow-x:auto;padding-top:.125rem;padding-bottom:.125rem}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-track-piece{background-color:#f8f8f8;border-radius:2em}.tabbar-wrapper .tabbar-items::-webkit-scrollbar{width:4px;height:4px}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-thumb{background-color:#ddd;background-clip:padding-box;border-radius:2em}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-thumb:hover{background-color:#bbb}.tabbar-wrapper .tabbar-item{display:inline-flex;height:2.25rem;cursor:pointer;justify-content:center;gap:.5rem;align-self:center;white-space:nowrap;font-size:.875rem;line-height:1.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tabbar-wrapper .tabbar-item .tabbar-item-label,.tabbar-wrapper .tabbar-item .tabbar-item-icon{align-self:center}.tabbar-wrapper.tabbar-default{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity))}.tabbar-wrapper.tabbar-default .tabbar-items{margin-bottom:-2px;justify-content:flex-start}.tabbar-wrapper.tabbar-default .tabbar-item{--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity));padding:.25rem 1.25rem;border-bottom-width:2px}.tabbar-wrapper.tabbar-default .tabbar-item.tabbar-item-active{--tw-border-opacity: 1;border-bottom-color:rgba(var(--colors-secondary),var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.tabbar-wrapper.tabbar-pills .tabbar-items{gap:.25rem;justify-content:flex-start}.tabbar-wrapper.tabbar-pills .tabbar-item{border-radius:var(--borderRadius-base);padding:.25rem 1.5rem;opacity:.7}.tabbar-wrapper.tabbar-pills .tabbar-item.tabbar-item-active{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));opacity:1}.tabbar-wrapper.tabbar-pills .tabbar-item:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.tabbar-wrapper.tabbar-outline{border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.125rem .25rem}.tabbar-wrapper.tabbar-outline .tabbar-items{justify-content:flex-start;gap:.25rem}.tabbar-wrapper.tabbar-outline .tabbar-item{border-radius:.125rem;padding:.25rem 1.5rem;opacity:.7}.tabbar-wrapper.tabbar-outline .tabbar-item.tabbar-item-active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));opacity:1;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tabbar-wrapper.tabbar-outline .tabbar-item:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tabbar-wrapper.tabbar-direction-row .tabbar-items{flex-direction:row}.tabbar-wrapper.tabbar-direction-column .tabbar-items{flex-direction:column}.tabbar-wrapper.tabbar-direction-column .tabbar-item{width:100%}.tabbar-wrapper.tabbar-direction-column.tabbar-default{border-bottom-width:0;border-bottom-width:0px;border-right-width:2px;--tw-border-opacity: 1;border-right-color:rgb(243 244 246 / var(--tw-border-opacity))}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-items{margin-bottom:0;margin-right:-2px}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-item{border-bottom-width:0;border-right-width:2px}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-item.tabbar-item-active{--tw-border-opacity: 1;border-right-color:rgba(var(--colors-secondary),var(--tw-border-opacity))}.tag-wrapper{box-sizing:border-box;display:inline-flex;height:1.25rem;width:auto;flex-shrink:0;cursor:pointer;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--borderRadius-base);border-width:1px;border-style:solid;text-align:center;vertical-align:middle;font-size:.75rem;line-height:1rem}.tag-wrapper.tag-default{border:1px solid #d9d9d9}.tag-wrapper.tag-primary{--tw-border-opacity: 1;border-color:rgba(var(--colors-primary),var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-secondary{--tw-border-opacity: 1;border-color:rgba(var(--colors-secondary),var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-danger{background:#d71d1d;border:1px solid #d71d1d;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-rounded{border-radius:9999px}.tag-wrapper .tag-content{padding-left:.25rem;padding-right:.25rem}.tag-wrapper .tag-left-icon{padding-left:.25rem}.tag-wrapper .tag-right-icon{padding-right:.25rem}.switch-wrapper{box-sizing:border-box;display:inline-flex}.switch-wrapper .switch-inner{position:relative;display:inline-flex;height:1.5rem;width:2.75rem;flex-shrink:0;cursor:pointer;border-radius:9999px;border-width:2px;border-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.switch-wrapper .switch-inner.switch-disabled{cursor:not-allowed;opacity:.6}.switch-wrapper .switch-inner .switch-indicator{pointer-events:none;display:inline-block;height:1.25rem;width:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.empty-wrapper{margin-top:2.5rem;margin-bottom:2.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:2.5rem;padding-right:2.5rem}.empty-wrapper .empty-title{text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.empty-wrapper .empty-message{margin-top:.375rem;text-align:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.empty-wrapper .empty-actions{margin-top:1.25rem;display:flex;flex-direction:row}.status-dot-wrapper{display:flex;align-items:center;gap:.5rem}.status-dot-wrapper .status-dot-body{display:inline-flex;height:.5rem;width:.5rem;align-items:center;justify-content:center;border-radius:9999px}.status-dot-wrapper .status-dot-inner{display:inline-block;height:.375rem;width:.375rem;border-radius:9999px}.status-dot-wrapper .status-dot-text{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.status-dot-wrapper.status-dot-animate .status-dot-inner{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.status-dot-wrapper.status-dot-default .status-dot-body,.status-dot-wrapper.status-dot-default .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-success .status-dot-body,.status-dot-wrapper.status-dot-success .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-warning .status-dot-body,.status-dot-wrapper.status-dot-warning .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-error .status-dot-body,.status-dot-wrapper.status-dot-error .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.dropdown-item-wrapper{display:flex;width:100%;cursor:pointer;align-items:center;justify-content:space-between;gap:.25rem;border-radius:.25rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem}.dropdown-item-wrapper--default{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.dropdown-item-wrapper--default:hover,.dropdown-item-wrapper--default--selected{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dropdown-item-wrapper--danger{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.dropdown-item-wrapper--danger:hover,.dropdown-item-wrapper--danger--selected{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.entity-wrapper{position:relative;display:block;width:100%;cursor:pointer;padding:.75rem 1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-wrapper:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.entity-wrapper.entity-selected{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.entity-wrapper .entity-selected-indicator{position:absolute;top:0px;bottom:0px;left:0px;width:.125rem;--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))}.entity-wrapper .entity-body{position:relative;display:flex;width:100%;flex-direction:row;align-items:center}.entity-wrapper .entity-checkbox{margin-right:1rem;display:none;align-items:center}@media (min-width: 640px){.entity-wrapper .entity-checkbox{display:flex}}.entity-wrapper .entity-start{display:flex;flex:1 1 0%;align-items:center;gap:1rem}.entity-wrapper .entity-end{display:flex;flex-direction:column;align-items:flex-end;gap:1rem}@media (min-width: 640px){.entity-wrapper .entity-end{flex-direction:row;align-items:center;gap:1.5rem}}.entity-wrapper .entity-dropdown{margin-left:1rem;display:inline-flex;align-items:center}.entity-wrapper .entity-dropdown-trigger{cursor:pointer;border-radius:.25rem;padding:.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-wrapper .entity-dropdown-trigger:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.entity-field-wrapper{display:inline-flex;max-width:20rem;flex-direction:column;gap:.25rem}.entity-field-wrapper .entity-field-title-body{display:inline-flex;flex-direction:row;align-items:center}.entity-field-wrapper .entity-field-title-body .entity-field-title{margin-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}@media (min-width: 640px){.entity-field-wrapper .entity-field-title-body .entity-field-title{margin-right:.5rem}}.entity-field-wrapper .entity-field-description-body{display:inline-flex;align-items:center}.entity-field-wrapper .entity-field-description-body .entity-field-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.toast-container{pointer-events:none;position:fixed;left:0px;top:0px;z-index:9999;box-sizing:border-box;display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-wrapper{pointer-events:auto;position:relative;display:inline-block;max-width:20rem}.toast-container .toast-body{display:flex;cursor:pointer;align-items:center;gap:.5rem;overflow:hidden;word-break:break-all;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem .625rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-body:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.toast-container .toast-content{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;line-height:1.25rem}.toast-container .toast-description{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.toast-container .toast-control{cursor:pointer;border-radius:9999px;padding:.125rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-control:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.toast-container .toast-count{position:absolute;right:-.25rem;top:-.25rem;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.toast-container .toast-count span{font-size:.7rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.v-popper--theme-tooltip{pointer-events:none} +*/.os-size-observer,.os-size-observer-listener{direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-environment{--os-custom-prop: -1;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:var(--os-custom-prop)}.os-environment div{width:200%;height:200%;margin:10px 0}.os-environment.os-environment-flexbox-glue{display:flex;flex-direction:row;flex-wrap:nowrap;height:auto;width:auto;min-height:200px;min-width:200px}.os-environment.os-environment-flexbox-glue div{flex:auto;width:auto;height:auto;max-height:100%;max-width:100%;margin:0}.os-environment.os-environment-flexbox-glue-max{max-height:200px}.os-environment.os-environment-flexbox-glue-max div{overflow:visible}.os-environment.os-environment-flexbox-glue-max div:before{content:"";display:block;height:999px;width:999px}.os-environment,.os-viewport{-ms-overflow-style:scrollbar!important}[data-overlayscrollbars-initialize],[data-overlayscrollbars~=scrollbarHidden],.os-viewport-scrollbar-hidden.os-environment,.os-viewport-scrollbar-hidden.os-viewport{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,.os-viewport-scrollbar-hidden.os-environment::-webkit-scrollbar,.os-viewport-scrollbar-hidden.os-environment::-webkit-scrollbar-corner,.os-viewport-scrollbar-hidden.os-viewport::-webkit-scrollbar,.os-viewport-scrollbar-hidden.os-viewport::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]{overflow:auto}html[data-overlayscrollbars],html.os-viewport-scrollbar-hidden,html.os-viewport-scrollbar-hidden>body{box-sizing:border-box;margin:0;width:100%;height:100%}html[data-overlayscrollbars]>body{overflow:visible}[data-overlayscrollbars~=host]{position:relative}[data-overlayscrollbars~=host],.os-padding{display:flex;flex-direction:row!important;flex-wrap:nowrap!important}.os-padding,.os-viewport{box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;padding:0;margin:0;border:none;z-index:0}.os-viewport{--os-vaw: 0;--os-vah: 0}.os-viewport.os-viewport-arrange:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars~=host],[data-overlayscrollbars~=viewport]{overflow:hidden}[data-overlayscrollbars~=overflowVisible]{overflow:visible}[data-overlayscrollbars-overflow-x=hidden]{overflow-x:hidden}[data-overlayscrollbars-overflow-x=scroll]{overflow-x:scroll}[data-overlayscrollbars-overflow-x=hidden]{overflow-y:hidden}[data-overlayscrollbars-overflow-y=scroll]{overflow-y:scroll}.os-padding,.os-viewport{overflow:hidden}.os-overflow-visible{overflow:visible}.os-content{box-sizing:inherit}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] .os-padding{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>.os-padding,[data-overlayscrollbars-grid]>.os-viewport,[data-overlayscrollbars-grid]>.os-padding>.os-viewport{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;direction:ltr!important;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible,.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hidden{opacity:0;visibility:hidden}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0}.os-scrollbar-vertical .os-scrollbar-handle{right:0}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars~=updating]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size: 10px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .44);--os-handle-bg-hover: rgba(0, 0, 0, .55);--os-handle-bg-active: rgba(0, 0, 0, .66)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .44);--os-handle-bg-hover: rgba(255, 255, 255, .55);--os-handle-bg-active: rgba(255, 255, 255, .66)}.os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-handle,.os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-track,.os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-track{border-radius:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal{padding:2px;right:10px;height:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal.os-scrollbar-rtl,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal.os-scrollbar-rtl{left:10px;right:0}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle{min-width:33px;max-width:none}.os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle:before{top:-6px;bottom:-2px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical,.os-no-css-vars.os-theme-light.os-scrollbar-vertical{padding:2px;bottom:10px;width:10px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle,.os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle{min-height:33px;max-height:none}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle:before{left:-6px;right:-2px}.os-no-css-vars.os-theme-dark.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before,.os-no-css-vars.os-theme-light.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:-6px;left:-2px}.os-no-css-vars.os-theme-dark .os-scrollbar-handle{background:rgba(0,0,0,.44)}.os-no-css-vars.os-theme-dark:hover .os-scrollbar-handle{background:rgba(0,0,0,.55)}.os-no-css-vars.os-theme-dark:active .os-scrollbar-handle{background:rgba(0,0,0,.66)}.os-no-css-vars.os-theme-light .os-scrollbar-handle{background:rgba(255,255,255,.44)}.os-no-css-vars.os-theme-light:hover .os-scrollbar-handle{background:rgba(255,255,255,.55)}.os-no-css-vars.os-theme-light:active .os-scrollbar-handle{background:rgba(255,255,255,.66)}.avatar-wrapper{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.avatar-wrapper img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar-wrapper .avatar-fallback{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.avatar-wrapper .avatar-loading{height:1.25rem;width:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}.avatar-wrapper .avatar-loading{animation:spin 1s linear infinite}.avatar-wrapper .avatar-placeholder{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.avatar-wrapper .avatar-error{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.avatar-wrapper.avatar-circle{border-radius:9999px}.avatar-wrapper.avatar-square{border-radius:var(--borderRadius-base)}.avatar-wrapper.avatar-xs{height:1.5rem;width:1.5rem}.avatar-wrapper.avatar-xs .avatar-placeholder{font-size:.75rem;line-height:1rem}.avatar-wrapper.avatar-sm{height:2rem;width:2rem}.avatar-wrapper.avatar-sm .avatar-placeholder{font-size:.75rem;line-height:1rem}.avatar-wrapper.avatar-md{height:2.5rem;width:2.5rem}.avatar-wrapper.avatar-lg{height:3rem;width:3rem}.alert-wrapper[data-v-dfa24a7f]{box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--borderRadius-base);border-width:1px;padding:12px 16px}.alert-wrapper .alert-header[data-v-dfa24a7f]{display:flex}.alert-wrapper .alert-header .alert-icon[data-v-dfa24a7f]{margin-right:.75rem;align-self:center;font-size:1.125rem;line-height:1.75rem}.alert-wrapper .alert-header .alert-title[data-v-dfa24a7f]{margin-right:.75rem;flex:1 1 0%;align-self:center;font-size:.875rem;line-height:1.25rem;font-weight:500}.alert-wrapper .alert-header .alert-close[data-v-dfa24a7f]{cursor:pointer;align-self:center;border-radius:9999px;padding:.125rem}.alert-wrapper .alert-header .alert-close[data-v-dfa24a7f]:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.alert-wrapper .alert-description[data-v-dfa24a7f]{margin-top:.5rem;font-size:.75rem;line-height:1rem}.alert-wrapper .alert-actions[data-v-dfa24a7f]{margin-top:.75rem;border-top-width:1px;padding-top:.5rem}.alert-wrapper.alert-default[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.alert-wrapper.alert-default .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-default .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.alert-wrapper.alert-default .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-default .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.alert-wrapper.alert-success[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.alert-wrapper.alert-success .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-success .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.alert-wrapper.alert-success .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-success .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.alert-wrapper.alert-info[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.alert-wrapper.alert-info .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-info .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.alert-wrapper.alert-info .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-info .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}.alert-wrapper.alert-warning[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.alert-wrapper.alert-warning .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-warning .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.alert-wrapper.alert-warning .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-warning .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}.alert-wrapper.alert-error[data-v-dfa24a7f]{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.alert-wrapper.alert-error .alert-icon[data-v-dfa24a7f],.alert-wrapper.alert-error .alert-description[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.alert-wrapper.alert-error .alert-close[data-v-dfa24a7f],.alert-wrapper.alert-error .alert-title[data-v-dfa24a7f]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.btn{display:inline-flex;height:2.25rem;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--borderRadius-base);border-style:none;padding-left:1rem;padding-right:1rem;text-align:center;vertical-align:middle;font-size:.875rem;line-height:1.25rem;text-decoration-line:none;outline-width:0px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn:hover{opacity:.9}.btn:active{opacity:1}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-default{border:1px solid #d9d9d9}.btn-default .btn-icon{--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.btn-primary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.btn-secondary{--tw-bg-opacity: 1 !important;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.btn-danger{background-color:#d71d1d!important;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-block{width:100%}.btn-icon{margin-right:.75rem;height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-loading{cursor:not-allowed}.btn-loading:hover{opacity:1}.btn-lg{height:2.75rem;padding-left:1.25rem;padding-right:1.25rem;font-size:1.125rem;line-height:1.75rem}.btn-sm{height:1.75rem;padding-left:.75rem;padding-right:.75rem;font-size:.75rem;line-height:1rem}.btn-sm .btn-icon{margin-right:.5rem;height:.75rem;width:.75rem}.btn-xs{height:1.5rem;padding-left:.5rem;padding-right:.5rem;font-size:.75rem;line-height:1rem}.btn-xs .btn-icon{margin-right:.5rem;height:.75rem;width:.75rem}.btn-circle{width:2.25rem;border-radius:9999px;padding:0}.btn-lg.btn-circle{width:2.75rem}.btn-sm.btn-circle{width:1.75rem}.btn-xs.btn-circle{width:1.5rem}.card-wrapper{box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border:1px solid #eaecf0}.card-wrapper .card-header{display:flex;justify-content:space-between;border-bottom:1px solid #eaecf0}.card-wrapper .card-header .card-header-title{align-self:center;font-size:1rem;line-height:1.5rem;font-weight:700;padding:12px 16px}.card-wrapper .card-header .card-header-actions{align-self:center}.card-wrapper .card-body{padding:12px 16px}.card-wrapper .card-footer{border-top:1px solid #eaecf0;padding:12px 16px}.menu-item{cursor:pointer}.menu-item-title{position:relative;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--borderRadius-base);padding:.5rem;font-size:1rem;line-height:1.5rem;font-weight:400;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.menu-item-title:hover,.menu-item-title.active{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));font-weight:500}.menu-item-title.active:after{position:absolute;top:calc(50% - 13px);left:-8px;width:3px;height:26px;content:"";background:#242e41;border-radius:6px}.menu-icon-collapse.open{transform:rotate(90deg)}.submenus-show-enter-active{transition:all .1s ease-out}.submenus-show-leave-active{transition:all .8s cubic-bezier(1,.5,.8,1)}.submenus-show-enter-from,.submenus-show-enter-to{transform:translateY(-10px);opacity:0}.menu-label{padding-top:10px;padding-bottom:10px;color:#847e7e;font-size:14px;font-weight:400}.modal-wrapper{position:fixed;left:0px;top:0px;display:flex;height:100%;width:100%;flex-direction:row;align-items:flex-start;justify-content:center;padding-top:2.5rem;padding-bottom:2.5rem;z-index:999}.modal-wrapper .modal-layer{position:absolute;top:0px;left:0px;height:100%;width:100%;flex:none;background-color:rgb(107 114 128 / var(--tw-bg-opacity));--tw-bg-opacity: .75;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.modal-wrapper .modal-content{position:relative;display:flex;flex-direction:column;align-items:stretch;border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);width:calc(100vw - 20px);max-height:calc(100vh - 5rem)}.modal-wrapper .modal-content.modal-focus{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.modal-wrapper .modal-content .modal-header{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;border-bottom-width:1px;padding:10px 16px}.modal-wrapper .modal-content .modal-header .modal-header-title{font-size:1rem;line-height:1.5rem;font-weight:500}.modal-wrapper .modal-content .modal-header .modal-header-actions{display:flex;flex-direction:row;gap:.5rem}.modal-wrapper .modal-content .modal-header .modal-header-actions span{display:inline-flex;height:1.75rem;width:1.75rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;border-radius:9999px;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.modal-wrapper .modal-content .modal-header .modal-header-actions span:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .modal-wrapper .modal-content .modal-header .modal-header-actions span{display:none}.modal-wrapper .modal-content .modal-body{flex:1 1 0%;overflow-x:hidden;overflow-y:hidden;word-wrap:break-word;padding:12px 16px}.modal-wrapper .modal-content .modal-footer{border-top-width:1px;padding:12px 16px}.modal-wrapper.modal-wrapper-centered{align-items:center;padding-top:0;padding-bottom:0}.modal-wrapper.modal-wrapper-centered .modal-content{max-height:calc(100vh - 20px)!important}.modal-wrapper.modal-wrapper-fullscreen .modal-content{width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;border-radius:0}.space-wrapper{box-sizing:border-box;display:inline-flex}.space-wrapper.space-direction-row{flex-direction:row}.space-wrapper.space-direction-column{flex-direction:column}.space-wrapper.space-align-center{align-items:center}.space-wrapper.space-align-start{align-items:flex-start}.space-wrapper.space-align-end{align-items:flex-end}.space-wrapper.space-align-stretch{align-items:stretch}.tabs-wrapper{display:flex}.tabs-wrapper.tabs-direction-row{flex-direction:column}.tabs-wrapper.tabs-direction-row .tabs-items-wrapper{margin-top:.5rem}.tabs-wrapper.tabs-direction-column .tabs-items-wrapper{margin-left:.5rem}.tabbar-wrapper .tabbar-items{display:flex;flex-direction:row;align-items:center;overflow-x:auto;padding-top:.125rem;padding-bottom:.125rem}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-track-piece{background-color:#f8f8f8;border-radius:2em}.tabbar-wrapper .tabbar-items::-webkit-scrollbar{width:4px;height:4px}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-thumb{background-color:#ddd;background-clip:padding-box;border-radius:2em}.tabbar-wrapper .tabbar-items::-webkit-scrollbar-thumb:hover{background-color:#bbb}.tabbar-wrapper .tabbar-item{display:inline-flex;height:2.25rem;cursor:pointer;justify-content:center;gap:.5rem;align-self:center;white-space:nowrap;font-size:.875rem;line-height:1.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tabbar-wrapper .tabbar-item .tabbar-item-label,.tabbar-wrapper .tabbar-item .tabbar-item-icon{align-self:center}.tabbar-wrapper.tabbar-default{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity))}.tabbar-wrapper.tabbar-default .tabbar-items{margin-bottom:-2px;justify-content:flex-start}.tabbar-wrapper.tabbar-default .tabbar-item{--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity));padding:.25rem 1.25rem;border-bottom-width:2px}.tabbar-wrapper.tabbar-default .tabbar-item.tabbar-item-active{--tw-border-opacity: 1;border-bottom-color:rgba(var(--colors-secondary),var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(var(--colors-secondary),var(--tw-text-opacity))}.tabbar-wrapper.tabbar-pills .tabbar-items{gap:.25rem;justify-content:flex-start}.tabbar-wrapper.tabbar-pills .tabbar-item{border-radius:var(--borderRadius-base);padding:.25rem 1.5rem;opacity:.7}.tabbar-wrapper.tabbar-pills .tabbar-item.tabbar-item-active{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));opacity:1}.tabbar-wrapper.tabbar-pills .tabbar-item:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.tabbar-wrapper.tabbar-outline{border-radius:var(--borderRadius-base);--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.125rem .25rem}.tabbar-wrapper.tabbar-outline .tabbar-items{justify-content:flex-start;gap:.25rem}.tabbar-wrapper.tabbar-outline .tabbar-item{border-radius:.125rem;padding:.25rem 1.5rem;opacity:.7}.tabbar-wrapper.tabbar-outline .tabbar-item.tabbar-item-active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));opacity:1;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tabbar-wrapper.tabbar-outline .tabbar-item:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tabbar-wrapper.tabbar-direction-row .tabbar-items{flex-direction:row}.tabbar-wrapper.tabbar-direction-column .tabbar-items{flex-direction:column}.tabbar-wrapper.tabbar-direction-column .tabbar-item{width:100%}.tabbar-wrapper.tabbar-direction-column.tabbar-default{border-bottom-width:0;border-bottom-width:0px;border-right-width:2px;--tw-border-opacity: 1;border-right-color:rgb(243 244 246 / var(--tw-border-opacity))}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-items{margin-bottom:0;margin-right:-2px}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-item{border-bottom-width:0;border-right-width:2px}.tabbar-wrapper.tabbar-direction-column.tabbar-default .tabbar-item.tabbar-item-active{--tw-border-opacity: 1;border-right-color:rgba(var(--colors-secondary),var(--tw-border-opacity))}.tag-wrapper{box-sizing:border-box;display:inline-flex;height:1.25rem;width:auto;flex-shrink:0;cursor:pointer;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--borderRadius-base);border-width:1px;border-style:solid;text-align:center;vertical-align:middle;font-size:.75rem;line-height:1rem}.tag-wrapper.tag-default{border:1px solid #d9d9d9}.tag-wrapper.tag-primary{--tw-border-opacity: 1;border-color:rgba(var(--colors-primary),var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-secondary{--tw-border-opacity: 1;border-color:rgba(var(--colors-secondary),var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgba(var(--colors-secondary),var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-danger{background:#d71d1d;border:1px solid #d71d1d;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tag-wrapper.tag-rounded{border-radius:9999px}.tag-wrapper .tag-content{padding-left:.25rem;padding-right:.25rem}.tag-wrapper .tag-left-icon{padding-left:.25rem}.tag-wrapper .tag-right-icon{padding-right:.25rem}.switch-wrapper{box-sizing:border-box;display:inline-flex}.switch-wrapper .switch-inner{position:relative;display:inline-flex;height:1.5rem;width:2.75rem;flex-shrink:0;cursor:pointer;border-radius:9999px;border-width:2px;border-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.switch-wrapper .switch-inner.switch-disabled{cursor:not-allowed;opacity:.6}.switch-wrapper .switch-inner .switch-indicator{pointer-events:none;display:inline-block;height:1.25rem;width:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.empty-wrapper{margin-top:2.5rem;margin-bottom:2.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:2.5rem;padding-right:2.5rem}.empty-wrapper .empty-title{text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.empty-wrapper .empty-message{margin-top:.375rem;text-align:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.empty-wrapper .empty-actions{margin-top:1.25rem;display:flex;flex-direction:row}.status-dot-wrapper{display:flex;align-items:center;gap:.5rem}.status-dot-wrapper .status-dot-body{display:inline-flex;height:.5rem;width:.5rem;align-items:center;justify-content:center;border-radius:9999px}.status-dot-wrapper .status-dot-inner{display:inline-block;height:.375rem;width:.375rem;border-radius:9999px}.status-dot-wrapper .status-dot-text{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.status-dot-wrapper.status-dot-animate .status-dot-inner{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.status-dot-wrapper.status-dot-default .status-dot-body,.status-dot-wrapper.status-dot-default .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-success .status-dot-body,.status-dot-wrapper.status-dot-success .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-warning .status-dot-body,.status-dot-wrapper.status-dot-warning .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.status-dot-wrapper.status-dot-error .status-dot-body,.status-dot-wrapper.status-dot-error .status-dot-inner{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.dropdown-item-wrapper{display:flex;width:100%;cursor:pointer;align-items:center;justify-content:space-between;gap:.25rem;border-radius:.25rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem}.dropdown-item-wrapper--default{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.dropdown-item-wrapper--default:hover,.dropdown-item-wrapper--default--selected{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dropdown-item-wrapper--danger{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.dropdown-item-wrapper--danger:hover,.dropdown-item-wrapper--danger--selected{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.entity-wrapper{position:relative;display:block;width:100%;padding:.75rem 1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-wrapper:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.entity-wrapper.entity-selected{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.entity-wrapper .entity-selected-indicator{position:absolute;top:0px;bottom:0px;left:0px;width:.125rem;--tw-bg-opacity: 1;background-color:rgba(var(--colors-primary),var(--tw-bg-opacity))}.entity-wrapper .entity-body{position:relative;display:flex;width:100%;flex-direction:row;align-items:center}.entity-wrapper .entity-checkbox{margin-right:1rem;display:none;align-items:center}@media (min-width: 640px){.entity-wrapper .entity-checkbox{display:flex}}.entity-wrapper .entity-start{display:flex;flex:1 1 0%;align-items:center;gap:1rem}.entity-wrapper .entity-end{display:flex;flex-direction:column;align-items:flex-end;gap:1rem}@media (min-width: 640px){.entity-wrapper .entity-end{flex-direction:row;align-items:center;gap:1.5rem}}.entity-wrapper .entity-dropdown{margin-left:1rem;display:inline-flex;align-items:center}.entity-wrapper .entity-dropdown-trigger{cursor:pointer;border-radius:.25rem;padding:.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-wrapper .entity-dropdown-trigger:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.entity-field-wrapper{display:inline-flex;max-width:20rem;flex-direction:column;gap:.25rem}.entity-field-wrapper .entity-field-title-body{display:inline-flex;flex-direction:row;align-items:center}.entity-field-wrapper .entity-field-title-body .entity-field-title{margin-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}@media (min-width: 640px){.entity-field-wrapper .entity-field-title-body .entity-field-title{margin-right:.5rem}}.entity-field-wrapper .entity-field-description-body{display:inline-flex;align-items:center}.entity-field-wrapper .entity-field-description-body .entity-field-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.toast-container{pointer-events:none;position:fixed;left:0px;top:0px;z-index:9999;box-sizing:border-box;display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-wrapper{pointer-events:auto;position:relative;display:inline-block;max-width:20rem}.toast-container .toast-body{display:flex;cursor:pointer;align-items:center;gap:.5rem;overflow:hidden;word-break:break-all;border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem .625rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-body:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.toast-container .toast-content{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;line-height:1.25rem}.toast-container .toast-description{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.toast-container .toast-control{cursor:pointer;border-radius:9999px;padding:.125rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.toast-container .toast-control:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.toast-container .toast-count{position:absolute;right:-.25rem;top:-.25rem;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.toast-container .toast-count span{font-size:.7rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.v-popper--theme-tooltip{pointer-events:none}.description-wrapper>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse));--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.description-item-wrapper{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.25rem 1rem}.description-item-wrapper:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}@media (min-width: 640px){.description-item-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem;padding-left:1.5rem;padding-right:1.5rem}}.description-item-wrapper .description-item__label{font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.description-item-wrapper .description-item__content{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}@media (min-width: 640px){.description-item-wrapper .description-item__content{grid-column:span 6 / span 6;margin-top:0}}@media (min-width: 768px){.description-item-wrapper .description-item__content{grid-column:span 5 / span 5}}@media (min-width: 1024px){.description-item-wrapper .description-item__content{grid-column:span 3 / span 3}}