@vue/devtools-applet 7.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/index.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7392 -0
- package/dist/src/components/basic/DevToolsHeader.vue.d.ts +17 -0
- package/dist/src/components/basic/Empty.vue.d.ts +9 -0
- package/dist/src/components/basic/SelectiveList.vue.d.ts +20 -0
- package/dist/src/components/basic/ToggleExpanded.vue.d.ts +15 -0
- package/dist/src/components/state/ChildStateViewer.vue.d.ts +34 -0
- package/dist/src/components/state/RootStateViewer.vue.d.ts +36 -0
- package/dist/src/components/state/StateFieldEditor.vue.d.ts +45 -0
- package/dist/src/components/state/StateFieldInputEditor.vue.d.ts +47 -0
- package/dist/src/components/state/StateFieldViewer.vue.d.ts +20 -0
- package/dist/src/composables/connect-state.d.ts +6 -0
- package/dist/src/composables/hover.d.ts +9 -0
- package/dist/src/composables/state-editor.d.ts +33 -0
- package/dist/src/composables/toggle-expanded.d.ts +8 -0
- package/dist/src/composables/virtual-router.d.ts +12 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/pinia/components/DevToolsLogo.vue.d.ts +2 -0
- package/dist/src/pinia/components/Home.vue.d.ts +2 -0
- package/dist/src/pinia/components/store/Index.vue.d.ts +2 -0
- package/dist/src/pinia/components/timeline/EventList.vue.d.ts +30 -0
- package/dist/src/pinia/components/timeline/Index.vue.d.ts +2 -0
- package/dist/src/pinia/index.d.ts +2 -0
- package/dist/src/pinia/index.vue.d.ts +2 -0
- package/dist/src/utils/date.d.ts +2 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/uno.config.d.ts +2 -0
- package/dist/vite.config.d.ts +32 -0
- package/index.d.ts +1 -0
- package/package.json +43 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 webfansplz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),kt=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Jo={},Xo={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qo=o.createStaticVNode('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),ei=[Qo];function ti(e,t){return o.openBlock(),o.createElementBlock("svg",Xo,ei)}const ni=kt(Jo,[["render",ti]]),zn=Symbol("VirtualRouteKey");function oi(e){const t=o.ref({path:"/"}),n=o.computed(()=>t.value.path),i=o.defineComponent({setup(){return()=>{const r=e.find(s=>s.path===n.value);return r?o.h(r.component):null}}});return o.provide(zn,t),{VirtualRouterView:i}}function Vn(){const e=o.inject(zn);return{push(t){e.value.path=t}}}const ii={"h-full":"","w-full":"",flex:"","items-center":""},ri={flex:"~ col gap2",ma:"","px-5":""},si=o.createElementVNode("div",{"flex-auto":""},null,-1),ai={flex:"~ col","mt-20":"","items-center":""},li={flex:"~","mt--10":"","items-center":"","justify-center":""},ui=o.createElementVNode("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[o.createElementVNode("span",{op40:""}," Pinia DevTools ")],-1),ci=o.createElementVNode("div",{"flex-auto":""},null,-1),di={flex:"~ gap2 wrap"},pi=o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":""},[o.createElementVNode("div",{"i-logos-pinia":"","text-3xl":""})],-1),fi=o.createElementVNode("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),hi=o.createElementVNode("code",null,"Store",-1),mi=[fi,hi],vi=o.createElementVNode("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),gi=o.createElementVNode("div",null,"Timeline",-1),yi=[vi,gi],_i=o.createElementVNode("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[o.createElementVNode("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[o.createElementVNode("div",{"i-carbon-star":""}),o.createTextVNode(" Star on GitHub ")]),o.createElementVNode("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[o.createElementVNode("div",{"i-carbon-document":""}),o.createTextVNode(" View Documentation ")])],-1),wi=o.createElementVNode("div",{"flex-auto":""},null,-1),bi=o.defineComponent({__name:"Home",setup(e){const t=Vn();return(n,i)=>(o.openBlock(),o.createElementBlock("div",ii,[o.createElementVNode("div",ri,[si,o.createElementVNode("div",ai,[o.createElementVNode("div",li,[o.createVNode(ni,{"h-18":""})]),ui]),ci,o.createElementVNode("div",di,[pi,o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[0]||(i[0]=r=>o.unref(t).push("/store"))},mi),o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[1]||(i[1]=r=>o.unref(t).push("/timeline"))},yi)]),_i,wi])]))}}),Rn={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((i,r)=>(i.size=r===t?i.max:i.min,r!==t&&(n+=i.min),i)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(i=>({min:i.min,max:i.max,size:i.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:i}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:i-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const i=0+(this.pushOtherPanes?0:n.prevPanesSize),r=100-(this.pushOtherPanes?0:n.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(e),r),i);let a=[t,t+1],l=this.panes[a[0]]||null,c=this.panes[a[1]]||null;const u=l.max<100&&s>=l.max+n.prevPanesSize,p=c.max<100&&s<=100-(c.max+this.sumNextPanesSize(t+1));if(u||p){u?(l.size=l.max,c.size=Math.max(100-l.max-n.prevPanesSize-n.nextPanesSize,0)):(l.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const d=this.doPushOtherPanes(n,s);if(!d)return;({sums:n,panesToResize:a}=d),l=this.panes[a[0]]||null,c=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,l.min),l.max)),c!==null&&(c.size=Math.min(Math.max(100-s-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,i=[n,n+1];return t<e.prevPanesSize+this.panes[i[0]].min&&(i[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,i[0]<n&&this.panes.forEach((r,s)=>{s>i[0]&&s<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),e.prevPanesSize=this.sumPrevPanesSize(i[0]),i[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((r,s)=>{s>0&&s<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),this.panes[i[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[i[1]].min&&(i[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,i[1]>n+1&&this.panes.forEach((r,s)=>{s>n&&s<i[1]&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),e.nextPanesSize=this.sumNextPanesSize(i[1]-1),i[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((r,s)=>{s<this.panesCount-1&&s>=n+1&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),this.panes[i[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:i}},sumPrevPanesSize(e){return this.panes.reduce((t,n,i)=>t+(i<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,i)=>t+(i>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const i=e-1,r=document.createElement("div");r.classList.add("splitpanes__splitter"),n||(r.onmousedown=s=>this.onMouseDown(s,i),typeof window<"u"&&"ontouchstart"in window&&(r.ontouchstart=s=>this.onMouseDown(s,i)),r.onclick=s=>this.onSplitterClick(s,i+1)),this.dblClickSplitter&&(r.ondblclick=s=>this.onSplitterDblClick(s,i+1)),t.parentNode.insertBefore(r,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([i,r])=>n[i]=r)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(r=>(r.className.includes("splitpanes__pane")&&t++,r===e.$el));const n=parseFloat(e.minSize),i=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(i)?100:i,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((r,s)=>r.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(i=>i.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((i,r)=>i.index=r),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],i=[];this.panes.forEach(r=>{r.size=Math.max(Math.min(e,r.max),r.min),t-=r.size,r.size>=r.max&&n.push(r.id),r.size<=r.min&&i.push(r.id)}),t>.1&&this.readjustSizes(t,n,i)},initialPanesSizing(){let e=100;const t=[],n=[];let i=0;this.panes.forEach(s=>{e-=s.size,s.size!==null&&i++,s.size>=s.max&&t.push(s.id),s.size<=s.min&&n.push(s.id)});let r=100;e>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(e/(this.panesCount-i),s.max),s.min)),r-=s.size}),r>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,i=0;const r=[],s=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{i-=a.size,a.size>=a.max&&r.push(a.id),a.size<=a.min&&s.push(a.id)}),!(Math.abs(i)<.1)&&(this.panes.forEach(a=>{e&&e.givenSize!==null&&e.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),i-=a.size,a.size>=a.max&&r.push(a.id),a.size<=a.min&&s.push(a.id)}),i>.1&&this.readjustSizes(i,r,s))},readjustSizes(e,t,n){let i;e>0?i=e/(this.panesCount-t.length):i=e/(this.panesCount-n.length),this.panes.forEach((r,s)=>{if(e>0&&!t.includes(r.id)){const a=Math.max(Math.min(r.size+i,r.max),r.min),l=a-r.size;e-=l,r.size=a}else if(!n.includes(r.id)){const a=Math.max(Math.min(r.size+i,r.max),r.min),l=a-r.size;e-=l,r.size=a}r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?i=>this.onSplitterDblClick(i,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return o.h("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},xi=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Ei={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function Ci(e,t,n,i,r,s){return o.openBlock(),o.createElementBlock("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=a=>s.onPaneClick(a,e._.uid)),style:o.normalizeStyle(e.style)},[o.renderSlot(e.$slots,"default")],4)}const Fe=xi(Ei,[["render",Ci]]);var ki=Object.create,In=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,St=Object.getOwnPropertyNames,Ai=Object.getPrototypeOf,$i=Object.prototype.hasOwnProperty,Bi=(e,t)=>function(){return e&&(t=(0,e[St(e)[0]])(e=0)),t},Ti=(e,t)=>function(){return t||(0,e[St(e)[0]])((t={exports:{}}).exports,t),t.exports},Ni=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of St(t))!$i.call(e,r)&&r!==n&&In(e,r,{get:()=>t[r],enumerable:!(i=Si(t,r))||i.enumerable});return e},Di=(e,t,n)=>(n=e!=null?ki(Ai(e)):{},Ni(t||!e||!e.__esModule?In(n,"default",{value:e,enumerable:!0}):n,e)),De=Bi({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.35_typescript@5.4.2/node_modules/tsup/assets/esm_shims.js"(){}}),Pi=Ti({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){De(),t.exports=i;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function i(s){if(s=s||{},s.circles)return r(s);return s.proto?c:l;function a(u,p){for(var d=Object.keys(u),f=new Array(d.length),h=0;h<d.length;h++){var v=d[h],m=u[v];typeof m!="object"||m===null?f[v]=m:m instanceof Date?f[v]=new Date(m):ArrayBuffer.isView(m)?f[v]=n(m):f[v]=p(m)}return f}function l(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return a(u,l);if(u instanceof Map)return new Map(a(Array.from(u),l));if(u instanceof Set)return new Set(a(Array.from(u),l));var p={};for(var d in u)if(Object.hasOwnProperty.call(u,d)!==!1){var f=u[d];typeof f!="object"||f===null?p[d]=f:f instanceof Date?p[d]=new Date(f):f instanceof Map?p[d]=new Map(a(Array.from(f),l)):f instanceof Set?p[d]=new Set(a(Array.from(f),l)):ArrayBuffer.isView(f)?p[d]=n(f):p[d]=l(f)}return p}function c(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return a(u,c);if(u instanceof Map)return new Map(a(Array.from(u),c));if(u instanceof Set)return new Set(a(Array.from(u),c));var p={};for(var d in u){var f=u[d];typeof f!="object"||f===null?p[d]=f:f instanceof Date?p[d]=new Date(f):f instanceof Map?p[d]=new Map(a(Array.from(f),c)):f instanceof Set?p[d]=new Set(a(Array.from(f),c)):ArrayBuffer.isView(f)?p[d]=n(f):p[d]=c(f)}return p}}function r(s){var a=[],l=[];return s.proto?p:u;function c(d,f){for(var h=Object.keys(d),v=new Array(h.length),m=0;m<h.length;m++){var g=h[m],y=d[g];if(typeof y!="object"||y===null)v[g]=y;else if(y instanceof Date)v[g]=new Date(y);else if(ArrayBuffer.isView(y))v[g]=n(y);else{var w=a.indexOf(y);w!==-1?v[g]=l[w]:v[g]=f(y)}}return v}function u(d){if(typeof d!="object"||d===null)return d;if(d instanceof Date)return new Date(d);if(Array.isArray(d))return c(d,u);if(d instanceof Map)return new Map(c(Array.from(d),u));if(d instanceof Set)return new Set(c(Array.from(d),u));var f={};a.push(d),l.push(f);for(var h in d)if(Object.hasOwnProperty.call(d,h)!==!1){var v=d[h];if(typeof v!="object"||v===null)f[h]=v;else if(v instanceof Date)f[h]=new Date(v);else if(v instanceof Map)f[h]=new Map(c(Array.from(v),u));else if(v instanceof Set)f[h]=new Set(c(Array.from(v),u));else if(ArrayBuffer.isView(v))f[h]=n(v);else{var m=a.indexOf(v);m!==-1?f[h]=l[m]:f[h]=u(v)}}return a.pop(),l.pop(),f}function p(d){if(typeof d!="object"||d===null)return d;if(d instanceof Date)return new Date(d);if(Array.isArray(d))return c(d,p);if(d instanceof Map)return new Map(c(Array.from(d),p));if(d instanceof Set)return new Set(c(Array.from(d),p));var f={};a.push(d),l.push(f);for(var h in d){var v=d[h];if(typeof v!="object"||v===null)f[h]=v;else if(v instanceof Date)f[h]=new Date(v);else if(v instanceof Map)f[h]=new Map(c(Array.from(v),p));else if(v instanceof Set)f[h]=new Set(c(Array.from(v),p));else if(ArrayBuffer.isView(v))f[h]=n(v);else{var m=a.indexOf(v);m!==-1?f[h]=l[m]:f[h]=p(v)}}return a.pop(),l.pop(),f}}}});De();De();var Oi=typeof navigator<"u",B=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof B.chrome<"u"&&B.chrome.devtools;Oi&&(B.self,B.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");De();var zi=Di(Pi(),1),Vi=/(?:^|[-_/])(\w)/g,Ri=/-(\w)/g;function Mn(e,t){return t?t.toUpperCase():""}function Ii(e){return e&&`${e}`.replace(Vi,Mn)}function Mi(e){return e&&e.replace(Ri,Mn)}function Fi(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),i=n.lastIndexOf("/"),r=n.substring(i+1);if(t){const s=r.lastIndexOf(t);return r.substring(0,s)}return""}function ji(e){return e&&e.slice().sort((t,n)=>t.key<n.key?-1:t.key>n.key?1:0)}var Rt=(0,zi.default)({circles:!0});function It(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}function Mt(e){return Array.isArray(e)}De();function gt(e,t={},n){for(const i in e){const r=e[i],s=n?`${n}:${i}`:i;typeof r=="object"&&r!==null?gt(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const Li={run:e=>e()},Hi=()=>Li,Fn=typeof console.createTask<"u"?console.createTask:Hi;function Ui(e,t){const n=t.shift(),i=Fn(n);return e.reduce((r,s)=>r.then(()=>i.run(()=>s(...t))),Promise.resolve())}function Gi(e,t){const n=t.shift(),i=Fn(n);return Promise.all(e.map(r=>i.run(()=>r(...t))))}function ct(e,t){for(const n of[...e])n(t)}class Wi{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,i={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!i.allowDeprecated){let a=s.message;a||(a=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let i,r=(...s)=>(typeof i=="function"&&i(),i=void 0,r=void 0,n(...s));return i=this.hook(t,r),i}removeHook(t,n){if(this._hooks[t]){const i=this._hooks[t].indexOf(n);i!==-1&&this._hooks[t].splice(i,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const i=this._hooks[t]||[];delete this._hooks[t];for(const r of i)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=gt(t),i=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of i.splice(0,i.length))r()}}removeHooks(t){const n=gt(t);for(const i in n)this.removeHook(i,n[i])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Ui,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Gi,t,...n)}callHookWith(t,n,...i){const r=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&ct(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],i);return s instanceof Promise?s.finally(()=>{this._after&&r&&ct(this._after,r)}):(this._after&&r&&ct(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function jn(){return new Wi}const qi={trailing:!0};function Je(e,t=25,n={}){if(n={...qi,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let i,r,s=[],a,l;const c=(u,p)=>(a=Yi(e,u,p),a.finally(()=>{if(a=null,n.trailing&&l&&!r){const d=c(u,l);return l=null,d}}),a);return function(...u){return a?(n.trailing&&(l=u),a):new Promise(p=>{const d=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const f=n.leading?i:c(this,u);for(const h of s)h(f);s=[]},t),d?(i=c(this,u),p(i)):s.push(p)})}}async function Yi(e,t,n){return await e.apply(t,n)}var Ki=Object.create,Ln=Object.defineProperty,Zi=Object.getOwnPropertyDescriptor,At=Object.getOwnPropertyNames,Ji=Object.getPrototypeOf,Xi=Object.prototype.hasOwnProperty,Qi=(e,t)=>function(){return e&&(t=(0,e[At(e)[0]])(e=0)),t},Hn=(e,t)=>function(){return t||(0,e[At(e)[0]])((t={exports:{}}).exports,t),t.exports},er=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of At(t))!Xi.call(e,r)&&r!==n&&Ln(e,r,{get:()=>t[r],enumerable:!(i=Zi(t,r))||i.enumerable});return e},tr=(e,t,n)=>(n=e!=null?Ki(Ji(e)):{},er(t||!e||!e.__esModule?Ln(n,"default",{value:e,enumerable:!0}):n,e)),b=Qi({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.35_typescript@5.4.2/node_modules/tsup/assets/esm_shims.js"(){}}),nr=Hn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){b(),function(n){var i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},c=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),p=[".","!","~","*","'","(",")"].join(""),d=function(g,y){var w="-",_="",k="",S=!0,E={},I,N,V,z,D,x,C,P,O,T,A,Z,j,J,X="";if(typeof g!="string")return"";if(typeof y=="string"&&(w=y),C=l.en,P=a.en,typeof y=="object"){I=y.maintainCase||!1,E=y.custom&&typeof y.custom=="object"?y.custom:E,V=+y.truncate>1&&y.truncate||!1,z=y.uric||!1,D=y.uricNoSlash||!1,x=y.mark||!1,S=!(y.symbols===!1||y.lang===!1),w=y.separator||w,z&&(X+=c),D&&(X+=u),x&&(X+=p),C=y.lang&&l[y.lang]&&S?l[y.lang]:S?l.en:{},P=y.lang&&a[y.lang]?a[y.lang]:y.lang===!1||y.lang===!0?{}:a.en,y.titleCase&&typeof y.titleCase.length=="number"&&Array.prototype.toString.call(y.titleCase)?(y.titleCase.forEach(function(H){E[H+""]=H+""}),N=!0):N=!!y.titleCase,y.custom&&typeof y.custom.length=="number"&&Array.prototype.toString.call(y.custom)&&y.custom.forEach(function(H){E[H+""]=H+""}),Object.keys(E).forEach(function(H){var ye;H.length>1?ye=new RegExp("\\b"+h(H)+"\\b","gi"):ye=new RegExp(h(H),"gi"),g=g.replace(ye,E[H])});for(A in E)X+=A}for(X+=w,X=h(X),g=g.replace(/(^\s+|\s+$)/g,""),j=!1,J=!1,T=0,Z=g.length;T<Z;T++)A=g[T],v(A,E)?j=!1:P[A]?(A=j&&P[A].match(/[A-Za-z0-9]/)?" "+P[A]:P[A],j=!1):A in i?(T+1<Z&&r.indexOf(g[T+1])>=0?(k+=A,A=""):J===!0?(A=s[k]+i[A],k=""):A=j&&i[A].match(/[A-Za-z0-9]/)?" "+i[A]:i[A],j=!1,J=!1):A in s?(k+=A,A="",T===Z-1&&(A=s[k]),J=!0):C[A]&&!(z&&c.indexOf(A)!==-1)&&!(D&&u.indexOf(A)!==-1)?(A=j||_.substr(-1).match(/[A-Za-z0-9]/)?w+C[A]:C[A],A+=g[T+1]!==void 0&&g[T+1].match(/[A-Za-z0-9]/)?w:"",j=!0):(J===!0?(A=s[k]+A,k="",J=!1):j&&(/[A-Za-z0-9]/.test(A)||_.substr(-1).match(/A-Za-z0-9]/))&&(A=" "+A),j=!1),_+=A.replace(new RegExp("[^\\w\\s"+X+"_-]","g"),w);return N&&(_=_.replace(/(\w)(\S*)/g,function(H,ye,Vt){var ut=ye.toUpperCase()+(Vt!==null?Vt:"");return Object.keys(E).indexOf(ut.toLowerCase())<0?ut:ut.toLowerCase()})),_=_.replace(/\s+/g,w).replace(new RegExp("\\"+w+"+","g"),w).replace(new RegExp("(^\\"+w+"+|\\"+w+"+$)","g"),""),V&&_.length>V&&(O=_.charAt(V)===w,_=_.slice(0,V),O||(_=_.slice(0,_.lastIndexOf(w)))),!I&&!N&&(_=_.toLowerCase()),_},f=function(g){return function(w){return d(w,g)}},h=function(g){return g.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},v=function(m,g){for(var y in g)if(g[y]===m)return!0};if(typeof t<"u"&&t.exports)t.exports=d,t.exports.createSlug=f;else if(typeof define<"u"&&define.amd)define([],function(){return d});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=d,n.createSlug=f}catch{}}(e)}}),or=Hn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){b(),t.exports=nr()}});b();b();b();b();b();b();b();b();b();b();var Ft,jt,le=(jt=(Ft=B).__VUE_DEVTOOLS_HOOK)!=null?jt:Ft.__VUE_DEVTOOLS_HOOK=jn(),ir={vueAppInit(e){le.hook("app:init",e)},vueAppConnected(e){le.hook("app:connected",e)},componentAdded(e){return le.hook("component:added",e)},componentUpdated(e){return le.hook("component:updated",e)},componentRemoved(e){return le.hook("component:removed",e)},setupDevtoolsPlugin(e){le.hook("devtools-plugin:setup",e)}},rr={on:ir,setupDevToolsPlugin(e,t){return le.callHook("devtools-plugin:setup",e,t)}};b();b();b();b();b();b();b();tr(or(),1);b();b();b();var Lt,Ht,Pe=(Ht=(Lt=B).__VUE_DEVTOOLS_API_HOOK)!=null?Ht:Lt.__VUE_DEVTOOLS_API_HOOK=jn();function sr(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function $t(e){return e.map(t=>{let{path:n,name:i,children:r}=t;return r!=null&&r.length&&(r=$t(r)),{path:n,name:i,children:r}})}function ar(e){if(e){const{fullPath:t,hash:n,href:i,path:r,name:s,matched:a,params:l,query:c}=e;return{fullPath:t,hash:n,href:i,path:r,name:s,params:l,query:c,matched:$t(a)}}return e}function lr(e){function t(){var n;const i=(n=e.app)==null?void 0:n.config.globalProperties.$router,r=ar(i==null?void 0:i.currentRoute.value),s=$t(sr(i)),a=console.warn;console.warn=()=>{},B[me]={currentRoute:r?Rt(r):{},routes:Rt(s)},B[Ue]=i,console.warn=a}t(),rr.on.componentUpdated(Je(()=>{t(),Pe.callHook("router-info:updated",B[me])},200))}b();b();b();function ur(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function Un(e){const t=e.__file;if(t)return Ii(Fi(t,".vue"))}function cr(e){const t=e.displayName||e.name||e._componentTag;return t||Un(e)}function Ut(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function dr(e){var t,n,i;const r=ur(e.type||{});if(r)return r;if(e.root===e)return"Root";for(const a in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[a]===e.type)return Ut(e,a);for(const a in(i=e.appContext)==null?void 0:i.components)if(e.appContext.components[a]===e.type)return Ut(e,a);const s=Un(e.type||{});return s||"Anonymous Component"}function se(e){try{return e()}catch(t){return t}}b();b();b();b();b();b();b();b();var pr=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Gt=/^\[native Symbol Symbol\((.*)\)\]$/,fr=/^\[object (\w+)]$/,je=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,hr=/^(?:function|class) (\w+)/,Wt=1e4,qt=5e3,Xe="__vue_devtool_undefined__",Qe="__vue_devtool_infinity__",et="__vue_devtool_negative_infinity__",tt="__vue_devtool_nan__",mr={"<":"<",">":">",'"':""","&":"&"};b();b();function vr(e){return e._&&Object.keys(e._).includes("vnode")}function Gn(e){return Object.prototype.toString.call(e)==="[object Object]"}function gr(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function Wn(e){return!!e.__v_isRef}function yr(e){return Wn(e)&&!!e.effect}function _r(e){return!!e.__v_isReactive}function wr(e){return!!e.__v_isReadonly}var Le={[Xe]:"undefined",[tt]:"NaN",[Qe]:"Infinity",[et]:"-Infinity"},dt=Object.entries(Le).reduce((e,[t,n])=>(e[n]=t,e),{});function br(e){return e===null?"null":typeof e=="string"&&Le[e]||!1}function xr(e){const t=new RegExp(`"(${Object.keys(Le).join("|")})"`,"g");return e.replace(t,(n,i)=>Le[i])}function Er(e){const t=dt[e.trim()];if(t)return`"${t}"`;const n=new RegExp(`:\\s*(${Object.keys(dt).join("|")})`,"g");return e.replace(n,(i,r)=>`:"${dt[r]}"`)}function qn(e){if(Array.isArray(e))return e.map(n=>qn(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(hr);return typeof e=="function"&&t&&t[1]||"any"}function Cr(e){return!gr(e)&&!Array.isArray(e)&&!Gn(e)?Object.prototype.toString.call(e):e}function Yn(e){return{ref:Wn(e),computed:yr(e),reactive:_r(e),readonly:wr(e)}}function Kn(e){return e!=null&&e.__v_raw?e.__v_raw:e}function we(e){return e.replace(/[<>"&]/g,t=>mr[t]||t)}function He(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:i,extends:r}=t;r&&He(e,r),i&&i.forEach(s=>He(e,s));for(const s of["computed","inject"])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]?Object.assign(e[s],t[s]):e[s]=t[s]);return e}function kr(e){const t=e.type,{mixins:n,extends:i}=t,r=e.appContext.mixins;if(!r.length&&!n&&!i)return t;const s={};return r.forEach(a=>He(s,a)),He(s,t),s}function Sr(e){const t=[],n=e.type.props;for(const i in e.props){const r=n?n[i]:null,s=Mi(i);t.push({type:"props",key:s,value:se(()=>e.props[i]),meta:r?{type:r.type?qn(r.type):"any",required:!!r.required,...r.default?{default:r.default.toString()}:{}}:{type:"invalid"}})}return t}function Ar(e){const t=e.type,n=t.props,i=t.vuex&&t.vuex.getters,r=t.computed,s={...e.data,...e.renderContext};return Object.keys(s).filter(a=>!(n&&a in n)&&!(i&&a in i)&&!(r&&a in r)).map(a=>({key:a,type:"data",value:se(()=>s[a]),editable:!0}))}function $r(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function Br(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!pr.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var i,r,s,a;const l=se(()=>Kn(e.setupState[n])),c=t[n];let u,p=typeof l=="function"||typeof(l==null?void 0:l.render)=="function"||typeof(l==null?void 0:l.__asyncLoader)=="function";if(c){const f=Yn(c),{stateType:h,stateTypeName:v}=$r(f),m=f.ref||f.computed||f.reactive,g=((r=(i=c.effect)==null?void 0:i.raw)==null?void 0:r.toString())||((a=(s=c.effect)==null?void 0:s.fn)==null?void 0:a.toString());h&&(p=!1),u={...h?{stateType:h,stateTypeName:v}:{},...g?{raw:g}:{},editable:m&&!f.readonly}}return{key:n,value:l,type:p?"setup (other)":"setup",...u}})}function Tr(e,t){const n=t,i=[],r=n.computed||{};for(const s in r){const a=r[s],l=typeof a=="function"&&a.vuex?"vuex bindings":"computed";i.push({type:l,key:s,value:se(()=>{var c;return(c=e==null?void 0:e.proxy)==null?void 0:c[s]}),editable:typeof a.set=="function"})}return i}function Nr(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:se(()=>e.attrs[t])}))}function Dr(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:se(()=>e.provides[t])}))}function Pr(e,t){if(!(t!=null&&t.inject))return[];let n=[],i;return Array.isArray(t.inject)?n=t.inject.map(r=>({key:r,originalKey:r})):n=Reflect.ownKeys(t.inject).map(r=>{const s=t.inject[r];let a;return typeof s=="string"||typeof s=="symbol"?a=s:(a=s.from,i=s.default),{key:r,originalKey:a}}),n.map(({key:r,originalKey:s})=>({type:"injected",key:s&&r!==s?`${s.toString()} ➞ ${r.toString()}`:r.toString(),value:se(()=>e.ctx.hasOwnProperty(r)?e.ctx[r]:e.provides.hasOwnProperty(s)?e.provides[s]:i)}))}function Or(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:se(()=>e.refs[t])}))}function zr(e){var t;const n=e.type.emits,i=Array.isArray(n)?n:Object.keys(n??{}),r=Object.keys((t=e.vnode.props)!=null?t:{}),s=[];for(const a of r){const[l,...c]=a.split(/(?=[A-Z])/);if(l==="on"){const u=c.join("-").toLowerCase(),p=i.includes(u);s.push({type:"event listeners",key:u,value:{_custom:{displayText:p?"✅ Declared":"⚠️ Not declared",key:p?"✅ Declared":"⚠️ Not declared",value:p?"✅ Declared":"⚠️ Not declared",tooltipText:p?null:`The event <code>${u}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return s}function Vr(e){const t=kr(e);return Sr(e).concat(Ar(e),Br(e),Tr(e,t),Nr(e),Dr(e),Pr(e,t),Or(e),zr(e))}b();b();b();b();b();function Rr(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const i=n&&n[0],r=typeof i=="string"?i:"(?)",s=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${we(s)}${r}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function Ir(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function Mr(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function Fr(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function jr(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function Lr(e){const t={},n=e.getters||{},i=Object.keys(n);for(let r=0;r<i.length;r++){const s=i[r];Object.defineProperty(t,s,{enumerable:!0,get:()=>{try{return n[s]}catch(a){return a}}})}return t}function Hr(e){if(e.length)return e.reduce((t,n)=>{const i=n.type||"data",r=t[i]=t[i]||{};return r[n.key]=n.value,t},{})}function Ur(e){const t={},n=e.length;for(let i=0;i<n;i++){const r=e.item(i);t[r.name]=r.value}return t}function Gr(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:Lr(e)},fields:{abstract:!0}}}}function Wr(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function qr(e){e._&&(e=e._);const t=Vr(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_UID__,displayText:dr(e),tooltipText:"Component instance",value:Hr(t),fields:{abstract:!0}}}}function Yr(e){let t=cr(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function Kr(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:Ur(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function Zr(e){var t,n,i,r;const s=Yn(e);if(s.ref||s.computed||s.reactive){const l=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,c=Kn(s.reactive?e:e._value),u=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((r=(i=e.effect)==null?void 0:i.fn)==null?void 0:r.toString());return{_custom:{type:l==null?void 0:l.toLowerCase(),stateTypeName:l,value:c,...u?{tooltipText:`<span class="font-mono">${u}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function Jr(e){var t;if(e==="compilerOptions")return;const n=this[e],i=typeof n;if(Array.isArray(n)){const r=n.length;return r>qt?{_isArray:!0,length:r,items:n.slice(0,qt)}:n}else{if(typeof n=="string")return n.length>Wt?`${n.substring(0,Wt)}... (${n.length} total length)`:n;if(i==="undefined")return Xe;if(n===Number.POSITIVE_INFINITY)return Qe;if(n===Number.NEGATIVE_INFINITY)return et;if(typeof n=="function")return Rr(n);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return Ir(n);if(n!==null&&typeof n=="object"){const r=Object.prototype.toString.call(n);if(r==="[object Map]")return Fr(n);if(r==="[object Set]")return jr(n);if(r==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(r==="[object Date]")return Mr(n);if(r==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return Gr(n);if(n.constructor&&n.constructor.name==="VueRouter")return Wr(n);if(vr(n))return qr(n);if(typeof n.render=="function")return Yr(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return Kr(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const s=Zr(n);if(s!=null)return s}else if(Number.isNaN(n))return tt}return Cr(n)}b();function Xr(e){const t=new Set,n=e._custom.value;for(let i=0;i<n.length;i++){const r=n[i];t.add(nt(r))}return t}function Qr(e){const t=new Map,n=e._custom.value;for(let i=0;i<n.length;i++){const{key:r,value:s}=n[i];t.set(r,nt(s))}return t}function nt(e){var t;if(e!==Xe){if(e===Qe)return Number.POSITIVE_INFINITY;if(e===et)return Number.NEGATIVE_INFINITY;if(e===tt)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=be.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?Qr(e):n.type==="set"?Xr(e):n.type==="bigint"?BigInt(n.value):nt(n.value)}else if(Gt.test(e)){const[,n]=Gt.exec(e);return Symbol.for(n)}else if(je.test(e)){const[,n,i,,r]=je.exec(e),s=new B[n](i);return n==="Error"&&r&&(s.stack=r),s}else return e}}function Zn(e,t){return nt(t)}b();var ze=512*1024;function yt(e,t,n,i){let r,s,a,l,c;const u=i.get(e);if(u!=null)return u;const p=n.length,d=Object.prototype.toString.call(e);if(d==="[object Object]"){r={},i.set(e,p),n.push(r);const f=Object.keys(e);for(l=0,c=f.length;l<c;l++){s=f[l];try{if(s==="compilerOptions")return;a=e[s],t&&(a=t.call(e,s,a))}catch(h){a=h}r[s]=yt(a,t,n,i)}}else if(d==="[object Array]")for(r=[],i.set(e,p),n.push(r),l=0,c=e.length;l<c;l++){try{a=e[l],t&&(a=t.call(e,l,a))}catch(f){a=f}r[l]=yt(a,t,n,i)}else n.push(e);return p}function es(e,t=null){let n=e.length,i,r,s,a,l,c;for(;n--;)if(s=e[n],c=Object.prototype.toString.call(s),c==="[object Object]"){const u=Object.keys(s);for(i=0,r=u.length;i<r;i++)a=u[i],l=e[s[a]],t&&(l=t.call(s,a,l)),s[a]=l}else if(c==="[object Array]")for(i=0,r=s.length;i<r;i++)l=e[s[i]],t&&(l=t.call(s,i,l)),s[i]=l}function ts(e,t=null,n=null){let i;try{i=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{i=ns(e,t,n)}if(i.length>ze){const r=Math.ceil(i.length/ze),s=[];for(let a=0;a<r;a++)s.push(i.slice(a*ze,(a+1)*ze));return s}return i}function ns(e,t=null,n=null){const i=[];return yt(e,t,i,new Map),n?` ${JSON.stringify(i,null,n)}`:` ${JSON.stringify(i)}`}function Yt(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const i=JSON.parse(e);return es(i,t),i[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}b();function ot(e,t=!0){const n=typeof e;if(e==null||e===Xe)return"null";if(n==="boolean"||n==="number"||e===Qe||e===et||e===tt)return"literal";if(e!=null&&e._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":ot(e._custom.value);if(typeof e=="string"){const i=je.exec(e);if(i){const[,r]=i;return`native ${r}`}else return"string"}else return Array.isArray(e)||e!=null&&e._isArray?"array":Gn(e)?"plain-object":"unknown"}function Jn(e,t=!1){var n,i;let r;const s=ot(e,!1);if(s!=="custom"&&(e!=null&&e._custom)&&(e=e._custom.value),r=br(e))return r;if(s==="custom")return((n=e._custom.value)==null?void 0:n._custom)&&Jn(e._custom.value)||e._custom.displayText||e._custom.display;if(s==="array")return`Array[${e.length}]`;if(s==="plain-object")return`Object${Object.keys(e).length?"":" (empty)"}`;if(s!=null&&s.includes("native"))return we((i=je.exec(e))==null?void 0:i[2]);if(typeof e=="string"){const a=e.match(fr);a?e=we(a[1]):t?e=`<span>"</span>${we(e)}<span>"</span>`:e=we(e),e=e.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return e}function Bt(e){var t,n,i;let r;const s=ot(e)==="custom";let a={};if(s){const l=e,c=(t=l._custom)==null?void 0:t.value,u=(n=l._custom)==null?void 0:n.type,p=typeof c=="object"&&c!==null&&"_custom"in c?Bt(c):{inherit:void 0,value:void 0,customType:void 0};a=p.inherit||((i=l._custom)==null?void 0:i.fields)||{},e=p.value||c,r=p.customType||u}return e&&e._isArray&&(e=e.items),{value:e,inherit:a,customType:r}}function os(e,t){return t==="bigint"||t==="date"?e:xr(JSON.stringify(e))}function Ie(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(Er(e),Zn)}function Xn(e){return ts(e,Jr)}function _t(e,t=!1){return e==null?{}:t?Yt(e,Zn):Yt(e)}b();b();b();b();b();var Kt,Zt;(Zt=(Kt=B).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Kt.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);b();b();b();var te="__VUE_DEVTOOLS_GLOBAL_STATE__";function is(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var Jt,Xt;(Xt=(Jt=B)[te])!=null||(Jt[te]=is());var Qn=Je((e,t)=>{Pe.callHook("devtools:state-updated",e,t)},80),eo=Je((e,t)=>{Pe.callHook("devtools:connected-updated",e,t)},80),M=new Proxy(B[te],{get(e,t){return B[te][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const i={...B[te]};return e[t]=n,B[te][t]=n,Qn(B[te],i),["connected","clientConnected"].includes(t.toString())&&i[t]!==n&&eo(B[te],i),!0}});Object.defineProperty(M.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return M.tabs=this,Pe.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(M.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return M.commands=this,Pe.callHook("custom-commands:updated",this),n}})});b();b();var Ue="__VUE_DEVTOOLS_ROUTER__",me="__VUE_DEVTOOLS_ROUTER_INFO__",Qt,en;(en=(Qt=B)[me])!=null||(Qt[me]={currentRoute:null,routes:[]});var tn,nn;(nn=(tn=B)[Ue])!=null||(tn[Ue]=null);var rs=new Proxy(B[me],{get(e,t){return B[me][t]}});b();var fe="__VUE_DEVTOOLS_CONTEXT__";function to(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var on,rn;(rn=(on=B)[fe])!=null||(on[fe]=to());function ss(){B[fe]=to()}var be=new Proxy(B[fe],{get(e,t){return t==="router"?B[Ue]:t==="clear"?ss:B[fe][t]},set(e,t,n){return B[fe][t]=n,!0}});new Proxy(M.appRecords,{get(e,t){if(t==="value")return M.appRecords;if(t==="active")return M.activeAppRecord;if(t==="activeId")return M.activeAppRecordId},set(e,t,n){var i;const r={...M};if(t==="value")M.appRecords=n;else if(t==="active"){const s=n;M.activeAppRecord=s,be.appRecord=s,be.api=s.api,be.inspector=(i=s.inspector)!=null?i:[],lr(n),be.routerInfo=rs}else t==="activeId"&&(M.activeAppRecordId=n);return Qn(M,r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&eo(M,r),!0}});var sn,an;(an=(sn=B).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null||(sn.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set});b();var ln,un;(un=(ln=B).__VUE_DEVTOOLS_ENV__)!=null||(ln.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});b();function as(e){M.highPerfModeEnabled=e??!M.highPerfModeEnabled}let no=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");var ls=Object.defineProperty,oo=(e,t)=>{for(var n in t)ls(e,n,{get:t[n],enumerable:!0})},us={};oo(us,{onAddTimelineEvent:()=>fo,onCustomCommandsUpdated:()=>zs,onCustomTabsUpdated:()=>Os,onDevToolsStateUpdated:()=>uo,onInspectorStateUpdated:()=>po,onInspectorTreeUpdated:()=>co,onRouterInfoUpdated:()=>Vs});var cs={};oo(cs,{checkVueInspectorDetected:()=>ds,editInspectorState:()=>Ge,enableVueInspector:()=>ps,getComponentBoundingRect:()=>ms,getDevToolsState:()=>so,getInspectorState:()=>ro,getInspectorTree:()=>io,getMatchedRoutes:()=>Es,getRouterInfo:()=>bs,getTimelineLayer:()=>Cs,inspectComponentInspector:()=>vs,navigateAction:()=>xs,openInEditor:()=>hs,scrollToComponent:()=>ys,toggleApp:()=>fs,toggleComponentInspector:()=>gs,toggleHighPerfMode:()=>ks,unhighlightElement:()=>ws,updateInspectorTreeId:()=>_s});var ds=R("devtools:check-vue-inspector-detected",async e=>{var t,n;return!!await((n=(t=e==null?void 0:e.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t))}),ps=R("devtools:enable-vue-inspector",async e=>{var t,n;const i=await((n=(t=e==null?void 0:e.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));i&&await i.enable()}),fs=R("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),Ge=R("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),hs=R("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),io=R("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return Xn(n)}),ms=R("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),vs=R("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),gs=R("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),ys=R("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),ro=R("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return Xn(n)}),_s=R("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),ws=R("devtools:unhighlight-element",e=>e.api.unhighlightElement()),bs=R("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),xs=R("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(i=>i)}),Es=R("devtools:matched-routes",(e,t)=>{var n,i;const r=console.warn;console.warn=()=>{};const s=(i=(n=e.context.router)==null?void 0:n.resolve({path:t||"/"}).matched)!=null?i:[];return console.warn=r,JSON.stringify(s)}),Cs=R("devtools:get-timeline-layer",e=>e.context.timelineLayer),so=R("devtools:get-state",e=>{var t,n;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((n=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:n.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(i=>({id:i.id,name:i.name,version:i.version,routerId:i.routerId,moduleDetectives:i.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),ks=R("devtools:toggle-high-perf-mode",(e,t)=>{as(t)}),Ss="devtools:bridge-action",As="devtools:bridge-listener",$s="__vue_devtools_bridge__",Bs="__vue_devtools_bridge_target__",Ts="devtools:bridge-action-events",Ns="devtools:bridge-listener-events",Ds=B[Ts]=new Map,Ps=B[Ns]=new Map;function ao(){return B[$s]}function lo(){return B[Bs]}function R(e,t){return async(...n)=>{if(lo()==="devtools"){const r=ao(),s=no();return await new Promise(a=>{r.once(s,l=>{a(l)}),r.emit(Ss,{name:e,key:s,args:n})})}else Ds.set(e,t)}}function de(e,t,n={}){return i=>{if(lo()==="devtools"){const{parser:s="devtools"}=n,a=s==="devtools"?_t:JSON.parse,l=ao(),c=no(),u=l.on(c,p=>{i(a(p))});return l.emit(As,{key:c,name:e,parser:s}),u}else return Ps.set(e,t),()=>{}}}var uo=de("devtools:on-state-updated",(e,t)=>{function n(r){var s;return{vueVersion:((s=r==null?void 0:r.activeAppRecord)==null?void 0:s.version)||"",connected:r.connected,clientConnected:r.clientConnected,tabs:r.tabs,commands:r.commands,vitePluginDetected:r.vitePluginDetected,appRecords:r.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives})),activeAppRecordId:r.activeAppRecordId}}function i(){e.api.on.devtoolsStateUpdated(r=>{t(n(r))})}if(e!=null&&e.api)i();else{const r=setInterval(()=>{if(e.state.connected){const s=e.state;t(n(s)),i(),clearInterval(r)}},10)}}),Os=de("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),zs=de("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),co=de("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),po=de("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),Vs=de("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),fo=de("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})});const Rs={class:"p2"},Is=["onClick"],Ms=o.defineComponent({__name:"SelectiveList",props:o.mergeModels({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=o.useModel(e,"modelValue");function n(i){t.value=i}return(i,r)=>(o.openBlock(),o.createElementBlock("ul",Rs,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.data,s=>(o.openBlock(),o.createElementBlock("li",{key:s.id,class:o.normalizeClass(["selectable-item",{active:s.id===t.value}]),onClick:a=>n(s.id)},o.toDisplayString(s.label),11,Is))),128))]))}}),Fs={border:"b base",class:"h10 h40px flex items-center justify-between px-2"},js=["href"],Ls=o.createElementVNode("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),Hs=[Ls],Us=["href"],Gs=o.createElementVNode("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),Ws=[Gs],ho=o.defineComponent({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(e){const t=Vn();return(n,i)=>(o.openBlock(),o.createElementBlock("div",Fs,[o.createElementVNode("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:i[0]||(i[0]=r=>o.unref(t).push("/"))}),o.createElementVNode("div",null,[o.createElementVNode("a",{class:"pr1",href:n.docLink,target:"_blank"},Hs,8,js),o.createElementVNode("a",{href:n.githubRepoLink,target:"_blank"},Ws,8,Us)])]))}}),qs={},Ys={class:"h-full flex flex-col items-center justify-center op50"},Ks=o.createElementVNode("i",{class:"i-lets-icons:blank-light"},null,-1);function Zs(e,t){return o.openBlock(),o.createElementBlock("div",Ys,[Ks,o.createElementVNode("span",null,[o.renderSlot(e.$slots,"default")])])}const mo=kt(qs,[["render",Zs]]),Js=["top","right","bottom","left"],cn=["start","end"],dn=Js.reduce((e,t)=>e.concat(t,t+"-"+cn[0],t+"-"+cn[1]),[]),Ae=Math.min,ue=Math.max,Xs={left:"right",right:"left",bottom:"top",top:"bottom"},Qs={start:"end",end:"start"};function wt(e,t,n){return ue(e,Ae(t,n))}function pe(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function vo(e){return e==="x"?"y":"x"}function Tt(e){return e==="y"?"height":"width"}function Oe(e){return["top","bottom"].includes(K(e))?"y":"x"}function Nt(e){return vo(Oe(e))}function go(e,t,n){n===void 0&&(n=!1);const i=W(e),r=Nt(e),s=Tt(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=qe(a)),[a,qe(a)]}function ea(e){const t=qe(e);return[We(e),t,We(t)]}function We(e){return e.replace(/start|end/g,t=>Qs[t])}function ta(e,t,n){const i=["left","right"],r=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:i:t?i:r;case"left":case"right":return t?s:a;default:return[]}}function na(e,t,n,i){const r=W(e);let s=ta(K(e),n==="start",i);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(We)))),s}function qe(e){return e.replace(/left|right|bottom|top/g,t=>Xs[t])}function oa(e){return{top:0,right:0,bottom:0,left:0,...e}}function yo(e){return typeof e!="number"?oa(e):{top:e,right:e,bottom:e,left:e}}function xe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function pn(e,t,n){let{reference:i,floating:r}=e;const s=Oe(t),a=Nt(t),l=Tt(a),c=K(t),u=s==="y",p=i.x+i.width/2-r.width/2,d=i.y+i.height/2-r.height/2,f=i[l]/2-r[l]/2;let h;switch(c){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:d};break;case"left":h={x:i.x-r.width,y:d};break;default:h={x:i.x,y:i.y}}switch(W(t)){case"start":h[a]-=f*(n&&u?-1:1);break;case"end":h[a]+=f*(n&&u?-1:1);break}return h}const ia=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:d}=pn(u,i,c),f=i,h={},v=0;for(let m=0;m<l.length;m++){const{name:g,fn:y}=l[m],{x:w,y:_,data:k,reset:S}=await y({x:p,y:d,initialPlacement:i,placement:f,strategy:r,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});if(p=w??p,d=_??d,h={...h,[g]:{...h[g],...k}},S&&v<=50){v++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:p,y:d}=pn(u,f,c)),m=-1;continue}}return{x:p,y:d,placement:f,strategy:r,middlewareData:h}};async function it(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=pe(t,e),v=yo(h),g=l[f?d==="floating"?"reference":"floating":d],y=xe(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),w=d==="floating"?{...a.floating,x:i,y:r}:a.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),k=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},S=xe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:_,strategy:c}):w);return{top:(y.top-S.top+v.top)/k.y,bottom:(S.bottom-y.bottom+v.bottom)/k.y,left:(y.left-S.left+v.left)/k.x,right:(S.right-y.right+v.right)/k.x}}const ra=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:s,platform:a,elements:l}=t,{element:c,padding:u=0}=pe(e,t)||{};if(c==null)return{};const p=yo(u),d={x:n,y:i},f=Nt(r),h=Tt(f),v=await a.getDimensions(c),m=f==="y",g=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",_=s.reference[h]+s.reference[f]-d[f]-s.floating[h],k=d[f]-s.reference[f],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let E=S?S[w]:0;(!E||!await(a.isElement==null?void 0:a.isElement(S)))&&(E=l.floating[w]||s.floating[h]);const I=_/2-k/2,N=E/2-v[h]/2-1,V=Ae(p[g],N),z=Ae(p[y],N),D=V,x=E-v[h]-z,C=E/2-v[h]/2+I,P=wt(D,C,x),T=W(r)!=null&&C!=P&&s.reference[h]/2-(C<D?V:z)-v[h]/2<0?C<D?D-C:x-C:0;return{[f]:d[f]-T,data:{[f]:P,centerOffset:C-P+T}}}});function sa(e,t,n){return(e?[...n.filter(r=>W(r)===e),...n.filter(r=>W(r)!==e)]:n.filter(r=>K(r)===r)).filter(r=>e?W(r)===e||(t?We(r)!==r:!1):!0)}const aa=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,r;const{rects:s,middlewareData:a,placement:l,platform:c,elements:u}=t,{crossAxis:p=!1,alignment:d,allowedPlacements:f=dn,autoAlignment:h=!0,...v}=pe(e,t),m=d!==void 0||f===dn?sa(d||null,h,f):f,g=await it(t,v),y=((n=a.autoPlacement)==null?void 0:n.index)||0,w=m[y];if(w==null)return{};const _=go(w,s,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(l!==w)return{reset:{placement:m[0]}};const k=[g[K(w)],g[_[0]],g[_[1]]],S=[...((i=a.autoPlacement)==null?void 0:i.overflows)||[],{placement:w,overflows:k}],E=m[y+1];if(E)return{data:{index:y+1,overflows:S},reset:{placement:E}};const I=S.map(z=>{const D=W(z.placement);return[z.placement,D&&p?z.overflows.slice(0,2).reduce((x,C)=>x+C,0):z.overflows[0],z.overflows]}).sort((z,D)=>z[1]-D[1]),V=((r=I.filter(z=>z[2].slice(0,W(z[0])?2:3).every(D=>D<=0))[0])==null?void 0:r[0])||I[0][0];return V!==l?{data:{index:y+1,overflows:S},reset:{placement:V}}:{}}}},la=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:i,middlewareData:r,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=pe(e,t),g=K(i),y=K(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),_=d||(y||!v?[qe(a)]:ea(a));!d&&h!=="none"&&_.push(...na(a,v,h,w));const k=[a,..._],S=await it(t,m),E=[];let I=((n=r.flip)==null?void 0:n.overflows)||[];if(u&&E.push(S[g]),p){const D=go(i,s,w);E.push(S[D[0]],S[D[1]])}if(I=[...I,{placement:i,overflows:E}],!E.every(D=>D<=0)){var N,V;const D=(((N=r.flip)==null?void 0:N.index)||0)+1,x=k[D];if(x)return{data:{index:D,overflows:I},reset:{placement:x}};let C=(V=I.filter(P=>P.overflows[0]<=0).sort((P,O)=>P.overflows[1]-O.overflows[1])[0])==null?void 0:V.placement;if(!C)switch(f){case"bestFit":{var z;const P=(z=I.map(O=>[O.placement,O.overflows.filter(T=>T>0).reduce((T,A)=>T+A,0)]).sort((O,T)=>O[1]-T[1])[0])==null?void 0:z[0];P&&(C=P);break}case"initialPlacement":C=a;break}if(i!==C)return{reset:{placement:C}}}return{}}}};async function ua(e,t){const{placement:n,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=K(n),l=W(n),c=Oe(n)==="y",u=["left","top"].includes(a)?-1:1,p=s&&c?-1:1,d=pe(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&typeof v=="number"&&(h=l==="end"?v*-1:v),c?{x:h*p,y:f*u}:{x:f*u,y:h*p}}const ca=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await ua(t,e);return{x:n+r.x,y:i+r.y,data:r}}}},da=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:g=>{let{x:y,y:w}=g;return{x:y,y:w}}},...c}=pe(e,t),u={x:n,y:i},p=await it(t,c),d=Oe(K(r)),f=vo(d);let h=u[f],v=u[d];if(s){const g=f==="y"?"top":"left",y=f==="y"?"bottom":"right",w=h+p[g],_=h-p[y];h=wt(w,h,_)}if(a){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",w=v+p[g],_=v-p[y];v=wt(w,v,_)}const m=l.fn({...t,[f]:h,[d]:v});return{...m,data:{x:m.x-n,y:m.y-i}}}}},pa=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:r,elements:s}=t,{apply:a=()=>{},...l}=pe(e,t),c=await it(t,l),u=K(n),p=W(n),d=Oe(n)==="y",{width:f,height:h}=i.floating;let v,m;u==="top"||u==="bottom"?(v=u,m=p===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(m=u,v=p==="end"?"top":"bottom");const g=h-c[v],y=f-c[m],w=!t.middlewareData.shift;let _=g,k=y;if(d){const E=f-c.left-c.right;k=p||w?Ae(y,E):E}else{const E=h-c.top-c.bottom;_=p||w?Ae(g,E):E}if(w&&!p){const E=ue(c.left,0),I=ue(c.right,0),N=ue(c.top,0),V=ue(c.bottom,0);d?k=f-2*(E!==0||I!==0?E+I:ue(c.left,c.right)):_=h-2*(N!==0||V!==0?N+V:ue(c.top,c.bottom))}await a({...t,availableWidth:k,availableHeight:_});const S=await r.getDimensions(s.floating);return f!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function L(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){return L(e).getComputedStyle(e)}const fn=Math.min,Ee=Math.max,Ye=Math.round;function _o(e){const t=q(e);let n=parseFloat(t.width),i=parseFloat(t.height);const r=e.offsetWidth,s=e.offsetHeight,a=Ye(n)!==r||Ye(i)!==s;return a&&(n=r,i=s),{width:n,height:i,fallback:a}}function re(e){return bo(e)?(e.nodeName||"").toLowerCase():""}let Ve;function wo(){if(Ve)return Ve;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ve=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ve):navigator.userAgent}function Y(e){return e instanceof L(e).HTMLElement}function oe(e){return e instanceof L(e).Element}function bo(e){return e instanceof L(e).Node}function hn(e){return typeof ShadowRoot>"u"?!1:e instanceof L(e).ShadowRoot||e instanceof ShadowRoot}function rt(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function fa(e){return["table","td","th"].includes(re(e))}function bt(e){const t=/firefox/i.test(wo()),n=q(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!i&&i!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const s=n.contain;return s!=null&&s.includes(r)})}function xo(){return!/^((?!chrome|android).)*safari/i.test(wo())}function Dt(e){return["html","body","#document"].includes(re(e))}function Eo(e){return oe(e)?e:e.contextElement}const Co={x:1,y:1};function he(e){const t=Eo(e);if(!Y(t))return Co;const n=t.getBoundingClientRect(),{width:i,height:r,fallback:s}=_o(t);let a=(s?Ye(n.width):n.width)/i,l=(s?Ye(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function $e(e,t,n,i){var r,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=Eo(e);let c=Co;t&&(i?oe(i)&&(c=he(i)):c=he(e));const u=l?L(l):window,p=!xo()&&n;let d=(a.left+(p&&((r=u.visualViewport)==null?void 0:r.offsetLeft)||0))/c.x,f=(a.top+(p&&((s=u.visualViewport)==null?void 0:s.offsetTop)||0))/c.y,h=a.width/c.x,v=a.height/c.y;if(l){const m=L(l),g=i&&oe(i)?L(i):i;let y=m.frameElement;for(;y&&i&&g!==m;){const w=he(y),_=y.getBoundingClientRect(),k=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(k.paddingLeft))*w.x,_.y+=(y.clientTop+parseFloat(k.paddingTop))*w.y,d*=w.x,f*=w.y,h*=w.x,v*=w.y,d+=_.x,f+=_.y,y=L(y).frameElement}}return{width:h,height:v,top:f,right:d+h,bottom:f+v,left:d,x:d,y:f}}function ie(e){return((bo(e)?e.ownerDocument:e.document)||window.document).documentElement}function st(e){return oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ko(e){return $e(ie(e)).left+st(e).scrollLeft}function Be(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hn(e)&&e.host||ie(e);return hn(t)?t.host:t}function So(e){const t=Be(e);return Dt(t)?t.ownerDocument.body:Y(t)&&rt(t)?t:So(t)}function Ke(e,t){var n;t===void 0&&(t=[]);const i=So(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),s=L(i);return r?t.concat(s,s.visualViewport||[],rt(i)?i:[]):t.concat(i,Ke(i))}function mn(e,t,n){return t==="viewport"?xe(function(i,r){const s=L(i),a=ie(i),l=s.visualViewport;let c=a.clientWidth,u=a.clientHeight,p=0,d=0;if(l){c=l.width,u=l.height;const f=xo();(f||!f&&r==="fixed")&&(p=l.offsetLeft,d=l.offsetTop)}return{width:c,height:u,x:p,y:d}}(e,n)):oe(t)?xe(function(i,r){const s=$e(i,!0,r==="fixed"),a=s.top+i.clientTop,l=s.left+i.clientLeft,c=Y(i)?he(i):{x:1,y:1};return{width:i.clientWidth*c.x,height:i.clientHeight*c.y,x:l*c.x,y:a*c.y}}(t,n)):xe(function(i){const r=ie(i),s=st(i),a=i.ownerDocument.body,l=Ee(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=Ee(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let u=-s.scrollLeft+ko(i);const p=-s.scrollTop;return q(a).direction==="rtl"&&(u+=Ee(r.clientWidth,a.clientWidth)-l),{width:l,height:c,x:u,y:p}}(ie(e)))}function vn(e){return Y(e)&&q(e).position!=="fixed"?e.offsetParent:null}function gn(e){const t=L(e);let n=vn(e);for(;n&&fa(n)&&q(n).position==="static";)n=vn(n);return n&&(re(n)==="html"||re(n)==="body"&&q(n).position==="static"&&!bt(n))?t:n||function(i){let r=Be(i);for(;Y(r)&&!Dt(r);){if(bt(r))return r;r=Be(r)}return null}(e)||t}function ha(e,t,n){const i=Y(t),r=ie(t),s=$e(e,!0,n==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(i||!i&&n!=="fixed")if((re(t)!=="body"||rt(r))&&(a=st(t)),Y(t)){const c=$e(t,!0);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else r&&(l.x=ko(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const ma={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const s=n==="clippingAncestors"?function(u,p){const d=p.get(u);if(d)return d;let f=Ke(u).filter(g=>oe(g)&&re(g)!=="body"),h=null;const v=q(u).position==="fixed";let m=v?Be(u):u;for(;oe(m)&&!Dt(m);){const g=q(m),y=bt(m);(v?y||h:y||g.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=g:f=f.filter(w=>w!==m),m=Be(m)}return p.set(u,f),f}(t,this._c):[].concat(n),a=[...s,i],l=a[0],c=a.reduce((u,p)=>{const d=mn(t,p,r);return u.top=Ee(d.top,u.top),u.right=fn(d.right,u.right),u.bottom=fn(d.bottom,u.bottom),u.left=Ee(d.left,u.left),u},mn(t,l,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=Y(n),s=ie(n);if(n===s)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((r||!r&&i!=="fixed")&&((re(n)!=="body"||rt(s))&&(a=st(n)),Y(n))){const u=$e(n);l=he(n),c.x=u.x+n.clientLeft,c.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},isElement:oe,getDimensions:function(e){return Y(e)?_o(e):e.getBoundingClientRect()},getOffsetParent:gn,getDocumentElement:ie,getScale:he,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||gn,s=this.getDimensions;return{reference:ha(t,await r(n),i),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>q(e).direction==="rtl"},va=(e,t,n)=>{const i=new Map,r={platform:ma,...n},s={...r.platform,_c:i};return ia(e,t,{...r,platform:s})},ce={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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"],delay:{show:0,hide:400}}}};function Te(e,t){let n=ce.themes[e]||{},i;do i=n[t],typeof i>"u"?n.$extend?n=ce.themes[n.$extend]||{}:(n=null,i=ce[t]):n=null;while(n);return i}function ga(e){const t=[e];let n=ce.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=ce.themes[n.$extend]||{}):n=null;while(n);return t.map(i=>`v-popper--theme-${i}`)}function yn(e){const t=[e];let n=ce.themes[e]||{};do n.$extend?(t.push(n.$extend),n=ce.themes[n.$extend]||{}):n=null;while(n);return t}let ve=!1;if(typeof window<"u"){ve=!1;try{const e=Object.defineProperty({},"passive",{get(){ve=!0}});window.addEventListener("test",null,e)}catch{}}let Ao=!1;typeof window<"u"&&typeof navigator<"u"&&(Ao=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const $o=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),_n={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},wn={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function bn(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function pt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const G=[];let ae=null;const xn={};function En(e){let t=xn[e];return t||(t=xn[e]=[]),t}let xt=function(){};typeof window<"u"&&(xt=window.Element);function $(e){return function(t){return Te(t.theme,e)}}const ft="__floating-vue__popper",Bo=()=>o.defineComponent({name:"VPopper",provide(){return{[ft]:{parentPopper:this}}},inject:{[ft]:{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:$("disabled")},positioningDisabled:{type:Boolean,default:$("positioningDisabled")},placement:{type:String,default:$("placement"),validator:e=>$o.includes(e)},delay:{type:[String,Number,Object],default:$("delay")},distance:{type:[Number,String],default:$("distance")},skidding:{type:[Number,String],default:$("skidding")},triggers:{type:Array,default:$("triggers")},showTriggers:{type:[Array,Function],default:$("showTriggers")},hideTriggers:{type:[Array,Function],default:$("hideTriggers")},popperTriggers:{type:Array,default:$("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$("popperHideTriggers")},container:{type:[String,Object,xt,Boolean],default:$("container")},boundary:{type:[String,xt],default:$("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$("strategy")},autoHide:{type:[Boolean,Function],default:$("autoHide")},handleResize:{type:Boolean,default:$("handleResize")},instantMove:{type:Boolean,default:$("instantMove")},eagerMount:{type:Boolean,default:$("eagerMount")},popperClass:{type:[String,Array,Object],default:$("popperClass")},computeTransformOrigin:{type:Boolean,default:$("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$("autoMinSize")},autoSize:{type:[Boolean,String],default:$("autoSize")},autoMaxSize:{type:Boolean,default:$("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$("preventOverflow")},overflowPadding:{type:[Number,String],default:$("overflowPadding")},arrowPadding:{type:[Number,String],default:$("arrowPadding")},arrowOverflow:{type:Boolean,default:$("arrowOverflow")},flip:{type:Boolean,default:$("flip")},shift:{type:Boolean,default:$("shift")},shiftCrossAxis:{type:Boolean,default:$("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$("noAutoFocus")},disposeTimeout:{type:Number,default:$("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ft])==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:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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 i,r;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.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;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.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"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(ca({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(aa({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(da({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(la({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(ra({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:r,middlewareData:s})=>{let a;const{centerOffset:l}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?a=Math.abs(l)>r.reference.width/2:a=Math.abs(l)>r.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:r,placement:s,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,u;return s.startsWith("top")||s.startsWith("bottom")?c=r.reference.width:u=r.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(pa({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:r})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await va(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ae&&this.instantMove&&ae.instantMove&&ae!==this.parentPopper){ae.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(ae=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 pt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ke(this.$_referenceNode),...Ke(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"),i=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(i.left+n.offsetLeft),s=t.y+t.height/2-(i.top+n.offsetTop);this.result.transformOrigin=`${r}px ${s}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;n<G.length;n++)t=G[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}G.push(this),document.body.classList.add("v-popper--some-open");for(const t of yn(this.theme))En(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await pt(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,bn(G,this),G.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of yn(this.theme)){const i=En(n);bn(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}ae===this&&(ae=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.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 pt(),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,_n,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],_n,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,wn,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],wn,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(i=>i.addEventListener(t,n,ve?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,i,r){let s=n;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(a=>{const l=t[a];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:r,handler:s}=n;!e||e===r?i.forEach(a=>a.removeEventListener(r,s)):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 i=n.getAttribute(e);i&&(n.removeAttribute(e),n.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const i=e[n];i==null?t.removeAttribute(n):t.setAttribute(n,i)}},$_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(Ce>=e.left&&Ce<=e.right&&ke>=e.top&&ke<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ce-Q,i=ke-ee,r=t.left+t.width/2-Q+(t.top+t.height/2)-ee+t.width+t.height,s=Q+n*r,a=ee+i*r;return Re(Q,ee,s,a,t.left,t.top,t.left,t.bottom)||Re(Q,ee,s,a,t.left,t.top,t.right,t.top)||Re(Q,ee,s,a,t.right,t.top,t.right,t.bottom)||Re(Q,ee,s,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Ao){const e=ve?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Cn(t),e),document.addEventListener("touchend",t=>kn(t,!0),e)}else window.addEventListener("mousedown",e=>Cn(e),!0),window.addEventListener("click",e=>kn(e,!1),!0);window.addEventListener("resize",wa)}function Cn(e,t){for(let n=0;n<G.length;n++){const i=G[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function kn(e,t){ya(e,t)}function ya(e,t){const n={};for(let i=G.length-1;i>=0;i--){const r=G[i];try{const s=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Sn(r,s,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let a=r.parentPopper;for(;a&&Sn(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Sn(e,t,n){return n.closeAllPopover||n.closePopover&&t||_a(e,n)&&!t}function _a(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function wa(){for(let e=0;e<G.length;e++)G[e].$_computePosition()}let Q=0,ee=0,Ce=0,ke=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Q=Ce,ee=ke,Ce=e.clientX,ke=e.clientY},ve?{passive:!0}:void 0);function Re(e,t,n,i,r,s,a,l){const c=((a-r)*(t-s)-(l-s)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t)),u=((n-e)*(t-s)-(i-t)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t));return c>=0&&c<=1&&u>=0&&u<=1}const ba={extends:Bo()},at=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};function xa(e,t,n,i,r,s){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const Ea=at(ba,[["render",xa]]);function Ca(){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 i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let Me;function Et(){Et.init||(Et.init=!0,Me=Ca()!==-1)}var lt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Et(),o.nextTick(()=>{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",Me&&this.$el.appendChild(e),e.data="about:blank",Me||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&&(!Me&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ka=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Sa={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Aa=ka((e,t,n,i,r,s)=>(o.openBlock(),o.createBlock("div",Sa)));lt.render=Aa;lt.__scopeId="data-v-b329ee4c";lt.__file="src/components/ResizeObserver.vue";const To=(e="theme")=>({computed:{themeClass(){return ga(this[e])}}}),$a=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:lt},mixins:[To()],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}}}),Ba=["id","aria-hidden","tabindex","data-popper-placement"],Ta={ref:"inner",class:"v-popper__inner"},Na=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),Da=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),Pa=[Na,Da];function Oa(e,t,n,i,r,s){const a=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["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:o.normalizeStyle(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]=o.withKeys(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",Ta,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(a,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Pa,4)],4)],46,Ba)}const No=at($a,[["render",Oa]]),Do={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)}}};let Ct=function(){};typeof window<"u"&&(Ct=window.Element);const za=o.defineComponent({name:"VPopperWrapper",components:{Popper:Ea,PopperContent:No},mixins:[Do,To("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ct,Boolean],default:void 0},boundary:{type:[String,Ct],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Va(e,t,n,i,r,s){const a=o.resolveComponent("PopperContent"),l=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(l,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:c,isShown:u,shouldMountContent:p,skipTransition:d,autoHide:f,show:h,hide:v,handleResize:m,onResize:g,classes:y,result:w})=>[o.renderSlot(e.$slots,"default",{shown:u,show:h,hide:v}),o.createVNode(a,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:u,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":m,classes:y,result:w,onHide:v,onResize:g},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:u,hide:v})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Pt=at(za,[["render",Va]]),Ra={...Pt,name:"VDropdown",vPopperTheme:"dropdown"};({...Pt});({...Pt});const Ia=o.defineComponent({name:"VTooltipDirective",components:{Popper:Bo(),PopperContent:No},mixins:[Do],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Te(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Te(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},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(i=>this.onResult(t,i)):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}}}),Ma=["innerHTML"],Fa=["textContent"];function ja(e,t,n,i,r,s){const a=o.resolveComponent("PopperContent"),l=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(l,o.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:o.withCtx(({popperId:c,isShown:u,shouldMountContent:p,skipTransition:d,autoHide:f,hide:h,handleResize:v,onResize:m,classes:g,result:y})=>[o.createVNode(a,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:u,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":v,classes:g,result:y,onHide:h,onResize:m},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,Ma)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,Fa))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const La=at(Ia,[["render",ja]]),Po="v-popper--has-tooltip";function Ha(e,t){let n=e.placement;if(!n&&t)for(const i of $o)t[i]&&(n=i);return n||(n=Te(e.theme||"tooltip","placement")),n}function Oo(e,t,n){let i;const r=typeof t;return r==="string"?i={content:t}:t&&r==="object"?i=t:i={content:!1},i.placement=Ha(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ht,Ne,Ua=0;function Ga(){if(ht)return;Ne=o.ref([]),ht=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:Ne}},render(){return this.directives.map(t=>o.h(La,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ht.mount(e)}function Wa(e,t,n){Ga();const i=o.ref(Oo(e,t,n)),r=o.ref(!1),s={id:Ua++,options:i,shown:r};return Ne.value.push(s),e.classList&&e.classList.add(Po),e.$_popper={options:i,item:s,show(){r.value=!0},hide(){r.value=!1}}}function zo(e){if(e.$_popper){const t=Ne.value.indexOf(e.$_popper.item);t!==-1&&Ne.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Po)}function An(e,{value:t,modifiers:n}){const i=Oo(e,t,n);if(!i.content||Te(i.theme||"tooltip","disabled"))zo(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=i):r=Wa(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const qa={beforeMount:An,updated:An,beforeUnmount(e){zo(e)}};function $n(e){e.addEventListener("mousedown",Ze),e.addEventListener("click",Ze),e.addEventListener("touchstart",Vo,ve?{passive:!0}:!1)}function Bn(e){e.removeEventListener("mousedown",Ze),e.removeEventListener("click",Ze),e.removeEventListener("touchstart",Vo),e.removeEventListener("touchend",Ro),e.removeEventListener("touchcancel",Io)}function Ze(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Vo(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Ro),t.addEventListener("touchcancel",Io)}}function Ro(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Io(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Ya={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&$n(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?$n(e):Bn(e))},beforeUnmount(e){Bn(e)}},Se=qa,Ka=Ya,Za=Ra,Ja=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Xa={},Qa={class:"h-3 w-3 $ui-inline-fcc"},el=o.createElementVNode("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[o.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),o.createElementVNode("path",{class:"opacity-75",fill:"currentColor",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"})],-1),tl=[el];function nl(e,t){return o.openBlock(),o.createElementBlock("div",Qa,tl)}const Mo=Ja(Xa,[["render",nl]]),ol={key:2},U=o.defineComponent({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,i=t,r=o.useAttrs(),s=o.computed(()=>r.to?"router-link":r.href?"a":"button"),a=o.computed(()=>n.loading||n.disabled);function l(d){if(a.value){d.preventDefault(),d.stopPropagation(),d.stopImmediatePropagation();return}i("click",d)}const c={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},u=o.useSlots(),p=o.computed(()=>n.flat?c.flat[n.type]:n.outlined?c.outlined[n.type]:c.normal[n.type]);return(d,f)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.value),o.mergeProps(d.$attrs,{role:"button","aria-disabled":a.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[c.common[n.type]],{"rounded-full":n.round==="full","$ui-base-br":n.round==="normal","opacity-50 cursor-not-allowed":a.value,"bg-transparent":n.flat||n.outlined},[d.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",d.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",p.value]]],onClickCapture:l}),{default:o.withCtx(()=>[d.loading?(o.openBlock(),o.createBlock(Mo,{key:0,class:"mt0.5 h-full w3"})):o.renderSlot(d.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),o.unref(u).default?(o.openBlock(),o.createElementBlock("div",ol,[o.renderSlot(d.$slots,"default")])):o.createCommentVNode("",!0),o.renderSlot(d.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),F=o.defineComponent({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(e){return(t,n)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.inline?"span":"div"),{class:o.normalizeClass(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function il(e,t,{enumerable:n=!1,unwrap:i=!0}={}){for(const[r,s]of Object.entries(t))r!=="value"&&(o.isRef(s)&&i?Object.defineProperty(e,r,{get(){return s.value},set(a){s.value=a},enumerable:n}):Object.defineProperty(e,r,{value:s,enumerable:n}));return e}function Tn(e){return typeof e=="function"?e():o.unref(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rl=e=>typeof e<"u",Nn=()=>{};function sl(e,t){function n(...i){return new Promise((r,s)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(s)})}return n}function al(e,t={}){let n,i,r=Nn;const s=a=>{clearTimeout(a),r(),r=Nn};return a=>{const l=Tn(e),c=Tn(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(i&&(s(i),i=null),Promise.resolve(a())):new Promise((u,p)=>{r=t.rejectOnCancel?p:u,c&&!i&&(i=setTimeout(()=>{n&&s(n),i=null,u(a())},c)),n=setTimeout(()=>{i&&s(i),i=null,u(a())},l)})}}function ll(e,t=200,n={}){return sl(al(t,n),e)}function ul(e,t=200,n={}){const i=o.ref(e.value),r=ll(()=>{i.value=e.value},t,n);return o.watch(e,()=>r()),i}function cl(e,t={}){let n=e,i,r;const s=o.customRef((c,u)=>(i=c,r=u,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&i(),n}function l(c,u=!0){var p,d;if(c===n)return;const f=n;((p=t.onBeforeChange)==null?void 0:p.call(t,c,f))!==!1&&(n=c,(d=t.onChanged)==null||d.call(t,c,f),u&&r())}return il(s,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function dl(e){return JSON.parse(JSON.stringify(e))}function pl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:c=!1,eventName:u,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),v=n||(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((a=(s=h==null?void 0:h.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let m=u;t||(t="modelValue"),m=m||`update:${t.toString()}`;const g=_=>l?typeof l=="function"?l(_):dl(_):_,y=()=>rl(e[t])?g(e[t]):d,w=_=>{f?f(_)&&v(m,_):v(m,_)};if(c){const _=y(),k=o.ref(_);let S=!1;return o.watch(()=>e[t],E=>{S||(S=!0,k.value=g(E),o.nextTick(()=>S=!1))}),o.watch(k,E=>{!S&&(E!==e[t]||p)&&w(E)},{deep:p}),k}else return o.computed({get(){return y()},set(_){w(_)}})}const fl=["type","placeholder","disabled"],hl={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},mt="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",ml=o.defineComponent({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(e,{emit:t}){const n=e,i=t,r=pl(n,"modelValue",i),s=ul(o.computed(()=>n.loading),n.loadingDebounceTime),a=cl(!1,{onChanged(d){i("updateFocused",d)}}),l=o.computed(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),c=o.computed(()=>n.disabled||s.value),u=o.ref();let p=!1;return o.watchEffect(()=>{s.value&&a.value?p=!0:!s.value&&p&&(p=!1,o.nextTick(()=>{a.value=!0}))}),o.onMounted(()=>{n.autoFocus&&(a.value=!0)}),o.watchEffect(()=>{var d;a.value&&((d=u.value)==null||d.focus())}),(d,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":d.variant==="flat","cursor-not-allowed opacity-50":c.value,accent:d.variant==="accent",focused:o.unref(a)},[d.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:f[2]||(f[2]=()=>{a.value=!0})},[d.leftIcon?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(mt)},[o.createVNode(F,{icon:d.leftIcon},null,8,["icon"])])):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":f[0]||(f[0]=h=>o.isRef(r)?r.value=h:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:d.type,placeholder:d.placeholder,disabled:c.value||d.readonly,onBlur:f[1]||(f[1]=h=>a.value=!1)},null,40,fl),[[o.vModelDynamic,o.unref(r)]]),o.unref(s)?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(mt)},[o.createVNode(Mo)])):d.rightIcon?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(mt)},[o.createVNode(F,{icon:d.rightIcon},null,8,["icon"])])):o.createCommentVNode("",!0),l.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",hl))],2))}}),vl={class:"overflow-hidden rounded-lg shadow-lg"},gl=o.createElementVNode("div",{class:"p2 opacity-40"}," Empty... ",-1),yl=o.defineComponent({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(e){const t=e;return o.provide("$ui-dropdown-disabled",o.computed(()=>t.disabled)),(n,i)=>(o.openBlock(),o.createBlock(o.unref(Za),{disabled:n.disabled,class:"inline-block w-auto",shown:n.shown,triggers:[n.trigger],distance:n.distance+6,placement:n.placement,skidding:n.skidding,"onUpdate:shown":i[0]||(i[0]=r=>n.$emit("update:visible",r)),onClick:i[1]||(i[1]=r=>{r.stopPropagation()})},{popper:o.withCtx(({hide:r})=>[o.createElementVNode("div",vl,[o.renderSlot(n.$slots,"popper",o.normalizeProps(o.guardReactiveProps({hide:r})),()=>[gl])])]),default:o.withCtx(()=>[o.renderSlot(n.$slots,"default",{},()=>[o.createVNode(U,o.mergeProps({...n.buttonProps,disabled:n.disabled},{class:n.buttonClass}),o.createSlots({icon:o.withCtx(()=>[o.renderSlot(n.$slots,"button-icon")]),"icon-right":o.withCtx(()=>[o.renderSlot(n.$slots,"button-icon-right")]),_:2},[n.label?{name:"default",fn:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),Dn=o.defineComponent({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(e){const t=e,n=o.inject("$ui-dropdown-disabled",void 0);return(i,r)=>o.withDirectives((o.openBlock(),o.createBlock(U,o.mergeProps({...t,round:!1},{disabled:o.unref(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:o.withCtx(()=>[o.renderSlot(i.$slots,"icon")]),default:o.withCtx(()=>[o.renderSlot(i.$slots,"default")]),_:3},16,["disabled"])),[[o.unref(Ka)]])}});function Fo(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function ge(e){return typeof e=="function"?e():o.unref(e)}const Ot=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _l=e=>typeof e<"u",wl=Object.prototype.toString,bl=e=>wl.call(e)==="[object Object]",jo=()=>{};function xl(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function El(e,t,n={}){const{immediate:i=!0}=n,r=o.ref(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function l(){r.value=!1,a()}function c(...u){a(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,e(...u)},ge(t))}return i&&(r.value=!0,Ot&&c()),Fo(l),{isPending:o.readonly(r),start:c,stop:l}}function Cl(e){var t;const n=ge(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Lo=Ot?window:void 0,Ho=Ot?window.navigator:void 0;function ne(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=Lo):[t,n,i,r]=e,!t)return jo;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const s=[],a=()=>{s.forEach(p=>p()),s.length=0},l=(p,d,f,h)=>(p.addEventListener(d,f,h),()=>p.removeEventListener(d,f,h)),c=o.watch(()=>[Cl(t),ge(r)],([p,d])=>{if(a(),!p)return;const f=bl(d)?{...d}:d;s.push(...n.flatMap(h=>i.map(v=>l(p,h,v,f))))},{immediate:!0,flush:"post"}),u=()=>{c(),a()};return Fo(u),u}function kl(){const e=o.ref(!1),t=o.getCurrentInstance();return t&&o.onMounted(()=>{e.value=!0},t),e}function Uo(e){const t=kl();return o.computed(()=>(t.value,!!e()))}function Pn(e,t={}){const{controls:n=!1,navigator:i=Ho}=t,r=Uo(()=>i&&"permissions"in i);let s;const a=typeof e=="string"?{name:e}:e,l=o.ref(),c=()=>{s&&(l.value=s.state)},u=xl(async()=>{if(r.value){if(!s)try{s=await i.permissions.query(a),ne(s,"change",c),c()}catch{l.value="prompt"}return s}});return u(),n?{state:l,isSupported:r,query:u}:l}function Sl(e={}){const{navigator:t=Ho,read:n=!1,source:i,copiedDuring:r=1500,legacy:s=!1}=e,a=Uo(()=>t&&"clipboard"in t),l=Pn("clipboard-read"),c=Pn("clipboard-write"),u=o.computed(()=>a.value||s),p=o.ref(""),d=o.ref(!1),f=El(()=>d.value=!1,r);function h(){a.value&&y(l.value)?t.clipboard.readText().then(w=>{p.value=w}):p.value=g()}u.value&&n&&ne(["copy","cut"],h);async function v(w=ge(i)){u.value&&w!=null&&(a.value&&y(c.value)?await t.clipboard.writeText(w):m(w),p.value=w,d.value=!0,f.start())}function m(w){const _=document.createElement("textarea");_.value=w??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function g(){var w,_,k;return(k=(_=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:_.toString())!=null?k:""}function y(w){return w==="granted"||w==="prompt"}return{isSupported:u,text:p,copied:d,copy:v}}function Al(e){return JSON.parse(JSON.stringify(e))}const $l={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Bl(e={}){const{reactive:t=!1,target:n=Lo,aliasMap:i=$l,passive:r=!0,onEventFired:s=jo}=e,a=o.reactive(new Set),l={toJSON(){return{}},current:a},c=t?o.reactive(l):l,u=new Set,p=new Set;function d(m,g){m in c&&(t?c[m]=g:c[m].value=g)}function f(){a.clear();for(const m of p)d(m,!1)}function h(m,g){var y,w;const _=(y=m.key)==null?void 0:y.toLowerCase(),S=[(w=m.code)==null?void 0:w.toLowerCase(),_].filter(Boolean);_&&(g?a.add(_):a.delete(_));for(const E of S)p.add(E),d(E,g);_==="meta"&&!g?(u.forEach(E=>{a.delete(E),d(E,!1)}),u.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&g&&[...a,...S].forEach(E=>u.add(E))}ne(n,"keydown",m=>(h(m,!0),s(m)),{passive:r}),ne(n,"keyup",m=>(h(m,!1),s(m)),{passive:r}),ne("blur",f,{passive:!0}),ne("focus",f,{passive:!0});const v=new Proxy(c,{get(m,g,y){if(typeof g!="string")return Reflect.get(m,g,y);if(g=g.toLowerCase(),g in i&&(g=i[g]),!(g in c))if(/[+_-]/.test(g)){const _=g.split(/[+_-]/g).map(k=>k.trim());c[g]=o.computed(()=>_.every(k=>ge(v[k])))}else c[g]=o.ref(!1);const w=Reflect.get(m,g,y);return t?ge(w):w}});return v}function Tl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:c=!1,eventName:u,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),v=n||(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((a=(s=h==null?void 0:h.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let m=u;t||(t="modelValue"),m=m||`update:${t.toString()}`;const g=_=>l?typeof l=="function"?l(_):Al(_):_,y=()=>_l(e[t])?g(e[t]):d,w=_=>{f?f(_)&&v(m,_):v(m,_)};if(c){const _=y(),k=o.ref(_);let S=!1;return o.watch(()=>e[t],E=>{S||(S=!0,k.value=g(E),o.nextTick(()=>S=!1))}),o.watch(k,E=>{!S&&(E!==e[t]||p)&&w(E)},{deep:p}),k}else return o.computed({get(){return y()},set(_){w(_)}})}const Go=Symbol("StateEditorSymbol");function Nl(e){const t=o.ref(e);return o.provide(Go,t),{context:t}}function zt(){return o.inject(Go)}function Dl(){const e=o.ref(""),t=o.ref("string"),n=o.ref(!1),i=zt();return{editingText:e,editing:n,toggleEditing(r){r&&(t.value=r),n.value=!n.value},editingType:t,nodeId:i.value.nodeId}}function Pl(e,t){if(e==="array")return t.length;const n="newProp";let i=1;for(;;){const r=`${n}${i}`;if(!t[r])return r;i++}}function Ol(){const e=o.ref({enable:!1,key:"",value:"undefined"});function t(i,r){const s=Pl(i,r);e.value={enable:!0,key:s.toString(),value:"undefined"}}function n(){e.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:t,resetDrafting:n,draftingNewProp:e}}const zl={class:"inline pl5px"},Vl={class:"w160px py5px"},Rl=o.defineComponent({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(e){const t=e,n=zt(),{copy:i,isSupported:r}=Sl(),s=o.ref(!1),a=o.computed(()=>Bt(t.data.value)),l=o.computed(()=>a.value.value),c=o.computed(()=>a.value.customType),u=o.computed(()=>l.value===null?"null":typeof l.value),p={flat:!0,size:"mini"},d=o.computed(()=>({"opacity-0":!t.hovering}));function f(v,m=!1){Ge({path:t.data.key.split("."),inspectorId:n.value.inspectorId,type:t.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:o.toRaw(v),type:u.value,remove:m}})}function h(v,m){const g=typeof v=="number"?v+m:BigInt(v)+BigInt(m);f(g)}return(v,m)=>(o.openBlock(),o.createElementBlock("div",zl,[!t.disableEdit&&v.data.editable?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.value==="string"||u.value==="number"||u.value==="object"||u.value==="null"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),o.mergeProps(p,{class:d.value,onClick:m[0]||(m[0]=o.withModifiers(g=>v.$emit("enableEditInput",u.value),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[o.unref(Se),{content:"Edit value"}]]),u.value==="object"&&v.showAddIfNeeded?o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:0},p,{class:d.value,onClick:m[1]||(m[1]=o.withModifiers(g=>v.$emit("addNewProp",Array.isArray(l.value)?"array":"object"),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[o.unref(Se),{content:"Add new value"}]]):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),u.value==="boolean"?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[2]||(m[2]=g=>f(!l.value))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:l.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):u.value==="number"||c.value==="bigint"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createVNode(o.unref(U),o.mergeProps(p,{class:d.value,onClick:m[3]||(m[3]=o.withModifiers(g=>h(l.value,1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-carbon-add"})]),_:1},16,["class"]),o.createVNode(o.unref(U),o.mergeProps(p,{class:d.value,onClick:m[4]||(m[4]=o.withModifiers(g=>h(l.value,-1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!t.disableEdit&&v.depth>0?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[5]||(m[5]=o.withModifiers(g=>f(l.value,!0),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):o.createCommentVNode("",!0),o.createVNode(o.unref(yl),{class:o.normalizeClass({"opacity-0":!v.hovering&&!s.value}),"button-props":{flat:!0,size:"mini"},disabled:!o.unref(r),"onUpdate:visible":m[8]||(m[8]=g=>s.value=g)},{popper:o.withCtx(()=>[o.createElementVNode("div",Vl,[o.createVNode(o.unref(Dn),{onClick:m[6]||(m[6]=g=>o.unref(i)(typeof l.value=="object"?JSON.stringify(l.value):l.value.toString()))},{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Value ")]),_:1}),o.createVNode(o.unref(Dn),{onClick:m[7]||(m[7]=()=>{o.unref(i)(v.data.key)})},{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Path ")]),_:1})])]),"button-icon":o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),Il={class:"flex-inline items-center gap4px"},vt=o.defineComponent({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=o.computed(()=>n.customType==="date"?"datetime-local":""),{escape:s,enter:a}=Bl();o.watchEffect(()=>{s.value?i("cancel"):a.value&&i("submit")});const l=Tl(n,"modelValue",i);function c(d){try{return Ie(d,n.customType),!0}catch{return!1}}const u=o.ref(!1),p=()=>Je(()=>{u.value=!c(l.value)},300);return o.watch(l,p()),(d,f)=>(o.openBlock(),o.createElementBlock("span",Il,[o.createVNode(o.unref(ml),{modelValue:o.unref(l),"onUpdate:modelValue":f[0]||(f[0]=h=>o.isRef(l)?l.value=h:null),type:r.value,variant:u.value?"warning":"normal",class:o.normalizeClass(["h25px px4px",d.customType==="date"?"w240px":"w120px"]),"auto-focus":d.autoFocus,onClick:f[1]||(f[1]=o.withModifiers(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),d.showActions?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),{size:"mini",flat:"",class:"p2px!",onClick:f[2]||(f[2]=o.withModifiers(h=>d.$emit("cancel"),["stop"]))},{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-cancel"})]),_:1})),[[o.unref(Se),{content:"Esc to cancel"}]]),u.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(F),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[o.unref(Se),{content:"Invalid value"}]]):o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),{key:0,size:"mini",flat:"",class:"p2px!",onClick:f[3]||(f[3]=o.withModifiers(h=>d.$emit("submit"),["stop"]))},{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-save"})]),_:1})),[[o.unref(Se),{content:"Enter to submit change"}]])],64)):o.createCommentVNode("",!0)]))}}),Wo=o.defineComponent({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("i",{class:o.normalizeClass(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}});function Ml(){const e=o.ref([]);return o.provide("state-expanded",e),{expanded:e}}function qo(){const e=o.inject("state-expaned",o.ref([]));function t(n){const i=e.value.indexOf(n);i===-1?e.value.push(n):e.value.splice(i,1)}return{expanded:e,toggleExpanded:t}}function Fl(e,t={}){const{enter:n=()=>{},leave:i=()=>{},initial:r=!1}=t,s=o.ref(r);return ne(e,"mouseenter",()=>{s.value=!0,n()}),ne(e,"mouseleave",()=>{s.value=!1,i()}),{isHovering:s}}const Yo=e=>(o.pushScopeId("data-v-7d2d7a44"),e=e(),o.popScopeId(),e),jl={key:1,pl5:""},Ll={op70:""},Hl=Yo(()=>o.createElementVNode("span",{mx1:""},":",-1)),Ul=["innerHTML"],Gl={key:0},Wl={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},ql=Yo(()=>o.createElementVNode("span",{"mx-1":""},":",-1)),On=30,Yl=o.defineComponent({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(e){const t=e,n=o.ref(On),i=o.computed(()=>Jn(t.data.value)),r=o.computed(()=>ot(t.data.value)),s=o.computed(()=>Bt(t.data.value)),{expanded:a,toggleExpanded:l}=qo(),c=o.computed(()=>{var x;return r.value==="custom"?`${((x=t.data.value._custom)==null?void 0:x.type)??"string"}-custom-state`:""}),u=o.computed(()=>{const{value:x}=s.value;return Mt(x)?x.length:It(x)?Object.keys(x).length:0}),p=o.computed(()=>{const x=t.data.key,C=x.lastIndexOf(".");return C===-1?x:x.slice(C+1)}),d=o.computed(()=>{var P,O,T,A,Z;const x=["Reactive"],C=((P=t.data._custom)==null?void 0:P.stateTypeName)||((O=t.data)==null?void 0:O.stateTypeName);if(x.includes(C))return C;if((A=(T=t.data.value)==null?void 0:T.fields)!=null&&A.abstract)return"";{const j=r.value==="custom"&&!((Z=t.data.value._custom)!=null&&Z.type)?`"${i.value}"`:i.value,J=`<span class="${r.value}-state-type">${j}</span>`;return C?`${J} <span class="text-gray-500">(${C})</span>`:J}}),f=o.computed(()=>{const{value:x,inherit:C,customType:P}=s.value,O=P==="set";let T=[];return Mt(x)?x.slice(0,n.value).map((Z,j)=>({key:`${t.data.key}.${j}`,value:Z,...C,editable:t.data.editable&&!O,creating:!1})):(It(x)&&(T=Object.keys(x).slice(0,n.value).map(A=>({key:`${t.data.key}.${A}`,value:x[A],...C,editable:t.data.editable&&!O,creating:!1})),r.value!=="custom"&&(T=ji(T))),T===t.data.value?[]:T)}),h=o.computed(()=>f.value.length>0),v=o.ref(),m=zt(),{isHovering:g}=Fl(()=>v.value),{editingType:y,editing:w,editingText:_,toggleEditing:k,nodeId:S}=Dl();o.watch(()=>w.value,x=>{if(x){const{value:C}=s.value;_.value=os(C,s.value.customType)}else _.value=""});function E(){const x=t.data;Ge({path:x.key.split("."),inspectorId:m.value.inspectorId,type:x.stateType,nodeId:S,state:{newKey:null,type:y.value,value:Ie(_.value,s.value.customType)}}),k()}const{addNewProp:I,draftingNewProp:N,resetDrafting:V}=Ol();function z(x){const C=`${t.depth}-${t.index}`;a.value.includes(C)||l(C),I(x,s.value.value)}function D(){const x=t.data,C=x.key.split(".");C.push(N.value.key),Ge({path:C,inspectorId:m.value.inspectorId,type:x.stateType,nodeId:S,state:{newKey:N.value.key,type:typeof Ie(N.value.value),value:Ie(N.value.value)}}),V()}return(x,C)=>{const P=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{ref_key:"containerRef",ref:v,class:o.normalizeClass(["font-state-field flex items-center",[h.value&&"cursor-pointer hover:bg-active"]]),style:o.normalizeStyle({paddingLeft:`${x.depth*15+4}px`}),onClick:C[1]||(C[1]=O=>o.unref(l)(`${x.depth}-${x.index}`))},[h.value?(o.openBlock(),o.createBlock(Wo,{key:0,value:o.unref(a).includes(`${x.depth}-${x.index}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",jl)),o.createElementVNode("span",Ll,o.toDisplayString(p.value),1),Hl,o.unref(w)?(o.openBlock(),o.createBlock(vt,{key:2,modelValue:o.unref(_),"onUpdate:modelValue":C[0]||(C[0]=O=>o.isRef(_)?_.value=O:null),"custom-type":s.value.customType,onCancel:o.unref(k),onSubmit:E},null,8,["modelValue","custom-type","onCancel"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(c.value)},[o.createElementVNode("span",{innerHTML:d.value},null,8,Ul)],2),o.createVNode(Rl,{hovering:o.unref(g),"disable-edit":o.unref(m).disableEdit,data:x.data,depth:x.depth,onEnableEditInput:o.unref(k),onAddNewProp:z},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),h.value&&o.unref(a).includes(`${x.depth}-${x.index}`)?(o.openBlock(),o.createElementBlock("div",Gl,[o.createVNode(Ko,{data:f.value,depth:x.depth,index:x.index},null,8,["data","depth","index"]),u.value>n.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),{key:0,flat:"",size:"mini",class:"ml-4",onClick:C[2]||(C[2]=O=>n.value+=On)},{icon:o.withCtx(()=>[o.createVNode(o.unref(F),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[P,"Show more"]]):o.createCommentVNode("",!0),o.unref(N).enable?(o.openBlock(),o.createElementBlock("div",{key:1,style:o.normalizeStyle({paddingLeft:`${(x.depth+1)*15+4}px`})},[o.createElementVNode("span",Wl,[o.createVNode(vt,{modelValue:o.unref(N).key,"onUpdate:modelValue":C[3]||(C[3]=O=>o.unref(N).key=O),"show-actions":!1},null,8,["modelValue"])]),ql,o.createVNode(vt,{modelValue:o.unref(N).value,"onUpdate:modelValue":C[4]||(C[4]=O=>o.unref(N).value=O),"auto-focus":!1,onCancel:o.unref(V),onSubmit:D},null,8,["modelValue","onCancel"])],4)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),Kl=kt(Yl,[["__scopeId","data-v-7d2d7a44"]]),Ko=o.defineComponent({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.data,(i,r)=>(o.openBlock(),o.createElementBlock("div",{key:r},[o.createVNode(Kl,{data:i,depth:t.depth+1,index:`${t.index}-${r}`},null,8,["data","depth","index"])]))),128))]))}}),Zl=["onClick"],Jl={key:1,pl5:""},Xl={"font-state-field":"","text-4":""},Ql={key:0},Zo=o.defineComponent({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(e){const t=e;function n(){return{nodeId:t.nodeId,inspectorId:t.inspectorId,disableEdit:t.disableEdit}}const{context:i}=Nl(n());o.watchEffect(()=>{i.value=n()});const{expanded:r,toggleExpanded:s}=qo();return o.watchEffect(()=>{Object.keys(t.data).forEach((a,l)=>{r.value.includes(`${l}`)||s(`${l}`)})}),(a,l)=>(o.openBlock(),o.createElementBlock("div",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.data,(c,u,p)=>(o.openBlock(),o.createElementBlock("div",{key:p},[o.createElementVNode("div",{class:o.normalizeClass(["flex items-center",[(c==null?void 0:c.length)&&"cursor-pointer hover:bg-active"]]),onClick:d=>o.unref(s)(`${p}`)},[c!=null&&c.length?(o.openBlock(),o.createBlock(Wo,{key:0,value:o.unref(r).includes(`${p}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",Jl)),o.createElementVNode("span",Xl,o.toDisplayString(u),1)],10,Zl),c!=null&&c.length&&o.unref(r).includes(`${p}`)?(o.openBlock(),o.createElementBlock("div",Ql,[o.createVNode(Ko,{data:c,index:`${p}`},null,8,["data","index"])])):o.createCommentVNode("",!0)]))),128))]))}}),eu={class:"h-full flex flex-col"},tu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},nu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},_e="pinia",ou=o.defineComponent({__name:"Index",setup(e){const t=o.ref(""),n=o.ref([]),i=o.ref({}),r=o.computed(()=>{var u,p;return!((u=i.value.state)!=null&&u.length)&&!((p=i.value.getters)!=null&&p.length)});function s(u){var p;for(const d in u)(p=u[d])!=null&&p.length||delete u[d];return u}function a(u){ro({inspectorId:_e,nodeId:u}).then(p=>{i.value=s(_t(p))})}function l(){i.value={}}return o.watch(t,()=>{l(),a(t.value)}),(()=>{io({inspectorId:_e,filter:""}).then(u=>{const p=_t(u);n.value=p,!t.value&&p.length&&(t.value=p[0].id),a(p[0].id)})})(),co(u=>{!(u!=null&&u.data.length)||u.inspectorId!==_e||(n.value=u.data,!t.value&&u.data.length&&(t.value=u.data[0].id,a(u.data[0].id)))}),po(u=>{var p;!u||!((p=u==null?void 0:u.state)!=null&&p.length)||u.inspectorId!==_e||(i.value=s({state:u.state,getters:u.getters}))}),(u,p)=>(o.openBlock(),o.createElementBlock("div",eu,[o.createVNode(ho,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"}),o.createVNode(o.unref(Rn),{class:"flex-1"},{default:o.withCtx(()=>[o.createVNode(o.unref(Fe),{border:"r base",size:"40","h-full":""},{default:o.withCtx(()=>[o.createElementVNode("div",tu,[o.createVNode(Ms,{modelValue:t.value,"onUpdate:modelValue":p[0]||(p[0]=d=>t.value=d),data:n.value},null,8,["modelValue","data"])])]),_:1}),o.createVNode(o.unref(Fe),{size:"60"},{default:o.withCtx(()=>[o.createElementVNode("div",nu,[t.value&&!r.value?(o.openBlock(),o.createBlock(Zo,{key:0,class:"p3",data:i.value,"node-id":t.value,"inspector-id":_e},null,8,["data","node-id"])):(o.openBlock(),o.createBlock(mo,{key:1},{default:o.withCtx(()=>[o.createTextVNode(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function iu(e,t){const n=new Date(e);return`${n.toString().match(/\d\d:\d\d:\d\d/)[0]}${t==="ms"?`.${String(n.getMilliseconds()).padStart(3,"0")}`:""}`}const ru={class:"p3"},su=["onClick"],au={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},lu={class:"h-full flex items-center truncate pl5"},uu={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},cu={pl2:"",op30:""},du=o.defineComponent({__name:"EventList",props:o.mergeModels({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=o.useModel(e,"modelValue"),i=["#3e5770","#42b983","#0098c4"],r=o.computed(()=>{let s=-1,a=0;return t.data.forEach(l=>{(l.groupId!==a||s===-1)&&(s=(s+1)%i.length),a=l.groupId??a,l.color=i[s]}),t.data});return(s,a)=>(o.openBlock(),o.createElementBlock("div",ru,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,(l,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:"relative mb7 h6 cursor-pointer",style:o.normalizeStyle({color:n.value===c?l.color:""}),onClick:u=>n.value=c},[o.createElementVNode("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:o.normalizeStyle({border:`3px solid ${l.color}`})},null,4),c<s.data.length-1?(o.openBlock(),o.createElementBlock("span",au)):o.createCommentVNode("",!0),o.createElementVNode("p",lu,[o.createElementVNode("span",uu,"["+o.toDisplayString(o.unref(iu)(l.time))+"]",1),o.createTextVNode(" "+o.toDisplayString(l.title)+" ",1),o.createElementVNode("span",cu,o.toDisplayString(l.subtitle),1)])],12,su))),128))])]))}}),pu={class:"h-full flex flex-col"},fu={key:0,class:"flex-1 overflow-hidden"},hu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},mu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},vu="pinia:mutations",gu=o.defineComponent({__name:"Index",setup(e){Ml();const t=o.ref([]),n=o.ref(new Map),i=o.ref(0),r=o.computed(()=>t.value[i.value]??null),s=o.computed(()=>{var p;const u=[];for(const d in(p=r.value)==null?void 0:p.data)u.push({key:d,type:d,editable:!1,value:r.value.data[d]});return u}),a=o.computed(()=>{var d,f,h;const u=(d=r.value)==null?void 0:d.groupId,p=n.value.get(u);if(p){const v=((f=p[p.length-1])==null?void 0:f.time)-(((h=p[0])==null?void 0:h.time)??0);return[{key:"events",type:"events",editable:!1,value:p.length},v&&{key:"duration",type:"duration",editable:!1,value:`${v}ms`}].filter(Boolean)}}),l=o.computed(()=>({"Event Info":s.value,...a.value&&{"Group Info":a.value}}));function c(u){var d;const p=u.groupId;p!==void 0&&(n.value.set(p,n.value.get(p)??[]),(d=n.value.get(p))==null||d.push(u))}return fo(u=>{if(!u)return;const{layerId:p,event:d}=u;p===vu&&(t.value.push(d),c(d))}),(u,p)=>(o.openBlock(),o.createElementBlock("div",pu,[o.createVNode(ho,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"}),t.value.length?(o.openBlock(),o.createElementBlock("div",fu,[o.createVNode(o.unref(Rn),{class:"h-full"},{default:o.withCtx(()=>[o.createVNode(o.unref(Fe),{border:"r base",size:"40","h-full":""},{default:o.withCtx(()=>[o.createElementVNode("div",hu,[o.createVNode(du,{modelValue:i.value,"onUpdate:modelValue":p[0]||(p[0]=d=>i.value=d),data:t.value},null,8,["modelValue","data"])])]),_:1}),o.createVNode(o.unref(Fe),{size:"60"},{default:o.withCtx(()=>[o.createElementVNode("div",mu,[o.createVNode(Zo,{class:"p3",data:l.value,"node-id":"","inspector-id":"","disable-edit":!0},null,8,["data"])])]),_:1})]),_:1})])):(o.openBlock(),o.createBlock(mo,{key:1,class:"flex-1"},{default:o.withCtx(()=>[o.createTextVNode(" No events ")]),_:1}))]))}}),yu=Symbol("VueDevToolsConnectStateSymbol");function _u(){const e=o.ref(!1),t=o.ref(!1),n=o.computed(()=>e.value&&t.value);return so().then(i=>{e.value=i.connected,t.value=i.clientConnected}),uo(i=>{e.value=i.connected,t.value=i.clientConnected}),o.provide(yu,n),{connected:n}}const wu={"h-full":"","w-full":""},bu=o.defineComponent({__name:"index",setup(e){_u();const{VirtualRouterView:t}=oi([{path:"/",component:bi},{path:"/store",component:ou},{path:"/timeline",component:gu}]);return o.ref("/"),(n,i)=>(o.openBlock(),o.createElementBlock("div",wu,[o.createVNode(o.unref(t))]))}});exports.Pinia=bu;
|