@vue/devtools-applet 7.0.25 → 7.0.27
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/dist/{src/components → components}/basic/DevToolsHeader.vue.d.ts +1 -1
- package/dist/{src/components → components}/basic/Empty.vue.d.ts +1 -1
- package/dist/{src/components → components}/basic/SelectiveList.vue.d.ts +1 -1
- package/dist/{src/components → components}/basic/ToggleExpanded.vue.d.ts +1 -1
- package/dist/{src/components → components}/state/ChildStateViewer.vue.d.ts +3 -2
- package/dist/{src/components → components}/state/RootStateViewer.vue.d.ts +3 -2
- package/dist/{src/components → components}/state/StateFieldEditor.vue.d.ts +4 -3
- package/dist/{src/components → components}/state/StateFieldInputEditor.vue.d.ts +2 -1
- package/dist/{src/components → components}/state/StateFieldViewer.vue.d.ts +3 -2
- package/dist/{src/composables → composables}/connect-state.d.ts +3 -2
- package/dist/{src/composables → composables}/hover.d.ts +3 -2
- package/dist/{src/composables → composables}/state-editor.d.ts +2 -1
- package/dist/{src/composables → composables}/toggle-expanded.d.ts +2 -1
- package/dist/{src/composables → composables}/virtual-router.d.ts +3 -2
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/{src/pinia → pinia}/components/DevToolsLogo.vue.d.ts +1 -1
- package/dist/{src/pinia → pinia}/components/Home.vue.d.ts +1 -1
- package/dist/{src/pinia → pinia}/components/Navbar.vue.d.ts +1 -1
- package/dist/{src/pinia/components/timeline → pinia/components/store}/Index.vue.d.ts +1 -1
- package/dist/{src/pinia → pinia}/components/timeline/EventList.vue.d.ts +2 -2
- package/dist/{src/pinia/components/store → pinia/components/timeline}/Index.vue.d.ts +1 -1
- package/dist/pinia/index.d.ts +3 -0
- package/dist/{src/pinia → pinia}/index.vue.d.ts +1 -1
- package/package.json +9 -12
- package/dist/src/index.d.ts +0 -4
- package/dist/src/pinia/index.d.ts +0 -2
- package/dist/uno.config.d.ts +0 -2
- package/dist/vite.config.d.ts +0 -32
- package/index.d.ts +0 -1
- /package/dist/{src/utils → utils}/date.d.ts +0 -0
- /package/dist/{src/utils → utils}/index.d.ts +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),Pt=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},mi={},vi={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gi=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),yi=[gi];function _i(e,t){return o.openBlock(),o.createElementBlock("svg",vi,yi)}const bi=Pt(mi,[["render",_i]]),Dt=Symbol("VirtualRouteKey"),Yn=Symbol("VirtualRoutesKey");function wi(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(Dt,t),o.provide(Yn,e),{VirtualRouterView:i}}function Ot(){const e=o.inject(Dt);return{push(t){e.value.path=t}}}function xi(){const e=o.inject(Yn),t=o.inject(Dt);return{routes:e,currentRoute:t}}const Ei={"h-full":"","w-full":"",flex:"","items-center":""},Ci={flex:"~ col gap2",ma:"","px-5":""},Si=o.createElementVNode("div",{"flex-auto":""},null,-1),ki={flex:"~ col","mt-20":"","items-center":""},Ai={flex:"~","mt--10":"","items-center":"","justify-center":""},$i=o.createElementVNode("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[o.createElementVNode("span",{op40:""}," Pinia DevTools ")],-1),Ti=o.createElementVNode("div",{"flex-auto":""},null,-1),Bi={flex:"~ gap2 wrap"},zi=o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":""},[o.createElementVNode("div",{"i-logos-pinia":"","text-3xl":""})],-1),Ni=o.createElementVNode("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pi=o.createElementVNode("code",null,"Store",-1),Di=[Ni,Pi],Oi=o.createElementVNode("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ii=o.createElementVNode("div",null,"Timeline",-1),Vi=[Oi,Ii],Ri=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),Mi=o.createElementVNode("div",{"flex-auto":""},null,-1),Fi=o.defineComponent({__name:"Home",setup(e){const t=Ot();return(n,i)=>(o.openBlock(),o.createElementBlock("div",Ei,[o.createElementVNode("div",Ci,[Si,o.createElementVNode("div",ki,[o.createElementVNode("div",Ai,[o.createVNode(bi,{"h-18":""})]),$i]),Ti,o.createElementVNode("div",Bi,[zi,o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[0]||(i[0]=r=>o.unref(t).push("/store"))},Di),o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[1]||(i[1]=r=>o.unref(t).push("/timeline"))},Vi)]),Ri,Mi])]))}}),Zn={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,u=this.panes[a[1]]||null;const c=l.max<100&&s>=l.max+n.prevPanesSize,p=u.max<100&&s<=100-(u.max+this.sumNextPanesSize(t+1));if(c||p){c?(l.size=l.max,u.size=Math.max(100-l.max-n.prevPanesSize-n.nextPanesSize,0)):(l.size=Math.max(100-u.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),u.size=u.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,u=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,l.min),l.max)),u!==null&&(u.size=Math.min(Math.max(100-s-n.nextPanesSize-n.nextReachedMinPanes,u.min),u.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())}},ji=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Li={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 Hi(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 He=ji(Li,[["render",Hi]]);var Ui=Object.create,Jn=Object.defineProperty,Gi=Object.getOwnPropertyDescriptor,It=Object.getOwnPropertyNames,Wi=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty,Ki=(e,t)=>function(){return e&&(t=(0,e[It(e)[0]])(e=0)),t},Yi=(e,t)=>function(){return t||(0,e[It(e)[0]])((t={exports:{}}).exports,t),t.exports},Zi=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of It(t))!qi.call(e,r)&&r!==n&&Jn(e,r,{get:()=>t[r],enumerable:!(i=Gi(t,r))||i.enumerable});return e},Ji=(e,t,n)=>(n=e!=null?Ui(Wi(e)):{},Zi(t||!e||!e.__esModule?Jn(n,"default",{value:e,enumerable:!0}):n,e)),Pe=Ki({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),Xi=Yi({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){Pe(),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?u:l;function a(c,p){for(var d=Object.keys(c),f=new Array(d.length),h=0;h<d.length;h++){var g=d[h],m=c[g];typeof m!="object"||m===null?f[g]=m:m instanceof Date?f[g]=new Date(m):ArrayBuffer.isView(m)?f[g]=n(m):f[g]=p(m)}return f}function l(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return a(c,l);if(c instanceof Map)return new Map(a(Array.from(c),l));if(c instanceof Set)return new Set(a(Array.from(c),l));var p={};for(var d in c)if(Object.hasOwnProperty.call(c,d)!==!1){var f=c[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 u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return a(c,u);if(c instanceof Map)return new Map(a(Array.from(c),u));if(c instanceof Set)return new Set(a(Array.from(c),u));var p={};for(var d in c){var f=c[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),u)):f instanceof Set?p[d]=new Set(a(Array.from(f),u)):ArrayBuffer.isView(f)?p[d]=n(f):p[d]=u(f)}return p}}function r(s){var a=[],l=[];return s.proto?p:c;function u(d,f){for(var h=Object.keys(d),g=new Array(h.length),m=0;m<h.length;m++){var v=h[m],y=d[v];if(typeof y!="object"||y===null)g[v]=y;else if(y instanceof Date)g[v]=new Date(y);else if(ArrayBuffer.isView(y))g[v]=n(y);else{var b=a.indexOf(y);b!==-1?g[v]=l[b]:g[v]=f(y)}}return g}function c(d){if(typeof d!="object"||d===null)return d;if(d instanceof Date)return new Date(d);if(Array.isArray(d))return u(d,c);if(d instanceof Map)return new Map(u(Array.from(d),c));if(d instanceof Set)return new Set(u(Array.from(d),c));var f={};a.push(d),l.push(f);for(var h in d)if(Object.hasOwnProperty.call(d,h)!==!1){var g=d[h];if(typeof g!="object"||g===null)f[h]=g;else if(g instanceof Date)f[h]=new Date(g);else if(g instanceof Map)f[h]=new Map(u(Array.from(g),c));else if(g instanceof Set)f[h]=new Set(u(Array.from(g),c));else if(ArrayBuffer.isView(g))f[h]=n(g);else{var m=a.indexOf(g);m!==-1?f[h]=l[m]:f[h]=c(g)}}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 u(d,p);if(d instanceof Map)return new Map(u(Array.from(d),p));if(d instanceof Set)return new Set(u(Array.from(d),p));var f={};a.push(d),l.push(f);for(var h in d){var g=d[h];if(typeof g!="object"||g===null)f[h]=g;else if(g instanceof Date)f[h]=new Date(g);else if(g instanceof Map)f[h]=new Map(u(Array.from(g),p));else if(g instanceof Set)f[h]=new Set(u(Array.from(g),p));else if(ArrayBuffer.isView(g))f[h]=n(g);else{var m=a.indexOf(g);m!==-1?f[h]=l[m]:f[h]=p(g)}}return a.pop(),l.pop(),f}}}});Pe();Pe();var Qi=typeof navigator<"u",P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof P.chrome<"u"&&P.chrome.devtools;Qi&&(P.self,P.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");Pe();var er=Ji(Xi(),1),tr=/(?:^|[-_/])(\w)/g,nr=/-(\w)/g;function Xn(e,t){return t?t.toUpperCase():""}function or(e){return e&&`${e}`.replace(tr,Xn)}function ir(e){return e&&e.replace(nr,Xn)}function rr(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 sr(e){return e&&e.slice().sort((t,n)=>t.key<n.key?-1:t.key>n.key?1:0)}var Kt=(0,er.default)({circles:!0});function Yt(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}function Zt(e){return Array.isArray(e)}Pe();function wt(e,t={},n){for(const i in e){const r=e[i],s=n?`${n}:${i}`:i;typeof r=="object"&&r!==null?wt(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const ar={run:e=>e()},lr=()=>ar,Qn=typeof console.createTask<"u"?console.createTask:lr;function ur(e,t){const n=t.shift(),i=Qn(n);return e.reduce((r,s)=>r.then(()=>i.run(()=>s(...t))),Promise.resolve())}function cr(e,t){const n=t.shift(),i=Qn(n);return Promise.all(e.map(r=>i.run(()=>r(...t))))}function ft(e,t){for(const n of[...e])n(t)}class dr{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=wt(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=wt(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(ur,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(cr,t,...n)}callHookWith(t,n,...i){const r=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&ft(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],i);return s instanceof Promise?s.finally(()=>{this._after&&r&&ft(this._after,r)}):(this._after&&r&&ft(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 eo(){return new dr}const pr={trailing:!0};function et(e,t=25,n={}){if(n={...pr,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let i,r,s=[],a,l;const u=(c,p)=>(a=fr(e,c,p),a.finally(()=>{if(a=null,n.trailing&&l&&!r){const d=u(c,l);return l=null,d}}),a);return function(...c){return a?(n.trailing&&(l=c),a):new Promise(p=>{const d=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const f=n.leading?i:u(this,c);for(const h of s)h(f);s=[]},t),d?(i=u(this,c),p(i)):s.push(p)})}}async function fr(e,t,n){return await e.apply(t,n)}var hr=Object.create,to=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyNames,vr=Object.getPrototypeOf,gr=Object.prototype.hasOwnProperty,yr=(e,t)=>function(){return e&&(t=(0,e[Vt(e)[0]])(e=0)),t},no=(e,t)=>function(){return t||(0,e[Vt(e)[0]])((t={exports:{}}).exports,t),t.exports},_r=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Vt(t))!gr.call(e,r)&&r!==n&&to(e,r,{get:()=>t[r],enumerable:!(i=mr(t,r))||i.enumerable});return e},br=(e,t,n)=>(n=e!=null?hr(vr(e)):{},_r(t||!e||!e.__esModule?to(n,"default",{value:e,enumerable:!0}):n,e)),C=yr({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),wr=no({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){C(),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"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),p=[".","!","~","*","'","(",")"].join(""),d=function(v,y){var b="-",_="",w="",A=!0,S={},O,D,I,k,B,x,E,z,V,T,$,Z,F,J,X="";if(typeof v!="string")return"";if(typeof y=="string"&&(b=y),E=l.en,z=a.en,typeof y=="object"){O=y.maintainCase||!1,S=y.custom&&typeof y.custom=="object"?y.custom:S,I=+y.truncate>1&&y.truncate||!1,k=y.uric||!1,B=y.uricNoSlash||!1,x=y.mark||!1,A=!(y.symbols===!1||y.lang===!1),b=y.separator||b,k&&(X+=u),B&&(X+=c),x&&(X+=p),E=y.lang&&l[y.lang]&&A?l[y.lang]:A?l.en:{},z=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(L){S[L+""]=L+""}),D=!0):D=!!y.titleCase,y.custom&&typeof y.custom.length=="number"&&Array.prototype.toString.call(y.custom)&&y.custom.forEach(function(L){S[L+""]=L+""}),Object.keys(S).forEach(function(L){var _e;L.length>1?_e=new RegExp("\\b"+h(L)+"\\b","gi"):_e=new RegExp(h(L),"gi"),v=v.replace(_e,S[L])});for($ in S)X+=$}for(X+=b,X=h(X),v=v.replace(/(^\s+|\s+$)/g,""),F=!1,J=!1,T=0,Z=v.length;T<Z;T++)$=v[T],g($,S)?F=!1:z[$]?($=F&&z[$].match(/[A-Za-z0-9]/)?" "+z[$]:z[$],F=!1):$ in i?(T+1<Z&&r.indexOf(v[T+1])>=0?(w+=$,$=""):J===!0?($=s[w]+i[$],w=""):$=F&&i[$].match(/[A-Za-z0-9]/)?" "+i[$]:i[$],F=!1,J=!1):$ in s?(w+=$,$="",T===Z-1&&($=s[w]),J=!0):E[$]&&!(k&&u.indexOf($)!==-1)&&!(B&&c.indexOf($)!==-1)?($=F||_.substr(-1).match(/[A-Za-z0-9]/)?b+E[$]:E[$],$+=v[T+1]!==void 0&&v[T+1].match(/[A-Za-z0-9]/)?b:"",F=!0):(J===!0?($=s[w]+$,w="",J=!1):F&&(/[A-Za-z0-9]/.test($)||_.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),F=!1),_+=$.replace(new RegExp("[^\\w\\s"+X+"_-]","g"),b);return D&&(_=_.replace(/(\w)(\S*)/g,function(L,_e,qt){var pt=_e.toUpperCase()+(qt!==null?qt:"");return Object.keys(S).indexOf(pt.toLowerCase())<0?pt:pt.toLowerCase()})),_=_.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),I&&_.length>I&&(V=_.charAt(I)===b,_=_.slice(0,I),V||(_=_.slice(0,_.lastIndexOf(b)))),!O&&!D&&(_=_.toLowerCase()),_},f=function(v){return function(b){return d(b,v)}},h=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},g=function(m,v){for(var y in v)if(v[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)}}),xr=no({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){C(),t.exports=wr()}});C();C();C();C();C();C();C();C();C();C();var Jt,Xt,le=(Xt=(Jt=P).__VUE_DEVTOOLS_HOOK)!=null?Xt:Jt.__VUE_DEVTOOLS_HOOK=eo(),Er={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)}},Cr={on:Er,setupDevToolsPlugin(e,t){return le.callHook("devtools-plugin:setup",e,t)}};C();C();C();C();C();C();C();br(xr(),1);C();C();C();var Qt,en,De=(en=(Qt=P).__VUE_DEVTOOLS_API_HOOK)!=null?en:Qt.__VUE_DEVTOOLS_API_HOOK=eo();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 Rt(e){return e.map(t=>{let{path:n,name:i,children:r}=t;return r!=null&&r.length&&(r=Rt(r)),{path:n,name:i,children:r}})}function kr(e){if(e){const{fullPath:t,hash:n,href:i,path:r,name:s,matched:a,params:l,query:u}=e;return{fullPath:t,hash:n,href:i,path:r,name:s,params:l,query:u,matched:Rt(a)}}return e}function Ar(e){function t(){var n;const i=(n=e.app)==null?void 0:n.config.globalProperties.$router,r=kr(i==null?void 0:i.currentRoute.value),s=Rt(Sr(i)),a=console.warn;console.warn=()=>{},P[ve]={currentRoute:r?Kt(r):{},routes:Kt(s)},P[qe]=i,console.warn=a}t(),Cr.on.componentUpdated(et(()=>{t(),De.callHook("router-info:updated",P[ve])},200))}C();C();C();function $r(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function oo(e){const t=e.__file;if(t)return or(rr(t,".vue"))}function Tr(e){const t=e.displayName||e.name||e._componentTag;return t||oo(e)}function tn(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Br(e){var t,n,i;const r=$r(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 tn(e,a);for(const a in(i=e.appContext)==null?void 0:i.components)if(e.appContext.components[a]===e.type)return tn(e,a);const s=oo(e.type||{});return s||"Anonymous Component"}function se(e){try{return e()}catch(t){return t}}C();C();C();C();C();C();C();C();var zr=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"]),nn=/^\[native Symbol Symbol\((.*)\)\]$/,Nr=/^\[object (\w+)]$/,Ue=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Pr=/^(?:function|class) (\w+)/,on=1e4,rn=5e3,tt="__vue_devtool_undefined__",nt="__vue_devtool_infinity__",ot="__vue_devtool_negative_infinity__",it="__vue_devtool_nan__",Dr={"<":"<",">":">",'"':""","&":"&"};C();C();function Or(e){return e._&&Object.keys(e._).includes("vnode")}function io(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ir(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function ro(e){return!!e.__v_isRef}function Vr(e){return ro(e)&&!!e.effect}function Rr(e){return!!e.__v_isReactive}function Mr(e){return!!e.__v_isReadonly}var Ge={[tt]:"undefined",[it]:"NaN",[nt]:"Infinity",[ot]:"-Infinity"},ht=Object.entries(Ge).reduce((e,[t,n])=>(e[n]=t,e),{});function Fr(e){return e===null?"null":typeof e=="string"&&Ge[e]||!1}function jr(e){const t=new RegExp(`"(${Object.keys(Ge).join("|")})"`,"g");return e.replace(t,(n,i)=>Ge[i])}function Lr(e){const t=ht[e.trim()];if(t)return`"${t}"`;const n=new RegExp(`:\\s*(${Object.keys(ht).join("|")})`,"g");return e.replace(n,(i,r)=>`:"${ht[r]}"`)}function so(e){if(Array.isArray(e))return e.map(n=>so(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(Pr);return typeof e=="function"&&t&&t[1]||"any"}function Hr(e){return!Ir(e)&&!Array.isArray(e)&&!io(e)?Object.prototype.toString.call(e):e}function ao(e){return{ref:ro(e),computed:Vr(e),reactive:Rr(e),readonly:Mr(e)}}function lo(e){return e!=null&&e.__v_raw?e.__v_raw:e}function we(e){return e.replace(/[<>"&]/g,t=>Dr[t]||t)}function We(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:i,extends:r}=t;r&&We(e,r),i&&i.forEach(s=>We(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 Ur(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=>We(s,a)),We(s,t),s}function Gr(e){const t=[],n=e.type.props;for(const i in e.props){const r=n?n[i]:null,s=ir(i);t.push({type:"props",key:s,value:se(()=>e.props[i]),meta:r?{type:r.type?so(r.type):"any",required:!!r.required,...r.default?{default:r.default.toString()}:{}}:{type:"invalid"}})}return t}function Wr(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 qr(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 Kr(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!zr.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var i,r,s,a;const l=se(()=>lo(e.setupState[n])),u=t[n];let c,p=typeof l=="function"||typeof(l==null?void 0:l.render)=="function"||typeof(l==null?void 0:l.__asyncLoader)=="function";if(u){const f=ao(u),{stateType:h,stateTypeName:g}=qr(f),m=f.ref||f.computed||f.reactive,v=((r=(i=u.effect)==null?void 0:i.raw)==null?void 0:r.toString())||((a=(s=u.effect)==null?void 0:s.fn)==null?void 0:a.toString());h&&(p=!1),c={...h?{stateType:h,stateTypeName:g}:{},...v?{raw:v}:{},editable:m&&!f.readonly}}return{key:n,value:l,type:p?"setup (other)":"setup",...c}})}function Yr(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 u;return(u=e==null?void 0:e.proxy)==null?void 0:u[s]}),editable:typeof a.set=="function"})}return i}function Zr(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:se(()=>e.attrs[t])}))}function Jr(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:se(()=>e.provides[t])}))}function Xr(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 Qr(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:se(()=>e.refs[t])}))}function es(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,...u]=a.split(/(?=[A-Z])/);if(l==="on"){const c=u.join("-").toLowerCase(),p=i.includes(c);s.push({type:"event listeners",key:c,value:{_custom:{displayText:p?"✅ Declared":"⚠️ Not declared",key:p?"✅ Declared":"⚠️ Not declared",value:p?"✅ Declared":"⚠️ Not declared",tooltipText:p?null:`The event <code>${c}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return s}function ts(e){const t=Ur(e);return Gr(e).concat(Wr(e),Kr(e),Yr(e,t),Zr(e),Jr(e),Xr(e,t),Qr(e),es(e))}C();C();C();C();C();function ns(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 os(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function is(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 rs(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function ss(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function as(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 ls(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 us(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 cs(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:as(e)},fields:{abstract:!0}}}}function ds(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function ps(e){e._&&(e=e._);const t=ts(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:Br(e),tooltipText:"Component instance",value:ls(t),fields:{abstract:!0}}}}function fs(e){let t=Tr(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 hs(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:us(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function ms(e){var t,n,i,r;const s=ao(e);if(s.ref||s.computed||s.reactive){const l=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,u=lo(s.reactive?e:e._value),c=((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:u,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function vs(e){var t;if(e==="compilerOptions")return;const n=this[e],i=typeof n;if(Array.isArray(n)){const r=n.length;return r>rn?{_isArray:!0,length:r,items:n.slice(0,rn)}:n}else{if(typeof n=="string")return n.length>on?`${n.substring(0,on)}... (${n.length} total length)`:n;if(i==="undefined")return tt;if(n===Number.POSITIVE_INFINITY)return nt;if(n===Number.NEGATIVE_INFINITY)return ot;if(typeof n=="function")return ns(n);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return os(n);if(n!==null&&typeof n=="object"){const r=Object.prototype.toString.call(n);if(r==="[object Map]")return rs(n);if(r==="[object Set]")return ss(n);if(r==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(r==="[object Date]")return is(n);if(r==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return cs(n);if(n.constructor&&n.constructor.name==="VueRouter")return ds(n);if(Or(n))return ps(n);if(typeof n.render=="function")return fs(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return hs(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const s=ms(n);if(s!=null)return s}else if(Number.isNaN(n))return it}return Hr(n)}C();function gs(e){const t=new Set,n=e._custom.value;for(let i=0;i<n.length;i++){const r=n[i];t.add(rt(r))}return t}function ys(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,rt(s))}return t}function rt(e){var t;if(e!==tt){if(e===nt)return Number.POSITIVE_INFINITY;if(e===ot)return Number.NEGATIVE_INFINITY;if(e===it)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=xe.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?ys(e):n.type==="set"?gs(e):n.type==="bigint"?BigInt(n.value):rt(n.value)}else if(nn.test(e)){const[,n]=nn.exec(e);return Symbol.for(n)}else if(Ue.test(e)){const[,n,i,,r]=Ue.exec(e),s=new P[n](i);return n==="Error"&&r&&(s.stack=r),s}else return e}}function uo(e,t){return rt(t)}C();var Ie=512*1024;function xt(e,t,n,i){let r,s,a,l,u;const c=i.get(e);if(c!=null)return c;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,u=f.length;l<u;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]=xt(a,t,n,i)}}else if(d==="[object Array]")for(r=[],i.set(e,p),n.push(r),l=0,u=e.length;l<u;l++){try{a=e[l],t&&(a=t.call(e,l,a))}catch(f){a=f}r[l]=xt(a,t,n,i)}else n.push(e);return p}function _s(e,t=null){let n=e.length,i,r,s,a,l,u;for(;n--;)if(s=e[n],u=Object.prototype.toString.call(s),u==="[object Object]"){const c=Object.keys(s);for(i=0,r=c.length;i<r;i++)a=c[i],l=e[s[a]],t&&(l=t.call(s,a,l)),s[a]=l}else if(u==="[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 bs(e,t=null,n=null){let i;try{i=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{i=ws(e,t,n)}if(i.length>Ie){const r=Math.ceil(i.length/Ie),s=[];for(let a=0;a<r;a++)s.push(i.slice(a*Ie,(a+1)*Ie));return s}return i}function ws(e,t=null,n=null){const i=[];return xt(e,t,i,new Map),n?` ${JSON.stringify(i,null,n)}`:` ${JSON.stringify(i)}`}function sn(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const i=JSON.parse(e);return _s(i,t),i[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}C();function Ae(e,t=!0){const n=typeof e;if(e==null||e===tt||e==="undefined")return"null";if(n==="boolean"||n==="number"||e===nt||e===ot||e===it)return"literal";if(e!=null&&e._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":Ae(e._custom.value);if(typeof e=="string"){const i=Ue.exec(e);if(i){const[,r]=i;return`native ${r}`}else return"string"}else return Array.isArray(e)||e!=null&&e._isArray?"array":io(e)?"plain-object":"unknown"}function co(e,t=!1){var n,i;let r;const s=Ae(e,!1);if(s!=="custom"&&(e!=null&&e._custom)&&(e=e._custom.value),r=Fr(e))return r;if(s==="custom")return((n=e._custom.value)==null?void 0:n._custom)&&co(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=Ue.exec(e))==null?void 0:i[2]);if(typeof e=="string"){const a=e.match(Nr);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 Mt(e){var t,n,i;let r;const s=Ae(e)==="custom";let a={};if(s){const l=e,u=(t=l._custom)==null?void 0:t.value,c=(n=l._custom)==null?void 0:n.type,p=typeof u=="object"&&u!==null&&"_custom"in u?Mt(u):{inherit:void 0,value:void 0,customType:void 0};a=p.inherit||((i=l._custom)==null?void 0:i.fields)||{},e=p.value||u,r=p.customType||c}return e&&e._isArray&&(e=e.items),{value:e,inherit:a,customType:r}}function xs(e,t){return t==="bigint"||t==="date"?e:jr(JSON.stringify(e))}function Me(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(Lr(e),uo)}function po(e){return bs(e,vs)}function Et(e,t=!1){return e==null?{}:t?sn(e,uo):sn(e)}C();C();C();C();C();var an,ln;(ln=(an=P).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(an.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);C();C();C();var te="__VUE_DEVTOOLS_GLOBAL_STATE__";function Es(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var un,cn;(cn=(un=P)[te])!=null||(un[te]=Es());var fo=et((e,t)=>{De.callHook("devtools:state-updated",e,t)},80),ho=et((e,t)=>{De.callHook("devtools:connected-updated",e,t)},80),M=new Proxy(P[te],{get(e,t){return P[te][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const i={...P[te]};return e[t]=n,P[te][t]=n,fo(P[te],i),["connected","clientConnected"].includes(t.toString())&&i[t]!==n&&ho(P[te],i),!0}});Object.defineProperty(M.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return M.tabs=this,De.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,De.callHook("custom-commands:updated",this),n}})});C();C();var qe="__VUE_DEVTOOLS_ROUTER__",ve="__VUE_DEVTOOLS_ROUTER_INFO__",dn,pn;(pn=(dn=P)[ve])!=null||(dn[ve]={currentRoute:null,routes:[]});var fn,hn;(hn=(fn=P)[qe])!=null||(fn[qe]=null);var Cs=new Proxy(P[ve],{get(e,t){return P[ve][t]}});C();var fe="__VUE_DEVTOOLS_CONTEXT__";function mo(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var mn,vn;(vn=(mn=P)[fe])!=null||(mn[fe]=mo());function Ss(){P[fe]=mo()}var xe=new Proxy(P[fe],{get(e,t){return t==="router"?P[qe]:t==="clear"?Ss:P[fe][t]},set(e,t,n){return P[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,xe.appRecord=s,xe.api=s.api,xe.inspector=(i=s.inspector)!=null?i:[],Ar(n),xe.routerInfo=Cs}else t==="activeId"&&(M.activeAppRecordId=n);return fo(M,r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&ho(M,r),!0}});var gn,yn;(yn=(gn=P).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__)!=null||(gn.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});C();var _n,bn;(bn=(_n=P).__VUE_DEVTOOLS_ENV__)!=null||(_n.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});C();C();function ks(e){M.highPerfModeEnabled=e??!M.highPerfModeEnabled}let As="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",vo=(e=21)=>{let t="",n=e;for(;n--;)t+=As[Math.random()*64|0];return t};var $s=Object.defineProperty,go=(e,t)=>{for(var n in t)$s(e,n,{get:t[n],enumerable:!0})},Ts={};go(Ts,{onAddTimelineEvent:()=>ko,onCustomCommandsUpdated:()=>ta,onCustomTabsUpdated:()=>ea,onDevToolsStateUpdated:()=>Eo,onInspectorStateUpdated:()=>So,onInspectorTreeUpdated:()=>Co,onRouterInfoUpdated:()=>na});var Bs={};go(Bs,{checkVueInspectorDetected:()=>zs,editInspectorState:()=>Ke,enableVueInspector:()=>Ns,getComponentBoundingRect:()=>Os,getDevToolsState:()=>bo,getInspectorState:()=>_o,getInspectorTree:()=>yo,getMatchedRoutes:()=>Hs,getRouterInfo:()=>js,getTimelineLayer:()=>Us,inspectComponentInspector:()=>Is,navigateAction:()=>Ls,openInEditor:()=>Ds,scrollToComponent:()=>Rs,toggleApp:()=>Ps,toggleComponentInspector:()=>Vs,toggleHighPerfMode:()=>Gs,unhighlightElement:()=>Fs,updateInspectorTreeId:()=>Ms});var zs=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))}),Ns=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()}),Ps=R("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),Ke=R("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),Ds=R("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),yo=R("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return po(n)}),Os=R("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),Is=R("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),Vs=R("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),Rs=R("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),_o=R("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return po(n)}),Ms=R("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),Fs=R("devtools:unhighlight-element",e=>e.api.unhighlightElement()),js=R("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),Ls=R("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(i=>i)}),Hs=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)}),Us=R("devtools:get-timeline-layer",e=>e.context.timelineLayer),bo=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}}),Gs=R("devtools:toggle-high-perf-mode",(e,t)=>{ks(t)}),Ws="devtools:bridge-action",qs="devtools:bridge-listener",Ks="__vue_devtools_bridge__",Ys="__vue_devtools_bridge_target__",Zs="devtools:bridge-action-events",Js="devtools:bridge-listener-events",Xs=P[Zs]=new Map,Qs=P[Js]=new Map;function wo(){return P[Ks]}function xo(){return P[Ys]}function R(e,t){return async(...n)=>{if(xo()==="devtools"){const r=wo(),s=vo();return await new Promise(a=>{r.once(s,l=>{a(l)}),r.emit(Ws,{name:e,key:s,args:n})})}else Xs.set(e,t)}}function de(e,t,n={}){return i=>{if(xo()==="devtools"){const{parser:s="devtools"}=n,a=s==="devtools"?Et:JSON.parse,l=wo(),u=vo(),c=l.on(u,p=>{i(a(p))});return l.emit(qs,{key:u,name:e,parser:s}),c}else return Qs.set(e,t),()=>{}}}var Eo=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)}}),ea=de("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),ta=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)})}),So=de("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),na=de("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),ko=de("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})});const oa={class:"flex gap3"},ia=["onClick"],Ao=o.defineComponent({__name:"Navbar",setup(e){const{routes:t,currentRoute:n}=xi(),i=Ot();return(r,s)=>(o.openBlock(),o.createElementBlock("ul",oa,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(t),(a,l)=>(o.openBlock(),o.createElementBlock("li",{key:l,"cursor-pointer":"","hover:op100":"",style:o.normalizeStyle({opacity:o.unref(n).path===a.path?1:.7}),onClick:u=>o.unref(i).push(a.path)},o.toDisplayString(a.name),13,ia))),128))]))}}),ra={class:"p2"},sa=["onClick"],aa=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",ra,[(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,sa))),128))]))}}),la={border:"b base",class:"h10 h40px flex items-center justify-between px3"},ua=["href"],ca=o.createElementVNode("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),da=[ca],pa=["href"],fa=o.createElementVNode("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),ha=[fa],$o=o.defineComponent({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(e){const t=Ot();return(n,i)=>(o.openBlock(),o.createElementBlock("div",la,[o.createElementVNode("div",null,[o.renderSlot(n.$slots,"default",{},()=>[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:"pr2",href:n.docLink,target:"_blank"},da,8,ua),o.createElementVNode("a",{href:n.githubRepoLink,target:"_blank"},ha,8,pa)])]))}}),ma={},va={class:"h-full flex flex-col items-center justify-center op50"},ga=o.createElementVNode("i",{class:"i-lets-icons:blank-light"},null,-1);function ya(e,t){return o.openBlock(),o.createElementBlock("div",va,[ga,o.createElementVNode("span",null,[o.renderSlot(e.$slots,"default")])])}const To=Pt(ma,[["render",ya]]),_a=["top","right","bottom","left"],wn=["start","end"],xn=_a.reduce((e,t)=>e.concat(t,t+"-"+wn[0],t+"-"+wn[1]),[]),$e=Math.min,ue=Math.max,ba={left:"right",right:"left",bottom:"top",top:"bottom"},wa={start:"end",end:"start"};function Ct(e,t,n){return ue(e,$e(t,n))}function pe(e,t){return typeof e=="function"?e(t):e}function Y(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function Bo(e){return e==="x"?"y":"x"}function Ft(e){return e==="y"?"height":"width"}function Oe(e){return["top","bottom"].includes(Y(e))?"y":"x"}function jt(e){return Bo(Oe(e))}function zo(e,t,n){n===void 0&&(n=!1);const i=W(e),r=jt(e),s=Ft(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Ze(a)),[a,Ze(a)]}function xa(e){const t=Ze(e);return[Ye(e),t,Ye(t)]}function Ye(e){return e.replace(/start|end/g,t=>wa[t])}function Ea(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 Ca(e,t,n,i){const r=W(e);let s=Ea(Y(e),n==="start",i);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(Ye)))),s}function Ze(e){return e.replace(/left|right|bottom|top/g,t=>ba[t])}function Sa(e){return{top:0,right:0,bottom:0,left:0,...e}}function No(e){return typeof e!="number"?Sa(e):{top:e,right:e,bottom:e,left:e}}function Ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function En(e,t,n){let{reference:i,floating:r}=e;const s=Oe(t),a=jt(t),l=Ft(a),u=Y(t),c=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(u){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&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1);break}return h}const ka=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:d}=En(c,i,u),f=i,h={},g=0;for(let m=0;m<l.length;m++){const{name:v,fn:y}=l[m],{x:b,y:_,data:w,reset:A}=await y({x:p,y:d,initialPlacement:i,placement:f,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});if(p=b??p,d=_??d,h={...h,[v]:{...h[v],...w}},A&&g<=50){g++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(c=A.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):A.rects),{x:p,y:d}=En(c,f,u)),m=-1;continue}}return{x:p,y:d,placement:f,strategy:r,middlewareData:h}};async function st(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=pe(t,e),g=No(h),v=l[f?d==="floating"?"reference":"floating":d],y=Ee(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:u})),b=d==="floating"?{...a.floating,x:i,y:r}:a.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),w=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},A=Ee(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:_,strategy:u}):b);return{top:(y.top-A.top+g.top)/w.y,bottom:(A.bottom-y.bottom+g.bottom)/w.y,left:(y.left-A.left+g.left)/w.x,right:(A.right-y.right+g.right)/w.x}}const Aa=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:s,platform:a,elements:l}=t,{element:u,padding:c=0}=pe(e,t)||{};if(u==null)return{};const p=No(c),d={x:n,y:i},f=jt(r),h=Ft(f),g=await a.getDimensions(u),m=f==="y",v=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",_=s.reference[h]+s.reference[f]-d[f]-s.floating[h],w=d[f]-s.reference[f],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let S=A?A[b]:0;(!S||!await(a.isElement==null?void 0:a.isElement(A)))&&(S=l.floating[b]||s.floating[h]);const O=_/2-w/2,D=S/2-g[h]/2-1,I=$e(p[v],D),k=$e(p[y],D),B=I,x=S-g[h]-k,E=S/2-g[h]/2+O,z=Ct(B,E,x),T=W(r)!=null&&E!=z&&s.reference[h]/2-(E<B?I:k)-g[h]/2<0?E<B?B-E:x-E:0;return{[f]:d[f]-T,data:{[f]:z,centerOffset:E-z+T}}}});function $a(e,t,n){return(e?[...n.filter(r=>W(r)===e),...n.filter(r=>W(r)!==e)]:n.filter(r=>Y(r)===r)).filter(r=>e?W(r)===e||(t?Ye(r)!==r:!1):!0)}const Ta=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:u,elements:c}=t,{crossAxis:p=!1,alignment:d,allowedPlacements:f=xn,autoAlignment:h=!0,...g}=pe(e,t),m=d!==void 0||f===xn?$a(d||null,h,f):f,v=await st(t,g),y=((n=a.autoPlacement)==null?void 0:n.index)||0,b=m[y];if(b==null)return{};const _=zo(b,s,await(u.isRTL==null?void 0:u.isRTL(c.floating)));if(l!==b)return{reset:{placement:m[0]}};const w=[v[Y(b)],v[_[0]],v[_[1]]],A=[...((i=a.autoPlacement)==null?void 0:i.overflows)||[],{placement:b,overflows:w}],S=m[y+1];if(S)return{data:{index:y+1,overflows:A},reset:{placement:S}};const O=A.map(k=>{const B=W(k.placement);return[k.placement,B&&p?k.overflows.slice(0,2).reduce((x,E)=>x+E,0):k.overflows[0],k.overflows]}).sort((k,B)=>k[1]-B[1]),I=((r=O.filter(k=>k[2].slice(0,W(k[0])?2:3).every(B=>B<=0))[0])==null?void 0:r[0])||O[0][0];return I!==l?{data:{index:y+1,overflows:A},reset:{placement:I}}:{}}}},Ba=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:u}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=pe(e,t),v=Y(i),y=Y(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),_=d||(y||!g?[Ze(a)]:xa(a));!d&&h!=="none"&&_.push(...Ca(a,g,h,b));const w=[a,..._],A=await st(t,m),S=[];let O=((n=r.flip)==null?void 0:n.overflows)||[];if(c&&S.push(A[v]),p){const B=zo(i,s,b);S.push(A[B[0]],A[B[1]])}if(O=[...O,{placement:i,overflows:S}],!S.every(B=>B<=0)){var D,I;const B=(((D=r.flip)==null?void 0:D.index)||0)+1,x=w[B];if(x)return{data:{index:B,overflows:O},reset:{placement:x}};let E=(I=O.filter(z=>z.overflows[0]<=0).sort((z,V)=>z.overflows[1]-V.overflows[1])[0])==null?void 0:I.placement;if(!E)switch(f){case"bestFit":{var k;const z=(k=O.map(V=>[V.placement,V.overflows.filter(T=>T>0).reduce((T,$)=>T+$,0)]).sort((V,T)=>V[1]-T[1])[0])==null?void 0:k[0];z&&(E=z);break}case"initialPlacement":E=a;break}if(i!==E)return{reset:{placement:E}}}return{}}}};async function za(e,t){const{placement:n,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=Y(n),l=W(n),u=Oe(n)==="y",c=["left","top"].includes(a)?-1:1,p=s&&u?-1:1,d=pe(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&typeof g=="number"&&(h=l==="end"?g*-1:g),u?{x:h*p,y:f*c}:{x:f*c,y:h*p}}const Na=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await za(t,e);return{x:n+r.x,y:i+r.y,data:r}}}},Pa=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:v=>{let{x:y,y:b}=v;return{x:y,y:b}}},...u}=pe(e,t),c={x:n,y:i},p=await st(t,u),d=Oe(Y(r)),f=Bo(d);let h=c[f],g=c[d];if(s){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",b=h+p[v],_=h-p[y];h=Ct(b,h,_)}if(a){const v=d==="y"?"top":"left",y=d==="y"?"bottom":"right",b=g+p[v],_=g-p[y];g=Ct(b,g,_)}const m=l.fn({...t,[f]:h,[d]:g});return{...m,data:{x:m.x-n,y:m.y-i}}}}},Da=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),u=await st(t,l),c=Y(n),p=W(n),d=Oe(n)==="y",{width:f,height:h}=i.floating;let g,m;c==="top"||c==="bottom"?(g=c,m=p===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(m=c,g=p==="end"?"top":"bottom");const v=h-u[g],y=f-u[m],b=!t.middlewareData.shift;let _=v,w=y;if(d){const S=f-u.left-u.right;w=p||b?$e(y,S):S}else{const S=h-u.top-u.bottom;_=p||b?$e(v,S):S}if(b&&!p){const S=ue(u.left,0),O=ue(u.right,0),D=ue(u.top,0),I=ue(u.bottom,0);d?w=f-2*(S!==0||O!==0?S+O:ue(u.left,u.right)):_=h-2*(D!==0||I!==0?D+I:ue(u.top,u.bottom))}await a({...t,availableWidth:w,availableHeight:_});const A=await r.getDimensions(s.floating);return f!==A.width||h!==A.height?{reset:{rects:!0}}:{}}}};function H(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){return H(e).getComputedStyle(e)}const Cn=Math.min,Ce=Math.max,Je=Math.round;function Po(e){const t=q(e);let n=parseFloat(t.width),i=parseFloat(t.height);const r=e.offsetWidth,s=e.offsetHeight,a=Je(n)!==r||Je(i)!==s;return a&&(n=r,i=s),{width:n,height:i,fallback:a}}function re(e){return Oo(e)?(e.nodeName||"").toLowerCase():""}let Ve;function Do(){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 K(e){return e instanceof H(e).HTMLElement}function oe(e){return e instanceof H(e).Element}function Oo(e){return e instanceof H(e).Node}function Sn(e){return typeof ShadowRoot>"u"?!1:e instanceof H(e).ShadowRoot||e instanceof ShadowRoot}function at(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 Oa(e){return["table","td","th"].includes(re(e))}function St(e){const t=/firefox/i.test(Do()),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 Io(){return!/^((?!chrome|android).)*safari/i.test(Do())}function Lt(e){return["html","body","#document"].includes(re(e))}function Vo(e){return oe(e)?e:e.contextElement}const Ro={x:1,y:1};function he(e){const t=Vo(e);if(!K(t))return Ro;const n=t.getBoundingClientRect(),{width:i,height:r,fallback:s}=Po(t);let a=(s?Je(n.width):n.width)/i,l=(s?Je(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function Te(e,t,n,i){var r,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=Vo(e);let u=Ro;t&&(i?oe(i)&&(u=he(i)):u=he(e));const c=l?H(l):window,p=!Io()&&n;let d=(a.left+(p&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/u.x,f=(a.top+(p&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/u.y,h=a.width/u.x,g=a.height/u.y;if(l){const m=H(l),v=i&&oe(i)?H(i):i;let y=m.frameElement;for(;y&&i&&v!==m;){const b=he(y),_=y.getBoundingClientRect(),w=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(w.paddingLeft))*b.x,_.y+=(y.clientTop+parseFloat(w.paddingTop))*b.y,d*=b.x,f*=b.y,h*=b.x,g*=b.y,d+=_.x,f+=_.y,y=H(y).frameElement}}return{width:h,height:g,top:f,right:d+h,bottom:f+g,left:d,x:d,y:f}}function ie(e){return((Oo(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mo(e){return Te(ie(e)).left+lt(e).scrollLeft}function Be(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sn(e)&&e.host||ie(e);return Sn(t)?t.host:t}function Fo(e){const t=Be(e);return Lt(t)?t.ownerDocument.body:K(t)&&at(t)?t:Fo(t)}function Xe(e,t){var n;t===void 0&&(t=[]);const i=Fo(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),s=H(i);return r?t.concat(s,s.visualViewport||[],at(i)?i:[]):t.concat(i,Xe(i))}function kn(e,t,n){return t==="viewport"?Ee(function(i,r){const s=H(i),a=ie(i),l=s.visualViewport;let u=a.clientWidth,c=a.clientHeight,p=0,d=0;if(l){u=l.width,c=l.height;const f=Io();(f||!f&&r==="fixed")&&(p=l.offsetLeft,d=l.offsetTop)}return{width:u,height:c,x:p,y:d}}(e,n)):oe(t)?Ee(function(i,r){const s=Te(i,!0,r==="fixed"),a=s.top+i.clientTop,l=s.left+i.clientLeft,u=K(i)?he(i):{x:1,y:1};return{width:i.clientWidth*u.x,height:i.clientHeight*u.y,x:l*u.x,y:a*u.y}}(t,n)):Ee(function(i){const r=ie(i),s=lt(i),a=i.ownerDocument.body,l=Ce(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),u=Ce(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let c=-s.scrollLeft+Mo(i);const p=-s.scrollTop;return q(a).direction==="rtl"&&(c+=Ce(r.clientWidth,a.clientWidth)-l),{width:l,height:u,x:c,y:p}}(ie(e)))}function An(e){return K(e)&&q(e).position!=="fixed"?e.offsetParent:null}function $n(e){const t=H(e);let n=An(e);for(;n&&Oa(n)&&q(n).position==="static";)n=An(n);return n&&(re(n)==="html"||re(n)==="body"&&q(n).position==="static"&&!St(n))?t:n||function(i){let r=Be(i);for(;K(r)&&!Lt(r);){if(St(r))return r;r=Be(r)}return null}(e)||t}function Ia(e,t,n){const i=K(t),r=ie(t),s=Te(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"||at(r))&&(a=lt(t)),K(t)){const u=Te(t,!0);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else r&&(l.x=Mo(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const Va={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const s=n==="clippingAncestors"?function(c,p){const d=p.get(c);if(d)return d;let f=Xe(c).filter(v=>oe(v)&&re(v)!=="body"),h=null;const g=q(c).position==="fixed";let m=g?Be(c):c;for(;oe(m)&&!Lt(m);){const v=q(m),y=St(m);(g?y||h:y||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:f=f.filter(b=>b!==m),m=Be(m)}return p.set(c,f),f}(t,this._c):[].concat(n),a=[...s,i],l=a[0],u=a.reduce((c,p)=>{const d=kn(t,p,r);return c.top=Ce(d.top,c.top),c.right=Cn(d.right,c.right),c.bottom=Cn(d.bottom,c.bottom),c.left=Ce(d.left,c.left),c},kn(t,l,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=K(n),s=ie(n);if(n===s)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((r||!r&&i!=="fixed")&&((re(n)!=="body"||at(s))&&(a=lt(n)),K(n))){const c=Te(n);l=he(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+u.x,y:t.y*l.y-a.scrollTop*l.y+u.y}},isElement:oe,getDimensions:function(e){return K(e)?Po(e):e.getBoundingClientRect()},getOffsetParent:$n,getDocumentElement:ie,getScale:he,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||$n,s=this.getDimensions;return{reference:Ia(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"},Ra=(e,t,n)=>{const i=new Map,r={platform:Va,...n},s={...r.platform,_c:i};return ka(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 ze(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 Ma(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 Tn(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 ge=!1;if(typeof window<"u"){ge=!1;try{const e=Object.defineProperty({},"passive",{get(){ge=!0}});window.addEventListener("test",null,e)}catch{}}let jo=!1;typeof window<"u"&&typeof navigator<"u"&&(jo=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Lo=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Bn={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},zn={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Nn(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function mt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const G=[];let ae=null;const Pn={};function Dn(e){let t=Pn[e];return t||(t=Pn[e]=[]),t}let kt=function(){};typeof window<"u"&&(kt=window.Element);function N(e){return function(t){return ze(t.theme,e)}}const vt="__floating-vue__popper",Ho=()=>o.defineComponent({name:"VPopper",provide(){return{[vt]:{parentPopper:this}}},inject:{[vt]:{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:N("disabled")},positioningDisabled:{type:Boolean,default:N("positioningDisabled")},placement:{type:String,default:N("placement"),validator:e=>Lo.includes(e)},delay:{type:[String,Number,Object],default:N("delay")},distance:{type:[Number,String],default:N("distance")},skidding:{type:[Number,String],default:N("skidding")},triggers:{type:Array,default:N("triggers")},showTriggers:{type:[Array,Function],default:N("showTriggers")},hideTriggers:{type:[Array,Function],default:N("hideTriggers")},popperTriggers:{type:Array,default:N("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:N("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:N("popperHideTriggers")},container:{type:[String,Object,kt,Boolean],default:N("container")},boundary:{type:[String,kt],default:N("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:N("strategy")},autoHide:{type:[Boolean,Function],default:N("autoHide")},handleResize:{type:Boolean,default:N("handleResize")},instantMove:{type:Boolean,default:N("instantMove")},eagerMount:{type:Boolean,default:N("eagerMount")},popperClass:{type:[String,Array,Object],default:N("popperClass")},computeTransformOrigin:{type:Boolean,default:N("computeTransformOrigin")},autoMinSize:{type:Boolean,default:N("autoMinSize")},autoSize:{type:[Boolean,String],default:N("autoSize")},autoMaxSize:{type:Boolean,default:N("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:N("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:N("preventOverflow")},overflowPadding:{type:[Number,String],default:N("overflowPadding")},arrowPadding:{type:[Number,String],default:N("arrowPadding")},arrowOverflow:{type:Boolean,default:N("arrowOverflow")},flip:{type:Boolean,default:N("flip")},shift:{type:Boolean,default:N("shift")},shiftCrossAxis:{type:Boolean,default:N("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:N("noAutoFocus")},disposeTimeout:{type:Number,default:N("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[vt])==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(Na({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ta({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Pa({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Ba({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Aa({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 u,c;return s.startsWith("top")||s.startsWith("bottom")?u=r.reference.width:c=r.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=c!=null?`${c}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(Da({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 Ra(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 mt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Xe(this.$_referenceNode),...Xe(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 Tn(this.theme))Dn(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 mt(),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,Nn(G,this),G.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Tn(this.theme)){const i=Dn(n);Nn(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 mt(),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,Bn,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Bn,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,zn,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],zn,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,ge?{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(Se>=e.left&&Se<=e.right&&ke>=e.top&&ke<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Se-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(jo){const e=ge?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>On(t),e),document.addEventListener("touchend",t=>In(t,!0),e)}else window.addEventListener("mousedown",e=>On(e),!0),window.addEventListener("click",e=>In(e,!1),!0);window.addEventListener("resize",La)}function On(e,t){for(let n=0;n<G.length;n++){const i=G[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function In(e,t){Fa(e,t)}function Fa(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]&&Vn(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&&Vn(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Vn(e,t,n){return n.closeAllPopover||n.closePopover&&t||ja(e,n)&&!t}function ja(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function La(){for(let e=0;e<G.length;e++)G[e].$_computePosition()}let Q=0,ee=0,Se=0,ke=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Q=Se,ee=ke,Se=e.clientX,ke=e.clientY},ge?{passive:!0}:void 0);function Re(e,t,n,i,r,s,a,l){const u=((a-r)*(t-s)-(l-s)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t)),c=((n-e)*(t-s)-(i-t)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t));return u>=0&&u<=1&&c>=0&&c<=1}const Ha={extends:Ho()},ut=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};function Ua(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 Ga=ut(Ha,[["render",Ua]]);function Wa(){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 Fe;function At(){At.init||(At.init=!0,Fe=Wa()!==-1)}var ct={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){At(),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",Fe&&this.$el.appendChild(e),e.data="about:blank",Fe||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&&(!Fe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qa=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Ka={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Ya=qa((e,t,n,i,r,s)=>(o.openBlock(),o.createBlock("div",Ka)));ct.render=Ya;ct.__scopeId="data-v-b329ee4c";ct.__file="src/components/ResizeObserver.vue";const Uo=(e="theme")=>({computed:{themeClass(){return Ma(this[e])}}}),Za=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:ct},mixins:[Uo()],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}}}),Ja=["id","aria-hidden","tabindex","data-popper-placement"],Xa={ref:"inner",class:"v-popper__inner"},Qa=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),el=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),tl=[Qa,el];function nl(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",Xa,[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)},tl,4)],4)],46,Ja)}const Go=ut(Za,[["render",nl]]),Wo={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 $t=function(){};typeof window<"u"&&($t=window.Element);const ol=o.defineComponent({name:"VPopperWrapper",components:{Popper:Ga,PopperContent:Go},mixins:[Wo,Uo("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,$t,Boolean],default:void 0},boundary:{type:[String,$t],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 il(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]=u=>e.$emit("update:shown",u)),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:u,isShown:c,shouldMountContent:p,skipTransition:d,autoHide:f,show:h,hide:g,handleResize:m,onResize:v,classes:y,result:b})=>[o.renderSlot(e.$slots,"default",{shown:c,show:h,hide:g}),o.createVNode(a,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:c,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":m,classes:y,result:b,onHide:g,onResize:v},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:c,hide:g})]),_: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 Ht=ut(ol,[["render",il]]),rl={...Ht,name:"VDropdown",vPopperTheme:"dropdown"};({...Ht});({...Ht});const sl=o.defineComponent({name:"VTooltipDirective",components:{Popper:Ho(),PopperContent:Go},mixins:[Wo],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ze(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ze(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}}}),al=["innerHTML"],ll=["textContent"];function ul(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:u,isShown:c,shouldMountContent:p,skipTransition:d,autoHide:f,hide:h,handleResize:g,onResize:m,classes:v,result:y})=>[o.createVNode(a,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:c,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":g,classes:v,result:y,onHide:h,onResize:m},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,al)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,ll))]),_: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 cl=ut(sl,[["render",ul]]),qo="v-popper--has-tooltip";function dl(e,t){let n=e.placement;if(!n&&t)for(const i of Lo)t[i]&&(n=i);return n||(n=ze(e.theme||"tooltip","placement")),n}function Ko(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=dl(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let gt,Ne,pl=0;function fl(){if(gt)return;Ne=o.ref([]),gt=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:Ne}},render(){return this.directives.map(t=>o.h(cl,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),gt.mount(e)}function hl(e,t,n){fl();const i=o.ref(Ko(e,t,n)),r=o.ref(!1),s={id:pl++,options:i,shown:r};return Ne.value.push(s),e.classList&&e.classList.add(qo),e.$_popper={options:i,item:s,show(){r.value=!0},hide(){r.value=!1}}}function Yo(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(qo)}function Rn(e,{value:t,modifiers:n}){const i=Ko(e,t,n);if(!i.content||ze(i.theme||"tooltip","disabled"))Yo(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=i):r=hl(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const ml={beforeMount:Rn,updated:Rn,beforeUnmount(e){Yo(e)}};function Mn(e){e.addEventListener("mousedown",Qe),e.addEventListener("click",Qe),e.addEventListener("touchstart",Zo,ge?{passive:!0}:!1)}function Fn(e){e.removeEventListener("mousedown",Qe),e.removeEventListener("click",Qe),e.removeEventListener("touchstart",Zo),e.removeEventListener("touchend",Jo),e.removeEventListener("touchcancel",Xo)}function Qe(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Zo(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",Jo),t.addEventListener("touchcancel",Xo)}}function Jo(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 Xo(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const vl={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Mn(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?Mn(e):Fn(e))},beforeUnmount(e){Fn(e)}},me=ml,gl=vl,yl=rl,_l=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},bl={},wl={class:"h-3 w-3 $ui-inline-fcc"},xl=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),El=[xl];function Cl(e,t){return o.openBlock(),o.createElementBlock("div",wl,El)}const Qo=_l(bl,[["render",Cl]]),Sl={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 u={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"}},c=o.useSlots(),p=o.computed(()=>n.flat?u.flat[n.type]:n.outlined?u.outlined[n.type]:u.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",[[u.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(Qo,{key:0,class:"mt0.5 h-full w3"})):o.renderSlot(d.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),o.unref(c).default?(o.openBlock(),o.createElementBlock("div",Sl,[o.renderSlot(d.$slots,"default")])):o.createCommentVNode("",!0),o.renderSlot(d.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),j=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 kl(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 jn(e){return typeof e=="function"?e():o.unref(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Al=e=>typeof e<"u",Ln=()=>{};function $l(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 Tl(e,t={}){let n,i,r=Ln;const s=a=>{clearTimeout(a),r(),r=Ln};return a=>{const l=jn(e),u=jn(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(a())):new Promise((c,p)=>{r=t.rejectOnCancel?p:c,u&&!i&&(i=setTimeout(()=>{n&&s(n),i=null,c(a())},u)),n=setTimeout(()=>{i&&s(i),i=null,c(a())},l)})}}function Bl(e,t=200,n={}){return $l(Tl(t,n),e)}function zl(e,t=200,n={}){const i=o.ref(e.value),r=Bl(()=>{i.value=e.value},t,n);return o.watch(e,()=>r()),i}function Nl(e,t={}){let n=e,i,r;const s=o.customRef((u,c)=>(i=u,r=c,{get(){return a()},set(p){l(p)}}));function a(u=!0){return u&&i(),n}function l(u,c=!0){var p,d;if(u===n)return;const f=n;((p=t.onBeforeChange)==null?void 0:p.call(t,u,f))!==!1&&(n=u,(d=t.onChanged)==null||d.call(t,u,f),c&&r())}return kl(s,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:u=>l(u,!1),peek:()=>a(!1),lay:u=>l(u,!1)},{enumerable:!0})}function Pl(e){return JSON.parse(JSON.stringify(e))}function Dl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:u=!1,eventName:c,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),g=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=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=_=>l?typeof l=="function"?l(_):Pl(_):_,y=()=>Al(e[t])?v(e[t]):d,b=_=>{f?f(_)&&g(m,_):g(m,_)};if(u){const _=y(),w=o.ref(_);let A=!1;return o.watch(()=>e[t],S=>{A||(A=!0,w.value=v(S),o.nextTick(()=>A=!1))}),o.watch(w,S=>{!A&&(S!==e[t]||p)&&b(S)},{deep:p}),w}else return o.computed({get(){return y()},set(_){b(_)}})}const Ol=["type","placeholder","disabled"],Il={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"},yt="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Vl=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=Dl(n,"modelValue",i),s=zl(o.computed(()=>n.loading),n.loadingDebounceTime),a=Nl(!1,{onChanged(d){i("updateFocused",d)}}),l=o.computed(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),u=o.computed(()=>n.disabled||s.value),c=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=c.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":u.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(yt)},[o.createVNode(j,{icon:d.leftIcon},null,8,["icon"])])):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:c,"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:u.value||d.readonly,onBlur:f[1]||(f[1]=h=>a.value=!1)},null,40,Ol),[[o.vModelDynamic,o.unref(r)]]),o.unref(s)?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(yt)},[o.createVNode(Qo)])):d.rightIcon?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(yt)},[o.createVNode(j,{icon:d.rightIcon},null,8,["icon"])])):o.createCommentVNode("",!0),l.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Il))],2))}}),Rl={class:"overflow-hidden rounded-lg shadow-lg"},Ml=o.createElementVNode("div",{class:"p2 opacity-40"}," Empty... ",-1),Fl=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(yl),{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",Rl,[o.renderSlot(n.$slots,"popper",o.normalizeProps(o.guardReactiveProps({hide:r})),()=>[Ml])])]),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"]))}}),Hn=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(gl)]])}});function ei(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function ye(e){return typeof e=="function"?e():o.unref(e)}const Ut=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jl=e=>typeof e<"u",Ll=Object.prototype.toString,Hl=e=>Ll.call(e)==="[object Object]",ti=()=>{};function Ul(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 Gl(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 u(...c){a(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,e(...c)},ye(t))}return i&&(r.value=!0,Ut&&u()),ei(l),{isPending:o.readonly(r),start:u,stop:l}}function Wl(e){var t;const n=ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ni=Ut?window:void 0,oi=Ut?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=ni):[t,n,i,r]=e,!t)return ti;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)),u=o.watch(()=>[Wl(t),ye(r)],([p,d])=>{if(a(),!p)return;const f=Hl(d)?{...d}:d;s.push(...n.flatMap(h=>i.map(g=>l(p,h,g,f))))},{immediate:!0,flush:"post"}),c=()=>{u(),a()};return ei(c),c}function ql(){const e=o.ref(!1),t=o.getCurrentInstance();return t&&o.onMounted(()=>{e.value=!0},t),e}function ii(e){const t=ql();return o.computed(()=>(t.value,!!e()))}function Un(e,t={}){const{controls:n=!1,navigator:i=oi}=t,r=ii(()=>i&&"permissions"in i);let s;const a=typeof e=="string"?{name:e}:e,l=o.ref(),u=()=>{s&&(l.value=s.state)},c=Ul(async()=>{if(r.value){if(!s)try{s=await i.permissions.query(a),ne(s,"change",u),u()}catch{l.value="prompt"}return s}});return c(),n?{state:l,isSupported:r,query:c}:l}function Kl(e={}){const{navigator:t=oi,read:n=!1,source:i,copiedDuring:r=1500,legacy:s=!1}=e,a=ii(()=>t&&"clipboard"in t),l=Un("clipboard-read"),u=Un("clipboard-write"),c=o.computed(()=>a.value||s),p=o.ref(""),d=o.ref(!1),f=Gl(()=>d.value=!1,r);function h(){a.value&&y(l.value)?t.clipboard.readText().then(b=>{p.value=b}):p.value=v()}c.value&&n&&ne(["copy","cut"],h);async function g(b=ye(i)){c.value&&b!=null&&(a.value&&y(u.value)?await t.clipboard.writeText(b):m(b),p.value=b,d.value=!0,f.start())}function m(b){const _=document.createElement("textarea");_.value=b??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var b,_,w;return(w=(_=(b=document==null?void 0:document.getSelection)==null?void 0:b.call(document))==null?void 0:_.toString())!=null?w:""}function y(b){return b==="granted"||b==="prompt"}return{isSupported:c,text:p,copied:d,copy:g}}function Yl(e){return JSON.parse(JSON.stringify(e))}const Zl={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Jl(e={}){const{reactive:t=!1,target:n=ni,aliasMap:i=Zl,passive:r=!0,onEventFired:s=ti}=e,a=o.reactive(new Set),l={toJSON(){return{}},current:a},u=t?o.reactive(l):l,c=new Set,p=new Set;function d(m,v){m in u&&(t?u[m]=v:u[m].value=v)}function f(){a.clear();for(const m of p)d(m,!1)}function h(m,v){var y,b;const _=(y=m.key)==null?void 0:y.toLowerCase(),A=[(b=m.code)==null?void 0:b.toLowerCase(),_].filter(Boolean);_&&(v?a.add(_):a.delete(_));for(const S of A)p.add(S),d(S,v);_==="meta"&&!v?(c.forEach(S=>{a.delete(S),d(S,!1)}),c.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&v&&[...a,...A].forEach(S=>c.add(S))}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 g=new Proxy(u,{get(m,v,y){if(typeof v!="string")return Reflect.get(m,v,y);if(v=v.toLowerCase(),v in i&&(v=i[v]),!(v in u))if(/[+_-]/.test(v)){const _=v.split(/[+_-]/g).map(w=>w.trim());u[v]=o.computed(()=>_.every(w=>ye(g[w])))}else u[v]=o.ref(!1);const b=Reflect.get(m,v,y);return t?ye(b):b}});return g}function Xl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:u=!1,eventName:c,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),g=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=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=_=>l?typeof l=="function"?l(_):Yl(_):_,y=()=>jl(e[t])?v(e[t]):d,b=_=>{f?f(_)&&g(m,_):g(m,_)};if(u){const _=y(),w=o.ref(_);let A=!1;return o.watch(()=>e[t],S=>{A||(A=!0,w.value=v(S),o.nextTick(()=>A=!1))}),o.watch(w,S=>{!A&&(S!==e[t]||p)&&b(S)},{deep:p}),w}else return o.computed({get(){return y()},set(_){b(_)}})}const ri=Symbol("StateEditorSymbol");function Ql(e){const t=o.ref(e);return o.provide(ri,t),{context:t}}function Gt(){return o.inject(ri)}function eu(){const e=o.ref(""),t=o.ref("string"),n=o.ref(!1),i=Gt();return{editingText:e,editing:n,toggleEditing(r){r&&(t.value=r),n.value=!n.value},editingType:t,nodeId:i.value.nodeId}}function tu(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 nu(){const e=o.ref({enable:!1,key:"",value:"undefined"});function t(i,r){const s=tu(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 ou={class:"inline pl5px"},iu={class:"w160px py5px"},ru=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=Gt(),{copy:i,isSupported:r}=Kl(),s=o.ref(!1),a=o.computed(()=>Mt(t.data.value)),l=o.computed(()=>a.value.value),u=o.computed(()=>a.value.customType),c=o.computed(()=>l.value===null?"null":typeof l.value),p={flat:!0,size:"mini"},d=o.computed(()=>({"opacity-0":!t.hovering}));function f(g,m=!1){Ke({path:t.data.key.split("."),inspectorId:n.value.inspectorId,type:t.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:o.toRaw(g),type:c.value,remove:m}})}function h(g,m){const v=typeof g=="number"?g+m:BigInt(g)+BigInt(m);f(v)}return(g,m)=>(o.openBlock(),o.createElementBlock("div",ou,[!t.disableEdit&&g.data.editable?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[c.value==="string"||c.value==="number"||c.value==="object"||c.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(v=>g.$emit("enableEditInput",c.value),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[o.unref(me),{content:"Edit value"}]]),c.value==="object"&&g.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(v=>g.$emit("addNewProp",Array.isArray(l.value)?"array":"object"),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[o.unref(me),{content:"Add new value"}]]):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),c.value==="boolean"?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[2]||(m[2]=v=>f(!l.value))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:l.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):c.value==="number"||u.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(v=>h(l.value,1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{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(v=>h(l.value,-1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!t.disableEdit&&g.depth>0?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[5]||(m[5]=o.withModifiers(v=>f(l.value,!0),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):o.createCommentVNode("",!0),o.createVNode(o.unref(Fl),{class:o.normalizeClass({"opacity-0":!g.hovering&&!s.value}),"button-props":{flat:!0,size:"mini"},disabled:!o.unref(r),"onUpdate:visible":m[8]||(m[8]=v=>s.value=v)},{popper:o.withCtx(()=>[o.createElementVNode("div",iu,[o.createVNode(o.unref(Hn),{onClick:m[6]||(m[6]=v=>o.unref(i)(typeof l.value=="object"?JSON.stringify(l.value):l.value.toString()))},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Value ")]),_:1}),o.createVNode(o.unref(Hn),{onClick:m[7]||(m[7]=()=>{o.unref(i)(g.data.key)})},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Path ")]),_:1})])]),"button-icon":o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),su={class:"flex-inline items-center gap4px"},_t=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}=Jl();o.watchEffect(()=>{s.value?i("cancel"):a.value&&i("submit")});const l=Xl(n,"modelValue",i);function u(d){try{return Me(d,n.customType),!0}catch{return!1}}const c=o.ref(!1),p=()=>et(()=>{c.value=!u(l.value)},300);return o.watch(l,p()),(d,f)=>(o.openBlock(),o.createElementBlock("span",su,[o.createVNode(o.unref(Vl),{modelValue:o.unref(l),"onUpdate:modelValue":f[0]||(f[0]=h=>o.isRef(l)?l.value=h:null),type:r.value,variant:c.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(j),{icon:"i-material-symbols-cancel"})]),_:1})),[[o.unref(me),{content:"Esc to cancel"}]]),c.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(j),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[o.unref(me),{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(j),{icon:"i-material-symbols-save"})]),_:1})),[[o.unref(me),{content:"Enter to submit change"}]])],64)):o.createCommentVNode("",!0)]))}}),si=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 au(){const e=o.ref([]);return o.provide("state-expanded",e),{expanded:e}}function ai(){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 lu(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 li=e=>(o.pushScopeId("data-v-ad035540"),e=e(),o.popScopeId(),e),uu={key:1,pl5:""},cu={op70:""},du=li(()=>o.createElementVNode("span",{mx1:""},":",-1)),pu=["innerHTML"],fu={key:0},hu={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},mu=li(()=>o.createElementVNode("span",{"mx-1":""},":",-1)),Gn=30,vu=o.defineComponent({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(e){const t=e,n=o.ref(Gn),i=o.computed(()=>co(t.data.value)),r=o.computed(()=>Ae(t.data.value)),s=o.computed(()=>Mt(t.data.value)),{expanded:a,toggleExpanded:l}=ai(),u=o.computed(()=>{var x;return r.value==="custom"?`${((x=t.data.value._custom)==null?void 0:x.type)??"string"}-custom-state`:""}),c=o.computed(()=>{const{value:x}=s.value;return Zt(x)?x.length:Yt(x)?Object.keys(x).length:0}),p=o.computed(()=>{const x=t.data.key,E=x.lastIndexOf(".");return E===-1?x:x.slice(E+1)}),d=o.computed(()=>{var z,V,T,$,Z;const x=["Reactive"],E=((z=t.data._custom)==null?void 0:z.stateTypeName)||((V=t.data)==null?void 0:V.stateTypeName);if(x.includes(E))return E;if(($=(T=t.data.value)==null?void 0:T.fields)!=null&&$.abstract)return"";{const F=(Z=t.data.value._custom)==null?void 0:Z.type,J=r.value==="custom"&&!F?`"${i.value}"`:i.value===""?'""':i.value,L=`<span class="${r.value==="custom"&&F==="ref"?Ae(J):r.value}-state-type">${J}</span>`;return E?`${L} <span class="text-gray-500">(${E})</span>`:L}}),f=o.computed(()=>{const{value:x,inherit:E,customType:z}=s.value,V=z==="set";let T=[];return Zt(x)?x.slice(0,n.value).map((Z,F)=>({key:`${t.data.key}.${F}`,value:Z,...E,editable:t.data.editable&&!V,creating:!1})):(Yt(x)&&(T=Object.keys(x).slice(0,n.value).map($=>({key:`${t.data.key}.${$}`,value:x[$],...E,editable:t.data.editable&&!V,creating:!1})),r.value!=="custom"&&(T=sr(T))),T===t.data.value?[]:T)}),h=o.computed(()=>f.value.length>0),g=o.ref(),m=Gt(),{isHovering:v}=lu(()=>g.value),{editingType:y,editing:b,editingText:_,toggleEditing:w,nodeId:A}=eu();o.watch(()=>b.value,x=>{if(x){const{value:E}=s.value;_.value=xs(E,s.value.customType)}else _.value=""});function S(){const x=t.data;Ke({path:x.key.split("."),inspectorId:m.value.inspectorId,type:x.stateType,nodeId:A,state:{newKey:null,type:y.value,value:Me(_.value,s.value.customType)}}),w()}const{addNewProp:O,draftingNewProp:D,resetDrafting:I}=nu();function k(x){const E=`${t.depth}-${t.index}`;a.value.includes(E)||l(E),O(x,s.value.value)}function B(){const x=t.data,E=x.key.split(".");E.push(D.value.key),Ke({path:E,inspectorId:m.value.inspectorId,type:x.stateType,nodeId:A,state:{newKey:D.value.key,type:typeof Me(D.value.value),value:Me(D.value.value)}}),I()}return(x,E)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{ref_key:"containerRef",ref:g,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:E[1]||(E[1]=z=>o.unref(l)(`${x.depth}-${x.index}`))},[h.value?(o.openBlock(),o.createBlock(si,{key:0,value:o.unref(a).includes(`${x.depth}-${x.index}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",uu)),o.createElementVNode("span",cu,o.toDisplayString(p.value),1),du,o.unref(b)?(o.openBlock(),o.createBlock(_t,{key:2,modelValue:o.unref(_),"onUpdate:modelValue":E[0]||(E[0]=z=>o.isRef(_)?_.value=z:null),"custom-type":s.value.customType,onCancel:o.unref(w),onSubmit:S},null,8,["modelValue","custom-type","onCancel"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(u.value)},[o.createElementVNode("span",{innerHTML:d.value},null,8,pu)],2),o.createVNode(ru,{hovering:o.unref(v),"disable-edit":o.unref(m).disableEdit,data:x.data,depth:x.depth,onEnableEditInput:o.unref(w),onAddNewProp:k},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),h.value&&o.unref(a).includes(`${x.depth}-${x.index}`)?(o.openBlock(),o.createElementBlock("div",fu,[o.createVNode(ui,{data:f.value,depth:x.depth,index:x.index},null,8,["data","depth","index"]),c.value>n.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),{key:0,flat:"",size:"mini",class:"ml-4",onClick:E[2]||(E[2]=z=>n.value+=Gn)},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[o.unref(me),"Show more"]]):o.createCommentVNode("",!0),o.unref(D).enable?(o.openBlock(),o.createElementBlock("div",{key:1,style:o.normalizeStyle({paddingLeft:`${(x.depth+1)*15+4}px`})},[o.createElementVNode("span",hu,[o.createVNode(_t,{modelValue:o.unref(D).key,"onUpdate:modelValue":E[3]||(E[3]=z=>o.unref(D).key=z),"show-actions":!1},null,8,["modelValue"])]),mu,o.createVNode(_t,{modelValue:o.unref(D).value,"onUpdate:modelValue":E[4]||(E[4]=z=>o.unref(D).value=z),"auto-focus":!1,onCancel:o.unref(I),onSubmit:B},null,8,["modelValue","onCancel"])],4)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]))}}),gu=Pt(vu,[["__scopeId","data-v-ad035540"]]),ui=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(gu,{data:i,depth:t.depth+1,index:`${t.index}-${r}`},null,8,["data","depth","index"])]))),128))]))}}),yu=["onClick"],_u={key:1,pl5:""},bu={"font-state-field":"","text-4":""},wu={key:0},ci=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}=Ql(n());o.watchEffect(()=>{i.value=n()});const{expanded:r,toggleExpanded:s}=ai();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,(u,c,p)=>(o.openBlock(),o.createElementBlock("div",{key:p},[o.createElementVNode("div",{class:o.normalizeClass(["flex items-center",[(u==null?void 0:u.length)&&"cursor-pointer hover:bg-active"]]),onClick:d=>o.unref(s)(`${p}`)},[u!=null&&u.length?(o.openBlock(),o.createBlock(si,{key:0,value:o.unref(r).includes(`${p}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",_u)),o.createElementVNode("span",bu,o.toDisplayString(c),1)],10,yu),u!=null&&u.length&&o.unref(r).includes(`${p}`)?(o.openBlock(),o.createElementBlock("div",wu,[o.createVNode(ui,{data:u,index:`${p}`},null,8,["data","index"])])):o.createCommentVNode("",!0)]))),128))]))}}),xu={class:"h-full flex flex-col"},Eu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Cu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},be="pinia",Su=o.defineComponent({__name:"Index",setup(e){const t=o.ref(""),n=o.ref([]),i=o.ref({}),r=o.computed(()=>{var c,p;return!((c=i.value.state)!=null&&c.length)&&!((p=i.value.getters)!=null&&p.length)});function s(c){var p;for(const d in c)(p=c[d])!=null&&p.length||delete c[d];return c}function a(c){_o({inspectorId:be,nodeId:c}).then(p=>{i.value=s(Et(p))})}function l(){i.value={}}return o.watch(t,()=>{l(),a(t.value)}),(()=>{yo({inspectorId:be,filter:""}).then(c=>{const p=Et(c);n.value=p,!t.value&&p.length&&(t.value=p[0].id),a(p[0].id)})})(),Co(c=>{!(c!=null&&c.data.length)||c.inspectorId!==be||(n.value=c.data,!t.value&&c.data.length&&(t.value=c.data[0].id,a(c.data[0].id)))}),So(c=>{var p;!c||!((p=c==null?void 0:c.state)!=null&&p.length)||c.inspectorId!==be||(i.value=s({state:c.state,getters:c.getters}))}),(c,p)=>(o.openBlock(),o.createElementBlock("div",xu,[o.createVNode($o,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:o.withCtx(()=>[o.createVNode(Ao)]),_:1}),o.createVNode(o.unref(Zn),{class:"flex-1 overflow-auto"},{default:o.withCtx(()=>[o.createVNode(o.unref(He),{border:"r base",size:"40","h-full":""},{default:o.withCtx(()=>[o.createElementVNode("div",Eu,[o.createVNode(aa,{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(He),{size:"60"},{default:o.withCtx(()=>[o.createElementVNode("div",Cu,[t.value&&!r.value?(o.openBlock(),o.createBlock(ci,{key:0,class:"p3",data:i.value,"node-id":t.value,"inspector-id":be},null,8,["data","node-id"])):(o.openBlock(),o.createBlock(To,{key:1},{default:o.withCtx(()=>[o.createTextVNode(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function ku(){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 je;function Tt(){Tt.init||(Tt.init=!0,je=ku()!==-1)}var dt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Tt(),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",je&&this.$el.appendChild(e),e.data="about:blank",je||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&&(!je&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Au=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const $u={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Tu=Au((e,t,n,i,r,s)=>(o.openBlock(),o.createBlock("div",$u)));dt.render=Tu;dt.__scopeId="data-v-b329ee4c";dt.__file="src/components/ResizeObserver.vue";function Le(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Le=function(t){return typeof t}:Le=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(e)}function Bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function zu(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),e}function qn(e){return Nu(e)||Pu(e)||Du(e)||Ou()}function Nu(e){if(Array.isArray(e))return Bt(e)}function Pu(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Du(e,t){if(e){if(typeof e=="string")return Bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bt(e,t)}}function Bt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Ou(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),Pt=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},mi={},vi={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gi=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),yi=[gi];function _i(e,t){return o.openBlock(),o.createElementBlock("svg",vi,yi)}const bi=Pt(mi,[["render",_i]]),Dt=Symbol("VirtualRouteKey"),Yn=Symbol("VirtualRoutesKey");function wi(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(Dt,t),o.provide(Yn,e),{VirtualRouterView:i}}function Ot(){const e=o.inject(Dt);return{push(t){e.value.path=t}}}function xi(){const e=o.inject(Yn),t=o.inject(Dt);return{routes:e,currentRoute:t}}const Ei={"h-full":"","w-full":"",flex:"","items-center":""},Ci={flex:"~ col gap2",ma:"","px-5":""},Si=o.createElementVNode("div",{"flex-auto":""},null,-1),ki={flex:"~ col","mt-20":"","items-center":""},Ai={flex:"~","mt--10":"","items-center":"","justify-center":""},$i=o.createElementVNode("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[o.createElementVNode("span",{op40:""}," Pinia DevTools ")],-1),Ti=o.createElementVNode("div",{"flex-auto":""},null,-1),Bi={flex:"~ gap2 wrap"},zi=o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":""},[o.createElementVNode("div",{"i-logos-pinia":"","text-3xl":""})],-1),Ni=o.createElementVNode("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pi=o.createElementVNode("code",null,"Store",-1),Di=[Ni,Pi],Oi=o.createElementVNode("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ii=o.createElementVNode("div",null,"Timeline",-1),Vi=[Oi,Ii],Ri=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),Mi=o.createElementVNode("div",{"flex-auto":""},null,-1),Fi=o.defineComponent({__name:"Home",setup(e){const t=Ot();return(n,i)=>(o.openBlock(),o.createElementBlock("div",Ei,[o.createElementVNode("div",Ci,[Si,o.createElementVNode("div",ki,[o.createElementVNode("div",Ai,[o.createVNode(bi,{"h-18":""})]),$i]),Ti,o.createElementVNode("div",Bi,[zi,o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[0]||(i[0]=r=>o.unref(t).push("/store"))},Di),o.createElementVNode("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:i[1]||(i[1]=r=>o.unref(t).push("/timeline"))},Vi)]),Ri,Mi])]))}}),Zn={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,u=this.panes[a[1]]||null;const c=l.max<100&&s>=l.max+n.prevPanesSize,p=u.max<100&&s<=100-(u.max+this.sumNextPanesSize(t+1));if(c||p){c?(l.size=l.max,u.size=Math.max(100-l.max-n.prevPanesSize-n.nextPanesSize,0)):(l.size=Math.max(100-u.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),u.size=u.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,u=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,l.min),l.max)),u!==null&&(u.size=Math.min(Math.max(100-s-n.nextPanesSize-n.nextReachedMinPanes,u.min),u.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())}},ji=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Li={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 Hi(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 He=ji(Li,[["render",Hi]]);var Ui=Object.create,Jn=Object.defineProperty,Gi=Object.getOwnPropertyDescriptor,It=Object.getOwnPropertyNames,Wi=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty,Ki=(e,t)=>function(){return e&&(t=(0,e[It(e)[0]])(e=0)),t},Yi=(e,t)=>function(){return t||(0,e[It(e)[0]])((t={exports:{}}).exports,t),t.exports},Zi=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of It(t))!qi.call(e,r)&&r!==n&&Jn(e,r,{get:()=>t[r],enumerable:!(i=Gi(t,r))||i.enumerable});return e},Ji=(e,t,n)=>(n=e!=null?Ui(Wi(e)):{},Zi(t||!e||!e.__esModule?Jn(n,"default",{value:e,enumerable:!0}):n,e)),Pe=Ki({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),Xi=Yi({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){Pe(),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?u:l;function a(c,p){for(var d=Object.keys(c),f=new Array(d.length),h=0;h<d.length;h++){var g=d[h],m=c[g];typeof m!="object"||m===null?f[g]=m:m instanceof Date?f[g]=new Date(m):ArrayBuffer.isView(m)?f[g]=n(m):f[g]=p(m)}return f}function l(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return a(c,l);if(c instanceof Map)return new Map(a(Array.from(c),l));if(c instanceof Set)return new Set(a(Array.from(c),l));var p={};for(var d in c)if(Object.hasOwnProperty.call(c,d)!==!1){var f=c[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 u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return a(c,u);if(c instanceof Map)return new Map(a(Array.from(c),u));if(c instanceof Set)return new Set(a(Array.from(c),u));var p={};for(var d in c){var f=c[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),u)):f instanceof Set?p[d]=new Set(a(Array.from(f),u)):ArrayBuffer.isView(f)?p[d]=n(f):p[d]=u(f)}return p}}function r(s){var a=[],l=[];return s.proto?p:c;function u(d,f){for(var h=Object.keys(d),g=new Array(h.length),m=0;m<h.length;m++){var v=h[m],y=d[v];if(typeof y!="object"||y===null)g[v]=y;else if(y instanceof Date)g[v]=new Date(y);else if(ArrayBuffer.isView(y))g[v]=n(y);else{var b=a.indexOf(y);b!==-1?g[v]=l[b]:g[v]=f(y)}}return g}function c(d){if(typeof d!="object"||d===null)return d;if(d instanceof Date)return new Date(d);if(Array.isArray(d))return u(d,c);if(d instanceof Map)return new Map(u(Array.from(d),c));if(d instanceof Set)return new Set(u(Array.from(d),c));var f={};a.push(d),l.push(f);for(var h in d)if(Object.hasOwnProperty.call(d,h)!==!1){var g=d[h];if(typeof g!="object"||g===null)f[h]=g;else if(g instanceof Date)f[h]=new Date(g);else if(g instanceof Map)f[h]=new Map(u(Array.from(g),c));else if(g instanceof Set)f[h]=new Set(u(Array.from(g),c));else if(ArrayBuffer.isView(g))f[h]=n(g);else{var m=a.indexOf(g);m!==-1?f[h]=l[m]:f[h]=c(g)}}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 u(d,p);if(d instanceof Map)return new Map(u(Array.from(d),p));if(d instanceof Set)return new Set(u(Array.from(d),p));var f={};a.push(d),l.push(f);for(var h in d){var g=d[h];if(typeof g!="object"||g===null)f[h]=g;else if(g instanceof Date)f[h]=new Date(g);else if(g instanceof Map)f[h]=new Map(u(Array.from(g),p));else if(g instanceof Set)f[h]=new Set(u(Array.from(g),p));else if(ArrayBuffer.isView(g))f[h]=n(g);else{var m=a.indexOf(g);m!==-1?f[h]=l[m]:f[h]=p(g)}}return a.pop(),l.pop(),f}}}});Pe();Pe();var Qi=typeof navigator<"u",P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof P.chrome<"u"&&P.chrome.devtools;Qi&&(P.self,P.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");Pe();var er=Ji(Xi(),1),tr=/(?:^|[-_/])(\w)/g,nr=/-(\w)/g;function Xn(e,t){return t?t.toUpperCase():""}function or(e){return e&&`${e}`.replace(tr,Xn)}function ir(e){return e&&e.replace(nr,Xn)}function rr(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 sr(e){return e&&e.slice().sort((t,n)=>t.key<n.key?-1:t.key>n.key?1:0)}var Kt=(0,er.default)({circles:!0});function Yt(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}function Zt(e){return Array.isArray(e)}Pe();function wt(e,t={},n){for(const i in e){const r=e[i],s=n?`${n}:${i}`:i;typeof r=="object"&&r!==null?wt(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const ar={run:e=>e()},lr=()=>ar,Qn=typeof console.createTask<"u"?console.createTask:lr;function ur(e,t){const n=t.shift(),i=Qn(n);return e.reduce((r,s)=>r.then(()=>i.run(()=>s(...t))),Promise.resolve())}function cr(e,t){const n=t.shift(),i=Qn(n);return Promise.all(e.map(r=>i.run(()=>r(...t))))}function ft(e,t){for(const n of[...e])n(t)}class dr{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=wt(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=wt(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(ur,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(cr,t,...n)}callHookWith(t,n,...i){const r=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&ft(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],i);return s instanceof Promise?s.finally(()=>{this._after&&r&&ft(this._after,r)}):(this._after&&r&&ft(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 eo(){return new dr}const pr={trailing:!0};function et(e,t=25,n={}){if(n={...pr,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let i,r,s=[],a,l;const u=(c,p)=>(a=fr(e,c,p),a.finally(()=>{if(a=null,n.trailing&&l&&!r){const d=u(c,l);return l=null,d}}),a);return function(...c){return a?(n.trailing&&(l=c),a):new Promise(p=>{const d=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const f=n.leading?i:u(this,c);for(const h of s)h(f);s=[]},t),d?(i=u(this,c),p(i)):s.push(p)})}}async function fr(e,t,n){return await e.apply(t,n)}var hr=Object.create,to=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyNames,vr=Object.getPrototypeOf,gr=Object.prototype.hasOwnProperty,yr=(e,t)=>function(){return e&&(t=(0,e[Vt(e)[0]])(e=0)),t},no=(e,t)=>function(){return t||(0,e[Vt(e)[0]])((t={exports:{}}).exports,t),t.exports},_r=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Vt(t))!gr.call(e,r)&&r!==n&&to(e,r,{get:()=>t[r],enumerable:!(i=mr(t,r))||i.enumerable});return e},br=(e,t,n)=>(n=e!=null?hr(vr(e)):{},_r(t||!e||!e.__esModule?to(n,"default",{value:e,enumerable:!0}):n,e)),C=yr({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),wr=no({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){C(),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"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),p=[".","!","~","*","'","(",")"].join(""),d=function(v,y){var b="-",_="",w="",A=!0,S={},O,D,I,k,B,x,E,z,V,T,$,Z,F,J,X="";if(typeof v!="string")return"";if(typeof y=="string"&&(b=y),E=l.en,z=a.en,typeof y=="object"){O=y.maintainCase||!1,S=y.custom&&typeof y.custom=="object"?y.custom:S,I=+y.truncate>1&&y.truncate||!1,k=y.uric||!1,B=y.uricNoSlash||!1,x=y.mark||!1,A=!(y.symbols===!1||y.lang===!1),b=y.separator||b,k&&(X+=u),B&&(X+=c),x&&(X+=p),E=y.lang&&l[y.lang]&&A?l[y.lang]:A?l.en:{},z=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(L){S[L+""]=L+""}),D=!0):D=!!y.titleCase,y.custom&&typeof y.custom.length=="number"&&Array.prototype.toString.call(y.custom)&&y.custom.forEach(function(L){S[L+""]=L+""}),Object.keys(S).forEach(function(L){var _e;L.length>1?_e=new RegExp("\\b"+h(L)+"\\b","gi"):_e=new RegExp(h(L),"gi"),v=v.replace(_e,S[L])});for($ in S)X+=$}for(X+=b,X=h(X),v=v.replace(/(^\s+|\s+$)/g,""),F=!1,J=!1,T=0,Z=v.length;T<Z;T++)$=v[T],g($,S)?F=!1:z[$]?($=F&&z[$].match(/[A-Za-z0-9]/)?" "+z[$]:z[$],F=!1):$ in i?(T+1<Z&&r.indexOf(v[T+1])>=0?(w+=$,$=""):J===!0?($=s[w]+i[$],w=""):$=F&&i[$].match(/[A-Za-z0-9]/)?" "+i[$]:i[$],F=!1,J=!1):$ in s?(w+=$,$="",T===Z-1&&($=s[w]),J=!0):E[$]&&!(k&&u.indexOf($)!==-1)&&!(B&&c.indexOf($)!==-1)?($=F||_.substr(-1).match(/[A-Za-z0-9]/)?b+E[$]:E[$],$+=v[T+1]!==void 0&&v[T+1].match(/[A-Za-z0-9]/)?b:"",F=!0):(J===!0?($=s[w]+$,w="",J=!1):F&&(/[A-Za-z0-9]/.test($)||_.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),F=!1),_+=$.replace(new RegExp("[^\\w\\s"+X+"_-]","g"),b);return D&&(_=_.replace(/(\w)(\S*)/g,function(L,_e,qt){var pt=_e.toUpperCase()+(qt!==null?qt:"");return Object.keys(S).indexOf(pt.toLowerCase())<0?pt:pt.toLowerCase()})),_=_.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),I&&_.length>I&&(V=_.charAt(I)===b,_=_.slice(0,I),V||(_=_.slice(0,_.lastIndexOf(b)))),!O&&!D&&(_=_.toLowerCase()),_},f=function(v){return function(b){return d(b,v)}},h=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},g=function(m,v){for(var y in v)if(v[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)}}),xr=no({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){C(),t.exports=wr()}});C();C();C();C();C();C();C();C();C();C();var Jt,Xt,le=(Xt=(Jt=P).__VUE_DEVTOOLS_HOOK)!=null?Xt:Jt.__VUE_DEVTOOLS_HOOK=eo(),Er={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)}},Cr={on:Er,setupDevToolsPlugin(e,t){return le.callHook("devtools-plugin:setup",e,t)}};C();C();C();C();C();C();C();br(xr(),1);C();C();C();var Qt,en,De=(en=(Qt=P).__VUE_DEVTOOLS_API_HOOK)!=null?en:Qt.__VUE_DEVTOOLS_API_HOOK=eo();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 Rt(e){return e.map(t=>{let{path:n,name:i,children:r}=t;return r!=null&&r.length&&(r=Rt(r)),{path:n,name:i,children:r}})}function kr(e){if(e){const{fullPath:t,hash:n,href:i,path:r,name:s,matched:a,params:l,query:u}=e;return{fullPath:t,hash:n,href:i,path:r,name:s,params:l,query:u,matched:Rt(a)}}return e}function Ar(e){function t(){var n;const i=(n=e.app)==null?void 0:n.config.globalProperties.$router,r=kr(i==null?void 0:i.currentRoute.value),s=Rt(Sr(i)),a=console.warn;console.warn=()=>{},P[ve]={currentRoute:r?Kt(r):{},routes:Kt(s)},P[qe]=i,console.warn=a}t(),Cr.on.componentUpdated(et(()=>{t(),De.callHook("router-info:updated",P[ve])},200))}C();C();C();function $r(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function oo(e){const t=e.__file;if(t)return or(rr(t,".vue"))}function Tr(e){const t=e.displayName||e.name||e._componentTag;return t||oo(e)}function tn(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Br(e){var t,n,i;const r=$r(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 tn(e,a);for(const a in(i=e.appContext)==null?void 0:i.components)if(e.appContext.components[a]===e.type)return tn(e,a);const s=oo(e.type||{});return s||"Anonymous Component"}function se(e){try{return e()}catch(t){return t}}C();C();C();C();C();C();C();C();var zr=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"]),nn=/^\[native Symbol Symbol\((.*)\)\]$/,Nr=/^\[object (\w+)]$/,Ue=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,Pr=/^(?:function|class) (\w+)/,on=1e4,rn=5e3,tt="__vue_devtool_undefined__",nt="__vue_devtool_infinity__",ot="__vue_devtool_negative_infinity__",it="__vue_devtool_nan__",Dr={"<":"<",">":">",'"':""","&":"&"};C();C();function Or(e){return e._&&Object.keys(e._).includes("vnode")}function io(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ir(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function ro(e){return!!e.__v_isRef}function Vr(e){return ro(e)&&!!e.effect}function Rr(e){return!!e.__v_isReactive}function Mr(e){return!!e.__v_isReadonly}var Ge={[tt]:"undefined",[it]:"NaN",[nt]:"Infinity",[ot]:"-Infinity"},ht=Object.entries(Ge).reduce((e,[t,n])=>(e[n]=t,e),{});function Fr(e){return e===null?"null":typeof e=="string"&&Ge[e]||!1}function jr(e){const t=new RegExp(`"(${Object.keys(Ge).join("|")})"`,"g");return e.replace(t,(n,i)=>Ge[i])}function Lr(e){const t=ht[e.trim()];if(t)return`"${t}"`;const n=new RegExp(`:\\s*(${Object.keys(ht).join("|")})`,"g");return e.replace(n,(i,r)=>`:"${ht[r]}"`)}function so(e){if(Array.isArray(e))return e.map(n=>so(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(Pr);return typeof e=="function"&&t&&t[1]||"any"}function Hr(e){return!Ir(e)&&!Array.isArray(e)&&!io(e)?Object.prototype.toString.call(e):e}function ao(e){return{ref:ro(e),computed:Vr(e),reactive:Rr(e),readonly:Mr(e)}}function lo(e){return e!=null&&e.__v_raw?e.__v_raw:e}function we(e){return e.replace(/[<>"&]/g,t=>Dr[t]||t)}function We(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:i,extends:r}=t;r&&We(e,r),i&&i.forEach(s=>We(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 Ur(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=>We(s,a)),We(s,t),s}function Gr(e){const t=[],n=e.type.props;for(const i in e.props){const r=n?n[i]:null,s=ir(i);t.push({type:"props",key:s,value:se(()=>e.props[i]),meta:r?{type:r.type?so(r.type):"any",required:!!r.required,...r.default?{default:r.default.toString()}:{}}:{type:"invalid"}})}return t}function Wr(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 qr(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 Kr(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!zr.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var i,r,s,a;const l=se(()=>lo(e.setupState[n])),u=t[n];let c,p=typeof l=="function"||typeof(l==null?void 0:l.render)=="function"||typeof(l==null?void 0:l.__asyncLoader)=="function";if(u){const f=ao(u),{stateType:h,stateTypeName:g}=qr(f),m=f.ref||f.computed||f.reactive,v=((r=(i=u.effect)==null?void 0:i.raw)==null?void 0:r.toString())||((a=(s=u.effect)==null?void 0:s.fn)==null?void 0:a.toString());h&&(p=!1),c={...h?{stateType:h,stateTypeName:g}:{},...v?{raw:v}:{},editable:m&&!f.readonly}}return{key:n,value:l,type:p?"setup (other)":"setup",...c}})}function Yr(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 u;return(u=e==null?void 0:e.proxy)==null?void 0:u[s]}),editable:typeof a.set=="function"})}return i}function Zr(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:se(()=>e.attrs[t])}))}function Jr(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:se(()=>e.provides[t])}))}function Xr(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 Qr(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:se(()=>e.refs[t])}))}function es(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,...u]=a.split(/(?=[A-Z])/);if(l==="on"){const c=u.join("-").toLowerCase(),p=i.includes(c);s.push({type:"event listeners",key:c,value:{_custom:{displayText:p?"✅ Declared":"⚠️ Not declared",key:p?"✅ Declared":"⚠️ Not declared",value:p?"✅ Declared":"⚠️ Not declared",tooltipText:p?null:`The event <code>${c}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return s}function ts(e){const t=Ur(e);return Gr(e).concat(Wr(e),Kr(e),Yr(e,t),Zr(e),Jr(e),Xr(e,t),Qr(e),es(e))}C();C();C();C();C();function ns(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 os(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function is(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 rs(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function ss(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function as(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 ls(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 us(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 cs(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:as(e)},fields:{abstract:!0}}}}function ds(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function ps(e){e._&&(e=e._);const t=ts(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:Br(e),tooltipText:"Component instance",value:ls(t),fields:{abstract:!0}}}}function fs(e){let t=Tr(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 hs(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:us(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function ms(e){var t,n,i,r;const s=ao(e);if(s.ref||s.computed||s.reactive){const l=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,u=lo(s.reactive?e:e._value),c=((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:u,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function vs(e){var t;if(e==="compilerOptions")return;const n=this[e],i=typeof n;if(Array.isArray(n)){const r=n.length;return r>rn?{_isArray:!0,length:r,items:n.slice(0,rn)}:n}else{if(typeof n=="string")return n.length>on?`${n.substring(0,on)}... (${n.length} total length)`:n;if(i==="undefined")return tt;if(n===Number.POSITIVE_INFINITY)return nt;if(n===Number.NEGATIVE_INFINITY)return ot;if(typeof n=="function")return ns(n);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return os(n);if(n!==null&&typeof n=="object"){const r=Object.prototype.toString.call(n);if(r==="[object Map]")return rs(n);if(r==="[object Set]")return ss(n);if(r==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(r==="[object Date]")return is(n);if(r==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return cs(n);if(n.constructor&&n.constructor.name==="VueRouter")return ds(n);if(Or(n))return ps(n);if(typeof n.render=="function")return fs(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return hs(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const s=ms(n);if(s!=null)return s}else if(Number.isNaN(n))return it}return Hr(n)}C();function gs(e){const t=new Set,n=e._custom.value;for(let i=0;i<n.length;i++){const r=n[i];t.add(rt(r))}return t}function ys(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,rt(s))}return t}function rt(e){var t;if(e!==tt){if(e===nt)return Number.POSITIVE_INFINITY;if(e===ot)return Number.NEGATIVE_INFINITY;if(e===it)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=xe.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?ys(e):n.type==="set"?gs(e):n.type==="bigint"?BigInt(n.value):rt(n.value)}else if(nn.test(e)){const[,n]=nn.exec(e);return Symbol.for(n)}else if(Ue.test(e)){const[,n,i,,r]=Ue.exec(e),s=new P[n](i);return n==="Error"&&r&&(s.stack=r),s}else return e}}function uo(e,t){return rt(t)}C();var Ie=512*1024;function xt(e,t,n,i){let r,s,a,l,u;const c=i.get(e);if(c!=null)return c;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,u=f.length;l<u;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]=xt(a,t,n,i)}}else if(d==="[object Array]")for(r=[],i.set(e,p),n.push(r),l=0,u=e.length;l<u;l++){try{a=e[l],t&&(a=t.call(e,l,a))}catch(f){a=f}r[l]=xt(a,t,n,i)}else n.push(e);return p}function _s(e,t=null){let n=e.length,i,r,s,a,l,u;for(;n--;)if(s=e[n],u=Object.prototype.toString.call(s),u==="[object Object]"){const c=Object.keys(s);for(i=0,r=c.length;i<r;i++)a=c[i],l=e[s[a]],t&&(l=t.call(s,a,l)),s[a]=l}else if(u==="[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 bs(e,t=null,n=null){let i;try{i=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{i=ws(e,t,n)}if(i.length>Ie){const r=Math.ceil(i.length/Ie),s=[];for(let a=0;a<r;a++)s.push(i.slice(a*Ie,(a+1)*Ie));return s}return i}function ws(e,t=null,n=null){const i=[];return xt(e,t,i,new Map),n?` ${JSON.stringify(i,null,n)}`:` ${JSON.stringify(i)}`}function sn(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const i=JSON.parse(e);return _s(i,t),i[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}C();function Ae(e,t=!0){const n=typeof e;if(e==null||e===tt||e==="undefined")return"null";if(n==="boolean"||n==="number"||e===nt||e===ot||e===it)return"literal";if(e!=null&&e._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":Ae(e._custom.value);if(typeof e=="string"){const i=Ue.exec(e);if(i){const[,r]=i;return`native ${r}`}else return"string"}else return Array.isArray(e)||e!=null&&e._isArray?"array":io(e)?"plain-object":"unknown"}function co(e,t=!1){var n,i;let r;const s=Ae(e,!1);if(s!=="custom"&&(e!=null&&e._custom)&&(e=e._custom.value),r=Fr(e))return r;if(s==="custom")return((n=e._custom.value)==null?void 0:n._custom)&&co(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=Ue.exec(e))==null?void 0:i[2]);if(typeof e=="string"){const a=e.match(Nr);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 Mt(e){var t,n,i;let r;const s=Ae(e)==="custom";let a={};if(s){const l=e,u=(t=l._custom)==null?void 0:t.value,c=(n=l._custom)==null?void 0:n.type,p=typeof u=="object"&&u!==null&&"_custom"in u?Mt(u):{inherit:void 0,value:void 0,customType:void 0};a=p.inherit||((i=l._custom)==null?void 0:i.fields)||{},e=p.value||u,r=p.customType||c}return e&&e._isArray&&(e=e.items),{value:e,inherit:a,customType:r}}function xs(e,t){return t==="bigint"||t==="date"?e:jr(JSON.stringify(e))}function Me(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(Lr(e),uo)}function po(e){return bs(e,vs)}function Et(e,t=!1){return e==null?{}:t?sn(e,uo):sn(e)}C();C();C();C();C();var an,ln;(ln=(an=P).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(an.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);C();C();C();var te="__VUE_DEVTOOLS_GLOBAL_STATE__";function Es(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var un,cn;(cn=(un=P)[te])!=null||(un[te]=Es());var fo=et((e,t)=>{De.callHook("devtools:state-updated",e,t)},80),ho=et((e,t)=>{De.callHook("devtools:connected-updated",e,t)},80),M=new Proxy(P[te],{get(e,t){return P[te][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const i={...P[te]};return e[t]=n,P[te][t]=n,fo(P[te],i),["connected","clientConnected"].includes(t.toString())&&i[t]!==n&&ho(P[te],i),!0}});Object.defineProperty(M.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return M.tabs=this,De.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,De.callHook("custom-commands:updated",this),n}})});C();C();var qe="__VUE_DEVTOOLS_ROUTER__",ve="__VUE_DEVTOOLS_ROUTER_INFO__",dn,pn;(pn=(dn=P)[ve])!=null||(dn[ve]={currentRoute:null,routes:[]});var fn,hn;(hn=(fn=P)[qe])!=null||(fn[qe]=null);var Cs=new Proxy(P[ve],{get(e,t){return P[ve][t]}});C();var fe="__VUE_DEVTOOLS_CONTEXT__";function mo(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var mn,vn;(vn=(mn=P)[fe])!=null||(mn[fe]=mo());function Ss(){P[fe]=mo()}var xe=new Proxy(P[fe],{get(e,t){return t==="router"?P[qe]:t==="clear"?Ss:P[fe][t]},set(e,t,n){return P[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,xe.appRecord=s,xe.api=s.api,xe.inspector=(i=s.inspector)!=null?i:[],Ar(n),xe.routerInfo=Cs}else t==="activeId"&&(M.activeAppRecordId=n);return fo(M,r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&ho(M,r),!0}});var gn,yn;(yn=(gn=P).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__)!=null||(gn.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});C();var _n,bn;(bn=(_n=P).__VUE_DEVTOOLS_ENV__)!=null||(_n.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});C();C();function ks(e){M.highPerfModeEnabled=e??!M.highPerfModeEnabled}let As="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",vo=(e=21)=>{let t="",n=e;for(;n--;)t+=As[Math.random()*64|0];return t};var $s=Object.defineProperty,go=(e,t)=>{for(var n in t)$s(e,n,{get:t[n],enumerable:!0})},Ts={};go(Ts,{onAddTimelineEvent:()=>ko,onCustomCommandsUpdated:()=>ta,onCustomTabsUpdated:()=>ea,onDevToolsStateUpdated:()=>Eo,onInspectorStateUpdated:()=>So,onInspectorTreeUpdated:()=>Co,onRouterInfoUpdated:()=>na});var Bs={};go(Bs,{checkVueInspectorDetected:()=>zs,editInspectorState:()=>Ke,enableVueInspector:()=>Ns,getComponentBoundingRect:()=>Os,getDevToolsState:()=>bo,getInspectorState:()=>_o,getInspectorTree:()=>yo,getMatchedRoutes:()=>Hs,getRouterInfo:()=>js,getTimelineLayer:()=>Us,inspectComponentInspector:()=>Is,navigateAction:()=>Ls,openInEditor:()=>Ds,scrollToComponent:()=>Rs,toggleApp:()=>Ps,toggleComponentInspector:()=>Vs,toggleHighPerfMode:()=>Gs,unhighlightElement:()=>Fs,updateInspectorTreeId:()=>Ms});var zs=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))}),Ns=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()}),Ps=R("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),Ke=R("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),Ds=R("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),yo=R("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return po(n)}),Os=R("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),Is=R("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),Vs=R("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),Rs=R("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),_o=R("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return po(n)}),Ms=R("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),Fs=R("devtools:unhighlight-element",e=>e.api.unhighlightElement()),js=R("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),Ls=R("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(i=>i)}),Hs=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)}),Us=R("devtools:get-timeline-layer",e=>e.context.timelineLayer),bo=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}}),Gs=R("devtools:toggle-high-perf-mode",(e,t)=>{ks(t)}),Ws="devtools:bridge-action",qs="devtools:bridge-listener",Ks="__vue_devtools_bridge__",Ys="__vue_devtools_bridge_target__",Zs="devtools:bridge-action-events",Js="devtools:bridge-listener-events",Xs=P[Zs]=new Map,Qs=P[Js]=new Map;function wo(){return P[Ks]}function xo(){return P[Ys]}function R(e,t){return async(...n)=>{if(xo()==="devtools"){const r=wo(),s=vo();return await new Promise(a=>{r.once(s,l=>{a(l)}),r.emit(Ws,{name:e,key:s,args:n})})}else Xs.set(e,t)}}function de(e,t,n={}){return i=>{if(xo()==="devtools"){const{parser:s="devtools"}=n,a=s==="devtools"?Et:JSON.parse,l=wo(),u=vo(),c=l.on(u,p=>{i(a(p))});return l.emit(qs,{key:u,name:e,parser:s}),c}else return Qs.set(e,t),()=>{}}}var Eo=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)}}),ea=de("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),ta=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)})}),So=de("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),na=de("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),ko=de("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})});const oa={class:"flex gap3"},ia=["onClick"],Ao=o.defineComponent({__name:"Navbar",setup(e){const{routes:t,currentRoute:n}=xi(),i=Ot();return(r,s)=>(o.openBlock(),o.createElementBlock("ul",oa,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(t),(a,l)=>(o.openBlock(),o.createElementBlock("li",{key:l,"cursor-pointer":"","hover:op100":"",style:o.normalizeStyle({opacity:o.unref(n).path===a.path?1:.7}),onClick:u=>o.unref(i).push(a.path)},o.toDisplayString(a.name),13,ia))),128))]))}}),ra={class:"p2"},sa=["onClick"],aa=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",ra,[(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,sa))),128))]))}}),la={border:"b base",class:"h10 h40px flex items-center justify-between px3"},ua=["href"],ca=o.createElementVNode("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),da=[ca],pa=["href"],fa=o.createElementVNode("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),ha=[fa],$o=o.defineComponent({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(e){const t=Ot();return(n,i)=>(o.openBlock(),o.createElementBlock("div",la,[o.createElementVNode("div",null,[o.renderSlot(n.$slots,"default",{},()=>[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:"pr2",href:n.docLink,target:"_blank"},da,8,ua),o.createElementVNode("a",{href:n.githubRepoLink,target:"_blank"},ha,8,pa)])]))}}),ma={},va={class:"h-full flex flex-col items-center justify-center op50"},ga=o.createElementVNode("i",{class:"i-lets-icons:blank-light"},null,-1);function ya(e,t){return o.openBlock(),o.createElementBlock("div",va,[ga,o.createElementVNode("span",null,[o.renderSlot(e.$slots,"default")])])}const To=Pt(ma,[["render",ya]]),_a=["top","right","bottom","left"],wn=["start","end"],xn=_a.reduce((e,t)=>e.concat(t,t+"-"+wn[0],t+"-"+wn[1]),[]),$e=Math.min,ue=Math.max,ba={left:"right",right:"left",bottom:"top",top:"bottom"},wa={start:"end",end:"start"};function Ct(e,t,n){return ue(e,$e(t,n))}function pe(e,t){return typeof e=="function"?e(t):e}function Y(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function Bo(e){return e==="x"?"y":"x"}function Ft(e){return e==="y"?"height":"width"}function Oe(e){return["top","bottom"].includes(Y(e))?"y":"x"}function jt(e){return Bo(Oe(e))}function zo(e,t,n){n===void 0&&(n=!1);const i=W(e),r=jt(e),s=Ft(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Ze(a)),[a,Ze(a)]}function xa(e){const t=Ze(e);return[Ye(e),t,Ye(t)]}function Ye(e){return e.replace(/start|end/g,t=>wa[t])}function Ea(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 Ca(e,t,n,i){const r=W(e);let s=Ea(Y(e),n==="start",i);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(Ye)))),s}function Ze(e){return e.replace(/left|right|bottom|top/g,t=>ba[t])}function Sa(e){return{top:0,right:0,bottom:0,left:0,...e}}function No(e){return typeof e!="number"?Sa(e):{top:e,right:e,bottom:e,left:e}}function Ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function En(e,t,n){let{reference:i,floating:r}=e;const s=Oe(t),a=jt(t),l=Ft(a),u=Y(t),c=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(u){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&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1);break}return h}const ka=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:d}=En(c,i,u),f=i,h={},g=0;for(let m=0;m<l.length;m++){const{name:v,fn:y}=l[m],{x:b,y:_,data:w,reset:A}=await y({x:p,y:d,initialPlacement:i,placement:f,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});if(p=b??p,d=_??d,h={...h,[v]:{...h[v],...w}},A&&g<=50){g++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(c=A.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):A.rects),{x:p,y:d}=En(c,f,u)),m=-1;continue}}return{x:p,y:d,placement:f,strategy:r,middlewareData:h}};async function st(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=pe(t,e),g=No(h),v=l[f?d==="floating"?"reference":"floating":d],y=Ee(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:u})),b=d==="floating"?{...a.floating,x:i,y:r}:a.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),w=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},A=Ee(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:_,strategy:u}):b);return{top:(y.top-A.top+g.top)/w.y,bottom:(A.bottom-y.bottom+g.bottom)/w.y,left:(y.left-A.left+g.left)/w.x,right:(A.right-y.right+g.right)/w.x}}const Aa=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:s,platform:a,elements:l}=t,{element:u,padding:c=0}=pe(e,t)||{};if(u==null)return{};const p=No(c),d={x:n,y:i},f=jt(r),h=Ft(f),g=await a.getDimensions(u),m=f==="y",v=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",_=s.reference[h]+s.reference[f]-d[f]-s.floating[h],w=d[f]-s.reference[f],A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let S=A?A[b]:0;(!S||!await(a.isElement==null?void 0:a.isElement(A)))&&(S=l.floating[b]||s.floating[h]);const O=_/2-w/2,D=S/2-g[h]/2-1,I=$e(p[v],D),k=$e(p[y],D),B=I,x=S-g[h]-k,E=S/2-g[h]/2+O,z=Ct(B,E,x),T=W(r)!=null&&E!=z&&s.reference[h]/2-(E<B?I:k)-g[h]/2<0?E<B?B-E:x-E:0;return{[f]:d[f]-T,data:{[f]:z,centerOffset:E-z+T}}}});function $a(e,t,n){return(e?[...n.filter(r=>W(r)===e),...n.filter(r=>W(r)!==e)]:n.filter(r=>Y(r)===r)).filter(r=>e?W(r)===e||(t?Ye(r)!==r:!1):!0)}const Ta=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:u,elements:c}=t,{crossAxis:p=!1,alignment:d,allowedPlacements:f=xn,autoAlignment:h=!0,...g}=pe(e,t),m=d!==void 0||f===xn?$a(d||null,h,f):f,v=await st(t,g),y=((n=a.autoPlacement)==null?void 0:n.index)||0,b=m[y];if(b==null)return{};const _=zo(b,s,await(u.isRTL==null?void 0:u.isRTL(c.floating)));if(l!==b)return{reset:{placement:m[0]}};const w=[v[Y(b)],v[_[0]],v[_[1]]],A=[...((i=a.autoPlacement)==null?void 0:i.overflows)||[],{placement:b,overflows:w}],S=m[y+1];if(S)return{data:{index:y+1,overflows:A},reset:{placement:S}};const O=A.map(k=>{const B=W(k.placement);return[k.placement,B&&p?k.overflows.slice(0,2).reduce((x,E)=>x+E,0):k.overflows[0],k.overflows]}).sort((k,B)=>k[1]-B[1]),I=((r=O.filter(k=>k[2].slice(0,W(k[0])?2:3).every(B=>B<=0))[0])==null?void 0:r[0])||O[0][0];return I!==l?{data:{index:y+1,overflows:A},reset:{placement:I}}:{}}}},Ba=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:u}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=pe(e,t),v=Y(i),y=Y(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),_=d||(y||!g?[Ze(a)]:xa(a));!d&&h!=="none"&&_.push(...Ca(a,g,h,b));const w=[a,..._],A=await st(t,m),S=[];let O=((n=r.flip)==null?void 0:n.overflows)||[];if(c&&S.push(A[v]),p){const B=zo(i,s,b);S.push(A[B[0]],A[B[1]])}if(O=[...O,{placement:i,overflows:S}],!S.every(B=>B<=0)){var D,I;const B=(((D=r.flip)==null?void 0:D.index)||0)+1,x=w[B];if(x)return{data:{index:B,overflows:O},reset:{placement:x}};let E=(I=O.filter(z=>z.overflows[0]<=0).sort((z,V)=>z.overflows[1]-V.overflows[1])[0])==null?void 0:I.placement;if(!E)switch(f){case"bestFit":{var k;const z=(k=O.map(V=>[V.placement,V.overflows.filter(T=>T>0).reduce((T,$)=>T+$,0)]).sort((V,T)=>V[1]-T[1])[0])==null?void 0:k[0];z&&(E=z);break}case"initialPlacement":E=a;break}if(i!==E)return{reset:{placement:E}}}return{}}}};async function za(e,t){const{placement:n,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=Y(n),l=W(n),u=Oe(n)==="y",c=["left","top"].includes(a)?-1:1,p=s&&u?-1:1,d=pe(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&typeof g=="number"&&(h=l==="end"?g*-1:g),u?{x:h*p,y:f*c}:{x:f*c,y:h*p}}const Na=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,r=await za(t,e);return{x:n+r.x,y:i+r.y,data:r}}}},Pa=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:v=>{let{x:y,y:b}=v;return{x:y,y:b}}},...u}=pe(e,t),c={x:n,y:i},p=await st(t,u),d=Oe(Y(r)),f=Bo(d);let h=c[f],g=c[d];if(s){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",b=h+p[v],_=h-p[y];h=Ct(b,h,_)}if(a){const v=d==="y"?"top":"left",y=d==="y"?"bottom":"right",b=g+p[v],_=g-p[y];g=Ct(b,g,_)}const m=l.fn({...t,[f]:h,[d]:g});return{...m,data:{x:m.x-n,y:m.y-i}}}}},Da=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),u=await st(t,l),c=Y(n),p=W(n),d=Oe(n)==="y",{width:f,height:h}=i.floating;let g,m;c==="top"||c==="bottom"?(g=c,m=p===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(m=c,g=p==="end"?"top":"bottom");const v=h-u[g],y=f-u[m],b=!t.middlewareData.shift;let _=v,w=y;if(d){const S=f-u.left-u.right;w=p||b?$e(y,S):S}else{const S=h-u.top-u.bottom;_=p||b?$e(v,S):S}if(b&&!p){const S=ue(u.left,0),O=ue(u.right,0),D=ue(u.top,0),I=ue(u.bottom,0);d?w=f-2*(S!==0||O!==0?S+O:ue(u.left,u.right)):_=h-2*(D!==0||I!==0?D+I:ue(u.top,u.bottom))}await a({...t,availableWidth:w,availableHeight:_});const A=await r.getDimensions(s.floating);return f!==A.width||h!==A.height?{reset:{rects:!0}}:{}}}};function H(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){return H(e).getComputedStyle(e)}const Cn=Math.min,Ce=Math.max,Je=Math.round;function Po(e){const t=q(e);let n=parseFloat(t.width),i=parseFloat(t.height);const r=e.offsetWidth,s=e.offsetHeight,a=Je(n)!==r||Je(i)!==s;return a&&(n=r,i=s),{width:n,height:i,fallback:a}}function re(e){return Oo(e)?(e.nodeName||"").toLowerCase():""}let Ve;function Do(){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 K(e){return e instanceof H(e).HTMLElement}function oe(e){return e instanceof H(e).Element}function Oo(e){return e instanceof H(e).Node}function Sn(e){return typeof ShadowRoot>"u"?!1:e instanceof H(e).ShadowRoot||e instanceof ShadowRoot}function at(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 Oa(e){return["table","td","th"].includes(re(e))}function St(e){const t=/firefox/i.test(Do()),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 Io(){return!/^((?!chrome|android).)*safari/i.test(Do())}function Lt(e){return["html","body","#document"].includes(re(e))}function Vo(e){return oe(e)?e:e.contextElement}const Ro={x:1,y:1};function he(e){const t=Vo(e);if(!K(t))return Ro;const n=t.getBoundingClientRect(),{width:i,height:r,fallback:s}=Po(t);let a=(s?Je(n.width):n.width)/i,l=(s?Je(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function Te(e,t,n,i){var r,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=Vo(e);let u=Ro;t&&(i?oe(i)&&(u=he(i)):u=he(e));const c=l?H(l):window,p=!Io()&&n;let d=(a.left+(p&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/u.x,f=(a.top+(p&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/u.y,h=a.width/u.x,g=a.height/u.y;if(l){const m=H(l),v=i&&oe(i)?H(i):i;let y=m.frameElement;for(;y&&i&&v!==m;){const b=he(y),_=y.getBoundingClientRect(),w=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(w.paddingLeft))*b.x,_.y+=(y.clientTop+parseFloat(w.paddingTop))*b.y,d*=b.x,f*=b.y,h*=b.x,g*=b.y,d+=_.x,f+=_.y,y=H(y).frameElement}}return{width:h,height:g,top:f,right:d+h,bottom:f+g,left:d,x:d,y:f}}function ie(e){return((Oo(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mo(e){return Te(ie(e)).left+lt(e).scrollLeft}function Be(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sn(e)&&e.host||ie(e);return Sn(t)?t.host:t}function Fo(e){const t=Be(e);return Lt(t)?t.ownerDocument.body:K(t)&&at(t)?t:Fo(t)}function Xe(e,t){var n;t===void 0&&(t=[]);const i=Fo(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),s=H(i);return r?t.concat(s,s.visualViewport||[],at(i)?i:[]):t.concat(i,Xe(i))}function kn(e,t,n){return t==="viewport"?Ee(function(i,r){const s=H(i),a=ie(i),l=s.visualViewport;let u=a.clientWidth,c=a.clientHeight,p=0,d=0;if(l){u=l.width,c=l.height;const f=Io();(f||!f&&r==="fixed")&&(p=l.offsetLeft,d=l.offsetTop)}return{width:u,height:c,x:p,y:d}}(e,n)):oe(t)?Ee(function(i,r){const s=Te(i,!0,r==="fixed"),a=s.top+i.clientTop,l=s.left+i.clientLeft,u=K(i)?he(i):{x:1,y:1};return{width:i.clientWidth*u.x,height:i.clientHeight*u.y,x:l*u.x,y:a*u.y}}(t,n)):Ee(function(i){const r=ie(i),s=lt(i),a=i.ownerDocument.body,l=Ce(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),u=Ce(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let c=-s.scrollLeft+Mo(i);const p=-s.scrollTop;return q(a).direction==="rtl"&&(c+=Ce(r.clientWidth,a.clientWidth)-l),{width:l,height:u,x:c,y:p}}(ie(e)))}function An(e){return K(e)&&q(e).position!=="fixed"?e.offsetParent:null}function $n(e){const t=H(e);let n=An(e);for(;n&&Oa(n)&&q(n).position==="static";)n=An(n);return n&&(re(n)==="html"||re(n)==="body"&&q(n).position==="static"&&!St(n))?t:n||function(i){let r=Be(i);for(;K(r)&&!Lt(r);){if(St(r))return r;r=Be(r)}return null}(e)||t}function Ia(e,t,n){const i=K(t),r=ie(t),s=Te(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"||at(r))&&(a=lt(t)),K(t)){const u=Te(t,!0);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else r&&(l.x=Mo(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const Va={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const s=n==="clippingAncestors"?function(c,p){const d=p.get(c);if(d)return d;let f=Xe(c).filter(v=>oe(v)&&re(v)!=="body"),h=null;const g=q(c).position==="fixed";let m=g?Be(c):c;for(;oe(m)&&!Lt(m);){const v=q(m),y=St(m);(g?y||h:y||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:f=f.filter(b=>b!==m),m=Be(m)}return p.set(c,f),f}(t,this._c):[].concat(n),a=[...s,i],l=a[0],u=a.reduce((c,p)=>{const d=kn(t,p,r);return c.top=Ce(d.top,c.top),c.right=Cn(d.right,c.right),c.bottom=Cn(d.bottom,c.bottom),c.left=Ce(d.left,c.left),c},kn(t,l,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=K(n),s=ie(n);if(n===s)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((r||!r&&i!=="fixed")&&((re(n)!=="body"||at(s))&&(a=lt(n)),K(n))){const c=Te(n);l=he(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+u.x,y:t.y*l.y-a.scrollTop*l.y+u.y}},isElement:oe,getDimensions:function(e){return K(e)?Po(e):e.getBoundingClientRect()},getOffsetParent:$n,getDocumentElement:ie,getScale:he,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||$n,s=this.getDimensions;return{reference:Ia(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"},Ra=(e,t,n)=>{const i=new Map,r={platform:Va,...n},s={...r.platform,_c:i};return ka(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 ze(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 Ma(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 Tn(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 ge=!1;if(typeof window<"u"){ge=!1;try{const e=Object.defineProperty({},"passive",{get(){ge=!0}});window.addEventListener("test",null,e)}catch{}}let jo=!1;typeof window<"u"&&typeof navigator<"u"&&(jo=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Lo=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Bn={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},zn={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Nn(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function mt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const G=[];let ae=null;const Pn={};function Dn(e){let t=Pn[e];return t||(t=Pn[e]=[]),t}let kt=function(){};typeof window<"u"&&(kt=window.Element);function N(e){return function(t){return ze(t.theme,e)}}const vt="__floating-vue__popper",Ho=()=>o.defineComponent({name:"VPopper",provide(){return{[vt]:{parentPopper:this}}},inject:{[vt]:{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:N("disabled")},positioningDisabled:{type:Boolean,default:N("positioningDisabled")},placement:{type:String,default:N("placement"),validator:e=>Lo.includes(e)},delay:{type:[String,Number,Object],default:N("delay")},distance:{type:[Number,String],default:N("distance")},skidding:{type:[Number,String],default:N("skidding")},triggers:{type:Array,default:N("triggers")},showTriggers:{type:[Array,Function],default:N("showTriggers")},hideTriggers:{type:[Array,Function],default:N("hideTriggers")},popperTriggers:{type:Array,default:N("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:N("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:N("popperHideTriggers")},container:{type:[String,Object,kt,Boolean],default:N("container")},boundary:{type:[String,kt],default:N("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:N("strategy")},autoHide:{type:[Boolean,Function],default:N("autoHide")},handleResize:{type:Boolean,default:N("handleResize")},instantMove:{type:Boolean,default:N("instantMove")},eagerMount:{type:Boolean,default:N("eagerMount")},popperClass:{type:[String,Array,Object],default:N("popperClass")},computeTransformOrigin:{type:Boolean,default:N("computeTransformOrigin")},autoMinSize:{type:Boolean,default:N("autoMinSize")},autoSize:{type:[Boolean,String],default:N("autoSize")},autoMaxSize:{type:Boolean,default:N("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:N("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:N("preventOverflow")},overflowPadding:{type:[Number,String],default:N("overflowPadding")},arrowPadding:{type:[Number,String],default:N("arrowPadding")},arrowOverflow:{type:Boolean,default:N("arrowOverflow")},flip:{type:Boolean,default:N("flip")},shift:{type:Boolean,default:N("shift")},shiftCrossAxis:{type:Boolean,default:N("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:N("noAutoFocus")},disposeTimeout:{type:Number,default:N("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[vt])==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(Na({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ta({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Pa({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Ba({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Aa({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 u,c;return s.startsWith("top")||s.startsWith("bottom")?u=r.reference.width:c=r.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=c!=null?`${c}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(Da({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 Ra(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 mt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Xe(this.$_referenceNode),...Xe(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 Tn(this.theme))Dn(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 mt(),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,Nn(G,this),G.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Tn(this.theme)){const i=Dn(n);Nn(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 mt(),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,Bn,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Bn,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,zn,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],zn,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,ge?{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(Se>=e.left&&Se<=e.right&&ke>=e.top&&ke<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Se-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(jo){const e=ge?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>On(t),e),document.addEventListener("touchend",t=>In(t,!0),e)}else window.addEventListener("mousedown",e=>On(e),!0),window.addEventListener("click",e=>In(e,!1),!0);window.addEventListener("resize",La)}function On(e,t){for(let n=0;n<G.length;n++){const i=G[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function In(e,t){Fa(e,t)}function Fa(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]&&Vn(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&&Vn(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Vn(e,t,n){return n.closeAllPopover||n.closePopover&&t||ja(e,n)&&!t}function ja(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function La(){for(let e=0;e<G.length;e++)G[e].$_computePosition()}let Q=0,ee=0,Se=0,ke=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Q=Se,ee=ke,Se=e.clientX,ke=e.clientY},ge?{passive:!0}:void 0);function Re(e,t,n,i,r,s,a,l){const u=((a-r)*(t-s)-(l-s)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t)),c=((n-e)*(t-s)-(i-t)*(e-r))/((l-s)*(n-e)-(a-r)*(i-t));return u>=0&&u<=1&&c>=0&&c<=1}const Ha={extends:Ho()},ut=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};function Ua(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 Ga=ut(Ha,[["render",Ua]]);function Wa(){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 Fe;function At(){At.init||(At.init=!0,Fe=Wa()!==-1)}var ct={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){At(),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",Fe&&this.$el.appendChild(e),e.data="about:blank",Fe||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&&(!Fe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qa=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Ka={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Ya=qa((e,t,n,i,r,s)=>(o.openBlock(),o.createBlock("div",Ka)));ct.render=Ya;ct.__scopeId="data-v-b329ee4c";ct.__file="src/components/ResizeObserver.vue";const Uo=(e="theme")=>({computed:{themeClass(){return Ma(this[e])}}}),Za=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:ct},mixins:[Uo()],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}}}),Ja=["id","aria-hidden","tabindex","data-popper-placement"],Xa={ref:"inner",class:"v-popper__inner"},Qa=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),el=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),tl=[Qa,el];function nl(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",Xa,[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)},tl,4)],4)],46,Ja)}const Go=ut(Za,[["render",nl]]),Wo={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 $t=function(){};typeof window<"u"&&($t=window.Element);const ol=o.defineComponent({name:"VPopperWrapper",components:{Popper:Ga,PopperContent:Go},mixins:[Wo,Uo("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,$t,Boolean],default:void 0},boundary:{type:[String,$t],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 il(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]=u=>e.$emit("update:shown",u)),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:u,isShown:c,shouldMountContent:p,skipTransition:d,autoHide:f,show:h,hide:g,handleResize:m,onResize:v,classes:y,result:b})=>[o.renderSlot(e.$slots,"default",{shown:c,show:h,hide:g}),o.createVNode(a,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:c,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":m,classes:y,result:b,onHide:g,onResize:v},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:c,hide:g})]),_: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 Ht=ut(ol,[["render",il]]),rl={...Ht,name:"VDropdown",vPopperTheme:"dropdown"};({...Ht});({...Ht});const sl=o.defineComponent({name:"VTooltipDirective",components:{Popper:Ho(),PopperContent:Go},mixins:[Wo],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ze(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ze(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}}}),al=["innerHTML"],ll=["textContent"];function ul(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:u,isShown:c,shouldMountContent:p,skipTransition:d,autoHide:f,hide:h,handleResize:g,onResize:m,classes:v,result:y})=>[o.createVNode(a,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:c,mounted:p,"skip-transition":d,"auto-hide":f,"handle-resize":g,classes:v,result:y,onHide:h,onResize:m},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,al)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,ll))]),_: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 cl=ut(sl,[["render",ul]]),qo="v-popper--has-tooltip";function dl(e,t){let n=e.placement;if(!n&&t)for(const i of Lo)t[i]&&(n=i);return n||(n=ze(e.theme||"tooltip","placement")),n}function Ko(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=dl(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let gt,Ne,pl=0;function fl(){if(gt)return;Ne=o.ref([]),gt=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:Ne}},render(){return this.directives.map(t=>o.h(cl,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),gt.mount(e)}function hl(e,t,n){fl();const i=o.ref(Ko(e,t,n)),r=o.ref(!1),s={id:pl++,options:i,shown:r};return Ne.value.push(s),e.classList&&e.classList.add(qo),e.$_popper={options:i,item:s,show(){r.value=!0},hide(){r.value=!1}}}function Yo(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(qo)}function Rn(e,{value:t,modifiers:n}){const i=Ko(e,t,n);if(!i.content||ze(i.theme||"tooltip","disabled"))Yo(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=i):r=hl(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const ml={beforeMount:Rn,updated:Rn,beforeUnmount(e){Yo(e)}};function Mn(e){e.addEventListener("mousedown",Qe),e.addEventListener("click",Qe),e.addEventListener("touchstart",Zo,ge?{passive:!0}:!1)}function Fn(e){e.removeEventListener("mousedown",Qe),e.removeEventListener("click",Qe),e.removeEventListener("touchstart",Zo),e.removeEventListener("touchend",Jo),e.removeEventListener("touchcancel",Xo)}function Qe(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Zo(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",Jo),t.addEventListener("touchcancel",Xo)}}function Jo(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 Xo(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const vl={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Mn(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?Mn(e):Fn(e))},beforeUnmount(e){Fn(e)}},me=ml,gl=vl,yl=rl,_l=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},bl={},wl={class:"h-3 w-3 $ui-inline-fcc"},xl=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),El=[xl];function Cl(e,t){return o.openBlock(),o.createElementBlock("div",wl,El)}const Qo=_l(bl,[["render",Cl]]),Sl={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 u={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"}},c=o.useSlots(),p=o.computed(()=>n.flat?u.flat[n.type]:n.outlined?u.outlined[n.type]:u.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",[[u.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(Qo,{key:0,class:"mt0.5 h-full w3"})):o.renderSlot(d.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),o.unref(c).default?(o.openBlock(),o.createElementBlock("div",Sl,[o.renderSlot(d.$slots,"default")])):o.createCommentVNode("",!0),o.renderSlot(d.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),j=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 kl(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 jn(e){return typeof e=="function"?e():o.unref(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Al=e=>typeof e<"u",Ln=()=>{};function $l(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 Tl(e,t={}){let n,i,r=Ln;const s=a=>{clearTimeout(a),r(),r=Ln};return a=>{const l=jn(e),u=jn(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(a())):new Promise((c,p)=>{r=t.rejectOnCancel?p:c,u&&!i&&(i=setTimeout(()=>{n&&s(n),i=null,c(a())},u)),n=setTimeout(()=>{i&&s(i),i=null,c(a())},l)})}}function Bl(e,t=200,n={}){return $l(Tl(t,n),e)}function zl(e,t=200,n={}){const i=o.ref(e.value),r=Bl(()=>{i.value=e.value},t,n);return o.watch(e,()=>r()),i}function Nl(e,t={}){let n=e,i,r;const s=o.customRef((u,c)=>(i=u,r=c,{get(){return a()},set(p){l(p)}}));function a(u=!0){return u&&i(),n}function l(u,c=!0){var p,d;if(u===n)return;const f=n;((p=t.onBeforeChange)==null?void 0:p.call(t,u,f))!==!1&&(n=u,(d=t.onChanged)==null||d.call(t,u,f),c&&r())}return kl(s,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:u=>l(u,!1),peek:()=>a(!1),lay:u=>l(u,!1)},{enumerable:!0})}function Pl(e){return JSON.parse(JSON.stringify(e))}function Dl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:u=!1,eventName:c,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),g=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=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=_=>l?typeof l=="function"?l(_):Pl(_):_,y=()=>Al(e[t])?v(e[t]):d,b=_=>{f?f(_)&&g(m,_):g(m,_)};if(u){const _=y(),w=o.ref(_);let A=!1;return o.watch(()=>e[t],S=>{A||(A=!0,w.value=v(S),o.nextTick(()=>A=!1))}),o.watch(w,S=>{!A&&(S!==e[t]||p)&&b(S)},{deep:p}),w}else return o.computed({get(){return y()},set(_){b(_)}})}const Ol=["type","placeholder","disabled"],Il={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"},yt="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Vl=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=Dl(n,"modelValue",i),s=zl(o.computed(()=>n.loading),n.loadingDebounceTime),a=Nl(!1,{onChanged(d){i("updateFocused",d)}}),l=o.computed(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),u=o.computed(()=>n.disabled||s.value),c=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=c.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":u.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(yt)},[o.createVNode(j,{icon:d.leftIcon},null,8,["icon"])])):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:c,"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:u.value||d.readonly,onBlur:f[1]||(f[1]=h=>a.value=!1)},null,40,Ol),[[o.vModelDynamic,o.unref(r)]]),o.unref(s)?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(yt)},[o.createVNode(Qo)])):d.rightIcon?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(yt)},[o.createVNode(j,{icon:d.rightIcon},null,8,["icon"])])):o.createCommentVNode("",!0),l.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Il))],2))}}),Rl={class:"overflow-hidden rounded-lg shadow-lg"},Ml=o.createElementVNode("div",{class:"p2 opacity-40"}," Empty... ",-1),Fl=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(yl),{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",Rl,[o.renderSlot(n.$slots,"popper",o.normalizeProps(o.guardReactiveProps({hide:r})),()=>[Ml])])]),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"]))}}),Hn=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(gl)]])}});function ei(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function ye(e){return typeof e=="function"?e():o.unref(e)}const Ut=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jl=e=>typeof e<"u",Ll=Object.prototype.toString,Hl=e=>Ll.call(e)==="[object Object]",ti=()=>{};function Ul(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 Gl(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 u(...c){a(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,e(...c)},ye(t))}return i&&(r.value=!0,Ut&&u()),ei(l),{isPending:o.readonly(r),start:u,stop:l}}function Wl(e){var t;const n=ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ni=Ut?window:void 0,oi=Ut?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=ni):[t,n,i,r]=e,!t)return ti;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)),u=o.watch(()=>[Wl(t),ye(r)],([p,d])=>{if(a(),!p)return;const f=Hl(d)?{...d}:d;s.push(...n.flatMap(h=>i.map(g=>l(p,h,g,f))))},{immediate:!0,flush:"post"}),c=()=>{u(),a()};return ei(c),c}function ql(){const e=o.ref(!1),t=o.getCurrentInstance();return t&&o.onMounted(()=>{e.value=!0},t),e}function ii(e){const t=ql();return o.computed(()=>(t.value,!!e()))}function Un(e,t={}){const{controls:n=!1,navigator:i=oi}=t,r=ii(()=>i&&"permissions"in i);let s;const a=typeof e=="string"?{name:e}:e,l=o.ref(),u=()=>{s&&(l.value=s.state)},c=Ul(async()=>{if(r.value){if(!s)try{s=await i.permissions.query(a),ne(s,"change",u),u()}catch{l.value="prompt"}return s}});return c(),n?{state:l,isSupported:r,query:c}:l}function Kl(e={}){const{navigator:t=oi,read:n=!1,source:i,copiedDuring:r=1500,legacy:s=!1}=e,a=ii(()=>t&&"clipboard"in t),l=Un("clipboard-read"),u=Un("clipboard-write"),c=o.computed(()=>a.value||s),p=o.ref(""),d=o.ref(!1),f=Gl(()=>d.value=!1,r);function h(){a.value&&y(l.value)?t.clipboard.readText().then(b=>{p.value=b}):p.value=v()}c.value&&n&&ne(["copy","cut"],h);async function g(b=ye(i)){c.value&&b!=null&&(a.value&&y(u.value)?await t.clipboard.writeText(b):m(b),p.value=b,d.value=!0,f.start())}function m(b){const _=document.createElement("textarea");_.value=b??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var b,_,w;return(w=(_=(b=document==null?void 0:document.getSelection)==null?void 0:b.call(document))==null?void 0:_.toString())!=null?w:""}function y(b){return b==="granted"||b==="prompt"}return{isSupported:c,text:p,copied:d,copy:g}}function Yl(e){return JSON.parse(JSON.stringify(e))}const Zl={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Jl(e={}){const{reactive:t=!1,target:n=ni,aliasMap:i=Zl,passive:r=!0,onEventFired:s=ti}=e,a=o.reactive(new Set),l={toJSON(){return{}},current:a},u=t?o.reactive(l):l,c=new Set,p=new Set;function d(m,v){m in u&&(t?u[m]=v:u[m].value=v)}function f(){a.clear();for(const m of p)d(m,!1)}function h(m,v){var y,b;const _=(y=m.key)==null?void 0:y.toLowerCase(),A=[(b=m.code)==null?void 0:b.toLowerCase(),_].filter(Boolean);_&&(v?a.add(_):a.delete(_));for(const S of A)p.add(S),d(S,v);_==="meta"&&!v?(c.forEach(S=>{a.delete(S),d(S,!1)}),c.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&v&&[...a,...A].forEach(S=>c.add(S))}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 g=new Proxy(u,{get(m,v,y){if(typeof v!="string")return Reflect.get(m,v,y);if(v=v.toLowerCase(),v in i&&(v=i[v]),!(v in u))if(/[+_-]/.test(v)){const _=v.split(/[+_-]/g).map(w=>w.trim());u[v]=o.computed(()=>_.every(w=>ye(g[w])))}else u[v]=o.ref(!1);const b=Reflect.get(m,v,y);return t?ye(b):b}});return g}function Xl(e,t,n,i={}){var r,s,a;const{clone:l=!1,passive:u=!1,eventName:c,deep:p=!1,defaultValue:d,shouldEmit:f}=i,h=o.getCurrentInstance(),g=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=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=_=>l?typeof l=="function"?l(_):Yl(_):_,y=()=>jl(e[t])?v(e[t]):d,b=_=>{f?f(_)&&g(m,_):g(m,_)};if(u){const _=y(),w=o.ref(_);let A=!1;return o.watch(()=>e[t],S=>{A||(A=!0,w.value=v(S),o.nextTick(()=>A=!1))}),o.watch(w,S=>{!A&&(S!==e[t]||p)&&b(S)},{deep:p}),w}else return o.computed({get(){return y()},set(_){b(_)}})}const ri=Symbol("StateEditorSymbol");function Ql(e){const t=o.ref(e);return o.provide(ri,t),{context:t}}function Gt(){return o.inject(ri)}function eu(){const e=o.ref(""),t=o.ref("string"),n=o.ref(!1),i=Gt();return{editingText:e,editing:n,toggleEditing(r){r&&(t.value=r),n.value=!n.value},editingType:t,nodeId:i.value.nodeId}}function tu(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 nu(){const e=o.ref({enable:!1,key:"",value:"undefined"});function t(i,r){const s=tu(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 ou={class:"inline pl5px"},iu={class:"w160px py5px"},ru=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=Gt(),{copy:i,isSupported:r}=Kl(),s=o.ref(!1),a=o.computed(()=>Mt(t.data.value)),l=o.computed(()=>a.value.value),u=o.computed(()=>a.value.customType),c=o.computed(()=>l.value===null?"null":typeof l.value),p={flat:!0,size:"mini"},d=o.computed(()=>({"opacity-0":!t.hovering}));function f(g,m=!1){Ke({path:t.data.key.split("."),inspectorId:n.value.inspectorId,type:t.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:o.toRaw(g),type:c.value,remove:m}})}function h(g,m){const v=typeof g=="number"?g+m:BigInt(g)+BigInt(m);f(v)}return(g,m)=>(o.openBlock(),o.createElementBlock("div",ou,[!t.disableEdit&&g.data.editable?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[c.value==="string"||c.value==="number"||c.value==="object"||c.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(v=>g.$emit("enableEditInput",c.value),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[o.unref(me),{content:"Edit value"}]]),c.value==="object"&&g.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(v=>g.$emit("addNewProp",Array.isArray(l.value)?"array":"object"),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[o.unref(me),{content:"Add new value"}]]):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),c.value==="boolean"?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[2]||(m[2]=v=>f(!l.value))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:l.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):c.value==="number"||u.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(v=>h(l.value,1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{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(v=>h(l.value,-1),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!t.disableEdit&&g.depth>0?(o.openBlock(),o.createBlock(o.unref(U),o.mergeProps({key:1},p,{class:d.value,onClick:m[5]||(m[5]=o.withModifiers(v=>f(l.value,!0),["stop"]))}),{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):o.createCommentVNode("",!0),o.createVNode(o.unref(Fl),{class:o.normalizeClass({"opacity-0":!g.hovering&&!s.value}),"button-props":{flat:!0,size:"mini"},disabled:!o.unref(r),"onUpdate:visible":m[8]||(m[8]=v=>s.value=v)},{popper:o.withCtx(()=>[o.createElementVNode("div",iu,[o.createVNode(o.unref(Hn),{onClick:m[6]||(m[6]=v=>o.unref(i)(typeof l.value=="object"?JSON.stringify(l.value):l.value.toString()))},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Value ")]),_:1}),o.createVNode(o.unref(Hn),{onClick:m[7]||(m[7]=()=>{o.unref(i)(g.data.key)})},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),o.createTextVNode(" Copy Path ")]),_:1})])]),"button-icon":o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),su={class:"flex-inline items-center gap4px"},_t=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}=Jl();o.watchEffect(()=>{s.value?i("cancel"):a.value&&i("submit")});const l=Xl(n,"modelValue",i);function u(d){try{return Me(d,n.customType),!0}catch{return!1}}const c=o.ref(!1),p=()=>et(()=>{c.value=!u(l.value)},300);return o.watch(l,p()),(d,f)=>(o.openBlock(),o.createElementBlock("span",su,[o.createVNode(o.unref(Vl),{modelValue:o.unref(l),"onUpdate:modelValue":f[0]||(f[0]=h=>o.isRef(l)?l.value=h:null),type:r.value,variant:c.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(j),{icon:"i-material-symbols-cancel"})]),_:1})),[[o.unref(me),{content:"Esc to cancel"}]]),c.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(j),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[o.unref(me),{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(j),{icon:"i-material-symbols-save"})]),_:1})),[[o.unref(me),{content:"Enter to submit change"}]])],64)):o.createCommentVNode("",!0)]))}}),si=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 au(){const e=o.ref([]);return o.provide("state-expanded",e),{expanded:e}}function ai(){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 lu(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 li=e=>(o.pushScopeId("data-v-ad035540"),e=e(),o.popScopeId(),e),uu={key:1,pl5:""},cu={op70:""},du=li(()=>o.createElementVNode("span",{mx1:""},":",-1)),pu=["innerHTML"],fu={key:0},hu={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},mu=li(()=>o.createElementVNode("span",{"mx-1":""},":",-1)),Gn=30,vu=o.defineComponent({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(e){const t=e,n=o.ref(Gn),i=o.computed(()=>co(t.data.value)),r=o.computed(()=>Ae(t.data.value)),s=o.computed(()=>Mt(t.data.value)),{expanded:a,toggleExpanded:l}=ai(),u=o.computed(()=>{var x;return r.value==="custom"?`${((x=t.data.value._custom)==null?void 0:x.type)??"string"}-custom-state`:""}),c=o.computed(()=>{const{value:x}=s.value;return Zt(x)?x.length:Yt(x)?Object.keys(x).length:0}),p=o.computed(()=>{const x=t.data.key,E=x.lastIndexOf(".");return E===-1?x:x.slice(E+1)}),d=o.computed(()=>{var z,V,T,$,Z;const x=["Reactive"],E=((z=t.data._custom)==null?void 0:z.stateTypeName)||((V=t.data)==null?void 0:V.stateTypeName);if(x.includes(E))return E;if(($=(T=t.data.value)==null?void 0:T.fields)!=null&&$.abstract)return"";{const F=(Z=t.data.value._custom)==null?void 0:Z.type,J=r.value==="custom"&&!F?`"${i.value}"`:i.value===""?'""':i.value,L=`<span class="${r.value==="custom"&&F==="ref"?Ae(J):r.value}-state-type">${J}</span>`;return E?`${L} <span class="text-gray-500">(${E})</span>`:L}}),f=o.computed(()=>{const{value:x,inherit:E,customType:z}=s.value,V=z==="set";let T=[];return Zt(x)?x.slice(0,n.value).map((Z,F)=>({key:`${t.data.key}.${F}`,value:Z,...E,editable:t.data.editable&&!V,creating:!1})):(Yt(x)&&(T=Object.keys(x).slice(0,n.value).map($=>({key:`${t.data.key}.${$}`,value:x[$],...E,editable:t.data.editable&&!V,creating:!1})),r.value!=="custom"&&(T=sr(T))),T===t.data.value?[]:T)}),h=o.computed(()=>f.value.length>0),g=o.ref(),m=Gt(),{isHovering:v}=lu(()=>g.value),{editingType:y,editing:b,editingText:_,toggleEditing:w,nodeId:A}=eu();o.watch(()=>b.value,x=>{if(x){const{value:E}=s.value;_.value=xs(E,s.value.customType)}else _.value=""});function S(){const x=t.data;Ke({path:x.key.split("."),inspectorId:m.value.inspectorId,type:x.stateType,nodeId:A,state:{newKey:null,type:y.value,value:Me(_.value,s.value.customType)}}),w()}const{addNewProp:O,draftingNewProp:D,resetDrafting:I}=nu();function k(x){const E=`${t.depth}-${t.index}`;a.value.includes(E)||l(E),O(x,s.value.value)}function B(){const x=t.data,E=x.key.split(".");E.push(D.value.key),Ke({path:E,inspectorId:m.value.inspectorId,type:x.stateType,nodeId:A,state:{newKey:D.value.key,type:typeof Me(D.value.value),value:Me(D.value.value)}}),I()}return(x,E)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{ref_key:"containerRef",ref:g,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:E[1]||(E[1]=z=>o.unref(l)(`${x.depth}-${x.index}`))},[h.value?(o.openBlock(),o.createBlock(si,{key:0,value:o.unref(a).includes(`${x.depth}-${x.index}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",uu)),o.createElementVNode("span",cu,o.toDisplayString(p.value),1),du,o.unref(b)?(o.openBlock(),o.createBlock(_t,{key:2,modelValue:o.unref(_),"onUpdate:modelValue":E[0]||(E[0]=z=>o.isRef(_)?_.value=z:null),"custom-type":s.value.customType,onCancel:o.unref(w),onSubmit:S},null,8,["modelValue","custom-type","onCancel"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(u.value)},[o.createElementVNode("span",{innerHTML:d.value},null,8,pu)],2),o.createVNode(ru,{hovering:o.unref(v),"disable-edit":o.unref(m).disableEdit,data:x.data,depth:x.depth,onEnableEditInput:o.unref(w),onAddNewProp:k},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),h.value&&o.unref(a).includes(`${x.depth}-${x.index}`)?(o.openBlock(),o.createElementBlock("div",fu,[o.createVNode(ui,{data:f.value,depth:x.depth,index:x.index},null,8,["data","depth","index"]),c.value>n.value?o.withDirectives((o.openBlock(),o.createBlock(o.unref(U),{key:0,flat:"",size:"mini",class:"ml-4",onClick:E[2]||(E[2]=z=>n.value+=Gn)},{icon:o.withCtx(()=>[o.createVNode(o.unref(j),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[o.unref(me),"Show more"]]):o.createCommentVNode("",!0),o.unref(D).enable?(o.openBlock(),o.createElementBlock("div",{key:1,style:o.normalizeStyle({paddingLeft:`${(x.depth+1)*15+4}px`})},[o.createElementVNode("span",hu,[o.createVNode(_t,{modelValue:o.unref(D).key,"onUpdate:modelValue":E[3]||(E[3]=z=>o.unref(D).key=z),"show-actions":!1},null,8,["modelValue"])]),mu,o.createVNode(_t,{modelValue:o.unref(D).value,"onUpdate:modelValue":E[4]||(E[4]=z=>o.unref(D).value=z),"auto-focus":!1,onCancel:o.unref(I),onSubmit:B},null,8,["modelValue","onCancel"])],4)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]))}}),gu=Pt(vu,[["__scopeId","data-v-ad035540"]]),ui=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(gu,{data:i,depth:t.depth+1,index:`${t.index}-${r}`},null,8,["data","depth","index"])]))),128))]))}}),yu=["onClick"],_u={key:1,pl5:""},bu={"font-state-field":"","text-4":""},wu={key:0},ci=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}=Ql(n());o.watchEffect(()=>{i.value=n()});const{expanded:r,toggleExpanded:s}=ai();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,(u,c,p)=>(o.openBlock(),o.createElementBlock("div",{key:p},[o.createElementVNode("div",{class:o.normalizeClass(["flex items-center",[(u==null?void 0:u.length)&&"cursor-pointer hover:bg-active"]]),onClick:d=>o.unref(s)(`${p}`)},[u!=null&&u.length?(o.openBlock(),o.createBlock(si,{key:0,value:o.unref(r).includes(`${p}`)},null,8,["value"])):(o.openBlock(),o.createElementBlock("span",_u)),o.createElementVNode("span",bu,o.toDisplayString(c),1)],10,yu),u!=null&&u.length&&o.unref(r).includes(`${p}`)?(o.openBlock(),o.createElementBlock("div",wu,[o.createVNode(ui,{data:u,index:`${p}`},null,8,["data","index"])])):o.createCommentVNode("",!0)]))),128))]))}}),xu={class:"h-full flex flex-col"},Eu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Cu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},be="pinia",Su=o.defineComponent({__name:"Index",setup(e){const t=o.ref(""),n=o.ref([]),i=o.ref({}),r=o.computed(()=>{var c,p;return!((c=i.value.state)!=null&&c.length)&&!((p=i.value.getters)!=null&&p.length)});function s(c){var p;for(const d in c)(p=c[d])!=null&&p.length||delete c[d];return c}function a(c){_o({inspectorId:be,nodeId:c}).then(p=>{i.value=s(Et(p))})}function l(){i.value={}}return o.watch(t,()=>{l(),a(t.value)}),(()=>{yo({inspectorId:be,filter:""}).then(c=>{const p=Et(c);n.value=p,!t.value&&p.length&&(t.value=p[0].id),a(p[0].id)})})(),Co(c=>{!(c!=null&&c.data.length)||c.inspectorId!==be||(n.value=c.data,!t.value&&c.data.length&&(t.value=c.data[0].id,a(c.data[0].id)))}),So(c=>{var p;!c||!((p=c==null?void 0:c.state)!=null&&p.length)||c.inspectorId!==be||(i.value=s({state:c.state,getters:c.getters}))}),(c,p)=>(o.openBlock(),o.createElementBlock("div",xu,[o.createVNode($o,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:o.withCtx(()=>[o.createVNode(Ao)]),_:1}),o.createVNode(o.unref(Zn),{class:"flex-1 overflow-auto"},{default:o.withCtx(()=>[o.createVNode(o.unref(He),{border:"r base",size:"40","h-full":""},{default:o.withCtx(()=>[o.createElementVNode("div",Eu,[o.createVNode(aa,{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(He),{size:"60"},{default:o.withCtx(()=>[o.createElementVNode("div",Cu,[t.value&&!r.value?(o.openBlock(),o.createBlock(ci,{key:0,class:"p3",data:i.value,"node-id":t.value,"inspector-id":be},null,8,["data","node-id"])):(o.openBlock(),o.createBlock(To,{key:1},{default:o.withCtx(()=>[o.createTextVNode(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function ku(){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 je;function Tt(){Tt.init||(Tt.init=!0,je=ku()!==-1)}var dt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Tt(),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",je&&this.$el.appendChild(e),e.data="about:blank",je||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&&(!je&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Au=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const $u={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Tu=Au((e,t,n,i,r,s)=>(o.openBlock(),o.createBlock("div",$u)));dt.render=Tu;dt.__scopeId="data-v-b329ee4c";dt.__file="src/components/ResizeObserver.vue";function Le(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Le=function(t){return typeof t}:Le=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(e)}function Bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function zu(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),e}function qn(e){return Nu(e)||Pu(e)||Du(e)||Ou()}function Nu(e){if(Array.isArray(e))return Bt(e)}function Pu(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Du(e,t){if(e){if(typeof e=="string")return Bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bt(e,t)}}function Bt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Ou(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Iu(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function Vu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,s,a=function(u){for(var c=arguments.length,p=new Array(c>1?c-1:0),d=1;d<c;d++)p[d-1]=arguments[d];if(s=p,!(i&&u===r)){var f=n.leading;typeof f=="function"&&(f=f(u,r)),(!i||u!==r)&&f&&e.apply(void 0,[u].concat(qn(s))),r=u,clearTimeout(i),i=setTimeout(function(){e.apply(void 0,[u].concat(qn(s))),i=0},t)}};return a._clear=function(){clearTimeout(i),i=null},a}function di(e,t){if(e===t)return!0;if(Le(e)==="object"){for(var n in e)if(!di(e[n],t[n]))return!1;return!0}return!1}var Ru=function(){function e(t,n,i){Bu(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,i)}return zu(e,[{key:"createObserver",value:function(n,i){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Iu(n),this.callback=function(l,u){r.options.callback(l,u),l&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var s=this.options.throttleOptions||{},a=s.leading;this.callback=Vu(this.callback,this.options.throttle,{leading:function(u){return a==="both"||a==="visible"&&u||a==="hidden"&&!u}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(l){var u=l[0];if(l.length>1){var c=l.find(function(d){return d.isIntersecting});c&&(u=c)}if(r.callback){var p=u.isIntersecting&&u.intersectionRatio>=r.threshold;if(p===r.oldResult)return;r.oldResult=p,r.callback(p,u)}},this.options.intersection),o.nextTick(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function pi(e,t,n){var i=t.value;if(i)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new Ru(e,i,n);e._vue_visibilityState=r}}function Mu(e,t,n){var i=t.value,r=t.oldValue;if(!di(i,r)){var s=e._vue_visibilityState;if(!i){fi(e);return}s?s.createObserver(i,n):pi(e,{value:i},n)}}function fi(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Fu={beforeMount:pi,updated:Mu,unmounted:fi},ju={itemsLimit:1e3},Lu=/(auto|scroll)/;function hi(e,t){return e.parentNode===null?t:hi(e.parentNode,t.concat([e]))}var bt=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},Hu=function(t){return bt(t,"overflow")+bt(t,"overflow-y")+bt(t,"overflow-x")},Uu=function(t){return Lu.test(Hu(t))};function Kn(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=hi(e.parentNode,[]),n=0;n<t.length;n+=1)if(Uu(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function zt(e){"@babel/helpers - typeof";return zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(e)}var Gu={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Wu(){return this.items.length&&zt(this.items[0])!=="object"}var Nt=!1;if(typeof window<"u"){Nt=!1;try{var qu=Object.defineProperty({},"passive",{get:function(){Nt=!0}});window.addEventListener("test",null,qu)}catch{}}let Ku=0;var Wt={name:"RecycleScroller",components:{ResizeObserver:dt},directives:{ObserveVisibility:Fu},props:{...Gu,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let r=1e4,s=0,a;for(let l=0,u=t.length;l<u;l++)a=t[l][n]||i,a<r&&(r=a),s+=a,e[l]={accumulator:s,size:a};return this.$_computedMinItemSize=r,e}return[]},simpleArray:Wu,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let i=0,r=t.length;i<r;i++)n[t[i][e]]=i;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,i,r){const s=o.markRaw({id:Ku++,index:t,used:!0,key:i,type:r}),a=o.shallowReactive({item:n,position:0,nr:s});return e.push(a),a},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let r=n.get(i);r||(r=[],n.set(i,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,r=this.itemSecondarySize||n,s=this.$_computedMinItemSize,a=this.typeField,l=this.simpleArray?null:this.keyField,u=this.items,c=u.length,p=this.sizes,d=this.$_views,f=this.$_unusedViews,h=this.pool,g=this.itemIndexByKey;let m,v,y,b,_;if(!c)m=v=b=_=y=0;else if(this.$_prerender)m=b=0,v=_=Math.min(this.prerender,u.length),y=null;else{const k=this.getScroll();if(t){let E=k.start-this.$_lastUpdateScrollPosition;if(E<0&&(E=-E),n===null&&E<s||E<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=k.start;const B=this.buffer;k.start-=B,k.end+=B;let x=0;if(this.$refs.before&&(x=this.$refs.before.scrollHeight,k.start-=x),this.$refs.after){const E=this.$refs.after.scrollHeight;k.end+=E}if(n===null){let E,z=0,V=c-1,T=~~(c/2),$;do $=T,E=p[T].accumulator,E<k.start?z=T:T<c-1&&p[T+1].accumulator>k.start&&(V=T),T=~~((z+V)/2);while(T!==$);for(T<0&&(T=0),m=T,y=p[c-1].accumulator,v=T;v<c&&p[v].accumulator<k.end;v++);for(v===-1?v=u.length-1:(v++,v>c&&(v=c)),b=m;b<c&&x+p[b].accumulator<k.start;b++);for(_=b;_<c&&x+p[_].accumulator<k.end;_++);}else{m=~~(k.start/n*i);const E=m%i;m-=E,v=Math.ceil(k.end/n*i),b=Math.max(0,Math.floor((k.start-x)/n*i)),_=Math.floor((k.end-x)/n*i),m<0&&(m=0),v>c&&(v=c),b<0&&(b=0),_>c&&(_=c),y=Math.ceil(c/i)*n}}v-m>ju.itemsLimit&&this.itemsLimitError(),this.totalSize=y;let w;const A=m<=this.$_endIndex&&v>=this.$_startIndex;if(A)for(let k=0,B=h.length;k<B;k++)w=h[k],w.nr.used&&(e&&(w.nr.index=g[w.item[l]]),(w.nr.index==null||w.nr.index<m||w.nr.index>=v)&&this.unuseView(w));const S=A?null:new Map;let O,D,I;for(let k=m;k<v;k++){O=u[k];const B=l?O[l]:O;if(B==null)throw new Error(`Key is ${B} on item (keyField is '${l}')`);if(w=d.get(B),!n&&!p[k].size){w&&this.unuseView(w);continue}D=O[a];let x=f.get(D),E=!1;if(!w)A?x&&x.length?w=x.pop():w=this.addView(h,k,O,B,D):(I=S.get(D)||0,(!x||I>=x.length)&&(w=this.addView(h,k,O,B,D),this.unuseView(w,!0),x=f.get(D)),w=x[I],S.set(D,I+1)),d.delete(w.nr.key),w.nr.used=!0,w.nr.index=k,w.nr.key=B,w.nr.type=D,d.set(B,w),E=!0;else if(!w.nr.used&&(w.nr.used=!0,E=!0,x)){const z=x.indexOf(w);z!==-1&&x.splice(z,1)}w.item=O,E&&(k===u.length-1&&this.$emit("scroll-end"),k===0&&this.$emit("scroll-start")),n===null?(w.position=p[k-1].accumulator,w.offset=0):(w.position=Math.floor(k/i)*n,w.offset=k%i*r)}return this.$_startIndex=m,this.$_endIndex=v,this.emitUpdate&&this.$emit("update",m,v,b,_),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:A}},getListenerTarget(){let e=Kn(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let i;if(this.pageMode){const r=e.getBoundingClientRect(),s=n?r.height:r.width;let a=-(n?r.top:r.left),l=n?window.innerHeight:window.innerWidth;a<0&&(l+=a,a=0),a+l>s&&(l=s-a),i={start:a,end:a+l}}else n?i={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:i={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,Nt?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,r;if(this.pageMode){const s=Kn(this.$el),a=s.tagName==="HTML"?0:s[t.scroll],l=s.getBoundingClientRect(),c=this.$el.getBoundingClientRect()[t.start]-l[t.start];n=s,i=t.scroll,r=e+a+c}else n=this.$el,i=t.scroll,r=e;n[i]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const Yu={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Zu={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ju(e,t,n,i,r,s){const a=o.resolveComponent("ResizeObserver"),l=o.resolveDirective("observe-visibility");return o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue-recycle-scroller",{ready:r.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...u)=>s.handleScroll&&s.handleScroll(...u))},[e.$slots.before?(o.openBlock(),o.createElementBlock("div",Yu,[o.renderSlot(e.$slots,"before")],512)):o.createCommentVNode("v-if",!0),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.listTag),{ref:"wrapper",style:o.normalizeStyle({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:o.normalizeClass(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.pool,u=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.itemTag),o.mergeProps({key:u.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${u.position}px) translate${e.direction==="vertical"?"X":"Y"}(${u.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&r.hoverKey===u.nr.key}]]},o.toHandlers(n.skipHover?{}:{mouseenter:()=>{r.hoverKey=u.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{item:u.item,index:u.nr.index,active:u.nr.used})]),_:2},1040,["style","class"]))),128)),o.renderSlot(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(o.openBlock(),o.createElementBlock("div",Zu,[o.renderSlot(e.$slots,"after")],512)):o.createCommentVNode("v-if",!0),o.createVNode(a,{onNotify:s.handleResize},null,8,["onNotify"])],34)),[[l,s.handleVisibilityChange]])}Wt.render=Ju;Wt.__file="src/components/RecycleScroller.vue";function Xu(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 Qu={class:"p3"},ec=["onClick"],tc={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},nc={class:"h-full flex items-center truncate pl5"},oc={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},ic={pl2:"",op30:""},rc=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,u)=>{(l.groupId!==a||s===-1)&&(s=(s+1)%i.length),a=l.groupId??a,l.id=u,l.color=i[s]}),t.data});return(s,a)=>(o.openBlock(),o.createElementBlock("div",Qu,[o.createVNode(o.unref(Wt),{items:r.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:o.withCtx(({item:l})=>[o.createElementVNode("div",{class:"relative mb7 h6 cursor-pointer",style:o.normalizeStyle({color:n.value===l.id?l.color:""}),onClick:u=>n.value=l.id},[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),l.id<s.data.length-1?(o.openBlock(),o.createElementBlock("span",tc)):o.createCommentVNode("",!0),o.createElementVNode("p",nc,[o.createElementVNode("span",oc,"["+o.toDisplayString(o.unref(Xu)(l.time))+"]",1),o.createTextVNode(" "+o.toDisplayString(l.title)+" ",1),o.createElementVNode("span",ic,o.toDisplayString(l.subtitle),1)])],12,ec)]),_:1},8,["items"])]))}}),sc={class:"h-full flex flex-col"},ac={key:0,class:"flex-1 overflow-hidden"},lc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},uc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},cc="pinia:mutations",dc=o.defineComponent({__name:"Index",setup(e){au();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 c=[];for(const d in(p=r.value)==null?void 0:p.data)c.push({key:d,type:d,editable:!1,value:r.value.data[d]});return c}),a=o.computed(()=>{var d,f,h;const c=(d=r.value)==null?void 0:d.groupId,p=n.value.get(c);if(p){const g=((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},g&&{key:"duration",type:"duration",editable:!1,value:`${g}ms`}].filter(Boolean)}}),l=o.computed(()=>({"Event Info":s.value,...a.value&&{"Group Info":a.value}}));function u(c){var d;const p=c.groupId;p!==void 0&&(n.value.set(p,n.value.get(p)??[]),(d=n.value.get(p))==null||d.push(c))}return ko(c=>{if(!c)return;const{layerId:p,event:d}=c;p===cc&&(t.value.push(d),u(d))}),(c,p)=>(o.openBlock(),o.createElementBlock("div",sc,[o.createVNode($o,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:o.withCtx(()=>[o.createVNode(Ao)]),_:1}),t.value.length?(o.openBlock(),o.createElementBlock("div",ac,[o.createVNode(o.unref(Zn),{class:"h-full"},{default:o.withCtx(()=>[o.createVNode(o.unref(He),{border:"r base",size:"40","h-full":""},{default:o.withCtx(()=>[o.createElementVNode("div",lc,[o.createVNode(rc,{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(He),{size:"60"},{default:o.withCtx(()=>[o.createElementVNode("div",uc,[o.createVNode(ci,{class:"p3",data:l.value,"node-id":"","inspector-id":"","disable-edit":!0},null,8,["data"])])]),_:1})]),_:1})])):(o.openBlock(),o.createBlock(To,{key:1,class:"flex-1"},{default:o.withCtx(()=>[o.createTextVNode(" No events ")]),_:1}))]))}}),pc=Symbol("VueDevToolsConnectStateSymbol");function fc(){const e=o.ref(!1),t=o.ref(!1),n=o.computed(()=>e.value&&t.value);return bo().then(i=>{e.value=i.connected,t.value=i.clientConnected}),Eo(i=>{e.value=i.connected,t.value=i.clientConnected}),o.provide(pc,n),{connected:n}}const hc={"h-full":"","w-full":""},mc=o.defineComponent({__name:"index",setup(e){fc();const{VirtualRouterView:t}=wi([{path:"/",name:"Home",component:Fi,icon:"i-logos-pinia"},{path:"/store",name:"Store",component:Su,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:dc,icon:"i-mdi:timeline-clock-outline"}]);return o.ref("/"),(n,i)=>(o.openBlock(),o.createElementBlock("div",hc,[o.createVNode(o.unref(t))]))}});exports.Pinia=mc;
|