vite-plugin-vue-devtools 7.0.21 → 7.0.23
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.
|
@@ -20,11 +20,11 @@ function __vite__mapDeps(indexes) {
|
|
|
20
20
|
* @vue/runtime-dom v3.4.21
|
|
21
21
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
22
|
* @license MIT
|
|
23
|
-
**/const NAA="http://www.w3.org/2000/svg",PAA="http://www.w3.org/1998/Math/MathML",gg=typeof document<"u"?document:null,AP=gg&&gg.createElement("template"),FAA={insert:(e,t,A)=>{t.insertBefore(e,A||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,A,r)=>{const n=t==="svg"?gg.createElementNS(NAA,e):t==="mathml"?gg.createElementNS(PAA,e):gg.createElement(e,A?{is:A}:void 0);return e==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:e=>gg.createTextNode(e),createComment:e=>gg.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gg.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,A,r,n,i){const o=A?A.previousSibling:t.lastChild;if(n&&(n===i||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),A),!(n===i||!(n=n.nextSibling)););else{AP.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const g=AP.content;if(r==="svg"||r==="mathml"){const a=g.firstChild;for(;a.firstChild;)g.appendChild(a.firstChild);g.removeChild(a)}t.insertBefore(g,A)}return[o?o.nextSibling:t.firstChild,A?A.previousSibling:t.lastChild]}},Yo="transition",Kl="animation",Zu=Symbol("_vtc"),Uc=(e,{slots:t})=>WI(xX,RAA(e),t);Uc.displayName="Transition";const RU={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Uc.props=xt({},CU,RU);const wa=(e,t=[])=>{TA(e)?e.forEach(A=>A(...t)):e&&e(...t)},eP=e=>e?TA(e)?e.some(t=>t.length>1):e.length>1:!1;function RAA(e){const t={};for(const k in e)k in RU||(t[k]=e[k]);if(e.css===!1)return t;const{name:A="v",type:r,duration:n,enterFromClass:i=`${A}-enter-from`,enterActiveClass:o=`${A}-enter-active`,enterToClass:g=`${A}-enter-to`,appearFromClass:a=i,appearActiveClass:s=o,appearToClass:C=g,leaveFromClass:I=`${A}-leave-from`,leaveActiveClass:l=`${A}-leave-active`,leaveToClass:u=`${A}-leave-to`}=e,c=LAA(n),h=c&&c[0],d=c&&c[1],{onBeforeEnter:B,onEnter:f,onEnterCancelled:E,onLeave:v,onLeaveCancelled:p,onBeforeAppear:D=B,onAppear:F=f,onAppearCancelled:S=E}=t,N=(k,O,H)=>{Da(k,O?C:g),Da(k,O?s:o),H&&H()},m=(k,O)=>{k._isLeaving=!1,Da(k,I),Da(k,u),Da(k,l),O&&O()},R=k=>(O,H)=>{const X=k?F:f,q=()=>N(O,k,H);wa(X,[O,q]),tP(()=>{Da(O,k?a:i),Jo(O,k?C:g),eP(X)||rP(O,r,h,q)})};return xt(t,{onBeforeEnter(k){wa(B,[k]),Jo(k,i),Jo(k,o)},onBeforeAppear(k){wa(D,[k]),Jo(k,a),Jo(k,s)},onEnter:R(!1),onAppear:R(!0),onLeave(k,O){k._isLeaving=!0;const H=()=>m(k,O);Jo(k,I),GAA(),Jo(k,l),tP(()=>{k._isLeaving&&(Da(k,I),Jo(k,u),eP(v)||rP(k,r,d,H))}),wa(v,[k,H])},onEnterCancelled(k){N(k,!1),wa(E,[k])},onAppearCancelled(k){N(k,!0),wa(S,[k])},onLeaveCancelled(k){m(k),wa(p,[k])}})}function LAA(e){if(e==null)return null;if(xe(e))return[kp(e.enter),kp(e.leave)];{const t=kp(e);return[t,t]}}function kp(e){return x7(e)}function Jo(e,t){t.split(/\s+/).forEach(A=>A&&e.classList.add(A)),(e[Zu]||(e[Zu]=new Set)).add(t)}function Da(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const A=e[Zu];A&&(A.delete(t),A.size||(e[Zu]=void 0))}function tP(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $AA=0;function rP(e,t,A,r){const n=e._endId=++$AA,i=()=>{n===e._endId&&r()};if(A)return setTimeout(i,A);const{type:o,timeout:g,propCount:a}=OAA(e,t);if(!o)return r();const s=o+"end";let C=0;const I=()=>{e.removeEventListener(s,l),i()},l=u=>{u.target===e&&++C>=a&&I()};setTimeout(()=>{C<a&&I()},g+1),e.addEventListener(s,l)}function OAA(e,t){const A=window.getComputedStyle(e),r=c=>(A[c]||"").split(", "),n=r(`${Yo}Delay`),i=r(`${Yo}Duration`),o=nP(n,i),g=r(`${Kl}Delay`),a=r(`${Kl}Duration`),s=nP(g,a);let C=null,I=0,l=0;t===Yo?o>0&&(C=Yo,I=o,l=i.length):t===Kl?s>0&&(C=Kl,I=s,l=a.length):(I=Math.max(o,s),C=I>0?o>s?Yo:Kl:null,l=C?C===Yo?i.length:a.length:0);const u=C===Yo&&/\b(transform|all)(,|$)/.test(r(`${Yo}Property`).toString());return{type:C,timeout:I,propCount:l,hasTransform:u}}function nP(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((A,r)=>iP(A)+iP(e[r])))}function iP(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function GAA(){return document.body.offsetHeight}function xAA(e,t,A){const r=e[Zu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):A?e.setAttribute("class",t):e.className=t}const oP=Symbol("_vod"),TAA=Symbol("_vsh"),HAA=Symbol(""),UAA=/(^|;)\s*display\s*:/;function KAA(e,t,A){const r=e.style,n=gt(A);let i=!1;if(A&&!n){if(t)if(gt(t))for(const o of t.split(";")){const g=o.slice(0,o.indexOf(":")).trim();A[g]==null&&of(r,g,"")}else for(const o in t)A[o]==null&&of(r,o,"");for(const o in A)o==="display"&&(i=!0),of(r,o,A[o])}else if(n){if(t!==A){const o=r[HAA];o&&(A+=";"+o),r.cssText=A,i=UAA.test(A)}}else t&&e.removeAttribute("style");oP in e&&(e[oP]=i?r.display:"",e[TAA]&&(r.display="none"))}const gP=/\s*!important$/;function of(e,t,A){if(TA(A))A.forEach(r=>of(e,t,r));else if(A==null&&(A=""),t.startsWith("--"))e.setProperty(t,A);else{const r=_AA(e,t);gP.test(A)?e.setProperty(bs(r),A.replace(gP,""),"important"):e[r]=A}}const aP=["Webkit","Moz","ms"],Sp={};function _AA(e,t){const A=Sp[t];if(A)return A;let r=zi(t);if(r!=="filter"&&r in e)return Sp[t]=r;r=lQ(r);for(let n=0;n<aP.length;n++){const i=aP[n]+r;if(i in e)return Sp[t]=i}return t}const sP="http://www.w3.org/1999/xlink";function YAA(e,t,A,r,n){if(r&&t.startsWith("xlink:"))A==null?e.removeAttributeNS(sP,t.slice(6,t.length)):e.setAttributeNS(sP,t,A);else{const i=Y7(t);A==null||i&&!$4(A)?e.removeAttribute(t):e.setAttribute(t,i?"":A)}}function JAA(e,t,A,r,n,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,n,i),e[t]=A??"";return}const g=e.tagName;if(t==="value"&&g!=="PROGRESS"&&!g.includes("-")){const s=g==="OPTION"?e.getAttribute("value")||"":e.value,C=A??"";(s!==C||!("_value"in e))&&(e.value=C),A==null&&e.removeAttribute(t),e._value=A;return}let a=!1;if(A===""||A==null){const s=typeof e[t];s==="boolean"?A=$4(A):A==null&&s==="string"?(A="",a=!0):s==="number"&&(A=0,a=!0)}try{e[t]=A}catch{}a&&e.removeAttribute(t)}function ao(e,t,A,r){e.addEventListener(t,A,r)}function zAA(e,t,A,r){e.removeEventListener(t,A,r)}const CP=Symbol("_vei");function WAA(e,t,A,r,n=null){const i=e[CP]||(e[CP]={}),o=i[t];if(r&&o)o.value=r;else{const[g,a]=qAA(t);if(r){const s=i[t]=ZAA(r,n);ao(e,g,s,a)}else o&&(zAA(e,g,o,a),i[t]=void 0)}}const IP=/(?:Once|Passive|Capture)$/;function qAA(e){let t;if(IP.test(e)){t={};let r;for(;r=e.match(IP);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bs(e.slice(2)),t]}let Np=0;const jAA=Promise.resolve(),VAA=()=>Np||(jAA.then(()=>Np=0),Np=Date.now());function ZAA(e,t){const A=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=A.attached)return;On(XAA(r,A.value),t,5,[r])};return A.value=e,A.attached=VAA(),A}function XAA(e,t){if(TA(t)){const A=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{A.call(e),e._stopped=!0},t.map(r=>n=>!n._stopped&&r&&r(n))}else return t}const lP=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,AeA=(e,t,A,r,n,i,o,g,a)=>{const s=n==="svg";t==="class"?xAA(e,r,s):t==="style"?KAA(e,A,r):CQ(t)?L1(t)||WAA(e,t,A,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eeA(e,t,r,s))?JAA(e,t,r,i,o,g,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),YAA(e,t,r,s))};function eeA(e,t,A,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&lP(t)&&te(A));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return lP(t)&>(A)?!1:t in e}const Yg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return TA(t)?A=>tf(t,A):t};function teA(e){e.target.composing=!0}function uP(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xn=Symbol("_assign"),cP={created(e,{modifiers:{lazy:t,trim:A,number:r}},n){e[xn]=Yg(n);const i=r||n.props&&n.props.type==="number";ao(e,t?"change":"input",o=>{if(o.target.composing)return;let g=e.value;A&&(g=g.trim()),i&&(g=zu(g)),e[xn](g)}),A&&ao(e,"change",()=>{e.value=e.value.trim()}),t||(ao(e,"compositionstart",teA),ao(e,"compositionend",uP),ao(e,"change",uP))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:A,trim:r,number:n}},i){if(e[xn]=Yg(i),e.composing)return;const o=n||e.type==="number"?zu(e.value):e.value,g=t??"";o!==g&&(document.activeElement===e&&e.type!=="range"&&(A||r&&e.value.trim()===g)||(e.value=g))}},reA={deep:!0,created(e,t,A){e[xn]=Yg(A),ao(e,"change",()=>{const r=e._modelValue,n=II(e),i=e.checked,o=e[xn];if(TA(r)){const g=G1(r,n),a=g!==-1;if(i&&!a)o(r.concat(n));else if(!i&&a){const s=[...r];s.splice(g,1),o(s)}}else if(JI(r)){const g=new Set(r);i?g.add(n):g.delete(n),o(g)}else o(LU(e,i))})},mounted:hP,beforeUpdate(e,t,A){e[xn]=Yg(A),hP(e,t,A)}};function hP(e,{value:t,oldValue:A},r){e._modelValue=t,TA(t)?e.checked=G1(t,r.props.value)>-1:JI(t)?e.checked=t.has(r.props.value):t!==A&&(e.checked=Cs(t,LU(e,!0)))}const neA={created(e,{value:t},A){e.checked=Cs(t,A.props.value),e[xn]=Yg(A),ao(e,"change",()=>{e[xn](II(e))})},beforeUpdate(e,{value:t,oldValue:A},r){e[xn]=Yg(r),t!==A&&(e.checked=Cs(t,r.props.value))}},ieA={deep:!0,created(e,{value:t,modifiers:{number:A}},r){const n=JI(t);ao(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>A?zu(II(o)):II(o));e[xn](e.multiple?n?new Set(i):i:i[0]),e._assigning=!0,cr(()=>{e._assigning=!1})}),e[xn]=Yg(r)},mounted(e,{value:t,modifiers:{number:A}}){dP(e,t,A)},beforeUpdate(e,t,A){e[xn]=Yg(A)},updated(e,{value:t,modifiers:{number:A}}){e._assigning||dP(e,t,A)}};function dP(e,t,A){const r=e.multiple,n=TA(t);if(!(r&&!n&&!JI(t))){for(let i=0,o=e.options.length;i<o;i++){const g=e.options[i],a=II(g);if(r)if(n){const s=typeof a;s==="string"||s==="number"?g.selected=t.includes(A?zu(a):a):g.selected=G1(t,a)>-1}else g.selected=t.has(a);else if(Cs(II(g),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function II(e){return"_value"in e?e._value:e.value}function LU(e,t){const A=t?"_trueValue":"_falseValue";return A in e?e[A]:t}const oeA={created(e,t,A){kd(e,t,A,null,"created")},mounted(e,t,A){kd(e,t,A,null,"mounted")},beforeUpdate(e,t,A,r){kd(e,t,A,r,"beforeUpdate")},updated(e,t,A,r){kd(e,t,A,r,"updated")}};function geA(e,t){switch(e){case"SELECT":return ieA;case"TEXTAREA":return cP;default:switch(t){case"checkbox":return reA;case"radio":return neA;default:return cP}}}function kd(e,t,A,r,n){const o=geA(e.tagName,A.props&&A.props.type)[n];o&&o(e,t,A,r)}const aeA=["ctrl","shift","alt","meta"],seA={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aeA.some(A=>e[`${A}Key`]&&!t.includes(A))},fr=(e,t)=>{const A=e._withMods||(e._withMods={}),r=t.join(".");return A[r]||(A[r]=(n,...i)=>{for(let o=0;o<t.length;o++){const g=seA[t[o]];if(g&&g(n,t))return}return e(n,...i)})},CeA={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$U=(e,t)=>{const A=e._withKeys||(e._withKeys={}),r=t.join(".");return A[r]||(A[r]=n=>{if(!("key"in n))return;const i=bs(n.key);if(t.some(o=>o===i||CeA[o]===i))return e(n)})},IeA=xt({patchProp:AeA},FAA);let BP;function OU(){return BP||(BP=lAA(IeA))}const fP=(...e)=>{OU().render(...e)},iM=(...e)=>{const t=OU().createApp(...e),{mount:A}=t;return t.mount=r=>{const n=ueA(r);if(!n)return;const i=t._component;!te(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.innerHTML="";const o=A(n,!1,leA(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t};function leA(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ueA(e){return gt(e)?document.querySelector(e):e}function Wm(e,t={},A){for(const r in e){const n=e[r],i=A?`${A}:${r}`:r;typeof n=="object"&&n!==null?Wm(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const ceA={run:e=>e()},heA=()=>ceA,GU=typeof console.createTask<"u"?console.createTask:heA;function deA(e,t){const A=t.shift(),r=GU(A);return e.reduce((n,i)=>n.then(()=>r.run(()=>i(...t))),Promise.resolve())}function BeA(e,t){const A=t.shift(),r=GU(A);return Promise.all(e.map(n=>r.run(()=>n(...t))))}function Pp(e,t){for(const A of[...e])A(t)}class feA{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,A,r={}){if(!t||typeof A!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!A.name)try{Object.defineProperty(A,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(A),()=>{A&&(this.removeHook(t,A),A=void 0)}}hookOnce(t,A){let r,n=(...i)=>(typeof r=="function"&&r(),r=void 0,n=void 0,A(...i));return r=this.hook(t,n),r}removeHook(t,A){if(this._hooks[t]){const r=this._hooks[t].indexOf(A);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,A){this._deprecatedHooks[t]=typeof A=="string"?{to:A}:A;const r=this._hooks[t]||[];delete this._hooks[t];for(const n of r)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const A in t)this.deprecateHook(A,t[A])}addHooks(t){const A=Wm(t),r=Object.keys(A).map(n=>this.hook(n,A[n]));return()=>{for(const n of r.splice(0,r.length))n()}}removeHooks(t){const A=Wm(t);for(const r in A)this.removeHook(r,A[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...A){return A.unshift(t),this.callHookWith(deA,t,...A)}callHookParallel(t,...A){return A.unshift(t),this.callHookWith(BeA,t,...A)}callHookWith(t,A,...r){const n=this._before||this._after?{name:A,args:r,context:{}}:void 0;this._before&&Pp(this._before,n);const i=t(A in this._hooks?[...this._hooks[A]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&n&&Pp(this._after,n)}):(this._after&&n&&Pp(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const A=this._before.indexOf(t);A!==-1&&this._before.splice(A,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const A=this._after.indexOf(t);A!==-1&&this._after.splice(A,1)}}}}function xU(){return new feA}const EeA={trailing:!0};function DQ(e,t=25,A={}){if(A={...EeA,...A},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,n,i=[],o,g;const a=(s,C)=>(o=QeA(e,s,C),o.finally(()=>{if(o=null,A.trailing&&g&&!n){const I=a(s,g);return g=null,I}}),o);return function(...s){return o?(A.trailing&&(g=s),o):new Promise(C=>{const I=!n&&A.leading;clearTimeout(n),n=setTimeout(()=>{n=null;const l=A.leading?r:a(this,s);for(const u of i)u(l);i=[]},t),I?(r=a(this,s),C(r)):i.push(C)})}}async function QeA(e,t,A){return await e.apply(t,A)}var veA=Object.create,TU=Object.defineProperty,peA=Object.getOwnPropertyDescriptor,oM=Object.getOwnPropertyNames,weA=Object.getPrototypeOf,DeA=Object.prototype.hasOwnProperty,yeA=(e,t)=>function(){return e&&(t=(0,e[oM(e)[0]])(e=0)),t},HU=(e,t)=>function(){return t||(0,e[oM(e)[0]])((t={exports:{}}).exports,t),t.exports},meA=(e,t,A,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of oM(t))!DeA.call(e,n)&&n!==A&&TU(e,n,{get:()=>t[n],enumerable:!(r=peA(t,n))||r.enumerable});return e},beA=(e,t,A)=>(A=e!=null?veA(weA(e)):{},meA(t||!e||!e.__esModule?TU(A,"default",{value:e,enumerable:!0}):A,e)),xA=yeA({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),MeA=HU({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){xA(),function(A){var r={À:"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"},n=["်","ް"],i={"ာ":"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"},o={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"}},g={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"}},a=[";","?",":","@","&","=","+","$",",","/"].join(""),s=[";","?",":","@","&","=","+","$",","].join(""),C=[".","!","~","*","'","(",")"].join(""),I=function(d,B){var f="-",E="",v="",p=!0,D={},F,S,N,m,R,k,O,H,X,q,Z,uA,MA,XA,KA="";if(typeof d!="string")return"";if(typeof B=="string"&&(f=B),O=g.en,H=o.en,typeof B=="object"){F=B.maintainCase||!1,D=B.custom&&typeof B.custom=="object"?B.custom:D,N=+B.truncate>1&&B.truncate||!1,m=B.uric||!1,R=B.uricNoSlash||!1,k=B.mark||!1,p=!(B.symbols===!1||B.lang===!1),f=B.separator||f,m&&(KA+=a),R&&(KA+=s),k&&(KA+=C),O=B.lang&&g[B.lang]&&p?g[B.lang]:p?g.en:{},H=B.lang&&o[B.lang]?o[B.lang]:B.lang===!1||B.lang===!0?{}:o.en,B.titleCase&&typeof B.titleCase.length=="number"&&Array.prototype.toString.call(B.titleCase)?(B.titleCase.forEach(function(QA){D[QA+""]=QA+""}),S=!0):S=!!B.titleCase,B.custom&&typeof B.custom.length=="number"&&Array.prototype.toString.call(B.custom)&&B.custom.forEach(function(QA){D[QA+""]=QA+""}),Object.keys(D).forEach(function(QA){var HA;QA.length>1?HA=new RegExp("\\b"+u(QA)+"\\b","gi"):HA=new RegExp(u(QA),"gi"),d=d.replace(HA,D[QA])});for(Z in D)KA+=Z}for(KA+=f,KA=u(KA),d=d.replace(/(^\s+|\s+$)/g,""),MA=!1,XA=!1,q=0,uA=d.length;q<uA;q++)Z=d[q],c(Z,D)?MA=!1:H[Z]?(Z=MA&&H[Z].match(/[A-Za-z0-9]/)?" "+H[Z]:H[Z],MA=!1):Z in r?(q+1<uA&&n.indexOf(d[q+1])>=0?(v+=Z,Z=""):XA===!0?(Z=i[v]+r[Z],v=""):Z=MA&&r[Z].match(/[A-Za-z0-9]/)?" "+r[Z]:r[Z],MA=!1,XA=!1):Z in i?(v+=Z,Z="",q===uA-1&&(Z=i[v]),XA=!0):O[Z]&&!(m&&a.indexOf(Z)!==-1)&&!(R&&s.indexOf(Z)!==-1)?(Z=MA||E.substr(-1).match(/[A-Za-z0-9]/)?f+O[Z]:O[Z],Z+=d[q+1]!==void 0&&d[q+1].match(/[A-Za-z0-9]/)?f:"",MA=!0):(XA===!0?(Z=i[v]+Z,v="",XA=!1):MA&&(/[A-Za-z0-9]/.test(Z)||E.substr(-1).match(/A-Za-z0-9]/))&&(Z=" "+Z),MA=!1),E+=Z.replace(new RegExp("[^\\w\\s"+KA+"_-]","g"),f);return S&&(E=E.replace(/(\w)(\S*)/g,function(QA,HA,_A){var ne=HA.toUpperCase()+(_A!==null?_A:"");return Object.keys(D).indexOf(ne.toLowerCase())<0?ne:ne.toLowerCase()})),E=E.replace(/\s+/g,f).replace(new RegExp("\\"+f+"+","g"),f).replace(new RegExp("(^\\"+f+"+|\\"+f+"+$)","g"),""),N&&E.length>N&&(X=E.charAt(N)===f,E=E.slice(0,N),X||(E=E.slice(0,E.lastIndexOf(f)))),!F&&!S&&(E=E.toLowerCase()),E},l=function(d){return function(f){return I(f,d)}},u=function(d){return d.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},c=function(h,d){for(var B in d)if(d[B]===h)return!0};if(typeof t<"u"&&t.exports)t.exports=I,t.exports.createSlug=l;else if(typeof define<"u"&&define.amd)define([],function(){return I});else try{if(A.getSlug||A.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";A.getSlug=I,A.createSlug=l}catch{}}(e)}}),keA=HU({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){xA(),t.exports=MeA()}});xA();xA();xA();xA();xA();xA();xA();xA();xA();xA();var EP,QP,ka=(QP=(EP=ae).__VUE_DEVTOOLS_HOOK)!=null?QP:EP.__VUE_DEVTOOLS_HOOK=xU(),SeA={vueAppInit(e){ka.hook("app:init",e)},vueAppConnected(e){ka.hook("app:connected",e)},componentAdded(e){return ka.hook("component:added",e)},componentUpdated(e){return ka.hook("component:updated",e)},componentRemoved(e){return ka.hook("component:removed",e)},setupDevtoolsPlugin(e){ka.hook("devtools-plugin:setup",e)}},NeA={on:SeA,setupDevToolsPlugin(e,t){return ka.callHook("devtools-plugin:setup",e,t)}};xA();xA();xA();xA();xA();xA();xA();beA(keA(),1);xA();xA();xA();var vP,pP,Kc=(pP=(vP=ae).__VUE_DEVTOOLS_API_HOOK)!=null?pP:vP.__VUE_DEVTOOLS_API_HOOK=xU();function PeA(e){const t=new Map;return(e?.getRoutes()||[]).filter(A=>!t.has(A.path)&&t.set(A.path,1))}function gM(e){return e.map(t=>{let{path:A,name:r,children:n}=t;return n?.length&&(n=gM(n)),{path:A,name:r,children:n}})}function FeA(e){if(e){const{fullPath:t,hash:A,href:r,path:n,name:i,matched:o,params:g,query:a}=e;return{fullPath:t,hash:A,href:r,path:n,name:i,params:g,query:a,matched:gM(o)}}return e}function ReA(e){function t(){var A;const r=(A=e.app)==null?void 0:A.config.globalProperties.$router,n=FeA(r?.currentRoute.value),i=gM(PeA(r)),o=console.warn;console.warn=()=>{},ae[lI]={currentRoute:n?Kf(n):{},routes:Kf(i)},ae[AE]=r,console.warn=o}t(),NeA.on.componentUpdated(DQ(()=>{t(),Kc.callHook("router-info:updated",ae[lI])},200))}xA();xA();xA();function LeA(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function UU(e){const t=e.__file;if(t)return b7(k7(t,".vue"))}function $eA(e){const t=e.displayName||e.name||e._componentTag;return t||UU(e)}function wP(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function OeA(e){var t,A,r;const n=LeA(e.type||{});if(n)return n;if(e.root===e)return"Root";for(const o in(A=(t=e.parent)==null?void 0:t.type)==null?void 0:A.components)if(e.parent.type.components[o]===e.type)return wP(e,o);for(const o in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[o]===e.type)return wP(e,o);const i=UU(e.type||{});return i||"Anonymous Component"}function ea(e){try{return e()}catch(t){return t}}xA();xA();xA();xA();xA();xA();xA();xA();var GeA=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"]),DP=/^\[native Symbol Symbol\((.*)\)\]$/,xeA=/^\[object (\w+)]$/,Vf=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,TeA=/^(?:function|class) (\w+)/,yP=1e4,mP=5e3,_c="__vue_devtool_undefined__",yQ="__vue_devtool_infinity__",mQ="__vue_devtool_negative_infinity__",bQ="__vue_devtool_nan__",HeA={"<":"<",">":">",'"':""","&":"&"};xA();xA();function UeA(e){return e._&&Object.keys(e._).includes("vnode")}function KU(e){return Object.prototype.toString.call(e)==="[object Object]"}function KeA(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function _U(e){return!!e.__v_isRef}function _eA(e){return _U(e)&&!!e.effect}function YeA(e){return!!e.__v_isReactive}function JeA(e){return!!e.__v_isReadonly}var Zf={[_c]:"undefined",[bQ]:"NaN",[yQ]:"Infinity",[mQ]:"-Infinity"},Fp=Object.entries(Zf).reduce((e,[t,A])=>(e[A]=t,e),{});function zeA(e){return e===null?"null":typeof e=="string"&&Zf[e]||!1}function WeA(e){const t=new RegExp(`"(${Object.keys(Zf).join("|")})"`,"g");return e.replace(t,(A,r)=>Zf[r])}function qeA(e){const t=Fp[e.trim()];if(t)return`"${t}"`;const A=new RegExp(`:\\s*(${Object.keys(Fp).join("|")})`,"g");return e.replace(A,(r,n)=>`:"${Fp[n]}"`)}function YU(e){if(Array.isArray(e))return e.map(A=>YU(A)).join(" or ");if(e==null)return"null";const t=e.toString().match(TeA);return typeof e=="function"&&t&&t[1]||"any"}function jeA(e){return!KeA(e)&&!Array.isArray(e)&&!KU(e)?Object.prototype.toString.call(e):e}function JU(e){return{ref:_U(e),computed:_eA(e),reactive:YeA(e),readonly:JeA(e)}}function zU(e){return e?.__v_raw?e.__v_raw:e}function iu(e){return e.replace(/[<>"&]/g,t=>HeA[t]||t)}function Xf(e,t,A){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:n}=t;n&&Xf(e,n),r&&r.forEach(i=>Xf(e,i));for(const i of["computed","inject"])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]?Object.assign(e[i],t[i]):e[i]=t[i]);return e}function VeA(e){const t=e.type,{mixins:A,extends:r}=t,n=e.appContext.mixins;if(!n.length&&!A&&!r)return t;const i={};return n.forEach(o=>Xf(i,o)),Xf(i,t),i}function ZeA(e){const t=[],A=e.type.props;for(const r in e.props){const n=A?A[r]:null,i=M7(r);t.push({type:"props",key:i,value:ea(()=>e.props[r]),meta:n?{type:n.type?YU(n.type):"any",required:!!n.required,...n.default?{default:n.default.toString()}:{}}:{type:"invalid"}})}return t}function XeA(e){const t=e.type,A=t.props,r=t.vuex&&t.vuex.getters,n=t.computed,i={...e.data,...e.renderContext};return Object.keys(i).filter(o=>!(A&&o in A)&&!(r&&o in r)&&!(n&&o in n)).map(o=>({key:o,type:"data",value:ea(()=>i[o]),editable:!0}))}function AtA(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,A=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:A}}function etA(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(A=>!GeA.has(A)&&A.split(/(?=[A-Z])/)[0]!=="use").map(A=>{var r,n,i,o;const g=ea(()=>zU(e.setupState[A])),a=t[A];let s,C=typeof g=="function"||typeof g?.render=="function"||typeof g?.__asyncLoader=="function";if(a){const l=JU(a),{stateType:u,stateTypeName:c}=AtA(l),h=l.ref||l.computed||l.reactive,d=((n=(r=a.effect)==null?void 0:r.raw)==null?void 0:n.toString())||((o=(i=a.effect)==null?void 0:i.fn)==null?void 0:o.toString());u&&(C=!1),s={...u?{stateType:u,stateTypeName:c}:{},...d?{raw:d}:{},editable:h&&!l.readonly}}return{key:A,value:g,type:C?"setup (other)":"setup",...s}})}function ttA(e,t){const A=t,r=[],n=A.computed||{};for(const i in n){const o=n[i],g=typeof o=="function"&&o.vuex?"vuex bindings":"computed";r.push({type:g,key:i,value:ea(()=>{var a;return(a=e?.proxy)==null?void 0:a[i]}),editable:typeof o.set=="function"})}return r}function rtA(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:ea(()=>e.attrs[t])}))}function ntA(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:ea(()=>e.provides[t])}))}function itA(e,t){if(!t?.inject)return[];let A=[],r;return Array.isArray(t.inject)?A=t.inject.map(n=>({key:n,originalKey:n})):A=Reflect.ownKeys(t.inject).map(n=>{const i=t.inject[n];let o;return typeof i=="string"||typeof i=="symbol"?o=i:(o=i.from,r=i.default),{key:n,originalKey:o}}),A.map(({key:n,originalKey:i})=>({type:"injected",key:i&&n!==i?`${i.toString()} ➞ ${n.toString()}`:n.toString(),value:ea(()=>e.ctx.hasOwnProperty(n)?e.ctx[n]:e.provides.hasOwnProperty(i)?e.provides[i]:r)}))}function otA(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:ea(()=>e.refs[t])}))}function gtA(e){var t;const A=e.type.emits,r=Array.isArray(A)?A:Object.keys(A??{}),n=Object.keys((t=e.vnode.props)!=null?t:{}),i=[];for(const o of n){const[g,...a]=o.split(/(?=[A-Z])/);if(g==="on"){const s=a.join("-").toLowerCase(),C=r.includes(s);i.push({type:"event listeners",key:s,value:{_custom:{displayText:C?"✅ Declared":"⚠️ Not declared",key:C?"✅ Declared":"⚠️ Not declared",value:C?"✅ Declared":"⚠️ Not declared",tooltipText:C?null:`The event <code>${s}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return i}function atA(e){const t=VeA(e);return ZeA(e).concat(XeA(e),etA(e),ttA(e,t),rtA(e),ntA(e),itA(e,t),otA(e),gtA(e))}xA();xA();xA();xA();xA();function stA(e){let t="",A=null;try{t=Function.prototype.toString.call(e),A=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const r=A&&A[0],n=typeof r=="string"?r:"(?)",i=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${iu(i)}${n}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function CtA(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function ItA(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 ltA(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function utA(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function ctA(e){const t={},A=e.getters||{},r=Object.keys(A);for(let n=0;n<r.length;n++){const i=r[n];Object.defineProperty(t,i,{enumerable:!0,get:()=>{try{return A[i]}catch(o){return o}}})}return t}function htA(e){if(e.length)return e.reduce((t,A)=>{const r=A.type||"data",n=t[r]=t[r]||{};return n[A.key]=A.value,t},{})}function dtA(e){const t={},A=e.length;for(let r=0;r<A;r++){const n=e.item(r);t[n.name]=n.value}return t}function BtA(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:ctA(e)},fields:{abstract:!0}}}}function ftA(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function EtA(e){e._&&(e=e._);const t=atA(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_UID__,displayText:OeA(e),tooltipText:"Component instance",value:htA(t),fields:{abstract:!0}}}}function QtA(e){let t=$eA(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 vtA(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:dtA(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function ptA(e){var t,A,r,n;const i=JU(e);if(i.ref||i.computed||i.reactive){const g=i.computed?"Computed":i.ref?"Ref":i.reactive?"Reactive":null,a=zU(i.reactive?e:e._value),s=((A=(t=e.effect)==null?void 0:t.raw)==null?void 0:A.toString())||((n=(r=e.effect)==null?void 0:r.fn)==null?void 0:n.toString());return{_custom:{type:g?.toLowerCase(),stateTypeName:g,value:a,...s?{tooltipText:`<span class="font-mono">${s}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function wtA(e){var t;if(e==="compilerOptions")return;const A=this[e],r=typeof A;if(Array.isArray(A)){const n=A.length;return n>mP?{_isArray:!0,length:n,items:A.slice(0,mP)}:A}else{if(typeof A=="string")return A.length>yP?`${A.substring(0,yP)}... (${A.length} total length)`:A;if(r==="undefined")return _c;if(A===Number.POSITIVE_INFINITY)return yQ;if(A===Number.NEGATIVE_INFINITY)return mQ;if(typeof A=="function")return stA(A);if(r==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(A)}]`;if(typeof A=="bigint")return CtA(A);if(A!==null&&typeof A=="object"){const n=Object.prototype.toString.call(A);if(n==="[object Map]")return ltA(A);if(n==="[object Set]")return utA(A);if(n==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(A)}]`;if(n==="[object Date]")return ItA(A);if(n==="[object Error]")return`[native Error ${A.message}<>${A.stack}]`;if(A.state&&A._vm)return BtA(A);if(A.constructor&&A.constructor.name==="VueRouter")return ftA(A);if(UeA(A))return EtA(A);if(typeof A.render=="function")return QtA(A);if(A.constructor&&A.constructor.name==="VNode")return`[native VNode <${A.tag}>]`;if(typeof HTMLElement<"u"&&A instanceof HTMLElement)return vtA(A);if(((t=A.constructor)==null?void 0:t.name)==="Store"&&A._wrappedGetters)return"[object Store]";if(A.currentRoute)return"[object Router]";const i=ptA(A);if(i!=null)return i}else if(Number.isNaN(A))return bQ}return jeA(A)}xA();function DtA(e){const t=new Set,A=e._custom.value;for(let r=0;r<A.length;r++){const n=A[r];t.add(MQ(n))}return t}function ytA(e){const t=new Map,A=e._custom.value;for(let r=0;r<A.length;r++){const{key:n,value:i}=A[r];t.set(n,MQ(i))}return t}function MQ(e){var t;if(e!==_c){if(e===yQ)return Number.POSITIVE_INFINITY;if(e===mQ)return Number.NEGATIVE_INFINITY;if(e===bQ)return Number.NaN;if(e&&e._custom){const{_custom:A}=e;return A.type==="component"?(t=ou.appRecord)==null?void 0:t.instanceMap.get(A.id):A.type==="map"?ytA(e):A.type==="set"?DtA(e):A.type==="bigint"?BigInt(A.value):MQ(A.value)}else if(DP.test(e)){const[,A]=DP.exec(e);return Symbol.for(A)}else if(Vf.test(e)){const[,A,r,,n]=Vf.exec(e),i=new ae[A](r);return A==="Error"&&n&&(i.stack=n),i}else return e}}function WU(e,t){return MQ(t)}xA();var Sd=512*1024;function qm(e,t,A,r){let n,i,o,g,a;const s=r.get(e);if(s!=null)return s;const C=A.length,I=Object.prototype.toString.call(e);if(I==="[object Object]"){n={},r.set(e,C),A.push(n);const l=Object.keys(e);for(g=0,a=l.length;g<a;g++){i=l[g];try{if(i==="compilerOptions")return;o=e[i],t&&(o=t.call(e,i,o))}catch(u){o=u}n[i]=qm(o,t,A,r)}}else if(I==="[object Array]")for(n=[],r.set(e,C),A.push(n),g=0,a=e.length;g<a;g++){try{o=e[g],t&&(o=t.call(e,g,o))}catch(l){o=l}n[g]=qm(o,t,A,r)}else A.push(e);return C}function mtA(e,t=null){let A=e.length,r,n,i,o,g,a;for(;A--;)if(i=e[A],a=Object.prototype.toString.call(i),a==="[object Object]"){const s=Object.keys(i);for(r=0,n=s.length;r<n;r++)o=s[r],g=e[i[o]],t&&(g=t.call(i,o,g)),i[o]=g}else if(a==="[object Array]")for(r=0,n=i.length;r<n;r++)g=e[i[r]],t&&(g=t.call(i,r,g)),i[r]=g}function btA(e,t=null,A=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,A)}catch{r=MtA(e,t,A)}if(r.length>Sd){const n=Math.ceil(r.length/Sd),i=[];for(let o=0;o<n;o++)i.push(r.slice(o*Sd,(o+1)*Sd));return i}return r}function MtA(e,t=null,A=null){const r=[];return qm(e,t,r,new Map),A?` ${JSON.stringify(r,null,A)}`:` ${JSON.stringify(r)}`}function bP(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const r=JSON.parse(e);return mtA(r,t),r[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}xA();function kQ(e,t=!0){const A=typeof e;if(e==null||e===_c)return"null";if(A==="boolean"||A==="number"||e===yQ||e===mQ||e===bQ)return"literal";if(e?._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":kQ(e._custom.value);if(typeof e=="string"){const r=Vf.exec(e);if(r){const[,n]=r;return`native ${n}`}else return"string"}else return Array.isArray(e)||e?._isArray?"array":KU(e)?"plain-object":"unknown"}function qU(e,t=!1){var A,r;let n;const i=kQ(e,!1);if(i!=="custom"&&e?._custom&&(e=e._custom.value),n=zeA(e))return n;if(i==="custom")return((A=e._custom.value)==null?void 0:A._custom)&&qU(e._custom.value)||e._custom.displayText||e._custom.display;if(i==="array")return`Array[${e.length}]`;if(i==="plain-object")return`Object${Object.keys(e).length?"":" (empty)"}`;if(i?.includes("native"))return iu((r=Vf.exec(e))==null?void 0:r[2]);if(typeof e=="string"){const o=e.match(xeA);o?e=iu(o[1]):t?e=`<span>"</span>${iu(e)}<span>"</span>`:e=iu(e),e=e.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return e}function aM(e){var t,A,r;let n;const i=kQ(e)==="custom";let o={};if(i){const g=e,a=(t=g._custom)==null?void 0:t.value,s=(A=g._custom)==null?void 0:A.type,C=typeof a=="object"&&a!==null&&"_custom"in a?aM(a):{inherit:void 0,value:void 0,customType:void 0};o=C.inherit||((r=g._custom)==null?void 0:r.fields)||{},e=C.value||a,n=C.customType||s}return e&&e._isArray&&(e=e.items),{value:e,inherit:o,customType:n}}function ktA(e,t){return t==="bigint"||t==="date"?e:WeA(JSON.stringify(e))}function gf(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(qeA(e),WU)}function jU(e){return btA(e,wtA)}function li(e,t=!1){return e==null?{}:t?bP(e,WU):bP(e)}xA();xA();xA();xA();xA();var MP,kP;(kP=(MP=ae).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(MP.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);xA();xA();xA();var ag="__VUE_DEVTOOLS_GLOBAL_STATE__";function StA(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var SP,NP;(NP=(SP=ae)[ag])!=null||(SP[ag]=StA());var VU=DQ((e,t)=>{Kc.callHook("devtools:state-updated",e,t)},80),ZU=DQ((e,t)=>{Kc.callHook("devtools:connected-updated",e,t)},80),dr=new Proxy(ae[ag],{get(e,t){return ae[ag][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,A){const r={...ae[ag]};return e[t]=A,ae[ag][t]=A,VU(ae[ag],r),["connected","clientConnected"].includes(t.toString())&&r[t]!==A&&ZU(ae[ag],r),!0}});Object.defineProperty(dr.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return dr.tabs=this,Kc.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(dr.commands,e,{configurable:!0,value(...t){const A=Array.prototype[e].apply(this,t);return dr.commands=this,Kc.callHook("custom-commands:updated",this),A}})});xA();xA();var AE="__VUE_DEVTOOLS_ROUTER__",lI="__VUE_DEVTOOLS_ROUTER_INFO__",PP,FP;(FP=(PP=ae)[lI])!=null||(PP[lI]={currentRoute:null,routes:[]});var RP,LP;(LP=(RP=ae)[AE])!=null||(RP[AE]=null);var NtA=new Proxy(ae[lI],{get(e,t){return ae[lI][t]}});xA();var jC="__VUE_DEVTOOLS_CONTEXT__";function XU(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var $P,OP;(OP=($P=ae)[jC])!=null||($P[jC]=XU());function PtA(){ae[jC]=XU()}var ou=new Proxy(ae[jC],{get(e,t){return t==="router"?ae[AE]:t==="clear"?PtA:ae[jC][t]},set(e,t,A){return ae[jC][t]=A,!0}});new Proxy(dr.appRecords,{get(e,t){if(t==="value")return dr.appRecords;if(t==="active")return dr.activeAppRecord;if(t==="activeId")return dr.activeAppRecordId},set(e,t,A){var r;const n={...dr};if(t==="value")dr.appRecords=A;else if(t==="active"){const i=A;dr.activeAppRecord=i,ou.appRecord=i,ou.api=i.api,ou.inspector=(r=i.inspector)!=null?r:[],ReA(A),ou.routerInfo=NtA}else t==="activeId"&&(dr.activeAppRecordId=A);return VU(dr,n),["connected","clientConnected"].includes(t.toString())&&n[t]!==A&&ZU(dr,n),!0}});var GP,xP;(xP=(GP=ae).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null||(GP.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set});xA();var TP,HP;(HP=(TP=ae).__VUE_DEVTOOLS_ENV__)!=null||(TP.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});xA();function FtA(e){dr.highPerfModeEnabled=e??!dr.highPerfModeEnabled}let sM=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,A)=>(A&=63,A<36?t+=A.toString(36):A<62?t+=(A-26).toString(36).toUpperCase():A>62?t+="-":t+="_",t),"");function RtA(e){return{all:e=e||new Map,on:function(t,A){var r=e.get(t);r?r.push(A):e.set(t,[A])},off:function(t,A){var r=e.get(t);r&&(A?r.splice(r.indexOf(A)>>>0,1):e.set(t,[]))},emit:function(t,A){var r=e.get(t);r&&r.slice().map(function(n){n(A)}),(r=e.get("*"))&&r.slice().map(function(n){n(t,A)})}}}var LtA=Object.defineProperty,AK=(e,t)=>{for(var A in t)LtA(e,A,{get:t[A],enumerable:!0})},$tA={};AK($tA,{onAddTimelineEvent:()=>wK,onCustomCommandsUpdated:()=>pK,onCustomTabsUpdated:()=>vK,onDevToolsStateUpdated:()=>QK,onInspectorStateUpdated:()=>Jc,onInspectorTreeUpdated:()=>jI,onRouterInfoUpdated:()=>IM});var OtA={};AK(OtA,{checkVueInspectorDetected:()=>eK,editInspectorState:()=>eE,enableVueInspector:()=>tK,getComponentBoundingRect:()=>nK,getDevToolsState:()=>uK,getInspectorState:()=>Yc,getInspectorTree:()=>qI,getMatchedRoutes:()=>IK,getRouterInfo:()=>CM,getTimelineLayer:()=>lK,inspectComponentInspector:()=>iK,navigateAction:()=>CK,openInEditor:()=>jm,scrollToComponent:()=>gK,toggleApp:()=>rK,toggleComponentInspector:()=>oK,toggleHighPerfMode:()=>GtA,unhighlightElement:()=>sK,updateInspectorTreeId:()=>aK});var eK=Tt("devtools:check-vue-inspector-detected",async e=>{var t,A;return!!await((A=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:A.call(t))}),tK=Tt("devtools:enable-vue-inspector",async e=>{var t,A;const r=await((A=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:A.call(t));r&&await r.enable()}),rK=Tt("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),eE=Tt("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),jm=Tt("devtools:open-in-editor",(e,t,A)=>{e.api.openInEditor({file:t,baseUrl:A})}),qI=Tt("devtools:inspector-tree",async(e,t)=>{const A=await e.api.getInspectorTree(t);return jU(A)}),nK=Tt("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),iK=Tt("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),oK=Tt("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),gK=Tt("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),Yc=Tt("devtools:inspector-state",async(e,t)=>{const A=await e.api.getInspectorState(t);return jU(A)}),aK=Tt("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),sK=Tt("devtools:unhighlight-element",e=>e.api.unhighlightElement()),CM=Tt("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),CK=Tt("devtools:router-navigate",(e,t)=>{var A;(A=e.context.router)==null||A.push(t).catch(r=>r)}),IK=Tt("devtools:matched-routes",(e,t)=>{var A,r;const n=console.warn;console.warn=()=>{};const i=(r=(A=e.context.router)==null?void 0:A.resolve({path:t||"/"}).matched)!=null?r:[];return console.warn=n,JSON.stringify(i)}),lK=Tt("devtools:get-timeline-layer",e=>e.context.timelineLayer),uK=Tt("devtools:get-state",e=>{var t,A;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((A=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:A.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(r=>({id:r.id,name:r.name,version:r.version,routerId:r.routerId,moduleDetectives:r.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),GtA=Tt("devtools:toggle-high-perf-mode",(e,t)=>{FtA(t)}),xtA="devtools:bridge-action",TtA="devtools:bridge-listener",cK="__vue_devtools_bridge__",hK="__vue_devtools_bridge_target__",HtA="devtools:bridge-action-events",UtA="devtools:bridge-listener-events",KtA=ae[HtA]=new Map,_tA=ae[UtA]=new Map;function dK(){return ae[cK]}function YtA(e){ae[cK]=e}function JtA(e){ae[hK]=e}function BK(){return ae[hK]}function fK(e){YtA(e),JtA("devtools")}function Tt(e,t){return async(...A)=>{if(BK()==="devtools"){const n=dK(),i=sM();return await new Promise(o=>{n.once(i,g=>{o(g)}),n.emit(xtA,{name:e,key:i,args:A})})}else KtA.set(e,t)}}function Ns(e,t,A={}){return r=>{if(BK()==="devtools"){const{parser:i="devtools"}=A,o=i==="devtools"?li:JSON.parse,g=dK(),a=sM(),s=g.on(a,C=>{r(o(C))});return g.emit(TtA,{key:a,name:e,parser:i}),s}else return _tA.set(e,t),()=>{}}}var EK=class{constructor(e={tracker:vN,trigger:vN}){this.emitter=RtA(),this.adapter=e,this.adapter.tracker(t=>{this._emit(t.event,t.data)})}_on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}_emit(e,t){this.emitter.emit(e,t)}on(e,t){return this._on(e,t),()=>this.off(e,t)}once(e,t){const A=(...r)=>{t(...r),this.off(e,A)};this._on(e,A)}emit(e,t){this.adapter.trigger({event:e,data:t}),this._emit(e,t)}removeAllListeners(){this.emitter.all.clear()}},QK=Ns("devtools:on-state-updated",(e,t)=>{function A(n){var i;return{vueVersion:((i=n?.activeAppRecord)==null?void 0:i.version)||"",connected:n.connected,clientConnected:n.clientConnected,tabs:n.tabs,commands:n.commands,vitePluginDetected:n.vitePluginDetected,appRecords:n.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:n.activeAppRecordId}}function r(){e.api.on.devtoolsStateUpdated(n=>{t(A(n))})}if(e?.api)r();else{const n=setInterval(()=>{if(e.state.connected){const i=e.state;t(A(i)),r(),clearInterval(n)}},10)}}),vK=Ns("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(A=>{t(A)})}),pK=Ns("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(A=>{t(A)})}),jI=Ns("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(A=>{t(A)})}),Jc=Ns("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(A=>{t(A)})}),IM=Ns("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(A=>{t(A)})},{parser:"json"}),wK=Ns("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(A=>{t(A)})});function ztA(){const e=_(!1),t=_(!1),A=_(0),r=_(""),n=_([]),i=_([]),o=_(!1),g=_([]),a=_("");function s(){uK().then(C=>{const I=C;e.value=I.connected,t.value=I.clientConnected,r.value=I.vueVersion||"",n.value=I.tabs,i.value=I.commands,o.value=I.vitePluginDetected,g.value=I.appRecords,a.value=I.activeAppRecordId}),QK(C=>{e.value=C.connected,t.value=C.clientConnected,r.value=C.vueVersion||"",n.value=C.tabs,i.value=C.commands,o.value=C.vitePluginDetected,g.value=C.appRecords,a.value=C.activeAppRecordId})}return{init:s,restore:s,vueVersion:r,connected:e,clientConnected:t,componentCount:A,tabs:n,commands:i,vitePluginDetected:o,appRecords:g,activeAppRecordId:a}}function WtA(e){const t=_(e);function A(r){t.value=r}return{bridge:t,restore:A}}var DK=Symbol("VueDevToolsBridgeSymbol"),yK=Symbol("VueDevToolsStateSymbol");function qtA(e){return{install(t,A){const{bridge:r,viewMode:n}=e,i=_(n),o=ztA(),g=WtA(r);o.init(),t.provide(DK,g.bridge),t.provide(yK,o),t.provide("viewMode",i),g.bridge.value.on("toggle-view-mode",a=>{i.value=a}),t.config.globalProperties.__VUE_DEVTOOLS_UPDATE__=a=>{g.restore(a),o.restore()}}}}function lM(){return pt(DK)}function _n(){return pt(yK)}var jtA=class{constructor(e){this.socket=e}},mK=class extends jtA{constructor(e){super(e)}onnConnect(){return new Promise(e=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const t=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(t),e()})})})}};async function VtA(e="/",t=!0){var A;try{const r=`${e}@vite/client`,n=await fetch(r);if((await n.text()).startsWith("<")||!((A=n.headers.get("content-type"))!=null&&A.includes("javascript")))throw new Error("Not javascript");return await pr(()=>import(r),__vite__mapDeps([]),import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}var bK="vite:client-hot-context";function MK(){return ae[bK]}function ZtA(e){ae[bK]=e}var XtA={};async function ArA(){var e;if((e=XtA.url)!=null&&e.includes("chrome-extension://"))return;const t=await VtA(`${location.pathname.split("/__devtools__")[0]||""}/`.replace(/\/\//g,"/"),!1);return t?.createHotContext("/____")}async function erA(){const e=await ArA();e&&ZtA(e)}function uI(e){return async(...t)=>{const A=MK(),r=sM();return new Promise(n=>{const i=o=>{var g;A.off?A.off(r,i):(g=A.dispose)==null||g.call(A,i),n(o)};A.on(r,i),A.send(e,{key:r,payload:t})})}}function kK(e){return t=>{const A=MK();return A.on(e,t),()=>{var r;A.off?A.off(e,t):(r=A.dispose)==null||r.call(A,t)}}}var trA="__vue-devtools-broadcast-channel__",rrA="__VUE_DEVTOOLS_USER_APP__",SK="__VUE_DEVTOOLS_CLIENT__",nrA="__VUE_DEVTOOLS_CHECK_CONNECTION__",irA="__VUE_DEVTOOLS_CONNECTED__";function orA(e){return new EK({tracker(A){e.onmessage=r=>{r.data.target===rrA&&A(r.data.data)}},trigger(A){e.postMessage({target:SK,data:A})}})}function grA(e={}){const{onConnected:t=()=>{}}=e;let A=null;const r=new BroadcastChannel(trA);function n(){A=setInterval(()=>{r.postMessage({target:SK,data:{event:nrA}})},2e3)}r.onmessage=i=>{var o,g;((g=(o=i.data)==null?void 0:o.data)==null?void 0:g.event)===irA&&(clearInterval(A),t(r))},n()}/*!
|
|
23
|
+
**/const NAA="http://www.w3.org/2000/svg",PAA="http://www.w3.org/1998/Math/MathML",gg=typeof document<"u"?document:null,AP=gg&&gg.createElement("template"),FAA={insert:(e,t,A)=>{t.insertBefore(e,A||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,A,r)=>{const n=t==="svg"?gg.createElementNS(NAA,e):t==="mathml"?gg.createElementNS(PAA,e):gg.createElement(e,A?{is:A}:void 0);return e==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:e=>gg.createTextNode(e),createComment:e=>gg.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gg.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,A,r,n,i){const o=A?A.previousSibling:t.lastChild;if(n&&(n===i||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),A),!(n===i||!(n=n.nextSibling)););else{AP.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const g=AP.content;if(r==="svg"||r==="mathml"){const a=g.firstChild;for(;a.firstChild;)g.appendChild(a.firstChild);g.removeChild(a)}t.insertBefore(g,A)}return[o?o.nextSibling:t.firstChild,A?A.previousSibling:t.lastChild]}},Yo="transition",Kl="animation",Zu=Symbol("_vtc"),Uc=(e,{slots:t})=>WI(xX,RAA(e),t);Uc.displayName="Transition";const RU={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Uc.props=xt({},CU,RU);const wa=(e,t=[])=>{TA(e)?e.forEach(A=>A(...t)):e&&e(...t)},eP=e=>e?TA(e)?e.some(t=>t.length>1):e.length>1:!1;function RAA(e){const t={};for(const k in e)k in RU||(t[k]=e[k]);if(e.css===!1)return t;const{name:A="v",type:r,duration:n,enterFromClass:i=`${A}-enter-from`,enterActiveClass:o=`${A}-enter-active`,enterToClass:g=`${A}-enter-to`,appearFromClass:a=i,appearActiveClass:s=o,appearToClass:C=g,leaveFromClass:I=`${A}-leave-from`,leaveActiveClass:l=`${A}-leave-active`,leaveToClass:u=`${A}-leave-to`}=e,c=LAA(n),h=c&&c[0],d=c&&c[1],{onBeforeEnter:B,onEnter:f,onEnterCancelled:E,onLeave:v,onLeaveCancelled:p,onBeforeAppear:D=B,onAppear:F=f,onAppearCancelled:S=E}=t,N=(k,O,H)=>{Da(k,O?C:g),Da(k,O?s:o),H&&H()},m=(k,O)=>{k._isLeaving=!1,Da(k,I),Da(k,u),Da(k,l),O&&O()},R=k=>(O,H)=>{const X=k?F:f,q=()=>N(O,k,H);wa(X,[O,q]),tP(()=>{Da(O,k?a:i),Jo(O,k?C:g),eP(X)||rP(O,r,h,q)})};return xt(t,{onBeforeEnter(k){wa(B,[k]),Jo(k,i),Jo(k,o)},onBeforeAppear(k){wa(D,[k]),Jo(k,a),Jo(k,s)},onEnter:R(!1),onAppear:R(!0),onLeave(k,O){k._isLeaving=!0;const H=()=>m(k,O);Jo(k,I),GAA(),Jo(k,l),tP(()=>{k._isLeaving&&(Da(k,I),Jo(k,u),eP(v)||rP(k,r,d,H))}),wa(v,[k,H])},onEnterCancelled(k){N(k,!1),wa(E,[k])},onAppearCancelled(k){N(k,!0),wa(S,[k])},onLeaveCancelled(k){m(k),wa(p,[k])}})}function LAA(e){if(e==null)return null;if(xe(e))return[kp(e.enter),kp(e.leave)];{const t=kp(e);return[t,t]}}function kp(e){return x7(e)}function Jo(e,t){t.split(/\s+/).forEach(A=>A&&e.classList.add(A)),(e[Zu]||(e[Zu]=new Set)).add(t)}function Da(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const A=e[Zu];A&&(A.delete(t),A.size||(e[Zu]=void 0))}function tP(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $AA=0;function rP(e,t,A,r){const n=e._endId=++$AA,i=()=>{n===e._endId&&r()};if(A)return setTimeout(i,A);const{type:o,timeout:g,propCount:a}=OAA(e,t);if(!o)return r();const s=o+"end";let C=0;const I=()=>{e.removeEventListener(s,l),i()},l=u=>{u.target===e&&++C>=a&&I()};setTimeout(()=>{C<a&&I()},g+1),e.addEventListener(s,l)}function OAA(e,t){const A=window.getComputedStyle(e),r=c=>(A[c]||"").split(", "),n=r(`${Yo}Delay`),i=r(`${Yo}Duration`),o=nP(n,i),g=r(`${Kl}Delay`),a=r(`${Kl}Duration`),s=nP(g,a);let C=null,I=0,l=0;t===Yo?o>0&&(C=Yo,I=o,l=i.length):t===Kl?s>0&&(C=Kl,I=s,l=a.length):(I=Math.max(o,s),C=I>0?o>s?Yo:Kl:null,l=C?C===Yo?i.length:a.length:0);const u=C===Yo&&/\b(transform|all)(,|$)/.test(r(`${Yo}Property`).toString());return{type:C,timeout:I,propCount:l,hasTransform:u}}function nP(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((A,r)=>iP(A)+iP(e[r])))}function iP(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function GAA(){return document.body.offsetHeight}function xAA(e,t,A){const r=e[Zu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):A?e.setAttribute("class",t):e.className=t}const oP=Symbol("_vod"),TAA=Symbol("_vsh"),HAA=Symbol(""),UAA=/(^|;)\s*display\s*:/;function KAA(e,t,A){const r=e.style,n=gt(A);let i=!1;if(A&&!n){if(t)if(gt(t))for(const o of t.split(";")){const g=o.slice(0,o.indexOf(":")).trim();A[g]==null&&of(r,g,"")}else for(const o in t)A[o]==null&&of(r,o,"");for(const o in A)o==="display"&&(i=!0),of(r,o,A[o])}else if(n){if(t!==A){const o=r[HAA];o&&(A+=";"+o),r.cssText=A,i=UAA.test(A)}}else t&&e.removeAttribute("style");oP in e&&(e[oP]=i?r.display:"",e[TAA]&&(r.display="none"))}const gP=/\s*!important$/;function of(e,t,A){if(TA(A))A.forEach(r=>of(e,t,r));else if(A==null&&(A=""),t.startsWith("--"))e.setProperty(t,A);else{const r=_AA(e,t);gP.test(A)?e.setProperty(bs(r),A.replace(gP,""),"important"):e[r]=A}}const aP=["Webkit","Moz","ms"],Sp={};function _AA(e,t){const A=Sp[t];if(A)return A;let r=zi(t);if(r!=="filter"&&r in e)return Sp[t]=r;r=lQ(r);for(let n=0;n<aP.length;n++){const i=aP[n]+r;if(i in e)return Sp[t]=i}return t}const sP="http://www.w3.org/1999/xlink";function YAA(e,t,A,r,n){if(r&&t.startsWith("xlink:"))A==null?e.removeAttributeNS(sP,t.slice(6,t.length)):e.setAttributeNS(sP,t,A);else{const i=Y7(t);A==null||i&&!$4(A)?e.removeAttribute(t):e.setAttribute(t,i?"":A)}}function JAA(e,t,A,r,n,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,n,i),e[t]=A??"";return}const g=e.tagName;if(t==="value"&&g!=="PROGRESS"&&!g.includes("-")){const s=g==="OPTION"?e.getAttribute("value")||"":e.value,C=A??"";(s!==C||!("_value"in e))&&(e.value=C),A==null&&e.removeAttribute(t),e._value=A;return}let a=!1;if(A===""||A==null){const s=typeof e[t];s==="boolean"?A=$4(A):A==null&&s==="string"?(A="",a=!0):s==="number"&&(A=0,a=!0)}try{e[t]=A}catch{}a&&e.removeAttribute(t)}function ao(e,t,A,r){e.addEventListener(t,A,r)}function zAA(e,t,A,r){e.removeEventListener(t,A,r)}const CP=Symbol("_vei");function WAA(e,t,A,r,n=null){const i=e[CP]||(e[CP]={}),o=i[t];if(r&&o)o.value=r;else{const[g,a]=qAA(t);if(r){const s=i[t]=ZAA(r,n);ao(e,g,s,a)}else o&&(zAA(e,g,o,a),i[t]=void 0)}}const IP=/(?:Once|Passive|Capture)$/;function qAA(e){let t;if(IP.test(e)){t={};let r;for(;r=e.match(IP);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bs(e.slice(2)),t]}let Np=0;const jAA=Promise.resolve(),VAA=()=>Np||(jAA.then(()=>Np=0),Np=Date.now());function ZAA(e,t){const A=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=A.attached)return;On(XAA(r,A.value),t,5,[r])};return A.value=e,A.attached=VAA(),A}function XAA(e,t){if(TA(t)){const A=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{A.call(e),e._stopped=!0},t.map(r=>n=>!n._stopped&&r&&r(n))}else return t}const lP=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,AeA=(e,t,A,r,n,i,o,g,a)=>{const s=n==="svg";t==="class"?xAA(e,r,s):t==="style"?KAA(e,A,r):CQ(t)?L1(t)||WAA(e,t,A,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eeA(e,t,r,s))?JAA(e,t,r,i,o,g,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),YAA(e,t,r,s))};function eeA(e,t,A,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&lP(t)&&te(A));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return lP(t)&>(A)?!1:t in e}const Yg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return TA(t)?A=>tf(t,A):t};function teA(e){e.target.composing=!0}function uP(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xn=Symbol("_assign"),cP={created(e,{modifiers:{lazy:t,trim:A,number:r}},n){e[xn]=Yg(n);const i=r||n.props&&n.props.type==="number";ao(e,t?"change":"input",o=>{if(o.target.composing)return;let g=e.value;A&&(g=g.trim()),i&&(g=zu(g)),e[xn](g)}),A&&ao(e,"change",()=>{e.value=e.value.trim()}),t||(ao(e,"compositionstart",teA),ao(e,"compositionend",uP),ao(e,"change",uP))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:A,trim:r,number:n}},i){if(e[xn]=Yg(i),e.composing)return;const o=n||e.type==="number"?zu(e.value):e.value,g=t??"";o!==g&&(document.activeElement===e&&e.type!=="range"&&(A||r&&e.value.trim()===g)||(e.value=g))}},reA={deep:!0,created(e,t,A){e[xn]=Yg(A),ao(e,"change",()=>{const r=e._modelValue,n=II(e),i=e.checked,o=e[xn];if(TA(r)){const g=G1(r,n),a=g!==-1;if(i&&!a)o(r.concat(n));else if(!i&&a){const s=[...r];s.splice(g,1),o(s)}}else if(JI(r)){const g=new Set(r);i?g.add(n):g.delete(n),o(g)}else o(LU(e,i))})},mounted:hP,beforeUpdate(e,t,A){e[xn]=Yg(A),hP(e,t,A)}};function hP(e,{value:t,oldValue:A},r){e._modelValue=t,TA(t)?e.checked=G1(t,r.props.value)>-1:JI(t)?e.checked=t.has(r.props.value):t!==A&&(e.checked=Cs(t,LU(e,!0)))}const neA={created(e,{value:t},A){e.checked=Cs(t,A.props.value),e[xn]=Yg(A),ao(e,"change",()=>{e[xn](II(e))})},beforeUpdate(e,{value:t,oldValue:A},r){e[xn]=Yg(r),t!==A&&(e.checked=Cs(t,r.props.value))}},ieA={deep:!0,created(e,{value:t,modifiers:{number:A}},r){const n=JI(t);ao(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>A?zu(II(o)):II(o));e[xn](e.multiple?n?new Set(i):i:i[0]),e._assigning=!0,cr(()=>{e._assigning=!1})}),e[xn]=Yg(r)},mounted(e,{value:t,modifiers:{number:A}}){dP(e,t,A)},beforeUpdate(e,t,A){e[xn]=Yg(A)},updated(e,{value:t,modifiers:{number:A}}){e._assigning||dP(e,t,A)}};function dP(e,t,A){const r=e.multiple,n=TA(t);if(!(r&&!n&&!JI(t))){for(let i=0,o=e.options.length;i<o;i++){const g=e.options[i],a=II(g);if(r)if(n){const s=typeof a;s==="string"||s==="number"?g.selected=t.includes(A?zu(a):a):g.selected=G1(t,a)>-1}else g.selected=t.has(a);else if(Cs(II(g),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function II(e){return"_value"in e?e._value:e.value}function LU(e,t){const A=t?"_trueValue":"_falseValue";return A in e?e[A]:t}const oeA={created(e,t,A){kd(e,t,A,null,"created")},mounted(e,t,A){kd(e,t,A,null,"mounted")},beforeUpdate(e,t,A,r){kd(e,t,A,r,"beforeUpdate")},updated(e,t,A,r){kd(e,t,A,r,"updated")}};function geA(e,t){switch(e){case"SELECT":return ieA;case"TEXTAREA":return cP;default:switch(t){case"checkbox":return reA;case"radio":return neA;default:return cP}}}function kd(e,t,A,r,n){const o=geA(e.tagName,A.props&&A.props.type)[n];o&&o(e,t,A,r)}const aeA=["ctrl","shift","alt","meta"],seA={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aeA.some(A=>e[`${A}Key`]&&!t.includes(A))},fr=(e,t)=>{const A=e._withMods||(e._withMods={}),r=t.join(".");return A[r]||(A[r]=(n,...i)=>{for(let o=0;o<t.length;o++){const g=seA[t[o]];if(g&&g(n,t))return}return e(n,...i)})},CeA={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$U=(e,t)=>{const A=e._withKeys||(e._withKeys={}),r=t.join(".");return A[r]||(A[r]=n=>{if(!("key"in n))return;const i=bs(n.key);if(t.some(o=>o===i||CeA[o]===i))return e(n)})},IeA=xt({patchProp:AeA},FAA);let BP;function OU(){return BP||(BP=lAA(IeA))}const fP=(...e)=>{OU().render(...e)},iM=(...e)=>{const t=OU().createApp(...e),{mount:A}=t;return t.mount=r=>{const n=ueA(r);if(!n)return;const i=t._component;!te(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.innerHTML="";const o=A(n,!1,leA(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t};function leA(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ueA(e){return gt(e)?document.querySelector(e):e}function Wm(e,t={},A){for(const r in e){const n=e[r],i=A?`${A}:${r}`:r;typeof n=="object"&&n!==null?Wm(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const ceA={run:e=>e()},heA=()=>ceA,GU=typeof console.createTask<"u"?console.createTask:heA;function deA(e,t){const A=t.shift(),r=GU(A);return e.reduce((n,i)=>n.then(()=>r.run(()=>i(...t))),Promise.resolve())}function BeA(e,t){const A=t.shift(),r=GU(A);return Promise.all(e.map(n=>r.run(()=>n(...t))))}function Pp(e,t){for(const A of[...e])A(t)}class feA{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,A,r={}){if(!t||typeof A!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!A.name)try{Object.defineProperty(A,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(A),()=>{A&&(this.removeHook(t,A),A=void 0)}}hookOnce(t,A){let r,n=(...i)=>(typeof r=="function"&&r(),r=void 0,n=void 0,A(...i));return r=this.hook(t,n),r}removeHook(t,A){if(this._hooks[t]){const r=this._hooks[t].indexOf(A);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,A){this._deprecatedHooks[t]=typeof A=="string"?{to:A}:A;const r=this._hooks[t]||[];delete this._hooks[t];for(const n of r)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const A in t)this.deprecateHook(A,t[A])}addHooks(t){const A=Wm(t),r=Object.keys(A).map(n=>this.hook(n,A[n]));return()=>{for(const n of r.splice(0,r.length))n()}}removeHooks(t){const A=Wm(t);for(const r in A)this.removeHook(r,A[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...A){return A.unshift(t),this.callHookWith(deA,t,...A)}callHookParallel(t,...A){return A.unshift(t),this.callHookWith(BeA,t,...A)}callHookWith(t,A,...r){const n=this._before||this._after?{name:A,args:r,context:{}}:void 0;this._before&&Pp(this._before,n);const i=t(A in this._hooks?[...this._hooks[A]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&n&&Pp(this._after,n)}):(this._after&&n&&Pp(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const A=this._before.indexOf(t);A!==-1&&this._before.splice(A,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const A=this._after.indexOf(t);A!==-1&&this._after.splice(A,1)}}}}function xU(){return new feA}const EeA={trailing:!0};function DQ(e,t=25,A={}){if(A={...EeA,...A},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,n,i=[],o,g;const a=(s,C)=>(o=QeA(e,s,C),o.finally(()=>{if(o=null,A.trailing&&g&&!n){const I=a(s,g);return g=null,I}}),o);return function(...s){return o?(A.trailing&&(g=s),o):new Promise(C=>{const I=!n&&A.leading;clearTimeout(n),n=setTimeout(()=>{n=null;const l=A.leading?r:a(this,s);for(const u of i)u(l);i=[]},t),I?(r=a(this,s),C(r)):i.push(C)})}}async function QeA(e,t,A){return await e.apply(t,A)}var veA=Object.create,TU=Object.defineProperty,peA=Object.getOwnPropertyDescriptor,oM=Object.getOwnPropertyNames,weA=Object.getPrototypeOf,DeA=Object.prototype.hasOwnProperty,yeA=(e,t)=>function(){return e&&(t=(0,e[oM(e)[0]])(e=0)),t},HU=(e,t)=>function(){return t||(0,e[oM(e)[0]])((t={exports:{}}).exports,t),t.exports},meA=(e,t,A,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of oM(t))!DeA.call(e,n)&&n!==A&&TU(e,n,{get:()=>t[n],enumerable:!(r=peA(t,n))||r.enumerable});return e},beA=(e,t,A)=>(A=e!=null?veA(weA(e)):{},meA(t||!e||!e.__esModule?TU(A,"default",{value:e,enumerable:!0}):A,e)),xA=yeA({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),MeA=HU({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){xA(),function(A){var r={À:"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"},n=["်","ް"],i={"ာ":"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"},o={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"}},g={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"}},a=[";","?",":","@","&","=","+","$",",","/"].join(""),s=[";","?",":","@","&","=","+","$",","].join(""),C=[".","!","~","*","'","(",")"].join(""),I=function(d,B){var f="-",E="",v="",p=!0,D={},F,S,N,m,R,k,O,H,X,q,Z,uA,MA,XA,KA="";if(typeof d!="string")return"";if(typeof B=="string"&&(f=B),O=g.en,H=o.en,typeof B=="object"){F=B.maintainCase||!1,D=B.custom&&typeof B.custom=="object"?B.custom:D,N=+B.truncate>1&&B.truncate||!1,m=B.uric||!1,R=B.uricNoSlash||!1,k=B.mark||!1,p=!(B.symbols===!1||B.lang===!1),f=B.separator||f,m&&(KA+=a),R&&(KA+=s),k&&(KA+=C),O=B.lang&&g[B.lang]&&p?g[B.lang]:p?g.en:{},H=B.lang&&o[B.lang]?o[B.lang]:B.lang===!1||B.lang===!0?{}:o.en,B.titleCase&&typeof B.titleCase.length=="number"&&Array.prototype.toString.call(B.titleCase)?(B.titleCase.forEach(function(QA){D[QA+""]=QA+""}),S=!0):S=!!B.titleCase,B.custom&&typeof B.custom.length=="number"&&Array.prototype.toString.call(B.custom)&&B.custom.forEach(function(QA){D[QA+""]=QA+""}),Object.keys(D).forEach(function(QA){var HA;QA.length>1?HA=new RegExp("\\b"+u(QA)+"\\b","gi"):HA=new RegExp(u(QA),"gi"),d=d.replace(HA,D[QA])});for(Z in D)KA+=Z}for(KA+=f,KA=u(KA),d=d.replace(/(^\s+|\s+$)/g,""),MA=!1,XA=!1,q=0,uA=d.length;q<uA;q++)Z=d[q],c(Z,D)?MA=!1:H[Z]?(Z=MA&&H[Z].match(/[A-Za-z0-9]/)?" "+H[Z]:H[Z],MA=!1):Z in r?(q+1<uA&&n.indexOf(d[q+1])>=0?(v+=Z,Z=""):XA===!0?(Z=i[v]+r[Z],v=""):Z=MA&&r[Z].match(/[A-Za-z0-9]/)?" "+r[Z]:r[Z],MA=!1,XA=!1):Z in i?(v+=Z,Z="",q===uA-1&&(Z=i[v]),XA=!0):O[Z]&&!(m&&a.indexOf(Z)!==-1)&&!(R&&s.indexOf(Z)!==-1)?(Z=MA||E.substr(-1).match(/[A-Za-z0-9]/)?f+O[Z]:O[Z],Z+=d[q+1]!==void 0&&d[q+1].match(/[A-Za-z0-9]/)?f:"",MA=!0):(XA===!0?(Z=i[v]+Z,v="",XA=!1):MA&&(/[A-Za-z0-9]/.test(Z)||E.substr(-1).match(/A-Za-z0-9]/))&&(Z=" "+Z),MA=!1),E+=Z.replace(new RegExp("[^\\w\\s"+KA+"_-]","g"),f);return S&&(E=E.replace(/(\w)(\S*)/g,function(QA,HA,_A){var ne=HA.toUpperCase()+(_A!==null?_A:"");return Object.keys(D).indexOf(ne.toLowerCase())<0?ne:ne.toLowerCase()})),E=E.replace(/\s+/g,f).replace(new RegExp("\\"+f+"+","g"),f).replace(new RegExp("(^\\"+f+"+|\\"+f+"+$)","g"),""),N&&E.length>N&&(X=E.charAt(N)===f,E=E.slice(0,N),X||(E=E.slice(0,E.lastIndexOf(f)))),!F&&!S&&(E=E.toLowerCase()),E},l=function(d){return function(f){return I(f,d)}},u=function(d){return d.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},c=function(h,d){for(var B in d)if(d[B]===h)return!0};if(typeof t<"u"&&t.exports)t.exports=I,t.exports.createSlug=l;else if(typeof define<"u"&&define.amd)define([],function(){return I});else try{if(A.getSlug||A.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";A.getSlug=I,A.createSlug=l}catch{}}(e)}}),keA=HU({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){xA(),t.exports=MeA()}});xA();xA();xA();xA();xA();xA();xA();xA();xA();xA();var EP,QP,ka=(QP=(EP=ae).__VUE_DEVTOOLS_HOOK)!=null?QP:EP.__VUE_DEVTOOLS_HOOK=xU(),SeA={vueAppInit(e){ka.hook("app:init",e)},vueAppConnected(e){ka.hook("app:connected",e)},componentAdded(e){return ka.hook("component:added",e)},componentUpdated(e){return ka.hook("component:updated",e)},componentRemoved(e){return ka.hook("component:removed",e)},setupDevtoolsPlugin(e){ka.hook("devtools-plugin:setup",e)}},NeA={on:SeA,setupDevToolsPlugin(e,t){return ka.callHook("devtools-plugin:setup",e,t)}};xA();xA();xA();xA();xA();xA();xA();beA(keA(),1);xA();xA();xA();var vP,pP,Kc=(pP=(vP=ae).__VUE_DEVTOOLS_API_HOOK)!=null?pP:vP.__VUE_DEVTOOLS_API_HOOK=xU();function PeA(e){const t=new Map;return(e?.getRoutes()||[]).filter(A=>!t.has(A.path)&&t.set(A.path,1))}function gM(e){return e.map(t=>{let{path:A,name:r,children:n}=t;return n?.length&&(n=gM(n)),{path:A,name:r,children:n}})}function FeA(e){if(e){const{fullPath:t,hash:A,href:r,path:n,name:i,matched:o,params:g,query:a}=e;return{fullPath:t,hash:A,href:r,path:n,name:i,params:g,query:a,matched:gM(o)}}return e}function ReA(e){function t(){var A;const r=(A=e.app)==null?void 0:A.config.globalProperties.$router,n=FeA(r?.currentRoute.value),i=gM(PeA(r)),o=console.warn;console.warn=()=>{},ae[lI]={currentRoute:n?Kf(n):{},routes:Kf(i)},ae[AE]=r,console.warn=o}t(),NeA.on.componentUpdated(DQ(()=>{t(),Kc.callHook("router-info:updated",ae[lI])},200))}xA();xA();xA();function LeA(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function UU(e){const t=e.__file;if(t)return b7(k7(t,".vue"))}function $eA(e){const t=e.displayName||e.name||e._componentTag;return t||UU(e)}function wP(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function OeA(e){var t,A,r;const n=LeA(e.type||{});if(n)return n;if(e.root===e)return"Root";for(const o in(A=(t=e.parent)==null?void 0:t.type)==null?void 0:A.components)if(e.parent.type.components[o]===e.type)return wP(e,o);for(const o in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[o]===e.type)return wP(e,o);const i=UU(e.type||{});return i||"Anonymous Component"}function ea(e){try{return e()}catch(t){return t}}xA();xA();xA();xA();xA();xA();xA();xA();var GeA=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"]),DP=/^\[native Symbol Symbol\((.*)\)\]$/,xeA=/^\[object (\w+)]$/,Vf=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,TeA=/^(?:function|class) (\w+)/,yP=1e4,mP=5e3,_c="__vue_devtool_undefined__",yQ="__vue_devtool_infinity__",mQ="__vue_devtool_negative_infinity__",bQ="__vue_devtool_nan__",HeA={"<":"<",">":">",'"':""","&":"&"};xA();xA();function UeA(e){return e._&&Object.keys(e._).includes("vnode")}function KU(e){return Object.prototype.toString.call(e)==="[object Object]"}function KeA(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function _U(e){return!!e.__v_isRef}function _eA(e){return _U(e)&&!!e.effect}function YeA(e){return!!e.__v_isReactive}function JeA(e){return!!e.__v_isReadonly}var Zf={[_c]:"undefined",[bQ]:"NaN",[yQ]:"Infinity",[mQ]:"-Infinity"},Fp=Object.entries(Zf).reduce((e,[t,A])=>(e[A]=t,e),{});function zeA(e){return e===null?"null":typeof e=="string"&&Zf[e]||!1}function WeA(e){const t=new RegExp(`"(${Object.keys(Zf).join("|")})"`,"g");return e.replace(t,(A,r)=>Zf[r])}function qeA(e){const t=Fp[e.trim()];if(t)return`"${t}"`;const A=new RegExp(`:\\s*(${Object.keys(Fp).join("|")})`,"g");return e.replace(A,(r,n)=>`:"${Fp[n]}"`)}function YU(e){if(Array.isArray(e))return e.map(A=>YU(A)).join(" or ");if(e==null)return"null";const t=e.toString().match(TeA);return typeof e=="function"&&t&&t[1]||"any"}function jeA(e){return!KeA(e)&&!Array.isArray(e)&&!KU(e)?Object.prototype.toString.call(e):e}function JU(e){return{ref:_U(e),computed:_eA(e),reactive:YeA(e),readonly:JeA(e)}}function zU(e){return e?.__v_raw?e.__v_raw:e}function iu(e){return e.replace(/[<>"&]/g,t=>HeA[t]||t)}function Xf(e,t,A){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:n}=t;n&&Xf(e,n),r&&r.forEach(i=>Xf(e,i));for(const i of["computed","inject"])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]?Object.assign(e[i],t[i]):e[i]=t[i]);return e}function VeA(e){const t=e.type,{mixins:A,extends:r}=t,n=e.appContext.mixins;if(!n.length&&!A&&!r)return t;const i={};return n.forEach(o=>Xf(i,o)),Xf(i,t),i}function ZeA(e){const t=[],A=e.type.props;for(const r in e.props){const n=A?A[r]:null,i=M7(r);t.push({type:"props",key:i,value:ea(()=>e.props[r]),meta:n?{type:n.type?YU(n.type):"any",required:!!n.required,...n.default?{default:n.default.toString()}:{}}:{type:"invalid"}})}return t}function XeA(e){const t=e.type,A=t.props,r=t.vuex&&t.vuex.getters,n=t.computed,i={...e.data,...e.renderContext};return Object.keys(i).filter(o=>!(A&&o in A)&&!(r&&o in r)&&!(n&&o in n)).map(o=>({key:o,type:"data",value:ea(()=>i[o]),editable:!0}))}function AtA(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,A=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:A}}function etA(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(A=>!GeA.has(A)&&A.split(/(?=[A-Z])/)[0]!=="use").map(A=>{var r,n,i,o;const g=ea(()=>zU(e.setupState[A])),a=t[A];let s,C=typeof g=="function"||typeof g?.render=="function"||typeof g?.__asyncLoader=="function";if(a){const l=JU(a),{stateType:u,stateTypeName:c}=AtA(l),h=l.ref||l.computed||l.reactive,d=((n=(r=a.effect)==null?void 0:r.raw)==null?void 0:n.toString())||((o=(i=a.effect)==null?void 0:i.fn)==null?void 0:o.toString());u&&(C=!1),s={...u?{stateType:u,stateTypeName:c}:{},...d?{raw:d}:{},editable:h&&!l.readonly}}return{key:A,value:g,type:C?"setup (other)":"setup",...s}})}function ttA(e,t){const A=t,r=[],n=A.computed||{};for(const i in n){const o=n[i],g=typeof o=="function"&&o.vuex?"vuex bindings":"computed";r.push({type:g,key:i,value:ea(()=>{var a;return(a=e?.proxy)==null?void 0:a[i]}),editable:typeof o.set=="function"})}return r}function rtA(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:ea(()=>e.attrs[t])}))}function ntA(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:ea(()=>e.provides[t])}))}function itA(e,t){if(!t?.inject)return[];let A=[],r;return Array.isArray(t.inject)?A=t.inject.map(n=>({key:n,originalKey:n})):A=Reflect.ownKeys(t.inject).map(n=>{const i=t.inject[n];let o;return typeof i=="string"||typeof i=="symbol"?o=i:(o=i.from,r=i.default),{key:n,originalKey:o}}),A.map(({key:n,originalKey:i})=>({type:"injected",key:i&&n!==i?`${i.toString()} ➞ ${n.toString()}`:n.toString(),value:ea(()=>e.ctx.hasOwnProperty(n)?e.ctx[n]:e.provides.hasOwnProperty(i)?e.provides[i]:r)}))}function otA(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:ea(()=>e.refs[t])}))}function gtA(e){var t;const A=e.type.emits,r=Array.isArray(A)?A:Object.keys(A??{}),n=Object.keys((t=e.vnode.props)!=null?t:{}),i=[];for(const o of n){const[g,...a]=o.split(/(?=[A-Z])/);if(g==="on"){const s=a.join("-").toLowerCase(),C=r.includes(s);i.push({type:"event listeners",key:s,value:{_custom:{displayText:C?"✅ Declared":"⚠️ Not declared",key:C?"✅ Declared":"⚠️ Not declared",value:C?"✅ Declared":"⚠️ Not declared",tooltipText:C?null:`The event <code>${s}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return i}function atA(e){const t=VeA(e);return ZeA(e).concat(XeA(e),etA(e),ttA(e,t),rtA(e),ntA(e),itA(e,t),otA(e),gtA(e))}xA();xA();xA();xA();xA();function stA(e){let t="",A=null;try{t=Function.prototype.toString.call(e),A=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const r=A&&A[0],n=typeof r=="string"?r:"(?)",i=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${iu(i)}${n}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function CtA(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function ItA(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 ltA(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function utA(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function ctA(e){const t={},A=e.getters||{},r=Object.keys(A);for(let n=0;n<r.length;n++){const i=r[n];Object.defineProperty(t,i,{enumerable:!0,get:()=>{try{return A[i]}catch(o){return o}}})}return t}function htA(e){if(e.length)return e.reduce((t,A)=>{const r=A.type||"data",n=t[r]=t[r]||{};return n[A.key]=A.value,t},{})}function dtA(e){const t={},A=e.length;for(let r=0;r<A;r++){const n=e.item(r);t[n.name]=n.value}return t}function BtA(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:ctA(e)},fields:{abstract:!0}}}}function ftA(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function EtA(e){e._&&(e=e._);const t=atA(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_UID__,displayText:OeA(e),tooltipText:"Component instance",value:htA(t),fields:{abstract:!0}}}}function QtA(e){let t=$eA(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 vtA(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:dtA(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function ptA(e){var t,A,r,n;const i=JU(e);if(i.ref||i.computed||i.reactive){const g=i.computed?"Computed":i.ref?"Ref":i.reactive?"Reactive":null,a=zU(i.reactive?e:e._value),s=((A=(t=e.effect)==null?void 0:t.raw)==null?void 0:A.toString())||((n=(r=e.effect)==null?void 0:r.fn)==null?void 0:n.toString());return{_custom:{type:g?.toLowerCase(),stateTypeName:g,value:a,...s?{tooltipText:`<span class="font-mono">${s}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function wtA(e){var t;if(e==="compilerOptions")return;const A=this[e],r=typeof A;if(Array.isArray(A)){const n=A.length;return n>mP?{_isArray:!0,length:n,items:A.slice(0,mP)}:A}else{if(typeof A=="string")return A.length>yP?`${A.substring(0,yP)}... (${A.length} total length)`:A;if(r==="undefined")return _c;if(A===Number.POSITIVE_INFINITY)return yQ;if(A===Number.NEGATIVE_INFINITY)return mQ;if(typeof A=="function")return stA(A);if(r==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(A)}]`;if(typeof A=="bigint")return CtA(A);if(A!==null&&typeof A=="object"){const n=Object.prototype.toString.call(A);if(n==="[object Map]")return ltA(A);if(n==="[object Set]")return utA(A);if(n==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(A)}]`;if(n==="[object Date]")return ItA(A);if(n==="[object Error]")return`[native Error ${A.message}<>${A.stack}]`;if(A.state&&A._vm)return BtA(A);if(A.constructor&&A.constructor.name==="VueRouter")return ftA(A);if(UeA(A))return EtA(A);if(typeof A.render=="function")return QtA(A);if(A.constructor&&A.constructor.name==="VNode")return`[native VNode <${A.tag}>]`;if(typeof HTMLElement<"u"&&A instanceof HTMLElement)return vtA(A);if(((t=A.constructor)==null?void 0:t.name)==="Store"&&A._wrappedGetters)return"[object Store]";if(A.currentRoute)return"[object Router]";const i=ptA(A);if(i!=null)return i}else if(Number.isNaN(A))return bQ}return jeA(A)}xA();function DtA(e){const t=new Set,A=e._custom.value;for(let r=0;r<A.length;r++){const n=A[r];t.add(MQ(n))}return t}function ytA(e){const t=new Map,A=e._custom.value;for(let r=0;r<A.length;r++){const{key:n,value:i}=A[r];t.set(n,MQ(i))}return t}function MQ(e){var t;if(e!==_c){if(e===yQ)return Number.POSITIVE_INFINITY;if(e===mQ)return Number.NEGATIVE_INFINITY;if(e===bQ)return Number.NaN;if(e&&e._custom){const{_custom:A}=e;return A.type==="component"?(t=ou.appRecord)==null?void 0:t.instanceMap.get(A.id):A.type==="map"?ytA(e):A.type==="set"?DtA(e):A.type==="bigint"?BigInt(A.value):MQ(A.value)}else if(DP.test(e)){const[,A]=DP.exec(e);return Symbol.for(A)}else if(Vf.test(e)){const[,A,r,,n]=Vf.exec(e),i=new ae[A](r);return A==="Error"&&n&&(i.stack=n),i}else return e}}function WU(e,t){return MQ(t)}xA();var Sd=512*1024;function qm(e,t,A,r){let n,i,o,g,a;const s=r.get(e);if(s!=null)return s;const C=A.length,I=Object.prototype.toString.call(e);if(I==="[object Object]"){n={},r.set(e,C),A.push(n);const l=Object.keys(e);for(g=0,a=l.length;g<a;g++){i=l[g];try{if(i==="compilerOptions")return;o=e[i],t&&(o=t.call(e,i,o))}catch(u){o=u}n[i]=qm(o,t,A,r)}}else if(I==="[object Array]")for(n=[],r.set(e,C),A.push(n),g=0,a=e.length;g<a;g++){try{o=e[g],t&&(o=t.call(e,g,o))}catch(l){o=l}n[g]=qm(o,t,A,r)}else A.push(e);return C}function mtA(e,t=null){let A=e.length,r,n,i,o,g,a;for(;A--;)if(i=e[A],a=Object.prototype.toString.call(i),a==="[object Object]"){const s=Object.keys(i);for(r=0,n=s.length;r<n;r++)o=s[r],g=e[i[o]],t&&(g=t.call(i,o,g)),i[o]=g}else if(a==="[object Array]")for(r=0,n=i.length;r<n;r++)g=e[i[r]],t&&(g=t.call(i,r,g)),i[r]=g}function btA(e,t=null,A=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,A)}catch{r=MtA(e,t,A)}if(r.length>Sd){const n=Math.ceil(r.length/Sd),i=[];for(let o=0;o<n;o++)i.push(r.slice(o*Sd,(o+1)*Sd));return i}return r}function MtA(e,t=null,A=null){const r=[];return qm(e,t,r,new Map),A?` ${JSON.stringify(r,null,A)}`:` ${JSON.stringify(r)}`}function bP(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const r=JSON.parse(e);return mtA(r,t),r[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}xA();function kQ(e,t=!0){const A=typeof e;if(e==null||e===_c||e==="undefined")return"null";if(A==="boolean"||A==="number"||e===yQ||e===mQ||e===bQ)return"literal";if(e?._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":kQ(e._custom.value);if(typeof e=="string"){const r=Vf.exec(e);if(r){const[,n]=r;return`native ${n}`}else return"string"}else return Array.isArray(e)||e?._isArray?"array":KU(e)?"plain-object":"unknown"}function qU(e,t=!1){var A,r;let n;const i=kQ(e,!1);if(i!=="custom"&&e?._custom&&(e=e._custom.value),n=zeA(e))return n;if(i==="custom")return((A=e._custom.value)==null?void 0:A._custom)&&qU(e._custom.value)||e._custom.displayText||e._custom.display;if(i==="array")return`Array[${e.length}]`;if(i==="plain-object")return`Object${Object.keys(e).length?"":" (empty)"}`;if(i?.includes("native"))return iu((r=Vf.exec(e))==null?void 0:r[2]);if(typeof e=="string"){const o=e.match(xeA);o?e=iu(o[1]):t?e=`<span>"</span>${iu(e)}<span>"</span>`:e=iu(e),e=e.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return e}function aM(e){var t,A,r;let n;const i=kQ(e)==="custom";let o={};if(i){const g=e,a=(t=g._custom)==null?void 0:t.value,s=(A=g._custom)==null?void 0:A.type,C=typeof a=="object"&&a!==null&&"_custom"in a?aM(a):{inherit:void 0,value:void 0,customType:void 0};o=C.inherit||((r=g._custom)==null?void 0:r.fields)||{},e=C.value||a,n=C.customType||s}return e&&e._isArray&&(e=e.items),{value:e,inherit:o,customType:n}}function ktA(e,t){return t==="bigint"||t==="date"?e:WeA(JSON.stringify(e))}function gf(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(qeA(e),WU)}function jU(e){return btA(e,wtA)}function li(e,t=!1){return e==null?{}:t?bP(e,WU):bP(e)}xA();xA();xA();xA();xA();var MP,kP;(kP=(MP=ae).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(MP.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);xA();xA();xA();var ag="__VUE_DEVTOOLS_GLOBAL_STATE__";function StA(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var SP,NP;(NP=(SP=ae)[ag])!=null||(SP[ag]=StA());var VU=DQ((e,t)=>{Kc.callHook("devtools:state-updated",e,t)},80),ZU=DQ((e,t)=>{Kc.callHook("devtools:connected-updated",e,t)},80),dr=new Proxy(ae[ag],{get(e,t){return ae[ag][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,A){const r={...ae[ag]};return e[t]=A,ae[ag][t]=A,VU(ae[ag],r),["connected","clientConnected"].includes(t.toString())&&r[t]!==A&&ZU(ae[ag],r),!0}});Object.defineProperty(dr.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return dr.tabs=this,Kc.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(dr.commands,e,{configurable:!0,value(...t){const A=Array.prototype[e].apply(this,t);return dr.commands=this,Kc.callHook("custom-commands:updated",this),A}})});xA();xA();var AE="__VUE_DEVTOOLS_ROUTER__",lI="__VUE_DEVTOOLS_ROUTER_INFO__",PP,FP;(FP=(PP=ae)[lI])!=null||(PP[lI]={currentRoute:null,routes:[]});var RP,LP;(LP=(RP=ae)[AE])!=null||(RP[AE]=null);var NtA=new Proxy(ae[lI],{get(e,t){return ae[lI][t]}});xA();var jC="__VUE_DEVTOOLS_CONTEXT__";function XU(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var $P,OP;(OP=($P=ae)[jC])!=null||($P[jC]=XU());function PtA(){ae[jC]=XU()}var ou=new Proxy(ae[jC],{get(e,t){return t==="router"?ae[AE]:t==="clear"?PtA:ae[jC][t]},set(e,t,A){return ae[jC][t]=A,!0}});new Proxy(dr.appRecords,{get(e,t){if(t==="value")return dr.appRecords;if(t==="active")return dr.activeAppRecord;if(t==="activeId")return dr.activeAppRecordId},set(e,t,A){var r;const n={...dr};if(t==="value")dr.appRecords=A;else if(t==="active"){const i=A;dr.activeAppRecord=i,ou.appRecord=i,ou.api=i.api,ou.inspector=(r=i.inspector)!=null?r:[],ReA(A),ou.routerInfo=NtA}else t==="activeId"&&(dr.activeAppRecordId=A);return VU(dr,n),["connected","clientConnected"].includes(t.toString())&&n[t]!==A&&ZU(dr,n),!0}});var GP,xP;(xP=(GP=ae).__VUE_DEVTOOLS_APP_RECROD_INFO__)!=null||(GP.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set});xA();var TP,HP;(HP=(TP=ae).__VUE_DEVTOOLS_ENV__)!=null||(TP.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});xA();xA();function FtA(e){dr.highPerfModeEnabled=e??!dr.highPerfModeEnabled}let sM=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,A)=>(A&=63,A<36?t+=A.toString(36):A<62?t+=(A-26).toString(36).toUpperCase():A>62?t+="-":t+="_",t),"");function RtA(e){return{all:e=e||new Map,on:function(t,A){var r=e.get(t);r?r.push(A):e.set(t,[A])},off:function(t,A){var r=e.get(t);r&&(A?r.splice(r.indexOf(A)>>>0,1):e.set(t,[]))},emit:function(t,A){var r=e.get(t);r&&r.slice().map(function(n){n(A)}),(r=e.get("*"))&&r.slice().map(function(n){n(t,A)})}}}var LtA=Object.defineProperty,AK=(e,t)=>{for(var A in t)LtA(e,A,{get:t[A],enumerable:!0})},$tA={};AK($tA,{onAddTimelineEvent:()=>wK,onCustomCommandsUpdated:()=>pK,onCustomTabsUpdated:()=>vK,onDevToolsStateUpdated:()=>QK,onInspectorStateUpdated:()=>Jc,onInspectorTreeUpdated:()=>jI,onRouterInfoUpdated:()=>IM});var OtA={};AK(OtA,{checkVueInspectorDetected:()=>eK,editInspectorState:()=>eE,enableVueInspector:()=>tK,getComponentBoundingRect:()=>nK,getDevToolsState:()=>uK,getInspectorState:()=>Yc,getInspectorTree:()=>qI,getMatchedRoutes:()=>IK,getRouterInfo:()=>CM,getTimelineLayer:()=>lK,inspectComponentInspector:()=>iK,navigateAction:()=>CK,openInEditor:()=>jm,scrollToComponent:()=>gK,toggleApp:()=>rK,toggleComponentInspector:()=>oK,toggleHighPerfMode:()=>GtA,unhighlightElement:()=>sK,updateInspectorTreeId:()=>aK});var eK=Tt("devtools:check-vue-inspector-detected",async e=>{var t,A;return!!await((A=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:A.call(t))}),tK=Tt("devtools:enable-vue-inspector",async e=>{var t,A;const r=await((A=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:A.call(t));r&&await r.enable()}),rK=Tt("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),eE=Tt("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),jm=Tt("devtools:open-in-editor",(e,t,A)=>{e.api.openInEditor({file:t,baseUrl:A})}),qI=Tt("devtools:inspector-tree",async(e,t)=>{const A=await e.api.getInspectorTree(t);return jU(A)}),nK=Tt("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),iK=Tt("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),oK=Tt("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),gK=Tt("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),Yc=Tt("devtools:inspector-state",async(e,t)=>{const A=await e.api.getInspectorState(t);return jU(A)}),aK=Tt("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),sK=Tt("devtools:unhighlight-element",e=>e.api.unhighlightElement()),CM=Tt("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),CK=Tt("devtools:router-navigate",(e,t)=>{var A;(A=e.context.router)==null||A.push(t).catch(r=>r)}),IK=Tt("devtools:matched-routes",(e,t)=>{var A,r;const n=console.warn;console.warn=()=>{};const i=(r=(A=e.context.router)==null?void 0:A.resolve({path:t||"/"}).matched)!=null?r:[];return console.warn=n,JSON.stringify(i)}),lK=Tt("devtools:get-timeline-layer",e=>e.context.timelineLayer),uK=Tt("devtools:get-state",e=>{var t,A;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((A=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:A.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(r=>({id:r.id,name:r.name,version:r.version,routerId:r.routerId,moduleDetectives:r.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),GtA=Tt("devtools:toggle-high-perf-mode",(e,t)=>{FtA(t)}),xtA="devtools:bridge-action",TtA="devtools:bridge-listener",cK="__vue_devtools_bridge__",hK="__vue_devtools_bridge_target__",HtA="devtools:bridge-action-events",UtA="devtools:bridge-listener-events",KtA=ae[HtA]=new Map,_tA=ae[UtA]=new Map;function dK(){return ae[cK]}function YtA(e){ae[cK]=e}function JtA(e){ae[hK]=e}function BK(){return ae[hK]}function fK(e){YtA(e),JtA("devtools")}function Tt(e,t){return async(...A)=>{if(BK()==="devtools"){const n=dK(),i=sM();return await new Promise(o=>{n.once(i,g=>{o(g)}),n.emit(xtA,{name:e,key:i,args:A})})}else KtA.set(e,t)}}function Ns(e,t,A={}){return r=>{if(BK()==="devtools"){const{parser:i="devtools"}=A,o=i==="devtools"?li:JSON.parse,g=dK(),a=sM(),s=g.on(a,C=>{r(o(C))});return g.emit(TtA,{key:a,name:e,parser:i}),s}else return _tA.set(e,t),()=>{}}}var EK=class{constructor(e={tracker:vN,trigger:vN}){this.emitter=RtA(),this.adapter=e,this.adapter.tracker(t=>{this._emit(t.event,t.data)})}_on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}_emit(e,t){this.emitter.emit(e,t)}on(e,t){return this._on(e,t),()=>this.off(e,t)}once(e,t){const A=(...r)=>{t(...r),this.off(e,A)};this._on(e,A)}emit(e,t){this.adapter.trigger({event:e,data:t}),this._emit(e,t)}removeAllListeners(){this.emitter.all.clear()}},QK=Ns("devtools:on-state-updated",(e,t)=>{function A(n){var i;return{vueVersion:((i=n?.activeAppRecord)==null?void 0:i.version)||"",connected:n.connected,clientConnected:n.clientConnected,tabs:n.tabs,commands:n.commands,vitePluginDetected:n.vitePluginDetected,appRecords:n.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:n.activeAppRecordId}}function r(){e.api.on.devtoolsStateUpdated(n=>{t(A(n))})}if(e?.api)r();else{const n=setInterval(()=>{if(e.state.connected){const i=e.state;t(A(i)),r(),clearInterval(n)}},10)}}),vK=Ns("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(A=>{t(A)})}),pK=Ns("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(A=>{t(A)})}),jI=Ns("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(A=>{t(A)})}),Jc=Ns("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(A=>{t(A)})}),IM=Ns("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(A=>{t(A)})},{parser:"json"}),wK=Ns("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(A=>{t(A)})});function ztA(){const e=_(!1),t=_(!1),A=_(0),r=_(""),n=_([]),i=_([]),o=_(!1),g=_([]),a=_("");function s(){uK().then(C=>{const I=C;e.value=I.connected,t.value=I.clientConnected,r.value=I.vueVersion||"",n.value=I.tabs,i.value=I.commands,o.value=I.vitePluginDetected,g.value=I.appRecords,a.value=I.activeAppRecordId}),QK(C=>{e.value=C.connected,t.value=C.clientConnected,r.value=C.vueVersion||"",n.value=C.tabs,i.value=C.commands,o.value=C.vitePluginDetected,g.value=C.appRecords,a.value=C.activeAppRecordId})}return{init:s,restore:s,vueVersion:r,connected:e,clientConnected:t,componentCount:A,tabs:n,commands:i,vitePluginDetected:o,appRecords:g,activeAppRecordId:a}}function WtA(e){const t=_(e);function A(r){t.value=r}return{bridge:t,restore:A}}var DK=Symbol("VueDevToolsBridgeSymbol"),yK=Symbol("VueDevToolsStateSymbol");function qtA(e){return{install(t,A){const{bridge:r,viewMode:n}=e,i=_(n),o=ztA(),g=WtA(r);o.init(),t.provide(DK,g.bridge),t.provide(yK,o),t.provide("viewMode",i),g.bridge.value.on("toggle-view-mode",a=>{i.value=a}),t.config.globalProperties.__VUE_DEVTOOLS_UPDATE__=a=>{g.restore(a),o.restore()}}}}function lM(){return pt(DK)}function _n(){return pt(yK)}var jtA=class{constructor(e){this.socket=e}},mK=class extends jtA{constructor(e){super(e)}onnConnect(){return new Promise(e=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const t=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(t),e()})})})}};async function VtA(e="/",t=!0){var A;try{const r=`${e}@vite/client`,n=await fetch(r);if((await n.text()).startsWith("<")||!((A=n.headers.get("content-type"))!=null&&A.includes("javascript")))throw new Error("Not javascript");return await pr(()=>import(r),__vite__mapDeps([]),import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}var bK="vite:client-hot-context";function MK(){return ae[bK]}function ZtA(e){ae[bK]=e}var XtA={};async function ArA(){var e;if((e=XtA.url)!=null&&e.includes("chrome-extension://"))return;const t=await VtA(`${location.pathname.split("/__devtools__")[0]||""}/`.replace(/\/\//g,"/"),!1);return t?.createHotContext("/____")}async function erA(){const e=await ArA();e&&ZtA(e)}function uI(e){return async(...t)=>{const A=MK(),r=sM();return new Promise(n=>{const i=o=>{var g;A.off?A.off(r,i):(g=A.dispose)==null||g.call(A,i),n(o)};A.on(r,i),A.send(e,{key:r,payload:t})})}}function kK(e){return t=>{const A=MK();return A.on(e,t),()=>{var r;A.off?A.off(e,t):(r=A.dispose)==null||r.call(A,t)}}}var trA="__vue-devtools-broadcast-channel__",rrA="__VUE_DEVTOOLS_USER_APP__",SK="__VUE_DEVTOOLS_CLIENT__",nrA="__VUE_DEVTOOLS_CHECK_CONNECTION__",irA="__VUE_DEVTOOLS_CONNECTED__";function orA(e){return new EK({tracker(A){e.onmessage=r=>{r.data.target===rrA&&A(r.data.data)}},trigger(A){e.postMessage({target:SK,data:A})}})}function grA(e={}){const{onConnected:t=()=>{}}=e;let A=null;const r=new BroadcastChannel(trA);function n(){A=setInterval(()=>{r.postMessage({target:SK,data:{event:nrA}})},2e3)}r.onmessage=i=>{var o,g;((g=(o=i.data)==null?void 0:o.data)==null?void 0:g.event)===irA&&(clearInterval(A),t(r))},n()}/*!
|
|
24
24
|
* vue-router v4.3.0
|
|
25
25
|
* (c) 2024 Eduardo San Martin Morote
|
|
26
26
|
* @license MIT
|
|
27
|
-
*/const DC=typeof document<"u";function arA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const et=Object.assign;function Rp(e,t){const A={};for(const r in t){const n=t[r];A[r]=hi(n)?n.map(e):e(n)}return A}const pu=()=>{},hi=Array.isArray,NK=/#/g,srA=/&/g,CrA=/\//g,IrA=/=/g,lrA=/\?/g,PK=/\+/g,urA=/%5B/g,crA=/%5D/g,FK=/%5E/g,hrA=/%60/g,RK=/%7B/g,drA=/%7C/g,LK=/%7D/g,BrA=/%20/g;function uM(e){return encodeURI(""+e).replace(drA,"|").replace(urA,"[").replace(crA,"]")}function frA(e){return uM(e).replace(RK,"{").replace(LK,"}").replace(FK,"^")}function Vm(e){return uM(e).replace(PK,"%2B").replace(BrA,"+").replace(NK,"%23").replace(srA,"%26").replace(hrA,"`").replace(RK,"{").replace(LK,"}").replace(FK,"^")}function ErA(e){return Vm(e).replace(IrA,"%3D")}function QrA(e){return uM(e).replace(NK,"%23").replace(lrA,"%3F")}function vrA(e){return e==null?"":QrA(e).replace(CrA,"%2F")}function Xu(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const prA=/\/$/,wrA=e=>e.replace(prA,"");function Lp(e,t,A="/"){let r,n={},i="",o="";const g=t.indexOf("#");let a=t.indexOf("?");return g<a&&g>=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,g>-1?g:t.length),n=e(i)),g>-1&&(r=r||t.slice(0,g),o=t.slice(g,t.length)),r=brA(r??t,A),{fullPath:r+(i&&"?")+i+o,path:r,query:n,hash:Xu(o)}}function DrA(e,t){const A=t.query?e(t.query):"";return t.path+(A&&"?")+A+(t.hash||"")}function yrA(e,t,A){const r=t.matched.length-1,n=A.matched.length-1;return r>-1&&r===n&&cI(t.matched[r],A.matched[n])&&$K(t.params,A.params)&&e(t.query)===e(A.query)&&t.hash===A.hash}function cI(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $K(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const A in e)if(!mrA(e[A],t[A]))return!1;return!0}function mrA(e,t){return hi(e)?UP(e,t):hi(t)?UP(t,e):e===t}function UP(e,t){return hi(t)?e.length===t.length&&e.every((A,r)=>A===t[r]):e.length===1&&e[0]===t}function brA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const A=t.split("/"),r=e.split("/"),n=r[r.length-1];(n===".."||n===".")&&r.push("");let i=A.length-1,o,g;for(o=0;o<r.length;o++)if(g=r[o],g!==".")if(g==="..")i>1&&i--;else break;return A.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var Ac;(function(e){e.pop="pop",e.push="push"})(Ac||(Ac={}));var tE;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tE||(tE={}));const $p="";function MrA(e){if(!e)if(DC){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wrA(e)}const krA=/^[^#]+#/;function SrA(e,t){return e.replace(krA,"#")+t}function NrA(e,t){const A=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-A.left-(t.left||0),top:r.top-A.top-(t.top||0)}}const PrA=()=>({left:window.scrollX,top:window.scrollY});function FrA(e){let t;if("el"in e){const A=e.el,r=typeof A=="string"&&A.startsWith("#"),n=typeof A=="string"?r?document.getElementById(A.slice(1)):document.querySelector(A):A;if(!n)return;t=NrA(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function KP(e,t){return(history.state?history.state.position-t:-1)+e}const Zm=new Map;function RrA(e,t){Zm.set(e,t)}function LrA(e){const t=Zm.get(e);return Zm.delete(e),t}function $rA(e=""){let t=[],A=[$p],r=0;e=MrA(e);function n(g){r++,r!==A.length&&A.splice(r),A.push(g)}function i(g,a,{direction:s,delta:C}){const I={direction:s,delta:C,type:Ac.pop};for(const l of t)l(g,a,I)}const o={location:$p,state:{},base:e,createHref:SrA.bind(null,e),replace(g){A.splice(r--,1),n(g)},push(g,a){n(g)},listen(g){return t.push(g),()=>{const a=t.indexOf(g);a>-1&&t.splice(a,1)}},destroy(){t=[],A=[$p],r=0},go(g,a=!0){const s=this.location,C=g<0?tE.back:tE.forward;r=Math.max(0,Math.min(r+g,A.length-1)),a&&i(this.location,s,{direction:C,delta:g})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>A[r]}),o}function OrA(e){return typeof e=="string"||e&&typeof e=="object"}function OK(e){return typeof e=="string"||typeof e=="symbol"}const zo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},GK=Symbol("");var _P;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_P||(_P={}));function hI(e,t){return et(new Error,{type:e,[GK]:!0},t)}function oo(e,t){return e instanceof Error&&GK in e&&(t==null||!!(e.type&t))}const YP="[^/]+?",GrA={sensitive:!1,strict:!1,start:!0,end:!0},xrA=/[.+*?^${}()[\]/\\]/g;function TrA(e,t){const A=et({},GrA,t),r=[];let n=A.start?"^":"";const i=[];for(const s of e){const C=s.length?[]:[90];A.strict&&!s.length&&(n+="/");for(let I=0;I<s.length;I++){const l=s[I];let u=40+(A.sensitive?.25:0);if(l.type===0)I||(n+="/"),n+=l.value.replace(xrA,"\\$&"),u+=40;else if(l.type===1){const{value:c,repeatable:h,optional:d,regexp:B}=l;i.push({name:c,repeatable:h,optional:d});const f=B||YP;if(f!==YP){u+=10;try{new RegExp(`(${f})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${c}" (${f}): `+v.message)}}let E=h?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;I||(E=d&&s.length<2?`(?:/${E})`:"/"+E),d&&(E+="?"),n+=E,u+=20,d&&(u+=-8),h&&(u+=-20),f===".*"&&(u+=-50)}C.push(u)}r.push(C)}if(A.strict&&A.end){const s=r.length-1;r[s][r[s].length-1]+=.7000000000000001}A.strict||(n+="/?"),A.end?n+="$":A.strict&&(n+="(?:/|$)");const o=new RegExp(n,A.sensitive?"":"i");function g(s){const C=s.match(o),I={};if(!C)return null;for(let l=1;l<C.length;l++){const u=C[l]||"",c=i[l-1];I[c.name]=u&&c.repeatable?u.split("/"):u}return I}function a(s){let C="",I=!1;for(const l of e){(!I||!C.endsWith("/"))&&(C+="/"),I=!1;for(const u of l)if(u.type===0)C+=u.value;else if(u.type===1){const{value:c,repeatable:h,optional:d}=u,B=c in s?s[c]:"";if(hi(B)&&!h)throw new Error(`Provided param "${c}" is an array but it is not repeatable (* or + modifiers)`);const f=hi(B)?B.join("/"):B;if(!f)if(d)l.length<2&&(C.endsWith("/")?C=C.slice(0,-1):I=!0);else throw new Error(`Missing required param "${c}"`);C+=f}}return C||"/"}return{re:o,score:r,keys:i,parse:g,stringify:a}}function HrA(e,t){let A=0;for(;A<e.length&&A<t.length;){const r=t[A]-e[A];if(r)return r;A++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function UrA(e,t){let A=0;const r=e.score,n=t.score;for(;A<r.length&&A<n.length;){const i=HrA(r[A],n[A]);if(i)return i;A++}if(Math.abs(n.length-r.length)===1){if(JP(r))return 1;if(JP(n))return-1}return n.length-r.length}function JP(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const KrA={type:0,value:""},_rA=/[a-zA-Z0-9_]/;function YrA(e){if(!e)return[[]];if(e==="/")return[[KrA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(u){throw new Error(`ERR (${A})/"${s}": ${u}`)}let A=0,r=A;const n=[];let i;function o(){i&&n.push(i),i=[]}let g=0,a,s="",C="";function I(){s&&(A===0?i.push({type:0,value:s}):A===1||A===2||A===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:s,regexp:C,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),s="")}function l(){s+=a}for(;g<e.length;){if(a=e[g++],a==="\\"&&A!==2){r=A,A=4;continue}switch(A){case 0:a==="/"?(s&&I(),o()):a===":"?(I(),A=1):l();break;case 4:l(),A=r;break;case 1:a==="("?A=2:_rA.test(a)?l():(I(),A=0,a!=="*"&&a!=="?"&&a!=="+"&&g--);break;case 2:a===")"?C[C.length-1]=="\\"?C=C.slice(0,-1)+a:A=3:C+=a;break;case 3:I(),A=0,a!=="*"&&a!=="?"&&a!=="+"&&g--,C="";break;default:t("Unknown state");break}}return A===2&&t(`Unfinished custom RegExp for param "${s}"`),I(),o(),n}function JrA(e,t,A){const r=TrA(YrA(e.path),A),n=et(r,{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function zrA(e,t){const A=[],r=new Map;t=qP({strict:!1,end:!0,sensitive:!1},t);function n(C){return r.get(C)}function i(C,I,l){const u=!l,c=WrA(C);c.aliasOf=l&&l.record;const h=qP(t,C),d=[c];if("alias"in C){const E=typeof C.alias=="string"?[C.alias]:C.alias;for(const v of E)d.push(et({},c,{components:l?l.record.components:c.components,path:v,aliasOf:l?l.record:c}))}let B,f;for(const E of d){const{path:v}=E;if(I&&v[0]!=="/"){const p=I.record.path,D=p[p.length-1]==="/"?"":"/";E.path=I.record.path+(v&&D+v)}if(B=JrA(E,I,h),l?l.alias.push(B):(f=f||B,f!==B&&f.alias.push(B),u&&C.name&&!WP(B)&&o(C.name)),c.children){const p=c.children;for(let D=0;D<p.length;D++)i(p[D],B,l&&l.children[D])}l=l||B,(B.record.components&&Object.keys(B.record.components).length||B.record.name||B.record.redirect)&&a(B)}return f?()=>{o(f)}:pu}function o(C){if(OK(C)){const I=r.get(C);I&&(r.delete(C),A.splice(A.indexOf(I),1),I.children.forEach(o),I.alias.forEach(o))}else{const I=A.indexOf(C);I>-1&&(A.splice(I,1),C.record.name&&r.delete(C.record.name),C.children.forEach(o),C.alias.forEach(o))}}function g(){return A}function a(C){let I=0;for(;I<A.length&&UrA(C,A[I])>=0&&(C.record.path!==A[I].record.path||!xK(C,A[I]));)I++;A.splice(I,0,C),C.record.name&&!WP(C)&&r.set(C.record.name,C)}function s(C,I){let l,u={},c,h;if("name"in C&&C.name){if(l=r.get(C.name),!l)throw hI(1,{location:C});h=l.record.name,u=et(zP(I.params,l.keys.filter(f=>!f.optional).concat(l.parent?l.parent.keys.filter(f=>f.optional):[]).map(f=>f.name)),C.params&&zP(C.params,l.keys.map(f=>f.name))),c=l.stringify(u)}else if(C.path!=null)c=C.path,l=A.find(f=>f.re.test(c)),l&&(u=l.parse(c),h=l.record.name);else{if(l=I.name?r.get(I.name):A.find(f=>f.re.test(I.path)),!l)throw hI(1,{location:C,currentLocation:I});h=l.record.name,u=et({},I.params,C.params),c=l.stringify(u)}const d=[];let B=l;for(;B;)d.unshift(B.record),B=B.parent;return{name:h,path:c,params:u,matched:d,meta:jrA(d)}}return e.forEach(C=>i(C)),{addRoute:i,resolve:s,removeRoute:o,getRoutes:g,getRecordMatcher:n}}function zP(e,t){const A={};for(const r of t)r in e&&(A[r]=e[r]);return A}function WrA(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:qrA(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function qrA(e){const t={},A=e.props||!1;if("component"in e)t.default=A;else for(const r in e.components)t[r]=typeof A=="object"?A[r]:A;return t}function WP(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jrA(e){return e.reduce((t,A)=>et(t,A.meta),{})}function qP(e,t){const A={};for(const r in e)A[r]=r in t?t[r]:e[r];return A}function xK(e,t){return t.children.some(A=>A===e||xK(e,A))}function VrA(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;n<r.length;++n){const i=r[n].replace(PK," "),o=i.indexOf("="),g=Xu(o<0?i:i.slice(0,o)),a=o<0?null:Xu(i.slice(o+1));if(g in t){let s=t[g];hi(s)||(s=t[g]=[s]),s.push(a)}else t[g]=a}return t}function jP(e){let t="";for(let A in e){const r=e[A];if(A=ErA(A),r==null){r!==void 0&&(t+=(t.length?"&":"")+A);continue}(hi(r)?r.map(i=>i&&Vm(i)):[r&&Vm(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+A,i!=null&&(t+="="+i))})}return t}function ZrA(e){const t={};for(const A in e){const r=e[A];r!==void 0&&(t[A]=hi(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const XrA=Symbol(""),VP=Symbol(""),SQ=Symbol(""),cM=Symbol(""),Xm=Symbol("");function _l(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function A(){e=[]}return{add:t,list:()=>e.slice(),reset:A}}function sg(e,t,A,r,n,i=o=>o()){const o=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((g,a)=>{const s=l=>{l===!1?a(hI(4,{from:A,to:t})):l instanceof Error?a(l):OrA(l)?a(hI(2,{from:t,to:l})):(o&&r.enterCallbacks[n]===o&&typeof l=="function"&&o.push(l),g())},C=i(()=>e.call(r&&r.instances[n],t,A,s));let I=Promise.resolve(C);e.length<3&&(I=I.then(s)),I.catch(l=>a(l))})}function Op(e,t,A,r,n=i=>i()){const i=[];for(const o of e)for(const g in o.components){let a=o.components[g];if(!(t!=="beforeRouteEnter"&&!o.instances[g]))if(AnA(a)){const C=(a.__vccOpts||a)[t];C&&i.push(sg(C,A,r,o,g,n))}else{let s=a();i.push(()=>s.then(C=>{if(!C)return Promise.reject(new Error(`Couldn't resolve component "${g}" at "${o.path}"`));const I=arA(C)?C.default:C;o.components[g]=I;const u=(I.__vccOpts||I)[t];return u&&sg(u,A,r,o,g,n)()}))}}return i}function AnA(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ZP(e){const t=pt(SQ),A=pt(cM),r=W(()=>t.resolve(Q(e.to))),n=W(()=>{const{matched:a}=r.value,{length:s}=a,C=a[s-1],I=A.matched;if(!C||!I.length)return-1;const l=I.findIndex(cI.bind(null,C));if(l>-1)return l;const u=XP(a[s-2]);return s>1&&XP(C)===u&&I[I.length-1].path!==u?I.findIndex(cI.bind(null,a[s-2])):l}),i=W(()=>n.value>-1&&rnA(A.params,r.value.params)),o=W(()=>n.value>-1&&n.value===A.matched.length-1&&$K(A.params,r.value.params));function g(a={}){return tnA(a)?t[Q(e.replace)?"replace":"push"](Q(e.to)).catch(pu):Promise.resolve()}return{route:r,href:W(()=>r.value.href),isActive:i,isExactActive:o,navigate:g}}const enA=DA({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ZP,setup(e,{slots:t}){const A=Ug(ZP(e)),{options:r}=pt(SQ),n=W(()=>({[AF(e.activeClass,r.linkActiveClass,"router-link-active")]:A.isActive,[AF(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:A.isExactActive}));return()=>{const i=t.default&&t.default(A);return e.custom?i:WI("a",{"aria-current":A.isExactActive?e.ariaCurrentValue:null,href:A.href,onClick:A.navigate,class:n.value},i)}}}),TK=enA;function tnA(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function rnA(e,t){for(const A in t){const r=t[A],n=e[A];if(typeof r=="string"){if(r!==n)return!1}else if(!hi(n)||n.length!==r.length||r.some((i,o)=>i!==n[o]))return!1}return!0}function XP(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const AF=(e,t,A)=>e??t??A,nnA=DA({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:A}){const r=pt(Xm),n=W(()=>e.route||r.value),i=pt(VP,0),o=W(()=>{let s=Q(i);const{matched:C}=n.value;let I;for(;(I=C[s])&&!I.components;)s++;return s}),g=W(()=>n.value.matched[o.value]);Io(VP,W(()=>o.value+1)),Io(XrA,g),Io(Xm,n);const a=_();return Ae(()=>[a.value,g.value,e.name],([s,C,I],[l,u,c])=>{C&&(C.instances[I]=s,u&&u!==C&&s&&s===l&&(C.leaveGuards.size||(C.leaveGuards=u.leaveGuards),C.updateGuards.size||(C.updateGuards=u.updateGuards))),s&&C&&(!u||!cI(C,u)||!l)&&(C.enterCallbacks[I]||[]).forEach(h=>h(s))},{flush:"post"}),()=>{const s=n.value,C=e.name,I=g.value,l=I&&I.components[C];if(!l)return eF(A.default,{Component:l,route:s});const u=I.props[C],c=u?u===!0?s.params:typeof u=="function"?u(s):u:null,d=WI(l,et({},c,t,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(I.instances[C]=null)},ref:a}));return eF(A.default,{Component:d,route:s})||d}}});function eF(e,t){if(!e)return null;const A=e(t);return A.length===1?A[0]:A}const inA=nnA;function onA(e){const t=zrA(e.routes,e),A=e.parseQuery||VrA,r=e.stringifyQuery||jP,n=e.history,i=_l(),o=_l(),g=_l(),a=Zi(zo);let s=zo;DC&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const C=Rp.bind(null,Y=>""+Y),I=Rp.bind(null,vrA),l=Rp.bind(null,Xu);function u(Y,nA){let L,P;return OK(Y)?(L=t.getRecordMatcher(Y),P=nA):P=Y,t.addRoute(P,L)}function c(Y){const nA=t.getRecordMatcher(Y);nA&&t.removeRoute(nA)}function h(){return t.getRoutes().map(Y=>Y.record)}function d(Y){return!!t.getRecordMatcher(Y)}function B(Y,nA){if(nA=et({},nA||a.value),typeof Y=="string"){const b=Lp(A,Y,nA.path),G=t.resolve({path:b.path},nA),J=n.createHref(b.fullPath);return et(b,G,{params:l(G.params),hash:Xu(b.hash),redirectedFrom:void 0,href:J})}let L;if(Y.path!=null)L=et({},Y,{path:Lp(A,Y.path,nA.path).path});else{const b=et({},Y.params);for(const G in b)b[G]==null&&delete b[G];L=et({},Y,{params:I(b)}),nA.params=I(nA.params)}const P=t.resolve(L,nA),$=Y.hash||"";P.params=C(l(P.params));const z=DrA(r,et({},Y,{hash:frA($),path:P.path})),w=n.createHref(z);return et({fullPath:z,hash:$,query:r===jP?ZrA(Y.query):Y.query||{}},P,{redirectedFrom:void 0,href:w})}function f(Y){return typeof Y=="string"?Lp(A,Y,a.value.path):et({},Y)}function E(Y,nA){if(s!==Y)return hI(8,{from:nA,to:Y})}function v(Y){return F(Y)}function p(Y){return v(et(f(Y),{replace:!0}))}function D(Y){const nA=Y.matched[Y.matched.length-1];if(nA&&nA.redirect){const{redirect:L}=nA;let P=typeof L=="function"?L(Y):L;return typeof P=="string"&&(P=P.includes("?")||P.includes("#")?P=f(P):{path:P},P.params={}),et({query:Y.query,hash:Y.hash,params:P.path!=null?{}:Y.params},P)}}function F(Y,nA){const L=s=B(Y),P=a.value,$=Y.state,z=Y.force,w=Y.replace===!0,b=D(L);if(b)return F(et(f(b),{state:typeof b=="object"?et({},$,b.state):$,force:z,replace:w}),nA||L);const G=L;G.redirectedFrom=nA;let J;return!z&&yrA(r,P,L)&&(J=hI(16,{to:G,from:P}),KA(P,P,!0,!1)),(J?Promise.resolve(J):m(G,P)).catch(K=>oo(K)?oo(K,2)?K:XA(K):uA(K,G,P)).then(K=>{if(K){if(oo(K,2))return F(et({replace:w},f(K.to),{state:typeof K.to=="object"?et({},$,K.to.state):$,force:z}),nA||G)}else K=k(G,P,!0,w,$);return R(G,P,K),K})}function S(Y,nA){const L=E(Y,nA);return L?Promise.reject(L):Promise.resolve()}function N(Y){const nA=_A.values().next().value;return nA&&typeof nA.runWithContext=="function"?nA.runWithContext(Y):Y()}function m(Y,nA){let L;const[P,$,z]=gnA(Y,nA);L=Op(P.reverse(),"beforeRouteLeave",Y,nA);for(const b of P)b.leaveGuards.forEach(G=>{L.push(sg(G,Y,nA))});const w=S.bind(null,Y,nA);return L.push(w),ce(L).then(()=>{L=[];for(const b of i.list())L.push(sg(b,Y,nA));return L.push(w),ce(L)}).then(()=>{L=Op($,"beforeRouteUpdate",Y,nA);for(const b of $)b.updateGuards.forEach(G=>{L.push(sg(G,Y,nA))});return L.push(w),ce(L)}).then(()=>{L=[];for(const b of z)if(b.beforeEnter)if(hi(b.beforeEnter))for(const G of b.beforeEnter)L.push(sg(G,Y,nA));else L.push(sg(b.beforeEnter,Y,nA));return L.push(w),ce(L)}).then(()=>(Y.matched.forEach(b=>b.enterCallbacks={}),L=Op(z,"beforeRouteEnter",Y,nA,N),L.push(w),ce(L))).then(()=>{L=[];for(const b of o.list())L.push(sg(b,Y,nA));return L.push(w),ce(L)}).catch(b=>oo(b,8)?b:Promise.reject(b))}function R(Y,nA,L){g.list().forEach(P=>N(()=>P(Y,nA,L)))}function k(Y,nA,L,P,$){const z=E(Y,nA);if(z)return z;const w=nA===zo,b=DC?history.state:{};L&&(P||w?n.replace(Y.fullPath,et({scroll:w&&b&&b.scroll},$)):n.push(Y.fullPath,$)),a.value=Y,KA(Y,nA,L,w),XA()}let O;function H(){O||(O=n.listen((Y,nA,L)=>{if(!ne.listening)return;const P=B(Y),$=D(P);if($){F(et($,{replace:!0}),P).catch(pu);return}s=P;const z=a.value;DC&&RrA(KP(z.fullPath,L.delta),PrA()),m(P,z).catch(w=>oo(w,12)?w:oo(w,2)?(F(w.to,P).then(b=>{oo(b,20)&&!L.delta&&L.type===Ac.pop&&n.go(-1,!1)}).catch(pu),Promise.reject()):(L.delta&&n.go(-L.delta,!1),uA(w,P,z))).then(w=>{w=w||k(P,z,!1),w&&(L.delta&&!oo(w,8)?n.go(-L.delta,!1):L.type===Ac.pop&&oo(w,20)&&n.go(-1,!1)),R(P,z,w)}).catch(pu)}))}let X=_l(),q=_l(),Z;function uA(Y,nA,L){XA(Y);const P=q.list();return P.length?P.forEach($=>$(Y,nA,L)):console.error(Y),Promise.reject(Y)}function MA(){return Z&&a.value!==zo?Promise.resolve():new Promise((Y,nA)=>{X.add([Y,nA])})}function XA(Y){return Z||(Z=!Y,H(),X.list().forEach(([nA,L])=>Y?L(Y):nA()),X.reset()),Y}function KA(Y,nA,L,P){const{scrollBehavior:$}=e;if(!DC||!$)return Promise.resolve();const z=!L&&LrA(KP(Y.fullPath,0))||(P||!L)&&history.state&&history.state.scroll||null;return cr().then(()=>$(Y,nA,z)).then(w=>w&&FrA(w)).catch(w=>uA(w,Y,nA))}const QA=Y=>n.go(Y);let HA;const _A=new Set,ne={currentRoute:a,listening:!0,addRoute:u,removeRoute:c,hasRoute:d,getRoutes:h,resolve:B,options:e,push:v,replace:p,go:QA,back:()=>QA(-1),forward:()=>QA(1),beforeEach:i.add,beforeResolve:o.add,afterEach:g.add,onError:q.add,isReady:MA,install(Y){const nA=this;Y.component("RouterLink",TK),Y.component("RouterView",inA),Y.config.globalProperties.$router=nA,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(a)}),DC&&!HA&&a.value===zo&&(HA=!0,v(n.location).catch($=>{}));const L={};for(const $ in zo)Object.defineProperty(L,$,{get:()=>a.value[$],enumerable:!0});Y.provide(SQ,nA),Y.provide(cM,Y1(L)),Y.provide(Xm,a);const P=Y.unmount;_A.add(Y),Y.unmount=function(){_A.delete(Y),_A.size<1&&(s=zo,O&&O(),O=null,a.value=zo,HA=!1,Z=!1),P()}}};function ce(Y){return Y.reduce((nA,L)=>nA.then(()=>N(L)),Promise.resolve())}return ne}function gnA(e,t){const A=[],r=[],n=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const g=t.matched[o];g&&(e.matched.find(s=>cI(s,g))?r.push(g):A.push(g));const a=e.matched[o];a&&(t.matched.find(s=>cI(s,a))||n.push(a))}return[A,r,n]}function VI(){return pt(SQ)}function NQ(){return pt(cM)}const anA=["src","alt"],snA=["title"],zc=DA({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,A)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(M(),x("img",Ir({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,anA)):(M(),x("div",Ir({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"i-carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,snA))}}),CnA=["top","right","bottom","left"],tF=["start","end"],rF=CnA.reduce((e,t)=>e.concat(t,t+"-"+tF[0],t+"-"+tF[1]),[]),ec=Math.min,Sa=Math.max,InA={left:"right",right:"left",bottom:"top",top:"bottom"},lnA={start:"end",end:"start"};function A0(e,t,A){return Sa(e,ec(t,A))}function Ps(e,t){return typeof e=="function"?e(t):e}function Wi(e){return e.split("-")[0]}function ui(e){return e.split("-")[1]}function HK(e){return e==="x"?"y":"x"}function hM(e){return e==="y"?"height":"width"}function Wc(e){return["top","bottom"].includes(Wi(e))?"y":"x"}function dM(e){return HK(Wc(e))}function UK(e,t,A){A===void 0&&(A=!1);const r=ui(e),n=dM(e),i=hM(n);let o=n==="x"?r===(A?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=nE(o)),[o,nE(o)]}function unA(e){const t=nE(e);return[rE(e),t,rE(t)]}function rE(e){return e.replace(/start|end/g,t=>lnA[t])}function cnA(e,t,A){const r=["left","right"],n=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return A?t?n:r:t?r:n;case"left":case"right":return t?i:o;default:return[]}}function hnA(e,t,A,r){const n=ui(e);let i=cnA(Wi(e),A==="start",r);return n&&(i=i.map(o=>o+"-"+n),t&&(i=i.concat(i.map(rE)))),i}function nE(e){return e.replace(/left|right|bottom|top/g,t=>InA[t])}function dnA(e){return{top:0,right:0,bottom:0,left:0,...e}}function KK(e){return typeof e!="number"?dnA(e):{top:e,right:e,bottom:e,left:e}}function wu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function nF(e,t,A){let{reference:r,floating:n}=e;const i=Wc(t),o=dM(t),g=hM(o),a=Wi(t),s=i==="y",C=r.x+r.width/2-n.width/2,I=r.y+r.height/2-n.height/2,l=r[g]/2-n[g]/2;let u;switch(a){case"top":u={x:C,y:r.y-n.height};break;case"bottom":u={x:C,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:I};break;case"left":u={x:r.x-n.width,y:I};break;default:u={x:r.x,y:r.y}}switch(ui(t)){case"start":u[o]-=l*(A&&s?-1:1);break;case"end":u[o]+=l*(A&&s?-1:1);break}return u}const BnA=async(e,t,A)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:o}=A,g=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(t));let s=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:C,y:I}=nF(s,r,a),l=r,u={},c=0;for(let h=0;h<g.length;h++){const{name:d,fn:B}=g[h],{x:f,y:E,data:v,reset:p}=await B({x:C,y:I,initialPlacement:r,placement:l,strategy:n,middlewareData:u,rects:s,platform:o,elements:{reference:e,floating:t}});if(C=f??C,I=E??I,u={...u,[d]:{...u[d],...v}},p&&c<=50){c++,typeof p=="object"&&(p.placement&&(l=p.placement),p.rects&&(s=p.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:n}):p.rects),{x:C,y:I}=nF(s,l,a)),h=-1;continue}}return{x:C,y:I,placement:l,strategy:n,middlewareData:u}};async function PQ(e,t){var A;t===void 0&&(t={});const{x:r,y:n,platform:i,rects:o,elements:g,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:C="viewport",elementContext:I="floating",altBoundary:l=!1,padding:u=0}=Ps(t,e),c=KK(u),d=g[l?I==="floating"?"reference":"floating":I],B=wu(await i.getClippingRect({element:(A=await(i.isElement==null?void 0:i.isElement(d)))==null||A?d:d.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(g.floating)),boundary:s,rootBoundary:C,strategy:a})),f=I==="floating"?{...o.floating,x:r,y:n}:o.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(g.floating)),v=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},p=wu(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:E,strategy:a}):f);return{top:(B.top-p.top+c.top)/v.y,bottom:(p.bottom-B.bottom+c.bottom)/v.y,left:(B.left-p.left+c.left)/v.x,right:(p.right-B.right+c.right)/v.x}}const fnA=e=>({name:"arrow",options:e,async fn(t){const{x:A,y:r,placement:n,rects:i,platform:o,elements:g}=t,{element:a,padding:s=0}=Ps(e,t)||{};if(a==null)return{};const C=KK(s),I={x:A,y:r},l=dM(n),u=hM(l),c=await o.getDimensions(a),h=l==="y",d=h?"top":"left",B=h?"bottom":"right",f=h?"clientHeight":"clientWidth",E=i.reference[u]+i.reference[l]-I[l]-i.floating[u],v=I[l]-i.reference[l],p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a));let D=p?p[f]:0;(!D||!await(o.isElement==null?void 0:o.isElement(p)))&&(D=g.floating[f]||i.floating[u]);const F=E/2-v/2,S=D/2-c[u]/2-1,N=ec(C[d],S),m=ec(C[B],S),R=N,k=D-c[u]-m,O=D/2-c[u]/2+F,H=A0(R,O,k),q=ui(n)!=null&&O!=H&&i.reference[u]/2-(O<R?N:m)-c[u]/2<0?O<R?R-O:k-O:0;return{[l]:I[l]-q,data:{[l]:H,centerOffset:O-H+q}}}});function EnA(e,t,A){return(e?[...A.filter(n=>ui(n)===e),...A.filter(n=>ui(n)!==e)]:A.filter(n=>Wi(n)===n)).filter(n=>e?ui(n)===e||(t?rE(n)!==n:!1):!0)}const QnA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var A,r,n;const{rects:i,middlewareData:o,placement:g,platform:a,elements:s}=t,{crossAxis:C=!1,alignment:I,allowedPlacements:l=rF,autoAlignment:u=!0,...c}=Ps(e,t),h=I!==void 0||l===rF?EnA(I||null,u,l):l,d=await PQ(t,c),B=((A=o.autoPlacement)==null?void 0:A.index)||0,f=h[B];if(f==null)return{};const E=UK(f,i,await(a.isRTL==null?void 0:a.isRTL(s.floating)));if(g!==f)return{reset:{placement:h[0]}};const v=[d[Wi(f)],d[E[0]],d[E[1]]],p=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:f,overflows:v}],D=h[B+1];if(D)return{data:{index:B+1,overflows:p},reset:{placement:D}};const F=p.map(m=>{const R=ui(m.placement);return[m.placement,R&&C?m.overflows.slice(0,2).reduce((k,O)=>k+O,0):m.overflows[0],m.overflows]}).sort((m,R)=>m[1]-R[1]),N=((n=F.filter(m=>m[2].slice(0,ui(m[0])?2:3).every(R=>R<=0))[0])==null?void 0:n[0])||F[0][0];return N!==g?{data:{index:B+1,overflows:p},reset:{placement:N}}:{}}}},vnA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var A;const{placement:r,middlewareData:n,rects:i,initialPlacement:o,platform:g,elements:a}=t,{mainAxis:s=!0,crossAxis:C=!0,fallbackPlacements:I,fallbackStrategy:l="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:c=!0,...h}=Ps(e,t),d=Wi(r),B=Wi(o)===o,f=await(g.isRTL==null?void 0:g.isRTL(a.floating)),E=I||(B||!c?[nE(o)]:unA(o));!I&&u!=="none"&&E.push(...hnA(o,c,u,f));const v=[o,...E],p=await PQ(t,h),D=[];let F=((A=n.flip)==null?void 0:A.overflows)||[];if(s&&D.push(p[d]),C){const R=UK(r,i,f);D.push(p[R[0]],p[R[1]])}if(F=[...F,{placement:r,overflows:D}],!D.every(R=>R<=0)){var S,N;const R=(((S=n.flip)==null?void 0:S.index)||0)+1,k=v[R];if(k)return{data:{index:R,overflows:F},reset:{placement:k}};let O=(N=F.filter(H=>H.overflows[0]<=0).sort((H,X)=>H.overflows[1]-X.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(l){case"bestFit":{var m;const H=(m=F.map(X=>[X.placement,X.overflows.filter(q=>q>0).reduce((q,Z)=>q+Z,0)]).sort((X,q)=>X[1]-q[1])[0])==null?void 0:m[0];H&&(O=H);break}case"initialPlacement":O=o;break}if(r!==O)return{reset:{placement:O}}}return{}}}};async function pnA(e,t){const{placement:A,platform:r,elements:n}=e,i=await(r.isRTL==null?void 0:r.isRTL(n.floating)),o=Wi(A),g=ui(A),a=Wc(A)==="y",s=["left","top"].includes(o)?-1:1,C=i&&a?-1:1,I=Ps(t,e);let{mainAxis:l,crossAxis:u,alignmentAxis:c}=typeof I=="number"?{mainAxis:I,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...I};return g&&typeof c=="number"&&(u=g==="end"?c*-1:c),a?{x:u*C,y:l*s}:{x:l*s,y:u*C}}const wnA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:A,y:r}=t,n=await pnA(t,e);return{x:A+n.x,y:r+n.y,data:n}}}},DnA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:A,y:r,placement:n}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:g={fn:d=>{let{x:B,y:f}=d;return{x:B,y:f}}},...a}=Ps(e,t),s={x:A,y:r},C=await PQ(t,a),I=Wc(Wi(n)),l=HK(I);let u=s[l],c=s[I];if(i){const d=l==="y"?"top":"left",B=l==="y"?"bottom":"right",f=u+C[d],E=u-C[B];u=A0(f,u,E)}if(o){const d=I==="y"?"top":"left",B=I==="y"?"bottom":"right",f=c+C[d],E=c-C[B];c=A0(f,c,E)}const h=g.fn({...t,[l]:u,[I]:c});return{...h,data:{x:h.x-A,y:h.y-r}}}}},ynA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:A,rects:r,platform:n,elements:i}=t,{apply:o=()=>{},...g}=Ps(e,t),a=await PQ(t,g),s=Wi(A),C=ui(A),I=Wc(A)==="y",{width:l,height:u}=r.floating;let c,h;s==="top"||s==="bottom"?(c=s,h=C===(await(n.isRTL==null?void 0:n.isRTL(i.floating))?"start":"end")?"left":"right"):(h=s,c=C==="end"?"top":"bottom");const d=u-a[c],B=l-a[h],f=!t.middlewareData.shift;let E=d,v=B;if(I){const D=l-a.left-a.right;v=C||f?ec(B,D):D}else{const D=u-a.top-a.bottom;E=C||f?ec(d,D):D}if(f&&!C){const D=Sa(a.left,0),F=Sa(a.right,0),S=Sa(a.top,0),N=Sa(a.bottom,0);I?v=l-2*(D!==0||F!==0?D+F:Sa(a.left,a.right)):E=u-2*(S!==0||N!==0?S+N:Sa(a.top,a.bottom))}await o({...t,availableWidth:v,availableHeight:E});const p=await n.getDimensions(i.floating);return l!==p.width||u!==p.height?{reset:{rects:!0}}:{}}}};function $n(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xi(e){return $n(e).getComputedStyle(e)}const iF=Math.min,Du=Math.max,iE=Math.round;function _K(e){const t=xi(e);let A=parseFloat(t.width),r=parseFloat(t.height);const n=e.offsetWidth,i=e.offsetHeight,o=iE(A)!==n||iE(r)!==i;return o&&(A=n,r=i),{width:A,height:r,fallback:o}}function Jg(e){return JK(e)?(e.nodeName||"").toLowerCase():""}let Nd;function YK(){if(Nd)return Nd;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Nd=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Nd):navigator.userAgent}function Ti(e){return e instanceof $n(e).HTMLElement}function Dg(e){return e instanceof $n(e).Element}function JK(e){return e instanceof $n(e).Node}function oF(e){return typeof ShadowRoot>"u"?!1:e instanceof $n(e).ShadowRoot||e instanceof ShadowRoot}function FQ(e){const{overflow:t,overflowX:A,overflowY:r,display:n}=xi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+A)&&!["inline","contents"].includes(n)}function mnA(e){return["table","td","th"].includes(Jg(e))}function e0(e){const t=/firefox/i.test(YK()),A=xi(e),r=A.backdropFilter||A.WebkitBackdropFilter;return A.transform!=="none"||A.perspective!=="none"||!!r&&r!=="none"||t&&A.willChange==="filter"||t&&!!A.filter&&A.filter!=="none"||["transform","perspective"].some(n=>A.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const i=A.contain;return i!=null&&i.includes(n)})}function zK(){return!/^((?!chrome|android).)*safari/i.test(YK())}function BM(e){return["html","body","#document"].includes(Jg(e))}function WK(e){return Dg(e)?e:e.contextElement}const qK={x:1,y:1};function VC(e){const t=WK(e);if(!Ti(t))return qK;const A=t.getBoundingClientRect(),{width:r,height:n,fallback:i}=_K(t);let o=(i?iE(A.width):A.width)/r,g=(i?iE(A.height):A.height)/n;return o&&Number.isFinite(o)||(o=1),g&&Number.isFinite(g)||(g=1),{x:o,y:g}}function tc(e,t,A,r){var n,i;t===void 0&&(t=!1),A===void 0&&(A=!1);const o=e.getBoundingClientRect(),g=WK(e);let a=qK;t&&(r?Dg(r)&&(a=VC(r)):a=VC(e));const s=g?$n(g):window,C=!zK()&&A;let I=(o.left+(C&&((n=s.visualViewport)==null?void 0:n.offsetLeft)||0))/a.x,l=(o.top+(C&&((i=s.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,u=o.width/a.x,c=o.height/a.y;if(g){const h=$n(g),d=r&&Dg(r)?$n(r):r;let B=h.frameElement;for(;B&&r&&d!==h;){const f=VC(B),E=B.getBoundingClientRect(),v=getComputedStyle(B);E.x+=(B.clientLeft+parseFloat(v.paddingLeft))*f.x,E.y+=(B.clientTop+parseFloat(v.paddingTop))*f.y,I*=f.x,l*=f.y,u*=f.x,c*=f.y,I+=E.x,l+=E.y,B=$n(B).frameElement}}return{width:u,height:c,top:l,right:I+u,bottom:l+c,left:I,x:I,y:l}}function yg(e){return((JK(e)?e.ownerDocument:e.document)||window.document).documentElement}function RQ(e){return Dg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function jK(e){return tc(yg(e)).left+RQ(e).scrollLeft}function rc(e){if(Jg(e)==="html")return e;const t=e.assignedSlot||e.parentNode||oF(e)&&e.host||yg(e);return oF(t)?t.host:t}function VK(e){const t=rc(e);return BM(t)?t.ownerDocument.body:Ti(t)&&FQ(t)?t:VK(t)}function oE(e,t){var A;t===void 0&&(t=[]);const r=VK(e),n=r===((A=e.ownerDocument)==null?void 0:A.body),i=$n(r);return n?t.concat(i,i.visualViewport||[],FQ(r)?r:[]):t.concat(r,oE(r))}function gF(e,t,A){return t==="viewport"?wu(function(r,n){const i=$n(r),o=yg(r),g=i.visualViewport;let a=o.clientWidth,s=o.clientHeight,C=0,I=0;if(g){a=g.width,s=g.height;const l=zK();(l||!l&&n==="fixed")&&(C=g.offsetLeft,I=g.offsetTop)}return{width:a,height:s,x:C,y:I}}(e,A)):Dg(t)?wu(function(r,n){const i=tc(r,!0,n==="fixed"),o=i.top+r.clientTop,g=i.left+r.clientLeft,a=Ti(r)?VC(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:g*a.x,y:o*a.y}}(t,A)):wu(function(r){const n=yg(r),i=RQ(r),o=r.ownerDocument.body,g=Du(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),a=Du(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let s=-i.scrollLeft+jK(r);const C=-i.scrollTop;return xi(o).direction==="rtl"&&(s+=Du(n.clientWidth,o.clientWidth)-g),{width:g,height:a,x:s,y:C}}(yg(e)))}function aF(e){return Ti(e)&&xi(e).position!=="fixed"?e.offsetParent:null}function sF(e){const t=$n(e);let A=aF(e);for(;A&&mnA(A)&&xi(A).position==="static";)A=aF(A);return A&&(Jg(A)==="html"||Jg(A)==="body"&&xi(A).position==="static"&&!e0(A))?t:A||function(r){let n=rc(r);for(;Ti(n)&&!BM(n);){if(e0(n))return n;n=rc(n)}return null}(e)||t}function bnA(e,t,A){const r=Ti(t),n=yg(t),i=tc(e,!0,A==="fixed",t);let o={scrollLeft:0,scrollTop:0};const g={x:0,y:0};if(r||!r&&A!=="fixed")if((Jg(t)!=="body"||FQ(n))&&(o=RQ(t)),Ti(t)){const a=tc(t,!0);g.x=a.x+t.clientLeft,g.y=a.y+t.clientTop}else n&&(g.x=jK(n));return{x:i.left+o.scrollLeft-g.x,y:i.top+o.scrollTop-g.y,width:i.width,height:i.height}}const MnA={getClippingRect:function(e){let{element:t,boundary:A,rootBoundary:r,strategy:n}=e;const i=A==="clippingAncestors"?function(s,C){const I=C.get(s);if(I)return I;let l=oE(s).filter(d=>Dg(d)&&Jg(d)!=="body"),u=null;const c=xi(s).position==="fixed";let h=c?rc(s):s;for(;Dg(h)&&!BM(h);){const d=xi(h),B=e0(h);(c?B||u:B||d.position!=="static"||!u||!["absolute","fixed"].includes(u.position))?u=d:l=l.filter(f=>f!==h),h=rc(h)}return C.set(s,l),l}(t,this._c):[].concat(A),o=[...i,r],g=o[0],a=o.reduce((s,C)=>{const I=gF(t,C,n);return s.top=Du(I.top,s.top),s.right=iF(I.right,s.right),s.bottom=iF(I.bottom,s.bottom),s.left=Du(I.left,s.left),s},gF(t,g,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:A,strategy:r}=e;const n=Ti(A),i=yg(A);if(A===i)return t;let o={scrollLeft:0,scrollTop:0},g={x:1,y:1};const a={x:0,y:0};if((n||!n&&r!=="fixed")&&((Jg(A)!=="body"||FQ(i))&&(o=RQ(A)),Ti(A))){const s=tc(A);g=VC(A),a.x=s.x+A.clientLeft,a.y=s.y+A.clientTop}return{width:t.width*g.x,height:t.height*g.y,x:t.x*g.x-o.scrollLeft*g.x+a.x,y:t.y*g.y-o.scrollTop*g.y+a.y}},isElement:Dg,getDimensions:function(e){return Ti(e)?_K(e):e.getBoundingClientRect()},getOffsetParent:sF,getDocumentElement:yg,getScale:VC,async getElementRects(e){let{reference:t,floating:A,strategy:r}=e;const n=this.getOffsetParent||sF,i=this.getDimensions;return{reference:bnA(t,await n(A),r),floating:{x:0,y:0,...await i(A)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>xi(e).direction==="rtl"},knA=(e,t,A)=>{const r=new Map,n={platform:MnA,...A},i={...n.platform,_c:r};return BnA(e,t,{...n,platform:i})},za={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 nc(e,t){let A=za.themes[e]||{},r;do r=A[t],typeof r>"u"?A.$extend?A=za.themes[A.$extend]||{}:(A=null,r=za[t]):A=null;while(A);return r}function SnA(e){const t=[e];let A=za.themes[e]||{};do A.$extend&&!A.$resetCss?(t.push(A.$extend),A=za.themes[A.$extend]||{}):A=null;while(A);return t.map(r=>`v-popper--theme-${r}`)}function CF(e){const t=[e];let A=za.themes[e]||{};do A.$extend?(t.push(A.$extend),A=za.themes[A.$extend]||{}):A=null;while(A);return t}let dI=!1;if(typeof window<"u"){dI=!1;try{const e=Object.defineProperty({},"passive",{get(){dI=!0}});window.addEventListener("test",null,e)}catch{}}let ZK=!1;typeof window<"u"&&typeof navigator<"u"&&(ZK=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const XK=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),IF={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},lF={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function uF(e,t){const A=e.indexOf(t);A!==-1&&e.splice(A,1)}function Gp(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ii=[];let ya=null;const cF={};function hF(e){let t=cF[e];return t||(t=cF[e]=[]),t}let t0=function(){};typeof window<"u"&&(t0=window.Element);function Ee(e){return function(t){return nc(t.theme,e)}}const xp="__floating-vue__popper",A_=()=>DA({name:"VPopper",provide(){return{[xp]:{parentPopper:this}}},inject:{[xp]:{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:Ee("disabled")},positioningDisabled:{type:Boolean,default:Ee("positioningDisabled")},placement:{type:String,default:Ee("placement"),validator:e=>XK.includes(e)},delay:{type:[String,Number,Object],default:Ee("delay")},distance:{type:[Number,String],default:Ee("distance")},skidding:{type:[Number,String],default:Ee("skidding")},triggers:{type:Array,default:Ee("triggers")},showTriggers:{type:[Array,Function],default:Ee("showTriggers")},hideTriggers:{type:[Array,Function],default:Ee("hideTriggers")},popperTriggers:{type:Array,default:Ee("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ee("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ee("popperHideTriggers")},container:{type:[String,Object,t0,Boolean],default:Ee("container")},boundary:{type:[String,t0],default:Ee("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ee("strategy")},autoHide:{type:[Boolean,Function],default:Ee("autoHide")},handleResize:{type:Boolean,default:Ee("handleResize")},instantMove:{type:Boolean,default:Ee("instantMove")},eagerMount:{type:Boolean,default:Ee("eagerMount")},popperClass:{type:[String,Array,Object],default:Ee("popperClass")},computeTransformOrigin:{type:Boolean,default:Ee("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ee("autoMinSize")},autoSize:{type:[Boolean,String],default:Ee("autoSize")},autoMaxSize:{type:Boolean,default:Ee("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ee("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ee("preventOverflow")},overflowPadding:{type:[Number,String],default:Ee("overflowPadding")},arrowPadding:{type:[Number,String],default:Ee("arrowPadding")},arrowOverflow:{type:Boolean,default:Ee("arrowOverflow")},flip:{type:Boolean,default:Ee("flip")},shift:{type:Boolean,default:Ee("shift")},shiftCrossAxis:{type:Boolean,default:Ee("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ee("noAutoFocus")},disposeTimeout:{type:Number,default:Ee("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[xp])==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:A=!1}={}){var r,n;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(A||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.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 A;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}((A=this.parentPopper)==null?void 0:A.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(wnA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(QnA({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(DnA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(vnA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(fnA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:n,middlewareData:i})=>{let o;const{centerOffset:g}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?o=Math.abs(g)>n.reference.width/2:o=Math.abs(g)>n.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:i,middlewareData:o})=>{var g;if((g=o.autoSize)!=null&&g.skip)return{};let a,s;return i.startsWith("top")||i.startsWith("bottom")?a=n.reference.width:s=n.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=s!=null?`${s}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(ynA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:n})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const A=await knA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:A.x,y:A.y,placement:A.placement,strategy:A.strategy,arrow:{...A.middlewareData.arrow,...A.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ya&&this.instantMove&&ya.instantMove&&ya!==this.parentPopper){ya.$_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&&(ya=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 Gp(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oE(this.$_referenceNode),...oE(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),A=this.$_popperNode.querySelector(".v-popper__wrapper"),r=A.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(r.left+A.offsetLeft),i=t.y+t.height/2-(r.top+A.offsetTop);this.result.transformOrigin=`${n}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let A=0;A<ii.length;A++)t=ii[A],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}ii.push(this),document.body.classList.add("v-popper--some-open");for(const t of CF(this.theme))hF(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 Gp(),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,uF(ii,this),ii.length===0&&document.body.classList.remove("v-popper--some-open");for(const A of CF(this.theme)){const r=hF(A);uF(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${A}`)}ya===this&&(ya=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 Gp(),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=A=>{this.isShown&&!this.$_hideInProgress||(A.usedByTooltip=!0,!this.$_preventShow&&this.show({event:A}))};this.$_registerTriggerListeners(this.$_targetNodes,IF,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],IF,this.popperTriggers,this.popperShowTriggers,e);const t=A=>{A.usedByTooltip||this.hide({event:A})};this.$_registerTriggerListeners(this.$_targetNodes,lF,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],lF,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,A){this.$_events.push({targetNodes:e,eventType:t,handler:A}),e.forEach(r=>r.addEventListener(t,A,dI?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,A,r,n){let i=A;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(o=>{const g=t[o];g&&this.$_registerEventListeners(e,g,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(A=>{const{targetNodes:r,eventType:n,handler:i}=A;!e||e===n?r.forEach(o=>o.removeEventListener(n,i)):t.push(A)}),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 A of this.$_targetNodes){const r=A.getAttribute(e);r&&(A.removeAttribute(e),A.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const A in e){const r=e[A];r==null?t.removeAttribute(A):t.setAttribute(A,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(yu>=e.left&&yu<=e.right&&mu>=e.top&&mu<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),A=yu-Vo,r=mu-Zo,n=t.left+t.width/2-Vo+(t.top+t.height/2)-Zo+t.width+t.height,i=Vo+A*n,o=Zo+r*n;return Pd(Vo,Zo,i,o,t.left,t.top,t.left,t.bottom)||Pd(Vo,Zo,i,o,t.left,t.top,t.right,t.top)||Pd(Vo,Zo,i,o,t.right,t.top,t.right,t.bottom)||Pd(Vo,Zo,i,o,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(ZK){const e=dI?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>dF(t),e),document.addEventListener("touchend",t=>BF(t,!0),e)}else window.addEventListener("mousedown",e=>dF(e),!0),window.addEventListener("click",e=>BF(e,!1),!0);window.addEventListener("resize",FnA)}function dF(e,t){for(let A=0;A<ii.length;A++){const r=ii[A];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function BF(e,t){NnA(e,t)}function NnA(e,t){const A={};for(let r=ii.length-1;r>=0;r--){const n=ii[r];try{const i=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!A[n.randomId]&&fF(n,i,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let g=n.parentPopper;for(;g;)A[g.randomId]=!0,g=g.parentPopper;return}let o=n.parentPopper;for(;o&&fF(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function fF(e,t,A){return A.closeAllPopover||A.closePopover&&t||PnA(e,A)&&!t}function PnA(e,t){if(typeof e.autoHide=="function"){const A=e.autoHide(t);return e.lastAutoHide=A,A}return e.autoHide}function FnA(){for(let e=0;e<ii.length;e++)ii[e].$_computePosition()}let Vo=0,Zo=0,yu=0,mu=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Vo=yu,Zo=mu,yu=e.clientX,mu=e.clientY},dI?{passive:!0}:void 0);function Pd(e,t,A,r,n,i,o,g){const a=((o-n)*(t-i)-(g-i)*(e-n))/((g-i)*(A-e)-(o-n)*(r-t)),s=((A-e)*(t-i)-(r-t)*(e-n))/((g-i)*(A-e)-(o-n)*(r-t));return a>=0&&a<=1&&s>=0&&s<=1}const RnA={extends:A_()},LQ=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A};function LnA(e,t,A,r,n,i){return M(),x("div",{ref:"reference",class:bA(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[VA(e.$slots,"default",Oc(zI(e.slotData)))],2)}const $nA=LQ(RnA,[["render",LnA]]);function OnA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var A=e.indexOf("Trident/");if(A>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let af;function r0(){r0.init||(r0.init=!0,af=OnA()!==-1)}var $Q={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){r0(),cr(()=>{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",af&&this.$el.appendChild(e),e.data="about:blank",af||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&&(!af&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const GnA=gU();BQ("data-v-b329ee4c");const xnA={class:"resize-observer",tabindex:"-1"};fQ();const TnA=GnA((e,t,A,r,n,i)=>(M(),tA("div",xnA)));$Q.render=TnA;$Q.__scopeId="data-v-b329ee4c";$Q.__file="src/components/ResizeObserver.vue";const e_=(e="theme")=>({computed:{themeClass(){return SnA(this[e])}}}),HnA=DA({name:"VPopperContent",components:{ResizeObserver:$Q},mixins:[e_()],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}}}),UnA=["id","aria-hidden","tabindex","data-popper-placement"],KnA={ref:"inner",class:"v-popper__inner"},_nA=y("div",{class:"v-popper__arrow-outer"},null,-1),YnA=y("div",{class:"v-popper__arrow-inner"},null,-1),JnA=[_nA,YnA];function znA(e,t,A,r,n,i){const o=En("ResizeObserver");return M(),x("div",{id:e.popperId,ref:"popover",class:bA(["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:Qt(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]=$U(g=>e.autoHide&&e.$emit("hide"),["esc"]))},[y("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=g=>e.autoHide&&e.$emit("hide"))}),y("div",{class:"v-popper__wrapper",style:Qt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[y("div",KnA,[e.mounted?(M(),x(wA,{key:0},[y("div",null,[VA(e.$slots,"default")]),e.handleResize?(M(),tA(o,{key:0,onNotify:t[1]||(t[1]=g=>e.$emit("resize",g))})):pA("",!0)],64)):pA("",!0)],512),y("div",{ref:"arrow",class:"v-popper__arrow-container",style:Qt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},JnA,4)],4)],46,UnA)}const t_=LQ(HnA,[["render",znA]]),r_={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 n0=function(){};typeof window<"u"&&(n0=window.Element);const WnA=DA({name:"VPopperWrapper",components:{Popper:$nA,PopperContent:t_},mixins:[r_,e_("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,n0,Boolean],default:void 0},boundary:{type:[String,n0],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 qnA(e,t,A,r,n,i){const o=En("PopperContent"),g=En("Popper");return M(),tA(g,Ir({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]=a=>e.$emit("update:shown",a)),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:U(({popperId:a,isShown:s,shouldMountContent:C,skipTransition:I,autoHide:l,show:u,hide:c,handleResize:h,onResize:d,classes:B,result:f})=>[VA(e.$slots,"default",{shown:s,show:u,hide:c}),T(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:s,mounted:C,"skip-transition":I,"auto-hide":l,"handle-resize":h,classes:B,result:f,onHide:c,onResize:d},{default:U(()=>[VA(e.$slots,"popper",{shown:s,hide:c})]),_: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 fM=LQ(WnA,[["render",qnA]]),jnA={...fM,name:"VDropdown",vPopperTheme:"dropdown"};({...fM});const VnA={...fM,name:"VTooltip",vPopperTheme:"tooltip"},ZnA=DA({name:"VTooltipDirective",components:{Popper:A_(),PopperContent:t_},mixins:[r_],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>nc(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>nc(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,A=this.content(this);A.then?A.then(r=>this.onResult(t,r)):this.onResult(t,A)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),XnA=["innerHTML"],AiA=["textContent"];function eiA(e,t,A,r,n,i){const o=En("PopperContent"),g=En("Popper");return M(),tA(g,Ir({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:U(({popperId:a,isShown:s,shouldMountContent:C,skipTransition:I,autoHide:l,hide:u,handleResize:c,onResize:h,classes:d,result:B})=>[T(o,{ref:"popperContent",class:bA({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:s,mounted:C,"skip-transition":I,"auto-hide":l,"handle-resize":c,classes:d,result:B,onHide:u,onResize:h},{default:U(()=>[e.html?(M(),x("div",{key:0,innerHTML:e.finalContent},null,8,XnA)):(M(),x("div",{key:1,textContent:yA(e.finalContent)},null,8,AiA))]),_: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 tiA=LQ(ZnA,[["render",eiA]]),n_="v-popper--has-tooltip";function riA(e,t){let A=e.placement;if(!A&&t)for(const r of XK)t[r]&&(A=r);return A||(A=nc(e.theme||"tooltip","placement")),A}function i_(e,t,A){let r;const n=typeof t;return n==="string"?r={content:t}:t&&n==="object"?r=t:r={content:!1},r.placement=riA(r,A),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Tp,ic,niA=0;function iiA(){if(Tp)return;ic=_([]),Tp=iM({name:"VTooltipDirectiveApp",setup(){return{directives:ic}},render(){return this.directives.map(t=>WI(tiA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Tp.mount(e)}function oiA(e,t,A){iiA();const r=_(i_(e,t,A)),n=_(!1),i={id:niA++,options:r,shown:n};return ic.value.push(i),e.classList&&e.classList.add(n_),e.$_popper={options:r,item:i,show(){n.value=!0},hide(){n.value=!1}}}function o_(e){if(e.$_popper){const t=ic.value.indexOf(e.$_popper.item);t!==-1&&ic.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(n_)}function EF(e,{value:t,modifiers:A}){const r=i_(e,t,A);if(!r.content||nc(r.theme||"tooltip","disabled"))o_(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=r):n=oiA(e,t,A),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const giA={beforeMount:EF,updated:EF,beforeUnmount(e){o_(e)}};function QF(e){e.addEventListener("mousedown",gE),e.addEventListener("click",gE),e.addEventListener("touchstart",g_,dI?{passive:!0}:!1)}function vF(e){e.removeEventListener("mousedown",gE),e.removeEventListener("click",gE),e.removeEventListener("touchstart",g_),e.removeEventListener("touchend",a_),e.removeEventListener("touchcancel",s_)}function gE(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function g_(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const A=e.changedTouches[0];t.$_vclosepopover_touchPoint=A,t.addEventListener("touchend",a_),t.addEventListener("touchcancel",s_)}}function a_(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const A=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(A.screenY-r.screenY)<20&&Math.abs(A.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function s_(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const aiA={beforeMount(e,{value:t,modifiers:A}){e.$_closePopoverModifiers=A,(typeof t>"u"||t)&&QF(e)},updated(e,{value:t,oldValue:A,modifiers:r}){e.$_closePopoverModifiers=r,t!==A&&(typeof t>"u"||t?QF(e):vF(e))},beforeUnmount(e){vF(e)}},Bn=giA,C_=aiA,siA=jnA,CiA=VnA,EM=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},IiA={},liA={class:"h-3 w-3 $ui-inline-fcc"},uiA=y("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("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),ciA=[uiA];function hiA(e,t){return M(),x("div",liA,ciA)}const I_=EM(IiA,[["render",hiA]]),diA={key:2},ie=DA({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 A=e,r=t,n=XX(),i=W(()=>n.to?"router-link":n.href?"a":"button"),o=W(()=>A.loading||A.disabled);function g(I){if(o.value){I.preventDefault(),I.stopPropagation(),I.stopImmediatePropagation();return}r("click",I)}const a={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"}},s=BU(),C=W(()=>A.flat?a.flat[A.type]:A.outlined?a.outlined[A.type]:a.normal[A.type]);return(I,l)=>(M(),tA(Kg(i.value),Ir(I.$attrs,{role:"button","aria-disabled":o.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[a.common[A.type]],{"rounded-full":A.round==="full","$ui-base-br":A.round==="normal","opacity-50 cursor-not-allowed":o.value,"bg-transparent":A.flat||A.outlined},[I.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",I.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",C.value]]],onClickCapture:g}),{default:U(()=>[I.loading?(M(),tA(I_,{key:0,class:"mt0.5 h-full w3"})):VA(I.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),Q(s).default?(M(),x("div",diA,[VA(I.$slots,"default")])):pA("",!0),VA(I.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),BiA={},fiA={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function EiA(e,t){return M(),x("span",fiA,[VA(e.$slots,"default")])}const pF=EM(BiA,[["render",EiA]]),De=DA({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(e){return(t,A)=>(M(),tA(Kg(t.inline?"span":"div"),{class:bA(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function OQ(e){return x1()?(G4(e),!0):!1}function QiA(e,t,{enumerable:A=!1,unwrap:r=!0}={}){for(const[n,i]of Object.entries(t))n!=="value"&&(YA(i)&&r?Object.defineProperty(e,n,{get(){return i.value},set(o){i.value=o},enumerable:A}):Object.defineProperty(e,n,{value:i,enumerable:A}));return e}function Tn(e){return typeof e=="function"?e():Q(e)}const l_=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const viA=e=>typeof e<"u",piA=Object.prototype.toString,wiA=e=>piA.call(e)==="[object Object]",aE=()=>{},wF=DiA();function DiA(){var e,t;return l_&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function u_(e,t){function A(...r){return new Promise((n,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(i)})}return A}const c_=e=>e();function yiA(e,t={}){let A,r,n=aE;const i=o=>{clearTimeout(o),n(),n=aE};return o=>{const g=Tn(e),a=Tn(t.maxWait);return A&&i(A),g<=0||a!==void 0&&a<=0?(r&&(i(r),r=null),Promise.resolve(o())):new Promise((s,C)=>{n=t.rejectOnCancel?C:s,a&&!r&&(r=setTimeout(()=>{A&&i(A),r=null,s(o())},a)),A=setTimeout(()=>{r&&i(r),r=null,s(o())},g)})}}function miA(e=c_){const t=_(!0);function A(){t.value=!1}function r(){t.value=!0}const n=(...i)=>{t.value&&e(...i)};return{isActive:Lo(t),pause:A,resume:r,eventFilter:n}}function biA(e){return e||Aa()}function h_(...e){if(e.length!==1)return AU(...e);const t=e[0];return typeof t=="function"?Lo(j1(()=>({get:t,set:aE}))):_(t)}function MiA(e,t=200,A={}){return u_(yiA(t,A),e)}function kiA(e,t=200,A={}){const r=_(e.value),n=MiA(()=>{r.value=e.value},t,A);return Ae(e,()=>n()),r}function SiA(e,t={}){let A=e,r,n;const i=j1((a,s)=>(r=a,n=s,{get(){return o()},set(C){g(C)}}));function o(a=!0){return a&&r(),A}function g(a,s=!0){var C,I;if(a===A)return;const l=A;((C=t.onBeforeChange)==null?void 0:C.call(t,a,l))!==!1&&(A=a,(I=t.onChanged)==null||I.call(t,a,l),s&&n())}return QiA(i,{get:o,set:g,untrackedGet:()=>o(!1),silentSet:a=>g(a,!1),peek:()=>o(!1),lay:a=>g(a,!1)},{enumerable:!0})}function NiA(e,t,A={}){const{eventFilter:r=c_,...n}=A;return Ae(e,u_(r,t),n)}function PiA(e,t,A={}){const{eventFilter:r,...n}=A,{eventFilter:i,pause:o,resume:g,isActive:a}=miA(r);return{stop:NiA(e,t,{...n,eventFilter:i}),pause:o,resume:g,isActive:a}}function QM(e,t=!0,A){biA()?vn(e,A):t?e():cr(e)}function FiA(e=!1,t={}){const{truthyValue:A=!0,falsyValue:r=!1}=t,n=YA(e),i=_(e);function o(g){if(arguments.length)return i.value=g,i.value;{const a=Tn(A);return i.value=i.value===a?Tn(r):a,i.value}}return n?o:[i,o]}function dg(e){var t;const A=Tn(e);return(t=A?.$el)!=null?t:A}const zg=l_?window:void 0;function sE(...e){let t,A,r,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([A,r,n]=e,t=zg):[t,A,r,n]=e,!t)return aE;Array.isArray(A)||(A=[A]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(C=>C()),i.length=0},g=(C,I,l,u)=>(C.addEventListener(I,l,u),()=>C.removeEventListener(I,l,u)),a=Ae(()=>[dg(t),Tn(n)],([C,I])=>{if(o(),!C)return;const l=wiA(I)?{...I}:I;i.push(...A.flatMap(u=>r.map(c=>g(C,u,c,l))))},{immediate:!0,flush:"post"}),s=()=>{a(),o()};return OQ(s),s}function RiA(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function d_(...e){let t,A,r={};e.length===3?(t=e[0],A=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,A=e[0],r=e[1]):(t=e[0],A=e[1]):(t=!0,A=e[0]);const{target:n=zg,eventName:i="keydown",passive:o=!1,dedupe:g=!1}=r,a=RiA(t);return sE(n,i,s=>{s.repeat&&Tn(g)||a(s)&&A(s)},o)}function LiA(){const e=_(!1),t=Aa();return t&&vn(()=>{e.value=!0},t),e}function B_(e){const t=LiA();return W(()=>(t.value,!!e()))}function $iA(e,t={}){const{window:A=zg}=t,r=B_(()=>A&&"matchMedia"in A&&typeof A.matchMedia=="function");let n;const i=_(!1),o=s=>{i.value=s.matches},g=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",o):n.removeListener(o))},a=Er(()=>{r.value&&(g(),n=A.matchMedia(Tn(e)),"addEventListener"in n?n.addEventListener("change",o):n.addListener(o),i.value=n.matches)});return OQ(()=>{a(),g(),n=void 0}),i}function OiA(e){return JSON.parse(JSON.stringify(e))}const Fd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rd="__vueuse_ssr_handlers__",GiA=xiA();function xiA(){return Rd in Fd||(Fd[Rd]=Fd[Rd]||{}),Fd[Rd]}function f_(e,t){return GiA[e]||t}function TiA(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const HiA={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},DF="vueuse-storage";function UiA(e,t,A,r={}){var n;const{flush:i="pre",deep:o=!0,listenToStorageChanges:g=!0,writeDefaults:a=!0,mergeDefaults:s=!1,shallow:C,window:I=zg,eventFilter:l,onError:u=m=>{console.error(m)},initOnMounted:c}=r,h=(C?Zi:_)(typeof t=="function"?t():t);if(!A)try{A=f_("getDefaultStorage",()=>{var m;return(m=zg)==null?void 0:m.localStorage})()}catch(m){u(m)}if(!A)return h;const d=Tn(t),B=TiA(d),f=(n=r.serializer)!=null?n:HiA[B],{pause:E,resume:v}=PiA(h,()=>D(h.value),{flush:i,deep:o,eventFilter:l});I&&g&&QM(()=>{sE(I,"storage",S),sE(I,DF,N),c&&S()}),c||S();function p(m,R){I&&I.dispatchEvent(new CustomEvent(DF,{detail:{key:e,oldValue:m,newValue:R,storageArea:A}}))}function D(m){try{const R=A.getItem(e);if(m==null)p(R,null),A.removeItem(e);else{const k=f.write(m);R!==k&&(A.setItem(e,k),p(R,k))}}catch(R){u(R)}}function F(m){const R=m?m.newValue:A.getItem(e);if(R==null)return a&&d!=null&&A.setItem(e,f.write(d)),d;if(!m&&s){const k=f.read(R);return typeof s=="function"?s(k,d):B==="object"&&!Array.isArray(k)?{...d,...k}:k}else return typeof R!="string"?R:f.read(R)}function S(m){if(!(m&&m.storageArea!==A)){if(m&&m.key==null){h.value=d;return}if(!(m&&m.key!==e)){E();try{m?.newValue!==f.write(h.value)&&(h.value=F(m))}catch(R){u(R)}finally{m?cr(v):v()}}}}function N(m){S(m.detail)}return h}function KiA(e){return $iA("(prefers-color-scheme: dark)",e)}function _iA(e={}){const{selector:t="html",attribute:A="class",initialValue:r="auto",window:n=zg,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:g=!0,storageRef:a,emitAuto:s,disableTransition:C=!0}=e,I={auto:"",light:"light",dark:"dark",...e.modes||{}},l=KiA({window:n}),u=W(()=>l.value?"dark":"light"),c=a||(o==null?h_(r):UiA(o,r,i,{window:n,listenToStorageChanges:g})),h=W(()=>c.value==="auto"?u.value:c.value),d=f_("updateHTMLAttrs",(v,p,D)=>{const F=typeof v=="string"?n?.document.querySelector(v):dg(v);if(!F)return;let S;if(C&&(S=n.document.createElement("style"),S.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n.document.head.appendChild(S)),p==="class"){const N=D.split(/\s/g);Object.values(I).flatMap(m=>(m||"").split(/\s/g)).filter(Boolean).forEach(m=>{N.includes(m)?F.classList.add(m):F.classList.remove(m)})}else F.setAttribute(p,D);C&&(n.getComputedStyle(S).opacity,document.head.removeChild(S))});function B(v){var p;d(t,A,(p=I[v])!=null?p:v)}function f(v){e.onChanged?e.onChanged(v,B):B(v)}Ae(h,f,{flush:"post",immediate:!0}),QM(()=>f(h.value));const E=W({get(){return s?c.value:h.value},set(v){c.value=v}});try{return Object.assign(E,{store:c,system:u,state:h})}catch{return E}}function YiA(e,t,A={}){const{window:r=zg,...n}=A;let i;const o=B_(()=>r&&"ResizeObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>Array.isArray(e)?e.map(I=>dg(I)):[dg(e)]),s=Ae(a,I=>{if(g(),o.value&&r){i=new ResizeObserver(t);for(const l of I)l&&i.observe(l,n)}},{immediate:!0,flush:"post"}),C=()=>{g(),s()};return OQ(C),{isSupported:o,stop:C}}function JiA(e,t={width:0,height:0},A={}){const{window:r=zg,box:n="content-box"}=A,i=W(()=>{var I,l;return(l=(I=dg(e))==null?void 0:I.namespaceURI)==null?void 0:l.includes("svg")}),o=_(t.width),g=_(t.height),{stop:a}=YiA(e,([I])=>{const l=n==="border-box"?I.borderBoxSize:n==="content-box"?I.contentBoxSize:I.devicePixelContentBoxSize;if(r&&i.value){const u=dg(e);if(u){const c=r.getComputedStyle(u);o.value=Number.parseFloat(c.width),g.value=Number.parseFloat(c.height)}}else if(l){const u=Array.isArray(l)?l:[l];o.value=u.reduce((c,{inlineSize:h})=>c+h,0),g.value=u.reduce((c,{blockSize:h})=>c+h,0)}else o.value=I.contentRect.width,g.value=I.contentRect.height},A);QM(()=>{const I=dg(e);I&&(o.value="offsetWidth"in I?I.offsetWidth:t.width,g.value="offsetHeight"in I?I.offsetHeight:t.height)});const s=Ae(()=>dg(e),I=>{o.value=I?t.width:0,g.value=I?t.height:0});function C(){a(),s()}return{width:o,height:g,stop:C}}function Hp(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function E_(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const A=e.parentNode;return!A||A.tagName==="BODY"?!1:E_(A)}}function ziA(e){const t=e||window.event,A=t.target;return E_(A)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ld=new WeakMap;function WiA(e,t=!1){const A=_(t);let r=null;Ae(h_(e),o=>{const g=Hp(Tn(o));if(g){const a=g;Ld.get(a)||Ld.set(a,a.style.overflow),A.value&&(a.style.overflow="hidden")}},{immediate:!0});const n=()=>{const o=Hp(Tn(e));!o||A.value||(wF&&(r=sE(o,"touchmove",g=>{ziA(g)},{passive:!1})),o.style.overflow="hidden",A.value=!0)},i=()=>{var o;const g=Hp(Tn(e));!g||!A.value||(wF&&r?.(),g.style.overflow=(o=Ld.get(g))!=null?o:"",Ld.delete(g),A.value=!1)};return OQ(i),W({get(){return A.value},set(o){o?n():i()}})}function Fs(e,t,A,r={}){var n,i,o;const{clone:g=!1,passive:a=!1,eventName:s,deep:C=!1,defaultValue:I,shouldEmit:l}=r,u=Aa(),c=A||u?.emit||((n=u?.$emit)==null?void 0:n.bind(u))||((o=(i=u?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(u?.proxy));let h=s;t||(t="modelValue"),h=h||`update:${t.toString()}`;const d=E=>g?typeof g=="function"?g(E):OiA(E):E,B=()=>viA(e[t])?d(e[t]):I,f=E=>{l?l(E)&&c(h,E):c(h,E)};if(a){const E=B(),v=_(E);let p=!1;return Ae(()=>e[t],D=>{p||(p=!0,v.value=d(D),cr(()=>p=!1))}),Ae(v,D=>{!p&&(D!==e[t]||C)&&f(D)},{deep:C}),v}else return W({get(){return B()},set(E){f(E)}})}const qiA={class:"$ui-dark-toggle-vtr"},Q_=DA({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(e){const t=e,A=Fs(t,"isDark"),r=_iA({initialValue:A.value?"dark":"light",onChanged:g=>{A.value=g==="dark"}}),n=W({get:()=>r.value==="dark",set:g=>r.value=g?"dark":"light"}),i=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(g){if(!i||!g||!t.animation){n.value=!n.value;return}const a=g.clientX,s=g.clientY,C=Math.hypot(Math.max(a,innerWidth-a),Math.max(s,innerHeight-s));document.startViewTransition(async()=>{n.value=!n.value,await cr()}).ready.then(()=>{const I=[`circle(0px at ${a}px ${s}px)`,`circle(${C}px at ${a}px ${s}px)`];document.documentElement.animate({clipPath:n.value?[...I].reverse():I},{duration:t.animationDuration,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(g,a)=>(M(),x("span",qiA,[VA(g.$slots,"default",Oc(zI({mode:Q(r),isDark:n.value,toggle:o})))]))}}),jiA={},ViA={class:"$ui-base border $ui-border-base rounded shadow-sm"};function ZiA(e,t){return M(),x("div",ViA,[VA(e.$slots,"default")])}const sf=EM(jiA,[["render",ZiA]]),vM=DA({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(e){return(t,A)=>(M(),x("div",{class:bA(["fixed left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[t.dim?"bg-opacity-50!":"bg-opacity-0!",t.blur?"backdrop-blur-sm":""]])},[VA(t.$slots,"default")],2))}}),XiA={class:"h7.5 w-full $ui-fbc"},AoA={class:"text-4.5"},eoA=y("div",{class:"i-carbon-close"},null,-1),toA=[eoA],roA={class:"content transition-all transition-duration-300"},noA={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},ioA={class:"$ui-fcc"},ooA=DA({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean}},emits:["close","update:modelValue"],setup(e,{emit:t}){const A=e,r=Fs(A,"modelValue",t,{passive:!0}),n=WiA(()=>window.document.documentElement);Er(()=>{r.value?n.value=!0:n.value=!1});function i(){r.value&&A.autoClose&&(r.value=!1)}d_("Escape",()=>{i()});const o=_(!1);return vn(()=>o.value=!0),(g,a)=>o.value||g.mountTo==="body"?(M(),tA(bU,{key:0,to:g.mountTo},[T(Uc,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:U(()=>[Q(r)?(M(),tA(vM,{key:0,dim:g.dim,blur:g.blur},{default:U(()=>[y("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:Qt({width:A.width,height:A.height})},[y("div",XiA,[y("div",AoA,[VA(g.$slots,"title",{},()=>[NA(yA(A.title),1)])]),g.closable?(M(),x("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:i},toA)):pA("",!0)]),y("div",roA,[VA(g.$slots,"default")]),y("div",noA,[VA(g.$slots,"footer",{},()=>[VA(g.$slots,"footer",{},()=>[y("div",ioA,[T(ie,{type:"primary",onClick:i},{default:U(()=>[NA(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):pA("",!0)]),_:3})],8,["to"])):pA("",!0)}}),goA=["type","placeholder","disabled"],aoA={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"},Up="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",bo=DA({__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 A=e,r=t,n=Fs(A,"modelValue",r),i=kiA(W(()=>A.loading),A.loadingDebounceTime),o=SiA(!1,{onChanged(I){r("updateFocused",I)}}),g=W(()=>A.variant==="flat"||A.variant==="warning"||A.disabled||A.readonly),a=W(()=>A.disabled||i.value),s=_();let C=!1;return Er(()=>{i.value&&o.value?C=!0:!i.value&&C&&(C=!1,cr(()=>{o.value=!0}))}),vn(()=>{A.autoFocus&&(o.value=!0)}),Er(()=>{var I;o.value&&((I=s.value)==null||I.focus())}),(I,l)=>(M(),x("div",{class:bA(["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":I.variant==="flat","cursor-not-allowed opacity-50":a.value,accent:I.variant==="accent",focused:Q(o)},[I.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:l[2]||(l[2]=()=>{o.value=!0})},[I.leftIcon?(M(),x("div",{key:0,class:bA(Up)},[T(De,{icon:I.leftIcon},null,8,["icon"])])):pA("",!0),vt(y("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":l[0]||(l[0]=u=>YA(n)?n.value=u:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:I.type,placeholder:I.placeholder,disabled:a.value||I.readonly,onBlur:l[1]||(l[1]=u=>o.value=!1)},null,40,goA),[[oeA,Q(n)]]),Q(i)?(M(),x("div",{key:1,class:bA(Up)},[T(I_)])):I.rightIcon?(M(),x("div",{key:2,class:bA(Up)},[T(De,{icon:I.rightIcon},null,8,["icon"])])):pA("",!0),g.value?pA("",!0):(M(),x("div",aoA))],2))}}),soA={class:"overflow-hidden rounded-lg shadow-lg"},CoA=y("div",{class:"p2 opacity-40"}," Empty... ",-1),BI=DA({__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 Io("$ui-dropdown-disabled",W(()=>t.disabled)),(A,r)=>(M(),tA(Q(siA),{disabled:A.disabled,class:"inline-block w-auto",shown:A.shown,triggers:[A.trigger],distance:A.distance+6,placement:A.placement,skidding:A.skidding,"onUpdate:shown":r[0]||(r[0]=n=>A.$emit("update:visible",n)),onClick:r[1]||(r[1]=n=>{n.stopPropagation()})},{popper:U(({hide:n})=>[y("div",soA,[VA(A.$slots,"popper",Oc(zI({hide:n})),()=>[CoA])])]),default:U(()=>[VA(A.$slots,"default",{},()=>[T(ie,Ir({...A.buttonProps,disabled:A.disabled},{class:A.buttonClass}),hU({icon:U(()=>[VA(A.$slots,"button-icon")]),"icon-right":U(()=>[VA(A.$slots,"button-icon-right")]),_:2},[A.label?{name:"default",fn:U(()=>[NA(yA(A.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),yF=DA({__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,A=pt("$ui-dropdown-disabled",void 0);return(r,n)=>vt((M(),tA(ie,Ir({...t,round:!1},{disabled:Q(A),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:U(()=>[VA(r.$slots,"icon")]),default:U(()=>[VA(r.$slots,"default")]),_:3},16,["disabled"])),[[Q(C_)]])}}),IoA={class:"$ui-fec gap2.5"},loA=DA({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(e,{emit:t}){const A=e,r=t,n=Fs(A,"modelValue",r);Er(()=>{n.value||r("close")});function i(o=!1){(A.autoClose||o)&&(n.value=!1)}return(o,g)=>(M(),tA(ooA,{modelValue:Q(n),"onUpdate:modelValue":g[2]||(g[2]=a=>YA(n)?n.value=a:null),width:o.width,height:o.height,title:o.title,closable:!1},{footer:U(()=>[y("div",IoA,[T(ie,{onClick:g[0]||(g[0]=()=>{r("cancel"),i(!0)})},{default:U(()=>[NA(yA(o.cancelText),1)]),_:1}),T(ie,{loading:o.loading,type:"primary",onClick:g[1]||(g[1]=()=>{r("confirm"),i()})},{default:U(()=>[NA(yA(o.confirmText),1)]),_:1},8,["loading"])])]),default:U(()=>[VA(o.$slots,"default",{class:"h-auto w-auto"},()=>[NA(yA(o.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),uoA={class:"m1 min-w-35 w-auto flex flex-col"},coA=["onClick"],hoA=y("div",{class:"i-mdi-chevron-down"},null,-1),CE=DA({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:e=>String(e)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const A=e,r=t,n=BU(),i=W({get:()=>A.modelValue,set:a=>r("update:modelValue",a)}),o=W(()=>{const a=A.options.find(s=>s.value===i.value);return a!=null&&a.label?A.labelRenderer(a.label):A.placeholder});function g(a){A.multiple?i.value=i.value.includes(a.value)?i.value.filter(s=>s!==a.value):[...i.value,a.value]:i.value=a.value}return(a,s)=>(M(),tA(BI,Ir({label:o.value},{buttonProps:a.buttonProps,disabled:a.disabled}),hU({popper:U(()=>[y("div",uoA,[Q(n).item?(M(!0),x(wA,{key:0},Be(a.options,C=>(M(),x("div",{key:C.value,class:"cursor-pointer",onClick:I=>g(C)},[VA(a.$slots,"item",Oc(zI({item:C,active:a.multiple?i.value.includes(C.value):C.value===i.value,disabled:a.disabled})))],8,coA))),128)):(M(!0),x(wA,{key:1},Be(a.options,C=>vt((M(),tA(ie,{key:C.value,disabled:a.disabled,round:"normal",class:bA(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:a.multiple?i.value.includes(C.value):C.value===i.value}]),onClick:I=>g(C)},{default:U(()=>[NA(yA(C.label),1)]),_:2},1032,["disabled","class","onClick"])),[[Q(C_),a.autoClose]])),128))])]),"button-icon-right":U(()=>[hoA]),_:2},[Q(n).button?{name:"default",fn:U(()=>[VA(a.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),mF=DA({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const A=Fs(e,"modelValue",t),r=FiA(A);return(n,i)=>(M(),x("div",{class:bA([[n.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:i[0]||(i[0]=o=>!n.disabled&&Q(r)())},[VA(n.$slots,"default"),y("div",{class:bA([{selected:Q(A)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[y("div",{class:bA(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!n.disabled},{"opacity-65":n.disabled}]])},null,2)],2)],2))}}),bC=DA({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(e,{emit:t}){const A=Fs(e,"modelValue",t);return(r,n)=>(M(),x("div",{class:bA(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[Q(A)?r.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:n[0]||(n[0]=i=>A.value=!Q(A))},[y("div",{class:bA([[Q(A)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),v_=DA({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean}},emits:["update:modelValue","close"],setup(e,{emit:t}){const A=e,r=t,{height:n}=JiA(()=>typeof A.top=="string"?document.querySelector(A.top):A.top,void 0,{box:"border-box"}),i=Fs(A,"modelValue",r),o={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};d_("Escape",()=>{A.closable&&(i.value=!1)});const g=W(()=>o[A.placement]),a=_(!1);return vn(()=>a.value=!0),(s,C)=>a.value||s.mountTo==="body"?(M(),tA(bU,{key:0,to:s.mountTo},[T(Uc,{"enter-from-class":`${g.value.transition}`,"leave-to-class":`${g.value.transition}`},{default:U(()=>[Q(i)?(M(),tA(vM,{key:0,class:bA({"pointer-events-none":s.permanent}),dim:s.dim,blur:s.blur,onClick:C[2]||(C[2]=I=>s.closeOutside&&s.closable&&(i.value=!1))},{default:U(()=>[y("div",{class:bA([[g.value.class,s.contentClass??"",s.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:Qt({top:s.placement==="bottom"?"auto":`${Q(n)}px`,height:["top","bottom"].includes(s.placement)?"auto":`calc(100% - ${Q(n)}px)`}),onClick:C[1]||(C[1]=fr(()=>{},["stop"]))},[s.closable?(M(),x("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:C[0]||(C[0]=I=>i.value=!1)})):pA("",!0),VA(s.$slots,"default")],6)]),_:3},8,["class","dim","blur"])):pA("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):pA("",!0)}}),doA=DA({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(e){const t=e,A={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},r={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},n=_(!1);vn(()=>{n.value=!0,setTimeout(()=>{n.value=!1},t.duration)});const i=W(()=>t.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(o,g)=>(M(),x("div",{class:bA(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":o.placement.startsWith("top")},{"bottom-0":o.placement.startsWith("bottom")}]])},[T(Uc,{"enter-from-class":i.value,"leave-to-class":i.value,onAfterLeave:g[0]||(g[0]=()=>{var a;n.value||(a=o.onClose)==null||a.call(o)})},{default:U(()=>[n.value?(M(),x("div",{key:0,class:"flex transition-all duration-300",style:Qt({justifyContent:o.placement.includes("right")?"right":o.placement.includes("left")?"left":"center"})},[y("div",{class:bA(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[o.classes,r[o.type]]])},[y("div",{class:bA(A[o.type])},null,2),y("div",null,yA(o.message),1)],2)],4)):pA("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}}),BoA=DA({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(e){return(t,A)=>(M(),tA(Q(CiA),Ir({disabled:t.disabled,placement:t.placement},t.$attrs),{popper:U(()=>[VA(t.$slots,"popper")]),default:U(()=>[VA(t.$slots,"default")]),_:3},16,["disabled","placement"]))}});function i0(e){const t=document.createElement("div");t.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(t);const A=e.onClose;function r(){fP(null,t)}e.onClose=()=>{r(),A?.(),document.body.removeChild(t)};const n=WI(doA,e);fP(n,t)}function Mo(e){return Array.isArray?Array.isArray(e):D_(e)==="[object Array]"}const foA=1/0;function EoA(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-foA?"-0":t}function QoA(e){return e==null?"":EoA(e)}function Fi(e){return typeof e=="string"}function p_(e){return typeof e=="number"}function voA(e){return e===!0||e===!1||poA(e)&&D_(e)=="[object Boolean]"}function w_(e){return typeof e=="object"}function poA(e){return w_(e)&&e!==null}function cn(e){return e!=null}function Kp(e){return!e.trim().length}function D_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const woA="Incorrect 'index' type",DoA=e=>`Invalid value for key ${e}`,yoA=e=>`Pattern length exceeds max of ${e}.`,moA=e=>`Missing ${e} property in key`,boA=e=>`Property 'weight' in key '${e}' must be a positive integer`,bF=Object.prototype.hasOwnProperty;class MoA{constructor(t){this._keys=[],this._keyMap={};let A=0;t.forEach(r=>{let n=y_(r);this._keys.push(n),this._keyMap[n.id]=n,A+=n.weight}),this._keys.forEach(r=>{r.weight/=A})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function y_(e){let t=null,A=null,r=null,n=1,i=null;if(Fi(e)||Mo(e))r=e,t=MF(e),A=o0(e);else{if(!bF.call(e,"name"))throw new Error(moA("name"));const o=e.name;if(r=o,bF.call(e,"weight")&&(n=e.weight,n<=0))throw new Error(boA(o));t=MF(o),A=o0(o),i=e.getFn}return{path:t,id:A,weight:n,src:r,getFn:i}}function MF(e){return Mo(e)?e:e.split(".")}function o0(e){return Mo(e)?e.join("."):e}function koA(e,t){let A=[],r=!1;const n=(i,o,g)=>{if(cn(i))if(!o[g])A.push(i);else{let a=o[g];const s=i[a];if(!cn(s))return;if(g===o.length-1&&(Fi(s)||p_(s)||voA(s)))A.push(QoA(s));else if(Mo(s)){r=!0;for(let C=0,I=s.length;C<I;C+=1)n(s[C],o,g+1)}else o.length&&n(s,o,g+1)}};return n(e,Fi(t)?t.split("."):t,0),r?A:A[0]}const SoA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},NoA={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},PoA={location:0,threshold:.6,distance:100},FoA={useExtendedSearch:!1,getFn:koA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ee={...NoA,...SoA,...PoA,...FoA};const RoA=/[^ ]+/g;function LoA(e=1,t=3){const A=new Map,r=Math.pow(10,t);return{get(n){const i=n.match(RoA).length;if(A.has(i))return A.get(i);const o=1/Math.pow(i,.5*e),g=parseFloat(Math.round(o*r)/r);return A.set(i,g),g},clear(){A.clear()}}}class pM{constructor({getFn:t=ee.getFn,fieldNormWeight:A=ee.fieldNormWeight}={}){this.norm=LoA(A,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((A,r)=>{this._keysMap[A.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fi(this.docs[0])?this.docs.forEach((t,A)=>{this._addString(t,A)}):this.docs.forEach((t,A)=>{this._addObject(t,A)}),this.norm.clear())}add(t){const A=this.size();Fi(t)?this._addString(t,A):this._addObject(t,A)}removeAt(t){this.records.splice(t,1);for(let A=t,r=this.size();A<r;A+=1)this.records[A].i-=1}getValueForItemAtKeyId(t,A){return t[this._keysMap[A]]}size(){return this.records.length}_addString(t,A){if(!cn(t)||Kp(t))return;let r={v:t,i:A,n:this.norm.get(t)};this.records.push(r)}_addObject(t,A){let r={i:A,$:{}};this.keys.forEach((n,i)=>{let o=n.getFn?n.getFn(t):this.getFn(t,n.path);if(cn(o)){if(Mo(o)){let g=[];const a=[{nestedArrIndex:-1,value:o}];for(;a.length;){const{nestedArrIndex:s,value:C}=a.pop();if(cn(C))if(Fi(C)&&!Kp(C)){let I={v:C,i:s,n:this.norm.get(C)};g.push(I)}else Mo(C)&&C.forEach((I,l)=>{a.push({nestedArrIndex:l,value:I})})}r.$[i]=g}else if(Fi(o)&&!Kp(o)){let g={v:o,n:this.norm.get(o)};r.$[i]=g}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function m_(e,t,{getFn:A=ee.getFn,fieldNormWeight:r=ee.fieldNormWeight}={}){const n=new pM({getFn:A,fieldNormWeight:r});return n.setKeys(e.map(y_)),n.setSources(t),n.create(),n}function $oA(e,{getFn:t=ee.getFn,fieldNormWeight:A=ee.fieldNormWeight}={}){const{keys:r,records:n}=e,i=new pM({getFn:t,fieldNormWeight:A});return i.setKeys(r),i.setIndexRecords(n),i}function $d(e,{errors:t=0,currentLocation:A=0,expectedLocation:r=0,distance:n=ee.distance,ignoreLocation:i=ee.ignoreLocation}={}){const o=t/e.length;if(i)return o;const g=Math.abs(r-A);return n?o+g/n:g?1:o}function OoA(e=[],t=ee.minMatchCharLength){let A=[],r=-1,n=-1,i=0;for(let o=e.length;i<o;i+=1){let g=e[i];g&&r===-1?r=i:!g&&r!==-1&&(n=i-1,n-r+1>=t&&A.push([r,n]),r=-1)}return e[i-1]&&i-r>=t&&A.push([r,i-1]),A}const $a=32;function GoA(e,t,A,{location:r=ee.location,distance:n=ee.distance,threshold:i=ee.threshold,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,includeMatches:a=ee.includeMatches,ignoreLocation:s=ee.ignoreLocation}={}){if(t.length>$a)throw new Error(yoA($a));const C=t.length,I=e.length,l=Math.max(0,Math.min(r,I));let u=i,c=l;const h=g>1||a,d=h?Array(I):[];let B;for(;(B=e.indexOf(t,c))>-1;){let F=$d(t,{currentLocation:B,expectedLocation:l,distance:n,ignoreLocation:s});if(u=Math.min(F,u),c=B+C,h){let S=0;for(;S<C;)d[B+S]=1,S+=1}}c=-1;let f=[],E=1,v=C+I;const p=1<<C-1;for(let F=0;F<C;F+=1){let S=0,N=v;for(;S<N;)$d(t,{errors:F,currentLocation:l+N,expectedLocation:l,distance:n,ignoreLocation:s})<=u?S=N:v=N,N=Math.floor((v-S)/2+S);v=N;let m=Math.max(1,l-N+1),R=o?I:Math.min(l+N,I)+C,k=Array(R+2);k[R+1]=(1<<F)-1;for(let H=R;H>=m;H-=1){let X=H-1,q=A[e.charAt(X)];if(h&&(d[X]=+!!q),k[H]=(k[H+1]<<1|1)&q,F&&(k[H]|=(f[H+1]|f[H])<<1|1|f[H+1]),k[H]&p&&(E=$d(t,{errors:F,currentLocation:X,expectedLocation:l,distance:n,ignoreLocation:s}),E<=u)){if(u=E,c=X,c<=l)break;m=Math.max(1,2*l-c)}}if($d(t,{errors:F+1,currentLocation:l,expectedLocation:l,distance:n,ignoreLocation:s})>u)break;f=k}const D={isMatch:c>=0,score:Math.max(.001,E)};if(h){const F=OoA(d,g);F.length?a&&(D.indices=F):D.isMatch=!1}return D}function xoA(e){let t={};for(let A=0,r=e.length;A<r;A+=1){const n=e.charAt(A);t[n]=(t[n]||0)|1<<r-A-1}return t}class b_{constructor(t,{location:A=ee.location,threshold:r=ee.threshold,distance:n=ee.distance,includeMatches:i=ee.includeMatches,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,isCaseSensitive:a=ee.isCaseSensitive,ignoreLocation:s=ee.ignoreLocation}={}){if(this.options={location:A,threshold:r,distance:n,includeMatches:i,findAllMatches:o,minMatchCharLength:g,isCaseSensitive:a,ignoreLocation:s},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const C=(l,u)=>{this.chunks.push({pattern:l,alphabet:xoA(l),startIndex:u})},I=this.pattern.length;if(I>$a){let l=0;const u=I%$a,c=I-u;for(;l<c;)C(this.pattern.substr(l,$a),l),l+=$a;if(u){const h=I-$a;C(this.pattern.substr(h),h)}}else C(this.pattern,0)}searchIn(t){const{isCaseSensitive:A,includeMatches:r}=this.options;if(A||(t=t.toLowerCase()),this.pattern===t){let c={isMatch:!0,score:0};return r&&(c.indices=[[0,t.length-1]]),c}const{location:n,distance:i,threshold:o,findAllMatches:g,minMatchCharLength:a,ignoreLocation:s}=this.options;let C=[],I=0,l=!1;this.chunks.forEach(({pattern:c,alphabet:h,startIndex:d})=>{const{isMatch:B,score:f,indices:E}=GoA(t,c,h,{location:n+d,distance:i,threshold:o,findAllMatches:g,minMatchCharLength:a,includeMatches:r,ignoreLocation:s});B&&(l=!0),I+=f,B&&E&&(C=[...C,...E])});let u={isMatch:l,score:l?I/this.chunks.length:1};return l&&r&&(u.indices=C),u}}class ta{constructor(t){this.pattern=t}static isMultiMatch(t){return kF(t,this.multiRegex)}static isSingleMatch(t){return kF(t,this.singleRegex)}search(){}}function kF(e,t){const A=e.match(t);return A?A[1]:null}class ToA extends ta{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const A=t===this.pattern;return{isMatch:A,score:A?0:1,indices:[0,this.pattern.length-1]}}}class HoA extends ta{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class UoA extends ta{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const A=t.startsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,this.pattern.length-1]}}}class KoA extends ta{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const A=!t.startsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,t.length-1]}}}class _oA extends ta{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const A=t.endsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class YoA extends ta{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const A=!t.endsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,t.length-1]}}}class M_ extends ta{constructor(t,{location:A=ee.location,threshold:r=ee.threshold,distance:n=ee.distance,includeMatches:i=ee.includeMatches,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,isCaseSensitive:a=ee.isCaseSensitive,ignoreLocation:s=ee.ignoreLocation}={}){super(t),this._bitapSearch=new b_(t,{location:A,threshold:r,distance:n,includeMatches:i,findAllMatches:o,minMatchCharLength:g,isCaseSensitive:a,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class k_ extends ta{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let A=0,r;const n=[],i=this.pattern.length;for(;(r=t.indexOf(this.pattern,A))>-1;)A=r+i,n.push([r,A-1]);const o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const g0=[ToA,k_,UoA,KoA,YoA,_oA,HoA,M_],SF=g0.length,JoA=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,zoA="|";function WoA(e,t={}){return e.split(zoA).map(A=>{let r=A.trim().split(JoA).filter(i=>i&&!!i.trim()),n=[];for(let i=0,o=r.length;i<o;i+=1){const g=r[i];let a=!1,s=-1;for(;!a&&++s<SF;){const C=g0[s];let I=C.isMultiMatch(g);I&&(n.push(new C(I,t)),a=!0)}if(!a)for(s=-1;++s<SF;){const C=g0[s];let I=C.isSingleMatch(g);if(I){n.push(new C(I,t));break}}}return n})}const qoA=new Set([M_.type,k_.type]);class joA{constructor(t,{isCaseSensitive:A=ee.isCaseSensitive,includeMatches:r=ee.includeMatches,minMatchCharLength:n=ee.minMatchCharLength,ignoreLocation:i=ee.ignoreLocation,findAllMatches:o=ee.findAllMatches,location:g=ee.location,threshold:a=ee.threshold,distance:s=ee.distance}={}){this.query=null,this.options={isCaseSensitive:A,includeMatches:r,minMatchCharLength:n,findAllMatches:o,ignoreLocation:i,location:g,threshold:a,distance:s},this.pattern=A?t:t.toLowerCase(),this.query=WoA(this.pattern,this.options)}static condition(t,A){return A.useExtendedSearch}searchIn(t){const A=this.query;if(!A)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n}=this.options;t=n?t:t.toLowerCase();let i=0,o=[],g=0;for(let a=0,s=A.length;a<s;a+=1){const C=A[a];o.length=0,i=0;for(let I=0,l=C.length;I<l;I+=1){const u=C[I],{isMatch:c,indices:h,score:d}=u.search(t);if(c){if(i+=1,g+=d,r){const B=u.constructor.type;qoA.has(B)?o=[...o,...h]:o.push(h)}}else{g=0,i=0,o.length=0;break}}if(i){let I={isMatch:!0,score:g/i};return r&&(I.indices=o),I}}return{isMatch:!1,score:1}}}const a0=[];function VoA(...e){a0.push(...e)}function s0(e,t){for(let A=0,r=a0.length;A<r;A+=1){let n=a0[A];if(n.condition(e,t))return new n(e,t)}return new b_(e,t)}const IE={AND:"$and",OR:"$or"},C0={PATH:"$path",PATTERN:"$val"},I0=e=>!!(e[IE.AND]||e[IE.OR]),ZoA=e=>!!e[C0.PATH],XoA=e=>!Mo(e)&&w_(e)&&!I0(e),NF=e=>({[IE.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function S_(e,t,{auto:A=!0}={}){const r=n=>{let i=Object.keys(n);const o=ZoA(n);if(!o&&i.length>1&&!I0(n))return r(NF(n));if(XoA(n)){const a=o?n[C0.PATH]:i[0],s=o?n[C0.PATTERN]:n[a];if(!Fi(s))throw new Error(DoA(a));const C={keyId:o0(a),pattern:s};return A&&(C.searcher=s0(s,t)),C}let g={children:[],operator:i[0]};return i.forEach(a=>{const s=n[a];Mo(s)&&s.forEach(C=>{g.children.push(r(C))})}),g};return I0(e)||(e=NF(e)),r(e)}function AgA(e,{ignoreFieldNorm:t=ee.ignoreFieldNorm}){e.forEach(A=>{let r=1;A.matches.forEach(({key:n,norm:i,score:o})=>{const g=n?n.weight:null;r*=Math.pow(o===0&&g?Number.EPSILON:o,(g||1)*(t?1:i))}),A.score=r})}function egA(e,t){const A=e.matches;t.matches=[],cn(A)&&A.forEach(r=>{if(!cn(r.indices)||!r.indices.length)return;const{indices:n,value:i}=r;let o={indices:n,value:i};r.key&&(o.key=r.key.src),r.idx>-1&&(o.refIndex=r.idx),t.matches.push(o)})}function tgA(e,t){t.score=e.score}function rgA(e,t,{includeMatches:A=ee.includeMatches,includeScore:r=ee.includeScore}={}){const n=[];return A&&n.push(egA),r&&n.push(tgA),e.map(i=>{const{idx:o}=i,g={item:t[o],refIndex:o};return n.length&&n.forEach(a=>{a(i,g)}),g})}class Rs{constructor(t,A={},r){this.options={...ee,...A},this.options.useExtendedSearch,this._keyStore=new MoA(this.options.keys),this.setCollection(t,r)}setCollection(t,A){if(this._docs=t,A&&!(A instanceof pM))throw new Error(woA);this._myIndex=A||m_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){cn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const A=[];for(let r=0,n=this._docs.length;r<n;r+=1){const i=this._docs[r];t(i,r)&&(this.removeAt(r),r-=1,n-=1,A.push(i))}return A}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:A=-1}={}){const{includeMatches:r,includeScore:n,shouldSort:i,sortFn:o,ignoreFieldNorm:g}=this.options;let a=Fi(t)?Fi(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return AgA(a,{ignoreFieldNorm:g}),i&&a.sort(o),p_(A)&&A>-1&&(a=a.slice(0,A)),rgA(a,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(t){const A=s0(t,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:i,i:o,n:g})=>{if(!cn(i))return;const{isMatch:a,score:s,indices:C}=A.searchIn(i);a&&n.push({item:i,idx:o,matches:[{score:s,value:i,norm:g,indices:C}]})}),n}_searchLogical(t){const A=S_(t,this.options),r=(g,a,s)=>{if(!g.children){const{keyId:I,searcher:l}=g,u=this._findMatches({key:this._keyStore.get(I),value:this._myIndex.getValueForItemAtKeyId(a,I),searcher:l});return u&&u.length?[{idx:s,item:a,matches:u}]:[]}const C=[];for(let I=0,l=g.children.length;I<l;I+=1){const u=g.children[I],c=r(u,a,s);if(c.length)C.push(...c);else if(g.operator===IE.AND)return[]}return C},n=this._myIndex.records,i={},o=[];return n.forEach(({$:g,i:a})=>{if(cn(g)){let s=r(A,g,a);s.length&&(i[a]||(i[a]={idx:a,item:g,matches:[]},o.push(i[a])),s.forEach(({matches:C})=>{i[a].matches.push(...C)}))}}),o}_searchObjectList(t){const A=s0(t,this.options),{keys:r,records:n}=this._myIndex,i=[];return n.forEach(({$:o,i:g})=>{if(!cn(o))return;let a=[];r.forEach((s,C)=>{a.push(...this._findMatches({key:s,value:o[C],searcher:A}))}),a.length&&i.push({idx:g,item:o,matches:a})}),i}_findMatches({key:t,value:A,searcher:r}){if(!cn(A))return[];let n=[];if(Mo(A))A.forEach(({v:i,i:o,n:g})=>{if(!cn(i))return;const{isMatch:a,score:s,indices:C}=r.searchIn(i);a&&n.push({score:s,key:t,value:i,idx:o,norm:g,indices:C})});else{const{v:i,n:o}=A,{isMatch:g,score:a,indices:s}=r.searchIn(i);g&&n.push({score:a,key:t,value:i,norm:o,indices:s})}return n}}Rs.version="7.0.0";Rs.createIndex=m_;Rs.parseIndex=$oA;Rs.config=ee;Rs.parseQuery=S_;VoA(joA);const ngA=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"},{icon:"i-icon-park-outline:vertical-timeline",name:"timeline",order:-100,path:"timeline",title:"Timeline"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-logos-pinia",name:"pinia",order:-100,path:"pinia",title:"Pinia"},{icon:"i-carbon-language",name:"i18n",order:-100,path:"i18n",title:"I18n Resources"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],N_=["assets","graph","vite-inspect"],PF={pinia:"pinia",router:"vueRouter",i18n:"vueI18n"};function igA(e,t){const A=t.name;return A in PF&&e[PF[A]]}function ogA(e,t){const A=Kf(ngA);return A.forEach(r=>{r[0]==="modules"&&(r[1]=r[1].filter(n=>t?igA(t,n):!0))}),e&&!F1?A:A.map(([r,n])=>[r,n.filter(i=>!N_.includes(i.name))])}const P_=Zi([]),F_=_(null),ggA=W(()=>P_.value.find(e=>e.id===F_.value));function qi(e){return x1()?(G4(e),!0):!1}function It(e){return typeof e=="function"?e():Q(e)}const Is=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const agA=e=>typeof e<"u",sgA=e=>e!=null,CgA=Object.prototype.toString,IgA=e=>CgA.call(e)==="[object Object]",lo=()=>{},lgA=ugA();function ugA(){var e,t;return Is&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function cgA(e,t){function A(...r){return new Promise((n,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(i)})}return A}const R_=e=>e();function hgA(e,t={}){let A,r,n=lo;const i=g=>{clearTimeout(g),n(),n=lo};return g=>{const a=It(e),s=It(t.maxWait);return A&&i(A),a<=0||s!==void 0&&s<=0?(r&&(i(r),r=null),Promise.resolve(g())):new Promise((C,I)=>{n=t.rejectOnCancel?I:C,s&&!r&&(r=setTimeout(()=>{A&&i(A),r=null,C(g())},s)),A=setTimeout(()=>{r&&i(r),r=null,C(g())},a)})}}function dgA(e=R_){const t=_(!0);function A(){t.value=!1}function r(){t.value=!0}const n=(...i)=>{t.value&&e(...i)};return{isActive:Lo(t),pause:A,resume:r,eventFilter:n}}function FF(e,t=!1,A="Timeout"){return new Promise((r,n)=>{setTimeout(t?()=>n(A):r,e)})}function BgA(e){let t;function A(){return t||(t=e()),t}return A.reset=async()=>{const r=t;t=void 0,r&&await r},A}function fgA(e){return e||Aa()}function EgA(...e){if(e.length!==1)return AU(...e);const t=e[0];return typeof t=="function"?Lo(j1(()=>({get:t,set:lo}))):_(t)}function L_(e,t,A={}){const{eventFilter:r=R_,...n}=A;return Ae(e,cgA(r,t),n)}function QgA(e,t,A={}){const{eventFilter:r,...n}=A,{eventFilter:i,pause:o,resume:g,isActive:a}=dgA(r);return{stop:L_(e,t,{...n,eventFilter:i}),pause:o,resume:g,isActive:a}}function qc(e,t=!0,A){fgA()?vn(e,A):t?e():cr(e)}function l0(e,t=!1){function A(I,{flush:l="sync",deep:u=!1,timeout:c,throwOnTimeout:h}={}){let d=null;const f=[new Promise(E=>{d=Ae(e,v=>{I(v)!==t&&(d?.(),E(v))},{flush:l,deep:u,immediate:!0})})];return c!=null&&f.push(FF(c,h).then(()=>It(e)).finally(()=>d?.())),Promise.race(f)}function r(I,l){if(!YA(I))return A(v=>v===I,l);const{flush:u="sync",deep:c=!1,timeout:h,throwOnTimeout:d}=l??{};let B=null;const E=[new Promise(v=>{B=Ae([e,I],([p,D])=>{t!==(p===D)&&(B?.(),v(p))},{flush:u,deep:c,immediate:!0})})];return h!=null&&E.push(FF(h,d).then(()=>It(e)).finally(()=>(B?.(),It(e)))),Promise.race(E)}function n(I){return A(l=>!!l,I)}function i(I){return r(null,I)}function o(I){return r(void 0,I)}function g(I){return A(Number.isNaN,I)}function a(I,l){return A(u=>{const c=Array.from(u);return c.includes(I)||c.includes(It(I))},l)}function s(I){return C(1,I)}function C(I=1,l){let u=-1;return A(()=>(u+=1,u>=I),l)}return Array.isArray(It(e))?{toMatch:A,toContains:a,changed:s,changedTimes:C,get not(){return l0(e,!t)}}:{toMatch:A,toBe:r,toBeTruthy:n,toBeNull:i,toBeNaN:g,toBeUndefined:o,changed:s,changedTimes:C,get not(){return l0(e,!t)}}}function vgA(e){return l0(e)}function pgA(e,t=1e3,A={}){const{immediate:r=!0,immediateCallback:n=!1}=A;let i=null;const o=_(!1);function g(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,g()}function s(){const C=It(t);C<=0||(o.value=!0,n&&e(),g(),i=setInterval(e,C))}if(r&&Is&&s(),YA(t)||typeof t=="function"){const C=Ae(t,()=>{o.value&&Is&&s()});qi(C)}return qi(a),{isActive:o,pause:a,resume:s}}function wgA(e,t,A={}){const{immediate:r=!0}=A,n=_(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function g(){n.value=!1,o()}function a(...s){o(),n.value=!0,i=setTimeout(()=>{n.value=!1,i=null,e(...s)},It(t))}return r&&(n.value=!0,Is&&a()),qi(g),{isPending:Lo(n),start:a,stop:g}}function wM(e=!1,t={}){const{truthyValue:A=!0,falsyValue:r=!1}=t,n=YA(e),i=_(e);function o(g){if(arguments.length)return i.value=g,i.value;{const a=It(A);return i.value=i.value===a?It(r):a,i.value}}return n?o:[i,o]}function DM(e,t,A={}){const{debounce:r=0,maxWait:n=void 0,...i}=A;return L_(e,t,{...i,eventFilter:hgA(r,{maxWait:n})})}function $_(e,t,A){const r=Ae(e,(...n)=>(cr(()=>r()),t(...n)),A);return r}function RF(e,t,A){let r;YA(A)?r={evaluating:A}:r=A||{};const{lazy:n=!1,evaluating:i=void 0,shallow:o=!0,onError:g=lo}=r,a=_(!n),s=o?Zi(t):_(t);let C=0;return Er(async I=>{if(!a.value)return;C++;const l=C;let u=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const c=await e(h=>{I(()=>{i&&(i.value=!1),u||h()})});l===C&&(s.value=c)}catch(c){g(c)}finally{i&&l===C&&(i.value=!1),u=!0}}),n?W(()=>(a.value=!0,s.value)):s}function gi(e){var t;const A=It(e);return(t=A?.$el)!=null?t:A}const Qn=Is?window:void 0,DgA=Is?window.document:void 0,O_=Is?window.navigator:void 0;function Zt(...e){let t,A,r,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([A,r,n]=e,t=Qn):[t,A,r,n]=e,!t)return lo;Array.isArray(A)||(A=[A]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(C=>C()),i.length=0},g=(C,I,l,u)=>(C.addEventListener(I,l,u),()=>C.removeEventListener(I,l,u)),a=Ae(()=>[gi(t),It(n)],([C,I])=>{if(o(),!C)return;const l=IgA(I)?{...I}:I;i.push(...A.flatMap(u=>r.map(c=>g(C,u,c,l))))},{immediate:!0,flush:"post"}),s=()=>{a(),o()};return qi(s),s}let LF=!1;function ygA(e,t,A={}){const{window:r=Qn,ignore:n=[],capture:i=!0,detectIframe:o=!1}=A;if(!r)return lo;lgA&&!LF&&(LF=!0,Array.from(r.document.body.children).forEach(l=>l.addEventListener("click",lo)),r.document.documentElement.addEventListener("click",lo));let g=!0;const a=l=>n.some(u=>{if(typeof u=="string")return Array.from(r.document.querySelectorAll(u)).some(c=>c===l.target||l.composedPath().includes(c));{const c=gi(u);return c&&(l.target===c||l.composedPath().includes(c))}}),C=[Zt(r,"click",l=>{const u=gi(e);if(!(!u||u===l.target||l.composedPath().includes(u))){if(l.detail===0&&(g=!a(l)),!g){g=!0;return}t(l)}},{passive:!0,capture:i}),Zt(r,"pointerdown",l=>{const u=gi(e);g=!a(l)&&!!(u&&!l.composedPath().includes(u))},{passive:!0}),o&&Zt(r,"blur",l=>{setTimeout(()=>{var u;const c=gi(e);((u=r.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!c?.contains(r.document.activeElement)&&t(l)},0)})].filter(Boolean);return()=>C.forEach(l=>l())}function mgA(){const e=_(!1),t=Aa();return t&&vn(()=>{e.value=!0},t),e}function ZI(e){const t=mgA();return W(()=>(t.value,!!e()))}function bgA(e,t={}){const{immediate:A=!0,fpsLimit:r=void 0,window:n=Qn}=t,i=_(!1),o=r?1e3/r:null;let g=0,a=null;function s(l){if(!i.value||!n)return;g||(g=l);const u=l-g;if(o&&u<o){a=n.requestAnimationFrame(s);return}g=l,e({delta:u,timestamp:l}),a=n.requestAnimationFrame(s)}function C(){!i.value&&n&&(i.value=!0,g=0,a=n.requestAnimationFrame(s))}function I(){i.value=!1,a!=null&&n&&(n.cancelAnimationFrame(a),a=null)}return A&&C(),qi(I),{isActive:Lo(i),pause:I,resume:C}}function G_(e,t={}){const{window:A=Qn}=t,r=ZI(()=>A&&"matchMedia"in A&&typeof A.matchMedia=="function");let n;const i=_(!1),o=s=>{i.value=s.matches},g=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",o):n.removeListener(o))},a=Er(()=>{r.value&&(g(),n=A.matchMedia(It(e)),"addEventListener"in n?n.addEventListener("change",o):n.addListener(o),i.value=n.matches)});return qi(()=>{a(),g(),n=void 0}),i}function $F(e,t={}){const{controls:A=!1,navigator:r=O_}=t,n=ZI(()=>r&&"permissions"in r);let i;const o=typeof e=="string"?{name:e}:e,g=_(),a=()=>{i&&(g.value=i.state)},s=BgA(async()=>{if(n.value){if(!i)try{i=await r.permissions.query(o),Zt(i,"change",a),a()}catch{g.value="prompt"}return i}});return s(),A?{state:g,isSupported:n,query:s}:g}function yM(e={}){const{navigator:t=O_,read:A=!1,source:r,copiedDuring:n=1500,legacy:i=!1}=e,o=ZI(()=>t&&"clipboard"in t),g=$F("clipboard-read"),a=$F("clipboard-write"),s=W(()=>o.value||i),C=_(""),I=_(!1),l=wgA(()=>I.value=!1,n);function u(){o.value&&B(g.value)?t.clipboard.readText().then(f=>{C.value=f}):C.value=d()}s.value&&A&&Zt(["copy","cut"],u);async function c(f=It(r)){s.value&&f!=null&&(o.value&&B(a.value)?await t.clipboard.writeText(f):h(f),C.value=f,I.value=!0,l.start())}function h(f){const E=document.createElement("textarea");E.value=f??"",E.style.position="absolute",E.style.opacity="0",document.body.appendChild(E),E.select(),document.execCommand("copy"),E.remove()}function d(){var f,E,v;return(v=(E=(f=document?.getSelection)==null?void 0:f.call(document))==null?void 0:E.toString())!=null?v:""}function B(f){return f==="granted"||f==="prompt"}return{isSupported:s,text:C,copied:I,copy:c}}function MgA(e){return JSON.parse(JSON.stringify(e))}const Od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gd="__vueuse_ssr_handlers__",kgA=SgA();function SgA(){return Gd in Od||(Od[Gd]=Od[Gd]||{}),Od[Gd]}function x_(e,t){return kgA[e]||t}function NgA(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const PgA={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},OF="vueuse-storage";function T_(e,t,A,r={}){var n;const{flush:i="pre",deep:o=!0,listenToStorageChanges:g=!0,writeDefaults:a=!0,mergeDefaults:s=!1,shallow:C,window:I=Qn,eventFilter:l,onError:u=m=>{console.error(m)},initOnMounted:c}=r,h=(C?Zi:_)(typeof t=="function"?t():t);if(!A)try{A=x_("getDefaultStorage",()=>{var m;return(m=Qn)==null?void 0:m.localStorage})()}catch(m){u(m)}if(!A)return h;const d=It(t),B=NgA(d),f=(n=r.serializer)!=null?n:PgA[B],{pause:E,resume:v}=QgA(h,()=>D(h.value),{flush:i,deep:o,eventFilter:l});I&&g&&qc(()=>{Zt(I,"storage",S),Zt(I,OF,N),c&&S()}),c||S();function p(m,R){I&&I.dispatchEvent(new CustomEvent(OF,{detail:{key:e,oldValue:m,newValue:R,storageArea:A}}))}function D(m){try{const R=A.getItem(e);if(m==null)p(R,null),A.removeItem(e);else{const k=f.write(m);R!==k&&(A.setItem(e,k),p(R,k))}}catch(R){u(R)}}function F(m){const R=m?m.newValue:A.getItem(e);if(R==null)return a&&d!=null&&A.setItem(e,f.write(d)),d;if(!m&&s){const k=f.read(R);return typeof s=="function"?s(k,d):B==="object"&&!Array.isArray(k)?{...d,...k}:k}else return typeof R!="string"?R:f.read(R)}function S(m){if(!(m&&m.storageArea!==A)){if(m&&m.key==null){h.value=d;return}if(!(m&&m.key!==e)){E();try{m?.newValue!==f.write(h.value)&&(h.value=F(m))}catch(R){u(R)}finally{m?cr(v):v()}}}}function N(m){S(m.detail)}return h}function H_(e){return G_("(prefers-color-scheme: dark)",e)}function GQ(e={}){const{selector:t="html",attribute:A="class",initialValue:r="auto",window:n=Qn,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:g=!0,storageRef:a,emitAuto:s,disableTransition:C=!0}=e,I={auto:"",light:"light",dark:"dark",...e.modes||{}},l=H_({window:n}),u=W(()=>l.value?"dark":"light"),c=a||(o==null?EgA(r):T_(o,r,i,{window:n,listenToStorageChanges:g})),h=W(()=>c.value==="auto"?u.value:c.value),d=x_("updateHTMLAttrs",(v,p,D)=>{const F=typeof v=="string"?n?.document.querySelector(v):gi(v);if(!F)return;let S;if(C&&(S=n.document.createElement("style"),S.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n.document.head.appendChild(S)),p==="class"){const N=D.split(/\s/g);Object.values(I).flatMap(m=>(m||"").split(/\s/g)).filter(Boolean).forEach(m=>{N.includes(m)?F.classList.add(m):F.classList.remove(m)})}else F.setAttribute(p,D);C&&(n.getComputedStyle(S).opacity,document.head.removeChild(S))});function B(v){var p;d(t,A,(p=I[v])!=null?p:v)}function f(v){e.onChanged?e.onChanged(v,B):B(v)}Ae(h,f,{flush:"post",immediate:!0}),qc(()=>f(h.value));const E=W({get(){return s?c.value:h.value},set(v){c.value=v}});try{return Object.assign(E,{store:c,system:u,state:h})}catch{return E}}function FgA(e,t,A={}){const{window:r=Qn,...n}=A;let i;const o=ZI(()=>r&&"MutationObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>{const l=It(e),u=(Array.isArray(l)?l:[l]).map(gi).filter(sgA);return new Set(u)}),s=Ae(()=>a.value,l=>{g(),o.value&&r&&l.size&&(i=new MutationObserver(t),l.forEach(u=>i.observe(u,n)))},{immediate:!0,flush:"post"}),C=()=>i?.takeRecords(),I=()=>{g(),s()};return qi(I),{isSupported:o,stop:I,takeRecords:C}}function RgA(e={}){const{valueDark:t="dark",valueLight:A="",window:r=Qn}=e,n=GQ({...e,onChanged:(g,a)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,g==="dark",a,g):a(g)},modes:{dark:t,light:A}}),i=W(()=>n.system?n.system.value:H_({window:r}).value?"dark":"light");return W({get(){return n.value==="dark"},set(g){const a=g?"dark":"light";i.value===a?n.value="auto":n.value=a}})}function LgA(e,t,A={}){const{window:r=Qn,...n}=A;let i;const o=ZI(()=>r&&"ResizeObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>Array.isArray(e)?e.map(I=>gi(I)):[gi(e)]),s=Ae(a,I=>{if(g(),o.value&&r){i=new ResizeObserver(t);for(const l of I)l&&i.observe(l,n)}},{immediate:!0,flush:"post"}),C=()=>{g(),s()};return qi(C),{isSupported:o,stop:C}}function $gA(e,t={}){const{reset:A=!0,windowResize:r=!0,windowScroll:n=!0,immediate:i=!0}=t,o=_(0),g=_(0),a=_(0),s=_(0),C=_(0),I=_(0),l=_(0),u=_(0);function c(){const h=gi(e);if(!h){A&&(o.value=0,g.value=0,a.value=0,s.value=0,C.value=0,I.value=0,l.value=0,u.value=0);return}const d=h.getBoundingClientRect();o.value=d.height,g.value=d.bottom,a.value=d.left,s.value=d.right,C.value=d.top,I.value=d.width,l.value=d.x,u.value=d.y}return LgA(e,c),Ae(()=>gi(e),h=>!h&&c()),FgA(e,c,{attributeFilter:["style","class"]}),n&&Zt("scroll",c,{capture:!0,passive:!0}),r&&Zt("resize",c,{passive:!0}),qc(()=>{i&&c()}),{height:o,bottom:g,left:a,right:s,top:C,width:I,x:l,y:u,update:c}}function OgA(e={}){const{initialValue:t=""}=e,A=ZI(()=>typeof window<"u"&&"EyeDropper"in window),r=_(t);async function n(i){if(!A.value)return;const g=await new window.EyeDropper().open(i);return r.value=g.sRGBHex,g}return{isSupported:A,sRGBHex:r,open:n}}function GgA(e,t,A={}){const{window:r=Qn}=A;return T_(e,t,r?.localStorage,A)}const xgA={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function TgA(e={}){const{reactive:t=!1,target:A=Qn,aliasMap:r=xgA,passive:n=!0,onEventFired:i=lo}=e,o=Ug(new Set),g={toJSON(){return{}},current:o},a=t?Ug(g):g,s=new Set,C=new Set;function I(h,d){h in a&&(t?a[h]=d:a[h].value=d)}function l(){o.clear();for(const h of C)I(h,!1)}function u(h,d){var B,f;const E=(B=h.key)==null?void 0:B.toLowerCase(),p=[(f=h.code)==null?void 0:f.toLowerCase(),E].filter(Boolean);E&&(d?o.add(E):o.delete(E));for(const D of p)C.add(D),I(D,d);E==="meta"&&!d?(s.forEach(D=>{o.delete(D),I(D,!1)}),s.clear()):typeof h.getModifierState=="function"&&h.getModifierState("Meta")&&d&&[...o,...p].forEach(D=>s.add(D))}Zt(A,"keydown",h=>(u(h,!0),i(h)),{passive:n}),Zt(A,"keyup",h=>(u(h,!1),i(h)),{passive:n}),Zt("blur",l,{passive:!0}),Zt("focus",l,{passive:!0});const c=new Proxy(a,{get(h,d,B){if(typeof d!="string")return Reflect.get(h,d,B);if(d=d.toLowerCase(),d in r&&(d=r[d]),!(d in a))if(/[+_-]/.test(d)){const E=d.split(/[+_-]/g).map(v=>v.trim());a[d]=W(()=>E.every(v=>It(c[v])))}else a[d]=_(!1);const f=Reflect.get(h,d,B);return t?It(f):f}});return c}function HgA(e={}){const{controls:t=!1,interval:A="requestAnimationFrame"}=e,r=_(new Date),n=()=>r.value=new Date,i=A==="requestAnimationFrame"?bgA(n,{immediate:!0}):pgA(n,A,{immediate:!0});return t?{now:r,...i}:r}let UgA=0;function KgA(e,t={}){const A=_(!1),{document:r=DgA,immediate:n=!0,manual:i=!1,id:o=`vueuse_styletag_${++UgA}`}=t,g=_(e);let a=()=>{};const s=()=>{if(!r)return;const I=r.getElementById(o)||r.createElement("style");I.isConnected||(I.id=o,t.media&&(I.media=t.media),r.head.appendChild(I)),!A.value&&(a=Ae(g,l=>{I.textContent=l},{immediate:!0}),A.value=!0)},C=()=>{!r||!A.value||(a(),r.head.removeChild(r.getElementById(o)),A.value=!1)};return n&&!i&&qc(s),i||qi(C),{id:o,css:g,unload:C,load:s,isLoaded:Lo(A)}}const _gA=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],YgA={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function JgA(e){return e.toISOString().slice(0,10)}function zgA(e,t={}){const{controls:A=!1,updateInterval:r=3e4}=t,{now:n,...i}=HgA({interval:r,controls:!0}),o=W(()=>WgA(new Date(It(e)),t,It(n)));return A?{timeAgo:o,...i}:o}function WgA(e,t={},A=Date.now()){var r;const{max:n,messages:i=YgA,fullDateFormatter:o=JgA,units:g=_gA,showSecond:a=!1,rounding:s="round"}=t,C=typeof s=="number"?d=>+d.toFixed(s):Math[s],I=+A-+e,l=Math.abs(I);function u(d,B){return C(Math.abs(d)/B.value)}function c(d,B){const f=u(d,B),E=d>0,v=h(B.name,f,E);return h(E?"past":"future",v,E)}function h(d,B,f){const E=i[d];return typeof E=="function"?E(B,f):E.replace("{0}",B.toString())}if(l<6e4&&!a)return i.justNow;if(typeof n=="number"&&l>n)return o(new Date(e));if(typeof n=="string"){const d=(r=g.find(B=>B.name===n))==null?void 0:r.max;if(d&&l>d)return o(new Date(e))}for(const[d,B]of g.entries()){if(u(I,B)<=0&&g[d-1])return c(I,g[d-1]);if(l<B.max)return c(I,B)}return i.invalid}function xQ(e,t,A,r={}){var n,i,o;const{clone:g=!1,passive:a=!1,eventName:s,deep:C=!1,defaultValue:I,shouldEmit:l}=r,u=Aa(),c=A||u?.emit||((n=u?.$emit)==null?void 0:n.bind(u))||((o=(i=u?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(u?.proxy));let h=s;t||(t="modelValue"),h=h||`update:${t.toString()}`;const d=E=>g?typeof g=="function"?g(E):MgA(E):E,B=()=>agA(e[t])?d(e[t]):I,f=E=>{l?l(E)&&c(h,E):c(h,E)};if(a){const E=B(),v=_(E);let p=!1;return Ae(()=>e[t],D=>{p||(p=!0,v.value=d(D),cr(()=>p=!1))}),Ae(v,D=>{!p&&(D!==e[t]||C)&&f(D)},{deep:C}),v}else return W({get(){return B()},set(E){f(E)}})}function qgA(e={}){const{window:t=Qn,initialWidth:A=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:i=!0}=e,o=_(A),g=_(r),a=()=>{t&&(i?(o.value=t.innerWidth,g.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,g.value=t.document.documentElement.clientHeight))};if(a(),qc(a),Zt("resize",a,{passive:!0}),n){const s=G_("(orientation: portrait)");Ae(s,()=>a())}return{width:o,height:g}}function U_(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3}}const rt=GgA("__VUE_DEVTOOLS_CLIENT_STATE__",U_(),{mergeDefaults:!0});function jgA(){rt.value=U_()}Ae(()=>rt.value.splitScreen.enabled,(e,t)=>{t&&!e&&(rt.value.splitScreen.size=[50,50])});const Xo=[];function Ei(e){Xo.push(e),qi(()=>{Xo.splice(Xo.indexOf(e),1)});const{connected:t,clientConnected:A}=_n(),r=W(()=>A.value&&t.value);if(r.value){Xo.forEach(n=>n());return}return $_(r,n=>{n&&Xo.forEach(i=>i())}),()=>{Xo.splice(Xo.indexOf(e),1)}}function VgA(){Xo.forEach(e=>e())}let GF=null;function jc(){const e=_n(),t=_(e.tabs.value||[]),A=W(()=>{const g=e.vitePluginDetected.value,a=[...ogA(g,ggA.value?.moduleDetectives)];return t.value.forEach(s=>{const C=a.find(I=>I[0]===s.category);if(C){if(C[1].some(I=>I.name===s.name)||(!g||F1)&&N_.includes(s.name))return;C[1].push({...s})}}),a}),r=W(()=>A.value.reduce((g,[a,s])=>(s.forEach(C=>{g.push(C)}),g),[])),n=W(()=>{const{hiddenTabCategories:g,hiddenTabs:a,pinnedTabs:s}=rt.value.tabSettings,C=g.includes("pinned"),I=A.value.reduce((l,[u,c])=>{const h=[{hidden:!1,name:u},[]],d=g.includes(u);return c.forEach(B=>{const f=a.includes(B.name);if(s.includes(B.name))l[0][1].push({...B,hidden:f||C});else{const E=f||d;h[1].push({...B,hidden:E})}}),h[0].hidden=h[1].every(B=>B.hidden),l.push(h),l},[[{name:"pinned",hidden:!1},[]]]);return I[0][0].hidden=I[0][1].every(l=>l.hidden),I[0][1].sort((l,u)=>s.indexOf(l.name)-s.indexOf(u.name)),I}),i=W(()=>n.value.reduce((g,[a,s])=>{if(a.hidden)return g;const C=s.filter(I=>!I.hidden);return C.length&&g.push([a,C]),g},[])),o=W(()=>i.value.reduce((g,[a,s])=>(s.forEach(C=>{g.push(C)}),g),[]));return Ei(()=>{GF?.(),GF=vK(g=>{t.value=g})}),{categorizedTabs:n,flattenedTabs:r,enabledTabs:i,enabledFlattenTabs:o}}function xF(e,t){return W(()=>{const A=[],r=rt.value.tabSettings.pinnedTabs;Om(t).reduce((o,[{name:g,hidden:a},s])=>(s.forEach(C=>{if(Om(e).some(I=>I.name===C.name)){const I=r.includes(C.name)?"pinned":g||"app";o.push({tab:C,category:{name:I,hidden:a}})}}),o),[]).forEach(({tab:o,category:g})=>{const a=A.find(([{name:s}])=>s===g.name);a?a[1].push(o):A.push([g,[o]])});const i=A.find(([{name:o}])=>o==="pinned");return i&&i[1].sort((o,g)=>r.indexOf(o.name)-r.indexOf(g.name)),A})}function ZgA(e){const t=new Map;return e.forEach(A=>t.set(A.id,A)),Array.from(t.values())}const u0=Ug(new Map);let TF=null;function XgA(){const{enabledFlattenTabs:e}=jc(),t=VI(),A=_n(),r=_(A.commands.value||[]);Er(()=>{r.value=A.commands.value||[]}),Ei(()=>{TF?.(),TF=pK(o=>{r.value=o})});const n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>eaA()}],i=W(()=>e.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():t.push("path"in o&&o.path?o.path:`/custom-tab-view/${o.name}`)}})));return W(()=>ZgA([...n,...i.value,...AaA(r.value),...Array.from(u0.values()).flatMap(o=>Om(o))]))}function HF(e){e?.type==="url"&&window.open(e.src,"_blank")}function AaA(e){return e.map(t=>({id:`${t.id}`,title:t.title,icon:t.icon,description:t.description,order:t.order,action:()=>{if(t.children)return t.children.map(A=>({id:A.id,title:A.title,icon:A.icon,description:A.description,order:A.order,action:()=>{HF(A.action)}})).sort((A,r)=>(r.order??0)-(A.order??0));HF(t.action)}})).sort((t,A)=>(A.order??0)-(t.order??0))}function UF(e){const t=N7();u0.set(t,e),Ss(()=>{u0.delete(t)})}let _p;async function eaA(){return _p||(_p=(await pr(()=>import("./vue-apis-buOuct3A.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default)).map(t=>({...t,icon:"carbon-api-1",action:()=>{window.open(t.url,"_blank")}}))),_p}const taA={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},raA={border:"b base","flex-none":""},naA={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},iaA=["id","onClick","onMouseover"],oaA={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},gaA={"ws-nowrap":""},aaA={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},saA={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},CaA=y("span",{op50:""},"No results for",-1),IaA={"text-primary":""},laA={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},uaA={"text-xs":"",flex:"~ items-center gap2"},caA={px1:""},haA={px1:""},daA=y("span",{op75:""},"to navigate",-1),BaA={"text-xs":"",flex:"~ items-center gap2"},faA=y("button",{px1:""}," Esc ",-1),EaA={op75:""},QaA={"text-xs":"",flex:"~ items-center gap2"},vaA={px1:""},paA=y("span",{op75:""},"to select",-1),waA=DA({__name:"CommandPalette",setup(e){const t=_(!1),A=_(""),r=XgA(),n=_(),i=W(()=>n.value||r.value),o=W(()=>new Rs(i.value,{keys:["id","title"],distance:50})),g=W(()=>A.value?o.value.search(A.value).map(l=>l.item):i.value||[]),a=_(0);Ae(A,()=>{a.value=0,C()});function s(l){a.value=(a.value+l+g.value.length)%g.value.length,C()}function C(){document.getElementById(g.value[a.value]?.id)?.scrollIntoView({block:"center"})}async function I(l){const u=await l.action();u?(n.value=u,A.value=""):(n.value=void 0,A.value="",t.value=!1)}return Zt("keydown",l=>{if((l.altKey||l.metaKey)&&l.key==="k"){l.preventDefault(),n.value=void 0,A.value="",t.value=!t.value;return}if(t.value)switch(l.key){case"ArrowDown":case"ArrowUp":l.preventDefault(),s(l.key==="ArrowDown"?1:-1);break;case"Enter":{const u=g.value[a.value];u&&(l.preventDefault(),I(u));break}case"Escape":{l.preventDefault(),n.value?(n.value=void 0,A.value=""):t.value=!1;break}}}),(l,u)=>{const c=zc;return Q(t)?(M(),tA(Q(vM),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:U(()=>[y("div",taA,[y("header",raA,[T(Q(bo),{modelValue:Q(A),"onUpdate:modelValue":u[0]||(u[0]=h=>YA(A)?A.value=h:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),y("div",naA,[(M(!0),x(wA,null,Be(Q(g),(h,d)=>(M(),x("button",{id:h.id,key:h.id,onClick:B=>I(h),onMouseover:B=>a.value=d},[y("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:bA(Q(a)===d?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[T(c,{icon:h.icon,title:h.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),y("span",oaA,[y("span",gaA,yA(h.title),1),y("span",aaA,yA(h.description),1)]),Q(a)===d?(M(),tA(Q(De),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):pA("",!0)],2)],40,iaA))),128)),Q(g).length?pA("",!0):(M(),x("div",saA,[T(Q(De),{icon:"carbon-search",op50:""}),y("div",null,[CaA,y("strong",IaA,' "'+yA(Q(A))+'" ',1)])]))]),y("footer",laA,[y("div",uaA,[y("button",caA,[T(Q(De),{icon:"carbon-arrow-down"})]),y("button",haA,[T(Q(De),{icon:"carbon-arrow-up"})]),daA]),y("div",BaA,[faA,y("span",EaA,"to "+yA(Q(n)?"go back":"close"),1)]),y("div",QaA,[y("button",vaA,[T(Q(De),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),paA])])])]),_:1})):pA("",!0)}}}),Vc=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},DaA={},yaA={class:"panel-grids-center"};function maA(e,t){return M(),x("div",yaA,[VA(e.$slots,"default")])}const Qi=Vc(DaA,[["render",maA]]),baA={flex:"~ items-center gap-3"},MaA={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},kaA={"translate-y-0.5px":""},SaA={key:0,hidden:"","lg:block":""},K_=DA({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,A=NQ(),r=W(()=>"path"in t.tab?`${t.tab.path.startsWith("/")?"":"/"}${t.tab.path}`:`/custom-tab-view/${t.tab.name}`),n=W(()=>"badge"in t.tab&&t.tab.badge?.()),i=W(()=>A.path.startsWith(r.value));function o(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(rt.value.splitScreen.view=t.tab.name)}return(g,a)=>{const s=zc;return M(),tA(Q(BoA),{disabled:!g.minimized,placement:"right",class:bA({"w-full":!g.minimized})},{popper:U(()=>[y("div",null,yA(g.tab.title),1),"extraTabVNode"in g.tab&&g.tab.extraTabVNode?(M(),x("div",SaA,[(M(),tA(Kg(g.tab.extraTabVNode)))])):pA("",!0)]),default:U(()=>[(M(),tA(Kg(g.target==="main"?Q(TK):"button"),{to:Q(r),flex:`~ items-center ${g.minimized?"justify-center":"justify-between"}`,hover:"bg-active op-100",w:g.minimized?"10":"full",rounded:g.minimized?"xl":"",p:g.minimized?"1":"x3","text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:o},{default:U(()=>[y("div",baA,[T(s,{"text-xl":"",icon:g.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),g.minimized?pA("",!0):(M(),x("span",MaA,yA(g.tab.title),1))]),Q(n)?(M(),x("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:bA([Q(i)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":g.minimized}])},[y("span",kaA,yA(Q(It)(Q(n))),1)],2)):pA("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),NaA={flex:"~ col gap-1","max-w-80":"",py1:""},PaA={key:0,"h-1px":"",border:"b base"},FaA={flex:"~ wrap",px1:""},__=DA({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,A)=>{const r=K_;return M(),x("div",NaA,[(M(!0),x(wA,null,Be(t.categories,([n,i],o)=>(M(),x(wA,{key:n},[i.length?(M(),x(wA,{key:0},[o?(M(),x("div",PaA)):pA("",!0),y("div",FaA,[(M(!0),x(wA,null,Be(i,g=>(M(),tA(r,{key:g.name,target:t.target,tab:g},null,8,["target","tab"]))),128))])],64)):pA("",!0)],64))),128))])}}}),RaA={"h-full":"","h-screen":"","of-hidden":""},LaA={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},$aA={flex:"","cursor-pointer":"","items-center":"",gap2:""},OaA=y("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),GaA={capitalize:""},xaA=y("div",{"flex-auto":""},null,-1),TaA=y("div",{"i-carbon:side-panel-open":""},null,-1),HaA=[TaA],UaA={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},KaA=y("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),_aA=DA({__name:"SplitScreen",setup(e){function t(){rt.value.splitScreen.enabled=!1}const A=W(()=>rt.value.splitScreen),{enabledTabs:r,flattenedTabs:n}=jc(),i=VI(),o=NQ(),g=Zi();function a(I){const l=o.path.startsWith("/")?o.path.slice(1):o.path;return I&&"path"in I&&l===I.path}const s=W(()=>{const I=n.value.find(l=>l.name===A.value.view);return a(I)?void 0:I});Ae(()=>s.value,I=>{if(!I)return;const l=i.getRoutes(),u=I&&"path"in I?l.find(d=>d.path===(I.path.startsWith("/")?I.path:`/${I.path}`)):l.find(d=>d.name==="custom-tab"),c=o.path.startsWith("/")?o.path.slice(1):o.path;if(u?.path===c||o.params?.name===I.name){g.value=void 0;return}const h=u?.components?.default;typeof h=="function"?g.value=TX(h):g.value=h},{immediate:!0});const C=_(!1);return(I,l)=>{const u=zc,c=__,h=Qi;return M(),x("div",RaA,[Q(g)&&Q(s)?(M(),x("div",LaA,[T(Q(BI),{placement:"bottom-start",distance:12,skidding:5,shown:Q(C),trigger:"click"},{popper:U(()=>[T(c,{categories:Q(r),target:"side"},null,8,["categories"])]),default:U(()=>[y("div",$aA,[OaA,T(u,{"text-xl":"",icon:Q(s)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),y("span",GaA,yA(Q(s)?.name),1)])]),_:1},8,["shown"]),xaA,vt((M(),x("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:t},HaA)),[[Q(Bn),"Close split screen"]])])):pA("",!0),Q(g)&&Q(s)?(M(),x("div",UaA,[(M(),tA(Kg(Q(g)),{key:`tab-${Q(s).name}`}))])):(M(),tA(h,{key:2},{default:U(()=>[KaA,T(Q(sf),{px4:"",py2:"","bg-base":""},{default:U(()=>[T(c,{categories:Q(r),target:"side"},null,8,["categories"])]),_:1}),T(Q(ie),{type:"warning",outlined:"",mt2:"",onClick:t},{default:U(()=>[NA(" Close Split Screen ")]),_:1})]),_:1}))])}}});function mM(){const e=lM(),t=_("");return sI&&ae.chrome.storage.local.get(pp).then(A=>{t.value=A[pp]??"overlay"}),{viewMode:t,toggle(A){t.value=A,ae.chrome.storage.local.set({[pp]:A}),sI&&e.value.emit("toggle-view-mode",A)}}}const YaA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},JaA=y("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),zaA=y("div",{"i-carbon-settings-adjust":""},null,-1),WaA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},qaA=y("div",{"i-carbon-split-screen":""},null,-1),jaA={px3:"",py2:"",flex:"~ gap2"},VaA=DA({__name:"DockingPanel",setup(e){const t=pt("viewMode",_("overlay")),A=W(()=>t.value==="panel"&&sI),{toggle:r}=mM(),n=VI(),i=W({get:()=>rt.value.expandSidebar,set:l=>rt.value.expandSidebar=l}),o=W({get:()=>rt.value.splitScreen.enabled,set:l=>rt.value.splitScreen.enabled=l});function g(){location.reload()}const a=_n(),s=W(()=>a.appRecords.value.map(l=>({label:l.name+(l.version?` (${l.version})`:""),value:l.id}))),C=_(a.activeAppRecordId.value),I=W(()=>s.value.find(l=>l.value===C.value)?.label??"");return Ae(C,l=>{rK(`${l}`).then(()=>{n.push("/overview").then(()=>{VgA()})})}),(l,u)=>(M(),x("div",null,[y("div",YaA,[T(Q(Q_),null,{default:U(({isDark:c,toggle:h})=>[T(Q(ie),{outlined:"",type:"primary",onClick:h},{default:U(()=>[JaA,NA(" "+yA(c?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),T(Q(ie),{outlined:"",type:"primary",onClick:u[0]||(u[0]=c=>i.value=!Q(i))},{default:U(()=>[T(Q(De),{icon:Q(i)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),NA(" "+yA(Q(i)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),T(Q(ie),{to:"/settings",outlined:"",type:"primary"},{default:U(()=>[zaA,NA(" Settings ")]),_:1})]),y("div",WaA,[T(Q(ie),{outlined:"",type:"primary",onClick:u[1]||(u[1]=c=>o.value=!Q(o))},{default:U(()=>[qaA,NA(" "+yA(Q(o)?"Close Split Screen":"Split Screen"),1)]),_:1})]),y("div",jaA,[Q(s).length>1?(M(),tA(Q(CE),{key:0,modelValue:Q(C),"onUpdate:modelValue":u[2]||(u[2]=c=>YA(C)?C.value=c:null),options:Q(s),placeholder:Q(I)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):pA("",!0),T(Q(ie),{outlined:"",type:"primary",onClick:g},{default:U(()=>[NA(" Refresh Page ")]),_:1}),Q(A)?(M(),tA(Q(ie),{key:1,outlined:"",type:"primary",onClick:u[3]||(u[3]=c=>Q(r)("overlay"))},{default:U(()=>[NA(" Switch to Overlay Mode ")]),_:1})):pA("",!0)])]))}}),ZaA={border:"r base",flex:"~ col items-start",class:"$ui-z-max-override","h-full":"","of-hidden":"","bg-base":""},XaA={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},AsA=y("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),esA=y("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),tsA=y("div",{"flex-auto":""},null,-1),rsA=y("div",{"i-carbon-overflow-menu-vertical":""},null,-1),nsA={flex:"~ auto col gap-0.5 items-center","w-full":"","of-x-hidden":"","of-y-auto":"",p1:"",class:"no-scrollbar"},isA={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},osA=y("div",{"flex-auto":""},null,-1),gsA=["flex"],asA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},ssA={"translate-y-0.5px":""},CsA=45,IsA=DA({__name:"SideNav",setup(e){const t=_(!1),A=_(!1),r=_(),n=_(),i=_(),o=W(()=>rt.value.expandSidebar),g=W(()=>rt.value.scrollableSidebar),{enabledTabs:a,flattenedTabs:s}=jc(),{height:C}=qgA(),I=W(()=>{const B=C.value-130;return Math.max(0,Math.floor(B/CsA))}),l=W(()=>s.value.slice(0,I.value)),u=W(()=>s.value.slice(I.value)),c=xF(l,a),h=xF(u,a),d=W(()=>g.value||o.value?a.value:c.value);return ygA(r,B=>{n.value&&B.composedPath().includes(n.value)||i.value&&B.composedPath().includes(i.value)||(t.value=!1,A.value=!1)},{detectIframe:!0}),(B,f)=>{const E=VaA,v=K_,p=zc,D=__;return M(),x("div",ZaA,[y("div",XaA,[T(Q(BI),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:Q(t),class:"w-full"},{popper:U(()=>[T(E)]),default:U(()=>[y("button",{ref_key:"buttonDocking",ref:n,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-full":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:bA([Q(o)?"rounded pl2.5":"rounded-xl"])},[AsA,Q(o)?(M(),x(wA,{key:0},[esA,tsA,rsA],64)):pA("",!0)],2)]),_:1},8,["shown"])]),y("div",nsA,[(M(!0),x(wA,null,Be(Q(d),([F,S],N)=>(M(),x(wA,{key:F},[N?(M(),x("div",isA)):pA("",!0),(M(!0),x(wA,null,Be(S.filter(m=>!m.hidden),m=>(M(),tA(v,{key:m.name,tab:m,minimized:!Q(o)},null,8,["tab","minimized"]))),128))],64))),128)),osA]),y("div",{flex:`~ items-center gap-1 ${Q(o)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[Q(u).length&&!Q(g)&&!Q(o)?(M(),tA(Q(BI),{key:0,placement:"left-end",distance:6},{popper:U(()=>[T(D,{categories:Q(h),"max-w-80":"",target:"main"},null,8,["categories"])]),default:U(()=>[y("button",{ref_key:"buttonMoreTabs",ref:i,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[T(p,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),y("div",asA,[y("span",ssA,yA(Q(u).length),1)])],512)]),_:1})):pA("",!0),T(v,{minimized:!Q(o),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,gsA)])}}}),lsA={},usA={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},csA=vAA('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></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),hsA=[csA];function dsA(e,t){return M(),x("svg",usA,hsA)}const bM=Vc(lsA,[["render",dsA]]),BsA={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},fsA=y("p",{class:"p3 text-sm font-bold"},[NA(" DevTools is currently injected into user application in "),y("em",{class:"text-primary-600"},"Overlay"),NA(" view mode. ")],-1),EsA=DA({__name:"ViewModeSwitch",setup(e){GQ();const{toggle:t}=mM();return(A,r)=>{const n=bM;return M(),x("div",BsA,[T(n,{"h-18":""}),fsA,y("p",null,[T(Q(ie),{onClick:r[0]||(r[0]=fr(i=>Q(t)("panel"),["stop"]))},{default:U(()=>[NA(" Switch to Panel Mode ")]),_:1})])])}}}),QsA="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vsA={class:"h-screen w-screen $ui-fcc flex-col"},psA={class:"outer"},wsA={class:"inner"},DsA=["src"],ysA=DA({__name:"AppConnecting",setup(e){return(t,A)=>(M(),x("div",vsA,[y("div",psA,[y("div",wsA,[y("img",{src:Q(QsA),class:"max-w-18",alt:"Vue logo"},null,8,DsA)])]),VA(t.$slots,"default",{},void 0,!0)]))}}),Y_=Vc(ysA,[["__scopeId","data-v-204233a8"]]),XI={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 A=0;this.panes=this.panes.map((r,n)=>(r.size=n===t?r.max:r.min,n!==t&&(A+=r.min),r)),this.panes[t].size-=A,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:A,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:A-t.left,y:r-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 A={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:A.prevPanesSize),n=100-(this.pushOtherPanes?0:A.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(e),n),r);let o=[t,t+1],g=this.panes[o[0]]||null,a=this.panes[o[1]]||null;const s=g.max<100&&i>=g.max+A.prevPanesSize,C=a.max<100&&i<=100-(a.max+this.sumNextPanesSize(t+1));if(s||C){s?(g.size=g.max,a.size=Math.max(100-g.max-A.prevPanesSize-A.nextPanesSize,0)):(g.size=Math.max(100-a.max-A.prevPanesSize-this.sumNextPanesSize(t+1),0),a.size=a.max);return}if(this.pushOtherPanes){const I=this.doPushOtherPanes(A,i);if(!I)return;({sums:A,panesToResize:o}=I),g=this.panes[o[0]]||null,a=this.panes[o[1]]||null}g!==null&&(g.size=Math.min(Math.max(i-A.prevPanesSize-A.prevReachedMinPanes,g.min),g.max)),a!==null&&(a.size=Math.min(Math.max(100-i-A.nextPanesSize-A.nextReachedMinPanes,a.min),a.max))},doPushOtherPanes(e,t){const A=this.touch.activeSplitter,r=[A,A+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(A).index,e.prevReachedMinPanes=0,r[0]<A&&this.panes.forEach((n,i)=>{i>r[0]&&i<=A&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((n,i)=>{i>0&&i<=A&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(A).index,e.nextReachedMinPanes=0,r[1]>A+1&&this.panes.forEach((n,i)=>{i>A&&i<r[1]&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((n,i)=>{i<this.panesCount-1&&i>=A+1&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,A,r)=>t+(r<e?A.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,A,r)=>t+(r>e+1?A.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"),A=e.classList.contains("splitpanes__splitter");!t&&!A&&(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,A=!1){const r=e-1,n=document.createElement("div");n.classList.add("splitpanes__splitter"),A||(n.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(n.ontouchstart=i=>this.onMouseDown(i,r)),n.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(n.ondblclick=i=>this.onSplitterDblClick(i,r+1)),t.parentNode.insertBefore(n,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(A=>{A.className.includes("splitpanes__splitter")&&this.removeSplitter(A)});let t=0;e.forEach(A=>{A.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,A,!0):t&&this.addSplitter(t,A),t++)})},requestUpdate({target:e,...t}){const A=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,n])=>A[r]=n)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(n=>(n.className.includes("splitpanes__pane")&&t++,n===e.$el));const A=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(A)?0:A,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((n,i)=>n.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),A=this.panes.splice(t,1)[0];this.panes.forEach((r,n)=>r.index=n),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...A,index:t}}),this.$emit("pane-remove",{removed:A,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.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 A=[],r=[];this.panes.forEach(n=>{n.size=Math.max(Math.min(e,n.max),n.min),t-=n.size,n.size>=n.max&&A.push(n.id),n.size<=n.min&&r.push(n.id)}),t>.1&&this.readjustSizes(t,A,r)},initialPanesSizing(){let e=100;const t=[],A=[];let r=0;this.panes.forEach(i=>{e-=i.size,i.size!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&A.push(i.id)});let n=100;e>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(e/(this.panesCount-r),i.max),i.min)),n-=i.size}),n>.1&&this.readjustSizes(e,t,A))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let A=100/this.panesCount,r=0;const n=[],i=[];e&&e.givenSize!==null&&(A=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{r-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&i.push(o.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(o=>{e&&e.givenSize!==null&&e.id===o.id||(o.size=Math.max(Math.min(A,o.max),o.min)),r-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&i.push(o.id)}),r>.1&&this.readjustSizes(r,n,i))},readjustSizes(e,t,A){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-A.length),this.panes.forEach((n,i)=>{if(e>0&&!t.includes(n.id)){const o=Math.max(Math.min(n.size+r,n.max),n.min),g=o-n.size;e-=g,n.size=o}else if(!A.includes(n.id)){const o=Math.max(Math.min(n.size+r,n.max),n.min),g=o-n.size;e-=g,n.size=o}n.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[n.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,A)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,A):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 WI("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},msA=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},bsA={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 MsA(e,t,A,r,n,i){return M(),x("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=o=>i.onPaneClick(o,e._.uid)),style:Qt(e.style)},[VA(e.$slots,"default")],4)}const fn=msA(bsA,[["render",MsA]]);function Zc(){const{copy:e,copied:t}=yM();return{copy:(r,n={})=>{const{silent:i=!1,type:o=""}=n;e(r).then(()=>{i||i0({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{i||i0({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:t}}const ksA=uI("get-open-in-editor-host"),Xc=_(!1),TQ=async e=>{const t=await ksA();return t?jm(e,t):jm(e)},SsA={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},NsA=DA({__name:"App",setup(e){pr(()=>import("./unocss-runtime--QU4d9Ny.js"),__vite__mapDeps([]),import.meta.url),GQ();const t=VI(),A=NQ(),{connected:r,clientConnected:n}=_n(),i=rt,o=pt("viewMode",_("overlay")),g=W(()=>o.value==="overlay"&&sI),a=lM(),s=W(()=>A.path.startsWith("/__")||A.path==="/"),C=W(()=>i.value.expandSidebar),I=W(()=>n.value&&r.value);Er(()=>{const B=rt.value.scale;document.documentElement.style.fontSize=`${B*15}px`}),Ae(I,B=>{B&&(t.replace(i.value.isFirstVisit?"/":i.value.route),t.afterEach(()=>{const f=A.path;f.includes("__")||(i.value.route=f)}))},{immediate:!0}),Zt("keydown",B=>{B.code==="KeyD"&&B.altKey&&B.shiftKey&&a.value.emit("toggle-panel")}),Er(()=>{a.value.emit("update-client-state",{minimizePanelInteractive:rt.value.minimizePanelInteractive,closeOnOutsideClick:rt.value.interactionCloseOnOutsideClick,showFloatingPanel:rt.value.showPanel})});const l=W(()=>i.value.splitScreen.enabled),u=W({get:()=>i.value.splitScreen.size,set:B=>i.value.splitScreen.size=B}),c=_n();Er(()=>{P_.value=c.appRecords.value,F_.value=c.activeAppRecordId.value});const{copy:h}=Zc(),d=OgA({});return eK().then(B=>{B&&(Xc.value=!0,UF(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{a.value.emit("toggle-panel",!1),await tK()}}]))}),UF(()=>[...d.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:B}=await d.open()||{};B&&h(B)}}]:[]]),(B,f)=>{const E=Y_,v=EsA,p=IsA,D=En("RouterView"),F=_aA,S=waA;return M(),x("main",SsA,[Q(I)?Q(g)?(M(),tA(v,{key:1})):(M(),x("div",{key:2,class:bA(["h-full of-auto",Q(s)?"flex":Q(C)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Q(s)?pA("",!0):(M(),tA(p,{key:0,"of-x-hidden":"","of-y-auto":""})),T(Q(XI),{"h-full":"","of-hidden":"",onResize:f[0]||(f[0]=N=>u.value=N.map(m=>m.size))},{default:U(()=>[T(Q(fn),{"h-full":"",class:"of-auto!","min-size":"10",size:Q(u)[0]},{default:U(()=>[T(D)]),_:1},8,["size"]),!Q(s)&&Q(l)?(M(),tA(Q(fn),{key:0,relative:"","h-full":"",class:"of-auto!",size:Q(u)[1]},{default:U(()=>[T(F)]),_:1},8,["size"])):pA("",!0)]),_:1})],2)):(M(),tA(E,{key:0})),T(S)])}}}),MM=DA({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(e){return(t,A)=>(M(),x("i",{class:bA(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}}),PsA={class:"flex-inline items-center gap4px"},FsA=DA({__name:"EditInput",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(e,{emit:t}){const A=e,r=t,n=W(()=>A.customType==="date"?"datetime-local":""),{escape:i,enter:o}=TgA();Er(()=>{i.value?r("cancel"):o.value&&r("submit")});const g=xQ(A,"modelValue",r);function a(I){try{return gf(I,A.customType),!0}catch{return!1}}const s=_(!1);return Ae(g,DQ(()=>{s.value=!a(g.value)},300)),(I,l)=>(M(),x("span",PsA,[T(Q(bo),{modelValue:Q(g),"onUpdate:modelValue":l[0]||(l[0]=u=>YA(g)?g.value=u:null),type:Q(n),variant:Q(s)?"warning":"normal",class:bA(["h25px px4px",I.customType==="date"?"w240px":"w120px"]),"auto-focus":I.autoFocus,onClick:l[1]||(l[1]=fr(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),I.showActions?(M(),x(wA,{key:0},[vt((M(),tA(Q(ie),{size:"mini",flat:"",class:"p2px!",onClick:l[2]||(l[2]=fr(u=>I.$emit("cancel"),["stop"]))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-cancel"})]),_:1})),[[Q(Bn),{content:"Esc to cancel"}]]),Q(s)?vt((M(),tA(Q(De),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[Q(Bn),{content:"Invalid value"}]]):vt((M(),tA(Q(ie),{key:0,size:"mini",flat:"",class:"p2px!",onClick:l[3]||(l[3]=fr(u=>I.$emit("submit"),["stop"]))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-save"})]),_:1})),[[Q(Bn),{content:"Enter to submit change"}]])],64)):pA("",!0)]))}}),J_=Symbol("StateEditorSymbol");function RsA(e){const t=_(e);return Io(J_,t),{context:t}}function kM(){return pt(J_)}function LsA(){const e=_(""),t=_("string"),A=_(!1),r=kM();return{editingText:e,editing:A,toggleEditing(n){n&&(t.value=n),A.value=!A.value},editingType:t,nodeId:r.value.nodeId}}function $sA(e,t){if(e==="array")return t.length;const A="newProp";let r=1;for(;;){const n=`${A}${r}`;if(!t[n])return n;r++}}function OsA(){const e=_({enable:!1,key:"",value:"undefined"});function t(r,n){const i=$sA(r,n);e.value={enable:!0,key:i.toString(),value:"undefined"}}function A(){e.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:t,resetDrafting:A,draftingNewProp:e}}const GsA={class:"inline pl5px"},xsA={class:"w160px py5px"},KF=DA({__name:"Actions",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(e){const t=e,A=kM(),{copy:r,isSupported:n}=yM(),i=_(!1),o=W(()=>aM(t.data.value)),g=W(()=>o.value.value),a=W(()=>o.value.customType),s=W(()=>g.value===null?"null":typeof g.value),C={flat:!0,size:"mini"},I=W(()=>({"opacity-0":!t.hovering}));function l(c,h=!1){eE({path:t.data.key.split("."),inspectorId:A.value.inspectorId,type:t.data.stateType,nodeId:A.value.nodeId,state:{newKey:null,value:Qe(c),type:s.value,remove:h}})}function u(c,h){const d=typeof c=="number"?c+h:BigInt(c)+BigInt(h);l(d)}return(c,h)=>(M(),x("div",GsA,[!t.disableEdit&&c.data.editable?(M(),x(wA,{key:0},[Q(s)==="string"||Q(s)==="number"||Q(s)==="object"||Q(s)==="null"?(M(),x(wA,{key:0},[vt((M(),tA(Q(ie),Ir(C,{class:Q(I),onClick:h[0]||(h[0]=fr(d=>c.$emit("enableEditInput",Q(s)),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[Q(Bn),{content:"Edit value"}]]),Q(s)==="object"&&c.showAddIfNeeded?vt((M(),tA(Q(ie),Ir({key:0},C,{class:Q(I),onClick:h[1]||(h[1]=fr(d=>c.$emit("addNewProp",Array.isArray(Q(g))?"array":"object"),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[Q(Bn),{content:"Add new value"}]]):pA("",!0)],64)):pA("",!0),Q(s)==="boolean"?(M(),tA(Q(ie),Ir({key:1},C,{class:Q(I),onClick:h[2]||(h[2]=d=>l(!Q(g)))}),{icon:U(()=>[T(Q(De),{icon:Q(g)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):Q(s)==="number"||Q(a)==="bigint"?(M(),x(wA,{key:2},[T(Q(ie),Ir(C,{class:Q(I),onClick:h[3]||(h[3]=fr(d=>u(Q(g),1),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-carbon-add"})]),_:1},16,["class"]),T(Q(ie),Ir(C,{class:Q(I),onClick:h[4]||(h[4]=fr(d=>u(Q(g),-1),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):pA("",!0)],64)):pA("",!0),!t.disableEdit&&c.depth>0?(M(),tA(Q(ie),Ir({key:1},C,{class:Q(I),onClick:h[5]||(h[5]=fr(d=>l(Q(g),!0),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):pA("",!0),T(Q(BI),{class:bA({"opacity-0":!c.hovering&&!Q(i)}),"button-props":{flat:!0,size:"mini"},disabled:!Q(n),"onUpdate:visible":h[8]||(h[8]=d=>i.value=d)},{popper:U(()=>[y("div",xsA,[T(Q(yF),{onClick:h[6]||(h[6]=d=>Q(r)(typeof Q(g)=="object"?JSON.stringify(Q(g)):Q(g).toString()))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),NA(" Copy Value ")]),_:1}),T(Q(yF),{onClick:h[7]||(h[7]=()=>{Q(r)(c.data.key)})},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),NA(" Copy Path ")]),_:1})])]),"button-icon":U(()=>[T(Q(De),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function fI(e){const t=_({}),A=_({});return Io(`CollapseMapSymbol${e}`,t),Io(`CollapseMapSymbol${e}LinkedList`,A),{collapseMap:t,id:e,linkedList:A}}function TsA(e){const t=pt(`CollapseMapSymbol${e}`),A=pt(`CollapseMapSymbol${e}LinkedList`);return{collapseMap:t,linkedList:A,id:e}}function SM(e,t,A){const{collapseMap:r,linkedList:n}=TsA(e),i=W(()=>r.value[t]??!1),o=()=>{r.value[t]=!r.value[t]};return A?.length&&(n.value[t]=A??[]),{isExpanded:i,toggleCollapse:o}}function HsA(e,t={}){const{enter:A=()=>{},leave:r=()=>{},initial:n=!1}=t,i=_(n);return Zt(e,"mouseenter",()=>{i.value=!0,A()}),Zt(e,"mouseleave",()=>{i.value=!1,r()}),{isHovering:i}}const NM=e=>(BQ("data-v-a33ae112"),e=e(),fQ(),e),UsA={key:0},KsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},_sA=NM(()=>y("span",{"mx-1":""},":",-1)),YsA=["innerHTML"],JsA={key:1,"cursor-pointer":""},zsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},WsA=NM(()=>y("span",{"mx-1":""},":",-1)),qsA=["innerHTML"],jsA={key:0},VsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},ZsA=NM(()=>y("span",{"mx-1":""},":",-1)),_F=30,XsA=DA({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(e){const t=e,A=kM(),r=W(()=>qU(t.data.value)),n=W(()=>kQ(t.data.value)),i=W(()=>n.value==="custom"?`state-format-${t.data.value._custom?.type}`:""),{isExpanded:o,toggleCollapse:g}=SM("inspector-state",`${t.rootId}-${t.no}-${t.depth}-${t.data.key}`),a=W(()=>{const k=t.data._custom?.stateTypeName||t.data?.stateTypeName;if(k==="Reactive")return k;if(t.data.value?.fields?.abstract)return"";{const O=`<span class="state-value-${n.value}">${r.value}</span>`;return k?`${O} <span class="text-gray-500">(${k})</span>`:O}}),s=W(()=>aM(t.data.value)),C=_(_F),I=W(()=>{const{value:k,inherit:O,customType:H}=s.value,X=H==="set";let q;return DN(k)?k.slice(0,C.value).map((uA,MA)=>({key:`${t.data.key}.${MA}`,value:uA,...O,editable:t.data.editable&&!X,creating:!1})):(wN(k)?(q=Object.keys(k).slice(0,C.value).map(Z=>({key:`${t.data.key}.${Z}`,value:k[Z],...O,editable:t.data.editable&&!X,creating:!1})),n.value!=="custom"&&(q=S7(q))):q=[],q===t.data.value?{}:q)}),l=W(()=>{const{value:k}=s.value;return DN(k)?k.length:wN(k)?Object.keys(k).length:0}),u=W(()=>{const k=t.data.key,O=k.lastIndexOf(".");return O===-1?k:k.slice(O+1)}),{editingType:c,editing:h,editingText:d,toggleEditing:B,nodeId:f}=LsA();Ae(()=>h.value,k=>{if(k){const{value:O}=s.value;d.value=ktA(O,s.value.customType)}else d.value=""});function E(){const k=t.data;eE({path:k.key.split("."),inspectorId:A.value.inspectorId,type:k.stateType,nodeId:f,state:{newKey:null,type:c.value,value:gf(d.value,s.value.customType)}}),B()}const{addNewProp:v,draftingNewProp:p,resetDrafting:D}=OsA();function F(k){o.value||g(),v(k,s.value.value)}function S(){const k=t.data,O=k.key.split(".");O.push(p.value.key),eE({path:O,inspectorId:A.value.inspectorId,type:k.stateType,nodeId:f,state:{newKey:p.value.key,type:typeof gf(p.value.value),value:gf(p.value.value)}}),D()}const N=W(()=>Object.keys(I.value).length>0||p.value.enable),m=_(),{isHovering:R}=HsA(()=>m.value);return(k,O)=>{const H=FsA,X=MM,q=En("InspectorStateField",!0);return M(),x("div",{ref_key:"containerRef",ref:m,class:"pl-6",style:Qt({paddingLeft:`${k.depth*15+4}px`})},[Q(N)?(M(),x("div",JsA,[y("div",{relative:"",flex:"","items-center":"",onClick:O[2]||(O[2]=(...Z)=>Q(g)&&Q(g)(...Z))},[T(X,{value:Q(o),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),y("span",zsA,yA(Q(u)),1),WsA,Q(h)?(M(),tA(H,{key:0,modelValue:Q(d),"onUpdate:modelValue":O[1]||(O[1]=Z=>YA(d)?d.value=Z:null),"custom-type":Q(s).customType,onCancel:Q(B),onSubmit:E},null,8,["modelValue","custom-type","onCancel"])):(M(),x(wA,{key:1},[y("span",{class:bA(Q(i))},[y("span",{innerHTML:Q(a)},null,8,qsA)],2),T(KF,{"show-add-if-needed":!Q(p).enable,hovering:Q(R),data:k.data,"disable-edit":Q(A).disableEdit,depth:k.depth,onEnableEditInput:Q(B),onAddNewProp:F},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),Q(o)?(M(),x("div",jsA,[(M(!0),x(wA,null,Be(Q(I),(Z,uA)=>(M(),tA(q,{key:uA,data:Z,depth:k.depth+1,no:k.no,"root-id":k.rootId},null,8,["data","depth","no","root-id"]))),128)),Q(l)>Q(C)?vt((M(),tA(Q(ie),{key:0,flat:"",size:"mini",class:"ml-4",onClick:O[3]||(O[3]=Z=>C.value+=_F)},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[Q(Bn),"Show more"]]):pA("",!0),Q(p).enable?(M(),x("div",{key:1,style:Qt({paddingLeft:`${(k.depth+1)*15+4}px`})},[y("span",VsA,[T(H,{modelValue:Q(p).key,"onUpdate:modelValue":O[4]||(O[4]=Z=>Q(p).key=Z),"show-actions":!1},null,8,["modelValue"])]),ZsA,T(H,{modelValue:Q(p).value,"onUpdate:modelValue":O[5]||(O[5]=Z=>Q(p).value=Z),"auto-focus":!1,onCancel:Q(D),onSubmit:S},null,8,["modelValue","onCancel"])],4)):pA("",!0)])):pA("",!0)])):(M(),x("div",UsA,[y("span",KsA,yA(Q(u)),1),_sA,Q(h)?(M(),tA(H,{key:0,modelValue:Q(d),"onUpdate:modelValue":O[0]||(O[0]=Z=>YA(d)?d.value=Z:null),"custom-type":Q(s).customType,onCancel:Q(B),onSubmit:E},null,8,["modelValue","custom-type","onCancel"])):(M(),x(wA,{key:1},[y("span",{class:bA(Q(i))},[y("span",{innerHTML:Q(a)},null,8,YsA)],2),T(KF,{hovering:Q(R),"disable-edit":Q(A).disableEdit,data:k.data,depth:k.depth,onEnableEditInput:Q(B),onAddNewProp:F},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),ACA=Vc(XsA,[["__scopeId","data-v-a33ae112"]]),eCA=DA({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(e){return(t,A)=>{const r=ACA;return M(!0),x(wA,null,Be(t.data,(n,i)=>(M(),x("div",{key:i,class:"flex items-center pl-8 font-data-field"},[T(r,{data:n,no:i,"root-id":t.rootId},null,8,["data","no","root-id"])]))),128)}}}),tCA={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},Ah=DA({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(e){const t=e,{isExpanded:A,toggleCollapse:r}=SM("inspector-state",t.id);return!A.value&&r(),RsA({nodeId:t.nodeId,inspectorId:t.inspectorId,disableEdit:t.disableEdit}),(n,i)=>{const o=MM,g=eCA;return M(),x(wA,null,[y("div",{class:"group w-full px-0 selectable-item",onClick:i[0]||(i[0]=(...a)=>Q(r)&&Q(r)(...a))},[T(o,{value:Q(A),"group-hover:text-white":""},null,8,["value"]),y("span",tCA,yA(n.name),1)]),Q(A)?(M(),tA(g,{key:0,data:n.data,"root-id":n.id},null,8,["data","root-id"])):pA("",!0)],64)}}});function c0(e){return e.toString(16).padStart(6,"0")}function rCA(e,t){const A=new Date(e);return`${A.toString().match(/\d\d:\d\d:\d\d/)[0]}${t==="ms"?`.${String(A.getMilliseconds()).padStart(3,"0")}`:""}`}const z_=DA({__name:"InspectorNodeTag",props:{tag:{}},setup(e){return(t,A)=>{const r=EQ("tooltip");return vt((M(),x("span",{style:Qt({color:`#${Q(c0)(t.tag.textColor)}`,backgroundColor:`#${Q(c0)(t.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[NA(yA(t.tag.label),1)],4)),[[r,{content:t.tag.tooltip,html:!0}]])}}});function nCA(e){const t=_("");return Io(`SelectedSymbol${e}`,t),{selected:t,id:e}}function iCA(e){return{selected:pt(`SelectedSymbol${e}`),id:e}}function oCA(e,t,A){const{selected:r}=iCA(e);return{isSelected:W(()=>r.value===t),toggleSelected:o=>{r.value=o,A?.(o)}}}const gCA={key:1,"inline-block":"","h-6":"","w-6":""},aCA={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},sCA=DA({__name:"ComponentTreeNode",props:{data:{},depth:{default:0},linkedList:{default:()=>[]}},emits:["select","mouseenter","mouseleave"],setup(e,{emit:t}){const A=e,r=t,{isExpanded:n,toggleCollapse:i}=SM("component-tree",A.data.id,[...A.linkedList,A.data.id]),{isSelected:o,toggleSelected:g}=oCA("component-tree",A.data.id,a=>{r("select",a)});return(a,s)=>{const C=MM,I=z_,l=En("ComponentTreeNode",!0);return M(),x(wA,null,[y("div",{class:bA(["group selectable-item",{active:Q(o)}]),style:Qt({paddingLeft:`${a.depth*15+4}px`}),onClick:s[0]||(s[0]=fr(u=>Q(g)(a.data.id),["stop"])),onMouseenter:s[1]||(s[1]=u=>r("mouseenter",a.data.id,!0)),onMouseleave:s[2]||(s[2]=u=>r("mouseleave",a.data.id,!1))},[a.data.children?.length?(M(),tA(C,{key:0,value:Q(n),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:fr(Q(i),["prevent","stop"])},null,8,["value","onClick"])):(M(),x("i",gCA)),y("span",aCA,yA(a.data.name),1),(M(!0),x(wA,null,Be(a.data.tags,(u,c)=>(M(),tA(I,{key:c,tag:u},null,8,["tag"]))),128))],38),a.data.children?.length&&Q(n)?(M(!0),x(wA,{key:0},Be(a.data.children,u=>(M(),tA(l,{key:u.id,data:u,depth:a.depth+1,"linked-list":[...a.linkedList,a.data.id],onSelect:s[3]||(s[3]=c=>r("select",c)),onMouseenter:s[4]||(s[4]=c=>r("mouseenter",c,!0)),onMouseleave:s[5]||(s[5]=c=>r("mouseleave",c,!1))},null,8,["data","depth","linked-list"]))),128)):pA("",!0)],64)}}}),CCA={"w-full":"",flex:"",gap2:"",px2:"",py2:""},ICA=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[y("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),y("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1),lCA=[ICA],uCA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},cCA={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},hCA={key:0},dCA={flex:"~ gap2"},BCA=y("p",{class:"x-divider"},null,-1),YF="components",fCA=DA({__name:"components",setup(e){const t=lM(),A=_([]),r=_(""),n=W(()=>Xc.value),i=_(!1),[o,g]=wM(!0),{selected:a}=nCA("component-tree"),{collapseMap:s,linkedList:C}=fI("component-tree");fI("inspector-state");const I=W(()=>{const H=[],X=q=>{q.forEach(Z=>{Z.id===a.value&&H.push(Z),Z.children?.length&&X(Z.children)})};return X(A.value),H[0]}),l=W(()=>{const H=[],X=(q,Z=[])=>{q.forEach(uA=>{H.push([...Z,uA.id]),uA.children?.length&&X(uA.children,[...Z,uA.id])})};return X(A.value),H}),u=W(()=>I.value?.file??"");function c(H,X){return H.length?H.find(q=>q.id===X)?!0:H.some(q=>c(q.children||[],X)):!1}function h(H){H.length&&(a.value&&c(H,a.value)||(a.value=H?.[0].id,m(H?.[0].id)))}function d(H){return new Promise(X=>{nK({inspectorId:"components",instanceId:H}).then(q=>{X(li(q))})})}function B(H){return{[H[0].id]:!0,...H?.[0].children?.reduce((X,q)=>(X[q.id]=!0,X),{})}}function f(H){return new Promise(X=>{qI({inspectorId:"components",filter:H}).then(q=>{const Z=!Object.keys(s.value).length,uA=li(q);A.value=uA,Z&&(s.value=B(uA)),h(uA),X()})})}const E=_(!1);async function v(H,X){E.value&&await vgA(E).toBe(!1),E.value=!0,d(H).then(q=>{oK({id:H,visible:X,bounds:q}),E.value=!1})}function p(H){gK({id:H})}function D(){t.value.emit("toggle-panel",!1),iK().then(H=>{const X=JSON.parse(H);a.value=X.id,F(X.id);const q=C.value[X.id];q?q.forEach(Z=>{s.value[Z]=!0}):l.value.forEach(Z=>{let uA=Z.indexOf(X.id);if(uA>-1)for(;uA>=0;)s.value[Z[uA]]=!0,uA--})}).finally(()=>{t.value.emit("toggle-panel",!0)})}function F(H){R(),m(H),r.value=H}Ae(a,H=>{aK(H)});const S=_({});function N(H){if(!H||!H?.state)return{};const X={};return H.state.forEach(q=>{X[q.type]||(X[q.type]=[]),X[q.type].push(q)}),X}function m(H){Yc({inspectorId:"components",nodeId:H}).then(X=>{S.value=N(li(X))})}function R(){S.value={}}Ei(()=>{f().then(()=>{i.value=!0}),jI(H=>{!H?.data.length||H.inspectorId!==YF||(A.value=H.data,s.value={...B(H.data),...s.value},h(H.data))}),Jc(H=>{H.inspectorId===YF&&(S.value=N({state:H.state}))})});const k=_("");DM(k,H=>{const X=H.trim().toLowerCase();g(),f(X).then(()=>{g()})},{debounce:300});const O=_n();return(H,X)=>{const q=sCA,Z=Ah,uA=Qi;return M(),tA(uA,{"h-screen":""},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{flex:"","flex-col":"",border:"r base"},{default:U(()=>[y("div",CCA,[Q(i)?(M(),tA(Q(bo),{key:0,modelValue:Q(k),"onUpdate:modelValue":X[0]||(X[0]=MA=>YA(k)?k.value=MA:null),"loading-debounce-time":250,loading:!Q(o),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):pA("",!0),Q(O).vitePluginDetected.value?(M(),x("button",{key:1,"px-1":"",onClick:D},[(M(),x("svg",{xmlns:"http://www.w3.org/2000/svg",style:Qt([{height:"1.1em",width:"1.1em",opacity:"0.5"},"opacity:1;color:#00dc82"]),viewBox:"0 0 24 24"},lCA))])):pA("",!0)]),y("div",uCA,[(M(!0),x(wA,null,Be(Q(A),MA=>(M(),tA(q,{key:MA.id,data:MA,onSelect:F,onMouseenter:v,onMouseleave:v},null,8,["data"]))),128))])]),_:1}),T(Q(fn),{flex:"","flex-col":""},{default:U(()=>[y("div",cCA,[Q(I)?.name?(M(),x("span",hCA,yA(Q(I).name),1)):pA("",!0),y("div",dCA,[vt(T(Q(De),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:X[1]||(X[1]=MA=>p(Q(a)))},null,512),[[Q(Bn),"Scroll to Component"]]),Q(u)&&Q(O).vitePluginDetected.value&&Q(n)?vt((M(),tA(Q(De),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:X[2]||(X[2]=MA=>Q(TQ)(Q(u)))},null,512)),[[Q(Bn),"Open in Editor"]]):pA("",!0)])]),BCA,(M(),x("div",{key:Q(a),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(M(!0),x(wA,null,Be(Q(S),(MA,XA)=>(M(),tA(Z,{id:XA,key:XA,"node-id":Q(r),data:MA,name:`${XA}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),ECA="7.0.21",QCA={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},vCA=y("div",{"flex-auto":""},null,-1),pCA={flex:"~ col","mt-20":"","items-center":""},wCA={flex:"~","mt--10":"","items-center":"","justify-center":""},DCA={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},yCA=y("span",{op40:""}," Vue DevTools ",-1),mCA={op40:""},bCA={flex:"~ gap2 wrap"},MCA={p4:"","theme-card-green":"",flex:"~ col auto"},kCA=y("div",{"i-logos-vue":"","text-3xl":""},null,-1),SCA=y("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),NCA=y("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),PCA={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},FCA=y("a",{href:"https://github.com/vuejs/devtools-next",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[y("div",{"i-carbon-star":""}),NA(" Star on GitHub ")],-1),RCA=y("a",{href:"https://github.com/vuejs/devtools-next/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[y("div",{"i-carbon-data-enrichment":""}),NA(" Ideas & Suggestions ")],-1),LCA=y("a",{href:"https://github.com/vuejs/devtools-next/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[y("div",{"i-carbon-plan":""}),NA(" Project Roadmap ")],-1),$CA=y("a",{href:"https://github.com/vuejs/devtools-next/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[y("div",{"i-carbon-debug":""}),NA(" Bug Reports ")],-1),OCA=y("div",{"i-carbon-settings":""},null,-1),GCA=y("div",{"flex-auto":""},null,-1),xCA={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},TCA=y("span",null,"+",-1),HCA=y("span",null,"+",-1),UCA={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},KCA=y("span",null,"+",-1),_CA=y("span",null,"+",-1),YCA=y("span",null,"+",-1),JCA=y("span",null,"+",-1),zCA=DA({__name:"overview",setup(e){const{vueVersion:t}=_n(),A=_(1),r=_(0);function n(i){let o=0;for(const g of i)o++,g.children?.length&&(o+=n(g.children));return o}return Ei(()=>{CM().then(i=>{const o=JSON.parse(i);A.value=o?.routes?.length||1}),IM(i=>{A.value=i?.routes?.length||1}),qI({inspectorId:"components",filter:""}).then(i=>{const o=li(i);r.value=n(o)}),jI(i=>{!i?.data?.length||i.inspectorId!=="components"||(r.value=n(i.data))})}),(i,o)=>{const g=bM,a=En("RouterLink"),s=Qi;return M(),tA(s,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:U(()=>[y("div",QCA,[vCA,y("div",pCA,[y("div",wCA,[T(g,{"h-18":""})]),y("div",DCA,[yCA,y("code",mCA,"v"+yA(Q(ECA)),1)])]),y("div",bCA,[y("div",MCA,[kCA,y("code",null,"v"+yA(Q(t)),1)]),T(a,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:U(()=>[SCA,y("div",null,yA(Q(A))+" pages",1)]),_:1}),Q(r)?(M(),tA(a,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:U(()=>[NCA,y("div",null,yA(Q(r))+" components",1)]),_:1})):pA("",!0)]),y("div",PCA,[FCA,RCA,LCA,$CA,T(a,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:U(()=>[OCA,NA(" Settings ")]),_:1})]),GCA,y("div",xCA,[NA(" Press "),Q(pN)()?(M(),x(wA,{key:0},[T(Q(ie),null,{default:U(()=>[NA(" ⌘ Command ")]),_:1}),TCA,T(Q(ie),null,{default:U(()=>[NA(" K ")]),_:1})],64)):(M(),x(wA,{key:1},[T(Q(ie),null,{default:U(()=>[NA(" Alt ")]),_:1}),HCA,T(Q(ie),null,{default:U(()=>[NA(" K ")]),_:1})],64)),NA(" to toggle Command Palette ")]),y("div",UCA,[NA(" Press "),Q(pN)()?(M(),x(wA,{key:0},[T(Q(ie),null,{default:U(()=>[NA(" ⇧ Shift ")]),_:1}),KCA,T(Q(ie),null,{default:U(()=>[NA(" ⌥ Option ")]),_:1}),_CA,T(Q(ie),null,{default:U(()=>[NA(" D ")]),_:1})],64)):(M(),x(wA,{key:1},[T(Q(ie),null,{default:U(()=>[NA(" Shift ")]),_:1}),YCA,T(Q(ie),null,{default:U(()=>[NA(" Alt ")]),_:1}),JCA,T(Q(ie),null,{default:U(()=>[NA(" D ")]),_:1})],64)),NA(" to toggle DevTools ")])])]),_:1})}}});function WCA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var A=e.indexOf("Trident/");if(A>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let Cf;function h0(){h0.init||(h0.init=!0,Cf=WCA()!==-1)}var HQ={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){h0(),cr(()=>{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",Cf&&this.$el.appendChild(e),e.data="about:blank",Cf||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&&(!Cf&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qCA=gU();BQ("data-v-b329ee4c");const jCA={class:"resize-observer",tabindex:"-1"};fQ();const VCA=qCA((e,t,A,r,n,i)=>(M(),tA("div",jCA)));HQ.render=VCA;HQ.__scopeId="data-v-b329ee4c";HQ.__file="src/components/ResizeObserver.vue";function If(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?If=function(t){return typeof t}:If=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},If(e)}function ZCA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JF(e,t){for(var A=0;A<t.length;A++){var r=t[A];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XCA(e,t,A){return t&&JF(e.prototype,t),A&&JF(e,A),e}function zF(e){return AIA(e)||eIA(e)||tIA(e)||rIA()}function AIA(e){if(Array.isArray(e))return d0(e)}function eIA(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function tIA(e,t){if(e){if(typeof e=="string")return d0(e,t);var A=Object.prototype.toString.call(e).slice(8,-1);if(A==="Object"&&e.constructor&&(A=e.constructor.name),A==="Map"||A==="Set")return Array.from(e);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return d0(e,t)}}function d0(e,t){(t==null||t>e.length)&&(t=e.length);for(var A=0,r=new Array(t);A<t;A++)r[A]=e[A];return r}function rIA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
27
|
+
*/const DC=typeof document<"u";function arA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const et=Object.assign;function Rp(e,t){const A={};for(const r in t){const n=t[r];A[r]=hi(n)?n.map(e):e(n)}return A}const pu=()=>{},hi=Array.isArray,NK=/#/g,srA=/&/g,CrA=/\//g,IrA=/=/g,lrA=/\?/g,PK=/\+/g,urA=/%5B/g,crA=/%5D/g,FK=/%5E/g,hrA=/%60/g,RK=/%7B/g,drA=/%7C/g,LK=/%7D/g,BrA=/%20/g;function uM(e){return encodeURI(""+e).replace(drA,"|").replace(urA,"[").replace(crA,"]")}function frA(e){return uM(e).replace(RK,"{").replace(LK,"}").replace(FK,"^")}function Vm(e){return uM(e).replace(PK,"%2B").replace(BrA,"+").replace(NK,"%23").replace(srA,"%26").replace(hrA,"`").replace(RK,"{").replace(LK,"}").replace(FK,"^")}function ErA(e){return Vm(e).replace(IrA,"%3D")}function QrA(e){return uM(e).replace(NK,"%23").replace(lrA,"%3F")}function vrA(e){return e==null?"":QrA(e).replace(CrA,"%2F")}function Xu(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const prA=/\/$/,wrA=e=>e.replace(prA,"");function Lp(e,t,A="/"){let r,n={},i="",o="";const g=t.indexOf("#");let a=t.indexOf("?");return g<a&&g>=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,g>-1?g:t.length),n=e(i)),g>-1&&(r=r||t.slice(0,g),o=t.slice(g,t.length)),r=brA(r??t,A),{fullPath:r+(i&&"?")+i+o,path:r,query:n,hash:Xu(o)}}function DrA(e,t){const A=t.query?e(t.query):"";return t.path+(A&&"?")+A+(t.hash||"")}function yrA(e,t,A){const r=t.matched.length-1,n=A.matched.length-1;return r>-1&&r===n&&cI(t.matched[r],A.matched[n])&&$K(t.params,A.params)&&e(t.query)===e(A.query)&&t.hash===A.hash}function cI(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $K(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const A in e)if(!mrA(e[A],t[A]))return!1;return!0}function mrA(e,t){return hi(e)?UP(e,t):hi(t)?UP(t,e):e===t}function UP(e,t){return hi(t)?e.length===t.length&&e.every((A,r)=>A===t[r]):e.length===1&&e[0]===t}function brA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const A=t.split("/"),r=e.split("/"),n=r[r.length-1];(n===".."||n===".")&&r.push("");let i=A.length-1,o,g;for(o=0;o<r.length;o++)if(g=r[o],g!==".")if(g==="..")i>1&&i--;else break;return A.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var Ac;(function(e){e.pop="pop",e.push="push"})(Ac||(Ac={}));var tE;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tE||(tE={}));const $p="";function MrA(e){if(!e)if(DC){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wrA(e)}const krA=/^[^#]+#/;function SrA(e,t){return e.replace(krA,"#")+t}function NrA(e,t){const A=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-A.left-(t.left||0),top:r.top-A.top-(t.top||0)}}const PrA=()=>({left:window.scrollX,top:window.scrollY});function FrA(e){let t;if("el"in e){const A=e.el,r=typeof A=="string"&&A.startsWith("#"),n=typeof A=="string"?r?document.getElementById(A.slice(1)):document.querySelector(A):A;if(!n)return;t=NrA(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function KP(e,t){return(history.state?history.state.position-t:-1)+e}const Zm=new Map;function RrA(e,t){Zm.set(e,t)}function LrA(e){const t=Zm.get(e);return Zm.delete(e),t}function $rA(e=""){let t=[],A=[$p],r=0;e=MrA(e);function n(g){r++,r!==A.length&&A.splice(r),A.push(g)}function i(g,a,{direction:s,delta:C}){const I={direction:s,delta:C,type:Ac.pop};for(const l of t)l(g,a,I)}const o={location:$p,state:{},base:e,createHref:SrA.bind(null,e),replace(g){A.splice(r--,1),n(g)},push(g,a){n(g)},listen(g){return t.push(g),()=>{const a=t.indexOf(g);a>-1&&t.splice(a,1)}},destroy(){t=[],A=[$p],r=0},go(g,a=!0){const s=this.location,C=g<0?tE.back:tE.forward;r=Math.max(0,Math.min(r+g,A.length-1)),a&&i(this.location,s,{direction:C,delta:g})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>A[r]}),o}function OrA(e){return typeof e=="string"||e&&typeof e=="object"}function OK(e){return typeof e=="string"||typeof e=="symbol"}const zo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},GK=Symbol("");var _P;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_P||(_P={}));function hI(e,t){return et(new Error,{type:e,[GK]:!0},t)}function oo(e,t){return e instanceof Error&&GK in e&&(t==null||!!(e.type&t))}const YP="[^/]+?",GrA={sensitive:!1,strict:!1,start:!0,end:!0},xrA=/[.+*?^${}()[\]/\\]/g;function TrA(e,t){const A=et({},GrA,t),r=[];let n=A.start?"^":"";const i=[];for(const s of e){const C=s.length?[]:[90];A.strict&&!s.length&&(n+="/");for(let I=0;I<s.length;I++){const l=s[I];let u=40+(A.sensitive?.25:0);if(l.type===0)I||(n+="/"),n+=l.value.replace(xrA,"\\$&"),u+=40;else if(l.type===1){const{value:c,repeatable:h,optional:d,regexp:B}=l;i.push({name:c,repeatable:h,optional:d});const f=B||YP;if(f!==YP){u+=10;try{new RegExp(`(${f})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${c}" (${f}): `+v.message)}}let E=h?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;I||(E=d&&s.length<2?`(?:/${E})`:"/"+E),d&&(E+="?"),n+=E,u+=20,d&&(u+=-8),h&&(u+=-20),f===".*"&&(u+=-50)}C.push(u)}r.push(C)}if(A.strict&&A.end){const s=r.length-1;r[s][r[s].length-1]+=.7000000000000001}A.strict||(n+="/?"),A.end?n+="$":A.strict&&(n+="(?:/|$)");const o=new RegExp(n,A.sensitive?"":"i");function g(s){const C=s.match(o),I={};if(!C)return null;for(let l=1;l<C.length;l++){const u=C[l]||"",c=i[l-1];I[c.name]=u&&c.repeatable?u.split("/"):u}return I}function a(s){let C="",I=!1;for(const l of e){(!I||!C.endsWith("/"))&&(C+="/"),I=!1;for(const u of l)if(u.type===0)C+=u.value;else if(u.type===1){const{value:c,repeatable:h,optional:d}=u,B=c in s?s[c]:"";if(hi(B)&&!h)throw new Error(`Provided param "${c}" is an array but it is not repeatable (* or + modifiers)`);const f=hi(B)?B.join("/"):B;if(!f)if(d)l.length<2&&(C.endsWith("/")?C=C.slice(0,-1):I=!0);else throw new Error(`Missing required param "${c}"`);C+=f}}return C||"/"}return{re:o,score:r,keys:i,parse:g,stringify:a}}function HrA(e,t){let A=0;for(;A<e.length&&A<t.length;){const r=t[A]-e[A];if(r)return r;A++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function UrA(e,t){let A=0;const r=e.score,n=t.score;for(;A<r.length&&A<n.length;){const i=HrA(r[A],n[A]);if(i)return i;A++}if(Math.abs(n.length-r.length)===1){if(JP(r))return 1;if(JP(n))return-1}return n.length-r.length}function JP(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const KrA={type:0,value:""},_rA=/[a-zA-Z0-9_]/;function YrA(e){if(!e)return[[]];if(e==="/")return[[KrA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(u){throw new Error(`ERR (${A})/"${s}": ${u}`)}let A=0,r=A;const n=[];let i;function o(){i&&n.push(i),i=[]}let g=0,a,s="",C="";function I(){s&&(A===0?i.push({type:0,value:s}):A===1||A===2||A===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:s,regexp:C,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),s="")}function l(){s+=a}for(;g<e.length;){if(a=e[g++],a==="\\"&&A!==2){r=A,A=4;continue}switch(A){case 0:a==="/"?(s&&I(),o()):a===":"?(I(),A=1):l();break;case 4:l(),A=r;break;case 1:a==="("?A=2:_rA.test(a)?l():(I(),A=0,a!=="*"&&a!=="?"&&a!=="+"&&g--);break;case 2:a===")"?C[C.length-1]=="\\"?C=C.slice(0,-1)+a:A=3:C+=a;break;case 3:I(),A=0,a!=="*"&&a!=="?"&&a!=="+"&&g--,C="";break;default:t("Unknown state");break}}return A===2&&t(`Unfinished custom RegExp for param "${s}"`),I(),o(),n}function JrA(e,t,A){const r=TrA(YrA(e.path),A),n=et(r,{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function zrA(e,t){const A=[],r=new Map;t=qP({strict:!1,end:!0,sensitive:!1},t);function n(C){return r.get(C)}function i(C,I,l){const u=!l,c=WrA(C);c.aliasOf=l&&l.record;const h=qP(t,C),d=[c];if("alias"in C){const E=typeof C.alias=="string"?[C.alias]:C.alias;for(const v of E)d.push(et({},c,{components:l?l.record.components:c.components,path:v,aliasOf:l?l.record:c}))}let B,f;for(const E of d){const{path:v}=E;if(I&&v[0]!=="/"){const p=I.record.path,D=p[p.length-1]==="/"?"":"/";E.path=I.record.path+(v&&D+v)}if(B=JrA(E,I,h),l?l.alias.push(B):(f=f||B,f!==B&&f.alias.push(B),u&&C.name&&!WP(B)&&o(C.name)),c.children){const p=c.children;for(let D=0;D<p.length;D++)i(p[D],B,l&&l.children[D])}l=l||B,(B.record.components&&Object.keys(B.record.components).length||B.record.name||B.record.redirect)&&a(B)}return f?()=>{o(f)}:pu}function o(C){if(OK(C)){const I=r.get(C);I&&(r.delete(C),A.splice(A.indexOf(I),1),I.children.forEach(o),I.alias.forEach(o))}else{const I=A.indexOf(C);I>-1&&(A.splice(I,1),C.record.name&&r.delete(C.record.name),C.children.forEach(o),C.alias.forEach(o))}}function g(){return A}function a(C){let I=0;for(;I<A.length&&UrA(C,A[I])>=0&&(C.record.path!==A[I].record.path||!xK(C,A[I]));)I++;A.splice(I,0,C),C.record.name&&!WP(C)&&r.set(C.record.name,C)}function s(C,I){let l,u={},c,h;if("name"in C&&C.name){if(l=r.get(C.name),!l)throw hI(1,{location:C});h=l.record.name,u=et(zP(I.params,l.keys.filter(f=>!f.optional).concat(l.parent?l.parent.keys.filter(f=>f.optional):[]).map(f=>f.name)),C.params&&zP(C.params,l.keys.map(f=>f.name))),c=l.stringify(u)}else if(C.path!=null)c=C.path,l=A.find(f=>f.re.test(c)),l&&(u=l.parse(c),h=l.record.name);else{if(l=I.name?r.get(I.name):A.find(f=>f.re.test(I.path)),!l)throw hI(1,{location:C,currentLocation:I});h=l.record.name,u=et({},I.params,C.params),c=l.stringify(u)}const d=[];let B=l;for(;B;)d.unshift(B.record),B=B.parent;return{name:h,path:c,params:u,matched:d,meta:jrA(d)}}return e.forEach(C=>i(C)),{addRoute:i,resolve:s,removeRoute:o,getRoutes:g,getRecordMatcher:n}}function zP(e,t){const A={};for(const r of t)r in e&&(A[r]=e[r]);return A}function WrA(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:qrA(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function qrA(e){const t={},A=e.props||!1;if("component"in e)t.default=A;else for(const r in e.components)t[r]=typeof A=="object"?A[r]:A;return t}function WP(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jrA(e){return e.reduce((t,A)=>et(t,A.meta),{})}function qP(e,t){const A={};for(const r in e)A[r]=r in t?t[r]:e[r];return A}function xK(e,t){return t.children.some(A=>A===e||xK(e,A))}function VrA(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;n<r.length;++n){const i=r[n].replace(PK," "),o=i.indexOf("="),g=Xu(o<0?i:i.slice(0,o)),a=o<0?null:Xu(i.slice(o+1));if(g in t){let s=t[g];hi(s)||(s=t[g]=[s]),s.push(a)}else t[g]=a}return t}function jP(e){let t="";for(let A in e){const r=e[A];if(A=ErA(A),r==null){r!==void 0&&(t+=(t.length?"&":"")+A);continue}(hi(r)?r.map(i=>i&&Vm(i)):[r&&Vm(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+A,i!=null&&(t+="="+i))})}return t}function ZrA(e){const t={};for(const A in e){const r=e[A];r!==void 0&&(t[A]=hi(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const XrA=Symbol(""),VP=Symbol(""),SQ=Symbol(""),cM=Symbol(""),Xm=Symbol("");function _l(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function A(){e=[]}return{add:t,list:()=>e.slice(),reset:A}}function sg(e,t,A,r,n,i=o=>o()){const o=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((g,a)=>{const s=l=>{l===!1?a(hI(4,{from:A,to:t})):l instanceof Error?a(l):OrA(l)?a(hI(2,{from:t,to:l})):(o&&r.enterCallbacks[n]===o&&typeof l=="function"&&o.push(l),g())},C=i(()=>e.call(r&&r.instances[n],t,A,s));let I=Promise.resolve(C);e.length<3&&(I=I.then(s)),I.catch(l=>a(l))})}function Op(e,t,A,r,n=i=>i()){const i=[];for(const o of e)for(const g in o.components){let a=o.components[g];if(!(t!=="beforeRouteEnter"&&!o.instances[g]))if(AnA(a)){const C=(a.__vccOpts||a)[t];C&&i.push(sg(C,A,r,o,g,n))}else{let s=a();i.push(()=>s.then(C=>{if(!C)return Promise.reject(new Error(`Couldn't resolve component "${g}" at "${o.path}"`));const I=arA(C)?C.default:C;o.components[g]=I;const u=(I.__vccOpts||I)[t];return u&&sg(u,A,r,o,g,n)()}))}}return i}function AnA(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ZP(e){const t=pt(SQ),A=pt(cM),r=W(()=>t.resolve(Q(e.to))),n=W(()=>{const{matched:a}=r.value,{length:s}=a,C=a[s-1],I=A.matched;if(!C||!I.length)return-1;const l=I.findIndex(cI.bind(null,C));if(l>-1)return l;const u=XP(a[s-2]);return s>1&&XP(C)===u&&I[I.length-1].path!==u?I.findIndex(cI.bind(null,a[s-2])):l}),i=W(()=>n.value>-1&&rnA(A.params,r.value.params)),o=W(()=>n.value>-1&&n.value===A.matched.length-1&&$K(A.params,r.value.params));function g(a={}){return tnA(a)?t[Q(e.replace)?"replace":"push"](Q(e.to)).catch(pu):Promise.resolve()}return{route:r,href:W(()=>r.value.href),isActive:i,isExactActive:o,navigate:g}}const enA=DA({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ZP,setup(e,{slots:t}){const A=Ug(ZP(e)),{options:r}=pt(SQ),n=W(()=>({[AF(e.activeClass,r.linkActiveClass,"router-link-active")]:A.isActive,[AF(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:A.isExactActive}));return()=>{const i=t.default&&t.default(A);return e.custom?i:WI("a",{"aria-current":A.isExactActive?e.ariaCurrentValue:null,href:A.href,onClick:A.navigate,class:n.value},i)}}}),TK=enA;function tnA(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function rnA(e,t){for(const A in t){const r=t[A],n=e[A];if(typeof r=="string"){if(r!==n)return!1}else if(!hi(n)||n.length!==r.length||r.some((i,o)=>i!==n[o]))return!1}return!0}function XP(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const AF=(e,t,A)=>e??t??A,nnA=DA({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:A}){const r=pt(Xm),n=W(()=>e.route||r.value),i=pt(VP,0),o=W(()=>{let s=Q(i);const{matched:C}=n.value;let I;for(;(I=C[s])&&!I.components;)s++;return s}),g=W(()=>n.value.matched[o.value]);Io(VP,W(()=>o.value+1)),Io(XrA,g),Io(Xm,n);const a=_();return Ae(()=>[a.value,g.value,e.name],([s,C,I],[l,u,c])=>{C&&(C.instances[I]=s,u&&u!==C&&s&&s===l&&(C.leaveGuards.size||(C.leaveGuards=u.leaveGuards),C.updateGuards.size||(C.updateGuards=u.updateGuards))),s&&C&&(!u||!cI(C,u)||!l)&&(C.enterCallbacks[I]||[]).forEach(h=>h(s))},{flush:"post"}),()=>{const s=n.value,C=e.name,I=g.value,l=I&&I.components[C];if(!l)return eF(A.default,{Component:l,route:s});const u=I.props[C],c=u?u===!0?s.params:typeof u=="function"?u(s):u:null,d=WI(l,et({},c,t,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(I.instances[C]=null)},ref:a}));return eF(A.default,{Component:d,route:s})||d}}});function eF(e,t){if(!e)return null;const A=e(t);return A.length===1?A[0]:A}const inA=nnA;function onA(e){const t=zrA(e.routes,e),A=e.parseQuery||VrA,r=e.stringifyQuery||jP,n=e.history,i=_l(),o=_l(),g=_l(),a=Zi(zo);let s=zo;DC&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const C=Rp.bind(null,Y=>""+Y),I=Rp.bind(null,vrA),l=Rp.bind(null,Xu);function u(Y,nA){let L,P;return OK(Y)?(L=t.getRecordMatcher(Y),P=nA):P=Y,t.addRoute(P,L)}function c(Y){const nA=t.getRecordMatcher(Y);nA&&t.removeRoute(nA)}function h(){return t.getRoutes().map(Y=>Y.record)}function d(Y){return!!t.getRecordMatcher(Y)}function B(Y,nA){if(nA=et({},nA||a.value),typeof Y=="string"){const b=Lp(A,Y,nA.path),G=t.resolve({path:b.path},nA),J=n.createHref(b.fullPath);return et(b,G,{params:l(G.params),hash:Xu(b.hash),redirectedFrom:void 0,href:J})}let L;if(Y.path!=null)L=et({},Y,{path:Lp(A,Y.path,nA.path).path});else{const b=et({},Y.params);for(const G in b)b[G]==null&&delete b[G];L=et({},Y,{params:I(b)}),nA.params=I(nA.params)}const P=t.resolve(L,nA),$=Y.hash||"";P.params=C(l(P.params));const z=DrA(r,et({},Y,{hash:frA($),path:P.path})),w=n.createHref(z);return et({fullPath:z,hash:$,query:r===jP?ZrA(Y.query):Y.query||{}},P,{redirectedFrom:void 0,href:w})}function f(Y){return typeof Y=="string"?Lp(A,Y,a.value.path):et({},Y)}function E(Y,nA){if(s!==Y)return hI(8,{from:nA,to:Y})}function v(Y){return F(Y)}function p(Y){return v(et(f(Y),{replace:!0}))}function D(Y){const nA=Y.matched[Y.matched.length-1];if(nA&&nA.redirect){const{redirect:L}=nA;let P=typeof L=="function"?L(Y):L;return typeof P=="string"&&(P=P.includes("?")||P.includes("#")?P=f(P):{path:P},P.params={}),et({query:Y.query,hash:Y.hash,params:P.path!=null?{}:Y.params},P)}}function F(Y,nA){const L=s=B(Y),P=a.value,$=Y.state,z=Y.force,w=Y.replace===!0,b=D(L);if(b)return F(et(f(b),{state:typeof b=="object"?et({},$,b.state):$,force:z,replace:w}),nA||L);const G=L;G.redirectedFrom=nA;let J;return!z&&yrA(r,P,L)&&(J=hI(16,{to:G,from:P}),KA(P,P,!0,!1)),(J?Promise.resolve(J):m(G,P)).catch(K=>oo(K)?oo(K,2)?K:XA(K):uA(K,G,P)).then(K=>{if(K){if(oo(K,2))return F(et({replace:w},f(K.to),{state:typeof K.to=="object"?et({},$,K.to.state):$,force:z}),nA||G)}else K=k(G,P,!0,w,$);return R(G,P,K),K})}function S(Y,nA){const L=E(Y,nA);return L?Promise.reject(L):Promise.resolve()}function N(Y){const nA=_A.values().next().value;return nA&&typeof nA.runWithContext=="function"?nA.runWithContext(Y):Y()}function m(Y,nA){let L;const[P,$,z]=gnA(Y,nA);L=Op(P.reverse(),"beforeRouteLeave",Y,nA);for(const b of P)b.leaveGuards.forEach(G=>{L.push(sg(G,Y,nA))});const w=S.bind(null,Y,nA);return L.push(w),ce(L).then(()=>{L=[];for(const b of i.list())L.push(sg(b,Y,nA));return L.push(w),ce(L)}).then(()=>{L=Op($,"beforeRouteUpdate",Y,nA);for(const b of $)b.updateGuards.forEach(G=>{L.push(sg(G,Y,nA))});return L.push(w),ce(L)}).then(()=>{L=[];for(const b of z)if(b.beforeEnter)if(hi(b.beforeEnter))for(const G of b.beforeEnter)L.push(sg(G,Y,nA));else L.push(sg(b.beforeEnter,Y,nA));return L.push(w),ce(L)}).then(()=>(Y.matched.forEach(b=>b.enterCallbacks={}),L=Op(z,"beforeRouteEnter",Y,nA,N),L.push(w),ce(L))).then(()=>{L=[];for(const b of o.list())L.push(sg(b,Y,nA));return L.push(w),ce(L)}).catch(b=>oo(b,8)?b:Promise.reject(b))}function R(Y,nA,L){g.list().forEach(P=>N(()=>P(Y,nA,L)))}function k(Y,nA,L,P,$){const z=E(Y,nA);if(z)return z;const w=nA===zo,b=DC?history.state:{};L&&(P||w?n.replace(Y.fullPath,et({scroll:w&&b&&b.scroll},$)):n.push(Y.fullPath,$)),a.value=Y,KA(Y,nA,L,w),XA()}let O;function H(){O||(O=n.listen((Y,nA,L)=>{if(!ne.listening)return;const P=B(Y),$=D(P);if($){F(et($,{replace:!0}),P).catch(pu);return}s=P;const z=a.value;DC&&RrA(KP(z.fullPath,L.delta),PrA()),m(P,z).catch(w=>oo(w,12)?w:oo(w,2)?(F(w.to,P).then(b=>{oo(b,20)&&!L.delta&&L.type===Ac.pop&&n.go(-1,!1)}).catch(pu),Promise.reject()):(L.delta&&n.go(-L.delta,!1),uA(w,P,z))).then(w=>{w=w||k(P,z,!1),w&&(L.delta&&!oo(w,8)?n.go(-L.delta,!1):L.type===Ac.pop&&oo(w,20)&&n.go(-1,!1)),R(P,z,w)}).catch(pu)}))}let X=_l(),q=_l(),Z;function uA(Y,nA,L){XA(Y);const P=q.list();return P.length?P.forEach($=>$(Y,nA,L)):console.error(Y),Promise.reject(Y)}function MA(){return Z&&a.value!==zo?Promise.resolve():new Promise((Y,nA)=>{X.add([Y,nA])})}function XA(Y){return Z||(Z=!Y,H(),X.list().forEach(([nA,L])=>Y?L(Y):nA()),X.reset()),Y}function KA(Y,nA,L,P){const{scrollBehavior:$}=e;if(!DC||!$)return Promise.resolve();const z=!L&&LrA(KP(Y.fullPath,0))||(P||!L)&&history.state&&history.state.scroll||null;return cr().then(()=>$(Y,nA,z)).then(w=>w&&FrA(w)).catch(w=>uA(w,Y,nA))}const QA=Y=>n.go(Y);let HA;const _A=new Set,ne={currentRoute:a,listening:!0,addRoute:u,removeRoute:c,hasRoute:d,getRoutes:h,resolve:B,options:e,push:v,replace:p,go:QA,back:()=>QA(-1),forward:()=>QA(1),beforeEach:i.add,beforeResolve:o.add,afterEach:g.add,onError:q.add,isReady:MA,install(Y){const nA=this;Y.component("RouterLink",TK),Y.component("RouterView",inA),Y.config.globalProperties.$router=nA,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(a)}),DC&&!HA&&a.value===zo&&(HA=!0,v(n.location).catch($=>{}));const L={};for(const $ in zo)Object.defineProperty(L,$,{get:()=>a.value[$],enumerable:!0});Y.provide(SQ,nA),Y.provide(cM,Y1(L)),Y.provide(Xm,a);const P=Y.unmount;_A.add(Y),Y.unmount=function(){_A.delete(Y),_A.size<1&&(s=zo,O&&O(),O=null,a.value=zo,HA=!1,Z=!1),P()}}};function ce(Y){return Y.reduce((nA,L)=>nA.then(()=>N(L)),Promise.resolve())}return ne}function gnA(e,t){const A=[],r=[],n=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const g=t.matched[o];g&&(e.matched.find(s=>cI(s,g))?r.push(g):A.push(g));const a=e.matched[o];a&&(t.matched.find(s=>cI(s,a))||n.push(a))}return[A,r,n]}function VI(){return pt(SQ)}function NQ(){return pt(cM)}const anA=["src","alt"],snA=["title"],zc=DA({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,A)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(M(),x("img",Ir({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,anA)):(M(),x("div",Ir({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"i-carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,snA))}}),CnA=["top","right","bottom","left"],tF=["start","end"],rF=CnA.reduce((e,t)=>e.concat(t,t+"-"+tF[0],t+"-"+tF[1]),[]),ec=Math.min,Sa=Math.max,InA={left:"right",right:"left",bottom:"top",top:"bottom"},lnA={start:"end",end:"start"};function A0(e,t,A){return Sa(e,ec(t,A))}function Ps(e,t){return typeof e=="function"?e(t):e}function Wi(e){return e.split("-")[0]}function ui(e){return e.split("-")[1]}function HK(e){return e==="x"?"y":"x"}function hM(e){return e==="y"?"height":"width"}function Wc(e){return["top","bottom"].includes(Wi(e))?"y":"x"}function dM(e){return HK(Wc(e))}function UK(e,t,A){A===void 0&&(A=!1);const r=ui(e),n=dM(e),i=hM(n);let o=n==="x"?r===(A?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=nE(o)),[o,nE(o)]}function unA(e){const t=nE(e);return[rE(e),t,rE(t)]}function rE(e){return e.replace(/start|end/g,t=>lnA[t])}function cnA(e,t,A){const r=["left","right"],n=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return A?t?n:r:t?r:n;case"left":case"right":return t?i:o;default:return[]}}function hnA(e,t,A,r){const n=ui(e);let i=cnA(Wi(e),A==="start",r);return n&&(i=i.map(o=>o+"-"+n),t&&(i=i.concat(i.map(rE)))),i}function nE(e){return e.replace(/left|right|bottom|top/g,t=>InA[t])}function dnA(e){return{top:0,right:0,bottom:0,left:0,...e}}function KK(e){return typeof e!="number"?dnA(e):{top:e,right:e,bottom:e,left:e}}function wu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function nF(e,t,A){let{reference:r,floating:n}=e;const i=Wc(t),o=dM(t),g=hM(o),a=Wi(t),s=i==="y",C=r.x+r.width/2-n.width/2,I=r.y+r.height/2-n.height/2,l=r[g]/2-n[g]/2;let u;switch(a){case"top":u={x:C,y:r.y-n.height};break;case"bottom":u={x:C,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:I};break;case"left":u={x:r.x-n.width,y:I};break;default:u={x:r.x,y:r.y}}switch(ui(t)){case"start":u[o]-=l*(A&&s?-1:1);break;case"end":u[o]+=l*(A&&s?-1:1);break}return u}const BnA=async(e,t,A)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:o}=A,g=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(t));let s=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:C,y:I}=nF(s,r,a),l=r,u={},c=0;for(let h=0;h<g.length;h++){const{name:d,fn:B}=g[h],{x:f,y:E,data:v,reset:p}=await B({x:C,y:I,initialPlacement:r,placement:l,strategy:n,middlewareData:u,rects:s,platform:o,elements:{reference:e,floating:t}});if(C=f??C,I=E??I,u={...u,[d]:{...u[d],...v}},p&&c<=50){c++,typeof p=="object"&&(p.placement&&(l=p.placement),p.rects&&(s=p.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:n}):p.rects),{x:C,y:I}=nF(s,l,a)),h=-1;continue}}return{x:C,y:I,placement:l,strategy:n,middlewareData:u}};async function PQ(e,t){var A;t===void 0&&(t={});const{x:r,y:n,platform:i,rects:o,elements:g,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:C="viewport",elementContext:I="floating",altBoundary:l=!1,padding:u=0}=Ps(t,e),c=KK(u),d=g[l?I==="floating"?"reference":"floating":I],B=wu(await i.getClippingRect({element:(A=await(i.isElement==null?void 0:i.isElement(d)))==null||A?d:d.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(g.floating)),boundary:s,rootBoundary:C,strategy:a})),f=I==="floating"?{...o.floating,x:r,y:n}:o.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(g.floating)),v=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},p=wu(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:E,strategy:a}):f);return{top:(B.top-p.top+c.top)/v.y,bottom:(p.bottom-B.bottom+c.bottom)/v.y,left:(B.left-p.left+c.left)/v.x,right:(p.right-B.right+c.right)/v.x}}const fnA=e=>({name:"arrow",options:e,async fn(t){const{x:A,y:r,placement:n,rects:i,platform:o,elements:g}=t,{element:a,padding:s=0}=Ps(e,t)||{};if(a==null)return{};const C=KK(s),I={x:A,y:r},l=dM(n),u=hM(l),c=await o.getDimensions(a),h=l==="y",d=h?"top":"left",B=h?"bottom":"right",f=h?"clientHeight":"clientWidth",E=i.reference[u]+i.reference[l]-I[l]-i.floating[u],v=I[l]-i.reference[l],p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a));let D=p?p[f]:0;(!D||!await(o.isElement==null?void 0:o.isElement(p)))&&(D=g.floating[f]||i.floating[u]);const F=E/2-v/2,S=D/2-c[u]/2-1,N=ec(C[d],S),m=ec(C[B],S),R=N,k=D-c[u]-m,O=D/2-c[u]/2+F,H=A0(R,O,k),q=ui(n)!=null&&O!=H&&i.reference[u]/2-(O<R?N:m)-c[u]/2<0?O<R?R-O:k-O:0;return{[l]:I[l]-q,data:{[l]:H,centerOffset:O-H+q}}}});function EnA(e,t,A){return(e?[...A.filter(n=>ui(n)===e),...A.filter(n=>ui(n)!==e)]:A.filter(n=>Wi(n)===n)).filter(n=>e?ui(n)===e||(t?rE(n)!==n:!1):!0)}const QnA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var A,r,n;const{rects:i,middlewareData:o,placement:g,platform:a,elements:s}=t,{crossAxis:C=!1,alignment:I,allowedPlacements:l=rF,autoAlignment:u=!0,...c}=Ps(e,t),h=I!==void 0||l===rF?EnA(I||null,u,l):l,d=await PQ(t,c),B=((A=o.autoPlacement)==null?void 0:A.index)||0,f=h[B];if(f==null)return{};const E=UK(f,i,await(a.isRTL==null?void 0:a.isRTL(s.floating)));if(g!==f)return{reset:{placement:h[0]}};const v=[d[Wi(f)],d[E[0]],d[E[1]]],p=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:f,overflows:v}],D=h[B+1];if(D)return{data:{index:B+1,overflows:p},reset:{placement:D}};const F=p.map(m=>{const R=ui(m.placement);return[m.placement,R&&C?m.overflows.slice(0,2).reduce((k,O)=>k+O,0):m.overflows[0],m.overflows]}).sort((m,R)=>m[1]-R[1]),N=((n=F.filter(m=>m[2].slice(0,ui(m[0])?2:3).every(R=>R<=0))[0])==null?void 0:n[0])||F[0][0];return N!==g?{data:{index:B+1,overflows:p},reset:{placement:N}}:{}}}},vnA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var A;const{placement:r,middlewareData:n,rects:i,initialPlacement:o,platform:g,elements:a}=t,{mainAxis:s=!0,crossAxis:C=!0,fallbackPlacements:I,fallbackStrategy:l="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:c=!0,...h}=Ps(e,t),d=Wi(r),B=Wi(o)===o,f=await(g.isRTL==null?void 0:g.isRTL(a.floating)),E=I||(B||!c?[nE(o)]:unA(o));!I&&u!=="none"&&E.push(...hnA(o,c,u,f));const v=[o,...E],p=await PQ(t,h),D=[];let F=((A=n.flip)==null?void 0:A.overflows)||[];if(s&&D.push(p[d]),C){const R=UK(r,i,f);D.push(p[R[0]],p[R[1]])}if(F=[...F,{placement:r,overflows:D}],!D.every(R=>R<=0)){var S,N;const R=(((S=n.flip)==null?void 0:S.index)||0)+1,k=v[R];if(k)return{data:{index:R,overflows:F},reset:{placement:k}};let O=(N=F.filter(H=>H.overflows[0]<=0).sort((H,X)=>H.overflows[1]-X.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(l){case"bestFit":{var m;const H=(m=F.map(X=>[X.placement,X.overflows.filter(q=>q>0).reduce((q,Z)=>q+Z,0)]).sort((X,q)=>X[1]-q[1])[0])==null?void 0:m[0];H&&(O=H);break}case"initialPlacement":O=o;break}if(r!==O)return{reset:{placement:O}}}return{}}}};async function pnA(e,t){const{placement:A,platform:r,elements:n}=e,i=await(r.isRTL==null?void 0:r.isRTL(n.floating)),o=Wi(A),g=ui(A),a=Wc(A)==="y",s=["left","top"].includes(o)?-1:1,C=i&&a?-1:1,I=Ps(t,e);let{mainAxis:l,crossAxis:u,alignmentAxis:c}=typeof I=="number"?{mainAxis:I,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...I};return g&&typeof c=="number"&&(u=g==="end"?c*-1:c),a?{x:u*C,y:l*s}:{x:l*s,y:u*C}}const wnA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:A,y:r}=t,n=await pnA(t,e);return{x:A+n.x,y:r+n.y,data:n}}}},DnA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:A,y:r,placement:n}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:g={fn:d=>{let{x:B,y:f}=d;return{x:B,y:f}}},...a}=Ps(e,t),s={x:A,y:r},C=await PQ(t,a),I=Wc(Wi(n)),l=HK(I);let u=s[l],c=s[I];if(i){const d=l==="y"?"top":"left",B=l==="y"?"bottom":"right",f=u+C[d],E=u-C[B];u=A0(f,u,E)}if(o){const d=I==="y"?"top":"left",B=I==="y"?"bottom":"right",f=c+C[d],E=c-C[B];c=A0(f,c,E)}const h=g.fn({...t,[l]:u,[I]:c});return{...h,data:{x:h.x-A,y:h.y-r}}}}},ynA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:A,rects:r,platform:n,elements:i}=t,{apply:o=()=>{},...g}=Ps(e,t),a=await PQ(t,g),s=Wi(A),C=ui(A),I=Wc(A)==="y",{width:l,height:u}=r.floating;let c,h;s==="top"||s==="bottom"?(c=s,h=C===(await(n.isRTL==null?void 0:n.isRTL(i.floating))?"start":"end")?"left":"right"):(h=s,c=C==="end"?"top":"bottom");const d=u-a[c],B=l-a[h],f=!t.middlewareData.shift;let E=d,v=B;if(I){const D=l-a.left-a.right;v=C||f?ec(B,D):D}else{const D=u-a.top-a.bottom;E=C||f?ec(d,D):D}if(f&&!C){const D=Sa(a.left,0),F=Sa(a.right,0),S=Sa(a.top,0),N=Sa(a.bottom,0);I?v=l-2*(D!==0||F!==0?D+F:Sa(a.left,a.right)):E=u-2*(S!==0||N!==0?S+N:Sa(a.top,a.bottom))}await o({...t,availableWidth:v,availableHeight:E});const p=await n.getDimensions(i.floating);return l!==p.width||u!==p.height?{reset:{rects:!0}}:{}}}};function $n(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xi(e){return $n(e).getComputedStyle(e)}const iF=Math.min,Du=Math.max,iE=Math.round;function _K(e){const t=xi(e);let A=parseFloat(t.width),r=parseFloat(t.height);const n=e.offsetWidth,i=e.offsetHeight,o=iE(A)!==n||iE(r)!==i;return o&&(A=n,r=i),{width:A,height:r,fallback:o}}function Jg(e){return JK(e)?(e.nodeName||"").toLowerCase():""}let Nd;function YK(){if(Nd)return Nd;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Nd=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Nd):navigator.userAgent}function Ti(e){return e instanceof $n(e).HTMLElement}function Dg(e){return e instanceof $n(e).Element}function JK(e){return e instanceof $n(e).Node}function oF(e){return typeof ShadowRoot>"u"?!1:e instanceof $n(e).ShadowRoot||e instanceof ShadowRoot}function FQ(e){const{overflow:t,overflowX:A,overflowY:r,display:n}=xi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+A)&&!["inline","contents"].includes(n)}function mnA(e){return["table","td","th"].includes(Jg(e))}function e0(e){const t=/firefox/i.test(YK()),A=xi(e),r=A.backdropFilter||A.WebkitBackdropFilter;return A.transform!=="none"||A.perspective!=="none"||!!r&&r!=="none"||t&&A.willChange==="filter"||t&&!!A.filter&&A.filter!=="none"||["transform","perspective"].some(n=>A.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const i=A.contain;return i!=null&&i.includes(n)})}function zK(){return!/^((?!chrome|android).)*safari/i.test(YK())}function BM(e){return["html","body","#document"].includes(Jg(e))}function WK(e){return Dg(e)?e:e.contextElement}const qK={x:1,y:1};function VC(e){const t=WK(e);if(!Ti(t))return qK;const A=t.getBoundingClientRect(),{width:r,height:n,fallback:i}=_K(t);let o=(i?iE(A.width):A.width)/r,g=(i?iE(A.height):A.height)/n;return o&&Number.isFinite(o)||(o=1),g&&Number.isFinite(g)||(g=1),{x:o,y:g}}function tc(e,t,A,r){var n,i;t===void 0&&(t=!1),A===void 0&&(A=!1);const o=e.getBoundingClientRect(),g=WK(e);let a=qK;t&&(r?Dg(r)&&(a=VC(r)):a=VC(e));const s=g?$n(g):window,C=!zK()&&A;let I=(o.left+(C&&((n=s.visualViewport)==null?void 0:n.offsetLeft)||0))/a.x,l=(o.top+(C&&((i=s.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,u=o.width/a.x,c=o.height/a.y;if(g){const h=$n(g),d=r&&Dg(r)?$n(r):r;let B=h.frameElement;for(;B&&r&&d!==h;){const f=VC(B),E=B.getBoundingClientRect(),v=getComputedStyle(B);E.x+=(B.clientLeft+parseFloat(v.paddingLeft))*f.x,E.y+=(B.clientTop+parseFloat(v.paddingTop))*f.y,I*=f.x,l*=f.y,u*=f.x,c*=f.y,I+=E.x,l+=E.y,B=$n(B).frameElement}}return{width:u,height:c,top:l,right:I+u,bottom:l+c,left:I,x:I,y:l}}function yg(e){return((JK(e)?e.ownerDocument:e.document)||window.document).documentElement}function RQ(e){return Dg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function jK(e){return tc(yg(e)).left+RQ(e).scrollLeft}function rc(e){if(Jg(e)==="html")return e;const t=e.assignedSlot||e.parentNode||oF(e)&&e.host||yg(e);return oF(t)?t.host:t}function VK(e){const t=rc(e);return BM(t)?t.ownerDocument.body:Ti(t)&&FQ(t)?t:VK(t)}function oE(e,t){var A;t===void 0&&(t=[]);const r=VK(e),n=r===((A=e.ownerDocument)==null?void 0:A.body),i=$n(r);return n?t.concat(i,i.visualViewport||[],FQ(r)?r:[]):t.concat(r,oE(r))}function gF(e,t,A){return t==="viewport"?wu(function(r,n){const i=$n(r),o=yg(r),g=i.visualViewport;let a=o.clientWidth,s=o.clientHeight,C=0,I=0;if(g){a=g.width,s=g.height;const l=zK();(l||!l&&n==="fixed")&&(C=g.offsetLeft,I=g.offsetTop)}return{width:a,height:s,x:C,y:I}}(e,A)):Dg(t)?wu(function(r,n){const i=tc(r,!0,n==="fixed"),o=i.top+r.clientTop,g=i.left+r.clientLeft,a=Ti(r)?VC(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:g*a.x,y:o*a.y}}(t,A)):wu(function(r){const n=yg(r),i=RQ(r),o=r.ownerDocument.body,g=Du(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),a=Du(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let s=-i.scrollLeft+jK(r);const C=-i.scrollTop;return xi(o).direction==="rtl"&&(s+=Du(n.clientWidth,o.clientWidth)-g),{width:g,height:a,x:s,y:C}}(yg(e)))}function aF(e){return Ti(e)&&xi(e).position!=="fixed"?e.offsetParent:null}function sF(e){const t=$n(e);let A=aF(e);for(;A&&mnA(A)&&xi(A).position==="static";)A=aF(A);return A&&(Jg(A)==="html"||Jg(A)==="body"&&xi(A).position==="static"&&!e0(A))?t:A||function(r){let n=rc(r);for(;Ti(n)&&!BM(n);){if(e0(n))return n;n=rc(n)}return null}(e)||t}function bnA(e,t,A){const r=Ti(t),n=yg(t),i=tc(e,!0,A==="fixed",t);let o={scrollLeft:0,scrollTop:0};const g={x:0,y:0};if(r||!r&&A!=="fixed")if((Jg(t)!=="body"||FQ(n))&&(o=RQ(t)),Ti(t)){const a=tc(t,!0);g.x=a.x+t.clientLeft,g.y=a.y+t.clientTop}else n&&(g.x=jK(n));return{x:i.left+o.scrollLeft-g.x,y:i.top+o.scrollTop-g.y,width:i.width,height:i.height}}const MnA={getClippingRect:function(e){let{element:t,boundary:A,rootBoundary:r,strategy:n}=e;const i=A==="clippingAncestors"?function(s,C){const I=C.get(s);if(I)return I;let l=oE(s).filter(d=>Dg(d)&&Jg(d)!=="body"),u=null;const c=xi(s).position==="fixed";let h=c?rc(s):s;for(;Dg(h)&&!BM(h);){const d=xi(h),B=e0(h);(c?B||u:B||d.position!=="static"||!u||!["absolute","fixed"].includes(u.position))?u=d:l=l.filter(f=>f!==h),h=rc(h)}return C.set(s,l),l}(t,this._c):[].concat(A),o=[...i,r],g=o[0],a=o.reduce((s,C)=>{const I=gF(t,C,n);return s.top=Du(I.top,s.top),s.right=iF(I.right,s.right),s.bottom=iF(I.bottom,s.bottom),s.left=Du(I.left,s.left),s},gF(t,g,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:A,strategy:r}=e;const n=Ti(A),i=yg(A);if(A===i)return t;let o={scrollLeft:0,scrollTop:0},g={x:1,y:1};const a={x:0,y:0};if((n||!n&&r!=="fixed")&&((Jg(A)!=="body"||FQ(i))&&(o=RQ(A)),Ti(A))){const s=tc(A);g=VC(A),a.x=s.x+A.clientLeft,a.y=s.y+A.clientTop}return{width:t.width*g.x,height:t.height*g.y,x:t.x*g.x-o.scrollLeft*g.x+a.x,y:t.y*g.y-o.scrollTop*g.y+a.y}},isElement:Dg,getDimensions:function(e){return Ti(e)?_K(e):e.getBoundingClientRect()},getOffsetParent:sF,getDocumentElement:yg,getScale:VC,async getElementRects(e){let{reference:t,floating:A,strategy:r}=e;const n=this.getOffsetParent||sF,i=this.getDimensions;return{reference:bnA(t,await n(A),r),floating:{x:0,y:0,...await i(A)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>xi(e).direction==="rtl"},knA=(e,t,A)=>{const r=new Map,n={platform:MnA,...A},i={...n.platform,_c:r};return BnA(e,t,{...n,platform:i})},za={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 nc(e,t){let A=za.themes[e]||{},r;do r=A[t],typeof r>"u"?A.$extend?A=za.themes[A.$extend]||{}:(A=null,r=za[t]):A=null;while(A);return r}function SnA(e){const t=[e];let A=za.themes[e]||{};do A.$extend&&!A.$resetCss?(t.push(A.$extend),A=za.themes[A.$extend]||{}):A=null;while(A);return t.map(r=>`v-popper--theme-${r}`)}function CF(e){const t=[e];let A=za.themes[e]||{};do A.$extend?(t.push(A.$extend),A=za.themes[A.$extend]||{}):A=null;while(A);return t}let dI=!1;if(typeof window<"u"){dI=!1;try{const e=Object.defineProperty({},"passive",{get(){dI=!0}});window.addEventListener("test",null,e)}catch{}}let ZK=!1;typeof window<"u"&&typeof navigator<"u"&&(ZK=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const XK=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),IF={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},lF={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function uF(e,t){const A=e.indexOf(t);A!==-1&&e.splice(A,1)}function Gp(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ii=[];let ya=null;const cF={};function hF(e){let t=cF[e];return t||(t=cF[e]=[]),t}let t0=function(){};typeof window<"u"&&(t0=window.Element);function Ee(e){return function(t){return nc(t.theme,e)}}const xp="__floating-vue__popper",A_=()=>DA({name:"VPopper",provide(){return{[xp]:{parentPopper:this}}},inject:{[xp]:{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:Ee("disabled")},positioningDisabled:{type:Boolean,default:Ee("positioningDisabled")},placement:{type:String,default:Ee("placement"),validator:e=>XK.includes(e)},delay:{type:[String,Number,Object],default:Ee("delay")},distance:{type:[Number,String],default:Ee("distance")},skidding:{type:[Number,String],default:Ee("skidding")},triggers:{type:Array,default:Ee("triggers")},showTriggers:{type:[Array,Function],default:Ee("showTriggers")},hideTriggers:{type:[Array,Function],default:Ee("hideTriggers")},popperTriggers:{type:Array,default:Ee("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ee("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ee("popperHideTriggers")},container:{type:[String,Object,t0,Boolean],default:Ee("container")},boundary:{type:[String,t0],default:Ee("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ee("strategy")},autoHide:{type:[Boolean,Function],default:Ee("autoHide")},handleResize:{type:Boolean,default:Ee("handleResize")},instantMove:{type:Boolean,default:Ee("instantMove")},eagerMount:{type:Boolean,default:Ee("eagerMount")},popperClass:{type:[String,Array,Object],default:Ee("popperClass")},computeTransformOrigin:{type:Boolean,default:Ee("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ee("autoMinSize")},autoSize:{type:[Boolean,String],default:Ee("autoSize")},autoMaxSize:{type:Boolean,default:Ee("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ee("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ee("preventOverflow")},overflowPadding:{type:[Number,String],default:Ee("overflowPadding")},arrowPadding:{type:[Number,String],default:Ee("arrowPadding")},arrowOverflow:{type:Boolean,default:Ee("arrowOverflow")},flip:{type:Boolean,default:Ee("flip")},shift:{type:Boolean,default:Ee("shift")},shiftCrossAxis:{type:Boolean,default:Ee("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ee("noAutoFocus")},disposeTimeout:{type:Number,default:Ee("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[xp])==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:A=!1}={}){var r,n;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(A||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.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 A;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}((A=this.parentPopper)==null?void 0:A.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(wnA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(QnA({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(DnA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(vnA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(fnA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:n,middlewareData:i})=>{let o;const{centerOffset:g}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?o=Math.abs(g)>n.reference.width/2:o=Math.abs(g)>n.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:i,middlewareData:o})=>{var g;if((g=o.autoSize)!=null&&g.skip)return{};let a,s;return i.startsWith("top")||i.startsWith("bottom")?a=n.reference.width:s=n.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=s!=null?`${s}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(ynA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:n})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const A=await knA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:A.x,y:A.y,placement:A.placement,strategy:A.strategy,arrow:{...A.middlewareData.arrow,...A.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ya&&this.instantMove&&ya.instantMove&&ya!==this.parentPopper){ya.$_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&&(ya=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 Gp(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oE(this.$_referenceNode),...oE(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),A=this.$_popperNode.querySelector(".v-popper__wrapper"),r=A.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(r.left+A.offsetLeft),i=t.y+t.height/2-(r.top+A.offsetTop);this.result.transformOrigin=`${n}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let A=0;A<ii.length;A++)t=ii[A],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}ii.push(this),document.body.classList.add("v-popper--some-open");for(const t of CF(this.theme))hF(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 Gp(),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,uF(ii,this),ii.length===0&&document.body.classList.remove("v-popper--some-open");for(const A of CF(this.theme)){const r=hF(A);uF(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${A}`)}ya===this&&(ya=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 Gp(),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=A=>{this.isShown&&!this.$_hideInProgress||(A.usedByTooltip=!0,!this.$_preventShow&&this.show({event:A}))};this.$_registerTriggerListeners(this.$_targetNodes,IF,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],IF,this.popperTriggers,this.popperShowTriggers,e);const t=A=>{A.usedByTooltip||this.hide({event:A})};this.$_registerTriggerListeners(this.$_targetNodes,lF,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],lF,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,A){this.$_events.push({targetNodes:e,eventType:t,handler:A}),e.forEach(r=>r.addEventListener(t,A,dI?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,A,r,n){let i=A;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(o=>{const g=t[o];g&&this.$_registerEventListeners(e,g,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(A=>{const{targetNodes:r,eventType:n,handler:i}=A;!e||e===n?r.forEach(o=>o.removeEventListener(n,i)):t.push(A)}),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 A of this.$_targetNodes){const r=A.getAttribute(e);r&&(A.removeAttribute(e),A.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const A in e){const r=e[A];r==null?t.removeAttribute(A):t.setAttribute(A,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(yu>=e.left&&yu<=e.right&&mu>=e.top&&mu<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),A=yu-Vo,r=mu-Zo,n=t.left+t.width/2-Vo+(t.top+t.height/2)-Zo+t.width+t.height,i=Vo+A*n,o=Zo+r*n;return Pd(Vo,Zo,i,o,t.left,t.top,t.left,t.bottom)||Pd(Vo,Zo,i,o,t.left,t.top,t.right,t.top)||Pd(Vo,Zo,i,o,t.right,t.top,t.right,t.bottom)||Pd(Vo,Zo,i,o,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(ZK){const e=dI?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>dF(t),e),document.addEventListener("touchend",t=>BF(t,!0),e)}else window.addEventListener("mousedown",e=>dF(e),!0),window.addEventListener("click",e=>BF(e,!1),!0);window.addEventListener("resize",FnA)}function dF(e,t){for(let A=0;A<ii.length;A++){const r=ii[A];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function BF(e,t){NnA(e,t)}function NnA(e,t){const A={};for(let r=ii.length-1;r>=0;r--){const n=ii[r];try{const i=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!A[n.randomId]&&fF(n,i,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let g=n.parentPopper;for(;g;)A[g.randomId]=!0,g=g.parentPopper;return}let o=n.parentPopper;for(;o&&fF(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function fF(e,t,A){return A.closeAllPopover||A.closePopover&&t||PnA(e,A)&&!t}function PnA(e,t){if(typeof e.autoHide=="function"){const A=e.autoHide(t);return e.lastAutoHide=A,A}return e.autoHide}function FnA(){for(let e=0;e<ii.length;e++)ii[e].$_computePosition()}let Vo=0,Zo=0,yu=0,mu=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Vo=yu,Zo=mu,yu=e.clientX,mu=e.clientY},dI?{passive:!0}:void 0);function Pd(e,t,A,r,n,i,o,g){const a=((o-n)*(t-i)-(g-i)*(e-n))/((g-i)*(A-e)-(o-n)*(r-t)),s=((A-e)*(t-i)-(r-t)*(e-n))/((g-i)*(A-e)-(o-n)*(r-t));return a>=0&&a<=1&&s>=0&&s<=1}const RnA={extends:A_()},LQ=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A};function LnA(e,t,A,r,n,i){return M(),x("div",{ref:"reference",class:bA(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[VA(e.$slots,"default",Oc(zI(e.slotData)))],2)}const $nA=LQ(RnA,[["render",LnA]]);function OnA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var A=e.indexOf("Trident/");if(A>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let af;function r0(){r0.init||(r0.init=!0,af=OnA()!==-1)}var $Q={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){r0(),cr(()=>{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",af&&this.$el.appendChild(e),e.data="about:blank",af||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&&(!af&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const GnA=gU();BQ("data-v-b329ee4c");const xnA={class:"resize-observer",tabindex:"-1"};fQ();const TnA=GnA((e,t,A,r,n,i)=>(M(),tA("div",xnA)));$Q.render=TnA;$Q.__scopeId="data-v-b329ee4c";$Q.__file="src/components/ResizeObserver.vue";const e_=(e="theme")=>({computed:{themeClass(){return SnA(this[e])}}}),HnA=DA({name:"VPopperContent",components:{ResizeObserver:$Q},mixins:[e_()],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}}}),UnA=["id","aria-hidden","tabindex","data-popper-placement"],KnA={ref:"inner",class:"v-popper__inner"},_nA=y("div",{class:"v-popper__arrow-outer"},null,-1),YnA=y("div",{class:"v-popper__arrow-inner"},null,-1),JnA=[_nA,YnA];function znA(e,t,A,r,n,i){const o=En("ResizeObserver");return M(),x("div",{id:e.popperId,ref:"popover",class:bA(["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:Qt(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]=$U(g=>e.autoHide&&e.$emit("hide"),["esc"]))},[y("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=g=>e.autoHide&&e.$emit("hide"))}),y("div",{class:"v-popper__wrapper",style:Qt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[y("div",KnA,[e.mounted?(M(),x(wA,{key:0},[y("div",null,[VA(e.$slots,"default")]),e.handleResize?(M(),tA(o,{key:0,onNotify:t[1]||(t[1]=g=>e.$emit("resize",g))})):pA("",!0)],64)):pA("",!0)],512),y("div",{ref:"arrow",class:"v-popper__arrow-container",style:Qt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},JnA,4)],4)],46,UnA)}const t_=LQ(HnA,[["render",znA]]),r_={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 n0=function(){};typeof window<"u"&&(n0=window.Element);const WnA=DA({name:"VPopperWrapper",components:{Popper:$nA,PopperContent:t_},mixins:[r_,e_("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,n0,Boolean],default:void 0},boundary:{type:[String,n0],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 qnA(e,t,A,r,n,i){const o=En("PopperContent"),g=En("Popper");return M(),tA(g,Ir({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]=a=>e.$emit("update:shown",a)),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:U(({popperId:a,isShown:s,shouldMountContent:C,skipTransition:I,autoHide:l,show:u,hide:c,handleResize:h,onResize:d,classes:B,result:f})=>[VA(e.$slots,"default",{shown:s,show:u,hide:c}),T(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:s,mounted:C,"skip-transition":I,"auto-hide":l,"handle-resize":h,classes:B,result:f,onHide:c,onResize:d},{default:U(()=>[VA(e.$slots,"popper",{shown:s,hide:c})]),_: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 fM=LQ(WnA,[["render",qnA]]),jnA={...fM,name:"VDropdown",vPopperTheme:"dropdown"};({...fM});const VnA={...fM,name:"VTooltip",vPopperTheme:"tooltip"},ZnA=DA({name:"VTooltipDirective",components:{Popper:A_(),PopperContent:t_},mixins:[r_],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>nc(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>nc(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,A=this.content(this);A.then?A.then(r=>this.onResult(t,r)):this.onResult(t,A)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),XnA=["innerHTML"],AiA=["textContent"];function eiA(e,t,A,r,n,i){const o=En("PopperContent"),g=En("Popper");return M(),tA(g,Ir({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:U(({popperId:a,isShown:s,shouldMountContent:C,skipTransition:I,autoHide:l,hide:u,handleResize:c,onResize:h,classes:d,result:B})=>[T(o,{ref:"popperContent",class:bA({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:s,mounted:C,"skip-transition":I,"auto-hide":l,"handle-resize":c,classes:d,result:B,onHide:u,onResize:h},{default:U(()=>[e.html?(M(),x("div",{key:0,innerHTML:e.finalContent},null,8,XnA)):(M(),x("div",{key:1,textContent:yA(e.finalContent)},null,8,AiA))]),_: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 tiA=LQ(ZnA,[["render",eiA]]),n_="v-popper--has-tooltip";function riA(e,t){let A=e.placement;if(!A&&t)for(const r of XK)t[r]&&(A=r);return A||(A=nc(e.theme||"tooltip","placement")),A}function i_(e,t,A){let r;const n=typeof t;return n==="string"?r={content:t}:t&&n==="object"?r=t:r={content:!1},r.placement=riA(r,A),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Tp,ic,niA=0;function iiA(){if(Tp)return;ic=_([]),Tp=iM({name:"VTooltipDirectiveApp",setup(){return{directives:ic}},render(){return this.directives.map(t=>WI(tiA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Tp.mount(e)}function oiA(e,t,A){iiA();const r=_(i_(e,t,A)),n=_(!1),i={id:niA++,options:r,shown:n};return ic.value.push(i),e.classList&&e.classList.add(n_),e.$_popper={options:r,item:i,show(){n.value=!0},hide(){n.value=!1}}}function o_(e){if(e.$_popper){const t=ic.value.indexOf(e.$_popper.item);t!==-1&&ic.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(n_)}function EF(e,{value:t,modifiers:A}){const r=i_(e,t,A);if(!r.content||nc(r.theme||"tooltip","disabled"))o_(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=r):n=oiA(e,t,A),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const giA={beforeMount:EF,updated:EF,beforeUnmount(e){o_(e)}};function QF(e){e.addEventListener("mousedown",gE),e.addEventListener("click",gE),e.addEventListener("touchstart",g_,dI?{passive:!0}:!1)}function vF(e){e.removeEventListener("mousedown",gE),e.removeEventListener("click",gE),e.removeEventListener("touchstart",g_),e.removeEventListener("touchend",a_),e.removeEventListener("touchcancel",s_)}function gE(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function g_(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const A=e.changedTouches[0];t.$_vclosepopover_touchPoint=A,t.addEventListener("touchend",a_),t.addEventListener("touchcancel",s_)}}function a_(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const A=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(A.screenY-r.screenY)<20&&Math.abs(A.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function s_(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const aiA={beforeMount(e,{value:t,modifiers:A}){e.$_closePopoverModifiers=A,(typeof t>"u"||t)&&QF(e)},updated(e,{value:t,oldValue:A,modifiers:r}){e.$_closePopoverModifiers=r,t!==A&&(typeof t>"u"||t?QF(e):vF(e))},beforeUnmount(e){vF(e)}},Bn=giA,C_=aiA,siA=jnA,CiA=VnA,EM=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},IiA={},liA={class:"h-3 w-3 $ui-inline-fcc"},uiA=y("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[y("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),y("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),ciA=[uiA];function hiA(e,t){return M(),x("div",liA,ciA)}const I_=EM(IiA,[["render",hiA]]),diA={key:2},ie=DA({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 A=e,r=t,n=XX(),i=W(()=>n.to?"router-link":n.href?"a":"button"),o=W(()=>A.loading||A.disabled);function g(I){if(o.value){I.preventDefault(),I.stopPropagation(),I.stopImmediatePropagation();return}r("click",I)}const a={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"}},s=BU(),C=W(()=>A.flat?a.flat[A.type]:A.outlined?a.outlined[A.type]:a.normal[A.type]);return(I,l)=>(M(),tA(Kg(i.value),Ir(I.$attrs,{role:"button","aria-disabled":o.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[a.common[A.type]],{"rounded-full":A.round==="full","$ui-base-br":A.round==="normal","opacity-50 cursor-not-allowed":o.value,"bg-transparent":A.flat||A.outlined},[I.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",I.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",C.value]]],onClickCapture:g}),{default:U(()=>[I.loading?(M(),tA(I_,{key:0,class:"mt0.5 h-full w3"})):VA(I.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),Q(s).default?(M(),x("div",diA,[VA(I.$slots,"default")])):pA("",!0),VA(I.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),BiA={},fiA={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function EiA(e,t){return M(),x("span",fiA,[VA(e.$slots,"default")])}const pF=EM(BiA,[["render",EiA]]),De=DA({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(e){return(t,A)=>(M(),tA(Kg(t.inline?"span":"div"),{class:bA(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function OQ(e){return x1()?(G4(e),!0):!1}function QiA(e,t,{enumerable:A=!1,unwrap:r=!0}={}){for(const[n,i]of Object.entries(t))n!=="value"&&(YA(i)&&r?Object.defineProperty(e,n,{get(){return i.value},set(o){i.value=o},enumerable:A}):Object.defineProperty(e,n,{value:i,enumerable:A}));return e}function Tn(e){return typeof e=="function"?e():Q(e)}const l_=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const viA=e=>typeof e<"u",piA=Object.prototype.toString,wiA=e=>piA.call(e)==="[object Object]",aE=()=>{},wF=DiA();function DiA(){var e,t;return l_&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function u_(e,t){function A(...r){return new Promise((n,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(i)})}return A}const c_=e=>e();function yiA(e,t={}){let A,r,n=aE;const i=o=>{clearTimeout(o),n(),n=aE};return o=>{const g=Tn(e),a=Tn(t.maxWait);return A&&i(A),g<=0||a!==void 0&&a<=0?(r&&(i(r),r=null),Promise.resolve(o())):new Promise((s,C)=>{n=t.rejectOnCancel?C:s,a&&!r&&(r=setTimeout(()=>{A&&i(A),r=null,s(o())},a)),A=setTimeout(()=>{r&&i(r),r=null,s(o())},g)})}}function miA(e=c_){const t=_(!0);function A(){t.value=!1}function r(){t.value=!0}const n=(...i)=>{t.value&&e(...i)};return{isActive:Lo(t),pause:A,resume:r,eventFilter:n}}function biA(e){return e||Aa()}function h_(...e){if(e.length!==1)return AU(...e);const t=e[0];return typeof t=="function"?Lo(j1(()=>({get:t,set:aE}))):_(t)}function MiA(e,t=200,A={}){return u_(yiA(t,A),e)}function kiA(e,t=200,A={}){const r=_(e.value),n=MiA(()=>{r.value=e.value},t,A);return Ae(e,()=>n()),r}function SiA(e,t={}){let A=e,r,n;const i=j1((a,s)=>(r=a,n=s,{get(){return o()},set(C){g(C)}}));function o(a=!0){return a&&r(),A}function g(a,s=!0){var C,I;if(a===A)return;const l=A;((C=t.onBeforeChange)==null?void 0:C.call(t,a,l))!==!1&&(A=a,(I=t.onChanged)==null||I.call(t,a,l),s&&n())}return QiA(i,{get:o,set:g,untrackedGet:()=>o(!1),silentSet:a=>g(a,!1),peek:()=>o(!1),lay:a=>g(a,!1)},{enumerable:!0})}function NiA(e,t,A={}){const{eventFilter:r=c_,...n}=A;return Ae(e,u_(r,t),n)}function PiA(e,t,A={}){const{eventFilter:r,...n}=A,{eventFilter:i,pause:o,resume:g,isActive:a}=miA(r);return{stop:NiA(e,t,{...n,eventFilter:i}),pause:o,resume:g,isActive:a}}function QM(e,t=!0,A){biA()?vn(e,A):t?e():cr(e)}function FiA(e=!1,t={}){const{truthyValue:A=!0,falsyValue:r=!1}=t,n=YA(e),i=_(e);function o(g){if(arguments.length)return i.value=g,i.value;{const a=Tn(A);return i.value=i.value===a?Tn(r):a,i.value}}return n?o:[i,o]}function dg(e){var t;const A=Tn(e);return(t=A?.$el)!=null?t:A}const zg=l_?window:void 0;function sE(...e){let t,A,r,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([A,r,n]=e,t=zg):[t,A,r,n]=e,!t)return aE;Array.isArray(A)||(A=[A]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(C=>C()),i.length=0},g=(C,I,l,u)=>(C.addEventListener(I,l,u),()=>C.removeEventListener(I,l,u)),a=Ae(()=>[dg(t),Tn(n)],([C,I])=>{if(o(),!C)return;const l=wiA(I)?{...I}:I;i.push(...A.flatMap(u=>r.map(c=>g(C,u,c,l))))},{immediate:!0,flush:"post"}),s=()=>{a(),o()};return OQ(s),s}function RiA(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function d_(...e){let t,A,r={};e.length===3?(t=e[0],A=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,A=e[0],r=e[1]):(t=e[0],A=e[1]):(t=!0,A=e[0]);const{target:n=zg,eventName:i="keydown",passive:o=!1,dedupe:g=!1}=r,a=RiA(t);return sE(n,i,s=>{s.repeat&&Tn(g)||a(s)&&A(s)},o)}function LiA(){const e=_(!1),t=Aa();return t&&vn(()=>{e.value=!0},t),e}function B_(e){const t=LiA();return W(()=>(t.value,!!e()))}function $iA(e,t={}){const{window:A=zg}=t,r=B_(()=>A&&"matchMedia"in A&&typeof A.matchMedia=="function");let n;const i=_(!1),o=s=>{i.value=s.matches},g=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",o):n.removeListener(o))},a=Er(()=>{r.value&&(g(),n=A.matchMedia(Tn(e)),"addEventListener"in n?n.addEventListener("change",o):n.addListener(o),i.value=n.matches)});return OQ(()=>{a(),g(),n=void 0}),i}function OiA(e){return JSON.parse(JSON.stringify(e))}const Fd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rd="__vueuse_ssr_handlers__",GiA=xiA();function xiA(){return Rd in Fd||(Fd[Rd]=Fd[Rd]||{}),Fd[Rd]}function f_(e,t){return GiA[e]||t}function TiA(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const HiA={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},DF="vueuse-storage";function UiA(e,t,A,r={}){var n;const{flush:i="pre",deep:o=!0,listenToStorageChanges:g=!0,writeDefaults:a=!0,mergeDefaults:s=!1,shallow:C,window:I=zg,eventFilter:l,onError:u=m=>{console.error(m)},initOnMounted:c}=r,h=(C?Zi:_)(typeof t=="function"?t():t);if(!A)try{A=f_("getDefaultStorage",()=>{var m;return(m=zg)==null?void 0:m.localStorage})()}catch(m){u(m)}if(!A)return h;const d=Tn(t),B=TiA(d),f=(n=r.serializer)!=null?n:HiA[B],{pause:E,resume:v}=PiA(h,()=>D(h.value),{flush:i,deep:o,eventFilter:l});I&&g&&QM(()=>{sE(I,"storage",S),sE(I,DF,N),c&&S()}),c||S();function p(m,R){I&&I.dispatchEvent(new CustomEvent(DF,{detail:{key:e,oldValue:m,newValue:R,storageArea:A}}))}function D(m){try{const R=A.getItem(e);if(m==null)p(R,null),A.removeItem(e);else{const k=f.write(m);R!==k&&(A.setItem(e,k),p(R,k))}}catch(R){u(R)}}function F(m){const R=m?m.newValue:A.getItem(e);if(R==null)return a&&d!=null&&A.setItem(e,f.write(d)),d;if(!m&&s){const k=f.read(R);return typeof s=="function"?s(k,d):B==="object"&&!Array.isArray(k)?{...d,...k}:k}else return typeof R!="string"?R:f.read(R)}function S(m){if(!(m&&m.storageArea!==A)){if(m&&m.key==null){h.value=d;return}if(!(m&&m.key!==e)){E();try{m?.newValue!==f.write(h.value)&&(h.value=F(m))}catch(R){u(R)}finally{m?cr(v):v()}}}}function N(m){S(m.detail)}return h}function KiA(e){return $iA("(prefers-color-scheme: dark)",e)}function _iA(e={}){const{selector:t="html",attribute:A="class",initialValue:r="auto",window:n=zg,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:g=!0,storageRef:a,emitAuto:s,disableTransition:C=!0}=e,I={auto:"",light:"light",dark:"dark",...e.modes||{}},l=KiA({window:n}),u=W(()=>l.value?"dark":"light"),c=a||(o==null?h_(r):UiA(o,r,i,{window:n,listenToStorageChanges:g})),h=W(()=>c.value==="auto"?u.value:c.value),d=f_("updateHTMLAttrs",(v,p,D)=>{const F=typeof v=="string"?n?.document.querySelector(v):dg(v);if(!F)return;let S;if(C&&(S=n.document.createElement("style"),S.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n.document.head.appendChild(S)),p==="class"){const N=D.split(/\s/g);Object.values(I).flatMap(m=>(m||"").split(/\s/g)).filter(Boolean).forEach(m=>{N.includes(m)?F.classList.add(m):F.classList.remove(m)})}else F.setAttribute(p,D);C&&(n.getComputedStyle(S).opacity,document.head.removeChild(S))});function B(v){var p;d(t,A,(p=I[v])!=null?p:v)}function f(v){e.onChanged?e.onChanged(v,B):B(v)}Ae(h,f,{flush:"post",immediate:!0}),QM(()=>f(h.value));const E=W({get(){return s?c.value:h.value},set(v){c.value=v}});try{return Object.assign(E,{store:c,system:u,state:h})}catch{return E}}function YiA(e,t,A={}){const{window:r=zg,...n}=A;let i;const o=B_(()=>r&&"ResizeObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>Array.isArray(e)?e.map(I=>dg(I)):[dg(e)]),s=Ae(a,I=>{if(g(),o.value&&r){i=new ResizeObserver(t);for(const l of I)l&&i.observe(l,n)}},{immediate:!0,flush:"post"}),C=()=>{g(),s()};return OQ(C),{isSupported:o,stop:C}}function JiA(e,t={width:0,height:0},A={}){const{window:r=zg,box:n="content-box"}=A,i=W(()=>{var I,l;return(l=(I=dg(e))==null?void 0:I.namespaceURI)==null?void 0:l.includes("svg")}),o=_(t.width),g=_(t.height),{stop:a}=YiA(e,([I])=>{const l=n==="border-box"?I.borderBoxSize:n==="content-box"?I.contentBoxSize:I.devicePixelContentBoxSize;if(r&&i.value){const u=dg(e);if(u){const c=r.getComputedStyle(u);o.value=Number.parseFloat(c.width),g.value=Number.parseFloat(c.height)}}else if(l){const u=Array.isArray(l)?l:[l];o.value=u.reduce((c,{inlineSize:h})=>c+h,0),g.value=u.reduce((c,{blockSize:h})=>c+h,0)}else o.value=I.contentRect.width,g.value=I.contentRect.height},A);QM(()=>{const I=dg(e);I&&(o.value="offsetWidth"in I?I.offsetWidth:t.width,g.value="offsetHeight"in I?I.offsetHeight:t.height)});const s=Ae(()=>dg(e),I=>{o.value=I?t.width:0,g.value=I?t.height:0});function C(){a(),s()}return{width:o,height:g,stop:C}}function Hp(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function E_(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const A=e.parentNode;return!A||A.tagName==="BODY"?!1:E_(A)}}function ziA(e){const t=e||window.event,A=t.target;return E_(A)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ld=new WeakMap;function WiA(e,t=!1){const A=_(t);let r=null;Ae(h_(e),o=>{const g=Hp(Tn(o));if(g){const a=g;Ld.get(a)||Ld.set(a,a.style.overflow),A.value&&(a.style.overflow="hidden")}},{immediate:!0});const n=()=>{const o=Hp(Tn(e));!o||A.value||(wF&&(r=sE(o,"touchmove",g=>{ziA(g)},{passive:!1})),o.style.overflow="hidden",A.value=!0)},i=()=>{var o;const g=Hp(Tn(e));!g||!A.value||(wF&&r?.(),g.style.overflow=(o=Ld.get(g))!=null?o:"",Ld.delete(g),A.value=!1)};return OQ(i),W({get(){return A.value},set(o){o?n():i()}})}function Fs(e,t,A,r={}){var n,i,o;const{clone:g=!1,passive:a=!1,eventName:s,deep:C=!1,defaultValue:I,shouldEmit:l}=r,u=Aa(),c=A||u?.emit||((n=u?.$emit)==null?void 0:n.bind(u))||((o=(i=u?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(u?.proxy));let h=s;t||(t="modelValue"),h=h||`update:${t.toString()}`;const d=E=>g?typeof g=="function"?g(E):OiA(E):E,B=()=>viA(e[t])?d(e[t]):I,f=E=>{l?l(E)&&c(h,E):c(h,E)};if(a){const E=B(),v=_(E);let p=!1;return Ae(()=>e[t],D=>{p||(p=!0,v.value=d(D),cr(()=>p=!1))}),Ae(v,D=>{!p&&(D!==e[t]||C)&&f(D)},{deep:C}),v}else return W({get(){return B()},set(E){f(E)}})}const qiA={class:"$ui-dark-toggle-vtr"},Q_=DA({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(e){const t=e,A=Fs(t,"isDark"),r=_iA({initialValue:A.value?"dark":"light",onChanged:g=>{A.value=g==="dark"}}),n=W({get:()=>r.value==="dark",set:g=>r.value=g?"dark":"light"}),i=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(g){if(!i||!g||!t.animation){n.value=!n.value;return}const a=g.clientX,s=g.clientY,C=Math.hypot(Math.max(a,innerWidth-a),Math.max(s,innerHeight-s));document.startViewTransition(async()=>{n.value=!n.value,await cr()}).ready.then(()=>{const I=[`circle(0px at ${a}px ${s}px)`,`circle(${C}px at ${a}px ${s}px)`];document.documentElement.animate({clipPath:n.value?[...I].reverse():I},{duration:t.animationDuration,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(g,a)=>(M(),x("span",qiA,[VA(g.$slots,"default",Oc(zI({mode:Q(r),isDark:n.value,toggle:o})))]))}}),jiA={},ViA={class:"$ui-base border $ui-border-base rounded shadow-sm"};function ZiA(e,t){return M(),x("div",ViA,[VA(e.$slots,"default")])}const sf=EM(jiA,[["render",ZiA]]),vM=DA({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean}},setup(e){return(t,A)=>(M(),x("div",{class:bA(["fixed left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[t.dim?"bg-opacity-50!":"bg-opacity-0!",t.blur?"backdrop-blur-sm":""]])},[VA(t.$slots,"default")],2))}}),XiA={class:"h7.5 w-full $ui-fbc"},AoA={class:"text-4.5"},eoA=y("div",{class:"i-carbon-close"},null,-1),toA=[eoA],roA={class:"content transition-all transition-duration-300"},noA={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},ioA={class:"$ui-fcc"},ooA=DA({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean}},emits:["close","update:modelValue"],setup(e,{emit:t}){const A=e,r=Fs(A,"modelValue",t,{passive:!0}),n=WiA(()=>window.document.documentElement);Er(()=>{r.value?n.value=!0:n.value=!1});function i(){r.value&&A.autoClose&&(r.value=!1)}d_("Escape",()=>{i()});const o=_(!1);return vn(()=>o.value=!0),(g,a)=>o.value||g.mountTo==="body"?(M(),tA(bU,{key:0,to:g.mountTo},[T(Uc,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:U(()=>[Q(r)?(M(),tA(vM,{key:0,dim:g.dim,blur:g.blur},{default:U(()=>[y("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:Qt({width:A.width,height:A.height})},[y("div",XiA,[y("div",AoA,[VA(g.$slots,"title",{},()=>[NA(yA(A.title),1)])]),g.closable?(M(),x("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:i},toA)):pA("",!0)]),y("div",roA,[VA(g.$slots,"default")]),y("div",noA,[VA(g.$slots,"footer",{},()=>[VA(g.$slots,"footer",{},()=>[y("div",ioA,[T(ie,{type:"primary",onClick:i},{default:U(()=>[NA(" close ")]),_:1})])])])])],4)]),_:3},8,["dim","blur"])):pA("",!0)]),_:3})],8,["to"])):pA("",!0)}}),goA=["type","placeholder","disabled"],aoA={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"},Up="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",bo=DA({__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 A=e,r=t,n=Fs(A,"modelValue",r),i=kiA(W(()=>A.loading),A.loadingDebounceTime),o=SiA(!1,{onChanged(I){r("updateFocused",I)}}),g=W(()=>A.variant==="flat"||A.variant==="warning"||A.disabled||A.readonly),a=W(()=>A.disabled||i.value),s=_();let C=!1;return Er(()=>{i.value&&o.value?C=!0:!i.value&&C&&(C=!1,cr(()=>{o.value=!0}))}),vn(()=>{A.autoFocus&&(o.value=!0)}),Er(()=>{var I;o.value&&((I=s.value)==null||I.focus())}),(I,l)=>(M(),x("div",{class:bA(["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":I.variant==="flat","cursor-not-allowed opacity-50":a.value,accent:I.variant==="accent",focused:Q(o)},[I.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:l[2]||(l[2]=()=>{o.value=!0})},[I.leftIcon?(M(),x("div",{key:0,class:bA(Up)},[T(De,{icon:I.leftIcon},null,8,["icon"])])):pA("",!0),vt(y("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":l[0]||(l[0]=u=>YA(n)?n.value=u:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:I.type,placeholder:I.placeholder,disabled:a.value||I.readonly,onBlur:l[1]||(l[1]=u=>o.value=!1)},null,40,goA),[[oeA,Q(n)]]),Q(i)?(M(),x("div",{key:1,class:bA(Up)},[T(I_)])):I.rightIcon?(M(),x("div",{key:2,class:bA(Up)},[T(De,{icon:I.rightIcon},null,8,["icon"])])):pA("",!0),g.value?pA("",!0):(M(),x("div",aoA))],2))}}),soA={class:"overflow-hidden rounded-lg shadow-lg"},CoA=y("div",{class:"p2 opacity-40"}," Empty... ",-1),BI=DA({__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 Io("$ui-dropdown-disabled",W(()=>t.disabled)),(A,r)=>(M(),tA(Q(siA),{disabled:A.disabled,class:"inline-block w-auto",shown:A.shown,triggers:[A.trigger],distance:A.distance+6,placement:A.placement,skidding:A.skidding,"onUpdate:shown":r[0]||(r[0]=n=>A.$emit("update:visible",n)),onClick:r[1]||(r[1]=n=>{n.stopPropagation()})},{popper:U(({hide:n})=>[y("div",soA,[VA(A.$slots,"popper",Oc(zI({hide:n})),()=>[CoA])])]),default:U(()=>[VA(A.$slots,"default",{},()=>[T(ie,Ir({...A.buttonProps,disabled:A.disabled},{class:A.buttonClass}),hU({icon:U(()=>[VA(A.$slots,"button-icon")]),"icon-right":U(()=>[VA(A.$slots,"button-icon-right")]),_:2},[A.label?{name:"default",fn:U(()=>[NA(yA(A.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),yF=DA({__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,A=pt("$ui-dropdown-disabled",void 0);return(r,n)=>vt((M(),tA(ie,Ir({...t,round:!1},{disabled:Q(A),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:U(()=>[VA(r.$slots,"icon")]),default:U(()=>[VA(r.$slots,"default")]),_:3},16,["disabled"])),[[Q(C_)]])}}),IoA={class:"$ui-fec gap2.5"},loA=DA({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(e,{emit:t}){const A=e,r=t,n=Fs(A,"modelValue",r);Er(()=>{n.value||r("close")});function i(o=!1){(A.autoClose||o)&&(n.value=!1)}return(o,g)=>(M(),tA(ooA,{modelValue:Q(n),"onUpdate:modelValue":g[2]||(g[2]=a=>YA(n)?n.value=a:null),width:o.width,height:o.height,title:o.title,closable:!1},{footer:U(()=>[y("div",IoA,[T(ie,{onClick:g[0]||(g[0]=()=>{r("cancel"),i(!0)})},{default:U(()=>[NA(yA(o.cancelText),1)]),_:1}),T(ie,{loading:o.loading,type:"primary",onClick:g[1]||(g[1]=()=>{r("confirm"),i()})},{default:U(()=>[NA(yA(o.confirmText),1)]),_:1},8,["loading"])])]),default:U(()=>[VA(o.$slots,"default",{class:"h-auto w-auto"},()=>[NA(yA(o.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),uoA={class:"m1 min-w-35 w-auto flex flex-col"},coA=["onClick"],hoA=y("div",{class:"i-mdi-chevron-down"},null,-1),CE=DA({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:e=>String(e)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const A=e,r=t,n=BU(),i=W({get:()=>A.modelValue,set:a=>r("update:modelValue",a)}),o=W(()=>{const a=A.options.find(s=>s.value===i.value);return a!=null&&a.label?A.labelRenderer(a.label):A.placeholder});function g(a){A.multiple?i.value=i.value.includes(a.value)?i.value.filter(s=>s!==a.value):[...i.value,a.value]:i.value=a.value}return(a,s)=>(M(),tA(BI,Ir({label:o.value},{buttonProps:a.buttonProps,disabled:a.disabled}),hU({popper:U(()=>[y("div",uoA,[Q(n).item?(M(!0),x(wA,{key:0},Be(a.options,C=>(M(),x("div",{key:C.value,class:"cursor-pointer",onClick:I=>g(C)},[VA(a.$slots,"item",Oc(zI({item:C,active:a.multiple?i.value.includes(C.value):C.value===i.value,disabled:a.disabled})))],8,coA))),128)):(M(!0),x(wA,{key:1},Be(a.options,C=>vt((M(),tA(ie,{key:C.value,disabled:a.disabled,round:"normal",class:bA(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:a.multiple?i.value.includes(C.value):C.value===i.value}]),onClick:I=>g(C)},{default:U(()=>[NA(yA(C.label),1)]),_:2},1032,["disabled","class","onClick"])),[[Q(C_),a.autoClose]])),128))])]),"button-icon-right":U(()=>[hoA]),_:2},[Q(n).button?{name:"default",fn:U(()=>[VA(a.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),mF=DA({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const A=Fs(e,"modelValue",t),r=FiA(A);return(n,i)=>(M(),x("div",{class:bA([[n.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:i[0]||(i[0]=o=>!n.disabled&&Q(r)())},[VA(n.$slots,"default"),y("div",{class:bA([{selected:Q(A)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[y("div",{class:bA(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!n.disabled},{"opacity-65":n.disabled}]])},null,2)],2)],2))}}),bC=DA({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(e,{emit:t}){const A=Fs(e,"modelValue",t);return(r,n)=>(M(),x("div",{class:bA(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[Q(A)?r.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:n[0]||(n[0]=i=>A.value=!Q(A))},[y("div",{class:bA([[Q(A)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),v_=DA({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean}},emits:["update:modelValue","close"],setup(e,{emit:t}){const A=e,r=t,{height:n}=JiA(()=>typeof A.top=="string"?document.querySelector(A.top):A.top,void 0,{box:"border-box"}),i=Fs(A,"modelValue",r),o={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};d_("Escape",()=>{A.closable&&(i.value=!1)});const g=W(()=>o[A.placement]),a=_(!1);return vn(()=>a.value=!0),(s,C)=>a.value||s.mountTo==="body"?(M(),tA(bU,{key:0,to:s.mountTo},[T(Uc,{"enter-from-class":`${g.value.transition}`,"leave-to-class":`${g.value.transition}`},{default:U(()=>[Q(i)?(M(),tA(vM,{key:0,class:bA({"pointer-events-none":s.permanent}),dim:s.dim,blur:s.blur,onClick:C[2]||(C[2]=I=>s.closeOutside&&s.closable&&(i.value=!1))},{default:U(()=>[y("div",{class:bA([[g.value.class,s.contentClass??"",s.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:Qt({top:s.placement==="bottom"?"auto":`${Q(n)}px`,height:["top","bottom"].includes(s.placement)?"auto":`calc(100% - ${Q(n)}px)`}),onClick:C[1]||(C[1]=fr(()=>{},["stop"]))},[s.closable?(M(),x("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:C[0]||(C[0]=I=>i.value=!1)})):pA("",!0),VA(s.$slots,"default")],6)]),_:3},8,["class","dim","blur"])):pA("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):pA("",!0)}}),doA=DA({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(e){const t=e,A={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},r={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},n=_(!1);vn(()=>{n.value=!0,setTimeout(()=>{n.value=!1},t.duration)});const i=W(()=>t.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(o,g)=>(M(),x("div",{class:bA(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":o.placement.startsWith("top")},{"bottom-0":o.placement.startsWith("bottom")}]])},[T(Uc,{"enter-from-class":i.value,"leave-to-class":i.value,onAfterLeave:g[0]||(g[0]=()=>{var a;n.value||(a=o.onClose)==null||a.call(o)})},{default:U(()=>[n.value?(M(),x("div",{key:0,class:"flex transition-all duration-300",style:Qt({justifyContent:o.placement.includes("right")?"right":o.placement.includes("left")?"left":"center"})},[y("div",{class:bA(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[o.classes,r[o.type]]])},[y("div",{class:bA(A[o.type])},null,2),y("div",null,yA(o.message),1)],2)],4)):pA("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}}),BoA=DA({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(e){return(t,A)=>(M(),tA(Q(CiA),Ir({disabled:t.disabled,placement:t.placement},t.$attrs),{popper:U(()=>[VA(t.$slots,"popper")]),default:U(()=>[VA(t.$slots,"default")]),_:3},16,["disabled","placement"]))}});function i0(e){const t=document.createElement("div");t.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(t);const A=e.onClose;function r(){fP(null,t)}e.onClose=()=>{r(),A?.(),document.body.removeChild(t)};const n=WI(doA,e);fP(n,t)}function Mo(e){return Array.isArray?Array.isArray(e):D_(e)==="[object Array]"}const foA=1/0;function EoA(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-foA?"-0":t}function QoA(e){return e==null?"":EoA(e)}function Fi(e){return typeof e=="string"}function p_(e){return typeof e=="number"}function voA(e){return e===!0||e===!1||poA(e)&&D_(e)=="[object Boolean]"}function w_(e){return typeof e=="object"}function poA(e){return w_(e)&&e!==null}function cn(e){return e!=null}function Kp(e){return!e.trim().length}function D_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const woA="Incorrect 'index' type",DoA=e=>`Invalid value for key ${e}`,yoA=e=>`Pattern length exceeds max of ${e}.`,moA=e=>`Missing ${e} property in key`,boA=e=>`Property 'weight' in key '${e}' must be a positive integer`,bF=Object.prototype.hasOwnProperty;class MoA{constructor(t){this._keys=[],this._keyMap={};let A=0;t.forEach(r=>{let n=y_(r);this._keys.push(n),this._keyMap[n.id]=n,A+=n.weight}),this._keys.forEach(r=>{r.weight/=A})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function y_(e){let t=null,A=null,r=null,n=1,i=null;if(Fi(e)||Mo(e))r=e,t=MF(e),A=o0(e);else{if(!bF.call(e,"name"))throw new Error(moA("name"));const o=e.name;if(r=o,bF.call(e,"weight")&&(n=e.weight,n<=0))throw new Error(boA(o));t=MF(o),A=o0(o),i=e.getFn}return{path:t,id:A,weight:n,src:r,getFn:i}}function MF(e){return Mo(e)?e:e.split(".")}function o0(e){return Mo(e)?e.join("."):e}function koA(e,t){let A=[],r=!1;const n=(i,o,g)=>{if(cn(i))if(!o[g])A.push(i);else{let a=o[g];const s=i[a];if(!cn(s))return;if(g===o.length-1&&(Fi(s)||p_(s)||voA(s)))A.push(QoA(s));else if(Mo(s)){r=!0;for(let C=0,I=s.length;C<I;C+=1)n(s[C],o,g+1)}else o.length&&n(s,o,g+1)}};return n(e,Fi(t)?t.split("."):t,0),r?A:A[0]}const SoA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},NoA={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},PoA={location:0,threshold:.6,distance:100},FoA={useExtendedSearch:!1,getFn:koA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ee={...NoA,...SoA,...PoA,...FoA};const RoA=/[^ ]+/g;function LoA(e=1,t=3){const A=new Map,r=Math.pow(10,t);return{get(n){const i=n.match(RoA).length;if(A.has(i))return A.get(i);const o=1/Math.pow(i,.5*e),g=parseFloat(Math.round(o*r)/r);return A.set(i,g),g},clear(){A.clear()}}}class pM{constructor({getFn:t=ee.getFn,fieldNormWeight:A=ee.fieldNormWeight}={}){this.norm=LoA(A,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((A,r)=>{this._keysMap[A.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fi(this.docs[0])?this.docs.forEach((t,A)=>{this._addString(t,A)}):this.docs.forEach((t,A)=>{this._addObject(t,A)}),this.norm.clear())}add(t){const A=this.size();Fi(t)?this._addString(t,A):this._addObject(t,A)}removeAt(t){this.records.splice(t,1);for(let A=t,r=this.size();A<r;A+=1)this.records[A].i-=1}getValueForItemAtKeyId(t,A){return t[this._keysMap[A]]}size(){return this.records.length}_addString(t,A){if(!cn(t)||Kp(t))return;let r={v:t,i:A,n:this.norm.get(t)};this.records.push(r)}_addObject(t,A){let r={i:A,$:{}};this.keys.forEach((n,i)=>{let o=n.getFn?n.getFn(t):this.getFn(t,n.path);if(cn(o)){if(Mo(o)){let g=[];const a=[{nestedArrIndex:-1,value:o}];for(;a.length;){const{nestedArrIndex:s,value:C}=a.pop();if(cn(C))if(Fi(C)&&!Kp(C)){let I={v:C,i:s,n:this.norm.get(C)};g.push(I)}else Mo(C)&&C.forEach((I,l)=>{a.push({nestedArrIndex:l,value:I})})}r.$[i]=g}else if(Fi(o)&&!Kp(o)){let g={v:o,n:this.norm.get(o)};r.$[i]=g}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function m_(e,t,{getFn:A=ee.getFn,fieldNormWeight:r=ee.fieldNormWeight}={}){const n=new pM({getFn:A,fieldNormWeight:r});return n.setKeys(e.map(y_)),n.setSources(t),n.create(),n}function $oA(e,{getFn:t=ee.getFn,fieldNormWeight:A=ee.fieldNormWeight}={}){const{keys:r,records:n}=e,i=new pM({getFn:t,fieldNormWeight:A});return i.setKeys(r),i.setIndexRecords(n),i}function $d(e,{errors:t=0,currentLocation:A=0,expectedLocation:r=0,distance:n=ee.distance,ignoreLocation:i=ee.ignoreLocation}={}){const o=t/e.length;if(i)return o;const g=Math.abs(r-A);return n?o+g/n:g?1:o}function OoA(e=[],t=ee.minMatchCharLength){let A=[],r=-1,n=-1,i=0;for(let o=e.length;i<o;i+=1){let g=e[i];g&&r===-1?r=i:!g&&r!==-1&&(n=i-1,n-r+1>=t&&A.push([r,n]),r=-1)}return e[i-1]&&i-r>=t&&A.push([r,i-1]),A}const $a=32;function GoA(e,t,A,{location:r=ee.location,distance:n=ee.distance,threshold:i=ee.threshold,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,includeMatches:a=ee.includeMatches,ignoreLocation:s=ee.ignoreLocation}={}){if(t.length>$a)throw new Error(yoA($a));const C=t.length,I=e.length,l=Math.max(0,Math.min(r,I));let u=i,c=l;const h=g>1||a,d=h?Array(I):[];let B;for(;(B=e.indexOf(t,c))>-1;){let F=$d(t,{currentLocation:B,expectedLocation:l,distance:n,ignoreLocation:s});if(u=Math.min(F,u),c=B+C,h){let S=0;for(;S<C;)d[B+S]=1,S+=1}}c=-1;let f=[],E=1,v=C+I;const p=1<<C-1;for(let F=0;F<C;F+=1){let S=0,N=v;for(;S<N;)$d(t,{errors:F,currentLocation:l+N,expectedLocation:l,distance:n,ignoreLocation:s})<=u?S=N:v=N,N=Math.floor((v-S)/2+S);v=N;let m=Math.max(1,l-N+1),R=o?I:Math.min(l+N,I)+C,k=Array(R+2);k[R+1]=(1<<F)-1;for(let H=R;H>=m;H-=1){let X=H-1,q=A[e.charAt(X)];if(h&&(d[X]=+!!q),k[H]=(k[H+1]<<1|1)&q,F&&(k[H]|=(f[H+1]|f[H])<<1|1|f[H+1]),k[H]&p&&(E=$d(t,{errors:F,currentLocation:X,expectedLocation:l,distance:n,ignoreLocation:s}),E<=u)){if(u=E,c=X,c<=l)break;m=Math.max(1,2*l-c)}}if($d(t,{errors:F+1,currentLocation:l,expectedLocation:l,distance:n,ignoreLocation:s})>u)break;f=k}const D={isMatch:c>=0,score:Math.max(.001,E)};if(h){const F=OoA(d,g);F.length?a&&(D.indices=F):D.isMatch=!1}return D}function xoA(e){let t={};for(let A=0,r=e.length;A<r;A+=1){const n=e.charAt(A);t[n]=(t[n]||0)|1<<r-A-1}return t}class b_{constructor(t,{location:A=ee.location,threshold:r=ee.threshold,distance:n=ee.distance,includeMatches:i=ee.includeMatches,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,isCaseSensitive:a=ee.isCaseSensitive,ignoreLocation:s=ee.ignoreLocation}={}){if(this.options={location:A,threshold:r,distance:n,includeMatches:i,findAllMatches:o,minMatchCharLength:g,isCaseSensitive:a,ignoreLocation:s},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const C=(l,u)=>{this.chunks.push({pattern:l,alphabet:xoA(l),startIndex:u})},I=this.pattern.length;if(I>$a){let l=0;const u=I%$a,c=I-u;for(;l<c;)C(this.pattern.substr(l,$a),l),l+=$a;if(u){const h=I-$a;C(this.pattern.substr(h),h)}}else C(this.pattern,0)}searchIn(t){const{isCaseSensitive:A,includeMatches:r}=this.options;if(A||(t=t.toLowerCase()),this.pattern===t){let c={isMatch:!0,score:0};return r&&(c.indices=[[0,t.length-1]]),c}const{location:n,distance:i,threshold:o,findAllMatches:g,minMatchCharLength:a,ignoreLocation:s}=this.options;let C=[],I=0,l=!1;this.chunks.forEach(({pattern:c,alphabet:h,startIndex:d})=>{const{isMatch:B,score:f,indices:E}=GoA(t,c,h,{location:n+d,distance:i,threshold:o,findAllMatches:g,minMatchCharLength:a,includeMatches:r,ignoreLocation:s});B&&(l=!0),I+=f,B&&E&&(C=[...C,...E])});let u={isMatch:l,score:l?I/this.chunks.length:1};return l&&r&&(u.indices=C),u}}class ta{constructor(t){this.pattern=t}static isMultiMatch(t){return kF(t,this.multiRegex)}static isSingleMatch(t){return kF(t,this.singleRegex)}search(){}}function kF(e,t){const A=e.match(t);return A?A[1]:null}class ToA extends ta{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const A=t===this.pattern;return{isMatch:A,score:A?0:1,indices:[0,this.pattern.length-1]}}}class HoA extends ta{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class UoA extends ta{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const A=t.startsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,this.pattern.length-1]}}}class KoA extends ta{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const A=!t.startsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,t.length-1]}}}class _oA extends ta{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const A=t.endsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class YoA extends ta{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const A=!t.endsWith(this.pattern);return{isMatch:A,score:A?0:1,indices:[0,t.length-1]}}}class M_ extends ta{constructor(t,{location:A=ee.location,threshold:r=ee.threshold,distance:n=ee.distance,includeMatches:i=ee.includeMatches,findAllMatches:o=ee.findAllMatches,minMatchCharLength:g=ee.minMatchCharLength,isCaseSensitive:a=ee.isCaseSensitive,ignoreLocation:s=ee.ignoreLocation}={}){super(t),this._bitapSearch=new b_(t,{location:A,threshold:r,distance:n,includeMatches:i,findAllMatches:o,minMatchCharLength:g,isCaseSensitive:a,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class k_ extends ta{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let A=0,r;const n=[],i=this.pattern.length;for(;(r=t.indexOf(this.pattern,A))>-1;)A=r+i,n.push([r,A-1]);const o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const g0=[ToA,k_,UoA,KoA,YoA,_oA,HoA,M_],SF=g0.length,JoA=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,zoA="|";function WoA(e,t={}){return e.split(zoA).map(A=>{let r=A.trim().split(JoA).filter(i=>i&&!!i.trim()),n=[];for(let i=0,o=r.length;i<o;i+=1){const g=r[i];let a=!1,s=-1;for(;!a&&++s<SF;){const C=g0[s];let I=C.isMultiMatch(g);I&&(n.push(new C(I,t)),a=!0)}if(!a)for(s=-1;++s<SF;){const C=g0[s];let I=C.isSingleMatch(g);if(I){n.push(new C(I,t));break}}}return n})}const qoA=new Set([M_.type,k_.type]);class joA{constructor(t,{isCaseSensitive:A=ee.isCaseSensitive,includeMatches:r=ee.includeMatches,minMatchCharLength:n=ee.minMatchCharLength,ignoreLocation:i=ee.ignoreLocation,findAllMatches:o=ee.findAllMatches,location:g=ee.location,threshold:a=ee.threshold,distance:s=ee.distance}={}){this.query=null,this.options={isCaseSensitive:A,includeMatches:r,minMatchCharLength:n,findAllMatches:o,ignoreLocation:i,location:g,threshold:a,distance:s},this.pattern=A?t:t.toLowerCase(),this.query=WoA(this.pattern,this.options)}static condition(t,A){return A.useExtendedSearch}searchIn(t){const A=this.query;if(!A)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n}=this.options;t=n?t:t.toLowerCase();let i=0,o=[],g=0;for(let a=0,s=A.length;a<s;a+=1){const C=A[a];o.length=0,i=0;for(let I=0,l=C.length;I<l;I+=1){const u=C[I],{isMatch:c,indices:h,score:d}=u.search(t);if(c){if(i+=1,g+=d,r){const B=u.constructor.type;qoA.has(B)?o=[...o,...h]:o.push(h)}}else{g=0,i=0,o.length=0;break}}if(i){let I={isMatch:!0,score:g/i};return r&&(I.indices=o),I}}return{isMatch:!1,score:1}}}const a0=[];function VoA(...e){a0.push(...e)}function s0(e,t){for(let A=0,r=a0.length;A<r;A+=1){let n=a0[A];if(n.condition(e,t))return new n(e,t)}return new b_(e,t)}const IE={AND:"$and",OR:"$or"},C0={PATH:"$path",PATTERN:"$val"},I0=e=>!!(e[IE.AND]||e[IE.OR]),ZoA=e=>!!e[C0.PATH],XoA=e=>!Mo(e)&&w_(e)&&!I0(e),NF=e=>({[IE.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function S_(e,t,{auto:A=!0}={}){const r=n=>{let i=Object.keys(n);const o=ZoA(n);if(!o&&i.length>1&&!I0(n))return r(NF(n));if(XoA(n)){const a=o?n[C0.PATH]:i[0],s=o?n[C0.PATTERN]:n[a];if(!Fi(s))throw new Error(DoA(a));const C={keyId:o0(a),pattern:s};return A&&(C.searcher=s0(s,t)),C}let g={children:[],operator:i[0]};return i.forEach(a=>{const s=n[a];Mo(s)&&s.forEach(C=>{g.children.push(r(C))})}),g};return I0(e)||(e=NF(e)),r(e)}function AgA(e,{ignoreFieldNorm:t=ee.ignoreFieldNorm}){e.forEach(A=>{let r=1;A.matches.forEach(({key:n,norm:i,score:o})=>{const g=n?n.weight:null;r*=Math.pow(o===0&&g?Number.EPSILON:o,(g||1)*(t?1:i))}),A.score=r})}function egA(e,t){const A=e.matches;t.matches=[],cn(A)&&A.forEach(r=>{if(!cn(r.indices)||!r.indices.length)return;const{indices:n,value:i}=r;let o={indices:n,value:i};r.key&&(o.key=r.key.src),r.idx>-1&&(o.refIndex=r.idx),t.matches.push(o)})}function tgA(e,t){t.score=e.score}function rgA(e,t,{includeMatches:A=ee.includeMatches,includeScore:r=ee.includeScore}={}){const n=[];return A&&n.push(egA),r&&n.push(tgA),e.map(i=>{const{idx:o}=i,g={item:t[o],refIndex:o};return n.length&&n.forEach(a=>{a(i,g)}),g})}class Rs{constructor(t,A={},r){this.options={...ee,...A},this.options.useExtendedSearch,this._keyStore=new MoA(this.options.keys),this.setCollection(t,r)}setCollection(t,A){if(this._docs=t,A&&!(A instanceof pM))throw new Error(woA);this._myIndex=A||m_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){cn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const A=[];for(let r=0,n=this._docs.length;r<n;r+=1){const i=this._docs[r];t(i,r)&&(this.removeAt(r),r-=1,n-=1,A.push(i))}return A}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:A=-1}={}){const{includeMatches:r,includeScore:n,shouldSort:i,sortFn:o,ignoreFieldNorm:g}=this.options;let a=Fi(t)?Fi(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return AgA(a,{ignoreFieldNorm:g}),i&&a.sort(o),p_(A)&&A>-1&&(a=a.slice(0,A)),rgA(a,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(t){const A=s0(t,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:i,i:o,n:g})=>{if(!cn(i))return;const{isMatch:a,score:s,indices:C}=A.searchIn(i);a&&n.push({item:i,idx:o,matches:[{score:s,value:i,norm:g,indices:C}]})}),n}_searchLogical(t){const A=S_(t,this.options),r=(g,a,s)=>{if(!g.children){const{keyId:I,searcher:l}=g,u=this._findMatches({key:this._keyStore.get(I),value:this._myIndex.getValueForItemAtKeyId(a,I),searcher:l});return u&&u.length?[{idx:s,item:a,matches:u}]:[]}const C=[];for(let I=0,l=g.children.length;I<l;I+=1){const u=g.children[I],c=r(u,a,s);if(c.length)C.push(...c);else if(g.operator===IE.AND)return[]}return C},n=this._myIndex.records,i={},o=[];return n.forEach(({$:g,i:a})=>{if(cn(g)){let s=r(A,g,a);s.length&&(i[a]||(i[a]={idx:a,item:g,matches:[]},o.push(i[a])),s.forEach(({matches:C})=>{i[a].matches.push(...C)}))}}),o}_searchObjectList(t){const A=s0(t,this.options),{keys:r,records:n}=this._myIndex,i=[];return n.forEach(({$:o,i:g})=>{if(!cn(o))return;let a=[];r.forEach((s,C)=>{a.push(...this._findMatches({key:s,value:o[C],searcher:A}))}),a.length&&i.push({idx:g,item:o,matches:a})}),i}_findMatches({key:t,value:A,searcher:r}){if(!cn(A))return[];let n=[];if(Mo(A))A.forEach(({v:i,i:o,n:g})=>{if(!cn(i))return;const{isMatch:a,score:s,indices:C}=r.searchIn(i);a&&n.push({score:s,key:t,value:i,idx:o,norm:g,indices:C})});else{const{v:i,n:o}=A,{isMatch:g,score:a,indices:s}=r.searchIn(i);g&&n.push({score:a,key:t,value:i,norm:o,indices:s})}return n}}Rs.version="7.0.0";Rs.createIndex=m_;Rs.parseIndex=$oA;Rs.config=ee;Rs.parseQuery=S_;VoA(joA);const ngA=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"},{icon:"i-icon-park-outline:vertical-timeline",name:"timeline",order:-100,path:"timeline",title:"Timeline"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-logos-pinia",name:"pinia",order:-100,path:"pinia",title:"Pinia"},{icon:"i-carbon-language",name:"i18n",order:-100,path:"i18n",title:"I18n Resources"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],N_=["assets","graph","vite-inspect"],PF={pinia:"pinia",router:"vueRouter",i18n:"vueI18n"};function igA(e,t){const A=t.name;return A in PF&&e[PF[A]]}function ogA(e,t){const A=Kf(ngA);return A.forEach(r=>{r[0]==="modules"&&(r[1]=r[1].filter(n=>t?igA(t,n):!0))}),e&&!F1?A:A.map(([r,n])=>[r,n.filter(i=>!N_.includes(i.name))])}const P_=Zi([]),F_=_(null),ggA=W(()=>P_.value.find(e=>e.id===F_.value));function qi(e){return x1()?(G4(e),!0):!1}function It(e){return typeof e=="function"?e():Q(e)}const Is=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const agA=e=>typeof e<"u",sgA=e=>e!=null,CgA=Object.prototype.toString,IgA=e=>CgA.call(e)==="[object Object]",lo=()=>{},lgA=ugA();function ugA(){var e,t;return Is&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function cgA(e,t){function A(...r){return new Promise((n,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(i)})}return A}const R_=e=>e();function hgA(e,t={}){let A,r,n=lo;const i=g=>{clearTimeout(g),n(),n=lo};return g=>{const a=It(e),s=It(t.maxWait);return A&&i(A),a<=0||s!==void 0&&s<=0?(r&&(i(r),r=null),Promise.resolve(g())):new Promise((C,I)=>{n=t.rejectOnCancel?I:C,s&&!r&&(r=setTimeout(()=>{A&&i(A),r=null,C(g())},s)),A=setTimeout(()=>{r&&i(r),r=null,C(g())},a)})}}function dgA(e=R_){const t=_(!0);function A(){t.value=!1}function r(){t.value=!0}const n=(...i)=>{t.value&&e(...i)};return{isActive:Lo(t),pause:A,resume:r,eventFilter:n}}function FF(e,t=!1,A="Timeout"){return new Promise((r,n)=>{setTimeout(t?()=>n(A):r,e)})}function BgA(e){let t;function A(){return t||(t=e()),t}return A.reset=async()=>{const r=t;t=void 0,r&&await r},A}function fgA(e){return e||Aa()}function EgA(...e){if(e.length!==1)return AU(...e);const t=e[0];return typeof t=="function"?Lo(j1(()=>({get:t,set:lo}))):_(t)}function L_(e,t,A={}){const{eventFilter:r=R_,...n}=A;return Ae(e,cgA(r,t),n)}function QgA(e,t,A={}){const{eventFilter:r,...n}=A,{eventFilter:i,pause:o,resume:g,isActive:a}=dgA(r);return{stop:L_(e,t,{...n,eventFilter:i}),pause:o,resume:g,isActive:a}}function qc(e,t=!0,A){fgA()?vn(e,A):t?e():cr(e)}function l0(e,t=!1){function A(I,{flush:l="sync",deep:u=!1,timeout:c,throwOnTimeout:h}={}){let d=null;const f=[new Promise(E=>{d=Ae(e,v=>{I(v)!==t&&(d?.(),E(v))},{flush:l,deep:u,immediate:!0})})];return c!=null&&f.push(FF(c,h).then(()=>It(e)).finally(()=>d?.())),Promise.race(f)}function r(I,l){if(!YA(I))return A(v=>v===I,l);const{flush:u="sync",deep:c=!1,timeout:h,throwOnTimeout:d}=l??{};let B=null;const E=[new Promise(v=>{B=Ae([e,I],([p,D])=>{t!==(p===D)&&(B?.(),v(p))},{flush:u,deep:c,immediate:!0})})];return h!=null&&E.push(FF(h,d).then(()=>It(e)).finally(()=>(B?.(),It(e)))),Promise.race(E)}function n(I){return A(l=>!!l,I)}function i(I){return r(null,I)}function o(I){return r(void 0,I)}function g(I){return A(Number.isNaN,I)}function a(I,l){return A(u=>{const c=Array.from(u);return c.includes(I)||c.includes(It(I))},l)}function s(I){return C(1,I)}function C(I=1,l){let u=-1;return A(()=>(u+=1,u>=I),l)}return Array.isArray(It(e))?{toMatch:A,toContains:a,changed:s,changedTimes:C,get not(){return l0(e,!t)}}:{toMatch:A,toBe:r,toBeTruthy:n,toBeNull:i,toBeNaN:g,toBeUndefined:o,changed:s,changedTimes:C,get not(){return l0(e,!t)}}}function vgA(e){return l0(e)}function pgA(e,t=1e3,A={}){const{immediate:r=!0,immediateCallback:n=!1}=A;let i=null;const o=_(!1);function g(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,g()}function s(){const C=It(t);C<=0||(o.value=!0,n&&e(),g(),i=setInterval(e,C))}if(r&&Is&&s(),YA(t)||typeof t=="function"){const C=Ae(t,()=>{o.value&&Is&&s()});qi(C)}return qi(a),{isActive:o,pause:a,resume:s}}function wgA(e,t,A={}){const{immediate:r=!0}=A,n=_(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function g(){n.value=!1,o()}function a(...s){o(),n.value=!0,i=setTimeout(()=>{n.value=!1,i=null,e(...s)},It(t))}return r&&(n.value=!0,Is&&a()),qi(g),{isPending:Lo(n),start:a,stop:g}}function wM(e=!1,t={}){const{truthyValue:A=!0,falsyValue:r=!1}=t,n=YA(e),i=_(e);function o(g){if(arguments.length)return i.value=g,i.value;{const a=It(A);return i.value=i.value===a?It(r):a,i.value}}return n?o:[i,o]}function DM(e,t,A={}){const{debounce:r=0,maxWait:n=void 0,...i}=A;return L_(e,t,{...i,eventFilter:hgA(r,{maxWait:n})})}function $_(e,t,A){const r=Ae(e,(...n)=>(cr(()=>r()),t(...n)),A);return r}function RF(e,t,A){let r;YA(A)?r={evaluating:A}:r=A||{};const{lazy:n=!1,evaluating:i=void 0,shallow:o=!0,onError:g=lo}=r,a=_(!n),s=o?Zi(t):_(t);let C=0;return Er(async I=>{if(!a.value)return;C++;const l=C;let u=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const c=await e(h=>{I(()=>{i&&(i.value=!1),u||h()})});l===C&&(s.value=c)}catch(c){g(c)}finally{i&&l===C&&(i.value=!1),u=!0}}),n?W(()=>(a.value=!0,s.value)):s}function gi(e){var t;const A=It(e);return(t=A?.$el)!=null?t:A}const Qn=Is?window:void 0,DgA=Is?window.document:void 0,O_=Is?window.navigator:void 0;function Zt(...e){let t,A,r,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([A,r,n]=e,t=Qn):[t,A,r,n]=e,!t)return lo;Array.isArray(A)||(A=[A]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(C=>C()),i.length=0},g=(C,I,l,u)=>(C.addEventListener(I,l,u),()=>C.removeEventListener(I,l,u)),a=Ae(()=>[gi(t),It(n)],([C,I])=>{if(o(),!C)return;const l=IgA(I)?{...I}:I;i.push(...A.flatMap(u=>r.map(c=>g(C,u,c,l))))},{immediate:!0,flush:"post"}),s=()=>{a(),o()};return qi(s),s}let LF=!1;function ygA(e,t,A={}){const{window:r=Qn,ignore:n=[],capture:i=!0,detectIframe:o=!1}=A;if(!r)return lo;lgA&&!LF&&(LF=!0,Array.from(r.document.body.children).forEach(l=>l.addEventListener("click",lo)),r.document.documentElement.addEventListener("click",lo));let g=!0;const a=l=>n.some(u=>{if(typeof u=="string")return Array.from(r.document.querySelectorAll(u)).some(c=>c===l.target||l.composedPath().includes(c));{const c=gi(u);return c&&(l.target===c||l.composedPath().includes(c))}}),C=[Zt(r,"click",l=>{const u=gi(e);if(!(!u||u===l.target||l.composedPath().includes(u))){if(l.detail===0&&(g=!a(l)),!g){g=!0;return}t(l)}},{passive:!0,capture:i}),Zt(r,"pointerdown",l=>{const u=gi(e);g=!a(l)&&!!(u&&!l.composedPath().includes(u))},{passive:!0}),o&&Zt(r,"blur",l=>{setTimeout(()=>{var u;const c=gi(e);((u=r.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!c?.contains(r.document.activeElement)&&t(l)},0)})].filter(Boolean);return()=>C.forEach(l=>l())}function mgA(){const e=_(!1),t=Aa();return t&&vn(()=>{e.value=!0},t),e}function ZI(e){const t=mgA();return W(()=>(t.value,!!e()))}function bgA(e,t={}){const{immediate:A=!0,fpsLimit:r=void 0,window:n=Qn}=t,i=_(!1),o=r?1e3/r:null;let g=0,a=null;function s(l){if(!i.value||!n)return;g||(g=l);const u=l-g;if(o&&u<o){a=n.requestAnimationFrame(s);return}g=l,e({delta:u,timestamp:l}),a=n.requestAnimationFrame(s)}function C(){!i.value&&n&&(i.value=!0,g=0,a=n.requestAnimationFrame(s))}function I(){i.value=!1,a!=null&&n&&(n.cancelAnimationFrame(a),a=null)}return A&&C(),qi(I),{isActive:Lo(i),pause:I,resume:C}}function G_(e,t={}){const{window:A=Qn}=t,r=ZI(()=>A&&"matchMedia"in A&&typeof A.matchMedia=="function");let n;const i=_(!1),o=s=>{i.value=s.matches},g=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",o):n.removeListener(o))},a=Er(()=>{r.value&&(g(),n=A.matchMedia(It(e)),"addEventListener"in n?n.addEventListener("change",o):n.addListener(o),i.value=n.matches)});return qi(()=>{a(),g(),n=void 0}),i}function $F(e,t={}){const{controls:A=!1,navigator:r=O_}=t,n=ZI(()=>r&&"permissions"in r);let i;const o=typeof e=="string"?{name:e}:e,g=_(),a=()=>{i&&(g.value=i.state)},s=BgA(async()=>{if(n.value){if(!i)try{i=await r.permissions.query(o),Zt(i,"change",a),a()}catch{g.value="prompt"}return i}});return s(),A?{state:g,isSupported:n,query:s}:g}function yM(e={}){const{navigator:t=O_,read:A=!1,source:r,copiedDuring:n=1500,legacy:i=!1}=e,o=ZI(()=>t&&"clipboard"in t),g=$F("clipboard-read"),a=$F("clipboard-write"),s=W(()=>o.value||i),C=_(""),I=_(!1),l=wgA(()=>I.value=!1,n);function u(){o.value&&B(g.value)?t.clipboard.readText().then(f=>{C.value=f}):C.value=d()}s.value&&A&&Zt(["copy","cut"],u);async function c(f=It(r)){s.value&&f!=null&&(o.value&&B(a.value)?await t.clipboard.writeText(f):h(f),C.value=f,I.value=!0,l.start())}function h(f){const E=document.createElement("textarea");E.value=f??"",E.style.position="absolute",E.style.opacity="0",document.body.appendChild(E),E.select(),document.execCommand("copy"),E.remove()}function d(){var f,E,v;return(v=(E=(f=document?.getSelection)==null?void 0:f.call(document))==null?void 0:E.toString())!=null?v:""}function B(f){return f==="granted"||f==="prompt"}return{isSupported:s,text:C,copied:I,copy:c}}function MgA(e){return JSON.parse(JSON.stringify(e))}const Od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gd="__vueuse_ssr_handlers__",kgA=SgA();function SgA(){return Gd in Od||(Od[Gd]=Od[Gd]||{}),Od[Gd]}function x_(e,t){return kgA[e]||t}function NgA(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const PgA={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},OF="vueuse-storage";function T_(e,t,A,r={}){var n;const{flush:i="pre",deep:o=!0,listenToStorageChanges:g=!0,writeDefaults:a=!0,mergeDefaults:s=!1,shallow:C,window:I=Qn,eventFilter:l,onError:u=m=>{console.error(m)},initOnMounted:c}=r,h=(C?Zi:_)(typeof t=="function"?t():t);if(!A)try{A=x_("getDefaultStorage",()=>{var m;return(m=Qn)==null?void 0:m.localStorage})()}catch(m){u(m)}if(!A)return h;const d=It(t),B=NgA(d),f=(n=r.serializer)!=null?n:PgA[B],{pause:E,resume:v}=QgA(h,()=>D(h.value),{flush:i,deep:o,eventFilter:l});I&&g&&qc(()=>{Zt(I,"storage",S),Zt(I,OF,N),c&&S()}),c||S();function p(m,R){I&&I.dispatchEvent(new CustomEvent(OF,{detail:{key:e,oldValue:m,newValue:R,storageArea:A}}))}function D(m){try{const R=A.getItem(e);if(m==null)p(R,null),A.removeItem(e);else{const k=f.write(m);R!==k&&(A.setItem(e,k),p(R,k))}}catch(R){u(R)}}function F(m){const R=m?m.newValue:A.getItem(e);if(R==null)return a&&d!=null&&A.setItem(e,f.write(d)),d;if(!m&&s){const k=f.read(R);return typeof s=="function"?s(k,d):B==="object"&&!Array.isArray(k)?{...d,...k}:k}else return typeof R!="string"?R:f.read(R)}function S(m){if(!(m&&m.storageArea!==A)){if(m&&m.key==null){h.value=d;return}if(!(m&&m.key!==e)){E();try{m?.newValue!==f.write(h.value)&&(h.value=F(m))}catch(R){u(R)}finally{m?cr(v):v()}}}}function N(m){S(m.detail)}return h}function H_(e){return G_("(prefers-color-scheme: dark)",e)}function GQ(e={}){const{selector:t="html",attribute:A="class",initialValue:r="auto",window:n=Qn,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:g=!0,storageRef:a,emitAuto:s,disableTransition:C=!0}=e,I={auto:"",light:"light",dark:"dark",...e.modes||{}},l=H_({window:n}),u=W(()=>l.value?"dark":"light"),c=a||(o==null?EgA(r):T_(o,r,i,{window:n,listenToStorageChanges:g})),h=W(()=>c.value==="auto"?u.value:c.value),d=x_("updateHTMLAttrs",(v,p,D)=>{const F=typeof v=="string"?n?.document.querySelector(v):gi(v);if(!F)return;let S;if(C&&(S=n.document.createElement("style"),S.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n.document.head.appendChild(S)),p==="class"){const N=D.split(/\s/g);Object.values(I).flatMap(m=>(m||"").split(/\s/g)).filter(Boolean).forEach(m=>{N.includes(m)?F.classList.add(m):F.classList.remove(m)})}else F.setAttribute(p,D);C&&(n.getComputedStyle(S).opacity,document.head.removeChild(S))});function B(v){var p;d(t,A,(p=I[v])!=null?p:v)}function f(v){e.onChanged?e.onChanged(v,B):B(v)}Ae(h,f,{flush:"post",immediate:!0}),qc(()=>f(h.value));const E=W({get(){return s?c.value:h.value},set(v){c.value=v}});try{return Object.assign(E,{store:c,system:u,state:h})}catch{return E}}function FgA(e,t,A={}){const{window:r=Qn,...n}=A;let i;const o=ZI(()=>r&&"MutationObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>{const l=It(e),u=(Array.isArray(l)?l:[l]).map(gi).filter(sgA);return new Set(u)}),s=Ae(()=>a.value,l=>{g(),o.value&&r&&l.size&&(i=new MutationObserver(t),l.forEach(u=>i.observe(u,n)))},{immediate:!0,flush:"post"}),C=()=>i?.takeRecords(),I=()=>{g(),s()};return qi(I),{isSupported:o,stop:I,takeRecords:C}}function RgA(e={}){const{valueDark:t="dark",valueLight:A="",window:r=Qn}=e,n=GQ({...e,onChanged:(g,a)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,g==="dark",a,g):a(g)},modes:{dark:t,light:A}}),i=W(()=>n.system?n.system.value:H_({window:r}).value?"dark":"light");return W({get(){return n.value==="dark"},set(g){const a=g?"dark":"light";i.value===a?n.value="auto":n.value=a}})}function LgA(e,t,A={}){const{window:r=Qn,...n}=A;let i;const o=ZI(()=>r&&"ResizeObserver"in r),g=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>Array.isArray(e)?e.map(I=>gi(I)):[gi(e)]),s=Ae(a,I=>{if(g(),o.value&&r){i=new ResizeObserver(t);for(const l of I)l&&i.observe(l,n)}},{immediate:!0,flush:"post"}),C=()=>{g(),s()};return qi(C),{isSupported:o,stop:C}}function $gA(e,t={}){const{reset:A=!0,windowResize:r=!0,windowScroll:n=!0,immediate:i=!0}=t,o=_(0),g=_(0),a=_(0),s=_(0),C=_(0),I=_(0),l=_(0),u=_(0);function c(){const h=gi(e);if(!h){A&&(o.value=0,g.value=0,a.value=0,s.value=0,C.value=0,I.value=0,l.value=0,u.value=0);return}const d=h.getBoundingClientRect();o.value=d.height,g.value=d.bottom,a.value=d.left,s.value=d.right,C.value=d.top,I.value=d.width,l.value=d.x,u.value=d.y}return LgA(e,c),Ae(()=>gi(e),h=>!h&&c()),FgA(e,c,{attributeFilter:["style","class"]}),n&&Zt("scroll",c,{capture:!0,passive:!0}),r&&Zt("resize",c,{passive:!0}),qc(()=>{i&&c()}),{height:o,bottom:g,left:a,right:s,top:C,width:I,x:l,y:u,update:c}}function OgA(e={}){const{initialValue:t=""}=e,A=ZI(()=>typeof window<"u"&&"EyeDropper"in window),r=_(t);async function n(i){if(!A.value)return;const g=await new window.EyeDropper().open(i);return r.value=g.sRGBHex,g}return{isSupported:A,sRGBHex:r,open:n}}function GgA(e,t,A={}){const{window:r=Qn}=A;return T_(e,t,r?.localStorage,A)}const xgA={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function TgA(e={}){const{reactive:t=!1,target:A=Qn,aliasMap:r=xgA,passive:n=!0,onEventFired:i=lo}=e,o=Ug(new Set),g={toJSON(){return{}},current:o},a=t?Ug(g):g,s=new Set,C=new Set;function I(h,d){h in a&&(t?a[h]=d:a[h].value=d)}function l(){o.clear();for(const h of C)I(h,!1)}function u(h,d){var B,f;const E=(B=h.key)==null?void 0:B.toLowerCase(),p=[(f=h.code)==null?void 0:f.toLowerCase(),E].filter(Boolean);E&&(d?o.add(E):o.delete(E));for(const D of p)C.add(D),I(D,d);E==="meta"&&!d?(s.forEach(D=>{o.delete(D),I(D,!1)}),s.clear()):typeof h.getModifierState=="function"&&h.getModifierState("Meta")&&d&&[...o,...p].forEach(D=>s.add(D))}Zt(A,"keydown",h=>(u(h,!0),i(h)),{passive:n}),Zt(A,"keyup",h=>(u(h,!1),i(h)),{passive:n}),Zt("blur",l,{passive:!0}),Zt("focus",l,{passive:!0});const c=new Proxy(a,{get(h,d,B){if(typeof d!="string")return Reflect.get(h,d,B);if(d=d.toLowerCase(),d in r&&(d=r[d]),!(d in a))if(/[+_-]/.test(d)){const E=d.split(/[+_-]/g).map(v=>v.trim());a[d]=W(()=>E.every(v=>It(c[v])))}else a[d]=_(!1);const f=Reflect.get(h,d,B);return t?It(f):f}});return c}function HgA(e={}){const{controls:t=!1,interval:A="requestAnimationFrame"}=e,r=_(new Date),n=()=>r.value=new Date,i=A==="requestAnimationFrame"?bgA(n,{immediate:!0}):pgA(n,A,{immediate:!0});return t?{now:r,...i}:r}let UgA=0;function KgA(e,t={}){const A=_(!1),{document:r=DgA,immediate:n=!0,manual:i=!1,id:o=`vueuse_styletag_${++UgA}`}=t,g=_(e);let a=()=>{};const s=()=>{if(!r)return;const I=r.getElementById(o)||r.createElement("style");I.isConnected||(I.id=o,t.media&&(I.media=t.media),r.head.appendChild(I)),!A.value&&(a=Ae(g,l=>{I.textContent=l},{immediate:!0}),A.value=!0)},C=()=>{!r||!A.value||(a(),r.head.removeChild(r.getElementById(o)),A.value=!1)};return n&&!i&&qc(s),i||qi(C),{id:o,css:g,unload:C,load:s,isLoaded:Lo(A)}}const _gA=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],YgA={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function JgA(e){return e.toISOString().slice(0,10)}function zgA(e,t={}){const{controls:A=!1,updateInterval:r=3e4}=t,{now:n,...i}=HgA({interval:r,controls:!0}),o=W(()=>WgA(new Date(It(e)),t,It(n)));return A?{timeAgo:o,...i}:o}function WgA(e,t={},A=Date.now()){var r;const{max:n,messages:i=YgA,fullDateFormatter:o=JgA,units:g=_gA,showSecond:a=!1,rounding:s="round"}=t,C=typeof s=="number"?d=>+d.toFixed(s):Math[s],I=+A-+e,l=Math.abs(I);function u(d,B){return C(Math.abs(d)/B.value)}function c(d,B){const f=u(d,B),E=d>0,v=h(B.name,f,E);return h(E?"past":"future",v,E)}function h(d,B,f){const E=i[d];return typeof E=="function"?E(B,f):E.replace("{0}",B.toString())}if(l<6e4&&!a)return i.justNow;if(typeof n=="number"&&l>n)return o(new Date(e));if(typeof n=="string"){const d=(r=g.find(B=>B.name===n))==null?void 0:r.max;if(d&&l>d)return o(new Date(e))}for(const[d,B]of g.entries()){if(u(I,B)<=0&&g[d-1])return c(I,g[d-1]);if(l<B.max)return c(I,B)}return i.invalid}function xQ(e,t,A,r={}){var n,i,o;const{clone:g=!1,passive:a=!1,eventName:s,deep:C=!1,defaultValue:I,shouldEmit:l}=r,u=Aa(),c=A||u?.emit||((n=u?.$emit)==null?void 0:n.bind(u))||((o=(i=u?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(u?.proxy));let h=s;t||(t="modelValue"),h=h||`update:${t.toString()}`;const d=E=>g?typeof g=="function"?g(E):MgA(E):E,B=()=>agA(e[t])?d(e[t]):I,f=E=>{l?l(E)&&c(h,E):c(h,E)};if(a){const E=B(),v=_(E);let p=!1;return Ae(()=>e[t],D=>{p||(p=!0,v.value=d(D),cr(()=>p=!1))}),Ae(v,D=>{!p&&(D!==e[t]||C)&&f(D)},{deep:C}),v}else return W({get(){return B()},set(E){f(E)}})}function qgA(e={}){const{window:t=Qn,initialWidth:A=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:i=!0}=e,o=_(A),g=_(r),a=()=>{t&&(i?(o.value=t.innerWidth,g.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,g.value=t.document.documentElement.clientHeight))};if(a(),qc(a),Zt("resize",a,{passive:!0}),n){const s=G_("(orientation: portrait)");Ae(s,()=>a())}return{width:o,height:g}}function U_(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3}}const rt=GgA("__VUE_DEVTOOLS_CLIENT_STATE__",U_(),{mergeDefaults:!0});function jgA(){rt.value=U_()}Ae(()=>rt.value.splitScreen.enabled,(e,t)=>{t&&!e&&(rt.value.splitScreen.size=[50,50])});const Xo=[];function Ei(e){Xo.push(e),qi(()=>{Xo.splice(Xo.indexOf(e),1)});const{connected:t,clientConnected:A}=_n(),r=W(()=>A.value&&t.value);if(r.value){Xo.forEach(n=>n());return}return $_(r,n=>{n&&Xo.forEach(i=>i())}),()=>{Xo.splice(Xo.indexOf(e),1)}}function VgA(){Xo.forEach(e=>e())}let GF=null;function jc(){const e=_n(),t=_(e.tabs.value||[]),A=W(()=>{const g=e.vitePluginDetected.value,a=[...ogA(g,ggA.value?.moduleDetectives)];return t.value.forEach(s=>{const C=a.find(I=>I[0]===s.category);if(C){if(C[1].some(I=>I.name===s.name)||(!g||F1)&&N_.includes(s.name))return;C[1].push({...s})}}),a}),r=W(()=>A.value.reduce((g,[a,s])=>(s.forEach(C=>{g.push(C)}),g),[])),n=W(()=>{const{hiddenTabCategories:g,hiddenTabs:a,pinnedTabs:s}=rt.value.tabSettings,C=g.includes("pinned"),I=A.value.reduce((l,[u,c])=>{const h=[{hidden:!1,name:u},[]],d=g.includes(u);return c.forEach(B=>{const f=a.includes(B.name);if(s.includes(B.name))l[0][1].push({...B,hidden:f||C});else{const E=f||d;h[1].push({...B,hidden:E})}}),h[0].hidden=h[1].every(B=>B.hidden),l.push(h),l},[[{name:"pinned",hidden:!1},[]]]);return I[0][0].hidden=I[0][1].every(l=>l.hidden),I[0][1].sort((l,u)=>s.indexOf(l.name)-s.indexOf(u.name)),I}),i=W(()=>n.value.reduce((g,[a,s])=>{if(a.hidden)return g;const C=s.filter(I=>!I.hidden);return C.length&&g.push([a,C]),g},[])),o=W(()=>i.value.reduce((g,[a,s])=>(s.forEach(C=>{g.push(C)}),g),[]));return Ei(()=>{GF?.(),GF=vK(g=>{t.value=g})}),{categorizedTabs:n,flattenedTabs:r,enabledTabs:i,enabledFlattenTabs:o}}function xF(e,t){return W(()=>{const A=[],r=rt.value.tabSettings.pinnedTabs;Om(t).reduce((o,[{name:g,hidden:a},s])=>(s.forEach(C=>{if(Om(e).some(I=>I.name===C.name)){const I=r.includes(C.name)?"pinned":g||"app";o.push({tab:C,category:{name:I,hidden:a}})}}),o),[]).forEach(({tab:o,category:g})=>{const a=A.find(([{name:s}])=>s===g.name);a?a[1].push(o):A.push([g,[o]])});const i=A.find(([{name:o}])=>o==="pinned");return i&&i[1].sort((o,g)=>r.indexOf(o.name)-r.indexOf(g.name)),A})}function ZgA(e){const t=new Map;return e.forEach(A=>t.set(A.id,A)),Array.from(t.values())}const u0=Ug(new Map);let TF=null;function XgA(){const{enabledFlattenTabs:e}=jc(),t=VI(),A=_n(),r=_(A.commands.value||[]);Er(()=>{r.value=A.commands.value||[]}),Ei(()=>{TF?.(),TF=pK(o=>{r.value=o})});const n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>eaA()}],i=W(()=>e.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():t.push("path"in o&&o.path?o.path:`/custom-tab-view/${o.name}`)}})));return W(()=>ZgA([...n,...i.value,...AaA(r.value),...Array.from(u0.values()).flatMap(o=>Om(o))]))}function HF(e){e?.type==="url"&&window.open(e.src,"_blank")}function AaA(e){return e.map(t=>({id:`${t.id}`,title:t.title,icon:t.icon,description:t.description,order:t.order,action:()=>{if(t.children)return t.children.map(A=>({id:A.id,title:A.title,icon:A.icon,description:A.description,order:A.order,action:()=>{HF(A.action)}})).sort((A,r)=>(r.order??0)-(A.order??0));HF(t.action)}})).sort((t,A)=>(A.order??0)-(t.order??0))}function UF(e){const t=N7();u0.set(t,e),Ss(()=>{u0.delete(t)})}let _p;async function eaA(){return _p||(_p=(await pr(()=>import("./vue-apis-buOuct3A.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default)).map(t=>({...t,icon:"carbon-api-1",action:()=>{window.open(t.url,"_blank")}}))),_p}const taA={flex:"~ col","max-h-120":"","min-h-60":"",h:"60%","w-xl":"","of-hidden":"",border:"1 base","rounded-md":"","text-3.75":""},raA={border:"b base","flex-none":""},naA={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},iaA=["id","onClick","onMouseover"],oaA={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},gaA={"ws-nowrap":""},aaA={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},saA={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},CaA=y("span",{op50:""},"No results for",-1),IaA={"text-primary":""},laA={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},uaA={"text-xs":"",flex:"~ items-center gap2"},caA={px1:""},haA={px1:""},daA=y("span",{op75:""},"to navigate",-1),BaA={"text-xs":"",flex:"~ items-center gap2"},faA=y("button",{px1:""}," Esc ",-1),EaA={op75:""},QaA={"text-xs":"",flex:"~ items-center gap2"},vaA={px1:""},paA=y("span",{op75:""},"to select",-1),waA=DA({__name:"CommandPalette",setup(e){const t=_(!1),A=_(""),r=XgA(),n=_(),i=W(()=>n.value||r.value),o=W(()=>new Rs(i.value,{keys:["id","title"],distance:50})),g=W(()=>A.value?o.value.search(A.value).map(l=>l.item):i.value||[]),a=_(0);Ae(A,()=>{a.value=0,C()});function s(l){a.value=(a.value+l+g.value.length)%g.value.length,C()}function C(){document.getElementById(g.value[a.value]?.id)?.scrollIntoView({block:"center"})}async function I(l){const u=await l.action();u?(n.value=u,A.value=""):(n.value=void 0,A.value="",t.value=!1)}return Zt("keydown",l=>{if((l.altKey||l.metaKey)&&l.key==="k"){l.preventDefault(),n.value=void 0,A.value="",t.value=!t.value;return}if(t.value)switch(l.key){case"ArrowDown":case"ArrowUp":l.preventDefault(),s(l.key==="ArrowDown"?1:-1);break;case"Enter":{const u=g.value[a.value];u&&(l.preventDefault(),I(u));break}case"Escape":{l.preventDefault(),n.value?(n.value=void 0,A.value=""):t.value=!1;break}}}),(l,u)=>{const c=zc;return Q(t)?(M(),tA(Q(vM),{key:0,dim:"",class:"backdrop-blur-2xl!"},{default:U(()=>[y("div",taA,[y("header",raA,[T(Q(bo),{modelValue:Q(A),"onUpdate:modelValue":u[0]||(u[0]=h=>YA(A)?A.value=h:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),y("div",naA,[(M(!0),x(wA,null,Be(Q(g),(h,d)=>(M(),x("button",{id:h.id,key:h.id,onClick:B=>I(h),onMouseover:B=>a.value=d},[y("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:bA(Q(a)===d?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[T(c,{icon:h.icon,title:h.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),y("span",oaA,[y("span",gaA,yA(h.title),1),y("span",aaA,yA(h.description),1)]),Q(a)===d?(M(),tA(Q(De),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):pA("",!0)],2)],40,iaA))),128)),Q(g).length?pA("",!0):(M(),x("div",saA,[T(Q(De),{icon:"carbon-search",op50:""}),y("div",null,[CaA,y("strong",IaA,' "'+yA(Q(A))+'" ',1)])]))]),y("footer",laA,[y("div",uaA,[y("button",caA,[T(Q(De),{icon:"carbon-arrow-down"})]),y("button",haA,[T(Q(De),{icon:"carbon-arrow-up"})]),daA]),y("div",BaA,[faA,y("span",EaA,"to "+yA(Q(n)?"go back":"close"),1)]),y("div",QaA,[y("button",vaA,[T(Q(De),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),paA])])])]),_:1})):pA("",!0)}}}),Vc=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},DaA={},yaA={class:"panel-grids-center"};function maA(e,t){return M(),x("div",yaA,[VA(e.$slots,"default")])}const Qi=Vc(DaA,[["render",maA]]),baA={flex:"~ items-center gap-3"},MaA={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},kaA={"translate-y-0.5px":""},SaA={key:0,hidden:"","lg:block":""},K_=DA({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,A=NQ(),r=W(()=>"path"in t.tab?`${t.tab.path.startsWith("/")?"":"/"}${t.tab.path}`:`/custom-tab-view/${t.tab.name}`),n=W(()=>"badge"in t.tab&&t.tab.badge?.()),i=W(()=>A.path.startsWith(r.value));function o(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(rt.value.splitScreen.view=t.tab.name)}return(g,a)=>{const s=zc;return M(),tA(Q(BoA),{disabled:!g.minimized,placement:"right",class:bA({"w-full":!g.minimized})},{popper:U(()=>[y("div",null,yA(g.tab.title),1),"extraTabVNode"in g.tab&&g.tab.extraTabVNode?(M(),x("div",SaA,[(M(),tA(Kg(g.tab.extraTabVNode)))])):pA("",!0)]),default:U(()=>[(M(),tA(Kg(g.target==="main"?Q(TK):"button"),{to:Q(r),flex:`~ items-center ${g.minimized?"justify-center":"justify-between"}`,hover:"bg-active op-100",w:g.minimized?"10":"full",rounded:g.minimized?"xl":"",p:g.minimized?"1":"x3","text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:o},{default:U(()=>[y("div",baA,[T(s,{"text-xl":"",icon:g.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),g.minimized?pA("",!0):(M(),x("span",MaA,yA(g.tab.title),1))]),Q(n)?(M(),x("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:bA([Q(i)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":g.minimized}])},[y("span",kaA,yA(Q(It)(Q(n))),1)],2)):pA("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),NaA={flex:"~ col gap-1","max-w-80":"",py1:""},PaA={key:0,"h-1px":"",border:"b base"},FaA={flex:"~ wrap",px1:""},__=DA({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,A)=>{const r=K_;return M(),x("div",NaA,[(M(!0),x(wA,null,Be(t.categories,([n,i],o)=>(M(),x(wA,{key:n},[i.length?(M(),x(wA,{key:0},[o?(M(),x("div",PaA)):pA("",!0),y("div",FaA,[(M(!0),x(wA,null,Be(i,g=>(M(),tA(r,{key:g.name,target:t.target,tab:g},null,8,["target","tab"]))),128))])],64)):pA("",!0)],64))),128))])}}}),RaA={"h-full":"","h-screen":"","of-hidden":""},LaA={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},$aA={flex:"","cursor-pointer":"","items-center":"",gap2:""},OaA=y("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),GaA={capitalize:""},xaA=y("div",{"flex-auto":""},null,-1),TaA=y("div",{"i-carbon:side-panel-open":""},null,-1),HaA=[TaA],UaA={key:1,"of-auto":"",style:{height:"calc(100% - 50px)"}},KaA=y("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),_aA=DA({__name:"SplitScreen",setup(e){function t(){rt.value.splitScreen.enabled=!1}const A=W(()=>rt.value.splitScreen),{enabledTabs:r,flattenedTabs:n}=jc(),i=VI(),o=NQ(),g=Zi();function a(I){const l=o.path.startsWith("/")?o.path.slice(1):o.path;return I&&"path"in I&&l===I.path}const s=W(()=>{const I=n.value.find(l=>l.name===A.value.view);return a(I)?void 0:I});Ae(()=>s.value,I=>{if(!I)return;const l=i.getRoutes(),u=I&&"path"in I?l.find(d=>d.path===(I.path.startsWith("/")?I.path:`/${I.path}`)):l.find(d=>d.name==="custom-tab"),c=o.path.startsWith("/")?o.path.slice(1):o.path;if(u?.path===c||o.params?.name===I.name){g.value=void 0;return}const h=u?.components?.default;typeof h=="function"?g.value=TX(h):g.value=h},{immediate:!0});const C=_(!1);return(I,l)=>{const u=zc,c=__,h=Qi;return M(),x("div",RaA,[Q(g)&&Q(s)?(M(),x("div",LaA,[T(Q(BI),{placement:"bottom-start",distance:12,skidding:5,shown:Q(C),trigger:"click"},{popper:U(()=>[T(c,{categories:Q(r),target:"side"},null,8,["categories"])]),default:U(()=>[y("div",$aA,[OaA,T(u,{"text-xl":"",icon:Q(s)?.icon,title:"Settings","show-title":!1},null,8,["icon"]),y("span",GaA,yA(Q(s)?.name),1)])]),_:1},8,["shown"]),xaA,vt((M(),x("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:t},HaA)),[[Q(Bn),"Close split screen"]])])):pA("",!0),Q(g)&&Q(s)?(M(),x("div",UaA,[(M(),tA(Kg(Q(g)),{key:`tab-${Q(s).name}`}))])):(M(),tA(h,{key:2},{default:U(()=>[KaA,T(Q(sf),{px4:"",py2:"","bg-base":""},{default:U(()=>[T(c,{categories:Q(r),target:"side"},null,8,["categories"])]),_:1}),T(Q(ie),{type:"warning",outlined:"",mt2:"",onClick:t},{default:U(()=>[NA(" Close Split Screen ")]),_:1})]),_:1}))])}}});function mM(){const e=lM(),t=_("");return sI&&ae.chrome.storage.local.get(pp).then(A=>{t.value=A[pp]??"overlay"}),{viewMode:t,toggle(A){t.value=A,ae.chrome.storage.local.set({[pp]:A}),sI&&e.value.emit("toggle-view-mode",A)}}}const YaA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},JaA=y("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),zaA=y("div",{"i-carbon-settings-adjust":""},null,-1),WaA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},qaA=y("div",{"i-carbon-split-screen":""},null,-1),jaA={px3:"",py2:"",flex:"~ gap2"},VaA=DA({__name:"DockingPanel",setup(e){const t=pt("viewMode",_("overlay")),A=W(()=>t.value==="panel"&&sI),{toggle:r}=mM(),n=VI(),i=W({get:()=>rt.value.expandSidebar,set:l=>rt.value.expandSidebar=l}),o=W({get:()=>rt.value.splitScreen.enabled,set:l=>rt.value.splitScreen.enabled=l});function g(){location.reload()}const a=_n(),s=W(()=>a.appRecords.value.map(l=>({label:l.name+(l.version?` (${l.version})`:""),value:l.id}))),C=_(a.activeAppRecordId.value),I=W(()=>s.value.find(l=>l.value===C.value)?.label??"");return Ae(C,l=>{rK(`${l}`).then(()=>{n.push("/overview").then(()=>{VgA()})})}),(l,u)=>(M(),x("div",null,[y("div",YaA,[T(Q(Q_),null,{default:U(({isDark:c,toggle:h})=>[T(Q(ie),{outlined:"",type:"primary",onClick:h},{default:U(()=>[JaA,NA(" "+yA(c?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),T(Q(ie),{outlined:"",type:"primary",onClick:u[0]||(u[0]=c=>i.value=!Q(i))},{default:U(()=>[T(Q(De),{icon:Q(i)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),NA(" "+yA(Q(i)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),T(Q(ie),{to:"/settings",outlined:"",type:"primary"},{default:U(()=>[zaA,NA(" Settings ")]),_:1})]),y("div",WaA,[T(Q(ie),{outlined:"",type:"primary",onClick:u[1]||(u[1]=c=>o.value=!Q(o))},{default:U(()=>[qaA,NA(" "+yA(Q(o)?"Close Split Screen":"Split Screen"),1)]),_:1})]),y("div",jaA,[Q(s).length>1?(M(),tA(Q(CE),{key:0,modelValue:Q(C),"onUpdate:modelValue":u[2]||(u[2]=c=>YA(C)?C.value=c:null),options:Q(s),placeholder:Q(I)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):pA("",!0),T(Q(ie),{outlined:"",type:"primary",onClick:g},{default:U(()=>[NA(" Refresh Page ")]),_:1}),Q(A)?(M(),tA(Q(ie),{key:1,outlined:"",type:"primary",onClick:u[3]||(u[3]=c=>Q(r)("overlay"))},{default:U(()=>[NA(" Switch to Overlay Mode ")]),_:1})):pA("",!0)])]))}}),ZaA={border:"r base",flex:"~ col items-start",class:"$ui-z-max-override","h-full":"","of-hidden":"","bg-base":""},XaA={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},AsA=y("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1),esA=y("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1),tsA=y("div",{"flex-auto":""},null,-1),rsA=y("div",{"i-carbon-overflow-menu-vertical":""},null,-1),nsA={flex:"~ auto col gap-0.5 items-center","w-full":"","of-x-hidden":"","of-y-auto":"",p1:"",class:"no-scrollbar"},isA={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},osA=y("div",{"flex-auto":""},null,-1),gsA=["flex"],asA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},ssA={"translate-y-0.5px":""},CsA=45,IsA=DA({__name:"SideNav",setup(e){const t=_(!1),A=_(!1),r=_(),n=_(),i=_(),o=W(()=>rt.value.expandSidebar),g=W(()=>rt.value.scrollableSidebar),{enabledTabs:a,flattenedTabs:s}=jc(),{height:C}=qgA(),I=W(()=>{const B=C.value-130;return Math.max(0,Math.floor(B/CsA))}),l=W(()=>s.value.slice(0,I.value)),u=W(()=>s.value.slice(I.value)),c=xF(l,a),h=xF(u,a),d=W(()=>g.value||o.value?a.value:c.value);return ygA(r,B=>{n.value&&B.composedPath().includes(n.value)||i.value&&B.composedPath().includes(i.value)||(t.value=!1,A.value=!1)},{detectIframe:!0}),(B,f)=>{const E=VaA,v=K_,p=zc,D=__;return M(),x("div",ZaA,[y("div",XaA,[T(Q(BI),{placement:"left-start",distance:6,skidding:5,trigger:"click",shown:Q(t),class:"w-full"},{popper:U(()=>[T(E)]),default:U(()=>[y("button",{ref_key:"buttonDocking",ref:n,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-full":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:bA([Q(o)?"rounded pl2.5":"rounded-xl"])},[AsA,Q(o)?(M(),x(wA,{key:0},[esA,tsA,rsA],64)):pA("",!0)],2)]),_:1},8,["shown"])]),y("div",nsA,[(M(!0),x(wA,null,Be(Q(d),([F,S],N)=>(M(),x(wA,{key:F},[N?(M(),x("div",isA)):pA("",!0),(M(!0),x(wA,null,Be(S.filter(m=>!m.hidden),m=>(M(),tA(v,{key:m.name,tab:m,minimized:!Q(o)},null,8,["tab","minimized"]))),128))],64))),128)),osA]),y("div",{flex:`~ items-center gap-1 ${Q(o)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[Q(u).length&&!Q(g)&&!Q(o)?(M(),tA(Q(BI),{key:0,placement:"left-end",distance:6},{popper:U(()=>[T(D,{categories:Q(h),"max-w-80":"",target:"main"},null,8,["categories"])]),default:U(()=>[y("button",{ref_key:"buttonMoreTabs",ref:i,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[T(p,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),y("div",asA,[y("span",ssA,yA(Q(u).length),1)])],512)]),_:1})):pA("",!0),T(v,{minimized:!Q(o),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,gsA)])}}}),lsA={},usA={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},csA=vAA('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></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),hsA=[csA];function dsA(e,t){return M(),x("svg",usA,hsA)}const bM=Vc(lsA,[["render",dsA]]),BsA={class:"fixed inset-0 h-screen w-screen flex flex-col items-center justify-center $ui-bg-base"},fsA=y("p",{class:"p3 text-sm font-bold"},[NA(" DevTools is currently injected into user application in "),y("em",{class:"text-primary-600"},"Overlay"),NA(" view mode. ")],-1),EsA=DA({__name:"ViewModeSwitch",setup(e){GQ();const{toggle:t}=mM();return(A,r)=>{const n=bM;return M(),x("div",BsA,[T(n,{"h-18":""}),fsA,y("p",null,[T(Q(ie),{onClick:r[0]||(r[0]=fr(i=>Q(t)("panel"),["stop"]))},{default:U(()=>[NA(" Switch to Panel Mode ")]),_:1})])])}}}),QsA="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vsA={class:"h-screen w-screen $ui-fcc flex-col"},psA={class:"outer"},wsA={class:"inner"},DsA=["src"],ysA=DA({__name:"AppConnecting",setup(e){return(t,A)=>(M(),x("div",vsA,[y("div",psA,[y("div",wsA,[y("img",{src:Q(QsA),class:"max-w-18",alt:"Vue logo"},null,8,DsA)])]),VA(t.$slots,"default",{},void 0,!0)]))}}),Y_=Vc(ysA,[["__scopeId","data-v-204233a8"]]),XI={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 A=0;this.panes=this.panes.map((r,n)=>(r.size=n===t?r.max:r.min,n!==t&&(A+=r.min),r)),this.panes[t].size-=A,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:A,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:A-t.left,y:r-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 A={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:A.prevPanesSize),n=100-(this.pushOtherPanes?0:A.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(e),n),r);let o=[t,t+1],g=this.panes[o[0]]||null,a=this.panes[o[1]]||null;const s=g.max<100&&i>=g.max+A.prevPanesSize,C=a.max<100&&i<=100-(a.max+this.sumNextPanesSize(t+1));if(s||C){s?(g.size=g.max,a.size=Math.max(100-g.max-A.prevPanesSize-A.nextPanesSize,0)):(g.size=Math.max(100-a.max-A.prevPanesSize-this.sumNextPanesSize(t+1),0),a.size=a.max);return}if(this.pushOtherPanes){const I=this.doPushOtherPanes(A,i);if(!I)return;({sums:A,panesToResize:o}=I),g=this.panes[o[0]]||null,a=this.panes[o[1]]||null}g!==null&&(g.size=Math.min(Math.max(i-A.prevPanesSize-A.prevReachedMinPanes,g.min),g.max)),a!==null&&(a.size=Math.min(Math.max(100-i-A.nextPanesSize-A.nextReachedMinPanes,a.min),a.max))},doPushOtherPanes(e,t){const A=this.touch.activeSplitter,r=[A,A+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(A).index,e.prevReachedMinPanes=0,r[0]<A&&this.panes.forEach((n,i)=>{i>r[0]&&i<=A&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((n,i)=>{i>0&&i<=A&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(A).index,e.nextReachedMinPanes=0,r[1]>A+1&&this.panes.forEach((n,i)=>{i>A&&i<r[1]&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((n,i)=>{i<this.panesCount-1&&i>=A+1&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,A,r)=>t+(r<e?A.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,A,r)=>t+(r>e+1?A.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"),A=e.classList.contains("splitpanes__splitter");!t&&!A&&(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,A=!1){const r=e-1,n=document.createElement("div");n.classList.add("splitpanes__splitter"),A||(n.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(n.ontouchstart=i=>this.onMouseDown(i,r)),n.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(n.ondblclick=i=>this.onSplitterDblClick(i,r+1)),t.parentNode.insertBefore(n,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(A=>{A.className.includes("splitpanes__splitter")&&this.removeSplitter(A)});let t=0;e.forEach(A=>{A.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,A,!0):t&&this.addSplitter(t,A),t++)})},requestUpdate({target:e,...t}){const A=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,n])=>A[r]=n)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(n=>(n.className.includes("splitpanes__pane")&&t++,n===e.$el));const A=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(A)?0:A,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((n,i)=>n.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),A=this.panes.splice(t,1)[0];this.panes.forEach((r,n)=>r.index=n),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...A,index:t}}),this.$emit("pane-remove",{removed:A,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.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 A=[],r=[];this.panes.forEach(n=>{n.size=Math.max(Math.min(e,n.max),n.min),t-=n.size,n.size>=n.max&&A.push(n.id),n.size<=n.min&&r.push(n.id)}),t>.1&&this.readjustSizes(t,A,r)},initialPanesSizing(){let e=100;const t=[],A=[];let r=0;this.panes.forEach(i=>{e-=i.size,i.size!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&A.push(i.id)});let n=100;e>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(e/(this.panesCount-r),i.max),i.min)),n-=i.size}),n>.1&&this.readjustSizes(e,t,A))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let A=100/this.panesCount,r=0;const n=[],i=[];e&&e.givenSize!==null&&(A=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{r-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&i.push(o.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(o=>{e&&e.givenSize!==null&&e.id===o.id||(o.size=Math.max(Math.min(A,o.max),o.min)),r-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&i.push(o.id)}),r>.1&&this.readjustSizes(r,n,i))},readjustSizes(e,t,A){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-A.length),this.panes.forEach((n,i)=>{if(e>0&&!t.includes(n.id)){const o=Math.max(Math.min(n.size+r,n.max),n.min),g=o-n.size;e-=g,n.size=o}else if(!A.includes(n.id)){const o=Math.max(Math.min(n.size+r,n.max),n.min),g=o-n.size;e-=g,n.size=o}n.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[n.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,A)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,A):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 WI("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},msA=(e,t)=>{const A=e.__vccOpts||e;for(const[r,n]of t)A[r]=n;return A},bsA={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 MsA(e,t,A,r,n,i){return M(),x("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=o=>i.onPaneClick(o,e._.uid)),style:Qt(e.style)},[VA(e.$slots,"default")],4)}const fn=msA(bsA,[["render",MsA]]);function Zc(){const{copy:e,copied:t}=yM();return{copy:(r,n={})=>{const{silent:i=!1,type:o=""}=n;e(r).then(()=>{i||i0({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{i||i0({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:t}}const ksA=uI("get-open-in-editor-host"),Xc=_(!1),TQ=async e=>{const t=await ksA();return t?jm(e,t):jm(e)},SsA={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},NsA=DA({__name:"App",setup(e){pr(()=>import("./unocss-runtime--QU4d9Ny.js"),__vite__mapDeps([]),import.meta.url),GQ();const t=VI(),A=NQ(),{connected:r,clientConnected:n}=_n(),i=rt,o=pt("viewMode",_("overlay")),g=W(()=>o.value==="overlay"&&sI),a=lM(),s=W(()=>A.path.startsWith("/__")||A.path==="/"),C=W(()=>i.value.expandSidebar),I=W(()=>n.value&&r.value);Er(()=>{const B=rt.value.scale;document.documentElement.style.fontSize=`${B*15}px`}),Ae(I,B=>{B&&(t.replace(i.value.isFirstVisit?"/":i.value.route),t.afterEach(()=>{const f=A.path;f.includes("__")||(i.value.route=f)}))},{immediate:!0}),Zt("keydown",B=>{B.code==="KeyD"&&B.altKey&&B.shiftKey&&a.value.emit("toggle-panel")}),Er(()=>{a.value.emit("update-client-state",{minimizePanelInteractive:rt.value.minimizePanelInteractive,closeOnOutsideClick:rt.value.interactionCloseOnOutsideClick,showFloatingPanel:rt.value.showPanel})});const l=W(()=>i.value.splitScreen.enabled),u=W({get:()=>i.value.splitScreen.size,set:B=>i.value.splitScreen.size=B}),c=_n();Er(()=>{P_.value=c.appRecords.value,F_.value=c.activeAppRecordId.value});const{copy:h}=Zc(),d=OgA({});return eK().then(B=>{B&&(Xc.value=!0,UF(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{a.value.emit("toggle-panel",!1),await tK()}}]))}),UF(()=>[...d.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:B}=await d.open()||{};B&&h(B)}}]:[]]),(B,f)=>{const E=Y_,v=EsA,p=IsA,D=En("RouterView"),F=_aA,S=waA;return M(),x("main",SsA,[Q(I)?Q(g)?(M(),tA(v,{key:1})):(M(),x("div",{key:2,class:bA(["h-full of-auto",Q(s)?"flex":Q(C)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Q(s)?pA("",!0):(M(),tA(p,{key:0,"of-x-hidden":"","of-y-auto":""})),T(Q(XI),{"h-full":"","of-hidden":"",onResize:f[0]||(f[0]=N=>u.value=N.map(m=>m.size))},{default:U(()=>[T(Q(fn),{"h-full":"",class:"of-auto!","min-size":"10",size:Q(u)[0]},{default:U(()=>[T(D)]),_:1},8,["size"]),!Q(s)&&Q(l)?(M(),tA(Q(fn),{key:0,relative:"","h-full":"",class:"of-auto!",size:Q(u)[1]},{default:U(()=>[T(F)]),_:1},8,["size"])):pA("",!0)]),_:1})],2)):(M(),tA(E,{key:0})),T(S)])}}}),MM=DA({__name:"ExpandIcon",props:{value:{type:Boolean}},setup(e){return(t,A)=>(M(),x("i",{class:bA(["i-radix-icons:triangle-right flex-none text-5 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}}),PsA={class:"flex-inline items-center gap4px"},FsA=DA({__name:"EditInput",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(e,{emit:t}){const A=e,r=t,n=W(()=>A.customType==="date"?"datetime-local":""),{escape:i,enter:o}=TgA();Er(()=>{i.value?r("cancel"):o.value&&r("submit")});const g=xQ(A,"modelValue",r);function a(I){try{return gf(I,A.customType),!0}catch{return!1}}const s=_(!1);return Ae(g,DQ(()=>{s.value=!a(g.value)},300)),(I,l)=>(M(),x("span",PsA,[T(Q(bo),{modelValue:Q(g),"onUpdate:modelValue":l[0]||(l[0]=u=>YA(g)?g.value=u:null),type:Q(n),variant:Q(s)?"warning":"normal",class:bA(["h25px px4px",I.customType==="date"?"w240px":"w120px"]),"auto-focus":I.autoFocus,onClick:l[1]||(l[1]=fr(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),I.showActions?(M(),x(wA,{key:0},[vt((M(),tA(Q(ie),{size:"mini",flat:"",class:"p2px!",onClick:l[2]||(l[2]=fr(u=>I.$emit("cancel"),["stop"]))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-cancel"})]),_:1})),[[Q(Bn),{content:"Esc to cancel"}]]),Q(s)?vt((M(),tA(Q(De),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[Q(Bn),{content:"Invalid value"}]]):vt((M(),tA(Q(ie),{key:0,size:"mini",flat:"",class:"p2px!",onClick:l[3]||(l[3]=fr(u=>I.$emit("submit"),["stop"]))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-save"})]),_:1})),[[Q(Bn),{content:"Enter to submit change"}]])],64)):pA("",!0)]))}}),J_=Symbol("StateEditorSymbol");function RsA(e){const t=_(e);return Io(J_,t),{context:t}}function kM(){return pt(J_)}function LsA(){const e=_(""),t=_("string"),A=_(!1),r=kM();return{editingText:e,editing:A,toggleEditing(n){n&&(t.value=n),A.value=!A.value},editingType:t,nodeId:r.value.nodeId}}function $sA(e,t){if(e==="array")return t.length;const A="newProp";let r=1;for(;;){const n=`${A}${r}`;if(!t[n])return n;r++}}function OsA(){const e=_({enable:!1,key:"",value:"undefined"});function t(r,n){const i=$sA(r,n);e.value={enable:!0,key:i.toString(),value:"undefined"}}function A(){e.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:t,resetDrafting:A,draftingNewProp:e}}const GsA={class:"inline pl5px"},xsA={class:"w160px py5px"},KF=DA({__name:"Actions",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(e){const t=e,A=kM(),{copy:r,isSupported:n}=yM(),i=_(!1),o=W(()=>aM(t.data.value)),g=W(()=>o.value.value),a=W(()=>o.value.customType),s=W(()=>g.value===null?"null":typeof g.value),C={flat:!0,size:"mini"},I=W(()=>({"opacity-0":!t.hovering}));function l(c,h=!1){eE({path:t.data.key.split("."),inspectorId:A.value.inspectorId,type:t.data.stateType,nodeId:A.value.nodeId,state:{newKey:null,value:Qe(c),type:s.value,remove:h}})}function u(c,h){const d=typeof c=="number"?c+h:BigInt(c)+BigInt(h);l(d)}return(c,h)=>(M(),x("div",GsA,[!t.disableEdit&&c.data.editable?(M(),x(wA,{key:0},[Q(s)==="string"||Q(s)==="number"||Q(s)==="object"||Q(s)==="null"?(M(),x(wA,{key:0},[vt((M(),tA(Q(ie),Ir(C,{class:Q(I),onClick:h[0]||(h[0]=fr(d=>c.$emit("enableEditInput",Q(s)),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[Q(Bn),{content:"Edit value"}]]),Q(s)==="object"&&c.showAddIfNeeded?vt((M(),tA(Q(ie),Ir({key:0},C,{class:Q(I),onClick:h[1]||(h[1]=fr(d=>c.$emit("addNewProp",Array.isArray(Q(g))?"array":"object"),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[Q(Bn),{content:"Add new value"}]]):pA("",!0)],64)):pA("",!0),Q(s)==="boolean"?(M(),tA(Q(ie),Ir({key:1},C,{class:Q(I),onClick:h[2]||(h[2]=d=>l(!Q(g)))}),{icon:U(()=>[T(Q(De),{icon:Q(g)?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):Q(s)==="number"||Q(a)==="bigint"?(M(),x(wA,{key:2},[T(Q(ie),Ir(C,{class:Q(I),onClick:h[3]||(h[3]=fr(d=>u(Q(g),1),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-carbon-add"})]),_:1},16,["class"]),T(Q(ie),Ir(C,{class:Q(I),onClick:h[4]||(h[4]=fr(d=>u(Q(g),-1),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):pA("",!0)],64)):pA("",!0),!t.disableEdit&&c.depth>0?(M(),tA(Q(ie),Ir({key:1},C,{class:Q(I),onClick:h[5]||(h[5]=fr(d=>l(Q(g),!0),["stop"]))}),{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):pA("",!0),T(Q(BI),{class:bA({"opacity-0":!c.hovering&&!Q(i)}),"button-props":{flat:!0,size:"mini"},disabled:!Q(n),"onUpdate:visible":h[8]||(h[8]=d=>i.value=d)},{popper:U(()=>[y("div",xsA,[T(Q(yF),{onClick:h[6]||(h[6]=d=>Q(r)(typeof Q(g)=="object"?JSON.stringify(Q(g)):Q(g).toString()))},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),NA(" Copy Value ")]),_:1}),T(Q(yF),{onClick:h[7]||(h[7]=()=>{Q(r)(c.data.key)})},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),NA(" Copy Path ")]),_:1})])]),"button-icon":U(()=>[T(Q(De),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}});function fI(e){const t=_({}),A=_({});return Io(`CollapseMapSymbol${e}`,t),Io(`CollapseMapSymbol${e}LinkedList`,A),{collapseMap:t,id:e,linkedList:A}}function TsA(e){const t=pt(`CollapseMapSymbol${e}`),A=pt(`CollapseMapSymbol${e}LinkedList`);return{collapseMap:t,linkedList:A,id:e}}function SM(e,t,A){const{collapseMap:r,linkedList:n}=TsA(e),i=W(()=>r.value[t]??!1),o=()=>{r.value[t]=!r.value[t]};return A?.length&&(n.value[t]=A??[]),{isExpanded:i,toggleCollapse:o}}function HsA(e,t={}){const{enter:A=()=>{},leave:r=()=>{},initial:n=!1}=t,i=_(n);return Zt(e,"mouseenter",()=>{i.value=!0,A()}),Zt(e,"mouseleave",()=>{i.value=!1,r()}),{isHovering:i}}const NM=e=>(BQ("data-v-a33ae112"),e=e(),fQ(),e),UsA={key:0},KsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},_sA=NM(()=>y("span",{"mx-1":""},":",-1)),YsA=["innerHTML"],JsA={key:1,"cursor-pointer":""},zsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},WsA=NM(()=>y("span",{"mx-1":""},":",-1)),qsA=["innerHTML"],jsA={key:0},VsA={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},ZsA=NM(()=>y("span",{"mx-1":""},":",-1)),_F=30,XsA=DA({__name:"InspectorStateField",props:{data:{},depth:{default:0},no:{},rootId:{}},setup(e){const t=e,A=kM(),r=W(()=>qU(t.data.value)),n=W(()=>kQ(t.data.value)),i=W(()=>n.value==="custom"?`state-format-${t.data.value._custom?.type}`:""),{isExpanded:o,toggleCollapse:g}=SM("inspector-state",`${t.rootId}-${t.no}-${t.depth}-${t.data.key}`),a=W(()=>{const k=t.data._custom?.stateTypeName||t.data?.stateTypeName;if(k==="Reactive")return k;if(t.data.value?.fields?.abstract)return"";{const O=`<span class="state-value-${n.value}">${r.value}</span>`;return k?`${O} <span class="text-gray-500">(${k})</span>`:O}}),s=W(()=>aM(t.data.value)),C=_(_F),I=W(()=>{const{value:k,inherit:O,customType:H}=s.value,X=H==="set";let q;return DN(k)?k.slice(0,C.value).map((uA,MA)=>({key:`${t.data.key}.${MA}`,value:uA,...O,editable:t.data.editable&&!X,creating:!1})):(wN(k)?(q=Object.keys(k).slice(0,C.value).map(Z=>({key:`${t.data.key}.${Z}`,value:k[Z],...O,editable:t.data.editable&&!X,creating:!1})),n.value!=="custom"&&(q=S7(q))):q=[],q===t.data.value?{}:q)}),l=W(()=>{const{value:k}=s.value;return DN(k)?k.length:wN(k)?Object.keys(k).length:0}),u=W(()=>{const k=t.data.key,O=k.lastIndexOf(".");return O===-1?k:k.slice(O+1)}),{editingType:c,editing:h,editingText:d,toggleEditing:B,nodeId:f}=LsA();Ae(()=>h.value,k=>{if(k){const{value:O}=s.value;d.value=ktA(O,s.value.customType)}else d.value=""});function E(){const k=t.data;eE({path:k.key.split("."),inspectorId:A.value.inspectorId,type:k.stateType,nodeId:f,state:{newKey:null,type:c.value,value:gf(d.value,s.value.customType)}}),B()}const{addNewProp:v,draftingNewProp:p,resetDrafting:D}=OsA();function F(k){o.value||g(),v(k,s.value.value)}function S(){const k=t.data,O=k.key.split(".");O.push(p.value.key),eE({path:O,inspectorId:A.value.inspectorId,type:k.stateType,nodeId:f,state:{newKey:p.value.key,type:typeof gf(p.value.value),value:gf(p.value.value)}}),D()}const N=W(()=>Object.keys(I.value).length>0||p.value.enable),m=_(),{isHovering:R}=HsA(()=>m.value);return(k,O)=>{const H=FsA,X=MM,q=En("InspectorStateField",!0);return M(),x("div",{ref_key:"containerRef",ref:m,class:"pl-6",style:Qt({paddingLeft:`${k.depth*15+4}px`})},[Q(N)?(M(),x("div",JsA,[y("div",{relative:"",flex:"","items-center":"",onClick:O[2]||(O[2]=(...Z)=>Q(g)&&Q(g)(...Z))},[T(X,{value:Q(o),absolute:"","left--6":"","group-hover:text-white":""},null,8,["value"]),y("span",zsA,yA(Q(u)),1),WsA,Q(h)?(M(),tA(H,{key:0,modelValue:Q(d),"onUpdate:modelValue":O[1]||(O[1]=Z=>YA(d)?d.value=Z:null),"custom-type":Q(s).customType,onCancel:Q(B),onSubmit:E},null,8,["modelValue","custom-type","onCancel"])):(M(),x(wA,{key:1},[y("span",{class:bA(Q(i))},[y("span",{innerHTML:Q(a)},null,8,qsA)],2),T(KF,{"show-add-if-needed":!Q(p).enable,hovering:Q(R),data:k.data,"disable-edit":Q(A).disableEdit,depth:k.depth,onEnableEditInput:Q(B),onAddNewProp:F},null,8,["show-add-if-needed","hovering","data","disable-edit","depth","onEnableEditInput"])],64))]),Q(o)?(M(),x("div",jsA,[(M(!0),x(wA,null,Be(Q(I),(Z,uA)=>(M(),tA(q,{key:uA,data:Z,depth:k.depth+1,no:k.no,"root-id":k.rootId},null,8,["data","depth","no","root-id"]))),128)),Q(l)>Q(C)?vt((M(),tA(Q(ie),{key:0,flat:"",size:"mini",class:"ml-4",onClick:O[3]||(O[3]=Z=>C.value+=_F)},{icon:U(()=>[T(Q(De),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[Q(Bn),"Show more"]]):pA("",!0),Q(p).enable?(M(),x("div",{key:1,style:Qt({paddingLeft:`${(k.depth+1)*15+4}px`})},[y("span",VsA,[T(H,{modelValue:Q(p).key,"onUpdate:modelValue":O[4]||(O[4]=Z=>Q(p).key=Z),"show-actions":!1},null,8,["modelValue"])]),ZsA,T(H,{modelValue:Q(p).value,"onUpdate:modelValue":O[5]||(O[5]=Z=>Q(p).value=Z),"auto-focus":!1,onCancel:Q(D),onSubmit:S},null,8,["modelValue","onCancel"])],4)):pA("",!0)])):pA("",!0)])):(M(),x("div",UsA,[y("span",KsA,yA(Q(u)),1),_sA,Q(h)?(M(),tA(H,{key:0,modelValue:Q(d),"onUpdate:modelValue":O[0]||(O[0]=Z=>YA(d)?d.value=Z:null),"custom-type":Q(s).customType,onCancel:Q(B),onSubmit:E},null,8,["modelValue","custom-type","onCancel"])):(M(),x(wA,{key:1},[y("span",{class:bA(Q(i))},[y("span",{innerHTML:Q(a)},null,8,YsA)],2),T(KF,{hovering:Q(R),"disable-edit":Q(A).disableEdit,data:k.data,depth:k.depth,onEnableEditInput:Q(B),onAddNewProp:F},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],64))]))],4)}}}),ACA=Vc(XsA,[["__scopeId","data-v-a33ae112"]]),eCA=DA({__name:"InspectorStateType",props:{data:{},depth:{default:0},rootId:{}},setup(e){return(t,A)=>{const r=ACA;return M(!0),x(wA,null,Be(t.data,(n,i)=>(M(),x("div",{key:i,class:"flex items-center pl-8 font-data-field"},[T(r,{data:n,no:i,"root-id":t.rootId},null,8,["data","no","root-id"])]))),128)}}}),tCA={"text-primary-400":"","group-hover:text-white":"",class:"text-[#486887] dark:text-[#7595b5]"},Ah=DA({__name:"InspectorState",props:{data:{},name:{},id:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(e){const t=e,{isExpanded:A,toggleCollapse:r}=SM("inspector-state",t.id);return!A.value&&r(),RsA({nodeId:t.nodeId,inspectorId:t.inspectorId,disableEdit:t.disableEdit}),(n,i)=>{const o=MM,g=eCA;return M(),x(wA,null,[y("div",{class:"group w-full px-0 selectable-item",onClick:i[0]||(i[0]=(...a)=>Q(r)&&Q(r)(...a))},[T(o,{value:Q(A),"group-hover:text-white":""},null,8,["value"]),y("span",tCA,yA(n.name),1)]),Q(A)?(M(),tA(g,{key:0,data:n.data,"root-id":n.id},null,8,["data","root-id"])):pA("",!0)],64)}}});function c0(e){return e.toString(16).padStart(6,"0")}function rCA(e,t){const A=new Date(e);return`${A.toString().match(/\d\d:\d\d:\d\d/)[0]}${t==="ms"?`.${String(A.getMilliseconds()).padStart(3,"0")}`:""}`}const z_=DA({__name:"InspectorNodeTag",props:{tag:{}},setup(e){return(t,A)=>{const r=EQ("tooltip");return vt((M(),x("span",{style:Qt({color:`#${Q(c0)(t.tag.textColor)}`,backgroundColor:`#${Q(c0)(t.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[NA(yA(t.tag.label),1)],4)),[[r,{content:t.tag.tooltip,html:!0}]])}}});function nCA(e){const t=_("");return Io(`SelectedSymbol${e}`,t),{selected:t,id:e}}function iCA(e){return{selected:pt(`SelectedSymbol${e}`),id:e}}function oCA(e,t,A){const{selected:r}=iCA(e);return{isSelected:W(()=>r.value===t),toggleSelected:o=>{r.value=o,A?.(o)}}}const gCA={key:1,"inline-block":"","h-6":"","w-6":""},aCA={"text-primary-400":"","group-hover:text-white":"",class:"[.active_&]:text-white"},sCA=DA({__name:"ComponentTreeNode",props:{data:{},depth:{default:0},linkedList:{default:()=>[]}},emits:["select","mouseenter","mouseleave"],setup(e,{emit:t}){const A=e,r=t,{isExpanded:n,toggleCollapse:i}=SM("component-tree",A.data.id,[...A.linkedList,A.data.id]),{isSelected:o,toggleSelected:g}=oCA("component-tree",A.data.id,a=>{r("select",a)});return(a,s)=>{const C=MM,I=z_,l=En("ComponentTreeNode",!0);return M(),x(wA,null,[y("div",{class:bA(["group selectable-item",{active:Q(o)}]),style:Qt({paddingLeft:`${a.depth*15+4}px`}),onClick:s[0]||(s[0]=fr(u=>Q(g)(a.data.id),["stop"])),onMouseenter:s[1]||(s[1]=u=>r("mouseenter",a.data.id,!0)),onMouseleave:s[2]||(s[2]=u=>r("mouseleave",a.data.id,!1))},[a.data.children?.length?(M(),tA(C,{key:0,value:Q(n),"group-hover:text-white":"",class:"[.active_&]:text-white",onClick:fr(Q(i),["prevent","stop"])},null,8,["value","onClick"])):(M(),x("i",gCA)),y("span",aCA,yA(a.data.name),1),(M(!0),x(wA,null,Be(a.data.tags,(u,c)=>(M(),tA(I,{key:c,tag:u},null,8,["tag"]))),128))],38),a.data.children?.length&&Q(n)?(M(!0),x(wA,{key:0},Be(a.data.children,u=>(M(),tA(l,{key:u.id,data:u,depth:a.depth+1,"linked-list":[...a.linkedList,a.data.id],onSelect:s[3]||(s[3]=c=>r("select",c)),onMouseenter:s[4]||(s[4]=c=>r("mouseenter",c,!0)),onMouseleave:s[5]||(s[5]=c=>r("mouseleave",c,!1))},null,8,["data","depth","linked-list"]))),128)):pA("",!0)],64)}}}),CCA={"w-full":"",flex:"",gap2:"",px2:"",py2:""},ICA=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[y("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),y("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1),lCA=[ICA],uCA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},cCA={flex:"","justify-between":"","overflow-auto":"",px2:"",py3:"",class:"no-scrollbar"},hCA={key:0},dCA={flex:"~ gap2"},BCA=y("p",{class:"x-divider"},null,-1),YF="components",fCA=DA({__name:"components",setup(e){const t=lM(),A=_([]),r=_(""),n=W(()=>Xc.value),i=_(!1),[o,g]=wM(!0),{selected:a}=nCA("component-tree"),{collapseMap:s,linkedList:C}=fI("component-tree");fI("inspector-state");const I=W(()=>{const H=[],X=q=>{q.forEach(Z=>{Z.id===a.value&&H.push(Z),Z.children?.length&&X(Z.children)})};return X(A.value),H[0]}),l=W(()=>{const H=[],X=(q,Z=[])=>{q.forEach(uA=>{H.push([...Z,uA.id]),uA.children?.length&&X(uA.children,[...Z,uA.id])})};return X(A.value),H}),u=W(()=>I.value?.file??"");function c(H,X){return H.length?H.find(q=>q.id===X)?!0:H.some(q=>c(q.children||[],X)):!1}function h(H){H.length&&(a.value&&c(H,a.value)||(a.value=H?.[0].id,m(H?.[0].id)))}function d(H){return new Promise(X=>{nK({inspectorId:"components",instanceId:H}).then(q=>{X(li(q))})})}function B(H){return{[H[0].id]:!0,...H?.[0].children?.reduce((X,q)=>(X[q.id]=!0,X),{})}}function f(H){return new Promise(X=>{qI({inspectorId:"components",filter:H}).then(q=>{const Z=!Object.keys(s.value).length,uA=li(q);A.value=uA,Z&&(s.value=B(uA)),h(uA),X()})})}const E=_(!1);async function v(H,X){E.value&&await vgA(E).toBe(!1),E.value=!0,d(H).then(q=>{oK({id:H,visible:X,bounds:q}),E.value=!1})}function p(H){gK({id:H})}function D(){t.value.emit("toggle-panel",!1),iK().then(H=>{const X=JSON.parse(H);a.value=X.id,F(X.id);const q=C.value[X.id];q?q.forEach(Z=>{s.value[Z]=!0}):l.value.forEach(Z=>{let uA=Z.indexOf(X.id);if(uA>-1)for(;uA>=0;)s.value[Z[uA]]=!0,uA--})}).finally(()=>{t.value.emit("toggle-panel",!0)})}function F(H){R(),m(H),r.value=H}Ae(a,H=>{aK(H)});const S=_({});function N(H){if(!H||!H?.state)return{};const X={};return H.state.forEach(q=>{X[q.type]||(X[q.type]=[]),X[q.type].push(q)}),X}function m(H){Yc({inspectorId:"components",nodeId:H}).then(X=>{S.value=N(li(X))})}function R(){S.value={}}Ei(()=>{f().then(()=>{i.value=!0}),jI(H=>{!H?.data.length||H.inspectorId!==YF||(A.value=H.data,s.value={...B(H.data),...s.value},h(H.data))}),Jc(H=>{H.inspectorId===YF&&(S.value=N({state:H.state}))})});const k=_("");DM(k,H=>{const X=H.trim().toLowerCase();g(),f(X).then(()=>{g()})},{debounce:300});const O=_n();return(H,X)=>{const q=sCA,Z=Ah,uA=Qi;return M(),tA(uA,{"h-screen":""},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{flex:"","flex-col":"",border:"r base"},{default:U(()=>[y("div",CCA,[Q(i)?(M(),tA(Q(bo),{key:0,modelValue:Q(k),"onUpdate:modelValue":X[0]||(X[0]=MA=>YA(k)?k.value=MA:null),"loading-debounce-time":250,loading:!Q(o),placeholder:"Find components...","flex-1":""},null,8,["modelValue","loading"])):pA("",!0),Q(O).vitePluginDetected.value?(M(),x("button",{key:1,"px-1":"",onClick:D},[(M(),x("svg",{xmlns:"http://www.w3.org/2000/svg",style:Qt([{height:"1.1em",width:"1.1em",opacity:"0.5"},"opacity:1;color:#00dc82"]),viewBox:"0 0 24 24"},lCA))])):pA("",!0)]),y("div",uCA,[(M(!0),x(wA,null,Be(Q(A),MA=>(M(),tA(q,{key:MA.id,data:MA,onSelect:F,onMouseenter:v,onMouseleave:v},null,8,["data"]))),128))])]),_:1}),T(Q(fn),{flex:"","flex-col":""},{default:U(()=>[y("div",cCA,[Q(I)?.name?(M(),x("span",hCA,yA(Q(I).name),1)):pA("",!0),y("div",dCA,[vt(T(Q(De),{title:"Scroll to Component",icon:"i-iconoir:mouse-scroll-wheel",action:"","flex-none":"",border:!1,onClick:X[1]||(X[1]=MA=>p(Q(a)))},null,512),[[Q(Bn),"Scroll to Component"]]),Q(u)&&Q(O).vitePluginDetected.value&&Q(n)?vt((M(),tA(Q(De),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:X[2]||(X[2]=MA=>Q(TQ)(Q(u)))},null,512)),[[Q(Bn),"Open in Editor"]]):pA("",!0)])]),BCA,(M(),x("div",{key:Q(a),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(M(!0),x(wA,null,Be(Q(S),(MA,XA)=>(M(),tA(Z,{id:XA,key:XA,"node-id":Q(r),data:MA,name:`${XA}`,"inspector-id":"components"},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),ECA="7.0.23",QCA={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},vCA=y("div",{"flex-auto":""},null,-1),pCA={flex:"~ col","mt-20":"","items-center":""},wCA={flex:"~","mt--10":"","items-center":"","justify-center":""},DCA={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},yCA=y("span",{op40:""}," Vue DevTools ",-1),mCA={op40:""},bCA={flex:"~ gap2 wrap"},MCA={p4:"","theme-card-green":"",flex:"~ col auto"},kCA=y("div",{"i-logos-vue":"","text-3xl":""},null,-1),SCA=y("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),NCA=y("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1),PCA={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},FCA=y("a",{href:"https://github.com/vuejs/devtools-next",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[y("div",{"i-carbon-star":""}),NA(" Star on GitHub ")],-1),RCA=y("a",{href:"https://github.com/vuejs/devtools-next/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[y("div",{"i-carbon-data-enrichment":""}),NA(" Ideas & Suggestions ")],-1),LCA=y("a",{href:"https://github.com/vuejs/devtools-next/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[y("div",{"i-carbon-plan":""}),NA(" Project Roadmap ")],-1),$CA=y("a",{href:"https://github.com/vuejs/devtools-next/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[y("div",{"i-carbon-debug":""}),NA(" Bug Reports ")],-1),OCA=y("div",{"i-carbon-settings":""},null,-1),GCA=y("div",{"flex-auto":""},null,-1),xCA={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},TCA=y("span",null,"+",-1),HCA=y("span",null,"+",-1),UCA={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},KCA=y("span",null,"+",-1),_CA=y("span",null,"+",-1),YCA=y("span",null,"+",-1),JCA=y("span",null,"+",-1),zCA=DA({__name:"overview",setup(e){const{vueVersion:t}=_n(),A=_(1),r=_(0);function n(i){let o=0;for(const g of i)o++,g.children?.length&&(o+=n(g.children));return o}return Ei(()=>{CM().then(i=>{const o=JSON.parse(i);A.value=o?.routes?.length||1}),IM(i=>{A.value=i?.routes?.length||1}),qI({inspectorId:"components",filter:""}).then(i=>{const o=li(i);r.value=n(o)}),jI(i=>{!i?.data?.length||i.inspectorId!=="components"||(r.value=n(i.data))})}),(i,o)=>{const g=bM,a=En("RouterLink"),s=Qi;return M(),tA(s,{"h-screen":"","w-full":"",flex:"","of-auto":""},{default:U(()=>[y("div",QCA,[vCA,y("div",pCA,[y("div",wCA,[T(g,{"h-18":""})]),y("div",DCA,[yCA,y("code",mCA,"v"+yA(Q(ECA)),1)])]),y("div",bCA,[y("div",MCA,[kCA,y("code",null,"v"+yA(Q(t)),1)]),T(a,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:U(()=>[SCA,y("div",null,yA(Q(A))+" pages",1)]),_:1}),Q(r)?(M(),tA(a,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:U(()=>[NCA,y("div",null,yA(Q(r))+" components",1)]),_:1})):pA("",!0)]),y("div",PCA,[FCA,RCA,LCA,$CA,T(a,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:U(()=>[OCA,NA(" Settings ")]),_:1})]),GCA,y("div",xCA,[NA(" Press "),Q(pN)()?(M(),x(wA,{key:0},[T(Q(ie),null,{default:U(()=>[NA(" ⌘ Command ")]),_:1}),TCA,T(Q(ie),null,{default:U(()=>[NA(" K ")]),_:1})],64)):(M(),x(wA,{key:1},[T(Q(ie),null,{default:U(()=>[NA(" Alt ")]),_:1}),HCA,T(Q(ie),null,{default:U(()=>[NA(" K ")]),_:1})],64)),NA(" to toggle Command Palette ")]),y("div",UCA,[NA(" Press "),Q(pN)()?(M(),x(wA,{key:0},[T(Q(ie),null,{default:U(()=>[NA(" ⇧ Shift ")]),_:1}),KCA,T(Q(ie),null,{default:U(()=>[NA(" ⌥ Option ")]),_:1}),_CA,T(Q(ie),null,{default:U(()=>[NA(" D ")]),_:1})],64)):(M(),x(wA,{key:1},[T(Q(ie),null,{default:U(()=>[NA(" Shift ")]),_:1}),YCA,T(Q(ie),null,{default:U(()=>[NA(" Alt ")]),_:1}),JCA,T(Q(ie),null,{default:U(()=>[NA(" D ")]),_:1})],64)),NA(" to toggle DevTools ")])])]),_:1})}}});function WCA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var A=e.indexOf("Trident/");if(A>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let Cf;function h0(){h0.init||(h0.init=!0,Cf=WCA()!==-1)}var HQ={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){h0(),cr(()=>{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",Cf&&this.$el.appendChild(e),e.data="about:blank",Cf||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&&(!Cf&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qCA=gU();BQ("data-v-b329ee4c");const jCA={class:"resize-observer",tabindex:"-1"};fQ();const VCA=qCA((e,t,A,r,n,i)=>(M(),tA("div",jCA)));HQ.render=VCA;HQ.__scopeId="data-v-b329ee4c";HQ.__file="src/components/ResizeObserver.vue";function If(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?If=function(t){return typeof t}:If=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},If(e)}function ZCA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JF(e,t){for(var A=0;A<t.length;A++){var r=t[A];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XCA(e,t,A){return t&&JF(e.prototype,t),A&&JF(e,A),e}function zF(e){return AIA(e)||eIA(e)||tIA(e)||rIA()}function AIA(e){if(Array.isArray(e))return d0(e)}function eIA(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function tIA(e,t){if(e){if(typeof e=="string")return d0(e,t);var A=Object.prototype.toString.call(e).slice(8,-1);if(A==="Object"&&e.constructor&&(A=e.constructor.name),A==="Map"||A==="Set")return Array.from(e);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return d0(e,t)}}function d0(e,t){(t==null||t>e.length)&&(t=e.length);for(var A=0,r=new Array(t);A<t;A++)r[A]=e[A];return r}function rIA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
28
28
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nIA(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function iIA(e,t){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,n,i,o=function(a){for(var s=arguments.length,C=new Array(s>1?s-1:0),I=1;I<s;I++)C[I-1]=arguments[I];if(i=C,!(r&&a===n)){var l=A.leading;typeof l=="function"&&(l=l(a,n)),(!r||a!==n)&&l&&e.apply(void 0,[a].concat(zF(i))),n=a,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[a].concat(zF(i))),r=0},t)}};return o._clear=function(){clearTimeout(r),r=null},o}function W_(e,t){if(e===t)return!0;if(If(e)==="object"){for(var A in e)if(!W_(e[A],t[A]))return!1;return!0}return!1}var oIA=function(){function e(t,A,r){ZCA(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(A,r)}return XCA(e,[{key:"createObserver",value:function(A,r){var n=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=nIA(A),this.callback=function(g,a){n.options.callback(g,a),g&&n.options.once&&(n.frozen=!0,n.destroyObserver())},this.callback&&this.options.throttle){var i=this.options.throttleOptions||{},o=i.leading;this.callback=iIA(this.callback,this.options.throttle,{leading:function(a){return o==="both"||o==="visible"&&a||o==="hidden"&&!a}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(g){var a=g[0];if(g.length>1){var s=g.find(function(I){return I.isIntersecting});s&&(a=s)}if(n.callback){var C=a.isIntersecting&&a.intersectionRatio>=n.threshold;if(C===n.oldResult)return;n.oldResult=C,n.callback(C,a)}},this.options.intersection),cr(function(){n.observer&&n.observer.observe(n.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 q_(e,t,A){var r=t.value;if(r)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 n=new oIA(e,r,A);e._vue_visibilityState=n}}function gIA(e,t,A){var r=t.value,n=t.oldValue;if(!W_(r,n)){var i=e._vue_visibilityState;if(!r){j_(e);return}i?i.createObserver(r,A):q_(e,{value:r},A)}}function j_(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var aIA={beforeMount:q_,updated:gIA,unmounted:j_},sIA={itemsLimit:1e3},CIA=/(auto|scroll)/;function V_(e,t){return e.parentNode===null?t:V_(e.parentNode,t.concat([e]))}var Yp=function(t,A){return getComputedStyle(t,null).getPropertyValue(A)},IIA=function(t){return Yp(t,"overflow")+Yp(t,"overflow-y")+Yp(t,"overflow-x")},lIA=function(t){return CIA.test(IIA(t))};function WF(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=V_(e.parentNode,[]),A=0;A<t.length;A+=1)if(lIA(t[A]))return t[A];return document.scrollingElement||document.documentElement}}function B0(e){"@babel/helpers - typeof";return B0=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},B0(e)}var uIA={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 cIA(){return this.items.length&&B0(this.items[0])!=="object"}var f0=!1;if(typeof window<"u"){f0=!1;try{var hIA=Object.defineProperty({},"passive",{get:function(){f0=!0}});window.addEventListener("test",null,hIA)}catch{}}let dIA=0;var UQ={name:"RecycleScroller",components:{ResizeObserver:HQ},directives:{ObserveVisibility:aIA},props:{...uIA,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,A=this.sizeField,r=this.minItemSize;let n=1e4,i=0,o;for(let g=0,a=t.length;g<a;g++)o=t[g][A]||r,o<n&&(n=o),i+=o,e[g]={accumulator:i,size:o};return this.$_computedMinItemSize=n,e}return[]},simpleArray:cIA,itemIndexByKey(){const{keyField:e,items:t}=this,A={};for(let r=0,n=t.length;r<n;r++)A[t[r][e]]=r;return A}},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,A,r,n){const i=z1({id:dIA++,index:t,used:!0,key:r,type:n}),o=Y1({item:A,position:0,nr:i});return e.push(o),o},unuseView(e,t=!1){const A=this.$_unusedViews,r=e.nr.type;let n=A.get(r);n||(n=[],A.set(r,n)),n.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:A}=this.updateVisibleItems(!1,!0);A||(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 A=this.itemSize,r=this.gridItems||1,n=this.itemSecondarySize||A,i=this.$_computedMinItemSize,o=this.typeField,g=this.simpleArray?null:this.keyField,a=this.items,s=a.length,C=this.sizes,I=this.$_views,l=this.$_unusedViews,u=this.pool,c=this.itemIndexByKey;let h,d,B,f,E;if(!s)h=d=f=E=B=0;else if(this.$_prerender)h=f=0,d=E=Math.min(this.prerender,a.length),B=null;else{const m=this.getScroll();if(t){let O=m.start-this.$_lastUpdateScrollPosition;if(O<0&&(O=-O),A===null&&O<i||O<A)return{continuous:!0}}this.$_lastUpdateScrollPosition=m.start;const R=this.buffer;m.start-=R,m.end+=R;let k=0;if(this.$refs.before&&(k=this.$refs.before.scrollHeight,m.start-=k),this.$refs.after){const O=this.$refs.after.scrollHeight;m.end+=O}if(A===null){let O,H=0,X=s-1,q=~~(s/2),Z;do Z=q,O=C[q].accumulator,O<m.start?H=q:q<s-1&&C[q+1].accumulator>m.start&&(X=q),q=~~((H+X)/2);while(q!==Z);for(q<0&&(q=0),h=q,B=C[s-1].accumulator,d=q;d<s&&C[d].accumulator<m.end;d++);for(d===-1?d=a.length-1:(d++,d>s&&(d=s)),f=h;f<s&&k+C[f].accumulator<m.start;f++);for(E=f;E<s&&k+C[E].accumulator<m.end;E++);}else{h=~~(m.start/A*r);const O=h%r;h-=O,d=Math.ceil(m.end/A*r),f=Math.max(0,Math.floor((m.start-k)/A*r)),E=Math.floor((m.end-k)/A*r),h<0&&(h=0),d>s&&(d=s),f<0&&(f=0),E>s&&(E=s),B=Math.ceil(s/r)*A}}d-h>sIA.itemsLimit&&this.itemsLimitError(),this.totalSize=B;let v;const p=h<=this.$_endIndex&&d>=this.$_startIndex;if(p)for(let m=0,R=u.length;m<R;m++)v=u[m],v.nr.used&&(e&&(v.nr.index=c[v.item[g]]),(v.nr.index==null||v.nr.index<h||v.nr.index>=d)&&this.unuseView(v));const D=p?null:new Map;let F,S,N;for(let m=h;m<d;m++){F=a[m];const R=g?F[g]:F;if(R==null)throw new Error(`Key is ${R} on item (keyField is '${g}')`);if(v=I.get(R),!A&&!C[m].size){v&&this.unuseView(v);continue}S=F[o];let k=l.get(S),O=!1;if(!v)p?k&&k.length?v=k.pop():v=this.addView(u,m,F,R,S):(N=D.get(S)||0,(!k||N>=k.length)&&(v=this.addView(u,m,F,R,S),this.unuseView(v,!0),k=l.get(S)),v=k[N],D.set(S,N+1)),I.delete(v.nr.key),v.nr.used=!0,v.nr.index=m,v.nr.key=R,v.nr.type=S,I.set(R,v),O=!0;else if(!v.nr.used&&(v.nr.used=!0,O=!0,k)){const H=k.indexOf(v);H!==-1&&k.splice(H,1)}v.item=F,O&&(m===a.length-1&&this.$emit("scroll-end"),m===0&&this.$emit("scroll-start")),A===null?(v.position=C[m-1].accumulator,v.offset=0):(v.position=Math.floor(m/r)*A,v.offset=m%r*n)}return this.$_startIndex=h,this.$_endIndex=d,this.emitUpdate&&this.$emit("update",h,d,f,E),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:p}},getListenerTarget(){let e=WF(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,A=t==="vertical";let r;if(this.pageMode){const n=e.getBoundingClientRect(),i=A?n.height:n.width;let o=-(A?n.top:n.left),g=A?window.innerHeight:window.innerWidth;o<0&&(g+=o,o=0),o+g>i&&(g=i-o),r={start:o,end:o+g}}else A?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,f0?{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 A=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/A)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let A,r,n;if(this.pageMode){const i=WF(this.$el),o=i.tagName==="HTML"?0:i[t.scroll],g=i.getBoundingClientRect(),s=this.$el.getBoundingClientRect()[t.start]-g[t.start];A=i,r=t.scroll,n=e+o+s}else A=this.$el,r=t.scroll,n=e;A[r]=n},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 BIA={key:0,ref:"before",class:"vue-recycle-scroller__slot"},fIA={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function EIA(e,t,A,r,n,i){const o=En("ResizeObserver"),g=EQ("observe-visibility");return vt((M(),x("div",{class:bA(["vue-recycle-scroller",{ready:n.ready,"page-mode":A.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...a)=>i.handleScroll&&i.handleScroll(...a))},[e.$slots.before?(M(),x("div",BIA,[VA(e.$slots,"before")],512)):pA("v-if",!0),(M(),tA(Kg(A.listTag),{ref:"wrapper",style:Qt({[e.direction==="vertical"?"minHeight":"minWidth"]:n.totalSize+"px"}),class:bA(["vue-recycle-scroller__item-wrapper",A.listClass])},{default:U(()=>[(M(!0),x(wA,null,Be(n.pool,a=>(M(),tA(Kg(A.itemTag),Ir({key:a.nr.id,style:n.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${a.position}px) translate${e.direction==="vertical"?"X":"Y"}(${a.offset}px)`,width:A.gridItems?`${e.direction==="vertical"&&A.itemSecondarySize||A.itemSize}px`:void 0,height:A.gridItems?`${e.direction==="horizontal"&&A.itemSecondarySize||A.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[A.itemClass,{hover:!A.skipHover&&n.hoverKey===a.nr.key}]]},VX(A.skipHover?{}:{mouseenter:()=>{n.hoverKey=a.nr.key},mouseleave:()=>{n.hoverKey=null}})),{default:U(()=>[VA(e.$slots,"default",{item:a.item,index:a.nr.index,active:a.nr.used})]),_:2},1040,["style","class"]))),128)),VA(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(M(),x("div",fIA,[VA(e.$slots,"after")],512)):pA("v-if",!0),T(o,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[g,i.handleVisibilityChange]])}UQ.render=EIA;UQ.__file="src/components/RecycleScroller.vue";const QIA=["onClick"],vIA={class:"selectable-item-label"},PM=DA({__name:"InspectorTree",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(e,{emit:t}){const A=t;function r(n){A("update:modelValue",n)}return(n,i)=>{const o=z_;return M(),tA(Q(UQ),{items:n.data,"min-item-size":32,"key-field":"id","page-mode":""},{default:U(({item:g})=>[y("div",{class:bA(["selectable-item",{active:n.modelValue===g.id}]),onClick:a=>r(g.id)},[y("span",vIA,yA(g.label),1),(M(!0),x(wA,null,Be(g.tags,(a,s)=>(M(),tA(o,{key:s,tag:a},null,8,["tag"]))),128))],10,QIA)]),_:1},8,["items"])}}}),pIA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},Yl="pinia",wIA=DA({__name:"pinia",setup(e){const t=_(""),A=_([]),r=_({});function n(o){Yc({inspectorId:Yl,nodeId:o}).then(g=>{r.value=li(g)})}function i(){r.value={}}return Ae(t,()=>{i(),n(t.value)}),fI("inspector-state"),Ei(()=>{qI({inspectorId:Yl,filter:""}).then(o=>{const g=li(o);A.value=g,!t.value&&g.length&&(t.value=g[0].id,n(g[0].id))}),jI(o=>{!o?.data.length||o.inspectorId!==Yl||(A.value=o.data,!t.value&&o.data.length&&(t.value=o.data[0].id,n(o.data[0].id)))}),Jc(o=>{!o||!o?.state?.length||o.inspectorId!==Yl||(r.value={state:o.state,getters:o.getters})})}),(o,g)=>{const a=PM,s=Ah,C=Qi;return M(),tA(C,{"h-screen":""},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{flex:"","flex-col":"",border:"r base"},{default:U(()=>[y("div",pIA,[T(a,{modelValue:Q(t),"onUpdate:modelValue":g[0]||(g[0]=I=>YA(t)?t.value=I:null),data:Q(A)},null,8,["modelValue","data"])])]),_:1}),T(Q(fn),{flex:"","flex-col":""},{default:U(()=>[(M(),x("div",{key:Q(t),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(M(!0),x(wA,null,Be(Q(r),(I,l)=>(M(),tA(s,{id:l,key:l,"inspector-id":Yl,"node-id":Q(t),data:I,name:`${l}`},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),DIA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},yIA=DA({__name:"router",setup(e){const t=_(""),A=_([]),r=_({}),n=_n(),i=W(()=>`router-inspector:${n.appRecords.value.find(s=>s.id===n.activeAppRecordId.value)?.routerId??0}`);fI("inspector-state");function o(a){Yc({inspectorId:i.value,nodeId:a}).then(s=>{r.value=li(s)})}function g(){r.value={}}return Ae(t,()=>{g(),o(t.value)}),Ei(()=>{qI({inspectorId:i.value,filter:""}).then(a=>{const s=li(a);A.value=s,!t.value&&s.length&&(t.value=s[0].id,o(s[0].id))}),jI(a=>{!a?.data?.length||a.inspectorId!==i.value||(A.value=a.data,!t.value&&a.data.length&&(t.value=a.data[0].id,o(a.data[0].id)))}),Jc(a=>{!a||!a.state||a.inspectorId!==i.value||(r.value={state:a.state})})}),(a,s)=>{const C=PM,I=Ah,l=Qi;return M(),tA(l,{"h-screen":""},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{flex:"","flex-col":"",border:"r base"},{default:U(()=>[y("div",DIA,[T(C,{modelValue:Q(t),"onUpdate:modelValue":s[0]||(s[0]=u=>YA(t)?t.value=u:null),data:Q(A)},null,8,["modelValue","data"])])]),_:1}),T(Q(fn),{flex:"","flex-col":""},{default:U(()=>[(M(),x("div",{key:Q(t),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(M(!0),x(wA,null,Be(Q(r),(u,c)=>(M(),tA(I,{id:c,key:c,data:u,name:`${c}`,"inspector-id":"router"},null,8,["id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),mIA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},xd="vue-i18n-resource-inspector",bIA=DA({__name:"i18n",setup(e){const t=_(""),A=_([]),r=_({});function n(o){Yc({inspectorId:xd,nodeId:o}).then(g=>{r.value=li(g)})}function i(){r.value={}}return Ae(t,()=>{i(),n(t.value)}),fI("inspector-state"),Ei(()=>{qI({inspectorId:xd,filter:""}).then(o=>{const g=li(o);A.value=g,!t.value&&g.length&&(t.value=g[0].id,n(g[0].id))}),jI(o=>{o?.data.length&&(A.value=o.data,!t.value&&o.data.length&&(t.value=o.data[0].id,n(o.data[0].id)))}),Jc(o=>{!o||!o?.state?.length||o.inspectorId!==xd||(r.value={state:o.state})})}),Ss(()=>{sK()}),(o,g)=>{const a=PM,s=Ah,C=Qi;return M(),tA(C,{"h-screen":""},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{flex:"","flex-col":"",border:"r base"},{default:U(()=>[y("div",mIA,[T(a,{modelValue:Q(t),"onUpdate:modelValue":g[0]||(g[0]=I=>YA(t)?t.value=I:null),data:Q(A)},null,8,["modelValue","data"])])]),_:1}),T(Q(fn),{flex:"","flex-col":""},{default:U(()=>[(M(),x("div",{key:Q(t),"h-0":"",grow:"","overflow-auto":"","p-2":"",class:"no-scrollbar"},[(M(!0),x(wA,null,Be(Q(r),(I,l)=>(M(),tA(s,{id:l,key:l,"inspector-id":xd,"node-id":Q(t),data:I,name:`${l}`},null,8,["id","node-id","data","name"]))),128))]))]),_:1})]),_:1})]),_:1})}}}),MIA={class:"h-full flex flex-col items-center justify-center p-12 text-center text-gray-400 space-y-6 dark:text-gray-600"},kIA=DA({__name:"EmptyPane",props:{icon:{},inline:{type:Boolean}},setup(e){const t=e;return(A,r)=>(M(),x("div",MIA,[T(Q(De),Oc(zI(t)),null,16),y("div",null,[VA(A.$slots,"default")])]))}}),SIA=["onClick"],NIA={class:"flex-1 truncate font-mono space-x-1"},PIA=["innerHTML"],FIA={key:0,class:"flex-none text-xs font-mono op-50"},RIA=DA({__name:"TimelineEvent",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(e,{emit:t}){const A=t;function r(n){A("update:modelValue",n)}return(n,i)=>(M(),tA(Q(UQ),{items:n.data,"min-item-size":42,"key-field":"id","page-mode":""},{default:U(({item:o})=>[y("li",{class:bA(["flex cursor-pointer items-center border-b px-2 py-2 text-gray-200 dark:border-bluegray-800",{"hover:bg-blue-100 dark:hover:bg-blue-900 text-bluegray-800 dark:text-bluegray-200":n.modelValue!==o.id,"bg-primary-500 text-white":n.modelValue===o.id}]),onClick:g=>r(o.id)},[y("span",NIA,[y("span",{class:bA(["font-medium",{"text-purple-600 dark:text-purple-400":n.modelValue!==o.id}])},[y("span",null,yA(o.title||"Event"),1)],2),o.subtitle?(M(),x("span",{key:0,class:"op-75",innerHTML:o.subtitle},null,8,PIA)):pA("",!0)]),o.time?(M(),x("span",FIA,yA(Q(rCA)(o.time)),1)):pA("",!0)],10,SIA)]),_:1},8,["items"]))}}),LIA={"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},$IA=DA({__name:"TimelineLayer",props:{modelValue:{},data:{}},emits:["update:modelValue"],setup(e,{emit:t}){const A=e,r=t;function n(){r("update:modelValue",A.data.id)}const i=W(()=>`#${c0(A.data.color)}`);return(o,g)=>(M(),x("div",{class:"selectable-item",style:Qt(o.modelValue===o.data.id?{color:i.value}:{}),onClick:n},[y("span",LIA,yA(o.data.label),1)],4))}}),OIA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},GIA={"h-screen":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},xIA={"h-screen":"","select-none":"","overflow-scroll":"","p-2":"",class:"no-scrollbar"},TIA=DA({__name:"timeline",setup(e){const t=_([]),A=_({}),r=_(""),n=_("");fI("inspector-state");const i=W(()=>A.value[r.value]?.map((I,l)=>({...I,id:`${l}`}))??[]),o=W(()=>i.value?.[+(n.value??0)]?.data??{}),g=W(()=>{const I=[];for(const l in o.value)I.push({key:l,type:l,editable:!1,value:o.value[l]});return I}),a=W(()=>{const I=t.value.find(c=>c.id===r.value)?.groups,l=i.value?.[+(n.value??0)]?.groupId,u=I?.[l];if(u)return[{key:"events",type:"events",editable:!1,value:u.events.length},u.duration&&{key:"duration",type:"duration",editable:!1,value:`${u.duration}ms`}].filter(Boolean)}),s=W(()=>({"event info":g.value,...a.value&&{"group info":a.value}}));function C(I,l){const u=t.value.find(c=>c.id===I);u&&(`${l.groupId}`!==_c||l.groupId!=null)&&(u.groups[l.groupId]??={events:[],duration:0},u.groups[l.groupId].events.push(l),u.groups[l.groupId].duration=l.time-u.groups[l.groupId].events?.[0]?.time)}return Ei(()=>{lK().then(I=>{t.value=I,t.value.forEach(l=>{A.value[l.id]=[],l.groups={}}),r.value||(r.value=I?.length?I[0].id:"")}),wK(I=>{if(!I)return;const{layerId:l,event:u}=I;A.value[l].push(u),C(l,u)})}),Ae(()=>i.value.length,I=>{I&&(n.value="0")}),(I,l)=>{const u=$IA,c=RIA,h=kIA,d=Ah,B=Qi;return Q(t).length?(M(),tA(B,{key:0},{default:U(()=>[T(Q(XI),null,{default:U(()=>[T(Q(fn),{border:"r base",size:"20"},{default:U(()=>[y("div",OIA,[(M(!0),x(wA,null,Be(Q(t),f=>(M(),tA(u,{key:f.id,modelValue:Q(r),"onUpdate:modelValue":l[0]||(l[0]=E=>YA(r)?r.value=E:null),data:f},null,8,["modelValue","data"]))),128))])]),_:1}),T(Q(fn),{border:"r base",size:"45"},{default:U(()=>[y("div",GIA,[Q(i).length?(M(),tA(c,{key:0,modelValue:Q(n),"onUpdate:modelValue":l[1]||(l[1]=f=>YA(n)?n.value=f:null),data:Q(i)},null,8,["modelValue","data"])):(M(),tA(h,{key:1,icon:"i-ic-baseline-inbox"},{default:U(()=>[NA(" No events ")]),_:1}))])]),_:1}),T(Q(fn),{size:"35"},{default:U(()=>[y("div",xIA,[Q(n)?(M(!0),x(wA,{key:0},Be(Q(s),(f,E)=>(M(),tA(d,{id:`${E}`,key:E+Date.now(),data:f,name:`${E}`,"disable-edit":!0,"node-id":"","inspector-id":""},null,8,["id","data","name"]))),128)):(M(),tA(h,{key:1,icon:"i-carbon:menu"},{default:U(()=>[NA(" Select an event to display details ")]),_:1}))])]),_:1})]),_:1})]),_:1})):(M(),tA(h,{key:1,icon:"i-ic-baseline-inbox"},{default:U(()=>[NA(" No layers ")]),_:1}))}}}),HIA={flex:"~ gap-3","items-center":""},FM=DA({__name:"IconTitle",props:{icon:{},text:{}},setup(e){return(t,A)=>(M(),x("div",HIA,[t.icon?(M(),x("div",{key:0,class:bA(t.icon)},null,2)):pA("",!0),VA(t.$slots,"default",{},()=>[y("div",null,yA(t.text),1)])]))}}),Z_=e=>(BQ("data-v-d09fbc98"),e=e(),fQ(),e),UIA=["open"],KIA={"text-base":""},_IA={key:0,"text-sm":"",op50:""},YIA=Z_(()=>y("div",{class:"flex-auto"},null,-1)),JIA=Z_(()=>y("div",{class:"x-divider"},null,-1)),zIA=DA({__name:"SectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const A=xQ(e,"open",void 0,{passive:!0});function r(n){A.value=n.target.open}return(n,i)=>{const o=FM,g=EQ("lazy-show");return M(),x(wA,null,[y("details",{open:Q(A),onToggle:r},[y("summary",{class:bA(["cursor-pointer select-none hover:bg-active p4",n.collapse?"":"pointer-events-none"])},[T(o,{icon:n.icon,text:n.text,"text-xl":"",transition:"",class:bA(Q(A)?"op100":"op60")},{default:U(()=>[y("div",null,[y("div",KIA,[VA(n.$slots,"text",{},()=>[NA(yA(n.text),1)],!0)]),n.description||n.$slots.description?(M(),x("div",_IA,[VA(n.$slots,"description",{},()=>[NA(yA(n.description),1)],!0)])):pA("",!0)]),YIA,VA(n.$slots,"actions",{},void 0,!0),n.collapse?(M(),tA(Q(De),{key:0,icon:"i-carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"",op75:"",transition:"","duration-500":"","text-base":""})):pA("",!0)]),_:3},8,["icon","text","class"])],2),vt((M(),x("div",{class:bA(["flex flex-col flex-gap2 pb6 pt2",typeof n.padding=="string"?n.padding:n.padding?"px4":""])},[VA(n.$slots,"details",{},void 0,!0),y("div",{class:bA([n.containerClass,"mt1"])},[VA(n.$slots,"default",{},void 0,!0)],2),VA(n.$slots,"footer",{},void 0,!0)],2)),[[g,Q(A)]])],40,UIA),JIA],64)}}}),X_=Vc(zIA,[["__scopeId","data-v-d09fbc98"]]),WIA={block:"","cursor-pointer":""},qIA={p2:""},jIA=["onSubmit"],VIA=y("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),ZIA={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},XIA={key:1},AlA=DA({__name:"RoutePathItem",props:{route:{}},emits:["navigate"],setup(e,{emit:t}){const A=e,r=t;function n(C){return C.split(/(:\w+[\?\*]?)/).filter(Boolean)}const i=_([]),o=W(()=>n(A.route.path));Er(()=>{i.value=Array.from({length:o.value.length},()=>"")});const g=W(()=>o.value.map((C,I)=>C[0]===":"?i.value[I]:C).join("").replace(/\/+/g,"/")),a=W(()=>A.route.path.includes(":"));function s(){r("navigate",g.value)}return(C,I)=>Q(a)?(M(),tA(Q(BI),{key:1},{popper:U(({hide:l})=>[y("div",qIA,[y("form",{flex:"~ col",onSubmit:fr(()=>{s(),l()},["prevent"])},[Q(a)?(M(),x(wA,{key:0},[VIA,y("div",ZIA,[(M(!0),x(wA,null,Be(Q(o),(u,c)=>(M(),x(wA,{key:c},[u[0]===":"?(M(),tA(Q(bo),{key:0,modelValue:Q(i)[c],"onUpdate:modelValue":h=>Q(i)[c]=h,"n-sm":"","w-20":"",placeholder:u.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(M(),x("span",XIA,yA(u),1))],64))),128))])],64)):pA("",!0),T(Q(ie),{block:"",type:"primary"},{default:U(()=>[NA(" Navigate ")]),_:1})],40,jIA)])]),default:U(()=>[y("code",WIA,[(M(!0),x(wA,null,Be(Q(o),(l,u)=>(M(),x("span",{key:u,class:bA(l[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},yA(l[0]===":"?l.slice(1):l),3))),128))])]),_:1})):(M(),x("button",{key:0,onClick:s},[y("code",null,yA(C.route.path),1)]))}}),elA={"w-full":""},tlA=y("thead",{border:"b base","px-3":""},[y("tr",null,[y("th",{"text-left":""}),y("th",{"text-left":""}," Route Path "),y("th",{"text-left":""}," Name "),y("th",{"text-left":""})])],-1),rlA={"w-20":"","pr-1":""},nlA={flex:"","items-center":"","justify-end":""},ilA={"text-sm":""},olA={flex:"inline gap3","items-center":""},glA={op0:"","group-hover:op100":"",flex:"~ gap1"},alA=["onClick"],slA=y("div",{"i-carbon-script-reference":""},null,-1),ClA=[slA],IlA={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},llA=DA({__name:"RoutesTable",props:{pages:{},matched:{},matchedPending:{}},emits:["navigate"],setup(e){const t=e,A=W(()=>[...t.pages].sort((i,o)=>i.path.localeCompare(o.path))),r=W(()=>Xc.value),n=_n();return(i,o)=>{const g=AlA;return M(),x("div",null,[y("table",elA,[tlA,y("tbody",null,[(M(!0),x(wA,null,Be(Q(A),a=>(M(),x("tr",{key:a.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[y("td",rlA,[y("div",nlA,[i.matched.find(s=>s.name===a.name)?(M(),tA(Q(pF),{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):i.matchedPending.find(s=>s.name===a.name)?(M(),tA(Q(pF),{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):pA("",!0)])]),y("td",ilA,[y("div",olA,[T(g,{route:a,class:bA(i.matched.find(s=>s.name===a.name)?"text-primary-400":i.matchedPending.find(s=>s.name===a.name)?"text-teal":""),onNavigate:o[0]||(o[0]=s=>i.$emit("navigate",s))},null,8,["route","class"]),y("div",glA,[(a.file||a.meta?.file)&&Q(n).vitePluginDetected.value&&Q(r)?(M(),x("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary-400",title:"Open in editor",onClick:s=>Q(TQ)(a.file||a.meta?.file)},ClA,8,alA)):pA("",!0)])])]),y("td",IlA,yA(a.name),1)]))),128))])])])}}}),ulA={"h-full":"","of-auto":""},clA={border:"b base",flex:"~ col gap1",px4:"",py3:""};const hlA={key:1,op50:""},dlA=y("span",null,[NA("Press "),y("b",{"font-bold":""},"Enter"),NA(" to navigate")],-1),BlA={key:0,"text-orange":"",op75:""},flA={key:1,op50:""},ElA=DA({__name:"pages",setup(e){const t=_(""),A=_(null),r=_([]),n=W(()=>t.value===A.value?.path?[]:r.value),i=_([]);function o(s){i.value=s.routes,A.value=s.currentRoute,t.value=A.value?.path??"/"}function g(){n.value.length&&a(t.value)}function a(s){CK({path:s})}return Ei(()=>{CM().then(s=>{o(JSON.parse(s))}),IM(s=>{o(s)})}),DM(t,()=>{t.value!==A.value?.path&&IK(t.value).then(s=>{r.value=JSON.parse(s)})}),(s,C)=>{const I=llA,l=X_,u=Qi;return M(),tA(u,{block:"","h-screen":"","of-auto":""},{default:U(()=>[y("div",ulA,[y("div",clA,[y("div",null,[(M(),x("span",hlA,"Current route"))]),T(Q(bo),{modelValue:Q(t),"onUpdate:modelValue":C[0]||(C[0]=c=>YA(t)?t.value=c:null),"left-icon":"i-carbon-direction-right-01 scale-y--100",class:bA(Q(A)?.path===Q(t)?"":Q(n).length?"text-green!":"text-orange!"),onKeydown:$U(g,["enter"])},null,8,["modelValue","class"]),y("div",null,[Q(A)?.path!==Q(t)?(M(),x(wA,{key:0},[dlA,Q(n).length?pA("",!0):(M(),x("span",BlA," (no match)"))],64)):(M(),x("span",flA,"Edit path above to navigate"))])]),T(l,{icon:"i-carbon-tree-view-alt",text:"All Routes",description:`${Q(i).length} routes registered in your application`,padding:!1},{default:U(()=>[Q(i).length?(M(),tA(I,{key:0,pages:Q(i),matched:Q(A)?.matched??[],"matched-pending":Q(n),onNavigate:a},null,8,["pages","matched","matched-pending"])):pA("",!0)]),_:1},8,["description"])])]),_:1})}}});var ai;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(ai||(ai={}));var EI;(function(e){function t(C){return C.toString(2).padStart(32,"0")}e.toBinaryStr=t;function A(C){const I=e.getLanguageId(C),l=e.getTokenType(C),u=e.getFontStyle(C),c=e.getForeground(C),h=e.getBackground(C);console.log({languageId:I,tokenType:l,fontStyle:u,foreground:c,background:h})}e.print=A;function r(C){return(C&255)>>>0}e.getLanguageId=r;function n(C){return(C&768)>>>8}e.getTokenType=n;function i(C){return(C&1024)!==0}e.containsBalancedBrackets=i;function o(C){return(C&30720)>>>11}e.getFontStyle=o;function g(C){return(C&16744448)>>>15}e.getForeground=g;function a(C){return(C&4278190080)>>>24}e.getBackground=a;function s(C,I,l,u,c,h,d){let B=e.getLanguageId(C),f=e.getTokenType(C),E=e.containsBalancedBrackets(C)?1:0,v=e.getFontStyle(C),p=e.getForeground(C),D=e.getBackground(C);return I!==0&&(B=I),l!==8&&(f=l),u!==null&&(E=u?1:0),c!==-1&&(v=c),h!==0&&(p=h),d!==0&&(D=d),(B<<0|f<<8|E<<10|v<<11|p<<15|D<<24)>>>0}e.set=s})(EI||(EI={}));function lE(e,t){const A=[],r=QlA(e);let n=r.next();for(;n!==null;){let a=0;if(n.length===2&&n.charAt(1)===":"){switch(n.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${n} in scope selector`)}n=r.next()}let s=o();if(A.push({matcher:s,priority:a}),n!==",")break;n=r.next()}return A;function i(){if(n==="-"){n=r.next();const a=i();return s=>!!a&&!a(s)}if(n==="("){n=r.next();const a=g();return n===")"&&(n=r.next()),a}if(qF(n)){const a=[];do a.push(n),n=r.next();while(qF(n));return s=>t(a,s)}return null}function o(){const a=[];let s=i();for(;s;)a.push(s),s=i();return C=>a.every(I=>I(C))}function g(){const a=[];let s=o();for(;s&&(a.push(s),n==="|"||n===",");){do n=r.next();while(n==="|"||n===",");s=o()}return C=>a.some(I=>I(C))}}function qF(e){return!!e&&!!e.match(/[\w\.:]+/)}function QlA(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,A=t.exec(e);return{next:()=>{if(!A)return null;const r=A[0];return A=t.exec(e),r}}}function AY(e){typeof e.dispose=="function"&&e.dispose()}function vlA(e){return RM(e)}function RM(e){return Array.isArray(e)?plA(e):typeof e=="object"?wlA(e):e}function plA(e){let t=[];for(let A=0,r=e.length;A<r;A++)t[A]=RM(e[A]);return t}function wlA(e){let t={};for(let A in e)t[A]=RM(e[A]);return t}function eY(e,...t){return t.forEach(A=>{for(let r in A)e[r]=A[r]}),e}function tY(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?tY(e.substring(0,e.length-1)):e.substr(~t+1)}let Jp=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Td{static hasCaptures(t){return t===null?!1:(Jp.lastIndex=0,Jp.test(t))}static replaceCaptures(t,A,r){return t.replace(Jp,(n,i,o,g)=>{let a=r[parseInt(i||o,10)];if(a){let s=A.substring(a.start,a.end);for(;s[0]===".";)s=s.substring(1);switch(g){case"downcase":return s.toLowerCase();case"upcase":return s.toUpperCase();default:return s}}else return n})}}function rY(e,t){return e<t?-1:e>t?1:0}function nY(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let A=e.length,r=t.length;if(A===r){for(let n=0;n<A;n++){let i=rY(e[n],t[n]);if(i!==0)return i}return 0}return A-r}function jF(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function iY(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class oY{fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const A=this.fn(t);return this.cache.set(t,A),A}}class oc{scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class DlA{scopeName;ruleName;constructor(t,A){this.scopeName=t,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ylA{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const A=t.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(t))}}class mlA{repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,A){this.repo=t,this.initialScopeName=A,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new oc(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const A=new ylA;for(const r of t)blA(r,this.initialScopeName,this.repo,A);for(const r of A.references)if(r instanceof oc){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function blA(e,t,A,r){const n=A.lookup(e.scopeName);if(!n){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=A.lookup(t);e instanceof oc?lf({baseGrammar:i,selfGrammar:n},r):E0(e.ruleName,{baseGrammar:i,selfGrammar:n,repository:n.repository},r);const o=A.injections(e.scopeName);if(o)for(const g of o)r.add(new oc(g))}function E0(e,t,A){if(t.repository&&t.repository[e]){const r=t.repository[e];uE([r],t,A)}}function lf(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&uE(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&uE(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function uE(e,t,A){for(const r of e){if(A.visitedRule.has(r))continue;A.visitedRule.add(r);const n=r.repository?eY({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&uE(r.patterns,{...t,repository:n},A);const i=r.include;if(!i)continue;const o=gY(i);switch(o.kind){case 0:lf({...t,selfGrammar:t.baseGrammar},A);break;case 1:lf(t,A);break;case 2:E0(o.ruleName,{...t,repository:n},A);break;case 3:case 4:const g=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(g){const a={baseGrammar:t.baseGrammar,selfGrammar:g,repository:n};o.kind===4?E0(o.ruleName,a,A):lf(a,A)}else o.kind===4?A.add(new DlA(o.scopeName,o.ruleName)):A.add(new oc(o.scopeName));break}}}class MlA{kind=0}class klA{kind=1}class SlA{ruleName;kind=2;constructor(t){this.ruleName=t}}class NlA{scopeName;kind=3;constructor(t){this.scopeName=t}}class PlA{scopeName;ruleName;kind=4;constructor(t,A){this.scopeName=t,this.ruleName=A}}function gY(e){if(e==="$base")return new MlA;if(e==="$self")return new klA;const t=e.indexOf("#");if(t===-1)return new NlA(e);if(t===0)return new SlA(e.substring(1));{const A=e.substring(0,t),r=e.substring(t+1);return new PlA(A,r)}}const FlA=/\\(\d+)/,VF=/\\(\d+)/g,RlA=-1,aY=-2;class eh{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,A,r,n){this.$location=t,this.id=A,this._name=r||null,this._nameIsCapturing=Td.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=Td.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${tY(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,A){return!this._nameIsCapturing||this._name===null||t===null||A===null?this._name:Td.replaceCaptures(this._name,t,A)}getContentName(t,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Td.replaceCaptures(this._contentName,t,A)}}class LlA extends eh{retokenizeCapturedWithRuleId;constructor(t,A,r,n,i){super(t,A,r,n),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,A){throw new Error("Not supported!")}compile(t,A){throw new Error("Not supported!")}compileAG(t,A,r,n){throw new Error("Not supported!")}}class $lA extends eh{_match;captures;_cachedCompiledPatterns;constructor(t,A,r,n,i){super(t,A,r,null),this._match=new ls(n,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,A){A.push(this._match)}compile(t,A){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,A,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gc,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ZF extends eh{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,A,r,n,i){super(t,A,r,n),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,A){for(const r of this.patterns)t.getRule(r).collectPatterns(t,A)}compile(t,A){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,A,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gc,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Q0 extends eh{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,A,r,n,i,o,g,a,s,C){super(t,A,r,n),this._begin=new ls(i,this.id),this.beginCaptures=o,this._end=new ls(g||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=s||!1,this.patterns=C.patterns,this.hasMissingPatterns=C.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,A){return this._end.resolveBackReferences(t,A)}collectPatterns(t,A){A.push(this._begin)}compile(t,A){return this._getCachedCompiledPatterns(t,A).compile(t)}compileAG(t,A,r,n){return this._getCachedCompiledPatterns(t,A).compileAG(t,r,n)}_getCachedCompiledPatterns(t,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gc;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}}class cE extends eh{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,A,r,n,i,o,g,a,s){super(t,A,r,n),this._begin=new ls(i,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new ls(g,aY),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,A){return this._while.resolveBackReferences(t,A)}collectPatterns(t,A){A.push(this._begin)}compile(t,A){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,A,r,n){return this._getCachedCompiledPatterns(t).compileAG(t,r,n)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gc;for(const A of this.patterns)t.getRule(A).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,A){return this._getCachedCompiledWhilePatterns(t,A).compile(t)}compileWhileAG(t,A,r,n){return this._getCachedCompiledWhilePatterns(t,A).compileAG(t,r,n)}_getCachedCompiledWhilePatterns(t,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new gc,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}}class Jt{static createCaptureRule(t,A,r,n,i){return t.registerRule(o=>new LlA(A,o,r,n,i))}static getCompiledRuleId(t,A,r){return t.id||A.registerRule(n=>{if(t.id=n,t.match)return new $lA(t.$vscodeTextmateLocation,t.id,t.name,t.match,Jt._compileCaptures(t.captures,A,r));if(typeof t.begin>"u"){t.repository&&(r=eY({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new ZF(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Jt._compilePatterns(i,A,r))}return t.while?new cE(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Jt._compileCaptures(t.beginCaptures||t.captures,A,r),t.while,Jt._compileCaptures(t.whileCaptures||t.captures,A,r),Jt._compilePatterns(t.patterns,A,r)):new Q0(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Jt._compileCaptures(t.beginCaptures||t.captures,A,r),t.end,Jt._compileCaptures(t.endCaptures||t.captures,A,r),t.applyEndPatternLast,Jt._compilePatterns(t.patterns,A,r))}),t.id}static _compileCaptures(t,A,r){let n=[];if(t){let i=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const g=parseInt(o,10);g>i&&(i=g)}for(let o=0;o<=i;o++)n[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const g=parseInt(o,10);let a=0;t[o].patterns&&(a=Jt.getCompiledRuleId(t[o],A,r)),n[g]=Jt.createCaptureRule(A,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,a)}}return n}static _compilePatterns(t,A,r){let n=[];if(t)for(let i=0,o=t.length;i<o;i++){const g=t[i];let a=-1;if(g.include){const s=gY(g.include);switch(s.kind){case 0:case 1:a=Jt.getCompiledRuleId(r[g.include],A,r);break;case 2:let C=r[s.ruleName];C&&(a=Jt.getCompiledRuleId(C,A,r));break;case 3:case 4:const I=s.scopeName,l=s.kind===4?s.ruleName:null,u=A.getExternalGrammar(I,r);if(u)if(l){let c=u.repository[l];c&&(a=Jt.getCompiledRuleId(c,A,u.repository))}else a=Jt.getCompiledRuleId(u.repository.$self,A,u.repository);break}}else a=Jt.getCompiledRuleId(g,A,r);if(a!==-1){const s=A.getRule(a);let C=!1;if((s instanceof ZF||s instanceof Q0||s instanceof cE)&&s.hasMissingPatterns&&s.patterns.length===0&&(C=!0),C)continue;n.push(a)}}return{patterns:n,hasMissingPatterns:(t?t.length:0)!==n.length}}}class ls{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,A){if(t){const r=t.length;let n=0,i=[],o=!1;for(let g=0;g<r;g++)if(t.charAt(g)==="\\"&&g+1<r){const s=t.charAt(g+1);s==="z"?(i.push(t.substring(n,g)),i.push("$(?!\\n)(?<!\\n)"),n=g+2):(s==="A"||s==="G")&&(o=!0),g++}this.hasAnchor=o,n===0?this.source=t:(i.push(t.substring(n,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=A,this.hasBackReferences=FlA.test(this.source)}clone(){return new ls(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,A){let r=A.map(n=>t.substring(n.start,n.end));return VF.lastIndex=0,this.source.replace(VF,(n,i)=>iY(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],A=[],r=[],n=[],i,o,g,a;for(i=0,o=this.source.length;i<o;i++)g=this.source.charAt(i),t[i]=g,A[i]=g,r[i]=g,n[i]=g,g==="\\"&&i+1<o&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="",A[i+1]="",r[i+1]="A",n[i+1]="A"):a==="G"?(t[i+1]="",A[i+1]="G",r[i+1]="",n[i+1]="G"):(t[i+1]=a,A[i+1]=a,r[i+1]=a,n[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:A.join(""),A1_G0:r.join(""),A1_G1:n.join("")}}resolveAnchors(t,A){return!this.hasAnchor||!this._anchorCache?this.source:t?A?this._anchorCache.A1_G1:this._anchorCache.A1_G0:A?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class gc{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,A){this._items[t].source!==A&&(this._disposeCaches(),this._items[t].setSource(A))}compile(t){if(!this._cached){let A=this._items.map(r=>r.source);this._cached=new XF(t,A,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,A,r){return this._hasAnchors?A?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,A,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,A,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,A,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,A,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,A,r){let n=this._items.map(i=>i.resolveAnchors(A,r));return new XF(t,n,this._items.map(i=>i.ruleId))}}class XF{regExps;rules;scanner;constructor(t,A,r){this.regExps=A,this.rules=r,this.scanner=t.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let A=0,r=this.rules.length;A<r;A++)t.push(" - "+this.rules[A]+": "+this.regExps[A]);return t.join(`
|
|
29
29
|
`)}findNextMatchSync(t,A,r){const n=this.scanner.findNextMatchSync(t,A,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}}class v0{_colorMap;_defaults;_root;static createFromRawTheme(t,A){return this.createFromParsedTheme(xlA(t),A)}static createFromParsedTheme(t,A){return HlA(t,A)}_cachedMatchRoot=new oY(t=>this._root.match(t));constructor(t,A,r){this._colorMap=t,this._defaults=A,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const A=t.scopeName,n=this._cachedMatchRoot.get(A).find(i=>OlA(t.parent,i.parentScopes));return n?new sY(n.fontStyle,n.foreground,n.background):null}}class Wa{parent;scopeName;static push(t,A){for(const r of A)t=new Wa(t,r);return t}static from(...t){let A=null;for(let r=0;r<t.length;r++)A=new Wa(A,t[r]);return A}constructor(t,A){this.parent=t,this.scopeName=A}push(t){return new Wa(this,t)}getSegments(){let t=this;const A=[];for(;t;)A.push(t.scopeName),t=t.parent;return A.reverse(),A}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const A=[];let r=this;for(;r&&r!==t;)A.push(r.scopeName),r=r.parent;return r===t?A.reverse():void 0}}function OlA(e,t){if(t===null)return!0;let A=0,r=t[A];for(;e;){if(GlA(e.scopeName,r)){if(A++,A===t.length)return!0;r=t[A]}e=e.parent}return!1}function GlA(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class sY{fontStyle;foregroundId;backgroundId;constructor(t,A,r){this.fontStyle=t,this.foregroundId=A,this.backgroundId=r}}function xlA(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,A=[],r=0;for(let n=0,i=t.length;n<i;n++){let o=t[n];if(!o.settings)continue;let g;if(typeof o.scope=="string"){let I=o.scope;I=I.replace(/^[,]+/,""),I=I.replace(/[,]+$/,""),g=I.split(",")}else Array.isArray(o.scope)?g=o.scope:g=[""];let a=-1;if(typeof o.settings.fontStyle=="string"){a=0;let I=o.settings.fontStyle.split(" ");for(let l=0,u=I.length;l<u;l++)switch(I[l]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let s=null;typeof o.settings.foreground=="string"&&jF(o.settings.foreground)&&(s=o.settings.foreground);let C=null;typeof o.settings.background=="string"&&jF(o.settings.background)&&(C=o.settings.background);for(let I=0,l=g.length;I<l;I++){let c=g[I].trim().split(" "),h=c[c.length-1],d=null;c.length>1&&(d=c.slice(0,c.length-1),d.reverse()),A[r++]=new TlA(h,d,n,a,s,C)}}return A}class TlA{scope;parentScopes;index;fontStyle;foreground;background;constructor(t,A,r,n,i,o){this.scope=t,this.parentScopes=A,this.index=r,this.fontStyle=n,this.foreground=i,this.background=o}}function HlA(e,t){e.sort((a,s)=>{let C=rY(a.scope,s.scope);return C!==0||(C=nY(a.parentScopes,s.parentScopes),C!==0)?C:a.index-s.index});let A=0,r="#000000",n="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(A=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(n=a.background)}let i=new UlA(t),o=new sY(A,i.getId(r),i.getId(n)),g=new bu(new ac(0,null,-1,0,0),[]);for(let a=0,s=e.length;a<s;a++){let C=e[a];g.insert(0,C.scope,C.parentScopes,C.fontStyle,i.getId(C.foreground),i.getId(C.background))}return new v0(i,o,g)}class UlA{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let A=0,r=t.length;A<r;A++)this._color2id[t[A]]=A,this._id2color[A]=t[A]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let A=this._color2id[t];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return A=++this._lastColorId,this._color2id[t]=A,this._id2color[A]=t,A}getColorMap(){return this._id2color.slice(0)}}class ac{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,A,r,n,i){this.scopeDepth=t,this.parentScopes=A,this.fontStyle=r,this.foreground=n,this.background=i}clone(){return new ac(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let A=[];for(let r=0,n=t.length;r<n;r++)A[r]=t[r].clone();return A}acceptOverwrite(t,A,r,n){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,A!==-1&&(this.fontStyle=A),r!==0&&(this.foreground=r),n!==0&&(this.background=n)}}class bu{_mainRule;_children;_rulesWithParentScopes;constructor(t,A=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=A}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,A){if(t.scopeDepth===A.scopeDepth){const r=t.parentScopes,n=A.parentScopes;let i=r===null?0:r.length,o=n===null?0:n.length;if(i===o)for(let g=0;g<i;g++){const a=r[g].length,s=n[g].length;if(a!==s)return s-a}return o-i}return A.scopeDepth-t.scopeDepth}match(t){if(t==="")return bu._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let A=t.indexOf("."),r,n;return A===-1?(r=t,n=""):(r=t.substring(0,A),n=t.substring(A+1)),this._children.hasOwnProperty(r)?this._children[r].match(n):bu._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,A,r,n,i,o){if(A===""){this._doInsertHere(t,r,n,i,o);return}let g=A.indexOf("."),a,s;g===-1?(a=A,s=""):(a=A.substring(0,g),s=A.substring(g+1));let C;this._children.hasOwnProperty(a)?C=this._children[a]:(C=new bu(this._mainRule.clone(),ac.cloneArr(this._rulesWithParentScopes)),this._children[a]=C),C.insert(t+1,s,r,n,i,o)}_doInsertHere(t,A,r,n,i){if(A===null){this._mainRule.acceptOverwrite(t,r,n,i);return}for(let o=0,g=this._rulesWithParentScopes.length;o<g;o++){let a=this._rulesWithParentScopes[o];if(nY(a.parentScopes,A)===0){a.acceptOverwrite(t,r,n,i);return}}r===-1&&(r=this._mainRule.fontStyle),n===0&&(n=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ac(t,A,r,n,i))}}class zp{languageId;tokenType;constructor(t,A){this.languageId=t,this.tokenType=A}}class hE{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,A){this._defaultAttributes=new zp(t,8),this._embeddedLanguagesMatcher=new KlA(Object.entries(A||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?hE._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new zp(0,0);_getBasicScopeAttributes=new oY(t=>{const A=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new zp(A,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const A=t.match(hE.STANDARD_TOKEN_TYPE_REGEXP);if(!A)return 8;switch(A[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class KlA{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const A=t.map(([r,n])=>iY(r));A.sort(),A.reverse(),this.scopesRegExp=new RegExp(`^((${A.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const A=t.match(this.scopesRegExp);if(A)return this.values.get(A[1])}}class AR{stack;stoppedEarly;constructor(t,A){this.stack=t,this.stoppedEarly=A}}function CY(e,t,A,r,n,i,o,g){const a=t.content.length;let s=!1,C=-1;if(o){const u=_lA(e,t,A,r,n,i);n=u.stack,r=u.linePos,A=u.isFirstLine,C=u.anchorPosition}const I=Date.now();for(;!s;){if(g!==0&&Date.now()-I>g)return new AR(n,!0);l()}return new AR(n,!1);function l(){const u=YlA(e,t,A,r,n,C);if(!u){i.produce(n,a),s=!0;return}const c=u.captureIndices,h=u.matchedRuleId,d=c&&c.length>0?c[0].end>r:!1;if(h===RlA){const B=n.getRule(e);i.produce(n,c[0].start),n=n.withContentNameScopesList(n.nameScopesList),gu(e,t,A,n,i,B.endCaptures,c),i.produce(n,c[0].end);const f=n;if(n=n.parent,C=f.getAnchorPos(),!d&&f.getEnterPos()===r){n=f,i.produce(n,a),s=!0;return}}else{const B=e.getRule(h);i.produce(n,c[0].start);const f=n,E=B.getName(t.content,c),v=n.contentNameScopesList.pushAttributed(E,e);if(n=n.push(h,r,C,c[0].end===a,null,v,v),B instanceof Q0){const p=B;gu(e,t,A,n,i,p.beginCaptures,c),i.produce(n,c[0].end),C=c[0].end;const D=p.getContentName(t.content,c),F=v.pushAttributed(D,e);if(n=n.withContentNameScopesList(F),p.endHasBackReferences&&(n=n.withEndRule(p.getEndWithResolvedBackReferences(t.content,c))),!d&&f.hasSameRuleAs(n)){n=n.pop(),i.produce(n,a),s=!0;return}}else if(B instanceof cE){const p=B;gu(e,t,A,n,i,p.beginCaptures,c),i.produce(n,c[0].end),C=c[0].end;const D=p.getContentName(t.content,c),F=v.pushAttributed(D,e);if(n=n.withContentNameScopesList(F),p.whileHasBackReferences&&(n=n.withEndRule(p.getWhileWithResolvedBackReferences(t.content,c))),!d&&f.hasSameRuleAs(n)){n=n.pop(),i.produce(n,a),s=!0;return}}else if(gu(e,t,A,n,i,B.captures,c),i.produce(n,c[0].end),n=n.pop(),!d){n=n.safePop(),i.produce(n,a),s=!0;return}}c[0].end>r&&(r=c[0].end,A=!1)}}function _lA(e,t,A,r,n,i){let o=n.beginRuleCapturedEOL?0:-1;const g=[];for(let a=n;a;a=a.pop()){const s=a.getRule(e);s instanceof cE&&g.push({rule:s,stack:a})}for(let a=g.pop();a;a=g.pop()){const{ruleScanner:s,findOptions:C}=WlA(a.rule,e,a.stack.endRule,A,r===o),I=s.findNextMatchSync(t,r,C);if(I){if(I.ruleId!==aY){n=a.stack.pop();break}I.captureIndices&&I.captureIndices.length&&(i.produce(a.stack,I.captureIndices[0].start),gu(e,t,A,a.stack,i,a.rule.whileCaptures,I.captureIndices),i.produce(a.stack,I.captureIndices[0].end),o=I.captureIndices[0].end,I.captureIndices[0].end>r&&(r=I.captureIndices[0].end,A=!1))}else{n=a.stack.pop();break}}return{stack:n,linePos:r,anchorPosition:o,isFirstLine:A}}function YlA(e,t,A,r,n,i){const o=JlA(e,t,A,r,n,i),g=e.getInjections();if(g.length===0)return o;const a=zlA(g,e,t,A,r,n,i);if(!a)return o;if(!o)return a;const s=o.captureIndices[0].start,C=a.captureIndices[0].start;return C<s||a.priorityMatch&&C===s?a:o}function JlA(e,t,A,r,n,i){const o=n.getRule(e),{ruleScanner:g,findOptions:a}=IY(o,e,n.endRule,A,r===i),s=g.findNextMatchSync(t,r,a);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}function zlA(e,t,A,r,n,i,o){let g=Number.MAX_VALUE,a=null,s,C=0;const I=i.contentNameScopesList.getScopeNames();for(let l=0,u=e.length;l<u;l++){const c=e[l];if(!c.matcher(I))continue;const h=t.getRule(c.ruleId),{ruleScanner:d,findOptions:B}=IY(h,t,null,r,n===o),f=d.findNextMatchSync(A,n,B);if(!f)continue;const E=f.captureIndices[0].start;if(!(E>=g)&&(g=E,a=f.captureIndices,s=f.ruleId,C=c.priority,g===n))break}return a?{priorityMatch:C===-1,captureIndices:a,matchedRuleId:s}:null}function IY(e,t,A,r,n){return{ruleScanner:e.compileAG(t,A,r,n),findOptions:0}}function WlA(e,t,A,r,n){return{ruleScanner:e.compileWhileAG(t,A,r,n),findOptions:0}}function gu(e,t,A,r,n,i,o){if(i.length===0)return;const g=t.content,a=Math.min(i.length,o.length),s=[],C=o[0].end;for(let I=0;I<a;I++){const l=i[I];if(l===null)continue;const u=o[I];if(u.length===0)continue;if(u.start>C)break;for(;s.length>0&&s[s.length-1].endPos<=u.start;)n.produceFromScopes(s[s.length-1].scopes,s[s.length-1].endPos),s.pop();if(s.length>0?n.produceFromScopes(s[s.length-1].scopes,u.start):n.produce(r,u.start),l.retokenizeCapturedWithRuleId){const h=l.getName(g,o),d=r.contentNameScopesList.pushAttributed(h,e),B=l.getContentName(g,o),f=d.pushAttributed(B,e),E=r.push(l.retokenizeCapturedWithRuleId,u.start,-1,!1,null,d,f),v=e.createOnigString(g.substring(0,u.end));CY(e,v,A&&u.start===0,u.start,E,n,!1,0),AY(v);continue}const c=l.getName(g,o);if(c!==null){const d=(s.length>0?s[s.length-1].scopes:r.contentNameScopesList).pushAttributed(c,e);s.push(new qlA(d,u.end))}}for(;s.length>0;)n.produceFromScopes(s[s.length-1].scopes,s[s.length-1].endPos),s.pop()}class qlA{scopes;endPos;constructor(t,A){this.scopes=t,this.endPos=A}}function jlA(e,t,A,r,n,i,o,g){return new ZlA(e,t,A,r,n,i,o,g)}function eR(e,t,A,r,n){const i=lE(t,dE),o=Jt.getCompiledRuleId(A,r,n.repository);for(const g of i)e.push({debugSelector:t,matcher:g.matcher,ruleId:o,grammar:n,priority:g.priority})}function dE(e,t){if(t.length<e.length)return!1;let A=0;return e.every(r=>{for(let n=A;n<t.length;n++)if(VlA(t[n],r))return A=n+1,!0;return!1})}function VlA(e,t){if(!e)return!1;if(e===t)return!0;const A=t.length;return e.length>A&&e.substr(0,A)===t&&e[A]==="."}class ZlA{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,A,r,n,i,o,g,a){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new hE(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=g,this._grammar=tR(A,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const s of Object.keys(i)){const C=lE(s,dE);for(const I of C)this._tokenTypeMatchers.push({matcher:I.matcher,type:i[s]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},A=[],r=this._rootScopeName,n=t.lookup(r);if(n){const i=n.injections;if(i)for(let g in i)eR(A,g,i[g],this,n);const o=this._grammarRepository.injections(r);o&&o.forEach(g=>{const a=this.getExternalGrammar(g);if(a){const s=a.injectionSelector;s&&eR(A,s,a,this,a)}})}return A.sort((i,o)=>i.priority-o.priority),A}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const A=++this._lastRuleId,r=t(A);return this._ruleId2desc[A]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,A){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=tR(r,A&&A.$base),this._includedGrammars[t]}}tokenizeLine(t,A,r=0){const n=this._tokenize(t,A,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(t,A,r=0){const n=this._tokenize(t,A,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(t,A,r,n){this._rootId===-1&&(this._rootId=Jt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!A||A===ki.NULL){i=!0;const C=this._basicScopeAttributesProvider.getDefaultAttributes(),I=this.themeProvider.getDefaults(),l=EI.set(0,C.languageId,C.tokenType,null,I.fontStyle,I.foregroundId,I.backgroundId),u=this.getRule(this._rootId).getName(null,null);let c;u?c=wr.createRootAndLookUpScopeName(u,l,this):c=wr.createRoot("unknown",l),A=new ki(null,this._rootId,-1,-1,!1,null,c,c)}else i=!1,A.reset();t=t+`
|
|
30
30
|
`;const o=this.createOnigString(t),g=o.content.length,a=new AuA(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),s=CY(this,o,i,0,A,a,!0,n);return AY(o),{lineLength:g,lineTokens:a,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}}function tR(e,t){return e=vlA(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class wr{parent;scopePath;tokenAttributes;static fromExtension(t,A){let r=t,n=t?.scopePath??null;for(const i of A)n=Wa.push(n,i.scopeNames),r=new wr(r,n,i.encodedTokenAttributes);return r}static createRoot(t,A){return new wr(null,new Wa(null,t),A)}static createRootAndLookUpScopeName(t,A,r){const n=r.getMetadataForScope(t),i=new Wa(null,t),o=r.themeProvider.themeMatch(i),g=wr.mergeAttributes(A,n,o);return new wr(null,i,g)}get scopeName(){return this.scopePath.scopeName}constructor(t,A,r){this.parent=t,this.scopePath=A,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return wr.equals(this,t)}static equals(t,A){do{if(t===A||!t&&!A)return!0;if(!t||!A||t.scopeName!==A.scopeName||t.tokenAttributes!==A.tokenAttributes)return!1;t=t.parent,A=A.parent}while(!0)}static mergeAttributes(t,A,r){let n=-1,i=0,o=0;return r!==null&&(n=r.fontStyle,i=r.foregroundId,o=r.backgroundId),EI.set(t,A.languageId,A.tokenType,null,n,i,o)}pushAttributed(t,A){if(t===null)return this;if(t.indexOf(" ")===-1)return wr._pushAttributed(this,t,A);const r=t.split(/ /g);let n=this;for(const i of r)n=wr._pushAttributed(n,i,A);return n}static _pushAttributed(t,A,r){const n=r.getMetadataForScope(A),i=t.scopePath.push(A),o=r.themeProvider.themeMatch(i),g=wr.mergeAttributes(t.tokenAttributes,n,o);return new wr(t,i,g)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const A=[];let r=this;for(;r&&r!==t;)A.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?A.reverse():void 0}}class ki{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new ki(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,A,r,n,i,o,g,a){this.parent=t,this.ruleId=A,this.beginRuleCapturedEOL=i,this.endRule=o,this.nameScopesList=g,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=n}equals(t){return t===null?!1:ki._equals(this,t)}static _equals(t,A){return t===A?!0:this._structuralEquals(t,A)?wr.equals(t.contentNameScopesList,A.contentNameScopesList):!1}static _structuralEquals(t,A){do{if(t===A||!t&&!A)return!0;if(!t||!A||t.depth!==A.depth||t.ruleId!==A.ruleId||t.endRule!==A.endRule)return!1;t=t.parent,A=A.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ki._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,A,r,n,i,o,g){return new ki(this,t,A,r,n,i,o,g)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,A){return this.parent&&(A=this.parent._writeString(t,A)),t[A++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,A}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ki(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let A=this;for(;A&&A._enterPos===t._enterPos;){if(A.ruleId===t.ruleId)return!0;A=A.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,A){const r=wr.fromExtension(t?.nameScopesList??null,A.nameScopesList);return new ki(t,A.ruleId,A.enterPos??-1,A.anchorPos??-1,A.beginRuleCapturedEOL,A.endRule,r,wr.fromExtension(r,A.contentNameScopesList))}}class XlA{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,A){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):lE(r,dE).map(n=>n.matcher)),this.unbalancedBracketScopes=A.flatMap(r=>lE(r,dE).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const A of this.unbalancedBracketScopes)if(A(t))return!1;for(const A of this.balancedBracketScopes)if(A(t))return!0;return this.allowAny}}class AuA{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,A,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,A){this.produceFromScopes(t.contentNameScopesList,A)}produceFromScopes(t,A){if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let n=t?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const g of this._tokenTypeOverrides)g.matcher(o)&&(n=EI.set(n,0,g.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(o))}if(i&&(n=EI.set(n,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=A;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=A;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:r}),this._lastTokenEndIndex=A}getResult(t,A){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===A-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,A){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===A-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,A),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,i=this._binaryTokens.length;n<i;n++)r[n]=this._binaryTokens[n];return r}}class euA{_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,A){this._onigLibPromise=A,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,A){this._rawGrammars.set(t.scopeName,t),A&&this._injectionGrammars.set(t.scopeName,A)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,A,r,n,i){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,jlA(t,o,A,r,n,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let tuA=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new euA(v0.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,A){this._syncRegistry.setTheme(v0.createFromRawTheme(t,A))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,A,r){return this.loadGrammarWithConfiguration(t,A,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,A,r){return this._loadGrammar(t,A,r.embeddedLanguages,r.tokenTypes,new XlA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,A,r,n,i){const o=new mlA(this._syncRegistry,t);for(;o.Q.length>0;)await Promise.all(o.Q.map(g=>this._loadSingleGrammar(g.scopeName))),o.processQueue();return this._grammarForScopeName(t,A,r,n,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const A=await this._options.loadGrammar(t);if(A){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(A,r)}}async addGrammar(t,A=[],r=0,n=null){return this._syncRegistry.addGrammar(t,A),await this._grammarForScopeName(t.scopeName,r,n)}_grammarForScopeName(t,A=0,r=null,n=null,i=null){return this._syncRegistry.grammarForScopeName(t,A,r,n,i)}};const ruA=ki.NULL,gr={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class go{static toBinaryStr(t){let A=t.toString(2);for(;A.length<32;)A=`0${A}`;return A}static getLanguageId(t){return(t&gr.LANGUAGEID_MASK)>>>gr.LANGUAGEID_OFFSET}static getTokenType(t){return(t&gr.TOKEN_TYPE_MASK)>>>gr.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&gr.FONT_STYLE_MASK)>>>gr.FONT_STYLE_OFFSET}static getForeground(t){return(t&gr.FOREGROUND_MASK)>>>gr.FOREGROUND_OFFSET}static getBackground(t){return(t&gr.BACKGROUND_MASK)>>>gr.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&gr.BALANCED_BRACKETS_MASK)!==0}static set(t,A,r,n,i,o){let g=go.getLanguageId(t),a=go.getTokenType(t),s=go.getFontStyle(t),C=go.getForeground(t),I=go.getBackground(t);const l=go.containsBalancedBrackets(t)?1:0;return A!==0&&(g=A),r!==0&&(a=r===8?0:r),n!==ai.NotSet&&(s=n),i!==0&&(C=i),o!==0&&(I=o),(g<<gr.LANGUAGEID_OFFSET|a<<gr.TOKEN_TYPE_OFFSET|s<<gr.FONT_STYLE_OFFSET|l<<gr.BALANCED_BRACKETS_OFFSET|C<<gr.FOREGROUND_OFFSET|I<<gr.BACKGROUND_OFFSET)>>>0}}function KQ(e,t=!1){const A=e.split(/(\r?\n)/g);let r=0;const n=[];for(let i=0;i<A.length;i+=2){const o=t?A[i]+(A[i+1]||""):A[i];n.push([o,r]),r+=A[i].length,r+=A[i+1]?.length||0}return n}function lY(e){return!e||["plaintext","txt","text","plain"].includes(e)}function nuA(e){return e==="ansi"||lY(e)}function uY(e){return e==="none"}function iuA(e){return uY(e)}function cY(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const A=Array.isArray(t)?t:t.split(/\s+/g);for(const r of A)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function ouA(e,t){let A=0;const r=[];for(const n of t)n>A&&r.push({...e,content:e.content.slice(A,n),offset:e.offset+A}),A=n;return A<e.content.length&&r.push({...e,content:e.content.slice(A),offset:e.offset+A}),r}function guA(e,t){const A=Array.from(t instanceof Set?t:new Set(t)).sort((r,n)=>r-n);return A.length?e.map(r=>r.flatMap(n=>{const i=A.filter(o=>n.offset<o&&o<n.offset+n.content.length).map(o=>o-n.offset).sort((o,g)=>o-g);return i.length?ouA(n,i):n})):e}function hY(e,t){return t?.[e?.toLowerCase()]||e}function dY(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&ai.Italic&&(t["font-style"]="italic"),e.fontStyle&ai.Bold&&(t["font-weight"]="bold"),e.fontStyle&ai.Underline&&(t["text-decoration"]="underline")),t}function BY(e){return Object.entries(e).map(([t,A])=>`${t}:${A}`).join(";")}function auA(e){const t=KQ(e,!0).map(([n])=>n);function A(n){let i=n,o=0;for(const g of t){if(i<g.length)break;i-=g.length,o++}return{line:o,character:i}}function r(n,i){let o=0;for(let g=0;g<n;g++)o+=t[g].length;return o+=i,o}return{lines:t,indexToPos:A,posToIndex:r}}var xa=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Wp={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function suA(e,t){const A=e.indexOf("\x1B[",t);if(A!==-1){const r=e.indexOf("m",A);return{sequence:e.substring(A+2,r).split(";"),startPosition:A,position:r+1}}return{position:e.length}}function rR(e,t){let A=1;const r=e[t+A++];let n;if(r==="2"){const i=[e[t+A++],e[t+A++],e[t+A]].map(o=>Number.parseInt(o));i.length===3&&!i.some(o=>Number.isNaN(o))&&(n={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+A]);Number.isNaN(i)||(n={type:"table",index:Number(i)})}return[A,n]}function CuA(e){const t=[];for(let A=0;A<e.length;A++){const r=e[A],n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)Wp[n]&&t.push({type:"setDecoration",value:Wp[n]});else if(n<=29){const i=Wp[n-20];i&&t.push({type:"resetDecoration",value:i})}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:xa[n-30]}});else if(n===38){const[i,o]=rR(e,A);o&&t.push({type:"setForegroundColor",value:o}),A+=i}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:xa[n-40]}});else if(n===48){const[i,o]=rR(e,A);o&&t.push({type:"setBackgroundColor",value:o}),A+=i}else n===49?t.push({type:"resetBackgroundColor"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:xa[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:xa[n-100+8]}})}return t}function IuA(){let e=null,t=null,A=new Set;return{parse(r){const n=[];let i=0;do{const o=suA(r,i),g=o.sequence?r.substring(i,o.startPosition):r.substring(i);if(g.length>0&&n.push({value:g,foreground:e,background:t,decorations:new Set(A)}),o.sequence){const a=CuA(o.sequence);for(const s of a)s.type==="resetAll"?(e=null,t=null,A.clear()):s.type==="resetForegroundColor"?e=null:s.type==="resetBackgroundColor"?t=null:s.type==="resetDecoration"&&A.delete(s.value);for(const s of a)s.type==="setForegroundColor"?e=s.value:s.type==="setBackgroundColor"?t=s.value:s.type==="setDecoration"&&A.add(s.value)}i=o.position}while(i<r.length);return n}}}var luA={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function uuA(e=luA){function t(g){return e[g]}function A(g){return`#${g.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function n(){if(r)return r;r=[];for(let s=0;s<xa.length;s++)r.push(t(xa[s]));let g=[0,95,135,175,215,255];for(let s=0;s<6;s++)for(let C=0;C<6;C++)for(let I=0;I<6;I++)r.push(A([g[s],g[C],g[I]]));let a=8;for(let s=0;s<24;s++,a+=10)r.push(A([a,a,a]));return r}function i(g){return n()[g]}function o(g){switch(g.type){case"named":return t(g.name);case"rgb":return A(g.rgb);case"table":return i(g.index)}}return{value:o}}function cuA(e,t,A){const r={...e.colorReplacements,...A?.colorReplacements},n=KQ(t),i=uuA(Object.fromEntries(xa.map(g=>[g,e.colors?.[`terminal.ansi${g[0].toUpperCase()}${g.substring(1)}`]]))),o=IuA();return n.map(g=>o.parse(g[0]).map(a=>{let s,C;a.decorations.has("reverse")?(s=a.background?i.value(a.background):e.bg,C=a.foreground?i.value(a.foreground):e.fg):(s=a.foreground?i.value(a.foreground):e.fg,C=a.background?i.value(a.background):void 0),s=hY(s,r),a.decorations.has("dim")&&(s=huA(s));let I=ai.None;return a.decorations.has("bold")&&(I|=ai.Bold),a.decorations.has("italic")&&(I|=ai.Italic),a.decorations.has("underline")&&(I|=ai.Underline),{content:a.value,offset:g[1],color:s,bgColor:C,fontStyle:I}}))}function huA(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const A=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return A?`var(${A[1]}-dim)`:e}function LM(e,t,A={}){const{lang:r="text",theme:n=e.getLoadedThemes()[0]}=A;if(lY(r)||uY(n))return KQ(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:o}=e.setTheme(n);if(r==="ansi")return cuA(i,t,A);const g=e.getLanguage(r);return duA(t,g,i,o,A)}function duA(e,t,A,r,n){const i={...A.colorReplacements,...n?.colorReplacements},{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:g=500}=n,a=KQ(e);let s=ruA,C=[];const I=[];for(let l=0,u=a.length;l<u;l++){const[c,h]=a[l];if(c===""){C=[],I.push([]);continue}if(o>0&&c.length>=o){C=[],I.push([{content:c,offset:h,color:"",fontStyle:0}]);continue}let d,B,f;n.includeExplanation&&(d=t.tokenizeLine(c,s),B=d.tokens,f=0);const E=t.tokenizeLine2(c,s,g),v=E.tokens.length/2;for(let p=0;p<v;p++){const D=E.tokens[2*p],F=p+1<v?E.tokens[2*p+2]:c.length;if(D===F)continue;const S=E.tokens[2*p+1],N=go.getForeground(S),m=hY(r[N],i),R=go.getFontStyle(S),k={content:c.substring(D,F),offset:h+D,color:m,fontStyle:R};if(n.includeExplanation){k.explanation=[];let O=0;for(;D+O<F;){const H=B[f],X=c.substring(H.startIndex,H.endIndex);O+=X.length,k.explanation.push({content:X,scopes:BuA(A,H.scopes)}),f+=1}}C.push(k)}I.push(C),C=[],s=E.ruleStack}return I}function BuA(e,t){const A=[];for(let r=0,n=t.length;r<n;r++){const i=t.slice(0,r),o=t[r];A[r]={scopeName:o,themeMatches:EuA(e,o,i)}}return A}function nR(e,t){const A=`${e}.`;return e===t||t.substring(0,A.length)===A}function fuA(e,t,A,r){if(!nR(e,A))return!1;let n=t.length-1,i=r.length-1;for(;n>=0&&i>=0;)nR(t[n],r[i])&&(n-=1),i-=1;return n===-1}function EuA(e,t,A){const r=[];let n=0;for(let i=0,o=e.settings.length;i<o;i++){const g=e.settings[i];let a;if(typeof g.scope=="string")a=g.scope.split(/,/).map(s=>s.trim());else if(Array.isArray(g.scope))a=g.scope;else continue;for(let s=0,C=a.length;s<C;s++){const l=a[s].split(/ /),u=l[l.length-1],c=l.slice(0,l.length-1);fuA(u,c,t,A)&&(r[n++]=g,s=C)}}return r}function fY(e,t,A){const r=Object.entries(A.themes).filter(o=>o[1]).map(o=>({color:o[0],theme:o[1]})),n=QuA(...r.map(o=>LM(e,t,{...A,theme:o.theme})));return n[0].map((o,g)=>o.map((a,s)=>{const C={content:a.content,variants:{},offset:a.offset};return n.forEach((I,l)=>{const{content:u,explanation:c,offset:h,...d}=I[g][s];C.variants[r[l].color]=d}),C}))}function QuA(...e){const t=e.map(()=>[]),A=e.length;for(let r=0;r<e[0].length;r++){const n=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,s)=>a.push(i[s]));const o=n.map(()=>0),g=n.map(a=>a[0]);for(;g.every(a=>a);){const a=Math.min(...g.map(s=>s.content.length));for(let s=0;s<A;s++){const C=g[s];C.content.length===a?(i[s].push(C),o[s]+=1,g[s]=n[s][o[s]]):(i[s].push({...C,content:C.content.slice(0,a)}),g[s]={...C,content:C.content.slice(a),offset:C.offset+a})}}}return t}class Sr extends Error{constructor(t){super(t),this.name="ShikiError"}}function BE(e,t,A){let r,n,i,o,g;if("themes"in A){const{defaultColor:a="light",cssVariablePrefix:s="--shiki-"}=A,C=Object.entries(A.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})).sort((c,h)=>c.color===a?-1:h.color===a?1:0);if(C.length===0)throw new Sr("`themes` option must not be empty");const I=fY(e,t,A);if(a&&!C.find(c=>c.color===a))throw new Sr(`\`themes\` option must contain the defaultColor key \`${a}\``);const l=C.map(c=>e.getTheme(c.theme)),u=C.map(c=>c.color);i=I.map(c=>c.map(h=>vuA(h,u,s,a))),n=C.map((c,h)=>(h===0&&a?"":`${s+c.color}:`)+(l[h].fg||"inherit")).join(";"),r=C.map((c,h)=>(h===0&&a?"":`${s+c.color}-bg:`)+(l[h].bg||"inherit")).join(";"),o=`shiki-themes ${l.map(c=>c.name).join(" ")}`,g=a?void 0:[n,r].join(";")}else if("theme"in A){i=LM(e,t,A);const a=e.getTheme(A.theme);r=a.bg,n=a.fg,o=a.name}else throw new Sr("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:n,bg:r,themeName:o,rootStyle:g}}function vuA(e,t,A,r){const n={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>dY(e.variants[a])),o=new Set(i.flatMap(a=>Object.keys(a))),g=i.reduce((a,s,C)=>{for(const I of o){const l=s[I]||"inherit";if(C===0&&r)a[I]=l;else{const u=I==="color"?"":I==="background-color"?"-bg":`-${I}`,c=A+t[C]+(I==="color"?"":u);a[I]?a[I]+=`;${c}:${l}`:a[I]=`${c}:${l}`}}return a},{});return n.htmlStyle=r?BY(g):Object.values(g).join(";"),n}function puA(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(g){return typeof g=="number"?{...n.indexToPos(g),offset:g}:{...g,offset:n.posToIndex(g.line,g.character)}};const n=auA(r.source),o=(r.options.decorations||[]).map(g=>({...g,start:i(g.start),end:i(g.end)}));A(o),e.set(r.meta,{decorations:o,converter:n,source:r.source})}return e.get(r.meta)}function A(r){for(let n=0;n<r.length;n++){const i=r[n];if(i.start.offset>i.end.offset)throw new Sr(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let o=n+1;o<r.length;o++){const g=r[o],a=i.start.offset<g.start.offset&&g.start.offset<i.end.offset,s=i.start.offset<g.end.offset&&g.end.offset<i.end.offset,C=g.start.offset<i.start.offset&&i.start.offset<g.end.offset,I=g.start.offset<i.end.offset&&i.end.offset<g.end.offset;if(a||s||C||I){if(s&&s||C&&I)continue;throw new Sr(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(g.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const i=t(this).decorations.flatMap(g=>[g.start.offset,g.end.offset]);return guA(r,i)},code(r){if(!this.options.decorations?.length)return;const n=t(this),i=Array.from(r.children).filter(I=>I.type==="element"&&I.tagName==="span");if(i.length!==n.converter.lines.length)throw new Sr(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function o(I,l,u,c){const h=i[I];let d="",B=-1,f=-1;function E(p){return p.type==="text"?p.value:p.type==="element"?p.children.map(E).join(""):""}if(l===0&&(B=0),u===0&&(f=0),u===Number.POSITIVE_INFINITY&&(f=h.children.length),B===-1||f===-1)for(let p=0;p<h.children.length;p++)d+=E(h.children[p]),B===-1&&d.length===l&&(B=p+1),f===-1&&d.length===u&&(f=p+1);if(B===-1)throw new Sr(`Failed to find start index for decoration ${JSON.stringify(c.start)}`);if(f===-1)throw new Sr(`Failed to find end index for decoration ${JSON.stringify(c.end)}`);const v=h.children.slice(B,f);if(!c.alwaysWrap&&v.length===h.children.length)a(h,c,"line");else if(!c.alwaysWrap&&v.length===1&&v[0].type==="element")a(v[0],c,"token");else{const p={type:"element",tagName:"span",properties:{},children:v};a(p,c,"wrapper"),h.children.splice(B,v.length,p)}}function g(I,l){i[I]=a(i[I],l,"line")}function a(I,l,u){const c=l.properties||{},h=l.transform||(d=>d);return I.tagName=l.tagName||"span",I.properties={...I.properties,...c,class:I.properties.class},l.properties?.class&&cY(I,l.properties.class),I=h(I,u)||I,I}const s=[],C=n.decorations.sort((I,l)=>l.start.offset-I.start.offset);for(const I of C){const{start:l,end:u}=I;if(l.line===u.line)o(l.line,l.character,u.character,I);else if(l.line<u.line){o(l.line,l.character,Number.POSITIVE_INFINITY,I);for(let c=l.line+1;c<u.line;c++)s.unshift(()=>g(c,I));o(u.line,0,u.character,I)}}s.forEach(I=>I())}}}const wuA=[puA()];function fE(e){return[...e.transformers||[],...wuA]}function EE(e,t,A,r={meta:{},options:A,codeToHast:(n,i)=>EE(e,n,i),codeToTokens:(n,i)=>BE(e,n,i)}){let n=t;for(const l of fE(A))n=l.preprocess?.call(r,n,A)||n;let{tokens:i,fg:o,bg:g,themeName:a,rootStyle:s}=BE(e,n,A);const{mergeWhitespaces:C=!0}=A;C===!0?i=yuA(i):C==="never"&&(i=muA(i));const I={...r,get source(){return n}};for(const l of fE(A))i=l.tokens?.call(I,i)||i;return DuA(i,{...A,fg:o,bg:g,themeName:a,rootStyle:s},I)}function DuA(e,t,A){const r=fE(t),n=[],i={type:"root",children:[]};let o={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([I])=>!I.startsWith("_")))},children:[]},g={type:"element",tagName:"code",properties:{},children:n};const a=[],s={...A,addClassToHast:cY,get source(){return A.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return o},get code(){return g},get lines(){return a}};e.forEach((I,l)=>{l&&n.push({type:"text",value:`
|