@stonecrop/desktop 0.4.12 → 0.4.13

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.
@@ -1,22 +1,22 @@
1
- (function(z,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(z=typeof globalThis<"u"?globalThis:z||self,s(z["@stonecrop/desktop"]={},z.Vue))})(this,function(z,s){"use strict";const Br={class:"action-menu-icon"},Hr=["onclick"],zr={key:1},Kr=["onClick"],Fr={class:"dropdown-container"},Wr={class:"dropdown"},Gr=["onclick"],Yr=["href"],qr={class:"dropdown-item"},Jr=s.defineComponent({__name:"ActionSet",props:{elements:{}},setup(e){const t=s.ref(e.elements),n=s.ref(!1),o=s.ref(null),r=s.ref(!1),i=s.ref(!1);s.onMounted(()=>{a()});const a=()=>{for(const d of t.value)d.type==="dropdown"&&(d.show=!1)},l=()=>{r.value=!0,o.value=setTimeout(()=>{r.value&&(n.value=!0)},500)},u=()=>{r.value=!1,i.value=!1,clearTimeout(o.value),n.value=!1},c=d=>{const f=!t.value[d].show;a(),t.value[d].show=f};return(d,f)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass([{"open-set":n.value,"hovered-and-closed":i.value},"action-set collapse"]),onMouseover:l,onMouseleave:u},[s.createElementVNode("div",Br,[s.createElementVNode("div",{id:"chevron",onClick:f[0]||(f[0]=h=>i.value=!i.value)},f[1]||(f[1]=[s.createElementVNode("svg",{class:"leftBar",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","xml:space":"preserve",width:"50",height:"50"},[s.createElementVNode("polygon",{points:"54.2,33.4 29.2,58.8 25,54.6 50,29.2 "})],-1),s.createElementVNode("svg",{class:"rightBar",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","xml:space":"preserve",width:"50",height:"50"},[s.createElementVNode("polygon",{points:"70.8,58.8 45.8,33.4 50,29.2 75,54.6 "})],-1)]))]),f[2]||(f[2]=s.createElementVNode("div",{style:{"margin-right":"30px"}},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.value,(h,p)=>(s.openBlock(),s.createElementBlock("div",{class:"action-element",key:h.label},[h.type=="button"?(s.openBlock(),s.createElementBlock("button",{key:0,onclick:h.action,class:"button-default"},s.toDisplayString(h.label),9,Hr)):s.createCommentVNode("",!0),h.type=="dropdown"?(s.openBlock(),s.createElementBlock("div",zr,[s.createElementVNode("button",{class:"button-default",onClick:_=>c(p)},s.toDisplayString(h.label),9,Kr),s.withDirectives(s.createElementVNode("div",Fr,[s.createElementVNode("div",Wr,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(h.actions,_=>(s.openBlock(),s.createElementBlock("div",{key:_.label},[_.action!=null?(s.openBlock(),s.createElementBlock("button",{key:0,onclick:_.action,class:"dropdown-item"},s.toDisplayString(_.label),9,Gr)):_.link!=null?(s.openBlock(),s.createElementBlock("a",{key:1,href:_.link},[s.createElementVNode("button",qr,s.toDisplayString(_.label),1)],8,Yr)):s.createCommentVNode("",!0)]))),128))])],512),[[s.vShow,h.show]])])):s.createCommentVNode("",!0)]))),128))],34))}}),ct=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},cn=ct(Jr,[["__scopeId","data-v-38e7af34"]]),Xr={};function Zr(e,t){return s.openBlock(),s.createElementBlock("dialog")}const un=ct(Xr,[["render",Zr]]),Qr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function dn(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const fn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const es=Object.prototype.toString,ts=e=>es.call(e)==="[object Object]",ns=()=>{},pn=os();function os(){var e,t;return fn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ut(e){return Array.isArray(e)?e:[e]}function rs(...e){if(e.length!==1)return s.toRef(...e);const t=e[0];return typeof t=="function"?s.readonly(s.customRef(()=>({get:t,set:ns}))):s.ref(t)}function ss(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const as=fn?window:void 0;function is(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ls(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),r=s.computed(()=>{const l=ut(s.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=ss(()=>{var l,u;return[(u=(l=r.value)==null?void 0:l.map(c=>is(c)))!=null?u:[as].filter(c=>c!=null),ut(s.toValue(r.value?e[1]:e[0])),ut(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=ts(d)?{...d}:d;t.push(...l.flatMap(h=>u.flatMap(p=>c.map(_=>o(h,p,_,f)))))},{flush:"post"}),a=()=>{i(),n()};return dn(n),a}function dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function hn(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 n=e.parentNode;return!n||n.tagName==="BODY"?!1:hn(n)}}function cs(e){const t=e||window.event,n=t.target;return hn(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ft=new WeakMap;function us(e,t=!1){const n=s.ref(t);let o=null,r="";s.watch(rs(e),l=>{const u=dt(s.toValue(l));if(u){const c=u;if(ft.get(c)||ft.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=dt(s.toValue(e));!l||n.value||(pn&&(o=ls(l,"touchmove",u=>{cs(u)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},a=()=>{const l=dt(s.toValue(e));!l||!n.value||(pn&&(o==null||o()),l.style.overflow=r,ft.delete(l),n.value=!1)};return dn(a),s.computed({get(){return n.value},set(l){l?i():a()}})}function ds(){let e=!1;const t=s.shallowRef(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const r=us(n,o.value);s.watch(t,i=>r.value=i)}}ds(),typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fs={class:"aform"},ps=s.defineComponent({__name:"AForm",props:{modelValue:{},data:{},readonly:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,o=s.ref(e.data||{}),r=a=>{let l={};for(const[u,c]of Object.entries(a))["component","fieldtype"].includes(u)||(l[u]=c),u==="rows"&&c&&c.length===0&&(l.rows=o.value[a.fieldname]);return l},i=s.computed({get:()=>e.modelValue.map((a,l)=>s.computed({get(){return a.value},set:u=>{e.modelValue[l].value=u,n("update:modelValue",e.modelValue)}})),set:()=>{}});return(a,l)=>(s.openBlock(),s.createElementBlock("form",fs,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.modelValue,(u,c)=>(s.openBlock(),s.createBlock(s.resolveDynamicComponent(u.component),s.mergeProps({key:c,schema:u,modelValue:i.value[c].value,"onUpdate:modelValue":d=>i.value[c].value=d,data:o.value[u.fieldname],readonly:a.readonly,ref_for:!0},r(u)),null,16,["schema","modelValue","onUpdate:modelValue","data","readonly"]))),128))]))}}),hs=Qr(ps,[["__scopeId","data-v-68845234"]]);var ms=Object.defineProperty,_s=(e,t,n)=>t in e?ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t,n)=>_s(e,typeof t!="symbol"?t+"":t,n);function pt(e){this.message=e||""}pt.prototype=Object.create(Error.prototype,{constructor:{value:pt},name:{value:"NotImplemented"},stack:{get:function(){return new Error().stack}}});const mn=class it{constructor(t,n,o,r,i){if(M(this,"name","Stonecrop"),M(this,"registry"),M(this,"store"),M(this,"schema"),M(this,"workflow"),M(this,"actions"),it._root)return it._root;it._root=this,this.registry=t,this.store=n,this.schema=o,this.workflow=r,this.actions=i}setup(t){this.getMeta(t),this.getWorkflow(t),this.getActions(t)}getMeta(t){return this.registry.getMeta?this.registry.getMeta(t.doctype):new pt(t.doctype)}getWorkflow(t){const n=this.registry.registry[t.slug];this.workflow=n.workflow}getActions(t){const n=this.registry.registry[t.slug];this.actions=n.actions}async getRecords(t,n){this.store.$patch({records:[]});const o=await(await fetch(`/${t.slug}`,n)).json();this.store.$patch({records:o})}async getRecord(t,n){this.store.$patch({record:{}});const o=await(await fetch(`/${t.slug}/${n}`)).json();this.store.$patch({record:o})}runAction(t,n,o){var r;const i=(r=this.registry.registry[t.slug].actions)==null?void 0:r.get(n);if(this.workflow){const{initialState:a}=this.workflow;this.workflow.transition(a,{type:n}),i&&i.length>0&&i.forEach(l=>{new Function(l)(o)})}}};M(mn,"_root");let gs=mn;var ys=Object.create,_n=Object.defineProperty,Es=Object.getOwnPropertyDescriptor,ht=Object.getOwnPropertyNames,ws=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty,vs=(e,t)=>function(){return e&&(t=(0,e[ht(e)[0]])(e=0)),t},ks=(e,t)=>function(){return t||(0,e[ht(e)[0]])((t={exports:{}}).exports,t),t.exports},Os=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ht(t))!bs.call(e,r)&&r!==n&&_n(e,r,{get:()=>t[r],enumerable:!(o=Es(t,r))||o.enumerable});return e},Ss=(e,t,n)=>(n=e!=null?ys(ws(e)):{},Os(_n(n,"default",{value:e,enumerable:!0}),e)),Ve=vs({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Ts=ks({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Ve(),t.exports=o;function n(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function o(i){if(i=i||{},i.circles)return r(i);const a=new Map;if(a.set(Date,f=>new Date(f)),a.set(Map,(f,h)=>new Map(u(Array.from(f),h))),a.set(Set,(f,h)=>new Set(u(Array.from(f),h))),i.constructorHandlers)for(const f of i.constructorHandlers)a.set(f[0],f[1]);let l=null;return i.proto?d:c;function u(f,h){const p=Object.keys(f),_=new Array(p.length);for(let b=0;b<p.length;b++){const m=p[b],k=f[m];typeof k!="object"||k===null?_[m]=k:k.constructor!==Object&&(l=a.get(k.constructor))?_[m]=l(k,h):ArrayBuffer.isView(k)?_[m]=n(k):_[m]=h(k)}return _}function c(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return u(f,c);if(f.constructor!==Object&&(l=a.get(f.constructor)))return l(f,c);const h={};for(const p in f){if(Object.hasOwnProperty.call(f,p)===!1)continue;const _=f[p];typeof _!="object"||_===null?h[p]=_:_.constructor!==Object&&(l=a.get(_.constructor))?h[p]=l(_,c):ArrayBuffer.isView(_)?h[p]=n(_):h[p]=c(_)}return h}function d(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return u(f,d);if(f.constructor!==Object&&(l=a.get(f.constructor)))return l(f,d);const h={};for(const p in f){const _=f[p];typeof _!="object"||_===null?h[p]=_:_.constructor!==Object&&(l=a.get(_.constructor))?h[p]=l(_,d):ArrayBuffer.isView(_)?h[p]=n(_):h[p]=d(_)}return h}}function r(i){const a=[],l=[],u=new Map;if(u.set(Date,p=>new Date(p)),u.set(Map,(p,_)=>new Map(d(Array.from(p),_))),u.set(Set,(p,_)=>new Set(d(Array.from(p),_))),i.constructorHandlers)for(const p of i.constructorHandlers)u.set(p[0],p[1]);let c=null;return i.proto?h:f;function d(p,_){const b=Object.keys(p),m=new Array(b.length);for(let k=0;k<b.length;k++){const I=b[k],P=p[I];if(typeof P!="object"||P===null)m[I]=P;else if(P.constructor!==Object&&(c=u.get(P.constructor)))m[I]=c(P,_);else if(ArrayBuffer.isView(P))m[I]=n(P);else{const x=a.indexOf(P);x!==-1?m[I]=l[x]:m[I]=_(P)}}return m}function f(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return d(p,f);if(p.constructor!==Object&&(c=u.get(p.constructor)))return c(p,f);const _={};a.push(p),l.push(_);for(const b in p){if(Object.hasOwnProperty.call(p,b)===!1)continue;const m=p[b];if(typeof m!="object"||m===null)_[b]=m;else if(m.constructor!==Object&&(c=u.get(m.constructor)))_[b]=c(m,f);else if(ArrayBuffer.isView(m))_[b]=n(m);else{const k=a.indexOf(m);k!==-1?_[b]=l[k]:_[b]=f(m)}}return a.pop(),l.pop(),_}function h(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return d(p,h);if(p.constructor!==Object&&(c=u.get(p.constructor)))return c(p,h);const _={};a.push(p),l.push(_);for(const b in p){const m=p[b];if(typeof m!="object"||m===null)_[b]=m;else if(m.constructor!==Object&&(c=u.get(m.constructor)))_[b]=c(m,h);else if(ArrayBuffer.isView(m))_[b]=n(m);else{const k=a.indexOf(m);k!==-1?_[b]=l[k]:_[b]=h(m)}}return a.pop(),l.pop(),_}}}});Ve(),Ve(),Ve();var gn=typeof navigator<"u",O=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof O.chrome<"u"&&O.chrome.devtools,gn&&(O.self,O.top);var yn;typeof navigator<"u"&&((yn=navigator.userAgent)==null||yn.toLowerCase().includes("electron")),Ve();var Is=Ss(Ts()),Vs=/(?:^|[-_/])(\w)/g;function Cs(e,t){return t?t.toUpperCase():""}function Ns(e){return e&&`${e}`.replace(Vs,Cs)}function Ps(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const i=r.lastIndexOf(t);return r.substring(0,i)}}var En=(0,Is.default)({circles:!0});const Rs={trailing:!0};function he(e,t=25,n={}){if(n={...Rs,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,i=[],a,l;const u=(c,d)=>(a=Ds(e,c,d),a.finally(()=>{if(a=null,n.trailing&&l&&!r){const f=u(c,l);return l=null,f}}),a);return function(...c){return a?(n.trailing&&(l=c),a):new Promise(d=>{const f=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const h=n.leading?o:u(this,c);for(const p of i)p(h);i=[]},t),f?(o=u(this,c),d(o)):i.push(d)})}}async function Ds(e,t,n){return await e.apply(t,n)}function mt(e,t={},n){for(const o in e){const r=e[o],i=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?mt(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const As={run:e=>e()},xs=()=>As,wn=typeof console.createTask<"u"?console.createTask:xs;function $s(e,t){const n=t.shift(),o=wn(n);return e.reduce((r,i)=>r.then(()=>o.run(()=>i(...t))),Promise.resolve())}function Ls(e,t){const n=t.shift(),o=wn(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function _t(e,t){for(const n of[...e])n(t)}class js{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!o.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...i)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...i));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=mt(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=mt(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith($s,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ls,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&_t(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&r&&_t(this._after,r)}):(this._after&&r&&_t(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function bn(){return new js}var Ms=Object.create,vn=Object.defineProperty,Us=Object.getOwnPropertyDescriptor,gt=Object.getOwnPropertyNames,Bs=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty,zs=(e,t)=>function(){return e&&(t=(0,e[gt(e)[0]])(e=0)),t},kn=(e,t)=>function(){return t||(0,e[gt(e)[0]])((t={exports:{}}).exports,t),t.exports},Ks=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of gt(t))!Hs.call(e,r)&&r!==n&&vn(e,r,{get:()=>t[r],enumerable:!(o=Us(t,r))||o.enumerable});return e},Fs=(e,t,n)=>(n=e!=null?Ms(Bs(e)):{},Ks(vn(n,"default",{value:e,enumerable:!0}),e)),w=zs({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Ws=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){w(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],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"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),f=function(b,m){var k="-",I="",P="",x=!0,D={},Z,v,S,y,g,E,T,C,W,B,V,G,N,$,ae="";if(typeof b!="string")return"";if(typeof m=="string"&&(k=m),T=l.en,C=a.en,typeof m=="object"){Z=m.maintainCase||!1,D=m.custom&&typeof m.custom=="object"?m.custom:D,S=+m.truncate>1&&m.truncate||!1,y=m.uric||!1,g=m.uricNoSlash||!1,E=m.mark||!1,x=!(m.symbols===!1||m.lang===!1),k=m.separator||k,y&&(ae+=u),g&&(ae+=c),E&&(ae+=d),T=m.lang&&l[m.lang]&&x?l[m.lang]:x?l.en:{},C=m.lang&&a[m.lang]?a[m.lang]:m.lang===!1||m.lang===!0?{}:a.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(q){D[q+""]=q+""}),v=!0):v=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(q){D[q+""]=q+""}),Object.keys(D).forEach(function(q){var Ke;q.length>1?Ke=new RegExp("\\b"+p(q)+"\\b","gi"):Ke=new RegExp(p(q),"gi"),b=b.replace(Ke,D[q])});for(V in D)ae+=V}for(ae+=k,ae=p(ae),b=b.replace(/(^\s+|\s+$)/g,""),N=!1,$=!1,B=0,G=b.length;B<G;B++)V=b[B],_(V,D)?N=!1:C[V]?(V=N&&C[V].match(/[A-Za-z0-9]/)?" "+C[V]:C[V],N=!1):V in o?(B+1<G&&r.indexOf(b[B+1])>=0?(P+=V,V=""):$===!0?(V=i[P]+o[V],P=""):V=N&&o[V].match(/[A-Za-z0-9]/)?" "+o[V]:o[V],N=!1,$=!1):V in i?(P+=V,V="",B===G-1&&(V=i[P]),$=!0):T[V]&&!(y&&u.indexOf(V)!==-1)&&!(g&&c.indexOf(V)!==-1)?(V=N||I.substr(-1).match(/[A-Za-z0-9]/)?k+T[V]:T[V],V+=b[B+1]!==void 0&&b[B+1].match(/[A-Za-z0-9]/)?k:"",N=!0):($===!0?(V=i[P]+V,P="",$=!1):N&&(/[A-Za-z0-9]/.test(V)||I.substr(-1).match(/A-Za-z0-9]/))&&(V=" "+V),N=!1),I+=V.replace(new RegExp("[^\\w\\s"+ae+"_-]","g"),k);return v&&(I=I.replace(/(\w)(\S*)/g,function(q,Ke,Ur){var ln=Ke.toUpperCase()+(Ur!==null?Ur:"");return Object.keys(D).indexOf(ln.toLowerCase())<0?ln:ln.toLowerCase()})),I=I.replace(/\s+/g,k).replace(new RegExp("\\"+k+"+","g"),k).replace(new RegExp("(^\\"+k+"+|\\"+k+"+$)","g"),""),S&&I.length>S&&(W=I.charAt(S)===k,I=I.slice(0,S),W||(I=I.slice(0,I.lastIndexOf(k)))),!Z&&!v&&(I=I.toLowerCase()),I},h=function(b){return function(m){return f(m,b)}},p=function(b){return b.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(b,m){for(var k in m)if(m[k]===b)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=h;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=h}catch{}}(e)}}),Gs=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){w(),t.exports=Ws()}});w(),w(),w(),w(),w(),w(),w(),w();function Ys(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&(t=e.__file)!=null&&t.endsWith("index.vue")?"":n}function qs(e){const t=e.__file;if(t)return Ns(Ps(t,".vue"))}function On(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function yt(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Sn(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=yt(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function Fe(e){var t,n,o;const r=Ys((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const a in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[a]===(e==null?void 0:e.type))return On(e,a);for(const a in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[a]===(e==null?void 0:e.type))return On(e,a);return qs((e==null?void 0:e.type)||{})||"Anonymous Component"}function Js(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,i=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${i}`}function Et(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function Xs(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var We;function Zs(e){return We||(We=document.createRange()),We.selectNode(e),We.getBoundingClientRect()}function Qs(e){const t=Xs();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let i;if(r.component)i=ie(r.component);else if(r.el){const a=r.el;a.nodeType===1||a.getBoundingClientRect?i=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(i=Zs(a))}i&&ea(t,i)}return t}function ea(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var Tn={top:0,left:0,right:0,bottom:0,width:0,height:0};function ie(e){const t=e.subTree.el;return typeof window>"u"?Tn:Sn(e)?Qs(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?ie(e.subTree.component):Tn}w();function wt(e){return Sn(e)?ta(e.subTree):e.subTree?[e.subTree.el]:[]}function ta(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...wt(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var In="__vue-devtools-component-inspector__",Vn="__vue-devtools-component-inspector__card__",Cn="__vue-devtools-component-inspector__name__",Nn="__vue-devtools-component-inspector__indicator__",Pn={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},na={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},oa={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function me(){return document.getElementById(In)}function ra(){return document.getElementById(Vn)}function sa(){return document.getElementById(Nn)}function aa(){return document.getElementById(Cn)}function bt(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function vt(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:In,Object.assign(n.style,{...Pn,...bt(e.bounds),...e.style});const o=document.createElement("span");o.id=Vn,Object.assign(o.style,{...na,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Cn,r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const i=document.createElement("i");return i.id=Nn,i.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(i.style,oa),o.appendChild(r),o.appendChild(i),n.appendChild(o),document.body.appendChild(n),n}function kt(e){const t=me(),n=ra(),o=aa(),r=sa();t&&(Object.assign(t.style,{...Pn,...bt(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function ia(e){const t=ie(e);if(!t.width&&!t.height)return;const n=Fe(e);me()?kt({bounds:t,name:n}):vt({bounds:t,name:n})}function Rn(){const e=me();e&&(e.style.display="none")}var Ot=null;function St(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Ot=n,n.vnode.el)){const o=ie(n),r=Fe(n);me()?kt({bounds:o,name:r}):vt({bounds:o,name:r})}}}function la(e,t){if(e.preventDefault(),e.stopPropagation(),Ot){const n=Js(Ot);t(n)}}var Ge=null;function ca(){Rn(),window.removeEventListener("mouseover",St),window.removeEventListener("click",Ge,!0),Ge=null}function ua(){return window.addEventListener("mouseover",St),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),la(n,o=>{window.removeEventListener("click",t,!0),Ge=null,window.removeEventListener("mouseover",St);const r=me();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Ge=t,window.addEventListener("click",t,!0)})}function da(e){const t=Et(U.value,e.id);if(t){const[n]=wt(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=ie(t),r=document.createElement("div"),i={...bt(o),position:"absolute"};Object.assign(r.style,i),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=ie(t);if(o.width||o.height){const r=Fe(t),i=me();i?kt({...e,name:r,bounds:o}):vt({...e,name:r,bounds:o}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}w();var Dn;(Dn=O).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(Dn.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function fa(e){let t=0;const n=setInterval(()=>{O.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function pa(){const e=O.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function ha(){return new Promise(e=>{function t(){pa(),e(O.__VUE_INSPECTOR__)}O.__VUE_INSPECTOR__?t():fa(()=>{t()})})}w(),w();function ma(e){return!!(e&&e.__v_isReadonly)}function An(e){return ma(e)?An(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isRef===!0)}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}var _a=class{constructor(){this.refEditor=new ga}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const l=r.shift();e instanceof Map&&(e=e.get(l)),e instanceof Set?e=Array.from(e.values())[l]:e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const i=r[0],a=this.refEditor.get(e)[i];o?o(e,i,n):this.refEditor.isRef(a)?this.refEditor.set(a,n):e[i]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const i=o.shift();e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Ce(t)instanceof Map?t.delete(n):Ce(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):Ce(t)instanceof Map?t.set(e.newKey||n,o):Ce(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},ga=class{set(e,t){if(Tt(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(i=>{e.set(i,Reflect.get(t,i)),r.delete(i)}),r.forEach(i=>e.delete(i));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return Tt(e)?e.value:e}isRef(e){return Tt(e)||An(e)}};w(),w(),w();var ya="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Ea(){if(!gn||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(ya);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}w(),w(),w();var xn;(xn=O).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS!=null||(xn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var wa=new Proxy(O.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function ba(e,t){A.timelineLayersState[t.id]=!1,wa.push({...e,descriptorId:t.id,appRecord:yt(t.app)})}var $n;($n=O).__VUE_DEVTOOLS_KIT_INSPECTOR__!=null||($n.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var It=new Proxy(O.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ln=he(()=>{ge.hooks.callHook("sendInspectorToClient",jn())});function va(e,t){var n,o;It.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:yt(t.app)}),Ln()}function jn(){return It.filter(e=>e.descriptor.app===U.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ye(e,t){return It.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function ka(){const e=bn();e.hook("addInspector",({inspector:o,plugin:r})=>{va(o,r.descriptor)});const t=he(async({inspectorId:o,plugin:r})=>{var i;if(!o||!((i=r==null?void 0:r.descriptor)!=null&&i.app)||A.highPerfModeEnabled)return;const a=Ye(o,r.descriptor.app),l={app:r.descriptor.app,inspectorId:o,filter:(a==null?void 0:a.treeFilter)||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async c=>{await Promise.all(c.map(d=>d(l))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(c=>c({inspectorId:o,rootNodes:l.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=he(async({inspectorId:o,plugin:r})=>{var i;if(!o||!((i=r==null?void 0:r.descriptor)!=null&&i.app)||A.highPerfModeEnabled)return;const a=Ye(o,r.descriptor.app),l={app:r.descriptor.app,inspectorId:o,nodeId:(a==null?void 0:a.selectedNodeId)||"",state:null},u={currentTab:`custom-inspector:${o}`};l.nodeId&&await new Promise(c=>{e.callHookWith(async d=>{await Promise.all(d.map(f=>f(l,u))),c()},"getInspectorState")}),e.callHookWith(async c=>{await Promise.all(c.map(d=>d({inspectorId:o,nodeId:l.nodeId,state:l.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:i})=>{const a=Ye(o,i.descriptor.app);a&&(a.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{ba(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var i;const a=["performance","component-event","keyboard","mouse"];A.highPerfModeEnabled||!((i=A.timelineLayersState)!=null&&i[r.descriptor.id])&&!a.includes(o.layerId)||e.callHookWith(async l=>{await Promise.all(l.map(u=>u(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const i=r.id.toString();return[...r.instanceMap].filter(([a])=>a.split(":")[0]===i).map(([,a])=>a)}),e.hook("getComponentBounds",async({instance:o})=>ie(o)),e.hook("getComponentName",({instance:o})=>Fe(o)),e.hook("componentHighlight",({uid:o})=>{const r=U.value.instanceMap.get(o);r&&ia(r)}),e.hook("componentUnhighlight",()=>{Rn()}),e}var Mn;(Mn=O).__VUE_DEVTOOLS_KIT_APP_RECORDS__!=null||(Mn.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Un;(Un=O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__!=null||(Un.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Bn;(Bn=O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__!=null||(Bn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Hn;(Hn=O).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__!=null||(Hn.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var zn;(zn=O).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__!=null||(zn.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var le="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Oa(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Ea()}}var Kn;(Kn=O)[le]!=null||(Kn[le]=Oa());var Sa=he(e=>{ge.hooks.callHook("devtoolsStateUpdated",{state:e})});he((e,t)=>{ge.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var qe=new Proxy(O.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?O.__VUE_DEVTOOLS_KIT_APP_RECORDS__:O.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),U=new Proxy(O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Fn(){Sa({...O[le],appRecords:qe.value,activeAppRecordId:U.id,tabs:O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Ta(e){O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Fn()}function Ia(e){O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Fn()}var A=new Proxy(O[le],{get(e,t){return t==="appRecords"?qe:t==="activeAppRecordId"?U.id:t==="tabs"?O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:O[le][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...O[le]},e[t]=n,O[le][t]=n,!0}});function Va(e={}){var t,n,o;const{file:r,host:i,baseUrl:a=window.location.origin,line:l=0,column:u=0}=e;if(r){if(i==="chrome-extension"){const c=r.replace(/\\/g,"\\\\"),d=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${d}__open-in-editor?file=${encodeURI(r)}`).then(f=>{if(!f.ok){const h=`Opening component ${c} failed`;console.log(`%c${h}`,"color:red")}})}else if(A.vitePluginDetected){const c=(o=O.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:a;O.__VUE_INSPECTOR__.openInEditor(c,r,l,u)}}}w(),w(),w(),w(),w();var Wn;(Wn=O).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__!=null||(Wn.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Vt=new Proxy(O.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Ct(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Nt(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Ca(e){var t,n,o;const r=(n=(t=Vt.find(i=>{var a;return i[0].id===e&&!!((a=i[0])!=null&&a.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function Gn(e,t){var n,o,r;const i=Nt(e);if(i){const a=localStorage.getItem(i);if(a)return JSON.parse(a)}if(e){const a=(o=(n=Vt.find(l=>l[0].id===e))==null?void 0:n[0])!=null?o:null;return Ct((r=a==null?void 0:a.settings)!=null?r:{})}return Ct(t)}function Na(e,t){const n=Nt(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Ct(t)))}function Pa(e,t,n){const o=Nt(e),r=localStorage.getItem(o),i=JSON.parse(r||"{}"),a={...i,[t]:n};localStorage.setItem(o,JSON.stringify(a)),ge.hooks.callHookWith(l=>{l.forEach(u=>u({pluginId:e,key:t,oldValue:i[t],newValue:n,settings:a}))},"setPluginSettings")}w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w();var Yn,qn,H=(qn=(Yn=O).__VUE_DEVTOOLS_HOOK)!=null?qn:Yn.__VUE_DEVTOOLS_HOOK=bn(),Ra={vueAppInit(e){H.hook("app:init",e)},vueAppUnmount(e){H.hook("app:unmount",e)},vueAppConnected(e){H.hook("app:connected",e)},componentAdded(e){return H.hook("component:added",e)},componentEmit(e){return H.hook("component:emit",e)},componentUpdated(e){return H.hook("component:updated",e)},componentRemoved(e){return H.hook("component:removed",e)},setupDevtoolsPlugin(e){H.hook("devtools-plugin:setup",e)},perfStart(e){return H.hook("perf:start",e)},perfEnd(e){return H.hook("perf:end",e)}},Jn={on:Ra,setupDevToolsPlugin(e,t){return H.callHook("devtools-plugin:setup",e,t)}},Da=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(A.highPerfModeEnabled)return;const n=jn().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];H.callHook("component:updated",...o)}else H.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Na(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){A.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){A.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return A.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){A.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Gn(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Aa=Da;w(),w(),w(),w();var xa="__vue_devtool_undefined__",$a="__vue_devtool_infinity__",La="__vue_devtool_negative_infinity__",ja="__vue_devtool_nan__";w(),w();var Ma={[xa]:"undefined",[ja]:"NaN",[$a]:"Infinity",[La]:"-Infinity"};Object.entries(Ma).reduce((e,[t,n])=>(e[n]=t,e),{}),w(),w(),w(),w(),w();var Xn;(Xn=O).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__!=null||(Xn.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Zn(e,t){return Jn.setupDevToolsPlugin(e,t)}function Ua(e,t){const[n,o]=e;if(n.app!==t)return;const r=new Aa({plugin:{setupFn:o,descriptor:n},ctx:ge});n.packageName==="vuex"&&r.on.editInspectorState(i=>{r.sendInspectorState(i.inspectorId)}),o(r)}function Qn(e,t){O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||A.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Vt.forEach(n=>{Ua(n,e)}))}w(),w();var Ne="__VUE_DEVTOOLS_ROUTER__",_e="__VUE_DEVTOOLS_ROUTER_INFO__",eo;(eo=O)[_e]!=null||(eo[_e]={currentRoute:null,routes:[]});var to;(to=O)[Ne]!=null||(to[Ne]={}),new Proxy(O[_e],{get(e,t){return O[_e][t]}}),new Proxy(O[Ne],{get(e,t){if(t==="value")return O[Ne]}});function Ba(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Pt(e){return e.map(t=>{let{path:n,name:o,children:r,meta:i}=t;return r!=null&&r.length&&(r=Pt(r)),{path:n,name:o,children:r,meta:i}})}function Ha(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:i,matched:a,params:l,query:u}=e;return{fullPath:t,hash:n,href:o,path:r,name:i,params:l,query:u,matched:Pt(a)}}return e}function za(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,i=Ha(r==null?void 0:r.currentRoute.value),a=Pt(Ba(r)),l=console.warn;console.warn=()=>{},O[_e]={currentRoute:i?En(i):{},routes:En(a)},O[Ne]=r,console.warn=l}n(),Jn.on.componentUpdated(he(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!A.highPerfModeEnabled&&ge.hooks.callHook("routerInfoUpdated",{state:O[_e]}))},200))}function Ka(e){return{async getInspectorTree(t){const n={...t,app:U.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(i=>i(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:U.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async i=>{await Promise.all(i.map(a=>a(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new _a,o={...t,app:U.value.app,set:(r,i=t.path,a=t.state.value,l)=>{n.set(r,i,a,l||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(i=>i(o))},"editInspectorState")},sendInspectorState(t){const n=Ye(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return ua()},cancelInspectComponentInspector(){return ca()},getComponentRenderCode(t){const n=Et(U.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return da({id:t})},openInEditor:Va,getVueInspector:ha,toggleApp(t,n){const o=qe.value.find(r=>r.id===t);o&&(Ia(t),Ta(o),za(o,U),Ln(),Qn(o.app,n))},inspectDOM(t){const n=Et(U.value,t);if(n){const[o]=wt(n);o&&(O.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){Pa(t,n,o)},getPluginSettings(t){return{options:Ca(t),values:Gn(t)}}}}w();var no;(no=O).__VUE_DEVTOOLS_ENV__!=null||(no.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var oo=ka(),ro;(ro=O).__VUE_DEVTOOLS_KIT_CONTEXT__!=null||(ro.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:oo,get state(){return{...A,activeAppRecordId:U.id,activeAppRecord:U.value,appRecords:qe.value}},api:Ka(oo)});var ge=O.__VUE_DEVTOOLS_KIT_CONTEXT__;w(),Fs(Gs());var so;(so=O).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__!=null||(so.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),w();function Fa(e){A.highPerfModeEnabled=e??!A.highPerfModeEnabled,!e&&U.value&&Qn(U.value.app)}w(),w(),w();function Wa(e){A.devtoolsClientDetected={...A.devtoolsClientDetected,...e};const t=Object.values(A.devtoolsClientDetected).some(Boolean);Fa(!t)}var ao;(ao=O).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__!=null||(ao.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Wa),w(),w(),w(),w(),w(),w(),w();var Ga=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},io=class{constructor(e){this.generateIdentifier=e,this.kv=new Ga}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Ya=class extends io{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};w(),w();function qa(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Ja(e,t){const n=qa(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const i=o[r];if(t(i))return i}}function ye(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function Je(e,t){return e.indexOf(t)!==-1}function lo(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var Xa=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Ja(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};w(),w();var Za=e=>Object.prototype.toString.call(e).slice(8,-1),co=e=>typeof e>"u",Qa=e=>e===null,Pe=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Rt=e=>Pe(e)&&Object.keys(e).length===0,oe=e=>Array.isArray(e),ei=e=>typeof e=="string",ti=e=>typeof e=="number"&&!isNaN(e),ni=e=>typeof e=="boolean",oi=e=>e instanceof RegExp,Re=e=>e instanceof Map,De=e=>e instanceof Set,uo=e=>Za(e)==="Symbol",ri=e=>e instanceof Date&&!isNaN(e.valueOf()),si=e=>e instanceof Error,fo=e=>typeof e=="number"&&isNaN(e),ai=e=>ni(e)||Qa(e)||co(e)||ti(e)||ei(e)||uo(e),ii=e=>typeof e=="bigint",li=e=>e===1/0||e===-1/0,ci=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),ui=e=>e instanceof URL;w();var po=e=>e.replace(/\./g,"\\."),Dt=e=>e.map(String).map(po).join("."),Ae=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(i==="."){t.push(n),n="";continue}n+=i}const o=n;return t.push(o),t};w();function J(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var ho=[J(co,"undefined",()=>null,()=>{}),J(ii,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),J(ri,"Date",e=>e.toISOString(),e=>new Date(e)),J(si,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),J(oi,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),J(De,"set",e=>[...e.values()],e=>new Set(e)),J(Re,"map",e=>[...e.entries()],e=>new Map(e)),J(e=>fo(e)||li(e),"number",e=>fo(e)?"NaN":e>0?"Infinity":"-Infinity",Number),J(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),J(ui,"URL",e=>e.toString(),e=>new URL(e))];function Xe(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var mo=Xe((e,t)=>uo(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),di=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),_o=Xe(ci,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=di[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function go(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var yo=Xe(go,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Eo=Xe((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),fi=[yo,mo,Eo,_o],wo=(e,t)=>{const n=lo(fi,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=lo(ho,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},bo={};ho.forEach(e=>{bo[e.annotation]=e});var pi=(e,t,n)=>{if(oe(t))switch(t[0]){case"symbol":return mo.untransform(e,t,n);case"class":return yo.untransform(e,t,n);case"custom":return Eo.untransform(e,t,n);case"typed-array":return _o.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=bo[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};w();var Ee=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function vo(e){if(Je(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Je(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Je(e,"constructor"))throw new Error("constructor is not allowed as a property")}var hi=(e,t)=>{vo(t);for(let n=0;n<t.length;n++){const o=t[n];if(De(e))e=Ee(e,+o);else if(Re(e)){const r=+o,i=+t[++n]==0?"key":"value",a=Ee(e,r);switch(i){case"key":e=a;break;case"value":e=e.get(a);break}}else e=e[o]}return e},At=(e,t,n)=>{if(vo(t),t.length===0)return n(e);let o=e;for(let i=0;i<t.length-1;i++){const a=t[i];if(oe(o)){const l=+a;o=o[l]}else if(Pe(o))o=o[a];else if(De(o)){const l=+a;o=Ee(o,l)}else if(Re(o)){if(i===t.length-2)break;const l=+a,u=+t[++i]==0?"key":"value",c=Ee(o,l);switch(u){case"key":o=c;break;case"value":o=o.get(c);break}}}const r=t[t.length-1];if(oe(o)?o[+r]=n(o[+r]):Pe(o)&&(o[r]=n(o[r])),De(o)){const i=Ee(o,+r),a=n(i);i!==a&&(o.delete(i),o.add(a))}if(Re(o)){const i=+t[t.length-2],a=Ee(o,i);switch(+r==0?"key":"value"){case"key":{const l=n(a);o.set(l,o.get(a)),l!==a&&o.delete(a);break}case"value":{o.set(a,n(o.get(a)));break}}}return e};function xt(e,t,n=[]){if(!e)return;if(!oe(e)){ye(e,(i,a)=>xt(i,t,[...n,...Ae(a)]));return}const[o,r]=e;r&&ye(r,(i,a)=>{xt(i,t,[...n,...Ae(a)])}),t(o,n)}function mi(e,t,n){return xt(t,(o,r)=>{e=At(e,r,i=>pi(i,o,n))}),e}function _i(e,t){function n(o,r){const i=hi(e,Ae(r));o.map(Ae).forEach(a=>{e=At(e,a,()=>i)})}if(oe(t)){const[o,r]=t;o.forEach(i=>{e=At(e,Ae(i),()=>e)}),r&&ye(r,n)}else ye(t,n);return e}var gi=(e,t)=>Pe(e)||oe(e)||Re(e)||De(e)||go(e,t);function yi(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function Ei(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(l=>l.map(String)).sort((l,u)=>l.length-u.length));const[i,...a]=r;i.length===0?o=a.map(Dt):n[Dt(i)]=a.map(Dt)}),o?Rt(n)?[o]:[o,n]:Rt(n)?void 0:n}var ko=(e,t,n,o,r=[],i=[],a=new Map)=>{var l;const u=ai(e);if(!u){yi(e,r,t);const _=a.get(e);if(_)return o?{transformedValue:null}:_}if(!gi(e,n)){const _=wo(e,n),b=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return u||a.set(e,b),b}if(Je(i,e))return{transformedValue:null};const c=wo(e,n),d=(l=c==null?void 0:c.value)!=null?l:e,f=oe(d)?[]:{},h={};ye(d,(_,b)=>{if(b==="__proto__"||b==="constructor"||b==="prototype")throw new Error(`Detected property ${b}. This is a prototype pollution risk, please remove it from your object.`);const m=ko(_,t,n,o,[...r,b],[...i,e],a);f[b]=m.transformedValue,oe(m.annotations)?h[b]=m.annotations:Pe(m.annotations)&&ye(m.annotations,(k,I)=>{h[po(b)+"."+I]=k})});const p=Rt(h)?{transformedValue:f,annotations:c?[c.type]:void 0}:{transformedValue:f,annotations:c?[c.type,h]:h};return u||a.set(e,p),p};w(),w();function Oo(e){return Object.prototype.toString.call(e).slice(8,-1)}function So(e){return Oo(e)==="Array"}function wi(e){if(Oo(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function bi(e,t,n,o,r){const i={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=n),r&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function $t(e,t={}){if(So(e))return e.map(r=>$t(r,t));if(!wi(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,i)=>{if(So(t.props)&&!t.props.includes(i))return r;const a=e[i],l=$t(a,t);return bi(r,i,l,e,t.nonenumerable),r},{})}var R=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Ya,this.symbolRegistry=new io(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new Xa,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=ko(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=Ei(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=$t(t);return n!=null&&n.values&&(o=mi(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=_i(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};R.defaultInstance=new R,R.serialize=R.defaultInstance.serialize.bind(R.defaultInstance),R.deserialize=R.defaultInstance.deserialize.bind(R.defaultInstance),R.stringify=R.defaultInstance.stringify.bind(R.defaultInstance),R.parse=R.defaultInstance.parse.bind(R.defaultInstance),R.registerClass=R.defaultInstance.registerClass.bind(R.defaultInstance),R.registerSymbol=R.defaultInstance.registerSymbol.bind(R.defaultInstance),R.registerCustom=R.defaultInstance.registerCustom.bind(R.defaultInstance),R.allowErrorProps=R.defaultInstance.allowErrorProps.bind(R.defaultInstance),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w();var To;(To=O).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__!=null||(To.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Io;(Io=O).__VUE_DEVTOOLS_KIT_RPC_CLIENT__!=null||(Io.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Vo;(Vo=O).__VUE_DEVTOOLS_KIT_RPC_SERVER__!=null||(Vo.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Co;(Co=O).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__!=null||(Co.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var No;(No=O).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__!=null||(No.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var Po;(Po=O).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__!=null||(Po.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),w(),w(),w(),w(),w(),w(),w();/*!
1
+ (function(z,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(z=typeof globalThis<"u"?globalThis:z||self,s(z["@stonecrop/desktop"]={},z.Vue))})(this,function(z,s){"use strict";const Br={class:"action-menu-icon"},Hr=["onclick"],zr={key:1},Kr=["onClick"],Fr={class:"dropdown-container"},Wr={class:"dropdown"},Gr=["onclick"],Yr=["href"],qr={class:"dropdown-item"},Jr=s.defineComponent({__name:"ActionSet",props:{elements:{}},setup(e){const t=s.ref(e.elements),n=s.ref(!1),o=s.ref(null),r=s.ref(!1),i=s.ref(!1);s.onMounted(()=>{a()});const a=()=>{for(const d of t.value)d.type==="dropdown"&&(d.show=!1)},l=()=>{r.value=!0,o.value=setTimeout(()=>{r.value&&(n.value=!0)},500)},c=()=>{r.value=!1,i.value=!1,clearTimeout(o.value),n.value=!1},u=d=>{const f=!t.value[d].show;a(),t.value[d].show=f};return(d,f)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass([{"open-set":n.value,"hovered-and-closed":i.value},"action-set collapse"]),onMouseover:l,onMouseleave:c},[s.createElementVNode("div",Br,[s.createElementVNode("div",{id:"chevron",onClick:f[0]||(f[0]=p=>i.value=!i.value)},f[1]||(f[1]=[s.createElementVNode("svg",{class:"leftBar",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","xml:space":"preserve",width:"50",height:"50"},[s.createElementVNode("polygon",{points:"54.2,33.4 29.2,58.8 25,54.6 50,29.2 "})],-1),s.createElementVNode("svg",{class:"rightBar",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","xml:space":"preserve",width:"50",height:"50"},[s.createElementVNode("polygon",{points:"70.8,58.8 45.8,33.4 50,29.2 75,54.6 "})],-1)]))]),f[2]||(f[2]=s.createElementVNode("div",{style:{"margin-right":"30px"}},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.value,(p,_)=>(s.openBlock(),s.createElementBlock("div",{class:"action-element",key:p.label},[p.type=="button"?(s.openBlock(),s.createElementBlock("button",{key:0,onclick:p.action,class:"button-default"},s.toDisplayString(p.label),9,Hr)):s.createCommentVNode("",!0),p.type=="dropdown"?(s.openBlock(),s.createElementBlock("div",zr,[s.createElementVNode("button",{class:"button-default",onClick:m=>u(_)},s.toDisplayString(p.label),9,Kr),s.withDirectives(s.createElementVNode("div",Fr,[s.createElementVNode("div",Wr,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(p.actions,m=>(s.openBlock(),s.createElementBlock("div",{key:m.label},[m.action!=null?(s.openBlock(),s.createElementBlock("button",{key:0,onclick:m.action,class:"dropdown-item"},s.toDisplayString(m.label),9,Gr)):m.link!=null?(s.openBlock(),s.createElementBlock("a",{key:1,href:m.link},[s.createElementVNode("button",qr,s.toDisplayString(m.label),1)],8,Yr)):s.createCommentVNode("",!0)]))),128))])],512),[[s.vShow,p.show]])])):s.createCommentVNode("",!0)]))),128))],34))}}),ct=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},cn=ct(Jr,[["__scopeId","data-v-38e7af34"]]),Xr={};function Zr(e,t){return s.openBlock(),s.createElementBlock("dialog")}const un=ct(Xr,[["render",Zr]]),Qr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function dn(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const fn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const es=Object.prototype.toString,ts=e=>es.call(e)==="[object Object]",ns=()=>{},pn=os();function os(){var e,t;return fn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ut(e){return Array.isArray(e)?e:[e]}function rs(...e){if(e.length!==1)return s.toRef(...e);const t=e[0];return typeof t=="function"?s.readonly(s.customRef(()=>({get:t,set:ns}))):s.ref(t)}function ss(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const as=fn?window:void 0;function is(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ls(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),r=s.computed(()=>{const l=ut(s.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=ss(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(u=>is(u)))!=null?c:[as].filter(u=>u!=null),ut(s.toValue(r.value?e[1]:e[0])),ut(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,c,u,d])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=ts(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(_=>u.map(m=>o(p,_,m,f)))))},{flush:"post"}),a=()=>{i(),n()};return dn(n),a}function dt(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function hn(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 n=e.parentNode;return!n||n.tagName==="BODY"?!1:hn(n)}}function cs(e){const t=e||window.event,n=t.target;return hn(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ft=new WeakMap;function us(e,t=!1){const n=s.ref(t);let o=null,r="";s.watch(rs(e),l=>{const c=dt(s.toValue(l));if(c){const u=c;if(ft.get(u)||ft.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=dt(s.toValue(e));!l||n.value||(pn&&(o=ls(l,"touchmove",c=>{cs(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},a=()=>{const l=dt(s.toValue(e));!l||!n.value||(pn&&(o==null||o()),l.style.overflow=r,ft.delete(l),n.value=!1)};return dn(a),s.computed({get(){return n.value},set(l){l?i():a()}})}function ds(){let e=!1;const t=s.shallowRef(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const r=us(n,o.value);s.watch(t,i=>r.value=i)}}ds(),typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fs={class:"aform"},ps=s.defineComponent({__name:"AForm",props:{modelValue:{},data:{},readonly:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,o=s.ref(e.data||{}),r=a=>{let l={};for(const[c,u]of Object.entries(a))["component","fieldtype"].includes(c)||(l[c]=u),c==="rows"&&u&&u.length===0&&(l.rows=o.value[a.fieldname]);return l},i=s.computed({get:()=>e.modelValue.map((a,l)=>s.computed({get(){return a.value},set:c=>{e.modelValue[l].value=c,n("update:modelValue",e.modelValue)}})),set:()=>{}});return(a,l)=>(s.openBlock(),s.createElementBlock("form",fs,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.modelValue,(c,u)=>(s.openBlock(),s.createBlock(s.resolveDynamicComponent(c.component),s.mergeProps({key:u,schema:c,modelValue:i.value[u].value,"onUpdate:modelValue":d=>i.value[u].value=d,data:o.value[c.fieldname],readonly:a.readonly,ref_for:!0},r(c)),null,16,["schema","modelValue","onUpdate:modelValue","data","readonly"]))),128))]))}}),hs=Qr(ps,[["__scopeId","data-v-68845234"]]);var ms=Object.defineProperty,_s=(e,t,n)=>t in e?ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t,n)=>_s(e,typeof t!="symbol"?t+"":t,n);function pt(e){this.message=e||""}pt.prototype=Object.create(Error.prototype,{constructor:{value:pt},name:{value:"NotImplemented"},stack:{get:function(){return new Error().stack}}});const mn=class it{constructor(t,n,o,r,i){if(M(this,"name","Stonecrop"),M(this,"registry"),M(this,"store"),M(this,"schema"),M(this,"workflow"),M(this,"actions"),it._root)return it._root;it._root=this,this.registry=t,this.store=n,this.schema=o,this.workflow=r,this.actions=i}setup(t){this.getMeta(t),this.getWorkflow(t),this.getActions(t)}getMeta(t){return this.registry.getMeta?this.registry.getMeta(t.doctype):new pt(t.doctype)}getWorkflow(t){const n=this.registry.registry[t.slug];this.workflow=n.workflow}getActions(t){const n=this.registry.registry[t.slug];this.actions=n.actions}async getRecords(t,n){this.store.$patch({records:[]});const o=await(await fetch(`/${t.slug}`,n)).json();this.store.$patch({records:o})}async getRecord(t,n){this.store.$patch({record:{}});const o=await(await fetch(`/${t.slug}/${n}`)).json();this.store.$patch({record:o})}runAction(t,n,o){var r;const i=(r=this.registry.registry[t.slug].actions)==null?void 0:r.get(n);if(this.workflow){const{initialState:a}=this.workflow;this.workflow.transition(a,{type:n}),i&&i.length>0&&i.forEach(l=>{new Function(l)(o)})}}};M(mn,"_root");let gs=mn;var ys=Object.create,_n=Object.defineProperty,Es=Object.getOwnPropertyDescriptor,ht=Object.getOwnPropertyNames,ws=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty,vs=(e,t)=>function(){return e&&(t=(0,e[ht(e)[0]])(e=0)),t},ks=(e,t)=>function(){return t||(0,e[ht(e)[0]])((t={exports:{}}).exports,t),t.exports},Os=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ht(t))!bs.call(e,r)&&r!==n&&_n(e,r,{get:()=>t[r],enumerable:!(o=Es(t,r))||o.enumerable});return e},Ss=(e,t,n)=>(n=e!=null?ys(ws(e)):{},Os(_n(n,"default",{value:e,enumerable:!0}),e)),Ve=vs({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Ts=ks({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Ve(),t.exports=o;function n(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function o(i){if(i=i||{},i.circles)return r(i);const a=new Map;if(a.set(Date,f=>new Date(f)),a.set(Map,(f,p)=>new Map(c(Array.from(f),p))),a.set(Set,(f,p)=>new Set(c(Array.from(f),p))),i.constructorHandlers)for(const f of i.constructorHandlers)a.set(f[0],f[1]);let l=null;return i.proto?d:u;function c(f,p){const _=Object.keys(f),m=new Array(_.length);for(let b=0;b<_.length;b++){const h=_[b],v=f[h];typeof v!="object"||v===null?m[h]=v:v.constructor!==Object&&(l=a.get(v.constructor))?m[h]=l(v,p):ArrayBuffer.isView(v)?m[h]=n(v):m[h]=p(v)}return m}function u(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return c(f,u);if(f.constructor!==Object&&(l=a.get(f.constructor)))return l(f,u);const p={};for(const _ in f){if(Object.hasOwnProperty.call(f,_)===!1)continue;const m=f[_];typeof m!="object"||m===null?p[_]=m:m.constructor!==Object&&(l=a.get(m.constructor))?p[_]=l(m,u):ArrayBuffer.isView(m)?p[_]=n(m):p[_]=u(m)}return p}function d(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return c(f,d);if(f.constructor!==Object&&(l=a.get(f.constructor)))return l(f,d);const p={};for(const _ in f){const m=f[_];typeof m!="object"||m===null?p[_]=m:m.constructor!==Object&&(l=a.get(m.constructor))?p[_]=l(m,d):ArrayBuffer.isView(m)?p[_]=n(m):p[_]=d(m)}return p}}function r(i){const a=[],l=[],c=new Map;if(c.set(Date,_=>new Date(_)),c.set(Map,(_,m)=>new Map(d(Array.from(_),m))),c.set(Set,(_,m)=>new Set(d(Array.from(_),m))),i.constructorHandlers)for(const _ of i.constructorHandlers)c.set(_[0],_[1]);let u=null;return i.proto?p:f;function d(_,m){const b=Object.keys(_),h=new Array(b.length);for(let v=0;v<b.length;v++){const T=b[v],N=_[T];if(typeof N!="object"||N===null)h[T]=N;else if(N.constructor!==Object&&(u=c.get(N.constructor)))h[T]=u(N,m);else if(ArrayBuffer.isView(N))h[T]=n(N);else{const x=a.indexOf(N);x!==-1?h[T]=l[x]:h[T]=m(N)}}return h}function f(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return d(_,f);if(_.constructor!==Object&&(u=c.get(_.constructor)))return u(_,f);const m={};a.push(_),l.push(m);for(const b in _){if(Object.hasOwnProperty.call(_,b)===!1)continue;const h=_[b];if(typeof h!="object"||h===null)m[b]=h;else if(h.constructor!==Object&&(u=c.get(h.constructor)))m[b]=u(h,f);else if(ArrayBuffer.isView(h))m[b]=n(h);else{const v=a.indexOf(h);v!==-1?m[b]=l[v]:m[b]=f(h)}}return a.pop(),l.pop(),m}function p(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return d(_,p);if(_.constructor!==Object&&(u=c.get(_.constructor)))return u(_,p);const m={};a.push(_),l.push(m);for(const b in _){const h=_[b];if(typeof h!="object"||h===null)m[b]=h;else if(h.constructor!==Object&&(u=c.get(h.constructor)))m[b]=u(h,p);else if(ArrayBuffer.isView(h))m[b]=n(h);else{const v=a.indexOf(h);v!==-1?m[b]=l[v]:m[b]=p(h)}}return a.pop(),l.pop(),m}}}});Ve(),Ve(),Ve();var gn=typeof navigator<"u",S=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof S.chrome<"u"&&S.chrome.devtools,gn&&(S.self,S.top);var yn;typeof navigator<"u"&&((yn=navigator.userAgent)==null||yn.toLowerCase().includes("electron")),Ve();var Is=Ss(Ts()),Vs=/(?:^|[-_/])(\w)/g;function Cs(e,t){return t?t.toUpperCase():""}function Ps(e){return e&&`${e}`.replace(Vs,Cs)}function Ns(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const i=r.lastIndexOf(t);return r.substring(0,i)}}var En=(0,Is.default)({circles:!0});const Rs={trailing:!0};function he(e,t=25,n={}){if(n={...Rs,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,i=[],a,l;const c=(u,d)=>(a=Ds(e,u,d),a.finally(()=>{if(a=null,n.trailing&&l&&!r){const f=c(u,l);return l=null,f}}),a);return function(...u){return a?(n.trailing&&(l=u),a):new Promise(d=>{const f=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const p=n.leading?o:c(this,u);for(const _ of i)_(p);i=[]},t),f?(o=c(this,u),d(o)):i.push(d)})}}async function Ds(e,t,n){return await e.apply(t,n)}function mt(e,t={},n){for(const o in e){const r=e[o],i=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?mt(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const As={run:e=>e()},xs=()=>As,wn=typeof console.createTask<"u"?console.createTask:xs;function $s(e,t){const n=t.shift(),o=wn(n);return e.reduce((r,i)=>r.then(()=>o.run(()=>i(...t))),Promise.resolve())}function Ls(e,t){const n=t.shift(),o=wn(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function _t(e,t){for(const n of[...e])n(t)}class js{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!o.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...i)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...i));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=mt(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=mt(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith($s,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ls,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&_t(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&r&&_t(this._after,r)}):(this._after&&r&&_t(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function bn(){return new js}var Ms=Object.create,vn=Object.defineProperty,Us=Object.getOwnPropertyDescriptor,gt=Object.getOwnPropertyNames,Bs=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty,zs=(e,t)=>function(){return e&&(t=(0,e[gt(e)[0]])(e=0)),t},kn=(e,t)=>function(){return t||(0,e[gt(e)[0]])((t={exports:{}}).exports,t),t.exports},Ks=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of gt(t))!Hs.call(e,r)&&r!==n&&vn(e,r,{get:()=>t[r],enumerable:!(o=Us(t,r))||o.enumerable});return e},Fs=(e,t,n)=>(n=e!=null?Ms(Bs(e)):{},Ks(vn(n,"default",{value:e,enumerable:!0}),e)),w=zs({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Ws=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){w(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],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"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},c=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),f=function(b,h){var v="-",T="",N="",x=!0,D={},Z,k,O,y,g,E,I,C,W,B,V,G,P,$,ae="";if(typeof b!="string")return"";if(typeof h=="string"&&(v=h),I=l.en,C=a.en,typeof h=="object"){Z=h.maintainCase||!1,D=h.custom&&typeof h.custom=="object"?h.custom:D,O=+h.truncate>1&&h.truncate||!1,y=h.uric||!1,g=h.uricNoSlash||!1,E=h.mark||!1,x=!(h.symbols===!1||h.lang===!1),v=h.separator||v,y&&(ae+=c),g&&(ae+=u),E&&(ae+=d),I=h.lang&&l[h.lang]&&x?l[h.lang]:x?l.en:{},C=h.lang&&a[h.lang]?a[h.lang]:h.lang===!1||h.lang===!0?{}:a.en,h.titleCase&&typeof h.titleCase.length=="number"&&Array.prototype.toString.call(h.titleCase)?(h.titleCase.forEach(function(q){D[q+""]=q+""}),k=!0):k=!!h.titleCase,h.custom&&typeof h.custom.length=="number"&&Array.prototype.toString.call(h.custom)&&h.custom.forEach(function(q){D[q+""]=q+""}),Object.keys(D).forEach(function(q){var Ke;q.length>1?Ke=new RegExp("\\b"+_(q)+"\\b","gi"):Ke=new RegExp(_(q),"gi"),b=b.replace(Ke,D[q])});for(V in D)ae+=V}for(ae+=v,ae=_(ae),b=b.replace(/(^\s+|\s+$)/g,""),P=!1,$=!1,B=0,G=b.length;B<G;B++)V=b[B],m(V,D)?P=!1:C[V]?(V=P&&C[V].match(/[A-Za-z0-9]/)?" "+C[V]:C[V],P=!1):V in o?(B+1<G&&r.indexOf(b[B+1])>=0?(N+=V,V=""):$===!0?(V=i[N]+o[V],N=""):V=P&&o[V].match(/[A-Za-z0-9]/)?" "+o[V]:o[V],P=!1,$=!1):V in i?(N+=V,V="",B===G-1&&(V=i[N]),$=!0):I[V]&&!(y&&c.indexOf(V)!==-1)&&!(g&&u.indexOf(V)!==-1)?(V=P||T.substr(-1).match(/[A-Za-z0-9]/)?v+I[V]:I[V],V+=b[B+1]!==void 0&&b[B+1].match(/[A-Za-z0-9]/)?v:"",P=!0):($===!0?(V=i[N]+V,N="",$=!1):P&&(/[A-Za-z0-9]/.test(V)||T.substr(-1).match(/A-Za-z0-9]/))&&(V=" "+V),P=!1),T+=V.replace(new RegExp("[^\\w\\s"+ae+"_-]","g"),v);return k&&(T=T.replace(/(\w)(\S*)/g,function(q,Ke,Ur){var ln=Ke.toUpperCase()+(Ur!==null?Ur:"");return Object.keys(D).indexOf(ln.toLowerCase())<0?ln:ln.toLowerCase()})),T=T.replace(/\s+/g,v).replace(new RegExp("\\"+v+"+","g"),v).replace(new RegExp("(^\\"+v+"+|\\"+v+"+$)","g"),""),O&&T.length>O&&(W=T.charAt(O)===v,T=T.slice(0,O),W||(T=T.slice(0,T.lastIndexOf(v)))),!Z&&!k&&(T=T.toLowerCase()),T},p=function(b){return function(h){return f(h,b)}},_=function(b){return b.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},m=function(b,h){for(var v in h)if(h[v]===b)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=p;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=p}catch{}}(e)}}),Gs=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){w(),t.exports=Ws()}});w(),w(),w(),w(),w(),w(),w(),w();function Ys(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&(t=e.__file)!=null&&t.endsWith("index.vue")?"":n}function qs(e){const t=e.__file;if(t)return Ps(Ns(t,".vue"))}function On(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function yt(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Sn(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=yt(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function Fe(e){var t,n,o;const r=Ys((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const a in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[a]===(e==null?void 0:e.type))return On(e,a);for(const a in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[a]===(e==null?void 0:e.type))return On(e,a);return qs((e==null?void 0:e.type)||{})||"Anonymous Component"}function Js(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,i=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${i}`}function Et(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function Xs(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var We;function Zs(e){return We||(We=document.createRange()),We.selectNode(e),We.getBoundingClientRect()}function Qs(e){const t=Xs();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let i;if(r.component)i=ie(r.component);else if(r.el){const a=r.el;a.nodeType===1||a.getBoundingClientRect?i=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(i=Zs(a))}i&&ea(t,i)}return t}function ea(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var Tn={top:0,left:0,right:0,bottom:0,width:0,height:0};function ie(e){const t=e.subTree.el;return typeof window>"u"?Tn:Sn(e)?Qs(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?ie(e.subTree.component):Tn}w();function wt(e){return Sn(e)?ta(e.subTree):e.subTree?[e.subTree.el]:[]}function ta(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...wt(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var In="__vue-devtools-component-inspector__",Vn="__vue-devtools-component-inspector__card__",Cn="__vue-devtools-component-inspector__name__",Pn="__vue-devtools-component-inspector__indicator__",Nn={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},na={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},oa={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function me(){return document.getElementById(In)}function ra(){return document.getElementById(Vn)}function sa(){return document.getElementById(Pn)}function aa(){return document.getElementById(Cn)}function bt(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function vt(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:In,Object.assign(n.style,{...Nn,...bt(e.bounds),...e.style});const o=document.createElement("span");o.id=Vn,Object.assign(o.style,{...na,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Cn,r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const i=document.createElement("i");return i.id=Pn,i.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(i.style,oa),o.appendChild(r),o.appendChild(i),n.appendChild(o),document.body.appendChild(n),n}function kt(e){const t=me(),n=ra(),o=aa(),r=sa();t&&(Object.assign(t.style,{...Nn,...bt(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function ia(e){const t=ie(e);if(!t.width&&!t.height)return;const n=Fe(e);me()?kt({bounds:t,name:n}):vt({bounds:t,name:n})}function Rn(){const e=me();e&&(e.style.display="none")}var Ot=null;function St(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Ot=n,n.vnode.el)){const o=ie(n),r=Fe(n);me()?kt({bounds:o,name:r}):vt({bounds:o,name:r})}}}function la(e,t){if(e.preventDefault(),e.stopPropagation(),Ot){const n=Js(Ot);t(n)}}var Ge=null;function ca(){Rn(),window.removeEventListener("mouseover",St),window.removeEventListener("click",Ge,!0),Ge=null}function ua(){return window.addEventListener("mouseover",St),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),la(n,o=>{window.removeEventListener("click",t,!0),Ge=null,window.removeEventListener("mouseover",St);const r=me();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Ge=t,window.addEventListener("click",t,!0)})}function da(e){const t=Et(U.value,e.id);if(t){const[n]=wt(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=ie(t),r=document.createElement("div"),i={...bt(o),position:"absolute"};Object.assign(r.style,i),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=ie(t);if(o.width||o.height){const r=Fe(t),i=me();i?kt({...e,name:r,bounds:o}):vt({...e,name:r,bounds:o}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}w();var Dn;(Dn=S).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||(Dn.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function fa(e){let t=0;const n=setInterval(()=>{S.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function pa(){const e=S.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function ha(){return new Promise(e=>{function t(){pa(),e(S.__VUE_INSPECTOR__)}S.__VUE_INSPECTOR__?t():fa(()=>{t()})})}w(),w();function ma(e){return!!(e&&e.__v_isReadonly)}function An(e){return ma(e)?An(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isRef===!0)}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}var _a=class{constructor(){this.refEditor=new ga}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const l=r.shift();e instanceof Map&&(e=e.get(l)),e instanceof Set?e=Array.from(e.values())[l]:e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const i=r[0],a=this.refEditor.get(e)[i];o?o(e,i,n):this.refEditor.isRef(a)?this.refEditor.set(a,n):e[i]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const i=o.shift();e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Ce(t)instanceof Map?t.delete(n):Ce(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):Ce(t)instanceof Map?t.set(e.newKey||n,o):Ce(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},ga=class{set(e,t){if(Tt(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(i=>{e.set(i,Reflect.get(t,i)),r.delete(i)}),r.forEach(i=>e.delete(i));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return Tt(e)?e.value:e}isRef(e){return Tt(e)||An(e)}};w(),w(),w();var ya="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Ea(){if(!gn||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(ya);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}w(),w(),w();var xn;(xn=S).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS!=null||(xn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var wa=new Proxy(S.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function ba(e,t){A.timelineLayersState[t.id]=!1,wa.push({...e,descriptorId:t.id,appRecord:yt(t.app)})}var $n;($n=S).__VUE_DEVTOOLS_KIT_INSPECTOR__!=null||($n.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var It=new Proxy(S.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ln=he(()=>{ge.hooks.callHook("sendInspectorToClient",jn())});function va(e,t){var n,o;It.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:yt(t.app)}),Ln()}function jn(){return It.filter(e=>e.descriptor.app===U.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ye(e,t){return It.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function ka(){const e=bn();e.hook("addInspector",({inspector:o,plugin:r})=>{va(o,r.descriptor)});const t=he(async({inspectorId:o,plugin:r})=>{var i;if(!o||!((i=r==null?void 0:r.descriptor)!=null&&i.app)||A.highPerfModeEnabled)return;const a=Ye(o,r.descriptor.app),l={app:r.descriptor.app,inspectorId:o,filter:(a==null?void 0:a.treeFilter)||"",rootNodes:[]};await new Promise(c=>{e.callHookWith(async u=>{await Promise.all(u.map(d=>d(l))),c()},"getInspectorTree")}),e.callHookWith(async c=>{await Promise.all(c.map(u=>u({inspectorId:o,rootNodes:l.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=he(async({inspectorId:o,plugin:r})=>{var i;if(!o||!((i=r==null?void 0:r.descriptor)!=null&&i.app)||A.highPerfModeEnabled)return;const a=Ye(o,r.descriptor.app),l={app:r.descriptor.app,inspectorId:o,nodeId:(a==null?void 0:a.selectedNodeId)||"",state:null},c={currentTab:`custom-inspector:${o}`};l.nodeId&&await new Promise(u=>{e.callHookWith(async d=>{await Promise.all(d.map(f=>f(l,c))),u()},"getInspectorState")}),e.callHookWith(async u=>{await Promise.all(u.map(d=>d({inspectorId:o,nodeId:l.nodeId,state:l.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:i})=>{const a=Ye(o,i.descriptor.app);a&&(a.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{ba(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var i;const a=["performance","component-event","keyboard","mouse"];A.highPerfModeEnabled||!((i=A.timelineLayersState)!=null&&i[r.descriptor.id])&&!a.includes(o.layerId)||e.callHookWith(async l=>{await Promise.all(l.map(c=>c(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const i=r.id.toString();return[...r.instanceMap].filter(([a])=>a.split(":")[0]===i).map(([,a])=>a)}),e.hook("getComponentBounds",async({instance:o})=>ie(o)),e.hook("getComponentName",({instance:o})=>Fe(o)),e.hook("componentHighlight",({uid:o})=>{const r=U.value.instanceMap.get(o);r&&ia(r)}),e.hook("componentUnhighlight",()=>{Rn()}),e}var Mn;(Mn=S).__VUE_DEVTOOLS_KIT_APP_RECORDS__!=null||(Mn.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Un;(Un=S).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__!=null||(Un.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Bn;(Bn=S).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__!=null||(Bn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Hn;(Hn=S).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__!=null||(Hn.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var zn;(zn=S).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__!=null||(zn.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var le="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Oa(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Ea()}}var Kn;(Kn=S)[le]!=null||(Kn[le]=Oa());var Sa=he(e=>{ge.hooks.callHook("devtoolsStateUpdated",{state:e})});he((e,t)=>{ge.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var qe=new Proxy(S.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?S.__VUE_DEVTOOLS_KIT_APP_RECORDS__:S.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),U=new Proxy(S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Fn(){Sa({...S[le],appRecords:qe.value,activeAppRecordId:U.id,tabs:S.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:S.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Ta(e){S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Fn()}function Ia(e){S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Fn()}var A=new Proxy(S[le],{get(e,t){return t==="appRecords"?qe:t==="activeAppRecordId"?U.id:t==="tabs"?S.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?S.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:S[le][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...S[le]},e[t]=n,S[le][t]=n,!0}});function Va(e={}){var t,n,o;const{file:r,host:i,baseUrl:a=window.location.origin,line:l=0,column:c=0}=e;if(r){if(i==="chrome-extension"){const u=r.replace(/\\/g,"\\\\"),d=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${d}__open-in-editor?file=${encodeURI(r)}`).then(f=>{if(!f.ok){const p=`Opening component ${u} failed`;console.log(`%c${p}`,"color:red")}})}else if(A.vitePluginDetected){const u=(o=S.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:a;S.__VUE_INSPECTOR__.openInEditor(u,r,l,c)}}}w(),w(),w(),w(),w();var Wn;(Wn=S).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__!=null||(Wn.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Vt=new Proxy(S.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Ct(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Pt(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Ca(e){var t,n,o;const r=(n=(t=Vt.find(i=>{var a;return i[0].id===e&&!!((a=i[0])!=null&&a.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function Gn(e,t){var n,o,r;const i=Pt(e);if(i){const a=localStorage.getItem(i);if(a)return JSON.parse(a)}if(e){const a=(o=(n=Vt.find(l=>l[0].id===e))==null?void 0:n[0])!=null?o:null;return Ct((r=a==null?void 0:a.settings)!=null?r:{})}return Ct(t)}function Pa(e,t){const n=Pt(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Ct(t)))}function Na(e,t,n){const o=Pt(e),r=localStorage.getItem(o),i=JSON.parse(r||"{}"),a={...i,[t]:n};localStorage.setItem(o,JSON.stringify(a)),ge.hooks.callHookWith(l=>{l.forEach(c=>c({pluginId:e,key:t,oldValue:i[t],newValue:n,settings:a}))},"setPluginSettings")}w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w();var Yn,qn,H=(qn=(Yn=S).__VUE_DEVTOOLS_HOOK)!=null?qn:Yn.__VUE_DEVTOOLS_HOOK=bn(),Ra={vueAppInit(e){H.hook("app:init",e)},vueAppUnmount(e){H.hook("app:unmount",e)},vueAppConnected(e){H.hook("app:connected",e)},componentAdded(e){return H.hook("component:added",e)},componentEmit(e){return H.hook("component:emit",e)},componentUpdated(e){return H.hook("component:updated",e)},componentRemoved(e){return H.hook("component:removed",e)},setupDevtoolsPlugin(e){H.hook("devtools-plugin:setup",e)},perfStart(e){return H.hook("perf:start",e)},perfEnd(e){return H.hook("perf:end",e)}},Jn={on:Ra,setupDevToolsPlugin(e,t){return H.callHook("devtools-plugin:setup",e,t)}},Da=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(A.highPerfModeEnabled)return;const n=jn().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];H.callHook("component:updated",...o)}else H.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Pa(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){A.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){A.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return A.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){A.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Gn(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Aa=Da;w(),w(),w(),w();var xa="__vue_devtool_undefined__",$a="__vue_devtool_infinity__",La="__vue_devtool_negative_infinity__",ja="__vue_devtool_nan__";w(),w();var Ma={[xa]:"undefined",[ja]:"NaN",[$a]:"Infinity",[La]:"-Infinity"};Object.entries(Ma).reduce((e,[t,n])=>(e[n]=t,e),{}),w(),w(),w(),w(),w();var Xn;(Xn=S).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__!=null||(Xn.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Zn(e,t){return Jn.setupDevToolsPlugin(e,t)}function Ua(e,t){const[n,o]=e;if(n.app!==t)return;const r=new Aa({plugin:{setupFn:o,descriptor:n},ctx:ge});n.packageName==="vuex"&&r.on.editInspectorState(i=>{r.sendInspectorState(i.inspectorId)}),o(r)}function Qn(e,t){S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||A.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Vt.forEach(n=>{Ua(n,e)}))}w(),w();var Pe="__VUE_DEVTOOLS_ROUTER__",_e="__VUE_DEVTOOLS_ROUTER_INFO__",eo;(eo=S)[_e]!=null||(eo[_e]={currentRoute:null,routes:[]});var to;(to=S)[Pe]!=null||(to[Pe]={}),new Proxy(S[_e],{get(e,t){return S[_e][t]}}),new Proxy(S[Pe],{get(e,t){if(t==="value")return S[Pe]}});function Ba(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Nt(e){return e.map(t=>{let{path:n,name:o,children:r,meta:i}=t;return r!=null&&r.length&&(r=Nt(r)),{path:n,name:o,children:r,meta:i}})}function Ha(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:i,matched:a,params:l,query:c}=e;return{fullPath:t,hash:n,href:o,path:r,name:i,params:l,query:c,matched:Nt(a)}}return e}function za(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,i=Ha(r==null?void 0:r.currentRoute.value),a=Nt(Ba(r)),l=console.warn;console.warn=()=>{},S[_e]={currentRoute:i?En(i):{},routes:En(a)},S[Pe]=r,console.warn=l}n(),Jn.on.componentUpdated(he(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!A.highPerfModeEnabled&&ge.hooks.callHook("routerInfoUpdated",{state:S[_e]}))},200))}function Ka(e){return{async getInspectorTree(t){const n={...t,app:U.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(i=>i(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:U.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async i=>{await Promise.all(i.map(a=>a(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new _a,o={...t,app:U.value.app,set:(r,i=t.path,a=t.state.value,l)=>{n.set(r,i,a,l||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(i=>i(o))},"editInspectorState")},sendInspectorState(t){const n=Ye(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return ua()},cancelInspectComponentInspector(){return ca()},getComponentRenderCode(t){const n=Et(U.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return da({id:t})},openInEditor:Va,getVueInspector:ha,toggleApp(t,n){const o=qe.value.find(r=>r.id===t);o&&(Ia(t),Ta(o),za(o,U),Ln(),Qn(o.app,n))},inspectDOM(t){const n=Et(U.value,t);if(n){const[o]=wt(n);o&&(S.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){Na(t,n,o)},getPluginSettings(t){return{options:Ca(t),values:Gn(t)}}}}w();var no;(no=S).__VUE_DEVTOOLS_ENV__!=null||(no.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var oo=ka(),ro;(ro=S).__VUE_DEVTOOLS_KIT_CONTEXT__!=null||(ro.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:oo,get state(){return{...A,activeAppRecordId:U.id,activeAppRecord:U.value,appRecords:qe.value}},api:Ka(oo)});var ge=S.__VUE_DEVTOOLS_KIT_CONTEXT__;w(),Fs(Gs());var so;(so=S).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__!=null||(so.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),w();function Fa(e){A.highPerfModeEnabled=e??!A.highPerfModeEnabled,!e&&U.value&&Qn(U.value.app)}w(),w(),w();function Wa(e){A.devtoolsClientDetected={...A.devtoolsClientDetected,...e};const t=Object.values(A.devtoolsClientDetected).some(Boolean);Fa(!t)}var ao;(ao=S).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__!=null||(ao.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Wa),w(),w(),w(),w(),w(),w(),w();var Ga=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},io=class{constructor(e){this.generateIdentifier=e,this.kv=new Ga}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Ya=class extends io{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};w(),w();function qa(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Ja(e,t){const n=qa(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const i=o[r];if(t(i))return i}}function ye(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function Je(e,t){return e.indexOf(t)!==-1}function lo(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var Xa=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Ja(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};w(),w();var Za=e=>Object.prototype.toString.call(e).slice(8,-1),co=e=>typeof e>"u",Qa=e=>e===null,Ne=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Rt=e=>Ne(e)&&Object.keys(e).length===0,oe=e=>Array.isArray(e),ei=e=>typeof e=="string",ti=e=>typeof e=="number"&&!isNaN(e),ni=e=>typeof e=="boolean",oi=e=>e instanceof RegExp,Re=e=>e instanceof Map,De=e=>e instanceof Set,uo=e=>Za(e)==="Symbol",ri=e=>e instanceof Date&&!isNaN(e.valueOf()),si=e=>e instanceof Error,fo=e=>typeof e=="number"&&isNaN(e),ai=e=>ni(e)||Qa(e)||co(e)||ti(e)||ei(e)||uo(e),ii=e=>typeof e=="bigint",li=e=>e===1/0||e===-1/0,ci=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),ui=e=>e instanceof URL;w();var po=e=>e.replace(/\./g,"\\."),Dt=e=>e.map(String).map(po).join("."),Ae=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(i==="."){t.push(n),n="";continue}n+=i}const o=n;return t.push(o),t};w();function J(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var ho=[J(co,"undefined",()=>null,()=>{}),J(ii,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),J(ri,"Date",e=>e.toISOString(),e=>new Date(e)),J(si,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),J(oi,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),J(De,"set",e=>[...e.values()],e=>new Set(e)),J(Re,"map",e=>[...e.entries()],e=>new Map(e)),J(e=>fo(e)||li(e),"number",e=>fo(e)?"NaN":e>0?"Infinity":"-Infinity",Number),J(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),J(ui,"URL",e=>e.toString(),e=>new URL(e))];function Xe(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var mo=Xe((e,t)=>uo(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),di=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),_o=Xe(ci,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=di[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function go(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var yo=Xe(go,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Eo=Xe((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),fi=[yo,mo,Eo,_o],wo=(e,t)=>{const n=lo(fi,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=lo(ho,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},bo={};ho.forEach(e=>{bo[e.annotation]=e});var pi=(e,t,n)=>{if(oe(t))switch(t[0]){case"symbol":return mo.untransform(e,t,n);case"class":return yo.untransform(e,t,n);case"custom":return Eo.untransform(e,t,n);case"typed-array":return _o.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=bo[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};w();var Ee=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function vo(e){if(Je(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Je(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Je(e,"constructor"))throw new Error("constructor is not allowed as a property")}var hi=(e,t)=>{vo(t);for(let n=0;n<t.length;n++){const o=t[n];if(De(e))e=Ee(e,+o);else if(Re(e)){const r=+o,i=+t[++n]==0?"key":"value",a=Ee(e,r);switch(i){case"key":e=a;break;case"value":e=e.get(a);break}}else e=e[o]}return e},At=(e,t,n)=>{if(vo(t),t.length===0)return n(e);let o=e;for(let i=0;i<t.length-1;i++){const a=t[i];if(oe(o)){const l=+a;o=o[l]}else if(Ne(o))o=o[a];else if(De(o)){const l=+a;o=Ee(o,l)}else if(Re(o)){if(i===t.length-2)break;const l=+a,c=+t[++i]==0?"key":"value",u=Ee(o,l);switch(c){case"key":o=u;break;case"value":o=o.get(u);break}}}const r=t[t.length-1];if(oe(o)?o[+r]=n(o[+r]):Ne(o)&&(o[r]=n(o[r])),De(o)){const i=Ee(o,+r),a=n(i);i!==a&&(o.delete(i),o.add(a))}if(Re(o)){const i=+t[t.length-2],a=Ee(o,i);switch(+r==0?"key":"value"){case"key":{const l=n(a);o.set(l,o.get(a)),l!==a&&o.delete(a);break}case"value":{o.set(a,n(o.get(a)));break}}}return e};function xt(e,t,n=[]){if(!e)return;if(!oe(e)){ye(e,(i,a)=>xt(i,t,[...n,...Ae(a)]));return}const[o,r]=e;r&&ye(r,(i,a)=>{xt(i,t,[...n,...Ae(a)])}),t(o,n)}function mi(e,t,n){return xt(t,(o,r)=>{e=At(e,r,i=>pi(i,o,n))}),e}function _i(e,t){function n(o,r){const i=hi(e,Ae(r));o.map(Ae).forEach(a=>{e=At(e,a,()=>i)})}if(oe(t)){const[o,r]=t;o.forEach(i=>{e=At(e,Ae(i),()=>e)}),r&&ye(r,n)}else ye(t,n);return e}var gi=(e,t)=>Ne(e)||oe(e)||Re(e)||De(e)||go(e,t);function yi(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function Ei(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(l=>l.map(String)).sort((l,c)=>l.length-c.length));const[i,...a]=r;i.length===0?o=a.map(Dt):n[Dt(i)]=a.map(Dt)}),o?Rt(n)?[o]:[o,n]:Rt(n)?void 0:n}var ko=(e,t,n,o,r=[],i=[],a=new Map)=>{var l;const c=ai(e);if(!c){yi(e,r,t);const m=a.get(e);if(m)return o?{transformedValue:null}:m}if(!gi(e,n)){const m=wo(e,n),b=m?{transformedValue:m.value,annotations:[m.type]}:{transformedValue:e};return c||a.set(e,b),b}if(Je(i,e))return{transformedValue:null};const u=wo(e,n),d=(l=u==null?void 0:u.value)!=null?l:e,f=oe(d)?[]:{},p={};ye(d,(m,b)=>{if(b==="__proto__"||b==="constructor"||b==="prototype")throw new Error(`Detected property ${b}. This is a prototype pollution risk, please remove it from your object.`);const h=ko(m,t,n,o,[...r,b],[...i,e],a);f[b]=h.transformedValue,oe(h.annotations)?p[b]=h.annotations:Ne(h.annotations)&&ye(h.annotations,(v,T)=>{p[po(b)+"."+T]=v})});const _=Rt(p)?{transformedValue:f,annotations:u?[u.type]:void 0}:{transformedValue:f,annotations:u?[u.type,p]:p};return c||a.set(e,_),_};w(),w();function Oo(e){return Object.prototype.toString.call(e).slice(8,-1)}function So(e){return Oo(e)==="Array"}function wi(e){if(Oo(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function bi(e,t,n,o,r){const i={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=n),r&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function $t(e,t={}){if(So(e))return e.map(r=>$t(r,t));if(!wi(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,i)=>{if(So(t.props)&&!t.props.includes(i))return r;const a=e[i],l=$t(a,t);return bi(r,i,l,e,t.nonenumerable),r},{})}var R=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Ya,this.symbolRegistry=new io(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new Xa,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=ko(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=Ei(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=$t(t);return n!=null&&n.values&&(o=mi(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=_i(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};R.defaultInstance=new R,R.serialize=R.defaultInstance.serialize.bind(R.defaultInstance),R.deserialize=R.defaultInstance.deserialize.bind(R.defaultInstance),R.stringify=R.defaultInstance.stringify.bind(R.defaultInstance),R.parse=R.defaultInstance.parse.bind(R.defaultInstance),R.registerClass=R.defaultInstance.registerClass.bind(R.defaultInstance),R.registerSymbol=R.defaultInstance.registerSymbol.bind(R.defaultInstance),R.registerCustom=R.defaultInstance.registerCustom.bind(R.defaultInstance),R.allowErrorProps=R.defaultInstance.allowErrorProps.bind(R.defaultInstance),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w(),w();var To;(To=S).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__!=null||(To.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Io;(Io=S).__VUE_DEVTOOLS_KIT_RPC_CLIENT__!=null||(Io.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Vo;(Vo=S).__VUE_DEVTOOLS_KIT_RPC_SERVER__!=null||(Vo.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Co;(Co=S).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__!=null||(Co.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var Po;(Po=S).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__!=null||(Po.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var No;(No=S).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__!=null||(No.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),w(),w(),w(),w(),w(),w(),w();/*!
2
2
  * pinia v3.0.1
3
3
  * (c) 2025 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */let xe;const $e=e=>xe=e,Ro=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function ce(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var X;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(X||(X={}));const re=typeof window<"u",Do=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function vi(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function Lt(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){$o(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function Ao(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ze(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}const Qe=typeof navigator=="object"?navigator:{userAgent:""},xo=/Macintosh/.test(Qe.userAgent)&&/AppleWebKit/.test(Qe.userAgent)&&!/Safari/.test(Qe.userAgent),$o=re?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!xo?ki:"msSaveOrOpenBlob"in Qe?Oi:Si:()=>{};function ki(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Ao(o.href)?Lt(e,t,n):(o.target="_blank",Ze(o)):Ze(o)):(o.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){Ze(o)},0))}function Oi(e,t="download",n){if(typeof e=="string")if(Ao(e))Lt(e,t,n);else{const o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){Ze(o)})}else navigator.msSaveOrOpenBlob(vi(e,n),t)}function Si(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return Lt(e,t,n);const r=e.type==="application/octet-stream",i=/constructor/i.test(String(Do.HTMLElement))||"safari"in Do,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||r&&i||xo)&&typeof FileReader<"u"){const l=new FileReader;l.onloadend=function(){let u=l.result;if(typeof u!="string")throw o=null,new Error("Wrong reader.result type");u=a?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=u:location.assign(u),o=null},l.readAsDataURL(e)}else{const l=URL.createObjectURL(e);o?o.location.assign(l):location.href=l,o=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function L(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function jt(e){return"_a"in e&&"install"in e}function Lo(){if(!("clipboard"in navigator))return L("Your browser doesn't support the Clipboard API","error"),!0}function jo(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(L('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Ti(e){if(!Lo())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),L("Global state copied to clipboard.")}catch(t){if(jo(t))return;L("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function Ii(e){if(!Lo())try{Mo(e,JSON.parse(await navigator.clipboard.readText())),L("Global state pasted from clipboard.")}catch(t){if(jo(t))return;L("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function Vi(e){try{$o(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){L("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Q;function Ci(){Q||(Q=document.createElement("input"),Q.type="file",Q.accept=".json");function e(){return new Promise((t,n)=>{Q.onchange=async()=>{const o=Q.files;if(!o)return t(null);const r=o.item(0);return t(r?{text:await r.text(),file:r}:null)},Q.oncancel=()=>t(null),Q.onerror=n,Q.click()})}return e}async function Ni(e){try{const t=await Ci()();if(!t)return;const{text:n,file:o}=t;Mo(e,JSON.parse(n)),L(`Global state imported from "${o.name}".`)}catch(t){L("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function Mo(e,t){for(const n in t){const o=e.state.value[n];o?Object.assign(o,t[n]):e.state.value[n]=t[n]}}function Y(e){return{_custom:{display:e}}}const Uo="🍍 Pinia (root)",et="_root";function Pi(e){return jt(e)?{id:et,label:Uo}:{id:e.$id,label:e.$id}}function Ri(e){if(jt(e)){const n=Array.from(e._s.keys()),o=e._s;return{state:n.map(r=>({editable:!0,key:r,value:e.state.value[r]})),getters:n.filter(r=>o.get(r)._getters).map(r=>{const i=o.get(r);return{editable:!1,key:r,value:i._getters.reduce((a,l)=>(a[l]=i[l],a),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function Di(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Y(e.type),key:Y(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function Ai(e){switch(e){case X.direct:return"mutation";case X.patchFunction:return"$patch";case X.patchObject:return"$patch";default:return"unknown"}}let we=!0;const tt=[],ue="pinia:mutations",j="pinia",{assign:xi}=Object,nt=e=>"🍍 "+e;function $i(e,t){Zn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:tt,app:e},n=>{typeof n.now!="function"&&L("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:ue,label:"Pinia 🍍",color:15064968}),n.addInspector({id:j,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Ti(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Ii(t),n.sendInspectorTree(j),n.sendInspectorState(j)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Vi(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Ni(t),n.sendInspectorTree(j),n.sendInspectorState(j)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:o=>{const r=t._s.get(o);r?typeof r.$reset!="function"?L(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`,"warn"):(r.$reset(),L(`Store "${o}" reset.`)):L(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(o=>{const r=o.componentInstance&&o.componentInstance.proxy;if(r&&r._pStores){const i=o.componentInstance.proxy._pStores;Object.values(i).forEach(a=>{o.instanceData.state.push({type:nt(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:s.toRaw(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,u)=>(l[u]=a.$state[u],l),{})}),a._getters&&a._getters.length&&o.instanceData.state.push({type:nt(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,u)=>{try{l[u]=a[u]}catch(c){l[u]=c}return l},{})})})}}),n.on.getInspectorTree(o=>{if(o.app===e&&o.inspectorId===j){let r=[t];r=r.concat(Array.from(t._s.values())),o.rootNodes=(o.filter?r.filter(i=>"$id"in i?i.$id.toLowerCase().includes(o.filter.toLowerCase()):Uo.toLowerCase().includes(o.filter.toLowerCase())):r).map(Pi)}}),globalThis.$pinia=t,n.on.getInspectorState(o=>{if(o.app===e&&o.inspectorId===j){const r=o.nodeId===et?t:t._s.get(o.nodeId);if(!r)return;r&&(o.nodeId!==et&&(globalThis.$store=s.toRaw(r)),o.state=Ri(r))}}),n.on.editInspectorState(o=>{if(o.app===e&&o.inspectorId===j){const r=o.nodeId===et?t:t._s.get(o.nodeId);if(!r)return L(`store "${o.nodeId}" not found`,"error");const{path:i}=o;jt(r)?i.unshift("state"):(i.length!==1||!r._customProperties.has(i[0])||i[0]in r.$state)&&i.unshift("$state"),we=!1,o.set(r,i,o.state.value),we=!0}}),n.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const r=o.type.replace(/^🍍\s*/,""),i=t._s.get(r);if(!i)return L(`store "${r}" not found`,"error");const{path:a}=o;if(a[0]!=="state")return L(`Invalid path for store "${r}":
5
+ */let xe;const $e=e=>xe=e,Ro=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function ce(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var X;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(X||(X={}));const re=typeof window<"u",Do=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function vi(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function Lt(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){$o(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function Ao(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ze(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}const Qe=typeof navigator=="object"?navigator:{userAgent:""},xo=/Macintosh/.test(Qe.userAgent)&&/AppleWebKit/.test(Qe.userAgent)&&!/Safari/.test(Qe.userAgent),$o=re?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!xo?ki:"msSaveOrOpenBlob"in Qe?Oi:Si:()=>{};function ki(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?Ao(o.href)?Lt(e,t,n):(o.target="_blank",Ze(o)):Ze(o)):(o.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){Ze(o)},0))}function Oi(e,t="download",n){if(typeof e=="string")if(Ao(e))Lt(e,t,n);else{const o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){Ze(o)})}else navigator.msSaveOrOpenBlob(vi(e,n),t)}function Si(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return Lt(e,t,n);const r=e.type==="application/octet-stream",i=/constructor/i.test(String(Do.HTMLElement))||"safari"in Do,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||r&&i||xo)&&typeof FileReader<"u"){const l=new FileReader;l.onloadend=function(){let c=l.result;if(typeof c!="string")throw o=null,new Error("Wrong reader.result type");c=a?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=c:location.assign(c),o=null},l.readAsDataURL(e)}else{const l=URL.createObjectURL(e);o?o.location.assign(l):location.href=l,o=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function L(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function jt(e){return"_a"in e&&"install"in e}function Lo(){if(!("clipboard"in navigator))return L("Your browser doesn't support the Clipboard API","error"),!0}function jo(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(L('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Ti(e){if(!Lo())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),L("Global state copied to clipboard.")}catch(t){if(jo(t))return;L("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function Ii(e){if(!Lo())try{Mo(e,JSON.parse(await navigator.clipboard.readText())),L("Global state pasted from clipboard.")}catch(t){if(jo(t))return;L("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function Vi(e){try{$o(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){L("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Q;function Ci(){Q||(Q=document.createElement("input"),Q.type="file",Q.accept=".json");function e(){return new Promise((t,n)=>{Q.onchange=async()=>{const o=Q.files;if(!o)return t(null);const r=o.item(0);return t(r?{text:await r.text(),file:r}:null)},Q.oncancel=()=>t(null),Q.onerror=n,Q.click()})}return e}async function Pi(e){try{const t=await Ci()();if(!t)return;const{text:n,file:o}=t;Mo(e,JSON.parse(n)),L(`Global state imported from "${o.name}".`)}catch(t){L("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function Mo(e,t){for(const n in t){const o=e.state.value[n];o?Object.assign(o,t[n]):e.state.value[n]=t[n]}}function Y(e){return{_custom:{display:e}}}const Uo="🍍 Pinia (root)",et="_root";function Ni(e){return jt(e)?{id:et,label:Uo}:{id:e.$id,label:e.$id}}function Ri(e){if(jt(e)){const n=Array.from(e._s.keys()),o=e._s;return{state:n.map(r=>({editable:!0,key:r,value:e.state.value[r]})),getters:n.filter(r=>o.get(r)._getters).map(r=>{const i=o.get(r);return{editable:!1,key:r,value:i._getters.reduce((a,l)=>(a[l]=i[l],a),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function Di(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Y(e.type),key:Y(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function Ai(e){switch(e){case X.direct:return"mutation";case X.patchFunction:return"$patch";case X.patchObject:return"$patch";default:return"unknown"}}let we=!0;const tt=[],ue="pinia:mutations",j="pinia",{assign:xi}=Object,nt=e=>"🍍 "+e;function $i(e,t){Zn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:tt,app:e},n=>{typeof n.now!="function"&&L("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:ue,label:"Pinia 🍍",color:15064968}),n.addInspector({id:j,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Ti(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Ii(t),n.sendInspectorTree(j),n.sendInspectorState(j)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Vi(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Pi(t),n.sendInspectorTree(j),n.sendInspectorState(j)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:o=>{const r=t._s.get(o);r?typeof r.$reset!="function"?L(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`,"warn"):(r.$reset(),L(`Store "${o}" reset.`)):L(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(o=>{const r=o.componentInstance&&o.componentInstance.proxy;if(r&&r._pStores){const i=o.componentInstance.proxy._pStores;Object.values(i).forEach(a=>{o.instanceData.state.push({type:nt(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:s.toRaw(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,c)=>(l[c]=a.$state[c],l),{})}),a._getters&&a._getters.length&&o.instanceData.state.push({type:nt(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,c)=>{try{l[c]=a[c]}catch(u){l[c]=u}return l},{})})})}}),n.on.getInspectorTree(o=>{if(o.app===e&&o.inspectorId===j){let r=[t];r=r.concat(Array.from(t._s.values())),o.rootNodes=(o.filter?r.filter(i=>"$id"in i?i.$id.toLowerCase().includes(o.filter.toLowerCase()):Uo.toLowerCase().includes(o.filter.toLowerCase())):r).map(Ni)}}),globalThis.$pinia=t,n.on.getInspectorState(o=>{if(o.app===e&&o.inspectorId===j){const r=o.nodeId===et?t:t._s.get(o.nodeId);if(!r)return;r&&(o.nodeId!==et&&(globalThis.$store=s.toRaw(r)),o.state=Ri(r))}}),n.on.editInspectorState(o=>{if(o.app===e&&o.inspectorId===j){const r=o.nodeId===et?t:t._s.get(o.nodeId);if(!r)return L(`store "${o.nodeId}" not found`,"error");const{path:i}=o;jt(r)?i.unshift("state"):(i.length!==1||!r._customProperties.has(i[0])||i[0]in r.$state)&&i.unshift("$state"),we=!1,o.set(r,i,o.state.value),we=!0}}),n.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const r=o.type.replace(/^🍍\s*/,""),i=t._s.get(r);if(!i)return L(`store "${r}" not found`,"error");const{path:a}=o;if(a[0]!=="state")return L(`Invalid path for store "${r}":
6
6
  ${a}
7
- Only state can be modified.`);a[0]="$state",we=!1,o.set(i,a,o.state.value),we=!0}})})}function Li(e,t){tt.includes(nt(t.$id))||tt.push(nt(t.$id)),Zn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:tt,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const o=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:a,onError:l,name:u,args:c})=>{const d=Bo++;n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🛫 "+u,subtitle:"start",data:{store:Y(t.$id),action:Y(u),args:c},groupId:d}}),a(f=>{se=void 0,n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🛬 "+u,subtitle:"end",data:{store:Y(t.$id),action:Y(u),args:c,result:f},groupId:d}})}),l(f=>{se=void 0,n.addTimelineEvent({layerId:ue,event:{time:o(),logType:"error",title:"💥 "+u,subtitle:"end",data:{store:Y(t.$id),action:Y(u),args:c,error:f},groupId:d}})})},!0),t._customProperties.forEach(a=>{s.watch(()=>s.unref(t[a]),(l,u)=>{n.notifyComponentUpdate(),n.sendInspectorState(j),we&&n.addTimelineEvent({layerId:ue,event:{time:o(),title:"Change",subtitle:a,data:{newValue:l,oldValue:u},groupId:se}})},{deep:!0})}),t.$subscribe(({events:a,type:l},u)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(j),!we)return;const c={time:o(),title:Ai(l),data:xi({store:Y(t.$id)},Di(a)),groupId:se};l===X.patchFunction?c.subtitle="⤵️":l===X.patchObject?c.subtitle="🧩":a&&!Array.isArray(a)&&(c.subtitle=a.type),a&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:a}}),n.addTimelineEvent({layerId:ue,event:c})},{detached:!0,flush:"sync"});const r=t._hotUpdate;t._hotUpdate=s.markRaw(a=>{r(a),n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:Y(t.$id),info:Y("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j)});const{$dispose:i}=t;t.$dispose=()=>{i(),n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j),n.getSettings().logStoreChanges&&L(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j),n.getSettings().logStoreChanges&&L(`"${t.$id}" store installed 🆕`)})}let Bo=0,se;function Ho(e,t,n){const o=t.reduce((r,i)=>(r[i]=s.toRaw(e)[i],r),{});for(const r in o)e[r]=function(){const i=Bo,a=n?new Proxy(e,{get(...u){return se=i,Reflect.get(...u)},set(...u){return se=i,Reflect.set(...u)}}):e;se=i;const l=o[r].apply(a,arguments);return se=void 0,l}}function ji({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){Ho(t,Object.keys(n.actions),t._isOptionsAPI);const o=t._hotUpdate;s.toRaw(t)._hotUpdate=function(r){o.apply(this,arguments),Ho(t,Object.keys(r._hmrPayload.actions),!!t._isOptionsAPI)}}Li(e,t)}}function Mi(){const e=s.effectScope(!0),t=e.run(()=>s.ref({}));let n=[],o=[];const r=s.markRaw({install(i){$e(r),r._a=i,i.provide(Ro,r),i.config.globalProperties.$pinia=r,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re&&$i(i,r),o.forEach(a=>n.push(a)),o=[]},use(i){return this._a?n.push(i):o.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re&&typeof Proxy<"u"&&r.use(ji),r}function zo(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const r=e[n];ce(r)&&ce(o)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=zo(r,o):e[n]=o}return e}const Ko=()=>{};function Fo(e,t,n,o=Ko){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&s.getCurrentScope()&&s.onScopeDispose(r),r}function be(e,...t){e.slice().forEach(n=>{n(...t)})}const Ui=e=>e(),Wo=Symbol(),Mt=Symbol();function Ut(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];ce(r)&&ce(o)&&e.hasOwnProperty(n)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=Ut(r,o):e[n]=o}return e}const Bi=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Hi(e){return!ce(e)||!e.hasOwnProperty(Bi)}const{assign:K}=Object;function Go(e){return!!(s.isRef(e)&&e.effect)}function Yo(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let u;function c(){!l&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=r?r():{});const d=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(r?r():{}).value):s.toRefs(n.state.value[e]);return K(d,i,Object.keys(a||{}).reduce((f,h)=>(process.env.NODE_ENV!=="production"&&h in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${e}".`),f[h]=s.markRaw(s.computed(()=>{$e(n);const p=n._s.get(e);return a[h].call(p,p)})),f),{}))}return u=Bt(e,c,t,n,o,!0),u}function Bt(e,t,n={},o,r,i){let a;const l=K({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const u={deep:!0};process.env.NODE_ENV!=="production"&&(u.onTrigger=y=>{c?p=y:c==!1&&!v._hotUpdating&&(Array.isArray(p)?p.push(y):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,d,f=[],h=[],p;const _=o.state.value[e];!i&&!_&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[e]={});const b=s.ref({});let m;function k(y){let g;c=d=!1,process.env.NODE_ENV!=="production"&&(p=[]),typeof y=="function"?(y(o.state.value[e]),g={type:X.patchFunction,storeId:e,events:p}):(Ut(o.state.value[e],y),g={type:X.patchObject,payload:y,storeId:e,events:p});const E=m=Symbol();s.nextTick().then(()=>{m===E&&(c=!0)}),d=!0,be(f,g,o.state.value[e])}const I=i?function(){const{state:y}=n,g=y?y():{};this.$patch(E=>{K(E,g)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:Ko;function P(){a.stop(),f=[],h=[],o._s.delete(e)}const x=(y,g="")=>{if(Wo in y)return y[Mt]=g,y;const E=function(){$e(o);const T=Array.from(arguments),C=[],W=[];function B(N){C.push(N)}function V(N){W.push(N)}be(h,{args:T,name:E[Mt],store:v,after:B,onError:V});let G;try{G=y.apply(this&&this.$id===e?this:v,T)}catch(N){throw be(W,N),N}return G instanceof Promise?G.then(N=>(be(C,N),N)).catch(N=>(be(W,N),Promise.reject(N))):(be(C,G),G)};return E[Wo]=!0,E[Mt]=g,E},D=s.markRaw({actions:{},getters:{},state:[],hotState:b}),Z={_p:o,$id:e,$onAction:Fo.bind(null,h),$patch:k,$reset:I,$subscribe(y,g={}){const E=Fo(f,y,g.detached,()=>T()),T=a.run(()=>s.watch(()=>o.state.value[e],C=>{(g.flush==="sync"?d:c)&&y({storeId:e,type:X.direct,events:p},C)},K({},u,g)));return E},$dispose:P},v=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re?K({_hmrPayload:D,_customProperties:s.markRaw(new Set)},Z):Z);o._s.set(e,v);const S=(o._a&&o._a.runWithContext||Ui)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>t({action:x}))));for(const y in S){const g=S[y];if(s.isRef(g)&&!Go(g)||s.isReactive(g))process.env.NODE_ENV!=="production"&&r?b.value[y]=s.toRef(S,y):i||(_&&Hi(g)&&(s.isRef(g)?g.value=_[y]:Ut(g,_[y])),o.state.value[e][y]=g),process.env.NODE_ENV!=="production"&&D.state.push(y);else if(typeof g=="function"){const E=process.env.NODE_ENV!=="production"&&r?g:x(g,y);S[y]=E,process.env.NODE_ENV!=="production"&&(D.actions[y]=g),l.actions[y]=g}else process.env.NODE_ENV!=="production"&&Go(g)&&(D.getters[y]=i?n.getters[y]:g,re&&(S._getters||(S._getters=s.markRaw([]))).push(y))}if(K(v,S),K(s.toRaw(v),S),Object.defineProperty(v,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?b.value:o.state.value[e],set:y=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");k(g=>{K(g,y)})}}),process.env.NODE_ENV!=="production"&&(v._hotUpdate=s.markRaw(y=>{v._hotUpdating=!0,y._hmrPayload.state.forEach(g=>{if(g in v.$state){const E=y.$state[g],T=v.$state[g];typeof E=="object"&&ce(E)&&ce(T)?zo(E,T):y.$state[g]=T}v[g]=s.toRef(y.$state,g)}),Object.keys(v.$state).forEach(g=>{g in y.$state||delete v[g]}),c=!1,d=!1,o.state.value[e]=s.toRef(y._hmrPayload,"hotState"),d=!0,s.nextTick().then(()=>{c=!0});for(const g in y._hmrPayload.actions){const E=y[g];v[g]=x(E,g)}for(const g in y._hmrPayload.getters){const E=y._hmrPayload.getters[g],T=i?s.computed(()=>($e(o),E.call(v,v))):E;v[g]=T}Object.keys(v._hmrPayload.getters).forEach(g=>{g in y._hmrPayload.getters||delete v[g]}),Object.keys(v._hmrPayload.actions).forEach(g=>{g in y._hmrPayload.actions||delete v[g]}),v._hmrPayload=y._hmrPayload,v._getters=y._getters,v._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re){const y={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(g=>{Object.defineProperty(v,g,K({value:v[g]},y))})}return o._p.forEach(y=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re){const g=a.run(()=>y({store:v,app:o._a,pinia:o,options:l}));Object.keys(g||{}).forEach(E=>v._customProperties.add(E)),K(v,g)}else K(v,a.run(()=>y({store:v,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&v.$state&&typeof v.$state=="object"&&typeof v.$state.constructor=="function"&&!v.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
7
+ Only state can be modified.`);a[0]="$state",we=!1,o.set(i,a,o.state.value),we=!0}})})}function Li(e,t){tt.includes(nt(t.$id))||tt.push(nt(t.$id)),Zn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:tt,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const o=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:a,onError:l,name:c,args:u})=>{const d=Bo++;n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🛫 "+c,subtitle:"start",data:{store:Y(t.$id),action:Y(c),args:u},groupId:d}}),a(f=>{se=void 0,n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🛬 "+c,subtitle:"end",data:{store:Y(t.$id),action:Y(c),args:u,result:f},groupId:d}})}),l(f=>{se=void 0,n.addTimelineEvent({layerId:ue,event:{time:o(),logType:"error",title:"💥 "+c,subtitle:"end",data:{store:Y(t.$id),action:Y(c),args:u,error:f},groupId:d}})})},!0),t._customProperties.forEach(a=>{s.watch(()=>s.unref(t[a]),(l,c)=>{n.notifyComponentUpdate(),n.sendInspectorState(j),we&&n.addTimelineEvent({layerId:ue,event:{time:o(),title:"Change",subtitle:a,data:{newValue:l,oldValue:c},groupId:se}})},{deep:!0})}),t.$subscribe(({events:a,type:l},c)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(j),!we)return;const u={time:o(),title:Ai(l),data:xi({store:Y(t.$id)},Di(a)),groupId:se};l===X.patchFunction?u.subtitle="⤵️":l===X.patchObject?u.subtitle="🧩":a&&!Array.isArray(a)&&(u.subtitle=a.type),a&&(u.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:a}}),n.addTimelineEvent({layerId:ue,event:u})},{detached:!0,flush:"sync"});const r=t._hotUpdate;t._hotUpdate=s.markRaw(a=>{r(a),n.addTimelineEvent({layerId:ue,event:{time:o(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:Y(t.$id),info:Y("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j)});const{$dispose:i}=t;t.$dispose=()=>{i(),n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j),n.getSettings().logStoreChanges&&L(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(j),n.sendInspectorState(j),n.getSettings().logStoreChanges&&L(`"${t.$id}" store installed 🆕`)})}let Bo=0,se;function Ho(e,t,n){const o=t.reduce((r,i)=>(r[i]=s.toRaw(e)[i],r),{});for(const r in o)e[r]=function(){const i=Bo,a=n?new Proxy(e,{get(...c){return se=i,Reflect.get(...c)},set(...c){return se=i,Reflect.set(...c)}}):e;se=i;const l=o[r].apply(a,arguments);return se=void 0,l}}function ji({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){Ho(t,Object.keys(n.actions),t._isOptionsAPI);const o=t._hotUpdate;s.toRaw(t)._hotUpdate=function(r){o.apply(this,arguments),Ho(t,Object.keys(r._hmrPayload.actions),!!t._isOptionsAPI)}}Li(e,t)}}function Mi(){const e=s.effectScope(!0),t=e.run(()=>s.ref({}));let n=[],o=[];const r=s.markRaw({install(i){$e(r),r._a=i,i.provide(Ro,r),i.config.globalProperties.$pinia=r,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re&&$i(i,r),o.forEach(a=>n.push(a)),o=[]},use(i){return this._a?n.push(i):o.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re&&typeof Proxy<"u"&&r.use(ji),r}function zo(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const r=e[n];ce(r)&&ce(o)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=zo(r,o):e[n]=o}return e}const Ko=()=>{};function Fo(e,t,n,o=Ko){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&s.getCurrentScope()&&s.onScopeDispose(r),r}function be(e,...t){e.slice().forEach(n=>{n(...t)})}const Ui=e=>e(),Wo=Symbol(),Mt=Symbol();function Ut(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];ce(r)&&ce(o)&&e.hasOwnProperty(n)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=Ut(r,o):e[n]=o}return e}const Bi=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Hi(e){return!ce(e)||!e.hasOwnProperty(Bi)}const{assign:K}=Object;function Go(e){return!!(s.isRef(e)&&e.effect)}function Yo(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let c;function u(){!l&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=r?r():{});const d=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(r?r():{}).value):s.toRefs(n.state.value[e]);return K(d,i,Object.keys(a||{}).reduce((f,p)=>(process.env.NODE_ENV!=="production"&&p in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`),f[p]=s.markRaw(s.computed(()=>{$e(n);const _=n._s.get(e);return a[p].call(_,_)})),f),{}))}return c=Bt(e,u,t,n,o,!0),c}function Bt(e,t,n={},o,r,i){let a;const l=K({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const c={deep:!0};process.env.NODE_ENV!=="production"&&(c.onTrigger=y=>{u?_=y:u==!1&&!k._hotUpdating&&(Array.isArray(_)?_.push(y):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let u,d,f=[],p=[],_;const m=o.state.value[e];!i&&!m&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[e]={});const b=s.ref({});let h;function v(y){let g;u=d=!1,process.env.NODE_ENV!=="production"&&(_=[]),typeof y=="function"?(y(o.state.value[e]),g={type:X.patchFunction,storeId:e,events:_}):(Ut(o.state.value[e],y),g={type:X.patchObject,payload:y,storeId:e,events:_});const E=h=Symbol();s.nextTick().then(()=>{h===E&&(u=!0)}),d=!0,be(f,g,o.state.value[e])}const T=i?function(){const{state:y}=n,g=y?y():{};this.$patch(E=>{K(E,g)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:Ko;function N(){a.stop(),f=[],p=[],o._s.delete(e)}const x=(y,g="")=>{if(Wo in y)return y[Mt]=g,y;const E=function(){$e(o);const I=Array.from(arguments),C=[],W=[];function B(P){C.push(P)}function V(P){W.push(P)}be(p,{args:I,name:E[Mt],store:k,after:B,onError:V});let G;try{G=y.apply(this&&this.$id===e?this:k,I)}catch(P){throw be(W,P),P}return G instanceof Promise?G.then(P=>(be(C,P),P)).catch(P=>(be(W,P),Promise.reject(P))):(be(C,G),G)};return E[Wo]=!0,E[Mt]=g,E},D=s.markRaw({actions:{},getters:{},state:[],hotState:b}),Z={_p:o,$id:e,$onAction:Fo.bind(null,p),$patch:v,$reset:T,$subscribe(y,g={}){const E=Fo(f,y,g.detached,()=>I()),I=a.run(()=>s.watch(()=>o.state.value[e],C=>{(g.flush==="sync"?d:u)&&y({storeId:e,type:X.direct,events:_},C)},K({},c,g)));return E},$dispose:N},k=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re?K({_hmrPayload:D,_customProperties:s.markRaw(new Set)},Z):Z);o._s.set(e,k);const O=(o._a&&o._a.runWithContext||Ui)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>t({action:x}))));for(const y in O){const g=O[y];if(s.isRef(g)&&!Go(g)||s.isReactive(g))process.env.NODE_ENV!=="production"&&r?b.value[y]=s.toRef(O,y):i||(m&&Hi(g)&&(s.isRef(g)?g.value=m[y]:Ut(g,m[y])),o.state.value[e][y]=g),process.env.NODE_ENV!=="production"&&D.state.push(y);else if(typeof g=="function"){const E=process.env.NODE_ENV!=="production"&&r?g:x(g,y);O[y]=E,process.env.NODE_ENV!=="production"&&(D.actions[y]=g),l.actions[y]=g}else process.env.NODE_ENV!=="production"&&Go(g)&&(D.getters[y]=i?n.getters[y]:g,re&&(O._getters||(O._getters=s.markRaw([]))).push(y))}if(K(k,O),K(s.toRaw(k),O),Object.defineProperty(k,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?b.value:o.state.value[e],set:y=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");v(g=>{K(g,y)})}}),process.env.NODE_ENV!=="production"&&(k._hotUpdate=s.markRaw(y=>{k._hotUpdating=!0,y._hmrPayload.state.forEach(g=>{if(g in k.$state){const E=y.$state[g],I=k.$state[g];typeof E=="object"&&ce(E)&&ce(I)?zo(E,I):y.$state[g]=I}k[g]=s.toRef(y.$state,g)}),Object.keys(k.$state).forEach(g=>{g in y.$state||delete k[g]}),u=!1,d=!1,o.state.value[e]=s.toRef(y._hmrPayload,"hotState"),d=!0,s.nextTick().then(()=>{u=!0});for(const g in y._hmrPayload.actions){const E=y[g];k[g]=x(E,g)}for(const g in y._hmrPayload.getters){const E=y._hmrPayload.getters[g],I=i?s.computed(()=>($e(o),E.call(k,k))):E;k[g]=I}Object.keys(k._hmrPayload.getters).forEach(g=>{g in y._hmrPayload.getters||delete k[g]}),Object.keys(k._hmrPayload.actions).forEach(g=>{g in y._hmrPayload.actions||delete k[g]}),k._hmrPayload=y._hmrPayload,k._getters=y._getters,k._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re){const y={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(g=>{Object.defineProperty(k,g,K({value:k[g]},y))})}return o._p.forEach(y=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&re){const g=a.run(()=>y({store:k,app:o._a,pinia:o,options:l}));Object.keys(g||{}).forEach(E=>k._customProperties.add(E)),K(k,g)}else K(k,a.run(()=>y({store:k,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&k.$state&&typeof k.$state=="object"&&typeof k.$state.constructor=="function"&&!k.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
8
8
  state: () => new MyClass()
9
- Found in store "${v.$id}".`),_&&i&&n.hydrate&&n.hydrate(v.$state,_),c=!0,d=!0,v}/*! #__NO_SIDE_EFFECTS__ */function zi(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function i(a,l){const u=s.hasInjectionContext();if(a=(process.env.NODE_ENV==="test"&&xe&&xe._testing?null:a)||(u?s.inject(Ro,null):null),a&&$e(a),process.env.NODE_ENV!=="production"&&!xe)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
9
+ Found in store "${k.$id}".`),m&&i&&n.hydrate&&n.hydrate(k.$state,m),u=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function zi(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function i(a,l){const c=s.hasInjectionContext();if(a=(process.env.NODE_ENV==="test"&&xe&&xe._testing?null:a)||(c?s.inject(Ro,null):null),a&&$e(a),process.env.NODE_ENV!=="production"&&!xe)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
10
10
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
11
- This will fail in production.`);a=xe,a._s.has(e)||(r?Bt(e,t,o,a):Yo(e,o,a),process.env.NODE_ENV!=="production"&&(i._pinia=a));const c=a._s.get(e);if(process.env.NODE_ENV!=="production"&&l){const d="__hot:"+e,f=r?Bt(d,t,o,a,!0):Yo(d,K({},o),a,!0);l._hotUpdate(f),delete a.state.value[d],a._s.delete(d)}if(process.env.NODE_ENV!=="production"&&re){const d=s.getCurrentInstance();if(d&&d.proxy&&!l){const f=d.proxy,h="_pStores"in f?f._pStores:f._pStores={};h[e]=c}}return c}return i.$id=e,i}const Ki=zi("data",()=>{const e=s.ref([]),t=s.ref({});return{records:e,record:t}});function qo(e){const t=s.ref();return s.onMounted(async()=>{var n,o,r;e||(e=s.inject("$registry"));let i;try{i=Ki()}catch{throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable")}if(t.value=new gs(e,i),!e||!e.router)return;const a=e.router.currentRoute.value,l=(n=a.params.records)==null?void 0:n.toString().toLowerCase(),u=(o=a.params.record)==null?void 0:o.toString().toLowerCase();if(!l&&!u)return;const c=await((r=e.getMeta)==null?void 0:r.call(e,l));c&&(e.addDoctype(c),t.value.setup(c),l&&(u?await t.value.getRecord(c,u):await t.value.getRecords(c)),t.value.runAction(c,"LOAD",u?[u]:void 0))}),{stonecrop:t}}M(class lt{constructor(t,n){if(M(this,"name"),M(this,"registry"),M(this,"router"),M(this,"getMeta"),lt._root)return lt._root;lt._root=this,this.name="Registry",this.registry={},this.router=t,this.getMeta=n}addDoctype(t){t.doctype in Object.keys(this.registry)||(this.registry[t.slug]=t),t.component&&this.router&&!this.router.hasRoute(t.doctype)&&this.router.addRoute({path:`/${t.slug}`,name:t.slug,component:t.component})}},"_root");function Fi(e){return e&&typeof e.then=="function"}Promise.resolve(!1),Promise.resolve(!0);var ve=Promise.resolve();function Jo(e,t){return e||(e=0),new Promise(function(n){return setTimeout(function(){return n(t)},e)})}function Wi(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function Ht(){return Math.random().toString(36).substring(2)}var zt=0;function Le(){var e=Date.now()*1e3;return e<=zt&&(e=zt+1),zt=e,e}var Gi=Le,Yi="native";function qi(e){var t={time:Le(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(n){t.messagesCallback&&t.messagesCallback(n.data)},t}function Ji(e){e.bc.close(),e.subFns=[]}function Xi(e,t){try{return e.bc.postMessage(t,!1),ve}catch(n){return Promise.reject(n)}}function Zi(e,t){e.messagesCallback=t}function Qi(){if(typeof globalThis<"u"&&globalThis.Deno&&globalThis.Deno.args)return!0;if((typeof window<"u"||typeof self<"u")&&typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function el(){return 150}var tl={create:qi,close:Ji,onMessage:Zi,postMessage:Xi,canBeUsed:Qi,type:Yi,averageResponseTime:el,microSeconds:Gi};class Xo{constructor(t){M(this,"ttl"),M(this,"map",new Map),M(this,"_to",!1),this.ttl=t}has(t){return this.map.has(t)}add(t){this.map.set(t,Zo()),this._to||(this._to=!0,setTimeout(()=>{this._to=!1,nl(this)},0))}clear(){this.map.clear()}}function nl(e){const t=Zo()-e.ttl,n=e.map[Symbol.iterator]();for(;;){const o=n.next().value;if(!o)return;const r=o[0];if(o[1]<t)e.map.delete(r);else return}}function Zo(){return Date.now()}function Kt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return typeof t.webWorkerSupport>"u"&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=1e3*45),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&typeof e.idb.onclose=="function"&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=1e3*60),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=1e3*60*2),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),typeof t.node.useFastPath>"u"&&(t.node.useFastPath=!0),t}var ol=Le,rl="pubkey.broadcast-channel-0-",ee="messages",ot={durability:"relaxed"},sl="idb";function Qo(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function Ft(e){e.commit&&e.commit()}function al(e){var t=Qo(),n=rl+e,o=t.open(n);return o.onupgradeneeded=function(r){var i=r.target.result;i.createObjectStore(ee,{keyPath:"id",autoIncrement:!0})},new Promise(function(r,i){o.onerror=function(a){return i(a)},o.onsuccess=function(){r(o.result)}})}function il(e,t,n){var o=Date.now(),r={uuid:t,time:o,data:n},i=e.transaction([ee],"readwrite",ot);return new Promise(function(a,l){i.oncomplete=function(){return a()},i.onerror=function(c){return l(c)};var u=i.objectStore(ee);u.add(r),Ft(i)})}function ll(e,t){var n=e.transaction(ee,"readonly",ot),o=n.objectStore(ee),r=[],i=IDBKeyRange.bound(t+1,1/0);if(o.getAll){var a=o.getAll(i);return new Promise(function(u,c){a.onerror=function(d){return c(d)},a.onsuccess=function(d){u(d.target.result)}})}function l(){try{return i=IDBKeyRange.bound(t+1,1/0),o.openCursor(i)}catch{return o.openCursor()}}return new Promise(function(u,c){var d=l();d.onerror=function(f){return c(f)},d.onsuccess=function(f){var h=f.target.result;h?h.value.id<t+1?h.continue(t+1):(r.push(h.value),h.continue()):(Ft(n),u(r))}})}function cl(e,t){if(e.closed)return Promise.resolve([]);var n=e.db.transaction(ee,"readwrite",ot),o=n.objectStore(ee);return Promise.all(t.map(function(r){var i=o.delete(r);return new Promise(function(a){i.onsuccess=function(){return a()}})}))}function ul(e,t){var n=Date.now()-t,o=e.transaction(ee,"readonly",ot),r=o.objectStore(ee),i=[];return new Promise(function(a){r.openCursor().onsuccess=function(l){var u=l.target.result;if(u){var c=u.value;c.time<n?(i.push(c),u.continue()):(Ft(o),a(i))}else a(i)}})}function dl(e){return ul(e.db,e.options.idb.ttl).then(function(t){return cl(e,t.map(function(n){return n.id}))})}function fl(e,t){return t=Kt(t),al(e).then(function(n){var o={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:Ht(),eMIs:new Xo(t.idb.ttl*2),writeBlockPromise:ve,messagesCallback:null,readQueuePromises:[],db:n};return n.onclose=function(){o.closed=!0,t.idb.onclose&&t.idb.onclose()},er(o),o})}function er(e){e.closed||tr(e).then(function(){return Jo(e.options.idb.fallbackInterval)}).then(function(){return er(e)})}function pl(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}function tr(e){return e.closed||!e.messagesCallback?ve:ll(e.db,e.lastCursorId).then(function(t){var n=t.filter(function(o){return!!o}).map(function(o){return o.id>e.lastCursorId&&(e.lastCursorId=o.id),o}).filter(function(o){return pl(o,e)}).sort(function(o,r){return o.time-r.time});return n.forEach(function(o){e.messagesCallback&&(e.eMIs.add(o.id),e.messagesCallback(o.data))}),ve})}function hl(e){e.closed=!0,e.db.close()}function ml(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return il(e.db,e.uuid,t)}).then(function(){Wi(0,10)===0&&dl(e)}),e.writeBlockPromise}function _l(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,tr(e)}function gl(){return!!Qo()}function yl(e){return e.idb.fallbackInterval*2}var El={create:fl,close:hl,onMessage:_l,postMessage:ml,canBeUsed:gl,type:sl,averageResponseTime:yl,microSeconds:ol},wl=Le,bl="pubkey.broadcastChannel-",vl="localstorage";function nr(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function or(e){return bl+e}function kl(e,t){return new Promise(function(n){Jo().then(function(){var o=or(e.channelName),r={token:Ht(),time:Date.now(),data:t,uuid:e.uuid},i=JSON.stringify(r);nr().setItem(o,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=o,a.newValue=i,window.dispatchEvent(a),n()})})}function Ol(e,t){var n=or(e),o=function(r){r.key===n&&t(JSON.parse(r.newValue))};return window.addEventListener("storage",o),o}function Sl(e){window.removeEventListener("storage",e)}function Tl(e,t){if(t=Kt(t),!rr())throw new Error("BroadcastChannel: localstorage cannot be used");var n=Ht(),o=new Xo(t.localstorage.removeTimeout),r={channelName:e,uuid:n,eMIs:o};return r.listener=Ol(e,function(i){r.messagesCallback&&i.uuid!==n&&(!i.token||o.has(i.token)||i.data.time&&i.data.time<r.messagesCallbackTime||(o.add(i.token),r.messagesCallback(i.data)))}),r}function Il(e){Sl(e.listener)}function Vl(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t}function rr(){var e=nr();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch{return!1}return!0}function Cl(){var e=120,t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")?e*2:e}var Nl={create:Tl,close:Il,onMessage:Vl,postMessage:kl,canBeUsed:rr,type:vl,averageResponseTime:Cl,microSeconds:wl},sr=Le,Pl="simulate",Wt=new Set;function Rl(e){var t={time:sr(),name:e,messagesCallback:null};return Wt.add(t),t}function Dl(e){Wt.delete(e)}var ar=5;function Al(e,t){return new Promise(function(n){return setTimeout(function(){var o=Array.from(Wt);o.forEach(function(r){r.name===e.name&&r!==e&&r.messagesCallback&&r.time<t.time&&r.messagesCallback(t)}),n()},ar)})}function xl(e,t){e.messagesCallback=t}function $l(){return!0}function Ll(){return ar}var jl={create:Rl,close:Dl,onMessage:xl,postMessage:Al,canBeUsed:$l,type:Pl,averageResponseTime:Ll,microSeconds:sr},ir=[tl,El,Nl];function Ml(e){var t=[].concat(e.methods,ir).filter(Boolean);if(e.type){if(e.type==="simulate")return jl;var n=t.find(function(r){return r.type===e.type});if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter(function(r){return r.type!=="idb"}));var o=t.find(function(r){return r.canBeUsed()});if(o)return o;throw new Error("No usable method found in "+JSON.stringify(ir.map(function(r){return r.type})))}var lr=new Set,Ul=0,Gt=function(e,t){this.id=Ul++,lr.add(this),this.name=e,this.options=Kt(t),this.method=Ml(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,Bl(this)};Gt._pubkey=!0,Gt.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return cr(this,"message",e)},postInternal:function(e){return cr(this,"internal",e)},set onmessage(e){var t=this.method.microSeconds(),n={time:t,fn:e};fr(this,"message",this._onML),e&&typeof e=="function"?(this._onML=n,dr(this,"message",n)):this._onML=null},addEventListener:function(e,t){var n=this.method.microSeconds(),o={time:n,fn:t};dr(this,e,o)},removeEventListener:function(e,t){var n=this._addEL[e].find(function(o){return o.fn===t});fr(this,e,n)},close:function(){var e=this;if(!this.closed){lr.delete(this),this.closed=!0;var t=this._prepP?this._prepP:ve;return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(n){return n()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};function cr(e,t,n){var o=e.method.microSeconds(),r={time:o,type:t,data:n},i=e._prepP?e._prepP:ve;return i.then(function(){var a=e.method.postMessage(e._state,r);return e._uMP.add(a),a.catch().then(function(){return e._uMP.delete(a)}),a})}function Bl(e){var t=e.method.create(e.name,e.options);Fi(t)?(e._prepP=t,t.then(function(n){e._state=n})):e._state=t}function ur(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function dr(e,t,n){e._addEL[t].push(n),Hl(e)}function fr(e,t,n){e._addEL[t]=e._addEL[t].filter(function(o){return o!==n}),zl(e)}function Hl(e){if(!e._iL&&ur(e)){var t=function(o){e._addEL[o.type].forEach(function(r){o.time>=r.time&&r.fn(o.data)})},n=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,n)}):(e._iL=!0,e.method.onMessage(e._state,t,n))}}function zl(e){if(e._iL&&!ur(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}function pr(e,t={serialize:JSON.stringify,deserialize:JSON.parse}){return t.deserialize(t.serialize(e))}function Kl(e,t){return Object.keys(t).includes(e)}function Fl({enable:e=!0,initialize:t=!0,type:n,serializer:o}){return({store:r,options:i})=>{var a,l,u;const c=((a=i==null?void 0:i.share)==null?void 0:a.enable)??e,d=((l=i==null?void 0:i.share)==null?void 0:l.omit)??[];if(!c)return;const f=new Gt(r.$id,{type:n});let h=0,p=!1;const _=Object.keys(r.$state).filter(b=>!d.includes(b)&&Kl(b,r.$state));f.onmessage=b=>{if(b===void 0){f.postMessage({timestamp:h,state:pr(r.$state,o)});return}b.timestamp<=h||(p=!0,h=b.timestamp,r.$patch(m=>{_.forEach(k=>{m[k]=b.state[k]})}))},(((u=i==null?void 0:i.share)==null?void 0:u.initialize)??t)&&f.postMessage(void 0),r.$subscribe((b,m)=>{p||(h=Date.now(),f.postMessage({timestamp:h,state:pr(m,o)})),p=!1})}}Mi().use(Fl({enable:!0,initialize:!0}));const hr=s.defineComponent({__name:"Doctype",setup(e){const{stonecrop:t,isReady:n}=qo(),o=s.ref([]);return s.watch(n,()=>{if(n.value){let r=t.value.schema.schema.toArray();r.forEach((i,a)=>{const u=t.value.store.record[i.fieldname];r[a].value=u}),o.value=r}}),(r,i)=>s.unref(n)?(s.openBlock(),s.createBlock(s.unref(hs),{key:0,class:"aform-main",modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=a=>o.value=a)},null,8,["modelValue"])):s.createCommentVNode("",!0)}});/*!
11
+ This will fail in production.`);a=xe,a._s.has(e)||(r?Bt(e,t,o,a):Yo(e,o,a),process.env.NODE_ENV!=="production"&&(i._pinia=a));const u=a._s.get(e);if(process.env.NODE_ENV!=="production"&&l){const d="__hot:"+e,f=r?Bt(d,t,o,a,!0):Yo(d,K({},o),a,!0);l._hotUpdate(f),delete a.state.value[d],a._s.delete(d)}if(process.env.NODE_ENV!=="production"&&re){const d=s.getCurrentInstance();if(d&&d.proxy&&!l){const f=d.proxy,p="_pStores"in f?f._pStores:f._pStores={};p[e]=u}}return u}return i.$id=e,i}const Ki=zi("data",()=>{const e=s.ref([]),t=s.ref({});return{records:e,record:t}});function qo(e){const t=s.ref();return s.onMounted(async()=>{var n,o,r;e||(e=s.inject("$registry"));let i;try{i=Ki()}catch{throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable")}if(t.value=new gs(e,i),!e||!e.router)return;const a=e.router.currentRoute.value,l=(n=a.params.records)==null?void 0:n.toString().toLowerCase(),c=(o=a.params.record)==null?void 0:o.toString().toLowerCase();if(!l&&!c)return;const u=await((r=e.getMeta)==null?void 0:r.call(e,l));u&&(e.addDoctype(u),t.value.setup(u),l&&(c?await t.value.getRecord(u,c):await t.value.getRecords(u)),t.value.runAction(u,"LOAD",c?[c]:void 0))}),{stonecrop:t}}M(class lt{constructor(t,n){if(M(this,"name"),M(this,"registry"),M(this,"router"),M(this,"getMeta"),lt._root)return lt._root;lt._root=this,this.name="Registry",this.registry={},this.router=t,this.getMeta=n}addDoctype(t){t.doctype in Object.keys(this.registry)||(this.registry[t.slug]=t),t.component&&this.router&&!this.router.hasRoute(t.doctype)&&this.router.addRoute({path:`/${t.slug}`,name:t.slug,component:t.component})}},"_root");function Fi(e){return e&&typeof e.then=="function"}Promise.resolve(!1),Promise.resolve(!0);var ve=Promise.resolve();function Jo(e,t){return e||(e=0),new Promise(function(n){return setTimeout(function(){return n(t)},e)})}function Wi(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function Ht(){return Math.random().toString(36).substring(2)}var zt=0;function Le(){var e=Date.now()*1e3;return e<=zt&&(e=zt+1),zt=e,e}var Gi=Le,Yi="native";function qi(e){var t={time:Le(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(n){t.messagesCallback&&t.messagesCallback(n.data)},t}function Ji(e){e.bc.close(),e.subFns=[]}function Xi(e,t){try{return e.bc.postMessage(t,!1),ve}catch(n){return Promise.reject(n)}}function Zi(e,t){e.messagesCallback=t}function Qi(){if(typeof globalThis<"u"&&globalThis.Deno&&globalThis.Deno.args)return!0;if((typeof window<"u"||typeof self<"u")&&typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function el(){return 150}var tl={create:qi,close:Ji,onMessage:Zi,postMessage:Xi,canBeUsed:Qi,type:Yi,averageResponseTime:el,microSeconds:Gi};class Xo{constructor(t){M(this,"ttl"),M(this,"map",new Map),M(this,"_to",!1),this.ttl=t}has(t){return this.map.has(t)}add(t){this.map.set(t,Zo()),this._to||(this._to=!0,setTimeout(()=>{this._to=!1,nl(this)},0))}clear(){this.map.clear()}}function nl(e){const t=Zo()-e.ttl,n=e.map[Symbol.iterator]();for(;;){const o=n.next().value;if(!o)return;const r=o[0];if(o[1]<t)e.map.delete(r);else return}}function Zo(){return Date.now()}function Kt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return typeof t.webWorkerSupport>"u"&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=1e3*45),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&typeof e.idb.onclose=="function"&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=1e3*60),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=1e3*60*2),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),typeof t.node.useFastPath>"u"&&(t.node.useFastPath=!0),t}var ol=Le,rl="pubkey.broadcast-channel-0-",ee="messages",ot={durability:"relaxed"},sl="idb";function Qo(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function Ft(e){e.commit&&e.commit()}function al(e){var t=Qo(),n=rl+e,o=t.open(n);return o.onupgradeneeded=function(r){var i=r.target.result;i.createObjectStore(ee,{keyPath:"id",autoIncrement:!0})},new Promise(function(r,i){o.onerror=function(a){return i(a)},o.onsuccess=function(){r(o.result)}})}function il(e,t,n){var o=Date.now(),r={uuid:t,time:o,data:n},i=e.transaction([ee],"readwrite",ot);return new Promise(function(a,l){i.oncomplete=function(){return a()},i.onerror=function(u){return l(u)};var c=i.objectStore(ee);c.add(r),Ft(i)})}function ll(e,t){var n=e.transaction(ee,"readonly",ot),o=n.objectStore(ee),r=[],i=IDBKeyRange.bound(t+1,1/0);if(o.getAll){var a=o.getAll(i);return new Promise(function(c,u){a.onerror=function(d){return u(d)},a.onsuccess=function(d){c(d.target.result)}})}function l(){try{return i=IDBKeyRange.bound(t+1,1/0),o.openCursor(i)}catch{return o.openCursor()}}return new Promise(function(c,u){var d=l();d.onerror=function(f){return u(f)},d.onsuccess=function(f){var p=f.target.result;p?p.value.id<t+1?p.continue(t+1):(r.push(p.value),p.continue()):(Ft(n),c(r))}})}function cl(e,t){if(e.closed)return Promise.resolve([]);var n=e.db.transaction(ee,"readwrite",ot),o=n.objectStore(ee);return Promise.all(t.map(function(r){var i=o.delete(r);return new Promise(function(a){i.onsuccess=function(){return a()}})}))}function ul(e,t){var n=Date.now()-t,o=e.transaction(ee,"readonly",ot),r=o.objectStore(ee),i=[];return new Promise(function(a){r.openCursor().onsuccess=function(l){var c=l.target.result;if(c){var u=c.value;u.time<n?(i.push(u),c.continue()):(Ft(o),a(i))}else a(i)}})}function dl(e){return ul(e.db,e.options.idb.ttl).then(function(t){return cl(e,t.map(function(n){return n.id}))})}function fl(e,t){return t=Kt(t),al(e).then(function(n){var o={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:Ht(),eMIs:new Xo(t.idb.ttl*2),writeBlockPromise:ve,messagesCallback:null,readQueuePromises:[],db:n};return n.onclose=function(){o.closed=!0,t.idb.onclose&&t.idb.onclose()},er(o),o})}function er(e){e.closed||tr(e).then(function(){return Jo(e.options.idb.fallbackInterval)}).then(function(){return er(e)})}function pl(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}function tr(e){return e.closed||!e.messagesCallback?ve:ll(e.db,e.lastCursorId).then(function(t){var n=t.filter(function(o){return!!o}).map(function(o){return o.id>e.lastCursorId&&(e.lastCursorId=o.id),o}).filter(function(o){return pl(o,e)}).sort(function(o,r){return o.time-r.time});return n.forEach(function(o){e.messagesCallback&&(e.eMIs.add(o.id),e.messagesCallback(o.data))}),ve})}function hl(e){e.closed=!0,e.db.close()}function ml(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return il(e.db,e.uuid,t)}).then(function(){Wi(0,10)===0&&dl(e)}),e.writeBlockPromise}function _l(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,tr(e)}function gl(){return!!Qo()}function yl(e){return e.idb.fallbackInterval*2}var El={create:fl,close:hl,onMessage:_l,postMessage:ml,canBeUsed:gl,type:sl,averageResponseTime:yl,microSeconds:ol},wl=Le,bl="pubkey.broadcastChannel-",vl="localstorage";function nr(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function or(e){return bl+e}function kl(e,t){return new Promise(function(n){Jo().then(function(){var o=or(e.channelName),r={token:Ht(),time:Date.now(),data:t,uuid:e.uuid},i=JSON.stringify(r);nr().setItem(o,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=o,a.newValue=i,window.dispatchEvent(a),n()})})}function Ol(e,t){var n=or(e),o=function(r){r.key===n&&t(JSON.parse(r.newValue))};return window.addEventListener("storage",o),o}function Sl(e){window.removeEventListener("storage",e)}function Tl(e,t){if(t=Kt(t),!rr())throw new Error("BroadcastChannel: localstorage cannot be used");var n=Ht(),o=new Xo(t.localstorage.removeTimeout),r={channelName:e,uuid:n,eMIs:o};return r.listener=Ol(e,function(i){r.messagesCallback&&i.uuid!==n&&(!i.token||o.has(i.token)||i.data.time&&i.data.time<r.messagesCallbackTime||(o.add(i.token),r.messagesCallback(i.data)))}),r}function Il(e){Sl(e.listener)}function Vl(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t}function rr(){var e=nr();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch{return!1}return!0}function Cl(){var e=120,t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")?e*2:e}var Pl={create:Tl,close:Il,onMessage:Vl,postMessage:kl,canBeUsed:rr,type:vl,averageResponseTime:Cl,microSeconds:wl},sr=Le,Nl="simulate",Wt=new Set;function Rl(e){var t={time:sr(),name:e,messagesCallback:null};return Wt.add(t),t}function Dl(e){Wt.delete(e)}var ar=5;function Al(e,t){return new Promise(function(n){return setTimeout(function(){var o=Array.from(Wt);o.forEach(function(r){r.name===e.name&&r!==e&&r.messagesCallback&&r.time<t.time&&r.messagesCallback(t)}),n()},ar)})}function xl(e,t){e.messagesCallback=t}function $l(){return!0}function Ll(){return ar}var jl={create:Rl,close:Dl,onMessage:xl,postMessage:Al,canBeUsed:$l,type:Nl,averageResponseTime:Ll,microSeconds:sr},ir=[tl,El,Pl];function Ml(e){var t=[].concat(e.methods,ir).filter(Boolean);if(e.type){if(e.type==="simulate")return jl;var n=t.find(function(r){return r.type===e.type});if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter(function(r){return r.type!=="idb"}));var o=t.find(function(r){return r.canBeUsed()});if(o)return o;throw new Error("No usable method found in "+JSON.stringify(ir.map(function(r){return r.type})))}var lr=new Set,Ul=0,Gt=function(e,t){this.id=Ul++,lr.add(this),this.name=e,this.options=Kt(t),this.method=Ml(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,Bl(this)};Gt._pubkey=!0,Gt.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return cr(this,"message",e)},postInternal:function(e){return cr(this,"internal",e)},set onmessage(e){var t=this.method.microSeconds(),n={time:t,fn:e};fr(this,"message",this._onML),e&&typeof e=="function"?(this._onML=n,dr(this,"message",n)):this._onML=null},addEventListener:function(e,t){var n=this.method.microSeconds(),o={time:n,fn:t};dr(this,e,o)},removeEventListener:function(e,t){var n=this._addEL[e].find(function(o){return o.fn===t});fr(this,e,n)},close:function(){var e=this;if(!this.closed){lr.delete(this),this.closed=!0;var t=this._prepP?this._prepP:ve;return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(n){return n()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};function cr(e,t,n){var o=e.method.microSeconds(),r={time:o,type:t,data:n},i=e._prepP?e._prepP:ve;return i.then(function(){var a=e.method.postMessage(e._state,r);return e._uMP.add(a),a.catch().then(function(){return e._uMP.delete(a)}),a})}function Bl(e){var t=e.method.create(e.name,e.options);Fi(t)?(e._prepP=t,t.then(function(n){e._state=n})):e._state=t}function ur(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function dr(e,t,n){e._addEL[t].push(n),Hl(e)}function fr(e,t,n){e._addEL[t]=e._addEL[t].filter(function(o){return o!==n}),zl(e)}function Hl(e){if(!e._iL&&ur(e)){var t=function(o){e._addEL[o.type].forEach(function(r){o.time>=r.time&&r.fn(o.data)})},n=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,n)}):(e._iL=!0,e.method.onMessage(e._state,t,n))}}function zl(e){if(e._iL&&!ur(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}function pr(e,t={serialize:JSON.stringify,deserialize:JSON.parse}){return t.deserialize(t.serialize(e))}function Kl(e,t){return Object.keys(t).includes(e)}function Fl({enable:e=!0,initialize:t=!0,type:n,serializer:o}){return({store:r,options:i})=>{var a,l,c;const u=((a=i==null?void 0:i.share)==null?void 0:a.enable)??e,d=((l=i==null?void 0:i.share)==null?void 0:l.omit)??[];if(!u)return;const f=new Gt(r.$id,{type:n});let p=0,_=!1;const m=Object.keys(r.$state).filter(b=>!d.includes(b)&&Kl(b,r.$state));f.onmessage=b=>{if(b===void 0){f.postMessage({timestamp:p,state:pr(r.$state,o)});return}b.timestamp<=p||(_=!0,p=b.timestamp,r.$patch(h=>{m.forEach(v=>{h[v]=b.state[v]})}))},(((c=i==null?void 0:i.share)==null?void 0:c.initialize)??t)&&f.postMessage(void 0),r.$subscribe((b,h)=>{_||(p=Date.now(),f.postMessage({timestamp:p,state:pr(h,o)})),_=!1})}}Mi().use(Fl({enable:!0,initialize:!0}));const hr=s.defineComponent({__name:"Doctype",setup(e){const{stonecrop:t,isReady:n}=qo(),o=s.ref([]);return s.watch(n,()=>{if(n.value){let r=t.value.schema.schema.toArray();r.forEach((i,a)=>{const c=t.value.store.record[i.fieldname];r[a].value=c}),o.value=r}}),(r,i)=>s.unref(n)?(s.openBlock(),s.createBlock(s.unref(hs),{key:0,class:"aform-main",modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=a=>o.value=a)},null,8,["modelValue"])):s.createCommentVNode("",!0)}});/*!
12
12
  * pinia v3.0.1
13
13
  * (c) 2025 Eduardo San Martin Morote
14
14
  * @license MIT
15
- */let je;const rt=e=>je=e,Wl=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function de(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Me;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Me||(Me={}));const Ue=typeof window<"u";function mr(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const r=e[n];de(r)&&de(o)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=mr(r,o):e[n]=o}return e}const _r=()=>{};function gr(e,t,n,o=_r){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&s.getCurrentScope()&&s.onScopeDispose(r),r}function ke(e,...t){e.slice().forEach(n=>{n(...t)})}const Gl=e=>e(),yr=Symbol(),Yt=Symbol();function qt(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];de(r)&&de(o)&&e.hasOwnProperty(n)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=qt(r,o):e[n]=o}return e}const Yl=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function ql(e){return!de(e)||!e.hasOwnProperty(Yl)}const{assign:F}=Object;function Er(e){return!!(s.isRef(e)&&e.effect)}function wr(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let u;function c(){!l&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=r?r():{});const d=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(r?r():{}).value):s.toRefs(n.state.value[e]);return F(d,i,Object.keys(a||{}).reduce((f,h)=>(process.env.NODE_ENV!=="production"&&h in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${e}".`),f[h]=s.markRaw(s.computed(()=>{rt(n);const p=n._s.get(e);return a[h].call(p,p)})),f),{}))}return u=Jt(e,c,t,n,o,!0),u}function Jt(e,t,n={},o,r,i){let a;const l=F({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const u={deep:!0};process.env.NODE_ENV!=="production"&&(u.onTrigger=g=>{c?p=g:c==!1&&!v._hotUpdating&&(Array.isArray(p)?p.push(g):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,d,f=[],h=[],p;const _=o.state.value[e];!i&&!_&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[e]={});const b=s.ref({});let m;function k(g){let E;c=d=!1,process.env.NODE_ENV!=="production"&&(p=[]),typeof g=="function"?(g(o.state.value[e]),E={type:Me.patchFunction,storeId:e,events:p}):(qt(o.state.value[e],g),E={type:Me.patchObject,payload:g,storeId:e,events:p});const T=m=Symbol();s.nextTick().then(()=>{m===T&&(c=!0)}),d=!0,ke(f,E,o.state.value[e])}const I=i?function(){const{state:E}=n,T=E?E():{};this.$patch(C=>{F(C,T)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:_r;function P(){a.stop(),f=[],h=[],o._s.delete(e)}const x=(g,E="")=>{if(yr in g)return g[Yt]=E,g;const T=function(){rt(o);const C=Array.from(arguments),W=[],B=[];function V($){W.push($)}function G($){B.push($)}ke(h,{args:C,name:T[Yt],store:v,after:V,onError:G});let N;try{N=g.apply(this&&this.$id===e?this:v,C)}catch($){throw ke(B,$),$}return N instanceof Promise?N.then($=>(ke(W,$),$)).catch($=>(ke(B,$),Promise.reject($))):(ke(W,N),N)};return T[yr]=!0,T[Yt]=E,T},D=s.markRaw({actions:{},getters:{},state:[],hotState:b}),Z={_p:o,$id:e,$onAction:gr.bind(null,h),$patch:k,$reset:I,$subscribe(g,E={}){const T=gr(f,g,E.detached,()=>C()),C=a.run(()=>s.watch(()=>o.state.value[e],W=>{(E.flush==="sync"?d:c)&&g({storeId:e,type:Me.direct,events:p},W)},F({},u,E)));return T},$dispose:P},v=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue?F({_hmrPayload:D,_customProperties:s.markRaw(new Set)},Z):Z);o._s.set(e,v);const y=(o._a&&o._a.runWithContext||Gl)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>t({action:x}))));for(const g in y){const E=y[g];if(s.isRef(E)&&!Er(E)||s.isReactive(E))process.env.NODE_ENV!=="production"&&r?b.value[g]=s.toRef(y,g):i||(_&&ql(E)&&(s.isRef(E)?E.value=_[g]:qt(E,_[g])),o.state.value[e][g]=E),process.env.NODE_ENV!=="production"&&D.state.push(g);else if(typeof E=="function"){const T=process.env.NODE_ENV!=="production"&&r?E:x(E,g);y[g]=T,process.env.NODE_ENV!=="production"&&(D.actions[g]=E),l.actions[g]=E}else process.env.NODE_ENV!=="production"&&Er(E)&&(D.getters[g]=i?n.getters[g]:E,Ue&&(y._getters||(y._getters=s.markRaw([]))).push(g))}if(F(v,y),F(s.toRaw(v),y),Object.defineProperty(v,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?b.value:o.state.value[e],set:g=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");k(E=>{F(E,g)})}}),process.env.NODE_ENV!=="production"&&(v._hotUpdate=s.markRaw(g=>{v._hotUpdating=!0,g._hmrPayload.state.forEach(E=>{if(E in v.$state){const T=g.$state[E],C=v.$state[E];typeof T=="object"&&de(T)&&de(C)?mr(T,C):g.$state[E]=C}v[E]=s.toRef(g.$state,E)}),Object.keys(v.$state).forEach(E=>{E in g.$state||delete v[E]}),c=!1,d=!1,o.state.value[e]=s.toRef(g._hmrPayload,"hotState"),d=!0,s.nextTick().then(()=>{c=!0});for(const E in g._hmrPayload.actions){const T=g[E];v[E]=x(T,E)}for(const E in g._hmrPayload.getters){const T=g._hmrPayload.getters[E],C=i?s.computed(()=>(rt(o),T.call(v,v))):T;v[E]=C}Object.keys(v._hmrPayload.getters).forEach(E=>{E in g._hmrPayload.getters||delete v[E]}),Object.keys(v._hmrPayload.actions).forEach(E=>{E in g._hmrPayload.actions||delete v[E]}),v._hmrPayload=g._hmrPayload,v._getters=g._getters,v._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue){const g={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(E=>{Object.defineProperty(v,E,F({value:v[E]},g))})}return o._p.forEach(g=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue){const E=a.run(()=>g({store:v,app:o._a,pinia:o,options:l}));Object.keys(E||{}).forEach(T=>v._customProperties.add(T)),F(v,E)}else F(v,a.run(()=>g({store:v,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&v.$state&&typeof v.$state=="object"&&typeof v.$state.constructor=="function"&&!v.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
15
+ */let je;const rt=e=>je=e,Wl=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function de(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Me;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Me||(Me={}));const Ue=typeof window<"u";function mr(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const r=e[n];de(r)&&de(o)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=mr(r,o):e[n]=o}return e}const _r=()=>{};function gr(e,t,n,o=_r){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&s.getCurrentScope()&&s.onScopeDispose(r),r}function ke(e,...t){e.slice().forEach(n=>{n(...t)})}const Gl=e=>e(),yr=Symbol(),Yt=Symbol();function qt(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];de(r)&&de(o)&&e.hasOwnProperty(n)&&!s.isRef(o)&&!s.isReactive(o)?e[n]=qt(r,o):e[n]=o}return e}const Yl=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function ql(e){return!de(e)||!e.hasOwnProperty(Yl)}const{assign:F}=Object;function Er(e){return!!(s.isRef(e)&&e.effect)}function wr(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let c;function u(){!l&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=r?r():{});const d=process.env.NODE_ENV!=="production"&&o?s.toRefs(s.ref(r?r():{}).value):s.toRefs(n.state.value[e]);return F(d,i,Object.keys(a||{}).reduce((f,p)=>(process.env.NODE_ENV!=="production"&&p in d&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`),f[p]=s.markRaw(s.computed(()=>{rt(n);const _=n._s.get(e);return a[p].call(_,_)})),f),{}))}return c=Jt(e,u,t,n,o,!0),c}function Jt(e,t,n={},o,r,i){let a;const l=F({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const c={deep:!0};process.env.NODE_ENV!=="production"&&(c.onTrigger=g=>{u?_=g:u==!1&&!k._hotUpdating&&(Array.isArray(_)?_.push(g):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let u,d,f=[],p=[],_;const m=o.state.value[e];!i&&!m&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[e]={});const b=s.ref({});let h;function v(g){let E;u=d=!1,process.env.NODE_ENV!=="production"&&(_=[]),typeof g=="function"?(g(o.state.value[e]),E={type:Me.patchFunction,storeId:e,events:_}):(qt(o.state.value[e],g),E={type:Me.patchObject,payload:g,storeId:e,events:_});const I=h=Symbol();s.nextTick().then(()=>{h===I&&(u=!0)}),d=!0,ke(f,E,o.state.value[e])}const T=i?function(){const{state:E}=n,I=E?E():{};this.$patch(C=>{F(C,I)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:_r;function N(){a.stop(),f=[],p=[],o._s.delete(e)}const x=(g,E="")=>{if(yr in g)return g[Yt]=E,g;const I=function(){rt(o);const C=Array.from(arguments),W=[],B=[];function V($){W.push($)}function G($){B.push($)}ke(p,{args:C,name:I[Yt],store:k,after:V,onError:G});let P;try{P=g.apply(this&&this.$id===e?this:k,C)}catch($){throw ke(B,$),$}return P instanceof Promise?P.then($=>(ke(W,$),$)).catch($=>(ke(B,$),Promise.reject($))):(ke(W,P),P)};return I[yr]=!0,I[Yt]=E,I},D=s.markRaw({actions:{},getters:{},state:[],hotState:b}),Z={_p:o,$id:e,$onAction:gr.bind(null,p),$patch:v,$reset:T,$subscribe(g,E={}){const I=gr(f,g,E.detached,()=>C()),C=a.run(()=>s.watch(()=>o.state.value[e],W=>{(E.flush==="sync"?d:u)&&g({storeId:e,type:Me.direct,events:_},W)},F({},c,E)));return I},$dispose:N},k=s.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue?F({_hmrPayload:D,_customProperties:s.markRaw(new Set)},Z):Z);o._s.set(e,k);const y=(o._a&&o._a.runWithContext||Gl)(()=>o._e.run(()=>(a=s.effectScope()).run(()=>t({action:x}))));for(const g in y){const E=y[g];if(s.isRef(E)&&!Er(E)||s.isReactive(E))process.env.NODE_ENV!=="production"&&r?b.value[g]=s.toRef(y,g):i||(m&&ql(E)&&(s.isRef(E)?E.value=m[g]:qt(E,m[g])),o.state.value[e][g]=E),process.env.NODE_ENV!=="production"&&D.state.push(g);else if(typeof E=="function"){const I=process.env.NODE_ENV!=="production"&&r?E:x(E,g);y[g]=I,process.env.NODE_ENV!=="production"&&(D.actions[g]=E),l.actions[g]=E}else process.env.NODE_ENV!=="production"&&Er(E)&&(D.getters[g]=i?n.getters[g]:E,Ue&&(y._getters||(y._getters=s.markRaw([]))).push(g))}if(F(k,y),F(s.toRaw(k),y),Object.defineProperty(k,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?b.value:o.state.value[e],set:g=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");v(E=>{F(E,g)})}}),process.env.NODE_ENV!=="production"&&(k._hotUpdate=s.markRaw(g=>{k._hotUpdating=!0,g._hmrPayload.state.forEach(E=>{if(E in k.$state){const I=g.$state[E],C=k.$state[E];typeof I=="object"&&de(I)&&de(C)?mr(I,C):g.$state[E]=C}k[E]=s.toRef(g.$state,E)}),Object.keys(k.$state).forEach(E=>{E in g.$state||delete k[E]}),u=!1,d=!1,o.state.value[e]=s.toRef(g._hmrPayload,"hotState"),d=!0,s.nextTick().then(()=>{u=!0});for(const E in g._hmrPayload.actions){const I=g[E];k[E]=x(I,E)}for(const E in g._hmrPayload.getters){const I=g._hmrPayload.getters[E],C=i?s.computed(()=>(rt(o),I.call(k,k))):I;k[E]=C}Object.keys(k._hmrPayload.getters).forEach(E=>{E in g._hmrPayload.getters||delete k[E]}),Object.keys(k._hmrPayload.actions).forEach(E=>{E in g._hmrPayload.actions||delete k[E]}),k._hmrPayload=g._hmrPayload,k._getters=g._getters,k._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue){const g={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(E=>{Object.defineProperty(k,E,F({value:k[E]},g))})}return o._p.forEach(g=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ue){const E=a.run(()=>g({store:k,app:o._a,pinia:o,options:l}));Object.keys(E||{}).forEach(I=>k._customProperties.add(I)),F(k,E)}else F(k,a.run(()=>g({store:k,app:o._a,pinia:o,options:l})))}),process.env.NODE_ENV!=="production"&&k.$state&&typeof k.$state=="object"&&typeof k.$state.constructor=="function"&&!k.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
16
16
  state: () => new MyClass()
17
- Found in store "${v.$id}".`),_&&i&&n.hydrate&&n.hydrate(v.$state,_),c=!0,d=!0,v}/*! #__NO_SIDE_EFFECTS__ */function Jl(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function i(a,l){const u=s.hasInjectionContext();if(a=(process.env.NODE_ENV==="test"&&je&&je._testing?null:a)||(u?s.inject(Wl,null):null),a&&rt(a),process.env.NODE_ENV!=="production"&&!je)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
17
+ Found in store "${k.$id}".`),m&&i&&n.hydrate&&n.hydrate(k.$state,m),u=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Jl(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function i(a,l){const c=s.hasInjectionContext();if(a=(process.env.NODE_ENV==="test"&&je&&je._testing?null:a)||(c?s.inject(Wl,null):null),a&&rt(a),process.env.NODE_ENV!=="production"&&!je)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
18
18
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
19
- This will fail in production.`);a=je,a._s.has(e)||(r?Jt(e,t,o,a):wr(e,o,a),process.env.NODE_ENV!=="production"&&(i._pinia=a));const c=a._s.get(e);if(process.env.NODE_ENV!=="production"&&l){const d="__hot:"+e,f=r?Jt(d,t,o,a,!0):wr(d,F({},o),a,!0);l._hotUpdate(f),delete a.state.value[d],a._s.delete(d)}if(process.env.NODE_ENV!=="production"&&Ue){const d=s.getCurrentInstance();if(d&&d.proxy&&!l){const f=d.proxy,h="_pStores"in f?f._pStores:f._pStores={};h[e]=c}}return c}return i.$id=e,i}function Xt(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const Xl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zl=e=>e!=null,Ql=Object.prototype.toString,ec=e=>Ql.call(e)==="[object Object]",tc=()=>{};function st(e){return Array.isArray(e)?e:[e]}function nc(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const Oe=Xl?window:void 0;function Se(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Be(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),r=s.computed(()=>{const l=st(s.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=nc(()=>{var l,u;return[(u=(l=r.value)==null?void 0:l.map(c=>Se(c)))!=null?u:[Oe].filter(c=>c!=null),st(s.toValue(r.value?e[1]:e[0])),st(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=ec(d)?{...d}:d;t.push(...l.flatMap(h=>u.flatMap(p=>c.map(_=>o(h,p,_,f)))))},{flush:"post"}),a=()=>{i(),n()};return Xt(n),a}function oc(){const e=s.shallowRef(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function rc(e){const t=oc();return s.computed(()=>(t.value,!!e()))}function sc(e,t,n={}){const{window:o=Oe,...r}=n;let i;const a=rc(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},u=s.computed(()=>{const h=s.toValue(e),p=st(h).map(Se).filter(Zl);return new Set(p)}),c=s.watch(()=>u.value,h=>{l(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),d=()=>i==null?void 0:i.takeRecords(),f=()=>{c(),l()};return Xt(f),{isSupported:a,stop:f,takeRecords:d}}function ac(e,t,n={}){const{window:o=Oe,document:r=o==null?void 0:o.document,flush:i="sync"}=n;if(!o||!r)return tc;let a;const l=d=>{a==null||a(),a=d},u=s.watchEffect(()=>{const d=Se(e);if(d){const{stop:f}=sc(r,h=>{h.map(p=>[...p.removedNodes]).flat().some(p=>p===d||p.contains(d))&&t(h)},{window:o,childList:!0,subtree:!0});l(f)}},{flush:i}),c=()=>{u(),l()};return Xt(c),c}function ic(e={}){var t;const{window:n=Oe,deep:o=!0,triggerOnRemoval:r=!1}=e,i=(t=e.document)!=null?t:n==null?void 0:n.document,a=()=>{var c;let d=i==null?void 0:i.activeElement;if(o)for(;d!=null&&d.shadowRoot;)d=(c=d==null?void 0:d.shadowRoot)==null?void 0:c.activeElement;return d},l=s.ref(),u=()=>{l.value=a()};if(n){const c={capture:!0,passive:!0};Be(n,"blur",d=>{d.relatedTarget===null&&u()},c),Be(n,"focus",u,c)}return r&&ac(l,u,{document:i}),u(),l}const lc="focusin",cc="focusout",uc=":focus-within";function dc(e,t={}){const{window:n=Oe}=t,o=s.computed(()=>Se(e)),r=s.shallowRef(!1),i=s.computed(()=>r.value),a=ic(t);if(!n||!a.value)return{focused:i};const l={passive:!0};return Be(o,lc,()=>r.value=!0,l),Be(o,cc,()=>{var u,c,d;return r.value=(d=(c=(u=o.value)==null?void 0:u.matches)==null?void 0:c.call(u,uc))!=null?d:!1},l),{focused:i}}function fc(e,{window:t=Oe,scrollTarget:n}={}){const o=s.ref(!1),r=()=>{if(!t)return;const i=t.document,a=Se(e);if(!a)o.value=!1;else{const l=a.getBoundingClientRect();o.value=l.top<=(t.innerHeight||i.documentElement.clientHeight)&&l.left<=(t.innerWidth||i.documentElement.clientWidth)&&l.bottom>=0&&l.right>=0}};return s.watch(()=>Se(e),()=>r(),{immediate:!0,flush:"post"}),t&&Be(n||t,"scroll",r,{capture:!1,passive:!0}),o}const te=e=>{let t=fc(e).value;return t=t&&e.offsetHeight>0,t},ne=e=>e.tabIndex>=0,br=e=>{const t=e.target;return Zt(t)},Zt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;if(o){const r=Array.from(o.children)[e.cellIndex];r&&(n=r)}}else if(e instanceof HTMLTableRowElement){const o=e.previousElementSibling;o&&(n=o)}return n&&(!ne(n)||!te(n))?Zt(n):n},pc=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const r=(t=n.parentElement)==null?void 0:t.parentElement;if(r){const i=r.firstElementChild,a=i==null?void 0:i.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const r=n.parentElement;if(r){const i=r.firstElementChild;i&&(o=i)}}return o&&(!ne(o)||!te(o))?Qt(o):o},vr=e=>{const t=e.target;return Qt(t)},Qt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;if(o){const r=Array.from(o.children)[e.cellIndex];r&&(n=r)}}else if(e instanceof HTMLTableRowElement){const o=e.nextElementSibling;o&&(n=o)}return n&&(!ne(n)||!te(n))?Qt(n):n},hc=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const r=(t=n.parentElement)==null?void 0:t.parentElement;if(r){const i=r.lastElementChild,a=i==null?void 0:i.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const r=n.parentElement;if(r){const i=r.lastElementChild;i&&(o=i)}}return o&&(!ne(o)||!te(o))?Zt(o):o},kr=e=>{const t=e.target;return en(t)},en=e=>{var t;let n;if(e.previousElementSibling)n=e.previousElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;n=o==null?void 0:o.lastElementChild}return n&&(!ne(n)||!te(n))?en(n):n},Or=e=>{const t=e.target;return tn(t)},tn=e=>{var t;let n;if(e.nextElementSibling)n=e.nextElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;n=o==null?void 0:o.firstElementChild}return n&&(!ne(n)||!te(n))?tn(n):n},Sr=e=>{const t=e.target.parentElement,n=t==null?void 0:t.firstElementChild;return n&&(!ne(n)||!te(n))?tn(n):n},Tr=e=>{const t=e.target.parentElement,n=t==null?void 0:t.lastElementChild;return n&&(!ne(n)||!te(n))?en(n):n},at=["alt","control","shift","meta"],mc={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"},Ir={"keydown.up":e=>{const t=br(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.down":e=>{const t=vr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.left":e=>{const t=kr(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.right":e=>{const t=Or(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.control.up":e=>{const t=pc(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.down":e=>{const t=hc(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.left":e=>{const t=Sr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.right":e=>{const t=Tr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.end":e=>{const t=Tr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=vr(e);t&&t.focus()}},"keydown.shift.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=br(e);t&&t.focus()}},"keydown.home":e=>{const t=Sr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.tab":e=>{const t=Or(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.shift.tab":e=>{const t=kr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())}};function _c(e){const t=a=>{let l=null;return a.parent&&(typeof a.parent=="string"?l=document.querySelector(a.parent):a.parent instanceof HTMLElement?l=a.parent:l=a.parent.value),l},n=a=>{var l;const u=t(a);let c=[];if(typeof a.selectors=="string")c=u?Array.from(u.querySelectorAll(a.selectors)):Array.from(document.querySelectorAll(a.selectors));else if(Array.isArray(a.selectors))for(const d of a.selectors)d instanceof HTMLElement?c.push(d):c.push(d.$el);else if(a.selectors instanceof HTMLElement)c.push(a.selectors);else if((l=a.selectors)!=null&&l.value)if(Array.isArray(a.selectors.value))for(const d of a.selectors.value)d instanceof HTMLElement?c.push(d):c.push(d.$el);else c.push(a.selectors.value);return c},o=a=>{const l=t(a);let u=[];return a.selectors?u=n(a):l&&(u=Array.from(l.children).filter(c=>ne(c)&&te(c))),u},r=a=>l=>{const u=mc[l.key]||l.key.toLowerCase();if(at.includes(u))return;const c=a.handlers||Ir;for(const d of Object.keys(c)){const[f,...h]=d.split(".");if(f==="keydown"&&h.includes(u)){const p=c[d],_=h.filter(m=>at.includes(m)),b=at.some(m=>{const k=m.charAt(0).toUpperCase()+m.slice(1);return l.getModifierState(k)});if(_.length>0){if(b){for(const m of at)if(h.includes(m)){const k=m.charAt(0).toUpperCase()+m.slice(1);l.getModifierState(k)&&p(l)}}}else b||p(l)}}},i=[];s.onMounted(()=>{for(const a of e){const l=t(a),u=o(a),c=r(a),d=l?[l]:u;for(const f of d){const{focused:h}=dc(s.ref(f)),p=s.watch(h,_=>{_?f.addEventListener("keydown",c):f.removeEventListener("keydown",c)});i.push(p)}}}),s.onBeforeUnmount(()=>{for(const a of i)a()})}function He(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const nn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gc=e=>e!=null,yc=Object.prototype.toString,Vr=e=>yc.call(e)==="[object Object]",fe=()=>{},on=Ec();function Ec(){var e,t;return nn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function wc(e){return s.getCurrentInstance()}function pe(e){return Array.isArray(e)?e:[e]}function bc(...e){if(e.length!==1)return s.toRef(...e);const t=e[0];return typeof t=="function"?s.readonly(s.customRef(()=>({get:t,set:fe}))):s.ref(t)}function vc(e,t=!0,n){wc()?s.onMounted(e,n):t?e():s.nextTick(e)}function Cr(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const rn=nn?window:void 0;function Te(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Nr(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),r=s.computed(()=>{const l=pe(s.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Cr(()=>{var l,u;return[(u=(l=r.value)==null?void 0:l.map(c=>Te(c)))!=null?u:[rn].filter(c=>c!=null),pe(s.toValue(r.value?e[1]:e[0])),pe(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=Vr(d)?{...d}:d;t.push(...l.flatMap(h=>u.flatMap(p=>c.map(_=>o(h,p,_,f)))))},{flush:"post"}),a=()=>{i(),n()};return He(n),a}function kc(){const e=s.shallowRef(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function Pr(e){const t=kc();return s.computed(()=>(t.value,!!e()))}function Rr(e,t,n={}){const{window:o=rn,...r}=n;let i;const a=Pr(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},u=s.computed(()=>{const h=s.toValue(e),p=pe(h).map(Te).filter(gc);return new Set(p)}),c=s.watch(()=>u.value,h=>{l(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),d=()=>i==null?void 0:i.takeRecords(),f=()=>{c(),l()};return He(f),{isSupported:a,stop:f,takeRecords:d}}function Oc(e,t,n={}){const{window:o=rn,...r}=n;let i;const a=Pr(()=>o&&"ResizeObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},u=s.computed(()=>{const f=s.toValue(e);return Array.isArray(f)?f.map(h=>Te(h)):[Te(f)]}),c=s.watch(u,f=>{if(l(),a.value&&o){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,r)}},{immediate:!0,flush:"post"}),d=()=>{l(),c()};return He(d),{isSupported:a,stop:d}}function Sc(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0,immediate:i=!0,updateTiming:a="sync"}=t,l=s.shallowRef(0),u=s.shallowRef(0),c=s.shallowRef(0),d=s.shallowRef(0),f=s.shallowRef(0),h=s.shallowRef(0),p=s.shallowRef(0),_=s.shallowRef(0);function b(){const k=Te(e);if(!k){n&&(l.value=0,u.value=0,c.value=0,d.value=0,f.value=0,h.value=0,p.value=0,_.value=0);return}const I=k.getBoundingClientRect();l.value=I.height,u.value=I.bottom,c.value=I.left,d.value=I.right,f.value=I.top,h.value=I.width,p.value=I.x,_.value=I.y}function m(){a==="sync"?b():a==="next-frame"&&requestAnimationFrame(()=>b())}return Oc(e,m),s.watch(()=>Te(e),k=>!k&&m()),Rr(e,m,{attributeFilter:["style","class"]}),r&&Nr("scroll",m,{capture:!0,passive:!0}),o&&Nr("resize",m,{passive:!0}),vc(()=>{i&&m()}),{height:l,bottom:u,left:c,right:d,top:f,width:h,x:p,y:_,update:m}}const Tc=(e=8)=>Array.from({length:e},()=>Math.floor(Math.random()*16).toString(16)).join(""),Dr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ic=["tabindex"],Vc=s.defineComponent({__name:"ARow",props:{rowIndex:{},store:{},tabIndex:{default:()=>-1},addNavigation:{type:[Boolean,Object],default:!1}},setup(e){const t=s.useTemplateRef("rowEl"),n=s.computed(()=>e.store.isRowVisible(e.rowIndex)),o=s.computed(()=>e.store.getRowExpandSymbol(e.rowIndex));if(e.addNavigation){let r=Ir;typeof e.addNavigation=="object"&&(r={...r,...e.addNavigation}),_c([{selectors:t,handlers:r}])}return(r,i)=>s.withDirectives((s.openBlock(),s.createElementBlock("tr",{ref:"rowEl",tabindex:r.tabIndex,class:"atable-row"},[r.store.config.view!=="uncounted"?s.renderSlot(r.$slots,"index",{key:0},()=>[r.store.config.view==="list"?(s.openBlock(),s.createElementBlock("td",{key:0,tabIndex:-1,class:s.normalizeClass(["list-index",r.store.hasPinnedColumns?"sticky-index":""])},s.toDisplayString(r.rowIndex+1),3)):r.store.config.view==="tree"?(s.openBlock(),s.createElementBlock("td",{key:1,tabIndex:-1,class:s.normalizeClass(["tree-index",r.store.hasPinnedColumns?"sticky-index":""]),onClick:i[0]||(i[0]=a=>r.store.toggleRowExpand(r.rowIndex))},s.toDisplayString(o.value),3)):s.createCommentVNode("",!0)],!0):s.createCommentVNode("",!0),s.renderSlot(r.$slots,"default",{},void 0,!0)],8,Ic)),[[s.vShow,n.value]])}}),Cc=Dr(Vc,[["__scopeId","data-v-4cb4f254"]]),Ar=nn?window:void 0;function ze(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Ie(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),r=s.computed(()=>{const l=pe(s.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Cr(()=>{var l,u;return[(u=(l=r.value)==null?void 0:l.map(c=>ze(c)))!=null?u:[Ar].filter(c=>c!=null),pe(s.toValue(r.value?e[1]:e[0])),pe(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=Vr(d)?{...d}:d;t.push(...l.flatMap(h=>u.flatMap(p=>c.map(_=>o(h,p,_,f)))))},{flush:"post"}),a=()=>{i(),n()};return He(n),a}let xr=!1;function $r(e,t,n={}){const{window:o=Ar,ignore:r=[],capture:i=!0,detectIframe:a=!1,controls:l=!1}=n;if(!o)return l?{stop:fe,cancel:fe,trigger:fe}:fe;if(on&&!xr){xr=!0;const m={passive:!0};Array.from(o.document.body.children).forEach(k=>Ie(k,"click",fe,m)),Ie(o.document.documentElement,"click",fe,m)}let u=!0;const c=m=>s.toValue(r).some(k=>{if(typeof k=="string")return Array.from(o.document.querySelectorAll(k)).some(I=>I===m.target||m.composedPath().includes(I));{const I=ze(k);return I&&(m.target===I||m.composedPath().includes(I))}});function d(m){const k=s.toValue(m);return k&&k.$.subTree.shapeFlag===16}function f(m,k){const I=s.toValue(m),P=I.$.subTree&&I.$.subTree.children;return P==null||!Array.isArray(P)?!1:P.some(x=>x.el===k.target||k.composedPath().includes(x.el))}const h=m=>{const k=ze(e);if(m.target!=null&&!(!(k instanceof Element)&&d(e)&&f(e,m))&&!(!k||k===m.target||m.composedPath().includes(k))){if("detail"in m&&m.detail===0&&(u=!c(m)),!u){u=!0;return}t(m)}};let p=!1;const _=[Ie(o,"click",m=>{p||(p=!0,setTimeout(()=>{p=!1},0),h(m))},{passive:!0,capture:i}),Ie(o,"pointerdown",m=>{const k=ze(e);u=!c(m)&&!!(k&&!m.composedPath().includes(k))},{passive:!0}),a&&Ie(o,"blur",m=>{setTimeout(()=>{var k;const I=ze(e);((k=o.document.activeElement)==null?void 0:k.tagName)==="IFRAME"&&!(I!=null&&I.contains(o.document.activeElement))&&t(m)},0)},{passive:!0})].filter(Boolean),b=()=>_.forEach(m=>m());return l?{stop:b,cancel:()=>{u=!1},trigger:m=>{u=!0,h(m),u=!1}}:b}const Nc={mounted(e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=$r(e,t.value,{capture:n});else{const[o,r]=t.value;e.__onClickOutside_stop=$r(e,o,Object.assign({capture:n},r))}},unmounted(e){e.__onClickOutside_stop()}};function sn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Lr(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 n=e.parentNode;return!n||n.tagName==="BODY"?!1:Lr(n)}}function Pc(e){const t=e||window.event,n=t.target;return Lr(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const an=new WeakMap;function Rc(e,t=!1){const n=s.ref(t);let o=null,r="";s.watch(bc(e),l=>{const u=sn(s.toValue(l));if(u){const c=u;if(an.get(c)||an.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=sn(s.toValue(e));!l||n.value||(on&&(o=Ie(l,"touchmove",u=>{Pc(u)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},a=()=>{const l=sn(s.toValue(e));!l||!n.value||(on&&(o==null||o()),l.style.overflow=r,an.delete(l),n.value=!1)};return He(a),s.computed({get(){return n.value},set(l){l?i():a()}})}function Dc(){let e=!1;const t=s.shallowRef(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const r=Rc(n,o.value);s.watch(t,i=>r.value=i)}}Dc();const Ac={key:0,id:"resizable"},xc={class:"atable-header-row",tabindex:"-1"},$c=s.defineComponent({__name:"ATableHeader",props:{columns:{},store:{}},setup(e){return(t,n)=>t.columns.length?(s.openBlock(),s.createElementBlock("thead",Ac,[s.createElementVNode("tr",xc,[t.store.zeroColumn?(s.openBlock(),s.createElementBlock("th",{key:0,id:"header-index",class:s.normalizeClass([[t.store.hasPinnedColumns?"sticky-index":"",t.store.config.view==="tree"?"tree-index":"",t.store.config.view==="list-expansion"?"list-expansion-index":""],"list-index"])},null,2)):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.columns,(o,r)=>(s.openBlock(),s.createElementBlock("th",{key:o.name,tabindex:"-1",style:s.normalizeStyle(t.store.getHeaderCellStyle(o)),class:s.normalizeClass(o.pinned?"sticky-column":"")},[s.renderSlot(t.$slots,"default",{},()=>[s.createTextVNode(s.toDisplayString(o.label||String.fromCharCode(r+97).toUpperCase()),1)])],6))),128))])])):s.createCommentVNode("",!0)}}),Lc=s.defineComponent({__name:"ATableModal",props:{store:{}},setup(e){const t=s.useTemplateRef("amodal"),{width:n,height:o}=Sc(t),r=s.computed(()=>{var i,a,l,u;if(!(e.store.modal.height&&e.store.modal.width&&e.store.modal.left&&e.store.modal.bottom))return;const c=(i=e.store.modal.cell)==null?void 0:i.closest("table"),d=c.offsetHeight||0,f=c.offsetWidth||0;let h=((a=e.store.modal.cell)==null?void 0:a.offsetTop)||0;const p=((l=c.querySelector("thead"))==null?void 0:l.offsetHeight)||0;h+=p,h=h+o.value<d?h:h-(o.value+e.store.modal.height);let _=((u=e.store.modal.cell)==null?void 0:u.offsetLeft)||0;return _=_+n.value<=f?_:_-(n.value-e.store.modal.width),{left:`${_}px`,top:`${h}px`}});return(i,a)=>(s.openBlock(),s.createElementBlock("div",{class:"amodal",ref:"amodal",tabindex:"-1",onClick:a[0]||(a[0]=s.withModifiers(()=>{},["stop"])),onInput:a[1]||(a[1]=s.withModifiers(()=>{},["stop"])),style:s.normalizeStyle(r.value)},[s.renderSlot(i.$slots,"default")],36))}}),jc=e=>{const t=e.id||Tc();return Jl(`table-${t}`,()=>{const n=()=>{const S={};for(const[y,g]of r.value.entries())for(const[E,T]of i.value.entries())S[`${y}:${E}`]=T[g.name];return S},o=S=>{const y=[Object.assign({},{rowModified:!1})];if(S&&"0:0"in S)return S;const g=new Set;for(let E=i.value.length-1;E>=0;E--){const T=i.value[E];T.parent&&g.add(T.parent),y[E]={childrenOpen:!1,expanded:!1,indent:T.indent||0,isParent:g.has(E),isRoot:T.parent===null||T.parent===void 0,rowModified:!1,open:T.parent===null||T.parent===void 0,parent:T.parent}}return y},r=s.ref(e.columns),i=s.ref(e.rows),a=s.ref(e.config||{}),l=s.ref(e.table||n()),u=s.ref(o(e.display)),c=s.ref(e.modal||{visible:!1}),d=s.ref({}),f=s.computed(()=>r.value.some(S=>S.pinned)),h=s.computed(()=>`${Math.ceil(i.value.length/100+1)}ch`),p=s.computed(()=>a.value.view?["list","tree","list-expansion"].includes(a.value.view):!1),_=(S,y)=>l.value[`${S}:${y}`],b=(S,y,g)=>{const E=`${S}:${y}`,T=r.value[S];l.value[E]!==g&&(u.value[y].rowModified=!0),l.value[E]=g,i.value[y][T.name]=g},m=(S,y,g)=>{const E=`${S}:${y}`;l.value[E]!==g&&(u.value[y].rowModified=!0,d.value[E]=g)},k=S=>({minWidth:S.width||"40ch",textAlign:S.align||"center",width:a.value.fullWidth?"auto":void 0}),I=S=>{const y=i.value[S];return console.log(a.value.view,y.indent),a.value.view==="gantt"&&y.indent===0},P=S=>a.value.view!=="tree"||u.value[S].isRoot||u.value[S].open,x=S=>a.value.view!=="tree"?"":u.value[S].isRoot||u.value[S].isParent?u.value[S].childrenOpen?"-":"+":"",D=S=>{if(a.value.view==="tree"){u.value[S].childrenOpen=!u.value[S].childrenOpen;for(let y=i.value.length-1;y>=0;y--)u.value[y].parent===S&&(u.value[y].open=!u.value[y].open,u.value[y].childrenOpen&&D(y))}else a.value.view==="list-expansion"&&(u.value[S].expanded=!u.value[S].expanded)},Z=(S,y)=>{const g=_(S,y);return v(S,y,g)},v=(S,y,g)=>{const E=r.value[S],T=i.value[y],C=E.format;return C?typeof C=="function"?C(g,{table:l.value,row:T,column:E}):typeof C=="string"?Function(`"use strict";return (${C})`)()(g,{table:l.value,row:T,column:E}):g:g};return{columns:r,config:a,display:u,modal:c,rows:i,table:l,updates:d,hasPinnedColumns:f,numberedRowWidth:h,zeroColumn:p,closeModal:S=>{var y;S.target instanceof Node&&(y=c.value.parent)!=null&&y.contains(S.target)||c.value.visible&&(c.value.visible=!1)},getCellData:_,getCellDisplayValue:Z,getFormattedValue:v,getHeaderCellStyle:k,getIndent:(S,y)=>y&&S===0&&y>0?`${y}ch`:"inherit",getRowExpandSymbol:x,isRowGantt:I,isRowVisible:P,setCellData:b,setCellText:m,toggleRowExpand:D}})()},Mc=s.defineComponent({__name:"ATable",props:{id:{},modelValue:{},columns:{},rows:{default:()=>[]},config:{default:()=>new Object}},emits:["update:modelValue","cellUpdate"],setup(e,{expose:t,emit:n}){const o=n,r=s.useTemplateRef("table"),i=e.modelValue?e.modelValue:e.rows,a=jc({columns:e.columns,rows:i,id:e.id,config:e.config});a.$onAction(({name:c,store:d,args:f,after:h})=>{if(c==="setCellData"||c==="setCellText"){const[p,_,b]=f,m=d.getCellData(p,_);h(()=>{o("cellUpdate",{colIndex:p,rowIndex:_,newValue:b,oldValue:m})})}}),s.watch(()=>a.rows,c=>{o("update:modelValue",c)},{deep:!0}),s.onMounted(()=>{e.columns.some(c=>c.pinned)&&(l(),a.config.view==="tree"&&Rr(r,l,{childList:!0,subtree:!0}))});const l=()=>{const c=r.value,d=c==null?void 0:c.rows[0],f=c==null?void 0:c.rows[1],h=d?Array.from(d.cells):[];for(const[p,_]of h.entries()){const b=f==null?void 0:f.cells[p];b&&(_.style.width=`${b.offsetWidth}px`)}for(const p of(c==null?void 0:c.rows)||[]){let _=0;const b=[];for(const m of p.cells)(m.classList.contains("sticky-column")||m.classList.contains("sticky-index"))&&(m.style.left=`${_}px`,_+=m.offsetWidth,b.push(m));b.length>0&&b[b.length-1].classList.add("sticky-column-edge")}};window.addEventListener("keydown",c=>{if(c.key==="Escape"&&a.modal.visible){a.modal.visible=!1;const d=a.modal.parent;d&&s.nextTick().then(()=>{d.focus()})}});const u=c=>{const d=c.indent===0,f=a.columns.filter(p=>p.pinned).length;if(!d||f===0)return a.columns;const h=[];for(let p=0;p<f;p++){const _={...a.columns[p]};_.originalIndex=p,h.push(_)}return h.push({...a.columns[f],isGantt:!0,colspan:a.columns.length-f,originalIndex:f,width:"auto"}),h};return t({store:a}),(c,d)=>s.withDirectives((s.openBlock(),s.createElementBlock("table",{ref:"table",class:"atable",style:s.normalizeStyle({width:s.unref(a).config.fullWidth?"100%":"auto"})},[s.renderSlot(c.$slots,"header",{data:s.unref(a)},()=>[s.createVNode($c,{columns:s.unref(a).columns,store:s.unref(a)},null,8,["columns","store"])],!0),s.createElementVNode("tbody",null,[s.renderSlot(c.$slots,"body",{data:s.unref(a)},()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a).rows,(f,h)=>(s.openBlock(),s.createBlock(Cc,{key:f.id,row:f,rowIndex:h,store:s.unref(a)},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(u(f),(p,_)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:p.name},[p.isGantt?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(p.ganttComponent||"AGanttCell"),{key:0,store:s.unref(a),color:f.gantt_color,colspan:p.colspan,pinned:p.pinned,rowIndex:h,colIndex:p.originalIndex??_,style:s.normalizeStyle({textAlign:(p==null?void 0:p.align)||"center",minWidth:(p==null?void 0:p.width)||"40ch",width:s.unref(a).config.fullWidth?"auto":null})},null,8,["store","color","colspan","pinned","rowIndex","colIndex","style"])):(s.openBlock(),s.createBlock(s.resolveDynamicComponent(p.cellComponent||"ACell"),{key:1,store:s.unref(a),pinned:p.pinned,rowIndex:h,colIndex:_,style:s.normalizeStyle({textAlign:(p==null?void 0:p.align)||"center",minWidth:(p==null?void 0:p.width)||"40ch",width:s.unref(a).config.fullWidth?"auto":null}),spellcheck:"false"},null,8,["store","pinned","rowIndex","colIndex","style"]))],64))),128))]),_:2},1032,["row","rowIndex","store"]))),128))],!0)]),s.renderSlot(c.$slots,"footer",{data:s.unref(a)},void 0,!0),s.renderSlot(c.$slots,"modal",{data:s.unref(a)},()=>[s.withDirectives(s.createVNode(Lc,{store:s.unref(a)},{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(s.unref(a).modal.component),s.mergeProps({key:`${s.unref(a).modal.rowIndex}:${s.unref(a).modal.colIndex}`,colIndex:s.unref(a).modal.colIndex,rowIndex:s.unref(a).modal.rowIndex,store:s.unref(a)},s.unref(a).modal.componentProps),null,16,["colIndex","rowIndex","store"]))]),_:1},8,["store"]),[[s.vShow,s.unref(a).modal.visible]])],!0)],4)),[[s.unref(Nc),s.unref(a).closeModal]])}}),Uc=Dr(Mc,[["__scopeId","data-v-8ce56718"]]),jr=s.defineComponent({__name:"Records",setup(e){const{stonecrop:t,isReady:n}=qo(),o={view:"list"};return(r,i)=>s.unref(n)?(s.openBlock(),s.createBlock(s.unref(Uc),{key:0,columns:s.unref(t).schema.schema.toArray(),rows:s.unref(t).store.records,config:o},null,8,["columns","rows"])):s.createCommentVNode("",!0)}}),Bc={class:"tabs"},Hc={tabindex:"0"},zc={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 424.098 424.098",style:{"enable-background":"new 0 0 424.098 424.098"},"xml:space":"preserve"},Kc={tabindex:"0"},Fc={style:{width:"11pt"}},Mr=ct(s.defineComponent({__name:"SheetNav",props:{breadcrumbs:{default:()=>[]}},setup(e){const t=s.ref(!0),n=s.ref(!1),o=s.ref(""),r=s.useTemplateRef("searchinput"),i=s.computed(()=>t.value?"unrotated":"rotated"),a=()=>{t.value=!t.value},l=async()=>{n.value=!n.value,await s.nextTick(()=>{r.value.focus()})},u=f=>{f.preventDefault(),f.stopPropagation()},c=async f=>{f.preventDefault(),f.stopPropagation(),await l()},d=()=>{};return(f,h)=>{const p=s.resolveComponent("router-link");return s.openBlock(),s.createElementBlock("footer",null,[s.createElementVNode("ul",Bc,[s.createElementVNode("li",{class:"hidebreadcrumbs",onClick:a,onKeydown:s.withKeys(a,["enter"])},[s.createElementVNode("a",Hc,[s.createElementVNode("div",{class:s.normalizeClass(i.value)},"×",2)])],32),s.createElementVNode("li",{class:"hometab",onClick:d,onKeydown:s.withKeys(d,["enter"]),style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createVNode(p,{to:"/home",tabindex:"0"},{default:s.withCtx(()=>[(s.openBlock(),s.createElementBlock("svg",zc,h[5]||(h[5]=[s.createElementVNode("g",null,[s.createElementVNode("path",{style:{fill:"#010002"},d:`M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
19
+ This will fail in production.`);a=je,a._s.has(e)||(r?Jt(e,t,o,a):wr(e,o,a),process.env.NODE_ENV!=="production"&&(i._pinia=a));const u=a._s.get(e);if(process.env.NODE_ENV!=="production"&&l){const d="__hot:"+e,f=r?Jt(d,t,o,a,!0):wr(d,F({},o),a,!0);l._hotUpdate(f),delete a.state.value[d],a._s.delete(d)}if(process.env.NODE_ENV!=="production"&&Ue){const d=s.getCurrentInstance();if(d&&d.proxy&&!l){const f=d.proxy,p="_pStores"in f?f._pStores:f._pStores={};p[e]=u}}return u}return i.$id=e,i}function Xt(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const Xl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zl=e=>e!=null,Ql=Object.prototype.toString,ec=e=>Ql.call(e)==="[object Object]",tc=()=>{};function st(e){return Array.isArray(e)?e:[e]}function nc(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const Oe=Xl?window:void 0;function Se(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Be(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),r=s.computed(()=>{const l=st(s.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=nc(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(u=>Se(u)))!=null?c:[Oe].filter(u=>u!=null),st(s.toValue(r.value?e[1]:e[0])),st(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,c,u,d])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=ec(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(_=>u.map(m=>o(p,_,m,f)))))},{flush:"post"}),a=()=>{i(),n()};return Xt(n),a}function oc(){const e=s.shallowRef(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function rc(e){const t=oc();return s.computed(()=>(t.value,!!e()))}function sc(e,t,n={}){const{window:o=Oe,...r}=n;let i;const a=rc(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},c=s.computed(()=>{const p=s.toValue(e),_=st(p).map(Se).filter(Zl);return new Set(_)}),u=s.watch(()=>c.value,p=>{l(),a.value&&p.size&&(i=new MutationObserver(t),p.forEach(_=>i.observe(_,r)))},{immediate:!0,flush:"post"}),d=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),l()};return Xt(f),{isSupported:a,stop:f,takeRecords:d}}function ac(e,t,n={}){const{window:o=Oe,document:r=o==null?void 0:o.document,flush:i="sync"}=n;if(!o||!r)return tc;let a;const l=d=>{a==null||a(),a=d},c=s.watchEffect(()=>{const d=Se(e);if(d){const{stop:f}=sc(r,p=>{p.map(_=>[..._.removedNodes]).flat().some(_=>_===d||_.contains(d))&&t(p)},{window:o,childList:!0,subtree:!0});l(f)}},{flush:i}),u=()=>{c(),l()};return Xt(u),u}function ic(e={}){var t;const{window:n=Oe,deep:o=!0,triggerOnRemoval:r=!1}=e,i=(t=e.document)!=null?t:n==null?void 0:n.document,a=()=>{var u;let d=i==null?void 0:i.activeElement;if(o)for(;d!=null&&d.shadowRoot;)d=(u=d==null?void 0:d.shadowRoot)==null?void 0:u.activeElement;return d},l=s.ref(),c=()=>{l.value=a()};if(n){const u={capture:!0,passive:!0};Be(n,"blur",d=>{d.relatedTarget===null&&c()},u),Be(n,"focus",c,u)}return r&&ac(l,c,{document:i}),c(),l}const lc="focusin",cc="focusout",uc=":focus-within";function dc(e,t={}){const{window:n=Oe}=t,o=s.computed(()=>Se(e)),r=s.shallowRef(!1),i=s.computed(()=>r.value),a=ic(t);if(!n||!a.value)return{focused:i};const l={passive:!0};return Be(o,lc,()=>r.value=!0,l),Be(o,cc,()=>{var c,u,d;return r.value=(d=(u=(c=o.value)==null?void 0:c.matches)==null?void 0:u.call(c,uc))!=null?d:!1},l),{focused:i}}function fc(e,{window:t=Oe,scrollTarget:n}={}){const o=s.ref(!1),r=()=>{if(!t)return;const i=t.document,a=Se(e);if(!a)o.value=!1;else{const l=a.getBoundingClientRect();o.value=l.top<=(t.innerHeight||i.documentElement.clientHeight)&&l.left<=(t.innerWidth||i.documentElement.clientWidth)&&l.bottom>=0&&l.right>=0}};return s.watch(()=>Se(e),()=>r(),{immediate:!0,flush:"post"}),t&&Be(n||t,"scroll",r,{capture:!1,passive:!0}),o}const te=e=>{let t=fc(e).value;return t=t&&e.offsetHeight>0,t},ne=e=>e.tabIndex>=0,br=e=>{const t=e.target;return Zt(t)},Zt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;if(o){const r=Array.from(o.children)[e.cellIndex];r&&(n=r)}}else if(e instanceof HTMLTableRowElement){const o=e.previousElementSibling;o&&(n=o)}return n&&(!ne(n)||!te(n))?Zt(n):n},pc=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const r=(t=n.parentElement)==null?void 0:t.parentElement;if(r){const i=r.firstElementChild,a=i==null?void 0:i.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const r=n.parentElement;if(r){const i=r.firstElementChild;i&&(o=i)}}return o&&(!ne(o)||!te(o))?Qt(o):o},vr=e=>{const t=e.target;return Qt(t)},Qt=e=>{var t;let n;if(e instanceof HTMLTableCellElement){const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;if(o){const r=Array.from(o.children)[e.cellIndex];r&&(n=r)}}else if(e instanceof HTMLTableRowElement){const o=e.nextElementSibling;o&&(n=o)}return n&&(!ne(n)||!te(n))?Qt(n):n},hc=e=>{var t;const n=e.target;let o;if(n instanceof HTMLTableCellElement){const r=(t=n.parentElement)==null?void 0:t.parentElement;if(r){const i=r.lastElementChild,a=i==null?void 0:i.children[n.cellIndex];a&&(o=a)}}else if(n instanceof HTMLTableRowElement){const r=n.parentElement;if(r){const i=r.lastElementChild;i&&(o=i)}}return o&&(!ne(o)||!te(o))?Zt(o):o},kr=e=>{const t=e.target;return en(t)},en=e=>{var t;let n;if(e.previousElementSibling)n=e.previousElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.previousElementSibling;n=o==null?void 0:o.lastElementChild}return n&&(!ne(n)||!te(n))?en(n):n},Or=e=>{const t=e.target;return tn(t)},tn=e=>{var t;let n;if(e.nextElementSibling)n=e.nextElementSibling;else{const o=(t=e.parentElement)==null?void 0:t.nextElementSibling;n=o==null?void 0:o.firstElementChild}return n&&(!ne(n)||!te(n))?tn(n):n},Sr=e=>{const t=e.target.parentElement,n=t==null?void 0:t.firstElementChild;return n&&(!ne(n)||!te(n))?tn(n):n},Tr=e=>{const t=e.target.parentElement,n=t==null?void 0:t.lastElementChild;return n&&(!ne(n)||!te(n))?en(n):n},at=["alt","control","shift","meta"],mc={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"},Ir={"keydown.up":e=>{const t=br(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.down":e=>{const t=vr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.left":e=>{const t=kr(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.right":e=>{const t=Or(e);e.preventDefault(),e.stopPropagation(),t&&t.focus()},"keydown.control.up":e=>{const t=pc(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.down":e=>{const t=hc(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.left":e=>{const t=Sr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.control.right":e=>{const t=Tr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.end":e=>{const t=Tr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=vr(e);t&&t.focus()}},"keydown.shift.enter":e=>{if(e.target instanceof HTMLTableCellElement){e.preventDefault(),e.stopPropagation();const t=br(e);t&&t.focus()}},"keydown.home":e=>{const t=Sr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.tab":e=>{const t=Or(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())},"keydown.shift.tab":e=>{const t=kr(e);t&&(e.preventDefault(),e.stopPropagation(),t.focus())}};function _c(e){const t=a=>{let l=null;return a.parent&&(typeof a.parent=="string"?l=document.querySelector(a.parent):a.parent instanceof HTMLElement?l=a.parent:l=a.parent.value),l},n=a=>{var l;const c=t(a);let u=[];if(typeof a.selectors=="string")u=c?Array.from(c.querySelectorAll(a.selectors)):Array.from(document.querySelectorAll(a.selectors));else if(Array.isArray(a.selectors))for(const d of a.selectors)d instanceof HTMLElement?u.push(d):u.push(d.$el);else if(a.selectors instanceof HTMLElement)u.push(a.selectors);else if((l=a.selectors)!=null&&l.value)if(Array.isArray(a.selectors.value))for(const d of a.selectors.value)d instanceof HTMLElement?u.push(d):u.push(d.$el);else u.push(a.selectors.value);return u},o=a=>{const l=t(a);let c=[];return a.selectors?c=n(a):l&&(c=Array.from(l.children).filter(u=>ne(u)&&te(u))),c},r=a=>l=>{const c=mc[l.key]||l.key.toLowerCase();if(at.includes(c))return;const u=a.handlers||Ir;for(const d of Object.keys(u)){const[f,...p]=d.split(".");if(f==="keydown"&&p.includes(c)){const _=u[d],m=p.filter(h=>at.includes(h)),b=at.some(h=>{const v=h.charAt(0).toUpperCase()+h.slice(1);return l.getModifierState(v)});if(m.length>0){if(b){for(const h of at)if(p.includes(h)){const v=h.charAt(0).toUpperCase()+h.slice(1);l.getModifierState(v)&&_(l)}}}else b||_(l)}}},i=[];s.onMounted(()=>{for(const a of e){const l=t(a),c=o(a),u=r(a),d=l?[l]:c;for(const f of d){const{focused:p}=dc(s.ref(f)),_=s.watch(p,m=>{m?f.addEventListener("keydown",u):f.removeEventListener("keydown",u)});i.push(_)}}}),s.onBeforeUnmount(()=>{for(const a of i)a()})}function He(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}const nn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gc=e=>e!=null,yc=Object.prototype.toString,Vr=e=>yc.call(e)==="[object Object]",fe=()=>{},on=Ec();function Ec(){var e,t;return nn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function wc(e){return s.getCurrentInstance()}function pe(e){return Array.isArray(e)?e:[e]}function bc(...e){if(e.length!==1)return s.toRef(...e);const t=e[0];return typeof t=="function"?s.readonly(s.customRef(()=>({get:t,set:fe}))):s.ref(t)}function vc(e,t=!0,n){wc()?s.onMounted(e,n):t?e():s.nextTick(e)}function Cr(e,t,n){return s.watch(e,t,{...n,immediate:!0})}const rn=nn?window:void 0;function Te(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pr(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),r=s.computed(()=>{const l=pe(s.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=Cr(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(u=>Te(u)))!=null?c:[rn].filter(u=>u!=null),pe(s.toValue(r.value?e[1]:e[0])),pe(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,c,u,d])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=Vr(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(_=>u.map(m=>o(p,_,m,f)))))},{flush:"post"}),a=()=>{i(),n()};return He(n),a}function kc(){const e=s.shallowRef(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function Nr(e){const t=kc();return s.computed(()=>(t.value,!!e()))}function Rr(e,t,n={}){const{window:o=rn,...r}=n;let i;const a=Nr(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},c=s.computed(()=>{const p=s.toValue(e),_=pe(p).map(Te).filter(gc);return new Set(_)}),u=s.watch(()=>c.value,p=>{l(),a.value&&p.size&&(i=new MutationObserver(t),p.forEach(_=>i.observe(_,r)))},{immediate:!0,flush:"post"}),d=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),l()};return He(f),{isSupported:a,stop:f,takeRecords:d}}function Oc(e,t,n={}){const{window:o=rn,...r}=n;let i;const a=Nr(()=>o&&"ResizeObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},c=s.computed(()=>{const f=s.toValue(e);return Array.isArray(f)?f.map(p=>Te(p)):[Te(f)]}),u=s.watch(c,f=>{if(l(),a.value&&o){i=new ResizeObserver(t);for(const p of f)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return He(d),{isSupported:a,stop:d}}function Sc(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0,immediate:i=!0,updateTiming:a="sync"}=t,l=s.shallowRef(0),c=s.shallowRef(0),u=s.shallowRef(0),d=s.shallowRef(0),f=s.shallowRef(0),p=s.shallowRef(0),_=s.shallowRef(0),m=s.shallowRef(0);function b(){const v=Te(e);if(!v){n&&(l.value=0,c.value=0,u.value=0,d.value=0,f.value=0,p.value=0,_.value=0,m.value=0);return}const T=v.getBoundingClientRect();l.value=T.height,c.value=T.bottom,u.value=T.left,d.value=T.right,f.value=T.top,p.value=T.width,_.value=T.x,m.value=T.y}function h(){a==="sync"?b():a==="next-frame"&&requestAnimationFrame(()=>b())}return Oc(e,h),s.watch(()=>Te(e),v=>!v&&h()),Rr(e,h,{attributeFilter:["style","class"]}),r&&Pr("scroll",h,{capture:!0,passive:!0}),o&&Pr("resize",h,{passive:!0}),vc(()=>{i&&h()}),{height:l,bottom:c,left:u,right:d,top:f,width:p,x:_,y:m,update:h}}const Tc=(e=8)=>Array.from({length:e},()=>Math.floor(Math.random()*16).toString(16)).join(""),Dr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ic=["tabindex"],Vc=s.defineComponent({__name:"ARow",props:{rowIndex:{},store:{},tabIndex:{default:()=>-1},addNavigation:{type:[Boolean,Object],default:!1}},setup(e){const t=s.useTemplateRef("rowEl"),n=s.computed(()=>e.store.isRowVisible(e.rowIndex)),o=s.computed(()=>e.store.getRowExpandSymbol(e.rowIndex));if(e.addNavigation){let r=Ir;typeof e.addNavigation=="object"&&(r={...r,...e.addNavigation}),_c([{selectors:t,handlers:r}])}return(r,i)=>s.withDirectives((s.openBlock(),s.createElementBlock("tr",{ref:"rowEl",tabindex:r.tabIndex,class:"atable-row"},[r.store.config.view!=="uncounted"?s.renderSlot(r.$slots,"index",{key:0},()=>[r.store.config.view==="list"?(s.openBlock(),s.createElementBlock("td",{key:0,tabIndex:-1,class:s.normalizeClass(["list-index",r.store.hasPinnedColumns?"sticky-index":""])},s.toDisplayString(r.rowIndex+1),3)):r.store.config.view==="tree"?(s.openBlock(),s.createElementBlock("td",{key:1,tabIndex:-1,class:s.normalizeClass(["tree-index",r.store.hasPinnedColumns?"sticky-index":""]),onClick:i[0]||(i[0]=a=>r.store.toggleRowExpand(r.rowIndex))},s.toDisplayString(o.value),3)):s.createCommentVNode("",!0)],!0):s.createCommentVNode("",!0),s.renderSlot(r.$slots,"default",{},void 0,!0)],8,Ic)),[[s.vShow,n.value]])}}),Cc=Dr(Vc,[["__scopeId","data-v-4cb4f254"]]),Ar=nn?window:void 0;function ze(e){var t;const n=s.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Ie(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),r=s.computed(()=>{const l=pe(s.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=Cr(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(u=>ze(u)))!=null?c:[Ar].filter(u=>u!=null),pe(s.toValue(r.value?e[1]:e[0])),pe(s.unref(r.value?e[2]:e[1])),s.toValue(r.value?e[3]:e[2])]},([l,c,u,d])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=Vr(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(_=>u.map(m=>o(p,_,m,f)))))},{flush:"post"}),a=()=>{i(),n()};return He(n),a}let xr=!1;function $r(e,t,n={}){const{window:o=Ar,ignore:r=[],capture:i=!0,detectIframe:a=!1,controls:l=!1}=n;if(!o)return l?{stop:fe,cancel:fe,trigger:fe}:fe;if(on&&!xr){xr=!0;const h={passive:!0};Array.from(o.document.body.children).forEach(v=>Ie(v,"click",fe,h)),Ie(o.document.documentElement,"click",fe,h)}let c=!0;const u=h=>s.toValue(r).some(v=>{if(typeof v=="string")return Array.from(o.document.querySelectorAll(v)).some(T=>T===h.target||h.composedPath().includes(T));{const T=ze(v);return T&&(h.target===T||h.composedPath().includes(T))}});function d(h){const v=s.toValue(h);return v&&v.$.subTree.shapeFlag===16}function f(h,v){const T=s.toValue(h),N=T.$.subTree&&T.$.subTree.children;return N==null||!Array.isArray(N)?!1:N.some(x=>x.el===v.target||v.composedPath().includes(x.el))}const p=h=>{const v=ze(e);if(h.target!=null&&!(!(v instanceof Element)&&d(e)&&f(e,h))&&!(!v||v===h.target||h.composedPath().includes(v))){if("detail"in h&&h.detail===0&&(c=!u(h)),!c){c=!0;return}t(h)}};let _=!1;const m=[Ie(o,"click",h=>{_||(_=!0,setTimeout(()=>{_=!1},0),p(h))},{passive:!0,capture:i}),Ie(o,"pointerdown",h=>{const v=ze(e);c=!u(h)&&!!(v&&!h.composedPath().includes(v))},{passive:!0}),a&&Ie(o,"blur",h=>{setTimeout(()=>{var v;const T=ze(e);((v=o.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(T!=null&&T.contains(o.document.activeElement))&&t(h)},0)},{passive:!0})].filter(Boolean),b=()=>m.forEach(h=>h());return l?{stop:b,cancel:()=>{c=!1},trigger:h=>{c=!0,p(h),c=!1}}:b}const Pc={mounted(e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=$r(e,t.value,{capture:n});else{const[o,r]=t.value;e.__onClickOutside_stop=$r(e,o,Object.assign({capture:n},r))}},unmounted(e){e.__onClickOutside_stop()}};function sn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Lr(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 n=e.parentNode;return!n||n.tagName==="BODY"?!1:Lr(n)}}function Nc(e){const t=e||window.event,n=t.target;return Lr(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const an=new WeakMap;function Rc(e,t=!1){const n=s.ref(t);let o=null,r="";s.watch(bc(e),l=>{const c=sn(s.toValue(l));if(c){const u=c;if(an.get(u)||an.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=sn(s.toValue(e));!l||n.value||(on&&(o=Ie(l,"touchmove",c=>{Nc(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},a=()=>{const l=sn(s.toValue(e));!l||!n.value||(on&&(o==null||o()),l.style.overflow=r,an.delete(l),n.value=!1)};return He(a),s.computed({get(){return n.value},set(l){l?i():a()}})}function Dc(){let e=!1;const t=s.shallowRef(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const r=Rc(n,o.value);s.watch(t,i=>r.value=i)}}Dc();const Ac={key:0,id:"resizable"},xc={class:"atable-header-row",tabindex:"-1"},$c=s.defineComponent({__name:"ATableHeader",props:{columns:{},store:{}},setup(e){return(t,n)=>t.columns.length?(s.openBlock(),s.createElementBlock("thead",Ac,[s.createElementVNode("tr",xc,[t.store.zeroColumn?(s.openBlock(),s.createElementBlock("th",{key:0,id:"header-index",class:s.normalizeClass([[t.store.hasPinnedColumns?"sticky-index":"",t.store.config.view==="tree"?"tree-index":"",t.store.config.view==="list-expansion"?"list-expansion-index":""],"list-index"])},null,2)):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.columns,(o,r)=>(s.openBlock(),s.createElementBlock("th",{key:o.name,tabindex:"-1",style:s.normalizeStyle(t.store.getHeaderCellStyle(o)),class:s.normalizeClass(o.pinned?"sticky-column":"")},[s.renderSlot(t.$slots,"default",{},()=>[s.createTextVNode(s.toDisplayString(o.label||String.fromCharCode(r+97).toUpperCase()),1)])],6))),128))])])):s.createCommentVNode("",!0)}}),Lc=s.defineComponent({__name:"ATableModal",props:{store:{}},setup(e){const t=s.useTemplateRef("amodal"),{width:n,height:o}=Sc(t),r=s.computed(()=>{var i,a,l,c;if(!(e.store.modal.height&&e.store.modal.width&&e.store.modal.left&&e.store.modal.bottom))return;const u=(i=e.store.modal.cell)==null?void 0:i.closest("table"),d=u.offsetHeight||0,f=u.offsetWidth||0;let p=((a=e.store.modal.cell)==null?void 0:a.offsetTop)||0;const _=((l=u.querySelector("thead"))==null?void 0:l.offsetHeight)||0;p+=_,p=p+o.value<d?p:p-(o.value+e.store.modal.height);let m=((c=e.store.modal.cell)==null?void 0:c.offsetLeft)||0;return m=m+n.value<=f?m:m-(n.value-e.store.modal.width),{left:`${m}px`,top:`${p}px`}});return(i,a)=>(s.openBlock(),s.createElementBlock("div",{class:"amodal",ref:"amodal",tabindex:"-1",onClick:a[0]||(a[0]=s.withModifiers(()=>{},["stop"])),onInput:a[1]||(a[1]=s.withModifiers(()=>{},["stop"])),style:s.normalizeStyle(r.value)},[s.renderSlot(i.$slots,"default")],36))}}),jc=e=>{const t=e.id||Tc();return Jl(`table-${t}`,()=>{const n=()=>{const O={};for(const[y,g]of r.value.entries())for(const[E,I]of i.value.entries())O[`${y}:${E}`]=I[g.name];return O},o=O=>{const y=[Object.assign({},{rowModified:!1})];if(O&&"0:0"in O)return O;const g=new Set;for(let E=i.value.length-1;E>=0;E--){const I=i.value[E];I.parent&&g.add(I.parent),y[E]={childrenOpen:!1,expanded:!1,indent:I.indent||0,isParent:g.has(E),isRoot:I.parent===null||I.parent===void 0,rowModified:!1,open:I.parent===null||I.parent===void 0,parent:I.parent}}return y},r=s.ref(e.columns),i=s.ref(e.rows),a=s.ref(e.config||{}),l=s.ref(e.table||n()),c=s.ref(o(e.display)),u=s.ref(e.modal||{visible:!1}),d=s.ref({}),f=s.computed(()=>r.value.some(O=>O.pinned)),p=s.computed(()=>`${Math.ceil(i.value.length/100+1)}ch`),_=s.computed(()=>a.value.view?["list","tree","list-expansion"].includes(a.value.view):!1),m=(O,y)=>l.value[`${O}:${y}`],b=(O,y,g)=>{const E=`${O}:${y}`,I=r.value[O];l.value[E]!==g&&(c.value[y].rowModified=!0),l.value[E]=g,i.value[y][I.name]=g},h=(O,y,g)=>{const E=`${O}:${y}`;l.value[E]!==g&&(c.value[y].rowModified=!0,d.value[E]=g)},v=O=>({minWidth:O.width||"40ch",textAlign:O.align||"center",width:a.value.fullWidth?"auto":void 0}),T=O=>{const y=i.value[O];return a.value.view==="gantt"&&y.indent===0},N=O=>a.value.view!=="tree"||c.value[O].isRoot||c.value[O].open,x=O=>a.value.view!=="tree"?"":c.value[O].isRoot||c.value[O].isParent?c.value[O].childrenOpen?"-":"+":"",D=O=>{if(a.value.view==="tree"){c.value[O].childrenOpen=!c.value[O].childrenOpen;for(let y=i.value.length-1;y>=0;y--)c.value[y].parent===O&&(c.value[y].open=!c.value[y].open,c.value[y].childrenOpen&&D(y))}else a.value.view==="list-expansion"&&(c.value[O].expanded=!c.value[O].expanded)},Z=(O,y)=>{const g=m(O,y);return k(O,y,g)},k=(O,y,g)=>{const E=r.value[O],I=i.value[y],C=E.format;return C?typeof C=="function"?C(g,{table:l.value,row:I,column:E}):typeof C=="string"?Function(`"use strict";return (${C})`)()(g,{table:l.value,row:I,column:E}):g:g};return{columns:r,config:a,display:c,modal:u,rows:i,table:l,updates:d,hasPinnedColumns:f,numberedRowWidth:p,zeroColumn:_,closeModal:O=>{var y;O.target instanceof Node&&(y=u.value.parent)!=null&&y.contains(O.target)||u.value.visible&&(u.value.visible=!1)},getCellData:m,getCellDisplayValue:Z,getFormattedValue:k,getHeaderCellStyle:v,getIndent:(O,y)=>y&&O===0&&y>0?`${y}ch`:"inherit",getRowExpandSymbol:x,isRowGantt:T,isRowVisible:N,setCellData:b,setCellText:h,toggleRowExpand:D,updateGanttBar:O=>{var y;const g=(y=i.value[O.rowIndex])==null?void 0:y.gantt;g&&(O.type==="resize"?O.edge==="start"?g.startIndex=O.value:O.edge==="end"&&(g.endIndex=O.value):O.type==="bar"&&(g.startIndex=O.start,g.endIndex=O.end))}}})()},Mc=s.defineComponent({__name:"ATable",props:{id:{},modelValue:{},columns:{},rows:{default:()=>[]},config:{default:()=>new Object}},emits:["update:modelValue","cellUpdate","gantt:drag"],setup(e,{expose:t,emit:n}){const o=n,r=s.useTemplateRef("table"),i=e.modelValue?e.modelValue:e.rows,a=jc({columns:e.columns,rows:i,id:e.id,config:e.config});a.$onAction(({name:d,store:f,args:p,after:_})=>{var m;if(d==="setCellData"||d==="setCellText"){const[b,h,v]=p,T=f.getCellData(b,h);_(()=>{o("cellUpdate",{colIndex:b,rowIndex:h,newValue:v,oldValue:T})})}else if(d==="updateGanttBar"){const[b]=p,h=(m=f.rows[b.rowIndex])==null?void 0:m.gantt;if(h){let v=!1;b.type==="resize"?b.edge==="start"?v=h.startIndex!==b.value:b.edge==="end"&&(v=h.endIndex!==b.value):b.type==="bar"&&(v=h.startIndex!==b.start||h.endIndex!==b.end),v&&_(()=>{o("gantt:drag",b)})}}}),s.watch(()=>a.rows,d=>{o("update:modelValue",d)},{deep:!0}),s.onMounted(()=>{e.columns.some(d=>d.pinned)&&(c(),a.config.view==="tree"&&Rr(r,c,{childList:!0,subtree:!0}))});const l=s.computed(()=>a.columns.filter(d=>d.pinned).length),c=()=>{const d=r.value,f=d==null?void 0:d.rows[0],p=d==null?void 0:d.rows[1],_=f?Array.from(f.cells):[];for(const[m,b]of _.entries()){const h=p==null?void 0:p.cells[m];h&&(b.style.width=`${h.offsetWidth}px`)}for(const m of(d==null?void 0:d.rows)||[]){let b=0;const h=[];for(const v of m.cells)(v.classList.contains("sticky-column")||v.classList.contains("sticky-index"))&&(v.style.left=`${b}px`,b+=v.offsetWidth,h.push(v));h.length>0&&h[h.length-1].classList.add("sticky-column-edge")}};window.addEventListener("keydown",d=>{if(d.key==="Escape"&&a.modal.visible){a.modal.visible=!1;const f=a.modal.parent;f&&s.nextTick().then(()=>{f.focus()})}});const u=d=>{var f;if(d.indent!==0||l.value===0)return a.columns;const p=[];for(let _=0;_<l.value;_++){const m={...a.columns[_]};m.originalIndex=_,p.push(m)}return p.push({...a.columns[l.value],isGantt:!0,colspan:((f=d.gantt)==null?void 0:f.colspan)||a.columns.length-l.value,originalIndex:l.value,width:"auto"}),p};return t({store:a}),(d,f)=>s.withDirectives((s.openBlock(),s.createElementBlock("table",{ref:"table",class:"atable",style:s.normalizeStyle({width:s.unref(a).config.fullWidth?"100%":"auto"})},[s.renderSlot(d.$slots,"header",{data:s.unref(a)},()=>[s.createVNode($c,{columns:s.unref(a).columns,store:s.unref(a)},null,8,["columns","store"])],!0),s.createElementVNode("tbody",null,[s.renderSlot(d.$slots,"body",{data:s.unref(a)},()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a).rows,(p,_)=>(s.openBlock(),s.createBlock(Cc,{key:p.id,row:p,rowIndex:_,store:s.unref(a)},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(u(p),(m,b)=>{var h,v,T;return s.openBlock(),s.createElementBlock(s.Fragment,{key:m.name},[m.isGantt?(s.openBlock(),s.createBlock(s.resolveDynamicComponent(m.ganttComponent||"AGanttCell"),{key:0,store:s.unref(a),columnsCount:s.unref(a).columns.length-l.value,color:(h=p.gantt)==null?void 0:h.color,start:(v=p.gantt)==null?void 0:v.startIndex,end:(T=p.gantt)==null?void 0:T.endIndex,colspan:m.colspan,pinned:m.pinned,rowIndex:_,colIndex:m.originalIndex??b,style:s.normalizeStyle({textAlign:(m==null?void 0:m.align)||"center",minWidth:(m==null?void 0:m.width)||"40ch",width:s.unref(a).config.fullWidth?"auto":null})},null,8,["store","columnsCount","color","start","end","colspan","pinned","rowIndex","colIndex","style"])):(s.openBlock(),s.createBlock(s.resolveDynamicComponent(m.cellComponent||"ACell"),{key:1,store:s.unref(a),pinned:m.pinned,rowIndex:_,colIndex:b,style:s.normalizeStyle({textAlign:(m==null?void 0:m.align)||"center",minWidth:(m==null?void 0:m.width)||"40ch",width:s.unref(a).config.fullWidth?"auto":null}),spellcheck:"false"},null,8,["store","pinned","rowIndex","colIndex","style"]))],64)}),128))]),_:2},1032,["row","rowIndex","store"]))),128))],!0)]),s.renderSlot(d.$slots,"footer",{data:s.unref(a)},void 0,!0),s.renderSlot(d.$slots,"modal",{data:s.unref(a)},()=>[s.withDirectives(s.createVNode(Lc,{store:s.unref(a)},{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(s.unref(a).modal.component),s.mergeProps({key:`${s.unref(a).modal.rowIndex}:${s.unref(a).modal.colIndex}`,colIndex:s.unref(a).modal.colIndex,rowIndex:s.unref(a).modal.rowIndex,store:s.unref(a)},s.unref(a).modal.componentProps),null,16,["colIndex","rowIndex","store"]))]),_:1},8,["store"]),[[s.vShow,s.unref(a).modal.visible]])],!0)],4)),[[s.unref(Pc),s.unref(a).closeModal]])}}),Uc=Dr(Mc,[["__scopeId","data-v-40408c70"]]),jr=s.defineComponent({__name:"Records",setup(e){const{stonecrop:t,isReady:n}=qo(),o={view:"list"};return(r,i)=>s.unref(n)?(s.openBlock(),s.createBlock(s.unref(Uc),{key:0,columns:s.unref(t).schema.schema.toArray(),rows:s.unref(t).store.records,config:o},null,8,["columns","rows"])):s.createCommentVNode("",!0)}}),Bc={class:"tabs"},Hc={tabindex:"0"},zc={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 424.098 424.098",style:{"enable-background":"new 0 0 424.098 424.098"},"xml:space":"preserve"},Kc={tabindex:"0"},Fc={style:{width:"11pt"}},Mr=ct(s.defineComponent({__name:"SheetNav",props:{breadcrumbs:{default:()=>[]}},setup(e){const t=s.ref(!0),n=s.ref(!1),o=s.ref(""),r=s.useTemplateRef("searchinput"),i=s.computed(()=>t.value?"unrotated":"rotated"),a=()=>{t.value=!t.value},l=async()=>{n.value=!n.value,await s.nextTick(()=>{r.value.focus()})},c=f=>{f.preventDefault(),f.stopPropagation()},u=async f=>{f.preventDefault(),f.stopPropagation(),await l()},d=()=>{};return(f,p)=>{const _=s.resolveComponent("router-link");return s.openBlock(),s.createElementBlock("footer",null,[s.createElementVNode("ul",Bc,[s.createElementVNode("li",{class:"hidebreadcrumbs",onClick:a,onKeydown:s.withKeys(a,["enter"])},[s.createElementVNode("a",Hc,[s.createElementVNode("div",{class:s.normalizeClass(i.value)},"×",2)])],32),s.createElementVNode("li",{class:"hometab",onClick:d,onKeydown:s.withKeys(d,["enter"]),style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createVNode(_,{to:"/home",tabindex:"0"},{default:s.withCtx(()=>[(s.openBlock(),s.createElementBlock("svg",zc,p[5]||(p[5]=[s.createElementVNode("g",null,[s.createElementVNode("path",{style:{fill:"#010002"},d:`M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
20
20
  c-3.284-0.008-6.243-1.992-7.495-5.023c-1.252-3.04-0.553-6.527,1.764-8.852L206.104,24.546c1.853-1.845,4.503-2.666,7.047-2.276
21
21
  c2.414,0.39,4.511,1.845,5.731,3.942l47.43,47.43V58.499c0-4.487,3.633-8.129,8.129-8.129h47.755c4.495,0,8.129,3.642,8.129,8.129
22
22
  v79.156l91.39,91.398c2.325,2.325,3.024,5.828,1.764,8.868c-1.26,3.032-4.227,5.007-7.511,5.007c-0.008,0-0.008,0-0.016,0
@@ -24,5 +24,5 @@ This will fail in production.`);a=je,a._s.has(e)||(r?Jt(e,t,o,a):wr(e,o,a),proce
24
24
  c0-2.162,0.854-4.235,2.39-5.755c1.528-1.52,3.585-2.374,5.739-2.374c0.008,0,0.008,0,0.016,0l45.105,0.089l-79.855-79.863
25
25
  c-1.528-1.528-2.382-3.593-2.382-5.747V66.628h-31.498v26.645c0,3.284-1.975,6.251-5.015,7.511
26
26
  c-3.032,1.268-6.527,0.569-8.86-1.764l-57.038-57.038l-183.95,183.95l45.203,0.089c4.487,0.008,8.112,3.642,8.112,8.129
27
- C81.03,234.149,81.03,385.666,81.03,385.666z`})],-1)])))]),_:1})],36),s.createElementVNode("li",{class:"searchtab",onClick:l,onKeydown:s.withKeys(l,["enter"]),style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createElementVNode("a",Kc,[s.createElementVNode("span",{style:s.normalizeStyle({display:n.value?"none":"block"})},[(s.openBlock(),s.createElementBlock("svg",Fc,h[6]||(h[6]=[s.createElementVNode("g",{transform:"matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)"},[s.createElementVNode("path",{d:"M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",style:{fill:"#000000","fill-opacity":"1","fill-rule":"nonzero",stroke:"none"},id:"path2"})],-1)])))],4),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":h[0]||(h[0]=_=>o.value=_),ref:"searchinput",style:s.normalizeStyle({display:n.value?"block":"none"}),onClick:h[1]||(h[1]=_=>u(_)),onInput:h[2]||(h[2]=_=>u(_)),onBlur:h[3]||(h[3]=_=>c(_)),onKeydown:h[4]||(h[4]=s.withKeys(_=>c(_),["enter"])),type:"text"},null,36),[[s.vModelText,o.value]])])],36),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(f.breadcrumbs,_=>(s.openBlock(),s.createElementBlock("li",{key:_.title,style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createVNode(p,{tabindex:"0",to:_.to},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(_.title),1)]),_:2},1032,["to"])],4))),128))])])}}}),[["__scopeId","data-v-a650f215"]]),Wc={install:e=>{e.component("ActionSet",cn),e.component("CommandPalette",un),e.component("Doctype",hr),e.component("Records",jr),e.component("SheetNav",Mr)}};z.ActionSet=cn,z.CommandPalette=un,z.Doctype=hr,z.Records=jr,z.SheetNav=Mr,z.StonecropDesktop=Wc,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
27
+ C81.03,234.149,81.03,385.666,81.03,385.666z`})],-1)])))]),_:1})],36),s.createElementVNode("li",{class:"searchtab",onClick:l,onKeydown:s.withKeys(l,["enter"]),style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createElementVNode("a",Kc,[s.createElementVNode("span",{style:s.normalizeStyle({display:n.value?"none":"block"})},[(s.openBlock(),s.createElementBlock("svg",Fc,p[6]||(p[6]=[s.createElementVNode("g",{transform:"matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)"},[s.createElementVNode("path",{d:"M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",style:{fill:"#000000","fill-opacity":"1","fill-rule":"nonzero",stroke:"none"},id:"path2"})],-1)])))],4),s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=m=>o.value=m),ref:"searchinput",style:s.normalizeStyle({display:n.value?"block":"none"}),onClick:p[1]||(p[1]=m=>c(m)),onInput:p[2]||(p[2]=m=>c(m)),onBlur:p[3]||(p[3]=m=>u(m)),onKeydown:p[4]||(p[4]=s.withKeys(m=>u(m),["enter"])),type:"text"},null,36),[[s.vModelText,o.value]])])],36),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(f.breadcrumbs,m=>(s.openBlock(),s.createElementBlock("li",{key:m.title,style:s.normalizeStyle({display:t.value?"block":"none"})},[s.createVNode(_,{tabindex:"0",to:m.to},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(m.title),1)]),_:2},1032,["to"])],4))),128))])])}}}),[["__scopeId","data-v-a650f215"]]),Wc={install:e=>{e.component("ActionSet",cn),e.component("CommandPalette",un),e.component("Doctype",hr),e.component("Records",jr),e.component("SheetNav",Mr)}};z.ActionSet=cn,z.CommandPalette=un,z.Doctype=hr,z.Records=jr,z.SheetNav=Mr,z.StonecropDesktop=Wc,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
28
28
  //# sourceMappingURL=desktop.umd.cjs.map