diff --git a/public/doxa-maps/manifest.json b/public/doxa-maps/manifest.json index aea26c128..cc04282e6 100644 --- a/public/doxa-maps/manifest.json +++ b/public/doxa-maps/manifest.json @@ -799,7 +799,7 @@ "bundle": "plugin-studio", "scriptUrl": "./plugin-studio/plugin-studio.js", "output": "doxa-maps/plugin-studio/plugin-studio.js", - "integrity": "sha384-D++rzhYeOQb6jBAa8CIB+8VvmvRij/YX1WF9TVHHLkGmUZUZSoOwUx6cgFuzkHOS", + "integrity": "sha384-6Dmz25GPZmlHiB0aEzeuaYQvFfvy+1IMNy8Tsk9VflO2lH2543P/Q2W6WvetrU9o", "elements": [ "plugin-studio" ], @@ -827,7 +827,7 @@ "scriptUrl": "./plugin-studio/plugin-studio.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" }, "instances": [ { diff --git a/public/doxa-maps/plugin-studio/plugin-studio.js b/public/doxa-maps/plugin-studio/plugin-studio.js index 01256d425..a4e5e5cc3 100644 --- a/public/doxa-maps/plugin-studio/plugin-studio.js +++ b/public/doxa-maps/plugin-studio/plugin-studio.js @@ -2,23 +2,23 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function ks(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const W={},it=[],we=()=>{},xn=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vt=e=>e.startsWith("onUpdate:"),X=Object.assign,Cs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ko=Object.prototype.hasOwnProperty,F=(e,t)=>ko.call(e,t),A=Array.isArray,Ke=e=>gt(e)==="[object Map]",Wt=e=>gt(e)==="[object Set]",yn=e=>gt(e)==="[object Date]",R=e=>typeof e=="function",q=e=>typeof e=="string",be=e=>typeof e=="symbol",j=e=>e!==null&&typeof e=="object",_n=e=>(j(e)||R(e))&&R(e.then)&&R(e.catch),wn=Object.prototype.toString,gt=e=>wn.call(e),Co=e=>gt(e).slice(8,-1),Kt=e=>gt(e)==="[object Object]",Os=e=>q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vt=ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Oo=/-\w/g,ne=zt(e=>e.replace(Oo,t=>t.slice(1).toUpperCase())),Ao=/\B([A-Z])/g,ve=zt(e=>e.replace(Ao,"-$1").toLowerCase()),Gt=zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),As=zt(e=>e?`on${Gt(e)}`:""),He=(e,t)=>!Object.is(e,t),Ms=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},En=e=>{const t=q(e)?Number(e):NaN;return isNaN(t)?e:t};let Tn;const qt=()=>Tn||(Tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yt(e){if(A(e)){const t={};for(let s=0;s{if(s){const n=s.split(Po);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){let t="";if(q(e))t=e;else if(A(e))for(let s=0;s!!(e&&e.__v_isRef===!0),H=e=>q(e)?e:e==null?"":A(e)||j(e)&&(e.toString===wn||!R(e.toString))?On(e)?H(e.value):JSON.stringify(e,An,2):String(e),An=(e,t)=>On(t)?An(e,t.value):Ke(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[Rs(n,o)+" =>"]=i,s),{})}:Wt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Rs(s))}:be(t)?Rs(t):j(t)&&!A(t)&&!Kt(t)?String(t):t,Rs=(e,t="")=>{var s;return be(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/function Os(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const z={},it=[],we=()=>{},xn=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vt=e=>e.startsWith("onUpdate:"),X=Object.assign,As=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ko=Object.prototype.hasOwnProperty,F=(e,t)=>ko.call(e,t),A=Array.isArray,Ke=e=>gt(e)==="[object Map]",zt=e=>gt(e)==="[object Set]",yn=e=>gt(e)==="[object Date]",P=e=>typeof e=="function",q=e=>typeof e=="string",be=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",_n=e=>(U(e)||P(e))&&P(e.then)&&P(e.catch),wn=Object.prototype.toString,gt=e=>wn.call(e),Co=e=>gt(e).slice(8,-1),Wt=e=>gt(e)==="[object Object]",Ms=e=>q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vt=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Oo=/-\w/g,ne=Kt(e=>e.replace(Oo,t=>t.slice(1).toUpperCase())),Ao=/\B([A-Z])/g,ve=Kt(e=>e.replace(Ao,"-$1").toLowerCase()),Gt=Kt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rs=Kt(e=>e?`on${Gt(e)}`:""),He=(e,t)=>!Object.is(e,t),Ps=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},En=e=>{const t=q(e)?Number(e):NaN;return isNaN(t)?e:t};let Tn;const qt=()=>Tn||(Tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yt(e){if(A(e)){const t={};for(let s=0;s{if(s){const n=s.split(Po);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function De(e){let t="";if(q(e))t=e;else if(A(e))for(let s=0;s!!(e&&e.__v_isRef===!0),H=e=>q(e)?e:e==null?"":A(e)||U(e)&&(e.toString===wn||!P(e.toString))?On(e)?H(e.value):JSON.stringify(e,An,2):String(e),An=(e,t)=>On(t)?An(e,t.value):Ke(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[Ls(n,o)+" =>"]=i,s),{})}:zt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ls(s))}:be(t)?Ls(t):U(t)&&!A(t)&&!Wt(t)?String(t):t,Ls=(e,t="")=>{var s;return be(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ie;class Do{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ie&&(ie.active?(this.parent=ie,this.index=(ie.scopes||(ie.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t0&&--this._on===0){if(ie===this)ie=this.prevScope;else{let t=ie;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s0)return;if(mt){let t=mt;for(mt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;bt;){let t=bt;for(bt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Ln(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Hs(n),$o(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Is(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(In(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function In(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xt)||(e.globalVersion=xt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Is(e))))return;e.flags|=2;const t=e.dep,s=z,n=me;z=e,me=!0;try{Ln(e);const i=e.fn(e._value);(t.version===0||He(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{z=s,me=n,Nn(e),e.flags&=-3}}function Hs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)Hs(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function $o(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let me=!0;const Hn=[];function Se(){Hn.push(me),me=!1}function Ee(){const e=Hn.pop();me=e===void 0?!0:e}function Dn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let xt=0;class jo{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Fn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!z||!me||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new jo(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,$n(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=z.depsTail,s.nextDep=void 0,z.depsTail.nextDep=s,z.depsTail=s,z.deps===s&&(z.deps=n)}return s}trigger(t){this.version++,xt++,this.notify(t)}notify(t){Ls();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ns()}}}function $n(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)$n(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ds=new WeakMap,Je=Symbol(""),Fs=Symbol(""),yt=Symbol("");function re(e,t,s){if(me&&z){let n=Ds.get(e);n||Ds.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Fn),i.map=n,i.key=s),i.track()}}function De(e,t,s,n,i,o){const l=Ds.get(e);if(!l){xt++;return}const r=a=>{a&&a.trigger()};if(Ls(),t==="clear")l.forEach(r);else{const a=A(e),u=a&&Os(s);if(a&&s==="length"){const f=Number(n);l.forEach((p,w)=>{(w==="length"||w===yt||!be(w)&&w>=f)&&r(p)})}else switch((s!==void 0||l.has(void 0))&&r(l.get(s)),u&&r(l.get(yt)),t){case"add":a?u&&r(l.get("length")):(r(l.get(Je)),Ke(e)&&r(l.get(Fs)));break;case"delete":a||(r(l.get(Je)),Ke(e)&&r(l.get(Fs)));break;case"set":Ke(e)&&r(l.get(Je));break}}Ns()}function ot(e){const t=$(e);return t===e?t:(re(t,"iterate",yt),xe(e)?t:t.map($e))}function Xt(e){return re(e=$(e),"iterate",yt),e}function Te(e,t){return Ge(e)?lt(Xe(e)?$e(t):t):$e(t)}const Uo={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,e=>Te(this,e))},concat(...e){return ot(this).concat(...e.map(t=>A(t)?ot(t):t))},entries(){return $s(this,"entries",e=>(e[1]=Te(this,e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,s=>s.map(n=>Te(this,n)),arguments)},find(e,t){return Fe(this,"find",e,t,s=>Te(this,s),arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,s=>Te(this,s),arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return js(this,"includes",e)},indexOf(...e){return js(this,"indexOf",e)},join(e){return ot(this).join(e)},lastIndexOf(...e){return js(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return _t(this,"pop")},push(...e){return _t(this,"push",e)},reduce(e,...t){return jn(this,"reduce",e,t)},reduceRight(e,...t){return jn(this,"reduceRight",e,t)},shift(){return _t(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return _t(this,"splice",e)},toReversed(){return ot(this).toReversed()},toSorted(e){return ot(this).toSorted(e)},toSpliced(...e){return ot(this).toSpliced(...e)},unshift(...e){return _t(this,"unshift",e)},values(){return $s(this,"values",e=>Te(this,e))}};function $s(e,t,s){const n=Xt(e),i=n[t]();return n!==e&&!xe(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Bo=Array.prototype;function Fe(e,t,s,n,i,o){const l=Xt(e),r=l!==e&&!xe(e),a=l[t];if(a!==Bo[t]){const p=a.apply(e,o);return r?$e(p):p}let u=s;l!==e&&(r?u=function(p,w){return s.call(this,Te(e,p),w,e)}:s.length>2&&(u=function(p,w){return s.call(this,p,w,e)}));const f=a.call(l,u,n);return r&&i?i(f):f}function jn(e,t,s,n){const i=Xt(e),o=i!==e&&!xe(e);let l=s,r=!1;i!==e&&(o?(r=n.length===0,l=function(u,f,p){return r&&(r=!1,u=Te(e,u)),s.call(this,u,Te(e,f),p,e)}):s.length>3&&(l=function(u,f,p){return s.call(this,u,f,p,e)}));const a=i[t](l,...n);return r?Te(e,a):a}function js(e,t,s){const n=$(e);re(n,"iterate",yt);const i=n[t](...s);return(i===-1||i===!1)&&Ws(s[0])?(s[0]=$(s[0]),n[t](...s)):i}function _t(e,t,s=[]){Se(),Ls();const n=$(e)[t].apply(e,s);return Ns(),Ee(),n}const Vo=ks("__proto__,__v_isRef,__isVue"),Un=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(be));function Wo(e){be(e)||(e=String(e));const t=$(this);return re(t,"has",e),t.hasOwnProperty(e)}class Bn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?qn:Gn:o?zn:Kn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=A(t);if(!i){let a;if(l&&(a=Uo[s]))return a;if(s==="hasOwnProperty")return Wo}const r=Reflect.get(t,s,ae(t)?t:n);if((be(s)?Un.has(s):Vo(s))||(i||re(t,"get",s),o))return r;if(ae(r)){const a=l&&Os(s)?r:r.value;return i&&j(a)?Vs(a):a}return j(r)?i?Vs(r):Bs(r):r}}class Vn extends Bn{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];const l=A(t)&&Os(s);if(!this._isShallow){const u=Ge(o);if(!xe(n)&&!Ge(n)&&(o=$(o),n=$(n)),!l&&ae(o)&&!ae(n))return u||(o.value=n),!0}const r=l?Number(s)e,Zt=e=>Reflect.getPrototypeOf(e);function Yo(e,t,s){return function(...n){const i=this.__v_raw,o=$(i),l=Ke(o),r=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,u=i[e](...n),f=s?Us:t?lt:$e;return!t&&re(o,"iterate",a?Fs:Je),X(Object.create(u),{next(){const{value:p,done:w}=u.next();return w?{value:p,done:w}:{value:r?[f(p[0]),f(p[1])]:f(p),done:w}}})}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jo(e,t){const s={get(i){const o=this.__v_raw,l=$(o),r=$(i);e||(He(i,r)&&re(l,"get",i),re(l,"get",r));const{has:a}=Zt(l),u=t?Us:e?lt:$e;if(a.call(l,i))return u(o.get(i));if(a.call(l,r))return u(o.get(r));o!==l&&o.get(i)},get size(){const i=this.__v_raw;return!e&&re($(i),"iterate",Je),i.size},has(i){const o=this.__v_raw,l=$(o),r=$(i);return e||(He(i,r)&&re(l,"has",i),re(l,"has",r)),i===r?o.has(i):o.has(i)||o.has(r)},forEach(i,o){const l=this,r=l.__v_raw,a=$(r),u=t?Us:e?lt:$e;return!e&&re(a,"iterate",Je),r.forEach((f,p)=>i.call(o,u(f),u(p),l))}};return X(s,e?{add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear")}:{add(i){const o=$(this),l=Zt(o),r=$(i),a=!t&&!xe(i)&&!Ge(i)?r:i;return l.has.call(o,a)||He(i,a)&&l.has.call(o,i)||He(r,a)&&l.has.call(o,r)||(o.add(a),De(o,"add",a,a)),this},set(i,o){!t&&!xe(o)&&!Ge(o)&&(o=$(o));const l=$(this),{has:r,get:a}=Zt(l);let u=r.call(l,i);u||(i=$(i),u=r.call(l,i));const f=a.call(l,i);return l.set(i,o),u?He(o,f)&&De(l,"set",i,o):De(l,"add",i,o),this},delete(i){const o=$(this),{has:l,get:r}=Zt(o);let a=l.call(o,i);a||(i=$(i),a=l.call(o,i)),r&&r.call(o,i);const u=o.delete(i);return a&&De(o,"delete",i,void 0),u},clear(){const i=$(this),o=i.size!==0,l=i.clear();return o&&De(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Yo(i,e,t)}),s}function es(e,t){const s=Jo(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(F(s,i)&&i in n?s:n,i,o)}const Xo={get:es(!1,!1)},Zo={get:es(!1,!0)},Qo={get:es(!0,!1)},el={get:es(!0,!0)},Kn=new WeakMap,zn=new WeakMap,Gn=new WeakMap,qn=new WeakMap;function tl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bs(e){return Ge(e)?e:ts(e,!1,Ko,Xo,Kn)}function sl(e){return ts(e,!1,Go,Zo,zn)}function Vs(e){return ts(e,!0,zo,Qo,Gn)}function Fc(e){return ts(e,!0,qo,el,qn)}function ts(e,t,s,n,i){if(!j(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=i.get(e);if(o)return o;const l=tl(Co(e));if(l===0)return e;const r=new Proxy(e,l===2?n:s);return i.set(e,r),r}function Xe(e){return Ge(e)?Xe(e.__v_raw):!!(e&&e.__v_isReactive)}function Ge(e){return!!(e&&e.__v_isReadonly)}function xe(e){return!!(e&&e.__v_isShallow)}function Ws(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function nl(e){return!F(e,"__v_skip")&&Object.isExtensible(e)&&Sn(e,"__v_skip",!0),e}const $e=e=>j(e)?Bs(e):e,lt=e=>j(e)?Vs(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function Yn(e){return ae(e)?e.value:e}const il={get:(e,t,s)=>t==="__v_raw"?e:Yn(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ae(i)&&!ae(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Jn(e){return Xe(e)?e:new Proxy(e,il)}class ol{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Fn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&z!==this)return Pn(this,!0),!0}get value(){const t=this.dep.track();return In(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ll(e,t,s=!1){let n,i;return R(e)?n=e:(n=e.get,i=e.set),new ol(n,i,s)}const ss={},ns=new WeakMap;let Ze;function rl(e,t=!1,s=Ze){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(e)}}function al(e,t,s=W){const{immediate:n,deep:i,once:o,scheduler:l,augmentJob:r,call:a}=s,u=O=>i?O:xe(O)||i===!1||i===0?je(O,1):je(O);let f,p,w,E,U=!1,L=!1;if(ae(e)?(p=()=>e.value,U=xe(e)):Xe(e)?(p=()=>u(e),U=!0):A(e)?(L=!0,U=e.some(O=>Xe(O)||xe(O)),p=()=>e.map(O=>{if(ae(O))return O.value;if(Xe(O))return u(O);if(R(O))return a?a(O,2):O()})):R(e)?t?p=a?()=>a(e,2):e:p=()=>{if(w){Se();try{w()}finally{Ee()}}const O=Ze;Ze=f;try{return a?a(e,3,[E]):e(E)}finally{Ze=O}}:p=we,t&&i){const O=p,se=i===!0?1/0:i;p=()=>je(O(),se)}const Z=Fo(),Y=()=>{f.stop(),Z&&Z.active&&Cs(Z.effects,f)};if(o&&t){const O=t;t=(...se)=>{const Me=O(...se);return Y(),Me}}let D=L?new Array(e.length).fill(ss):ss;const B=O=>{if(!(!(f.flags&1)||!f.dirty&&!O))if(t){const se=f.run();if(O||i||U||(L?se.some((Me,Re)=>He(Me,D[Re])):He(se,D))){w&&w();const Me=Ze;Ze=f;try{const Re=[se,D===ss?void 0:L&&D[0]===ss?[]:D,E];D=se,a?a(t,3,Re):t(...Re)}finally{Ze=Me}}}else f.run()};return r&&r(B),f=new Mn(p),f.scheduler=l?()=>l(B,!1):B,E=O=>rl(O,!1,f),w=f.onStop=()=>{const O=ns.get(f);if(O){if(a)a(O,4);else for(const se of O)se();ns.delete(f)}},t?n?B(!0):D=f.run():l?l(B.bind(null,!0),!0):f.run(),Y.pause=f.pause.bind(f),Y.resume=f.resume.bind(f),Y.stop=Y,Y}function je(e,t=1/0,s){if(t<=0||!j(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ae(e))je(e.value,t,s);else if(A(e))for(let n=0;n{je(n,t,s)});else if(Kt(e)){for(const n in e)je(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,s)}return e}/** +**/let ie;class Do{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ie&&(ie.active?(this.parent=ie,this.index=(ie.scopes||(ie.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t0&&--this._on===0){if(ie===this)ie=this.prevScope;else{let t=ie;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s0)return;if(mt){let t=mt;for(mt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;bt;){let t=bt;for(bt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Ln(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Fs(n),$o(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Ds(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(In(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function In(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xt)||(e.globalVersion=xt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ds(e))))return;e.flags|=2;const t=e.dep,s=K,n=me;K=e,me=!0;try{Ln(e);const i=e.fn(e._value);(t.version===0||He(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{K=s,me=n,Nn(e),e.flags&=-3}}function Fs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)Fs(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function $o(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let me=!0;const Hn=[];function Se(){Hn.push(me),me=!1}function Ee(){const e=Hn.pop();me=e===void 0?!0:e}function Dn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=K;K=void 0;try{t()}finally{K=s}}}let xt=0;class jo{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Fn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!K||!me||K===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==K)s=this.activeLink=new jo(K,this),K.deps?(s.prevDep=K.depsTail,K.depsTail.nextDep=s,K.depsTail=s):K.deps=K.depsTail=s,$n(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=K.depsTail,s.nextDep=void 0,K.depsTail.nextDep=s,K.depsTail=s,K.deps===s&&(K.deps=n)}return s}trigger(t){this.version++,xt++,this.notify(t)}notify(t){Is();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Hs()}}}function $n(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)$n(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const $s=new WeakMap,Je=Symbol(""),js=Symbol(""),yt=Symbol("");function re(e,t,s){if(me&&K){let n=$s.get(e);n||$s.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Fn),i.map=n,i.key=s),i.track()}}function Fe(e,t,s,n,i,o){const l=$s.get(e);if(!l){xt++;return}const r=a=>{a&&a.trigger()};if(Is(),t==="clear")l.forEach(r);else{const a=A(e),u=a&&Ms(s);if(a&&s==="length"){const f=Number(n);l.forEach((h,y)=>{(y==="length"||y===yt||!be(y)&&y>=f)&&r(h)})}else switch((s!==void 0||l.has(void 0))&&r(l.get(s)),u&&r(l.get(yt)),t){case"add":a?u&&r(l.get("length")):(r(l.get(Je)),Ke(e)&&r(l.get(js)));break;case"delete":a||(r(l.get(Je)),Ke(e)&&r(l.get(js)));break;case"set":Ke(e)&&r(l.get(Je));break}}Hs()}function ot(e){const t=$(e);return t===e?t:(re(t,"iterate",yt),xe(e)?t:t.map(je))}function Xt(e){return re(e=$(e),"iterate",yt),e}function Te(e,t){return Ge(e)?lt(Xe(e)?je(t):t):je(t)}const Uo={__proto__:null,[Symbol.iterator](){return Us(this,Symbol.iterator,e=>Te(this,e))},concat(...e){return ot(this).concat(...e.map(t=>A(t)?ot(t):t))},entries(){return Us(this,"entries",e=>(e[1]=Te(this,e[1]),e))},every(e,t){return $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,s=>s.map(n=>Te(this,n)),arguments)},find(e,t){return $e(this,"find",e,t,s=>Te(this,s),arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,s=>Te(this,s),arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(this,"forEach",e,t,void 0,arguments)},includes(...e){return Bs(this,"includes",e)},indexOf(...e){return Bs(this,"indexOf",e)},join(e){return ot(this).join(e)},lastIndexOf(...e){return Bs(this,"lastIndexOf",e)},map(e,t){return $e(this,"map",e,t,void 0,arguments)},pop(){return _t(this,"pop")},push(...e){return _t(this,"push",e)},reduce(e,...t){return jn(this,"reduce",e,t)},reduceRight(e,...t){return jn(this,"reduceRight",e,t)},shift(){return _t(this,"shift")},some(e,t){return $e(this,"some",e,t,void 0,arguments)},splice(...e){return _t(this,"splice",e)},toReversed(){return ot(this).toReversed()},toSorted(e){return ot(this).toSorted(e)},toSpliced(...e){return ot(this).toSpliced(...e)},unshift(...e){return _t(this,"unshift",e)},values(){return Us(this,"values",e=>Te(this,e))}};function Us(e,t,s){const n=Xt(e),i=n[t]();return n!==e&&!xe(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Bo=Array.prototype;function $e(e,t,s,n,i,o){const l=Xt(e),r=l!==e&&!xe(e),a=l[t];if(a!==Bo[t]){const h=a.apply(e,o);return r?je(h):h}let u=s;l!==e&&(r?u=function(h,y){return s.call(this,Te(e,h),y,e)}:s.length>2&&(u=function(h,y){return s.call(this,h,y,e)}));const f=a.call(l,u,n);return r&&i?i(f):f}function jn(e,t,s,n){const i=Xt(e),o=i!==e&&!xe(e);let l=s,r=!1;i!==e&&(o?(r=n.length===0,l=function(u,f,h){return r&&(r=!1,u=Te(e,u)),s.call(this,u,Te(e,f),h,e)}):s.length>3&&(l=function(u,f,h){return s.call(this,u,f,h,e)}));const a=i[t](l,...n);return r?Te(e,a):a}function Bs(e,t,s){const n=$(e);re(n,"iterate",yt);const i=n[t](...s);return(i===-1||i===!1)&&Ks(s[0])?(s[0]=$(s[0]),n[t](...s)):i}function _t(e,t,s=[]){Se(),Is();const n=$(e)[t].apply(e,s);return Hs(),Ee(),n}const Vo=Os("__proto__,__v_isRef,__isVue"),Un=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(be));function zo(e){be(e)||(e=String(e));const t=$(this);return re(t,"has",e),t.hasOwnProperty(e)}class Bn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?qn:Gn:o?Kn:Wn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=A(t);if(!i){let a;if(l&&(a=Uo[s]))return a;if(s==="hasOwnProperty")return zo}const r=Reflect.get(t,s,ae(t)?t:n);if((be(s)?Un.has(s):Vo(s))||(i||re(t,"get",s),o))return r;if(ae(r)){const a=l&&Ms(s)?r:r.value;return i&&U(a)?Ws(a):a}return U(r)?i?Ws(r):zs(r):r}}class Vn extends Bn{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];const l=A(t)&&Ms(s);if(!this._isShallow){const u=Ge(o);if(!xe(n)&&!Ge(n)&&(o=$(o),n=$(n)),!l&&ae(o)&&!ae(n))return u||(o.value=n),!0}const r=l?Number(s)e,Zt=e=>Reflect.getPrototypeOf(e);function Yo(e,t,s){return function(...n){const i=this.__v_raw,o=$(i),l=Ke(o),r=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,u=i[e](...n),f=s?Vs:t?lt:je;return!t&&re(o,"iterate",a?js:Je),X(Object.create(u),{next(){const{value:h,done:y}=u.next();return y?{value:h,done:y}:{value:r?[f(h[0]),f(h[1])]:f(h),done:y}}})}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jo(e,t){const s={get(i){const o=this.__v_raw,l=$(o),r=$(i);e||(He(i,r)&&re(l,"get",i),re(l,"get",r));const{has:a}=Zt(l),u=t?Vs:e?lt:je;if(a.call(l,i))return u(o.get(i));if(a.call(l,r))return u(o.get(r));o!==l&&o.get(i)},get size(){const i=this.__v_raw;return!e&&re($(i),"iterate",Je),i.size},has(i){const o=this.__v_raw,l=$(o),r=$(i);return e||(He(i,r)&&re(l,"has",i),re(l,"has",r)),i===r?o.has(i):o.has(i)||o.has(r)},forEach(i,o){const l=this,r=l.__v_raw,a=$(r),u=t?Vs:e?lt:je;return!e&&re(a,"iterate",Je),r.forEach((f,h)=>i.call(o,u(f),u(h),l))}};return X(s,e?{add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear")}:{add(i){const o=$(this),l=Zt(o),r=$(i),a=!t&&!xe(i)&&!Ge(i)?r:i;return l.has.call(o,a)||He(i,a)&&l.has.call(o,i)||He(r,a)&&l.has.call(o,r)||(o.add(a),Fe(o,"add",a,a)),this},set(i,o){!t&&!xe(o)&&!Ge(o)&&(o=$(o));const l=$(this),{has:r,get:a}=Zt(l);let u=r.call(l,i);u||(i=$(i),u=r.call(l,i));const f=a.call(l,i);return l.set(i,o),u?He(o,f)&&Fe(l,"set",i,o):Fe(l,"add",i,o),this},delete(i){const o=$(this),{has:l,get:r}=Zt(o);let a=l.call(o,i);a||(i=$(i),a=l.call(o,i)),r&&r.call(o,i);const u=o.delete(i);return a&&Fe(o,"delete",i,void 0),u},clear(){const i=$(this),o=i.size!==0,l=i.clear();return o&&Fe(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Yo(i,e,t)}),s}function es(e,t){const s=Jo(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(F(s,i)&&i in n?s:n,i,o)}const Xo={get:es(!1,!1)},Zo={get:es(!1,!0)},Qo={get:es(!0,!1)},el={get:es(!0,!0)},Wn=new WeakMap,Kn=new WeakMap,Gn=new WeakMap,qn=new WeakMap;function tl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zs(e){return Ge(e)?e:ts(e,!1,Wo,Xo,Wn)}function sl(e){return ts(e,!1,Go,Zo,Kn)}function Ws(e){return ts(e,!0,Ko,Qo,Gn)}function Uc(e){return ts(e,!0,qo,el,qn)}function ts(e,t,s,n,i){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=i.get(e);if(o)return o;const l=tl(Co(e));if(l===0)return e;const r=new Proxy(e,l===2?n:s);return i.set(e,r),r}function Xe(e){return Ge(e)?Xe(e.__v_raw):!!(e&&e.__v_isReactive)}function Ge(e){return!!(e&&e.__v_isReadonly)}function xe(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function nl(e){return!F(e,"__v_skip")&&Object.isExtensible(e)&&Sn(e,"__v_skip",!0),e}const je=e=>U(e)?zs(e):e,lt=e=>U(e)?Ws(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function Yn(e){return ae(e)?e.value:e}const il={get:(e,t,s)=>t==="__v_raw"?e:Yn(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ae(i)&&!ae(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Jn(e){return Xe(e)?e:new Proxy(e,il)}class ol{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Fn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&K!==this)return Pn(this,!0),!0}get value(){const t=this.dep.track();return In(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ll(e,t,s=!1){let n,i;return P(e)?n=e:(n=e.get,i=e.set),new ol(n,i,s)}const ss={},ns=new WeakMap;let Ze;function rl(e,t=!1,s=Ze){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(e)}}function al(e,t,s=z){const{immediate:n,deep:i,once:o,scheduler:l,augmentJob:r,call:a}=s,u=O=>i?O:xe(O)||i===!1||i===0?Ue(O,1):Ue(O);let f,h,y,E,j=!1,L=!1;if(ae(e)?(h=()=>e.value,j=xe(e)):Xe(e)?(h=()=>u(e),j=!0):A(e)?(L=!0,j=e.some(O=>Xe(O)||xe(O)),h=()=>e.map(O=>{if(ae(O))return O.value;if(Xe(O))return u(O);if(P(O))return a?a(O,2):O()})):P(e)?t?h=a?()=>a(e,2):e:h=()=>{if(y){Se();try{y()}finally{Ee()}}const O=Ze;Ze=f;try{return a?a(e,3,[E]):e(E)}finally{Ze=O}}:h=we,t&&i){const O=h,se=i===!0?1/0:i;h=()=>Ue(O(),se)}const Z=Fo(),Y=()=>{f.stop(),Z&&Z.active&&As(Z.effects,f)};if(o&&t){const O=t;t=(...se)=>{const Me=O(...se);return Y(),Me}}let D=L?new Array(e.length).fill(ss):ss;const B=O=>{if(!(!(f.flags&1)||!f.dirty&&!O))if(t){const se=f.run();if(O||i||j||(L?se.some((Me,Re)=>He(Me,D[Re])):He(se,D))){y&&y();const Me=Ze;Ze=f;try{const Re=[se,D===ss?void 0:L&&D[0]===ss?[]:D,E];D=se,a?a(t,3,Re):t(...Re)}finally{Ze=Me}}}else f.run()};return r&&r(B),f=new Mn(h),f.scheduler=l?()=>l(B,!1):B,E=O=>rl(O,!1,f),y=f.onStop=()=>{const O=ns.get(f);if(O){if(a)a(O,4);else for(const se of O)se();ns.delete(f)}},t?n?B(!0):D=f.run():l?l(B.bind(null,!0),!0):f.run(),Y.pause=f.pause.bind(f),Y.resume=f.resume.bind(f),Y.stop=Y,Y}function Ue(e,t=1/0,s){if(t<=0||!U(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ae(e))Ue(e.value,t,s);else if(A(e))for(let n=0;n{Ue(n,t,s)});else if(Wt(e)){for(const n in e)Ue(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ue(e[n],t,s)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const wt=[];let Ks=!1;function $c(e,...t){if(Ks)return;Ks=!0,Se();const s=wt.length?wt[wt.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=cl();if(n)rt(n,s,11,[e+t.map(o=>{var l,r;return(r=(l=o.toString)==null?void 0:l.call(o))!=null?r:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${Ji(s,o.type)}>`).join(` +**/const wt=[];let Gs=!1;function Bc(e,...t){if(Gs)return;Gs=!0,Se();const s=wt.length?wt[wt.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=cl();if(n)rt(n,s,11,[e+t.map(o=>{var l,r;return(r=(l=o.toString)==null?void 0:l.call(o))!=null?r:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${Ji(s,o.type)}>`).join(` `),i]);else{const o=[`[Vue warn]: ${e}`,...t];i.length&&o.push(` -`,...dl(i)),console.warn(...o)}Ee(),Ks=!1}function cl(){let e=wt[wt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function dl(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[` -`],...fl(s))}),t}function fl({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Ji(e.component,e.type,n)}`,o=">"+s;return e.props?[i,...ul(e.props),o]:[i+o]}function ul(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...Xn(n,e[n]))}),s.length>3&&t.push(" ..."),t}function Xn(e,t,s){return q(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:ae(t)?(t=Xn(e,$(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):R(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=$(t),s?t:[`${e}=`,t])}function rt(e,t,s,n){try{return n?e(...n):e()}catch(i){is(i,t,s)}}function ye(e,t,s,n){if(R(e)){const i=rt(e,t,s,n);return i&&_n(i)&&i.catch(o=>{is(o,t,s)}),i}if(A(e)){const i=[];for(let o=0;o>>1,i=de[n],o=St(i);o=St(s)?de.push(e):de.splice(hl(t),0,e),e.flags|=1,ei()}}function ei(){os||(os=Zn.then(ni))}function gl(e){if(!A(e))qe&&e.id===-1?qe.splice(ct+1,0,e):e.flags&1||(at.push(e),e.flags|=1);else for(let t=0;tSt(s)-St(n));if(at.length=0,qe){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function ni(e){try{for(ke=0;ke{n._d&&Ui(-1);const o=ls(t),l=Be.length;let r;try{r=e(...i)}finally{for(let a=Be.length;a>l;a--)cn();ls(o),n._d&&Ui(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Gs(e,t){if(oe===null)return e;const s=ms(oe),n=e.dirs||(e.dirs=[]);for(let i=0;i1)return s&&R(t)?t.call(n&&n.proxy):t}}const bl=Symbol.for("v-scx"),ml=()=>Tt(bl);function qs(e,t,s){return oi(e,t,s)}function oi(e,t,s=W){const{immediate:n,deep:i,flush:o,once:l}=s,r=X({},s),a=t&&n||!t&&o!=="post";let u;if(Lt){if(o==="sync"){const E=ml();u=E.__watcherHandles||(E.__watcherHandles=[])}else if(!a){const E=()=>{};return E.stop=we,E.resume=we,E.pause=we,E}}const f=ce;r.call=(E,U,L)=>ye(E,f,U,L);let p=!1;o==="post"?r.scheduler=E=>{pe(E,f&&f.suspense)}:o!=="sync"&&(p=!0,r.scheduler=(E,U)=>{U?E():zs(E)}),r.augmentJob=E=>{t&&(E.flags|=4),p&&(E.flags|=2,f&&(E.id=f.uid,E.i=f))};const w=al(e,t,r);return Lt&&(u?u.push(w):a&&w()),w}function xl(e,t,s){const n=this.proxy,i=q(e)?e.includes(".")?li(n,e):()=>n[e]:e.bind(n,n);let o;R(t)?o=t:(o=t.handler,s=t);const l=Pt(this),r=oi(i,o.bind(n),s);return l(),r}function li(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,Ys=Symbol("_leaveCb");function _l(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ce){t=s;break}}return t}function ri(e){if(!Zs(e))return rs(e.type)&&e.children?_l(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&R(s.default))return s.default()}}function Js(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Js(rs(s.type)&&ri(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xs(e,t){return R(e)?X({name:e.name},t,{setup:e}):e}function ai(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ci(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const as=new WeakMap;function kt(e,t,s,n,i=!1){if(A(e)){e.forEach((L,Z)=>kt(L,t&&(A(t)?t[Z]:t),s,n,i));return}if(dt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&kt(e,t,s,n.component.subTree);return}const o=n.shapeFlag&4?ms(n.component):n.el,l=i?null:o,{i:r,r:a}=e,u=t&&t.r,f=r.refs===W?r.refs={}:r.refs,p=r.setupState,w=$(p),E=p===W?xn:L=>ci(f,L)?!1:F(w,L),U=(L,Z)=>!(Z&&ci(f,Z));if(u!=null&&u!==a){if(di(t),q(u))f[u]=null,E(u)&&(p[u]=null);else if(ae(u)){const L=t;U(u,L.k)&&(u.value=null),L.k&&(f[L.k]=null)}}if(R(a))rt(a,r,12,[l,f]);else{const L=q(a),Z=ae(a);if(L||Z){const Y=()=>{if(e.f){const D=L?E(a)?p[a]:f[a]:U()||!e.k?a.value:f[e.k];if(i)A(D)&&Cs(D,o);else if(A(D))D.includes(o)||D.push(o);else if(L)f[a]=[o],E(a)&&(p[a]=f[a]);else{const B=[o];U(a,e.k)&&(a.value=B),e.k&&(f[e.k]=B)}}else L?(f[a]=l,E(a)&&(p[a]=l)):Z&&(U(a,e.k)&&(a.value=l),e.k&&(f[e.k]=l))};if(l){const D=()=>{Y(),as.delete(e)};D.id=-1,as.set(e,D),pe(D,s)}else di(e),Y()}}}function di(e){const t=as.get(e);t&&(t.flags|=8,as.delete(e))}qt().requestIdleCallback,qt().cancelIdleCallback;const dt=e=>!!e.type.__asyncLoader,Zs=e=>e.type.__isKeepAlive;function wl(e,t){fi(e,"a",t)}function Sl(e,t){fi(e,"da",t)}function fi(e,t,s=ce){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(cs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Zs(i.parent.vnode)&&El(n,t,s,i),i=i.parent}}function El(e,t,s,n){const i=cs(t,e,n,!0);pi(()=>{Cs(n[t],i)},s)}function cs(e,t,s=ce,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...l)=>{Se();const r=Pt(s),a=ye(t,s,e,l);return r(),Ee(),a});return n?i.unshift(o):i.push(o),o}}const Ue=e=>(t,s=ce)=>{(!Lt||e==="sp")&&cs(e,(...n)=>t(...n),s)},Tl=Ue("bm"),ui=Ue("m"),kl=Ue("bu"),Cl=Ue("u"),Ol=Ue("bum"),pi=Ue("um"),Al=Ue("sp"),Ml=Ue("rtg"),Rl=Ue("rtc");function Pl(e,t=ce){cs("ec",e,t)}const Ll="components";function Nl(e,t){return Hl(Ll,e,!0,t)||e}const Il=Symbol.for("v-ndc");function Hl(e,t,s=!0,n=!1){const i=oe||ce;if(i){const o=i.type;{const r=Yi(o,!1);if(r&&(r===t||r===ne(t)||r===Gt(ne(t))))return o}const l=hi(i[e]||o[e],t)||hi(i.appContext[e],t);return!l&&n?o:l}}function hi(e,t){return e&&(e[t]||e[ne(t)]||e[Gt(ne(t))])}function ft(e,t,s,n){let i;const o=s,l=A(e);if(l||q(e)){const r=l&&Xe(e);let a=!1,u=!1;r&&(a=!xe(e),u=Ge(e),e=Xt(e)),i=new Array(e.length);for(let f=0,p=e.length;ft(r,a,void 0,o));else{const r=Object.keys(e);i=new Array(r.length);for(let a=0,u=r.length;a0;return t!=="default"&&(u.name=t),P(),hs(ee,null,[_e("slot",u,n)],f?-2:64)}let l=e[t];l&&l._c&&(l._d=!1);const r=Be.length;P();let a;try{const u=l&&gi(l(s)),f=s.key||o||u&&u.key;a=hs(ee,{key:(f&&!be(f)?f:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let f=Be.length;f>r;f--)cn();throw u}finally{l&&l._c&&(l._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function gi(e){return e.some(t=>dn(t)?!(t.type===Ce||t.type===ee&&!gi(t.children)):!0)?e:null}const Qs=e=>e?zi(e)?ms(e):Qs(e.parent):null,Ct=X(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qs(e.parent),$root:e=>Qs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Qn.bind(e.proxy)),$watch:e=>xl.bind(e)}),en=(e,t)=>e!==W&&!e.__isScriptSetup&&F(e,t),Dl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:l,type:r,appContext:a}=e;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(en(n,t))return l[t]=1,n[t];if(i!==W&&F(i,t))return l[t]=2,i[t];if(F(o,t))return l[t]=3,o[t];if(s!==W&&F(s,t))return l[t]=4,s[t];tn&&(l[t]=0)}}const u=Ct[t];let f,p;if(u)return t==="$attrs"&&re(e.attrs,"get",""),u(e);if((f=r.__cssModules)&&(f=f[t]))return f;if(s!==W&&F(s,t))return l[t]=4,s[t];if(p=a.config.globalProperties,F(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return en(i,t)?(i[t]=s,!0):n!==W&&F(n,t)?(n[t]=s,!0):F(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:o,type:l}},r){let a;return!!(s[r]||e!==W&&r[0]!=="$"&&F(e,r)||en(t,r)||F(o,r)||F(n,r)||F(Ct,r)||F(i.config.globalProperties,r)||(a=l.__cssModules)&&a[r])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:F(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function vi(e){return A(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let tn=!0;function Fl(e){const t=xi(e),s=e.proxy,n=e.ctx;tn=!1,t.beforeCreate&&bi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:r,provide:a,inject:u,created:f,beforeMount:p,mounted:w,beforeUpdate:E,updated:U,activated:L,deactivated:Z,beforeDestroy:Y,beforeUnmount:D,destroyed:B,unmounted:O,render:se,renderTracked:Me,renderTriggered:Re,errorCaptured:Ye,serverPrefetch:_s,expose:tt,inheritAttrs:Ft,components:ws,directives:Ss,filters:bn}=t;if(u&&$l(u,n,null),l)for(const J in l){const G=l[J];R(G)&&(n[J]=G.bind(s))}if(i){const J=i.call(s,s);j(J)&&(e.data=Bs(J))}if(tn=!0,o)for(const J in o){const G=o[J],st=R(G)?G.bind(s,s):R(G.get)?G.get.bind(s,s):we,Es=!R(G)&&R(G.set)?G.set.bind(s):we,nt=wr({get:st,set:Es});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Pe=>nt.value=Pe})}if(r)for(const J in r)mi(r[J],n,s,J);if(a){const J=R(a)?a.call(s):a;Reflect.ownKeys(J).forEach(G=>{vl(G,J[G])})}f&&bi(f,e,"c");function ue(J,G){A(G)?G.forEach(st=>J(st.bind(s))):G&&J(G.bind(s))}if(ue(Tl,p),ue(ui,w),ue(kl,E),ue(Cl,U),ue(wl,L),ue(Sl,Z),ue(Pl,Ye),ue(Rl,Me),ue(Ml,Re),ue(Ol,D),ue(pi,O),ue(Al,_s),A(tt))if(tt.length){const J=e.exposed||(e.exposed={});tt.forEach(G=>{Object.defineProperty(J,G,{get:()=>s[G],set:st=>s[G]=st,enumerable:!0})})}else e.exposed||(e.exposed={});se&&e.render===we&&(e.render=se),Ft!=null&&(e.inheritAttrs=Ft),ws&&(e.components=ws),Ss&&(e.directives=Ss),_s&&ai(e)}function $l(e,t,s=we){A(e)&&(e=sn(e));for(const n in e){const i=e[n];let o;j(i)?"default"in i?o=Tt(i.from||n,i.default,!0):o=Tt(i.from||n):o=Tt(i),ae(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[n]=o}}function bi(e,t,s){ye(A(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function mi(e,t,s,n){let i=n.includes(".")?li(s,n):()=>s[n];if(q(e)){const o=t[e];R(o)&&qs(i,o)}else if(R(e))qs(i,e.bind(s));else if(j(e))if(A(e))e.forEach(o=>mi(o,t,s,n));else{const o=R(e.handler)?e.handler.bind(s):t[e.handler];R(o)&&qs(i,o,e)}}function xi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,r=o.get(t);let a;return r?a=r:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(u=>fs(a,u,l,!0)),fs(a,t,l)),j(t)&&o.set(t,a),a}function fs(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&fs(e,o,s,!0),i&&i.forEach(l=>fs(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const r=jl[l]||s&&s[l];e[l]=r?r(e[l],t[l]):t[l]}return e}const jl={data:yi,props:_i,emits:_i,methods:Ot,computed:Ot,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:Ot,directives:Ot,watch:Bl,provide:yi,inject:Ul};function yi(e,t){return t?e?function(){return X(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Ul(e,t){return Ot(sn(e),sn(t))}function sn(e){if(A(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ne(t)}Modifiers`]||e[`${ve(t)}Modifiers`];function zl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||W;let i=s;const o=t.startsWith("update:"),l=o&&Kl(n,t.slice(7));l&&(l.trim&&(i=s.map(f=>q(f)?f.trim():f)),l.number&&(i=i.map(Mo)));let r,a=n[r=As(t)]||n[r=As(ne(t))];!a&&o&&(a=n[r=As(ve(t))]),a&&ye(a,e,6,i);const u=n[r+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,ye(u,e,6,i)}}const Gl=new WeakMap;function Si(e,t,s=!1){const n=s?Gl:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let l={},r=!1;if(!R(e)){const a=u=>{const f=Si(u,t,!0);f&&(r=!0,X(l,f))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!r?(j(e)&&n.set(e,null),null):(A(o)?o.forEach(a=>l[a]=null):X(l,o),j(e)&&n.set(e,l),l)}function us(e,t){return!e||!Bt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ve(t))||F(e,t))}function jc(){}function Ei(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:l,attrs:r,emit:a,render:u,renderCache:f,props:p,data:w,setupState:E,ctx:U,inheritAttrs:L}=e,Z=ls(e);let Y,D;try{if(s.shapeFlag&4){const O=i||n,se=O;Y=Oe(u.call(se,O,f,p,E,w,U)),D=r}else{const O=t;Y=Oe(O.length>1?O(p,{attrs:r,slots:l,emit:a}):O(p,null)),D=t.props?r:ql(r)}}catch(O){Be.length=0,is(O,e,1),Y=_e(Ce)}let B=Y;if(D&&L!==!1){const O=Object.keys(D),{shapeFlag:se}=B;O.length&&se&7&&(o&&O.some(Vt)&&(D=Yl(D,o)),B=pt(B,D,!1,!0))}if(s.dirs&&(B=pt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition){const O=rs(B.type)&&ri(B)||B;Js(O,s.transition)}return Y=B,ls(Z),Y}const ql=e=>{let t;for(const s in e)(s==="class"||s==="style"||Bt(s))&&((t||(t={}))[s]=e[s]);return t},Yl=(e,t)=>{const s={};for(const n in e)(!Vt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Jl(e,t,s){const{props:n,children:i,component:o}=e,{props:l,children:r,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Ti(n,l,u):!!l;if(a&8){const f=t.dynamicProps;for(let p=0;pObject.create(Ci),Ai=e=>Object.getPrototypeOf(e)===Ci;function Zl(e,t,s,n=!1){const i={},o=Oi();e.propsDefaults=Object.create(null),Mi(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:sl(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Ql(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,r=$(i),[a]=e.propsOptions;let u=!1;if((n||l>0)&&!(l&16)){if(l&8){const f=e.vnode.dynamicProps;for(let p=0;p{a=!0;const[w,E]=Ri(p,t,!0);X(l,w),E&&r.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!a)return j(e)&&n.set(e,it),it;if(A(o))for(let f=0;fe==="_"||e==="_ctx"||e==="$stable",ln=e=>A(e)?e.map(Oe):[Oe(e)],tr=(e,t,s)=>{if(t._n)return t;const n=Et((...i)=>ln(t(...i)),s);return n._c=!1,n},Li=(e,t,s)=>{const n=e._ctx;for(const i in e){if(on(i))continue;const o=e[i];if(R(o))t[i]=tr(i,o,n);else if(o!=null){const l=ln(o);t[i]=()=>l}}},Ni=(e,t)=>{const s=ln(t);e.slots.default=()=>s},Ii=(e,t,s)=>{for(const n in t)(s||!on(n))&&(e[n]=t[n])},sr=(e,t,s)=>{const n=e.slots=Oi();if(e.vnode.shapeFlag&32){const i=t._;i?(Ii(n,t,s),s&&Sn(n,"_",i,!0)):Li(t,n)}else t&&Ni(e,t)},nr=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,l=W;if(n.shapeFlag&32){const r=t._;r?s&&r===1?o=!1:Ii(i,t,s):(o=!t.$stable,Li(t,i)),l=t}else t&&(Ni(e,t),l={default:1});if(o)for(const r in i)!on(r)&&l[r]==null&&delete i[r]},pe=ar;function ir(e){return or(e)}function or(e,t){const s=qt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:l,createText:r,createComment:a,setText:u,setElementText:f,parentNode:p,nextSibling:w,setScopeId:E=we,insertStaticContent:U}=e,L=(c,d,h,m=null,b=null,g=null,_=void 0,y=null,x=!!d.dynamicChildren)=>{if(c===d)return;c&&!Mt(c,d)&&(m=Ts(c),Pe(c,b,g,!0),c=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:v,ref:C,shapeFlag:S}=d;switch(v){case ps:Z(c,d,h,m);break;case Ce:Y(c,d,h,m);break;case an:c==null&&D(d,h,m,_);break;case ee:ws(c,d,h,m,b,g,_,y,x);break;default:S&1?se(c,d,h,m,b,g,_,y,x):S&6?Ss(c,d,h,m,b,g,_,y,x):(S&64||S&128)&&v.process(c,d,h,m,b,g,_,y,x,jt)}C!=null&&b?kt(C,c&&c.ref,g,d||c,!d):C==null&&c&&c.ref!=null&&kt(c.ref,null,g,c,!0)},Z=(c,d,h,m)=>{if(c==null)n(d.el=r(d.children),h,m);else{const b=d.el=c.el;d.children!==c.children&&u(b,d.children)}},Y=(c,d,h,m)=>{c==null?n(d.el=a(d.children||""),h,m):d.el=c.el},D=(c,d,h,m)=>{[c.el,c.anchor]=U(c.children,d,h,m,c.el,c.anchor)},B=({el:c,anchor:d},h,m)=>{let b;for(;c&&c!==d;)b=w(c),n(c,h,m),c=b;n(d,h,m)},O=({el:c,anchor:d})=>{let h;for(;c&&c!==d;)h=w(c),i(c),c=h;i(d)},se=(c,d,h,m,b,g,_,y,x)=>{if(d.type==="svg"?_="svg":d.type==="math"&&(_="mathml"),c==null)Me(d,h,m,b,g,_,y,x);else{const v=c.el&&c.el._isVueCE?c.el:null;try{v&&v._beginPatch(),_s(c,d,b,g,_,y,x)}finally{v&&v._endPatch()}}},Me=(c,d,h,m,b,g,_,y)=>{let x,v;const{props:C,shapeFlag:S,transition:T,dirs:M}=c;if(x=c.el=l(c.type,g,C&&C.is,C),S&8?f(x,c.children):S&16&&Ye(c.children,x,null,m,b,rn(c,g),_,y),M&&Qe(c,null,m,"created"),Re(x,c,c.scopeId,_,m),C){for(const K in C)K!=="value"&&!vt(K)&&o(x,K,null,C[K],g,m);"value"in C&&o(x,"value",null,C.value,g),(v=C.onVnodeBeforeMount)&&Ae(v,m,c)}M&&Qe(c,null,m,"beforeMount");const I=lr(b,T);I&&T.beforeEnter(x),n(x,d,h),((v=C&&C.onVnodeMounted)||I||M)&&pe(()=>{try{v&&Ae(v,m,c),I&&T.enter(x),M&&Qe(c,null,m,"mounted")}finally{}},b)},Re=(c,d,h,m,b)=>{if(h&&E(c,h),m)for(let g=0;g{for(let v=x;v{const y=d.el=c.el;let{patchFlag:x,dynamicChildren:v,dirs:C}=d;x|=c.patchFlag&16;const S=c.props||W,T=d.props||W;let M;if(h&&et(h,!1),(M=T.onVnodeBeforeUpdate)&&Ae(M,h,d,c),C&&Qe(d,c,h,"beforeUpdate"),h&&et(h,!0),v&&(!c.dynamicChildren||c.dynamicChildren.length!==v.length)&&(x=0,_=!1,v=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&f(y,""),v?tt(c.dynamicChildren,v,y,h,m,rn(d,b),g):_||G(c,d,y,null,h,m,rn(d,b),g,!1),x>0){if(x&16)Ft(y,S,T,h,b);else if(x&2&&S.class!==T.class&&o(y,"class",null,T.class,b),x&4&&o(y,"style",S.style,T.style,b),x&8){const I=d.dynamicProps;for(let K=0;K{M&&Ae(M,h,d,c),C&&Qe(d,c,h,"updated")},m)},tt=(c,d,h,m,b,g,_)=>{for(let y=0;y{if(d!==h){if(d!==W)for(const g in d)!vt(g)&&!(g in h)&&o(c,g,d[g],null,b,m);for(const g in h){if(vt(g))continue;const _=h[g],y=d[g];_!==y&&g!=="value"&&o(c,g,y,_,b,m)}"value"in h&&o(c,"value",d.value,h.value,b)}},ws=(c,d,h,m,b,g,_,y,x)=>{const v=d.el=c?c.el:r(""),C=d.anchor=c?c.anchor:r("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:M}=d;M&&(y=y?y.concat(M):M),c==null?(n(v,h,m),n(C,h,m),Ye(d.children||[],h,C,b,g,_,y,x)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(tt(c.dynamicChildren,T,h,b,g,_,y),(d.key!=null||b&&d===b.subTree)&&Hi(c,d,!0)):G(c,d,h,C,b,g,_,y,x)},Ss=(c,d,h,m,b,g,_,y,x)=>{d.slotScopeIds=y,c==null?d.shapeFlag&512?b.ctx.activate(d,h,m,_,x):bn(d,h,m,b,g,_,x):yo(c,d,x)},bn=(c,d,h,m,b,g,_)=>{const y=c.component=hr(c,m,b);if(Zs(c)&&(y.ctx.renderer=jt),gr(y,!1,_),y.asyncDep){if(b&&b.registerDep(y,ue,_),!c.el){const x=y.subTree=_e(Ce);Y(null,x,d,h),c.placeholder=x.el}}else ue(y,c,d,h,b,g,_)},yo=(c,d,h)=>{const m=d.component=c.component;if(Jl(c,d,h))if(m.asyncDep&&!m.asyncResolved){J(m,d,h);return}else m.next=d,m.update();else d.el=c.el,m.vnode=d},ue=(c,d,h,m,b,g,_)=>{const y=()=>{if(c.isMounted){let{next:S,bu:T,u:M,parent:I,vnode:K}=c;{const Ne=Di(c);if(Ne){S&&(S.el=K.el,J(c,S,_)),Ne.asyncDep.then(()=>{pe(()=>{c.isUnmounted||v()},b)});return}}let V=S,Q;et(c,!1),S?(S.el=K.el,J(c,S,_)):S=K,T&&Ms(T),(Q=S.props&&S.props.onVnodeBeforeUpdate)&&Ae(Q,I,S,K),et(c,!0);const le=Ei(c),Le=c.subTree;c.subTree=le,L(Le,le,p(Le.el),Ts(Le),c,b,g),S.el=le.el,V===null&&Xl(c,le.el),M&&pe(M,b),(Q=S.props&&S.props.onVnodeUpdated)&&pe(()=>Ae(Q,I,S,K),b)}else{let S;const{el:T,props:M}=d,{bm:I,m:K,parent:V,root:Q,type:le}=c,Le=dt(d);et(c,!1),I&&Ms(I),!Le&&(S=M&&M.onVnodeBeforeMount)&&Ae(S,V,d),et(c,!0);{Q.ce&&Q.ce._hasShadowRoot()&&Q.ce._injectChildStyle(le,c.parent?c.parent.type:void 0);const Ne=c.subTree=Ei(c);L(null,Ne,h,m,c,b,g),d.el=Ne.el}if(K&&pe(K,b),!Le&&(S=M&&M.onVnodeMounted)){const Ne=d;pe(()=>Ae(S,V,Ne),b)}(d.shapeFlag&256||V&&dt(V.vnode)&&V.vnode.shapeFlag&256)&&c.a&&pe(c.a,b),c.isMounted=!0,d=h=m=null}};c.scope.on();const x=c.effect=new Mn(y);c.scope.off();const v=c.update=x.run.bind(x),C=c.job=x.runIfDirty.bind(x);C.i=c,C.id=c.uid,x.scheduler=()=>zs(C),et(c,!0),v()},J=(c,d,h)=>{d.component=c;const m=c.vnode.props;c.vnode=d,c.next=null,Ql(c,d.props,m,h),nr(c,d.children,h),Se(),ti(c),Ee()},G=(c,d,h,m,b,g,_,y,x=!1)=>{const v=c&&c.children,C=c?c.shapeFlag:0,S=d.children,{patchFlag:T,shapeFlag:M}=d;if(T>0){if(T&128){Es(v,S,h,m,b,g,_,y,x);return}else if(T&256){st(v,S,h,m,b,g,_,y,x);return}}M&8?(C&16&&$t(v,b,g),S!==v&&f(h,S)):C&16?M&16?Es(v,S,h,m,b,g,_,y,x):$t(v,b,g,!0):(C&8&&f(h,""),M&16&&Ye(S,h,m,b,g,_,y,x))},st=(c,d,h,m,b,g,_,y,x)=>{c=c||it,d=d||it;const v=c.length,C=d.length,S=Math.min(v,C);let T;for(T=0;TC?$t(c,b,g,!0,!1,S):Ye(d,h,m,b,g,_,y,x,S)},Es=(c,d,h,m,b,g,_,y,x)=>{let v=0;const C=d.length;let S=c.length-1,T=C-1;for(;v<=S&&v<=T;){const M=c[v],I=d[v]=x?Ve(d[v]):Oe(d[v]);if(Mt(M,I))L(M,I,h,null,b,g,_,y,x);else break;v++}for(;v<=S&&v<=T;){const M=c[S],I=d[T]=x?Ve(d[T]):Oe(d[T]);if(Mt(M,I))L(M,I,h,null,b,g,_,y,x);else break;S--,T--}if(v>S){if(v<=T){const M=T+1,I=MT)for(;v<=S;)Pe(c[v],b,g,!0),v++;else{const M=v,I=v,K=new Map;for(v=I;v<=T;v++){const ge=d[v]=x?Ve(d[v]):Oe(d[v]);ge.key!=null&&K.set(ge.key,v)}let V,Q=0;const le=T-I+1;let Le=!1,Ne=0;const Ut=new Array(le);for(v=0;v=le){Pe(ge,b,g,!0);continue}let Ie;if(ge.key!=null)Ie=K.get(ge.key);else for(V=I;V<=T;V++)if(Ut[V-I]===0&&Mt(ge,d[V])){Ie=V;break}Ie===void 0?Pe(ge,b,g,!0):(Ut[Ie-I]=v+1,Ie>=Ne?Ne=Ie:Le=!0,L(ge,d[Ie],h,null,b,g,_,y,x),Q++)}const So=Le?rr(Ut):it;for(V=So.length-1,v=le-1;v>=0;v--){const ge=I+v,Ie=d[ge],Eo=d[ge+1],To=ge+1{const{el:g,type:_,transition:y,children:x,shapeFlag:v}=c;if(v&6){nt(c.component.subTree,d,h,m);return}if(v&128){c.suspense.move(d,h,m);return}if(v&64){_.move(c,d,h,jt);return}if(_===ee){n(g,d,h);for(let S=0;Sy.enter(g),b));else{const{leave:S,delayLeave:T,afterLeave:M}=y,I=()=>{c.ctx.isUnmounted?i(g):n(g,d,h)},K=()=>{const V=g._isLeaving||!!g[Ys];g._isLeaving&&g[Ys](!0),y.persisted&&!V?I():S(g,()=>{I(),M&&M()})};T?T(g,I,K):K()}else n(g,d,h)},Pe=(c,d,h,m=!1,b=!1)=>{const{type:g,props:_,ref:y,children:x,dynamicChildren:v,shapeFlag:C,patchFlag:S,dirs:T,cacheIndex:M,memo:I}=c;if(S===-2&&(b=!1),y!=null&&(Se(),kt(y,null,h,c,!0),Ee()),M!=null&&(d.renderCache[M]=void 0),C&256){d.ctx.deactivate(c);return}const K=C&1&&T,V=!dt(c);let Q;if(V&&(Q=_&&_.onVnodeBeforeUnmount)&&Ae(Q,d,c),C&6)Hc(c.component,h,m);else{if(C&128){c.suspense.unmount(h,m);return}K&&Qe(c,null,d,"beforeUnmount"),C&64?c.type.remove(c,d,h,jt,m):v&&!v.hasOnce&&(g!==ee||S>0&&S&64)?$t(v,d,h,!1,!0):(g===ee&&S&384||!b&&C&16)&&$t(x,d,h),m&&_o(c)}const le=I!=null&&M==null;(V&&(Q=_&&_.onVnodeUnmounted)||K||le)&&pe(()=>{Q&&Ae(Q,d,c),K&&Qe(c,null,d,"unmounted"),le&&(c.el=null)},h)},_o=c=>{const{type:d,el:h,anchor:m,transition:b}=c;if(d===ee){Ic(h,m);return}if(d===an){O(c);return}const g=()=>{i(h),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:_,delayLeave:y}=b,x=()=>_(h,g);y?y(c.el,g,x):x()}else g()},Ic=(c,d)=>{let h;for(;c!==d;)h=w(c),i(c),c=h;i(d)},Hc=(c,d,h)=>{const{bum:m,scope:b,job:g,subTree:_,um:y,m:x,a:v}=c;Fi(x),Fi(v),m&&Ms(m),b.stop(),g&&(g.flags|=8,Pe(_,c,d,h)),y&&pe(y,d),pe(()=>{c.isUnmounted=!0},d)},$t=(c,d,h,m=!1,b=!1,g=0)=>{for(let _=g;_{if(c.shapeFlag&6)return Ts(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=w(c.anchor||c.el),h=d&&d[yl];return h?w(h):d};let mn=!1;const wo=(c,d,h)=>{let m;c==null?d._vnode&&(Pe(d._vnode,null,null,!0),m=d._vnode.component):L(d._vnode||null,c,d,null,null,null,h),d._vnode=c,mn||(mn=!0,ti(m),si(),mn=!1)},jt={p:L,um:Pe,m:nt,r:_o,mt:bn,mc:Ye,pc:G,pbc:tt,n:Ts,o:e};return{render:wo,hydrate:void 0,createApp:Wl(wo)}}function rn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function et({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hi(e,t,s=!1){const n=e.children,i=t.children;if(A(n)&&A(i))for(let o=0;o>1,e[s[r]]0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,l=s[o-1];o-- >0;)s[o]=l,l=t[l];return s}function Di(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Di(t)}function Fi(e){if(e)for(let t=0;te.__isSuspense;function ar(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):gl(e)}const ee=Symbol.for("v-fgt"),ps=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),an=Symbol.for("v-stc"),Be=[];let he=null;function P(e=!1){Be.push(he=e?null:[])}function cn(){Be.pop(),he=Be[Be.length-1]||null}let At=1;function Ui(e,t=!1){At+=e,e<0&&he&&t&&(he.hasOnce=!0)}function Bi(e){return e.dynamicChildren=At>0?he||it:null,cn(),At>0&&he&&he.push(e),e}function N(e,t,s,n,i,o){return Bi(k(e,t,s,n,i,o,!0))}function hs(e,t,s,n,i){return Bi(_e(e,t,s,n,i,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Vi=({key:e})=>e??null,gs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?q(e)||ae(e)||R(e)?{i:oe,r:e,k:t,f:!!s}:e:null);function k(e,t=null,s=null,n=0,i=null,o=e===ee?0:1,l=!1,r=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vi(t),ref:t&&gs(t),scopeId:ii,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:oe};return r?(vs(a,s),o&128&&e.normalize(a)):s&&(a.shapeFlag|=q(s)?8:16),At>0&&!l&&he&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&he.push(a),a}const _e=cr;function cr(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===Il)&&(e=Ce),dn(e)){const r=pt(e,t,!0);return s&&vs(r,s),At>0&&!o&&he&&(r.shapeFlag&6?he[he.indexOf(e)]=r:he.push(r)),r.patchFlag=-2,r}if(_r(e)&&(e=e.__vccOpts),t){t=dr(t);let{class:r,style:a}=t;r&&!q(r)&&(t.class=ze(r)),j(a)&&(Ws(a)&&!A(a)&&(a=X({},a)),t.style=Yt(a))}const l=q(e)?1:ji(e)?128:rs(e)?64:j(e)?4:R(e)?2:0;return k(e,t,s,n,i,l,o,!0)}function dr(e){return e?Ws(e)||Ai(e)?X({},e):e:null}function pt(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:l,children:r,transition:a}=e,u=t?fr(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Vi(u),ref:t&&t.ref?s&&o?A(o)?o.concat(gs(t)):[o,gs(t)]:gs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pt(e.ssContent),ssFallback:e.ssFallback&&pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&Js(f,a.clone(f)),f}function ht(e=" ",t=0){return _e(ps,null,e,t)}function te(e="",t=!1){return t?(P(),hs(Ce,null,e)):_e(Ce,null,e)}function Oe(e){return e==null||typeof e=="boolean"?_e(Ce):A(e)?_e(ee,null,e.slice()):dn(e)?Ve(e):_e(ps,null,String(e))}function Ve(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function vs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(A(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),vs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ai(t)?t._ctx=oe:i===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(R(t)){if(n&65){vs(e,{default:t});return}t={default:t,_ctx:oe},s=32}else t=String(t),n&64?(s=16,t=[ht(t)]):s=8;e.children=t,e.shapeFlag|=s}function fr(...e){const t={};for(let s=0;sce||oe;let bs,Rt;{const e=qt(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};bs=t("__VUE_INSTANCE_SETTERS__",s=>ce=s),Rt=t("__VUE_SSR_SETTERS__",s=>Lt=s)}const Pt=e=>{const t=ce;return bs(e),e.scope.on(),()=>{e.scope.off(),bs(t)}},Ki=()=>{ce&&ce.scope.off(),bs(null)};function zi(e){return e.vnode.shapeFlag&4}let Lt=!1;function gr(e,t=!1,s=!1){t&&Rt(t);const{props:n,children:i}=e.vnode,o=zi(e);Zl(e,n,o,t),sr(e,i,s||t);const l=o?vr(e,t):void 0;return t&&Rt(!1),l}function vr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Dl);const{setup:n}=s;if(n){Se();const i=e.setupContext=n.length>1?mr(e):null,o=Pt(e),l=rt(n,e,0,[e.props,i]),r=_n(l);if(Ee(),o(),(r||e.sp)&&!dt(e)&&ai(e),r){if(l.then(Ki,Ki),t)return l.then(a=>{Rt(!0);try{Gi(e,a,t)}finally{Rt(!1)}}).catch(a=>{is(a,e,0)});e.asyncDep=l}else Gi(e,l)}else qi(e)}function Gi(e,t,s){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:j(t)&&(e.setupState=Jn(t)),qi(e)}function qi(e,t,s){const n=e.type;e.render||(e.render=n.render||we);{const i=Pt(e);Se();try{Fl(e)}finally{Ee(),i()}}}const br={get(e,t){return re(e,"get",""),e[t]}};function mr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,br),slots:e.slots,emit:e.emit,expose:t}}function ms(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jn(nl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ct)return Ct[s](e)},has(t,s){return s in t||s in Ct}})):e.proxy}const xr=/(?:^|[-_])\w/g,yr=e=>e.replace(xr,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yi(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function Ji(e,t,s=!1){let n=Yi(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=o=>{for(const l in o)if(o[l]===t)return l};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?yr(n):s?"App":"Anonymous"}function _r(e){return R(e)&&"__vccOpts"in e}const wr=(e,t)=>ll(e,t,Lt),Sr="3.5.42";/** +`,...dl(i)),console.warn(...o)}Ee(),Gs=!1}function cl(){let e=wt[wt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function dl(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[` +`],...fl(s))}),t}function fl({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Ji(e.component,e.type,n)}`,o=">"+s;return e.props?[i,...ul(e.props),o]:[i+o]}function ul(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...Xn(n,e[n]))}),s.length>3&&t.push(" ..."),t}function Xn(e,t,s){return q(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:ae(t)?(t=Xn(e,$(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):P(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=$(t),s?t:[`${e}=`,t])}function rt(e,t,s,n){try{return n?e(...n):e()}catch(i){is(i,t,s)}}function ye(e,t,s,n){if(P(e)){const i=rt(e,t,s,n);return i&&_n(i)&&i.catch(o=>{is(o,t,s)}),i}if(A(e)){const i=[];for(let o=0;o>>1,i=de[n],o=St(i);o=St(s)?de.push(e):de.splice(hl(t),0,e),e.flags|=1,ei()}}function ei(){os||(os=Zn.then(ni))}function gl(e){if(!A(e))qe&&e.id===-1?qe.splice(ct+1,0,e):e.flags&1||(at.push(e),e.flags|=1);else for(let t=0;tSt(s)-St(n));if(at.length=0,qe){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function ni(e){try{for(ke=0;ke{n._d&&Ui(-1);const o=ls(t),l=Ve.length;let r;try{r=e(...i)}finally{for(let a=Ve.length;a>l;a--)dn();ls(o),n._d&&Ui(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function rs(e,t){if(oe===null)return e;const s=xs(oe),n=e.dirs||(e.dirs=[]);for(let i=0;i1)return s&&P(t)?t.call(n&&n.proxy):t}}const bl=Symbol.for("v-scx"),ml=()=>Tt(bl);function Ys(e,t,s){return oi(e,t,s)}function oi(e,t,s=z){const{immediate:n,deep:i,flush:o,once:l}=s,r=X({},s),a=t&&n||!t&&o!=="post";let u;if(Lt){if(o==="sync"){const E=ml();u=E.__watcherHandles||(E.__watcherHandles=[])}else if(!a){const E=()=>{};return E.stop=we,E.resume=we,E.pause=we,E}}const f=ce;r.call=(E,j,L)=>ye(E,f,j,L);let h=!1;o==="post"?r.scheduler=E=>{pe(E,f&&f.suspense)}:o!=="sync"&&(h=!0,r.scheduler=(E,j)=>{j?E():qs(E)}),r.augmentJob=E=>{t&&(E.flags|=4),h&&(E.flags|=2,f&&(E.id=f.uid,E.i=f))};const y=al(e,t,r);return Lt&&(u?u.push(y):a&&y()),y}function xl(e,t,s){const n=this.proxy,i=q(e)?e.includes(".")?li(n,e):()=>n[e]:e.bind(n,n);let o;P(t)?o=t:(o=t.handler,s=t);const l=Pt(this),r=oi(i,o.bind(n),s);return l(),r}function li(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,Js=Symbol("_leaveCb");function _l(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ce){t=s;break}}return t}function ri(e){if(!Qs(e))return as(e.type)&&e.children?_l(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&P(s.default))return s.default()}}function Xs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Xs(as(s.type)&&ri(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zs(e,t){return P(e)?X({name:e.name},t,{setup:e}):e}function ai(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ci(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const cs=new WeakMap;function kt(e,t,s,n,i=!1){if(A(e)){e.forEach((L,Z)=>kt(L,t&&(A(t)?t[Z]:t),s,n,i));return}if(dt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&kt(e,t,s,n.component.subTree);return}const o=n.shapeFlag&4?xs(n.component):n.el,l=i?null:o,{i:r,r:a}=e,u=t&&t.r,f=r.refs===z?r.refs={}:r.refs,h=r.setupState,y=$(h),E=h===z?xn:L=>ci(f,L)?!1:F(y,L),j=(L,Z)=>!(Z&&ci(f,Z));if(u!=null&&u!==a){if(di(t),q(u))f[u]=null,E(u)&&(h[u]=null);else if(ae(u)){const L=t;j(u,L.k)&&(u.value=null),L.k&&(f[L.k]=null)}}if(P(a))rt(a,r,12,[l,f]);else{const L=q(a),Z=ae(a);if(L||Z){const Y=()=>{if(e.f){const D=L?E(a)?h[a]:f[a]:j()||!e.k?a.value:f[e.k];if(i)A(D)&&As(D,o);else if(A(D))D.includes(o)||D.push(o);else if(L)f[a]=[o],E(a)&&(h[a]=f[a]);else{const B=[o];j(a,e.k)&&(a.value=B),e.k&&(f[e.k]=B)}}else L?(f[a]=l,E(a)&&(h[a]=l)):Z&&(j(a,e.k)&&(a.value=l),e.k&&(f[e.k]=l))};if(l){const D=()=>{Y(),cs.delete(e)};D.id=-1,cs.set(e,D),pe(D,s)}else di(e),Y()}}}function di(e){const t=cs.get(e);t&&(t.flags|=8,cs.delete(e))}qt().requestIdleCallback,qt().cancelIdleCallback;const dt=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function wl(e,t){fi(e,"a",t)}function Sl(e,t){fi(e,"da",t)}function fi(e,t,s=ce){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ds(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Qs(i.parent.vnode)&&El(n,t,s,i),i=i.parent}}function El(e,t,s,n){const i=ds(t,e,n,!0);pi(()=>{As(n[t],i)},s)}function ds(e,t,s=ce,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...l)=>{Se();const r=Pt(s),a=ye(t,s,e,l);return r(),Ee(),a});return n?i.unshift(o):i.push(o),o}}const Be=e=>(t,s=ce)=>{(!Lt||e==="sp")&&ds(e,(...n)=>t(...n),s)},Tl=Be("bm"),ui=Be("m"),kl=Be("bu"),Cl=Be("u"),Ol=Be("bum"),pi=Be("um"),Al=Be("sp"),Ml=Be("rtg"),Rl=Be("rtc");function Pl(e,t=ce){ds("ec",e,t)}const Ll="components";function Nl(e,t){return Hl(Ll,e,!0,t)||e}const Il=Symbol.for("v-ndc");function Hl(e,t,s=!0,n=!1){const i=oe||ce;if(i){const o=i.type;{const r=Yi(o,!1);if(r&&(r===t||r===ne(t)||r===Gt(ne(t))))return o}const l=hi(i[e]||o[e],t)||hi(i.appContext[e],t);return!l&&n?o:l}}function hi(e,t){return e&&(e[t]||e[ne(t)]||e[Gt(ne(t))])}function ft(e,t,s,n){let i;const o=s,l=A(e);if(l||q(e)){const r=l&&Xe(e);let a=!1,u=!1;r&&(a=!xe(e),u=Ge(e),e=Xt(e)),i=new Array(e.length);for(let f=0,h=e.length;ft(r,a,void 0,o));else{const r=Object.keys(e);i=new Array(r.length);for(let a=0,u=r.length;a0;return t!=="default"&&(u.name=t),M(),gs(te,null,[_e("slot",u,n)],f?-2:64)}let l=e[t];l&&l._c&&(l._d=!1);const r=Ve.length;M();let a;try{const u=l&&gi(l(s)),f=s.key||o||u&&u.key;a=gs(te,{key:(f&&!be(f)?f:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let f=Ve.length;f>r;f--)dn();throw u}finally{l&&l._c&&(l._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function gi(e){return e.some(t=>fn(t)?!(t.type===Ce||t.type===te&&!gi(t.children)):!0)?e:null}const en=e=>e?Ki(e)?xs(e):en(e.parent):null,Ct=X(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>en(e.parent),$root:e=>en(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{qs(e.update)}),$nextTick:e=>e.n||(e.n=Qn.bind(e.proxy)),$watch:e=>xl.bind(e)}),tn=(e,t)=>e!==z&&!e.__isScriptSetup&&F(e,t),Dl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:l,type:r,appContext:a}=e;if(t[0]!=="$"){const y=l[t];if(y!==void 0)switch(y){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(tn(n,t))return l[t]=1,n[t];if(i!==z&&F(i,t))return l[t]=2,i[t];if(F(o,t))return l[t]=3,o[t];if(s!==z&&F(s,t))return l[t]=4,s[t];sn&&(l[t]=0)}}const u=Ct[t];let f,h;if(u)return t==="$attrs"&&re(e.attrs,"get",""),u(e);if((f=r.__cssModules)&&(f=f[t]))return f;if(s!==z&&F(s,t))return l[t]=4,s[t];if(h=a.config.globalProperties,F(h,t))return h[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return tn(i,t)?(i[t]=s,!0):n!==z&&F(n,t)?(n[t]=s,!0):F(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:o,type:l}},r){let a;return!!(s[r]||e!==z&&r[0]!=="$"&&F(e,r)||tn(t,r)||F(o,r)||F(n,r)||F(Ct,r)||F(i.config.globalProperties,r)||(a=l.__cssModules)&&a[r])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:F(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function vi(e){return A(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let sn=!0;function Fl(e){const t=xi(e),s=e.proxy,n=e.ctx;sn=!1,t.beforeCreate&&bi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:r,provide:a,inject:u,created:f,beforeMount:h,mounted:y,beforeUpdate:E,updated:j,activated:L,deactivated:Z,beforeDestroy:Y,beforeUnmount:D,destroyed:B,unmounted:O,render:se,renderTracked:Me,renderTriggered:Re,errorCaptured:Ye,serverPrefetch:Ss,expose:tt,inheritAttrs:Ft,components:Es,directives:Ts,filters:bn}=t;if(u&&$l(u,n,null),l)for(const J in l){const G=l[J];P(G)&&(n[J]=G.bind(s))}if(i){const J=i.call(s,s);U(J)&&(e.data=zs(J))}if(sn=!0,o)for(const J in o){const G=o[J],st=P(G)?G.bind(s,s):P(G.get)?G.get.bind(s,s):we,ks=!P(G)&&P(G.set)?G.set.bind(s):we,nt=wr({get:st,set:ks});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Pe=>nt.value=Pe})}if(r)for(const J in r)mi(r[J],n,s,J);if(a){const J=P(a)?a.call(s):a;Reflect.ownKeys(J).forEach(G=>{vl(G,J[G])})}f&&bi(f,e,"c");function ue(J,G){A(G)?G.forEach(st=>J(st.bind(s))):G&&J(G.bind(s))}if(ue(Tl,h),ue(ui,y),ue(kl,E),ue(Cl,j),ue(wl,L),ue(Sl,Z),ue(Pl,Ye),ue(Rl,Me),ue(Ml,Re),ue(Ol,D),ue(pi,O),ue(Al,Ss),A(tt))if(tt.length){const J=e.exposed||(e.exposed={});tt.forEach(G=>{Object.defineProperty(J,G,{get:()=>s[G],set:st=>s[G]=st,enumerable:!0})})}else e.exposed||(e.exposed={});se&&e.render===we&&(e.render=se),Ft!=null&&(e.inheritAttrs=Ft),Es&&(e.components=Es),Ts&&(e.directives=Ts),Ss&&ai(e)}function $l(e,t,s=we){A(e)&&(e=nn(e));for(const n in e){const i=e[n];let o;U(i)?"default"in i?o=Tt(i.from||n,i.default,!0):o=Tt(i.from||n):o=Tt(i),ae(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[n]=o}}function bi(e,t,s){ye(A(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function mi(e,t,s,n){let i=n.includes(".")?li(s,n):()=>s[n];if(q(e)){const o=t[e];P(o)&&Ys(i,o)}else if(P(e))Ys(i,e.bind(s));else if(U(e))if(A(e))e.forEach(o=>mi(o,t,s,n));else{const o=P(e.handler)?e.handler.bind(s):t[e.handler];P(o)&&Ys(i,o,e)}}function xi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,r=o.get(t);let a;return r?a=r:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(u=>us(a,u,l,!0)),us(a,t,l)),U(t)&&o.set(t,a),a}function us(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&us(e,o,s,!0),i&&i.forEach(l=>us(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const r=jl[l]||s&&s[l];e[l]=r?r(e[l],t[l]):t[l]}return e}const jl={data:yi,props:_i,emits:_i,methods:Ot,computed:Ot,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:Ot,directives:Ot,watch:Bl,provide:yi,inject:Ul};function yi(e,t){return t?e?function(){return X(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ul(e,t){return Ot(nn(e),nn(t))}function nn(e){if(A(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ne(t)}Modifiers`]||e[`${ve(t)}Modifiers`];function Kl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||z;let i=s;const o=t.startsWith("update:"),l=o&&Wl(n,t.slice(7));l&&(l.trim&&(i=s.map(f=>q(f)?f.trim():f)),l.number&&(i=i.map(Mo)));let r,a=n[r=Rs(t)]||n[r=Rs(ne(t))];!a&&o&&(a=n[r=Rs(ve(t))]),a&&ye(a,e,6,i);const u=n[r+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,ye(u,e,6,i)}}const Gl=new WeakMap;function Si(e,t,s=!1){const n=s?Gl:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let l={},r=!1;if(!P(e)){const a=u=>{const f=Si(u,t,!0);f&&(r=!0,X(l,f))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!r?(U(e)&&n.set(e,null),null):(A(o)?o.forEach(a=>l[a]=null):X(l,o),U(e)&&n.set(e,l),l)}function ps(e,t){return!e||!Bt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ve(t))||F(e,t))}function Vc(){}function Ei(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:l,attrs:r,emit:a,render:u,renderCache:f,props:h,data:y,setupState:E,ctx:j,inheritAttrs:L}=e,Z=ls(e);let Y,D;try{if(s.shapeFlag&4){const O=i||n,se=O;Y=Oe(u.call(se,O,f,h,E,y,j)),D=r}else{const O=t;Y=Oe(O.length>1?O(h,{attrs:r,slots:l,emit:a}):O(h,null)),D=t.props?r:ql(r)}}catch(O){Ve.length=0,is(O,e,1),Y=_e(Ce)}let B=Y;if(D&&L!==!1){const O=Object.keys(D),{shapeFlag:se}=B;O.length&&se&7&&(o&&O.some(Vt)&&(D=Yl(D,o)),B=pt(B,D,!1,!0))}if(s.dirs&&(B=pt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition){const O=as(B.type)&&ri(B)||B;Xs(O,s.transition)}return Y=B,ls(Z),Y}const ql=e=>{let t;for(const s in e)(s==="class"||s==="style"||Bt(s))&&((t||(t={}))[s]=e[s]);return t},Yl=(e,t)=>{const s={};for(const n in e)(!Vt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Jl(e,t,s){const{props:n,children:i,component:o}=e,{props:l,children:r,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Ti(n,l,u):!!l;if(a&8){const f=t.dynamicProps;for(let h=0;hObject.create(Ci),Ai=e=>Object.getPrototypeOf(e)===Ci;function Zl(e,t,s,n=!1){const i={},o=Oi();e.propsDefaults=Object.create(null),Mi(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:sl(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Ql(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,r=$(i),[a]=e.propsOptions;let u=!1;if((n||l>0)&&!(l&16)){if(l&8){const f=e.vnode.dynamicProps;for(let h=0;h{a=!0;const[y,E]=Ri(h,t,!0);X(l,y),E&&r.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!a)return U(e)&&n.set(e,it),it;if(A(o))for(let f=0;fe==="_"||e==="_ctx"||e==="$stable",rn=e=>A(e)?e.map(Oe):[Oe(e)],tr=(e,t,s)=>{if(t._n)return t;const n=Et((...i)=>rn(t(...i)),s);return n._c=!1,n},Li=(e,t,s)=>{const n=e._ctx;for(const i in e){if(ln(i))continue;const o=e[i];if(P(o))t[i]=tr(i,o,n);else if(o!=null){const l=rn(o);t[i]=()=>l}}},Ni=(e,t)=>{const s=rn(t);e.slots.default=()=>s},Ii=(e,t,s)=>{for(const n in t)(s||!ln(n))&&(e[n]=t[n])},sr=(e,t,s)=>{const n=e.slots=Oi();if(e.vnode.shapeFlag&32){const i=t._;i?(Ii(n,t,s),s&&Sn(n,"_",i,!0)):Li(t,n)}else t&&Ni(e,t)},nr=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,l=z;if(n.shapeFlag&32){const r=t._;r?s&&r===1?o=!1:Ii(i,t,s):(o=!t.$stable,Li(t,i)),l=t}else t&&(Ni(e,t),l={default:1});if(o)for(const r in i)!ln(r)&&l[r]==null&&delete i[r]},pe=ar;function ir(e){return or(e)}function or(e,t){const s=qt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:l,createText:r,createComment:a,setText:u,setElementText:f,parentNode:h,nextSibling:y,setScopeId:E=we,insertStaticContent:j}=e,L=(c,d,p,m=null,b=null,g=null,w=void 0,_=null,x=!!d.dynamicChildren)=>{if(c===d)return;c&&!Mt(c,d)&&(m=Cs(c),Pe(c,b,g,!0),c=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:v,ref:C,shapeFlag:S}=d;switch(v){case hs:Z(c,d,p,m);break;case Ce:Y(c,d,p,m);break;case cn:c==null&&D(d,p,m,w);break;case te:Es(c,d,p,m,b,g,w,_,x);break;default:S&1?se(c,d,p,m,b,g,w,_,x):S&6?Ts(c,d,p,m,b,g,w,_,x):(S&64||S&128)&&v.process(c,d,p,m,b,g,w,_,x,jt)}C!=null&&b?kt(C,c&&c.ref,g,d||c,!d):C==null&&c&&c.ref!=null&&kt(c.ref,null,g,c,!0)},Z=(c,d,p,m)=>{if(c==null)n(d.el=r(d.children),p,m);else{const b=d.el=c.el;d.children!==c.children&&u(b,d.children)}},Y=(c,d,p,m)=>{c==null?n(d.el=a(d.children||""),p,m):d.el=c.el},D=(c,d,p,m)=>{[c.el,c.anchor]=j(c.children,d,p,m,c.el,c.anchor)},B=({el:c,anchor:d},p,m)=>{let b;for(;c&&c!==d;)b=y(c),n(c,p,m),c=b;n(d,p,m)},O=({el:c,anchor:d})=>{let p;for(;c&&c!==d;)p=y(c),i(c),c=p;i(d)},se=(c,d,p,m,b,g,w,_,x)=>{if(d.type==="svg"?w="svg":d.type==="math"&&(w="mathml"),c==null)Me(d,p,m,b,g,w,_,x);else{const v=c.el&&c.el._isVueCE?c.el:null;try{v&&v._beginPatch(),Ss(c,d,b,g,w,_,x)}finally{v&&v._endPatch()}}},Me=(c,d,p,m,b,g,w,_)=>{let x,v;const{props:C,shapeFlag:S,transition:T,dirs:R}=c;if(x=c.el=l(c.type,g,C&&C.is,C),S&8?f(x,c.children):S&16&&Ye(c.children,x,null,m,b,an(c,g),w,_),R&&Qe(c,null,m,"created"),Re(x,c,c.scopeId,w,m),C){for(const W in C)W!=="value"&&!vt(W)&&o(x,W,null,C[W],g,m);"value"in C&&o(x,"value",null,C.value,g),(v=C.onVnodeBeforeMount)&&Ae(v,m,c)}R&&Qe(c,null,m,"beforeMount");const I=lr(b,T);I&&T.beforeEnter(x),n(x,d,p),((v=C&&C.onVnodeMounted)||I||R)&&pe(()=>{try{v&&Ae(v,m,c),I&&T.enter(x),R&&Qe(c,null,m,"mounted")}finally{}},b)},Re=(c,d,p,m,b)=>{if(p&&E(c,p),m)for(let g=0;g{for(let v=x;v{const _=d.el=c.el;let{patchFlag:x,dynamicChildren:v,dirs:C}=d;x|=c.patchFlag&16;const S=c.props||z,T=d.props||z;let R;if(p&&et(p,!1),(R=T.onVnodeBeforeUpdate)&&Ae(R,p,d,c),C&&Qe(d,c,p,"beforeUpdate"),p&&et(p,!0),v&&(!c.dynamicChildren||c.dynamicChildren.length!==v.length)&&(x=0,w=!1,v=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&f(_,""),v?tt(c.dynamicChildren,v,_,p,m,an(d,b),g):w||G(c,d,_,null,p,m,an(d,b),g,!1),x>0){if(x&16)Ft(_,S,T,p,b);else if(x&2&&S.class!==T.class&&o(_,"class",null,T.class,b),x&4&&o(_,"style",S.style,T.style,b),x&8){const I=d.dynamicProps;for(let W=0;W{R&&Ae(R,p,d,c),C&&Qe(d,c,p,"updated")},m)},tt=(c,d,p,m,b,g,w)=>{for(let _=0;_{if(d!==p){if(d!==z)for(const g in d)!vt(g)&&!(g in p)&&o(c,g,d[g],null,b,m);for(const g in p){if(vt(g))continue;const w=p[g],_=d[g];w!==_&&g!=="value"&&o(c,g,_,w,b,m)}"value"in p&&o(c,"value",d.value,p.value,b)}},Es=(c,d,p,m,b,g,w,_,x)=>{const v=d.el=c?c.el:r(""),C=d.anchor=c?c.anchor:r("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:R}=d;R&&(_=_?_.concat(R):R),c==null?(n(v,p,m),n(C,p,m),Ye(d.children||[],p,C,b,g,w,_,x)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(tt(c.dynamicChildren,T,p,b,g,w,_),(d.key!=null||b&&d===b.subTree)&&Hi(c,d,!0)):G(c,d,p,C,b,g,w,_,x)},Ts=(c,d,p,m,b,g,w,_,x)=>{d.slotScopeIds=_,c==null?d.shapeFlag&512?b.ctx.activate(d,p,m,w,x):bn(d,p,m,b,g,w,x):yo(c,d,x)},bn=(c,d,p,m,b,g,w)=>{const _=c.component=hr(c,m,b);if(Qs(c)&&(_.ctx.renderer=jt),gr(_,!1,w),_.asyncDep){if(b&&b.registerDep(_,ue,w),!c.el){const x=_.subTree=_e(Ce);Y(null,x,d,p),c.placeholder=x.el}}else ue(_,c,d,p,b,g,w)},yo=(c,d,p)=>{const m=d.component=c.component;if(Jl(c,d,p))if(m.asyncDep&&!m.asyncResolved){J(m,d,p);return}else m.next=d,m.update();else d.el=c.el,m.vnode=d},ue=(c,d,p,m,b,g,w)=>{const _=()=>{if(c.isMounted){let{next:S,bu:T,u:R,parent:I,vnode:W}=c;{const Ne=Di(c);if(Ne){S&&(S.el=W.el,J(c,S,w)),Ne.asyncDep.then(()=>{pe(()=>{c.isUnmounted||v()},b)});return}}let V=S,ee;et(c,!1),S?(S.el=W.el,J(c,S,w)):S=W,T&&Ps(T),(ee=S.props&&S.props.onVnodeBeforeUpdate)&&Ae(ee,I,S,W),et(c,!0);const le=Ei(c),Le=c.subTree;c.subTree=le,L(Le,le,h(Le.el),Cs(Le),c,b,g),S.el=le.el,V===null&&Xl(c,le.el),R&&pe(R,b),(ee=S.props&&S.props.onVnodeUpdated)&&pe(()=>Ae(ee,I,S,W),b)}else{let S;const{el:T,props:R}=d,{bm:I,m:W,parent:V,root:ee,type:le}=c,Le=dt(d);et(c,!1),I&&Ps(I),!Le&&(S=R&&R.onVnodeBeforeMount)&&Ae(S,V,d),et(c,!0);{ee.ce&&ee.ce._hasShadowRoot()&&ee.ce._injectChildStyle(le,c.parent?c.parent.type:void 0);const Ne=c.subTree=Ei(c);L(null,Ne,p,m,c,b,g),d.el=Ne.el}if(W&&pe(W,b),!Le&&(S=R&&R.onVnodeMounted)){const Ne=d;pe(()=>Ae(S,V,Ne),b)}(d.shapeFlag&256||V&&dt(V.vnode)&&V.vnode.shapeFlag&256)&&c.a&&pe(c.a,b),c.isMounted=!0,d=p=m=null}};c.scope.on();const x=c.effect=new Mn(_);c.scope.off();const v=c.update=x.run.bind(x),C=c.job=x.runIfDirty.bind(x);C.i=c,C.id=c.uid,x.scheduler=()=>qs(C),et(c,!0),v()},J=(c,d,p)=>{d.component=c;const m=c.vnode.props;c.vnode=d,c.next=null,Ql(c,d.props,m,p),nr(c,d.children,p),Se(),ti(c),Ee()},G=(c,d,p,m,b,g,w,_,x=!1)=>{const v=c&&c.children,C=c?c.shapeFlag:0,S=d.children,{patchFlag:T,shapeFlag:R}=d;if(T>0){if(T&128){ks(v,S,p,m,b,g,w,_,x);return}else if(T&256){st(v,S,p,m,b,g,w,_,x);return}}R&8?(C&16&&$t(v,b,g),S!==v&&f(p,S)):C&16?R&16?ks(v,S,p,m,b,g,w,_,x):$t(v,b,g,!0):(C&8&&f(p,""),R&16&&Ye(S,p,m,b,g,w,_,x))},st=(c,d,p,m,b,g,w,_,x)=>{c=c||it,d=d||it;const v=c.length,C=d.length,S=Math.min(v,C);let T;for(T=0;TC?$t(c,b,g,!0,!1,S):Ye(d,p,m,b,g,w,_,x,S)},ks=(c,d,p,m,b,g,w,_,x)=>{let v=0;const C=d.length;let S=c.length-1,T=C-1;for(;v<=S&&v<=T;){const R=c[v],I=d[v]=x?ze(d[v]):Oe(d[v]);if(Mt(R,I))L(R,I,p,null,b,g,w,_,x);else break;v++}for(;v<=S&&v<=T;){const R=c[S],I=d[T]=x?ze(d[T]):Oe(d[T]);if(Mt(R,I))L(R,I,p,null,b,g,w,_,x);else break;S--,T--}if(v>S){if(v<=T){const R=T+1,I=RT)for(;v<=S;)Pe(c[v],b,g,!0),v++;else{const R=v,I=v,W=new Map;for(v=I;v<=T;v++){const ge=d[v]=x?ze(d[v]):Oe(d[v]);ge.key!=null&&W.set(ge.key,v)}let V,ee=0;const le=T-I+1;let Le=!1,Ne=0;const Ut=new Array(le);for(v=0;v=le){Pe(ge,b,g,!0);continue}let Ie;if(ge.key!=null)Ie=W.get(ge.key);else for(V=I;V<=T;V++)if(Ut[V-I]===0&&Mt(ge,d[V])){Ie=V;break}Ie===void 0?Pe(ge,b,g,!0):(Ut[Ie-I]=v+1,Ie>=Ne?Ne=Ie:Le=!0,L(ge,d[Ie],p,null,b,g,w,_,x),ee++)}const So=Le?rr(Ut):it;for(V=So.length-1,v=le-1;v>=0;v--){const ge=I+v,Ie=d[ge],Eo=d[ge+1],To=ge+1{const{el:g,type:w,transition:_,children:x,shapeFlag:v}=c;if(v&6){nt(c.component.subTree,d,p,m);return}if(v&128){c.suspense.move(d,p,m);return}if(v&64){w.move(c,d,p,jt);return}if(w===te){n(g,d,p);for(let S=0;S_.enter(g),b));else{const{leave:S,delayLeave:T,afterLeave:R}=_,I=()=>{c.ctx.isUnmounted?i(g):n(g,d,p)},W=()=>{const V=g._isLeaving||!!g[Js];g._isLeaving&&g[Js](!0),_.persisted&&!V?I():S(g,()=>{I(),R&&R()})};T?T(g,I,W):W()}else n(g,d,p)},Pe=(c,d,p,m=!1,b=!1)=>{const{type:g,props:w,ref:_,children:x,dynamicChildren:v,shapeFlag:C,patchFlag:S,dirs:T,cacheIndex:R,memo:I}=c;if(S===-2&&(b=!1),_!=null&&(Se(),kt(_,null,p,c,!0),Ee()),R!=null&&(d.renderCache[R]=void 0),C&256){d.ctx.deactivate(c);return}const W=C&1&&T,V=!dt(c);let ee;if(V&&(ee=w&&w.onVnodeBeforeUnmount)&&Ae(ee,d,c),C&6)$c(c.component,p,m);else{if(C&128){c.suspense.unmount(p,m);return}W&&Qe(c,null,d,"beforeUnmount"),C&64?c.type.remove(c,d,p,jt,m):v&&!v.hasOnce&&(g!==te||S>0&&S&64)?$t(v,d,p,!1,!0):(g===te&&S&384||!b&&C&16)&&$t(x,d,p),m&&_o(c)}const le=I!=null&&R==null;(V&&(ee=w&&w.onVnodeUnmounted)||W||le)&&pe(()=>{ee&&Ae(ee,d,c),W&&Qe(c,null,d,"unmounted"),le&&(c.el=null)},p)},_o=c=>{const{type:d,el:p,anchor:m,transition:b}=c;if(d===te){Fc(p,m);return}if(d===cn){O(c);return}const g=()=>{i(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:w,delayLeave:_}=b,x=()=>w(p,g);_?_(c.el,g,x):x()}else g()},Fc=(c,d)=>{let p;for(;c!==d;)p=y(c),i(c),c=p;i(d)},$c=(c,d,p)=>{const{bum:m,scope:b,job:g,subTree:w,um:_,m:x,a:v}=c;Fi(x),Fi(v),m&&Ps(m),b.stop(),g&&(g.flags|=8,Pe(w,c,d,p)),_&&pe(_,d),pe(()=>{c.isUnmounted=!0},d)},$t=(c,d,p,m=!1,b=!1,g=0)=>{for(let w=g;w{if(c.shapeFlag&6)return Cs(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=y(c.anchor||c.el),p=d&&d[yl];return p?y(p):d};let mn=!1;const wo=(c,d,p)=>{let m;c==null?d._vnode&&(Pe(d._vnode,null,null,!0),m=d._vnode.component):L(d._vnode||null,c,d,null,null,null,p),d._vnode=c,mn||(mn=!0,ti(m),si(),mn=!1)},jt={p:L,um:Pe,m:nt,r:_o,mt:bn,mc:Ye,pc:G,pbc:tt,n:Cs,o:e};return{render:wo,hydrate:void 0,createApp:zl(wo)}}function an({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function et({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hi(e,t,s=!1){const n=e.children,i=t.children;if(A(n)&&A(i))for(let o=0;o>1,e[s[r]]0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,l=s[o-1];o-- >0;)s[o]=l,l=t[l];return s}function Di(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Di(t)}function Fi(e){if(e)for(let t=0;te.__isSuspense;function ar(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):gl(e)}const te=Symbol.for("v-fgt"),hs=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),cn=Symbol.for("v-stc"),Ve=[];let he=null;function M(e=!1){Ve.push(he=e?null:[])}function dn(){Ve.pop(),he=Ve[Ve.length-1]||null}let At=1;function Ui(e,t=!1){At+=e,e<0&&he&&t&&(he.hasOnce=!0)}function Bi(e){return e.dynamicChildren=At>0?he||it:null,dn(),At>0&&he&&he.push(e),e}function N(e,t,s,n,i,o){return Bi(k(e,t,s,n,i,o,!0))}function gs(e,t,s,n,i){return Bi(_e(e,t,s,n,i,!0))}function fn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Vi=({key:e})=>e??null,vs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?q(e)||ae(e)||P(e)?{i:oe,r:e,k:t,f:!!s}:e:null);function k(e,t=null,s=null,n=0,i=null,o=e===te?0:1,l=!1,r=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vi(t),ref:t&&vs(t),scopeId:ii,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:oe};return r?(bs(a,s),o&128&&e.normalize(a)):s&&(a.shapeFlag|=q(s)?8:16),At>0&&!l&&he&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&he.push(a),a}const _e=cr;function cr(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===Il)&&(e=Ce),fn(e)){const r=pt(e,t,!0);return s&&bs(r,s),At>0&&!o&&he&&(r.shapeFlag&6?he[he.indexOf(e)]=r:he.push(r)),r.patchFlag=-2,r}if(_r(e)&&(e=e.__vccOpts),t){t=dr(t);let{class:r,style:a}=t;r&&!q(r)&&(t.class=De(r)),U(a)&&(Ks(a)&&!A(a)&&(a=X({},a)),t.style=Yt(a))}const l=q(e)?1:ji(e)?128:as(e)?64:U(e)?4:P(e)?2:0;return k(e,t,s,n,i,l,o,!0)}function dr(e){return e?Ks(e)||Ai(e)?X({},e):e:null}function pt(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:l,children:r,transition:a}=e,u=t?fr(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Vi(u),ref:t&&t.ref?s&&o?A(o)?o.concat(vs(t)):[o,vs(t)]:vs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pt(e.ssContent),ssFallback:e.ssFallback&&pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&Xs(f,a.clone(f)),f}function ht(e=" ",t=0){return _e(hs,null,e,t)}function Q(e="",t=!1){return t?(M(),gs(Ce,null,e)):_e(Ce,null,e)}function Oe(e){return e==null||typeof e=="boolean"?_e(Ce):A(e)?_e(te,null,e.slice()):fn(e)?ze(e):_e(hs,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function bs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(A(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),bs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ai(t)?t._ctx=oe:i===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(P(t)){if(n&65){bs(e,{default:t});return}t={default:t,_ctx:oe},s=32}else t=String(t),n&64?(s=16,t=[ht(t)]):s=8;e.children=t,e.shapeFlag|=s}function fr(...e){const t={};for(let s=0;sce||oe;let ms,Rt;{const e=qt(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};ms=t("__VUE_INSTANCE_SETTERS__",s=>ce=s),Rt=t("__VUE_SSR_SETTERS__",s=>Lt=s)}const Pt=e=>{const t=ce;return ms(e),e.scope.on(),()=>{e.scope.off(),ms(t)}},Wi=()=>{ce&&ce.scope.off(),ms(null)};function Ki(e){return e.vnode.shapeFlag&4}let Lt=!1;function gr(e,t=!1,s=!1){t&&Rt(t);const{props:n,children:i}=e.vnode,o=Ki(e);Zl(e,n,o,t),sr(e,i,s||t);const l=o?vr(e,t):void 0;return t&&Rt(!1),l}function vr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Dl);const{setup:n}=s;if(n){Se();const i=e.setupContext=n.length>1?mr(e):null,o=Pt(e),l=rt(n,e,0,[e.props,i]),r=_n(l);if(Ee(),o(),(r||e.sp)&&!dt(e)&&ai(e),r){if(l.then(Wi,Wi),t)return l.then(a=>{Rt(!0);try{Gi(e,a,t)}finally{Rt(!1)}}).catch(a=>{is(a,e,0)});e.asyncDep=l}else Gi(e,l)}else qi(e)}function Gi(e,t,s){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=Jn(t)),qi(e)}function qi(e,t,s){const n=e.type;e.render||(e.render=n.render||we);{const i=Pt(e);Se();try{Fl(e)}finally{Ee(),i()}}}const br={get(e,t){return re(e,"get",""),e[t]}};function mr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,br),slots:e.slots,emit:e.emit,expose:t}}function xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jn(nl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ct)return Ct[s](e)},has(t,s){return s in t||s in Ct}})):e.proxy}const xr=/(?:^|[-_])\w/g,yr=e=>e.replace(xr,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yi(e,t=!0){return P(e)?e.displayName||e.name:e.name||t&&e.__name}function Ji(e,t,s=!1){let n=Yi(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=o=>{for(const l in o)if(o[l]===t)return l};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?yr(n):s?"App":"Anonymous"}function _r(e){return P(e)&&"__vccOpts"in e}const wr=(e,t)=>ll(e,t,Lt),Sr="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let fn;const Xi=typeof window<"u"&&window.trustedTypes;if(Xi)try{fn=Xi.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=fn?e=>fn.createHTML(e):e=>e,Er="http://www.w3.org/2000/svg",Tr="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Qi=We&&We.createElement("template"),kr={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?We.createElementNS(Er,e):t==="mathml"?We.createElementNS(Tr,e):s?We.createElement(e,{is:s}):We.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const l=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Qi.innerHTML=Zi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const r=Qi.content;if(n==="svg"||n==="mathml"){const a=r.firstChild;for(;a.firstChild;)r.appendChild(a.firstChild);r.removeChild(a)}t.insertBefore(r,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Cr=Symbol("_vtc");function Or(e,t,s){const n=e[Cr];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const xs=Symbol("_vod"),eo=Symbol("_vsh"),un={name:"show",beforeMount(e,{value:t},{transition:s}){e[xs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Nt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Nt(e,!0),n.enter(e)):n.leave(e,()=>{Nt(e,!1)}):Nt(e,t))},beforeUnmount(e,{value:t}){Nt(e,t)}};function Nt(e,t){e.style.display=t?e[xs]:"none",e[eo]=!t}const Ar=Symbol(""),Mr=/(?:^|;)\s*display\s*:/;function Rr(e,t,s){const n=e.style,i=q(s);let o=!1;if(s&&!i){if(t)if(q(t))for(const l of t.split(";")){const r=l.slice(0,l.indexOf(":")).trim();s[r]==null&&It(n,r,"")}else for(const l in t)s[l]==null&&It(n,l,"");for(const l in s){l==="display"&&(o=!0);const r=s[l];r!=null?Lr(e,l,!q(t)&&t?t[l]:void 0,r)||It(n,l,r):It(n,l,"")}}else if(i){if(t!==s){const l=n[Ar];l&&(s+=";"+l),n.cssText=s,o=Mr.test(s)}}else t&&e.removeAttribute("style");xs in e&&(e[xs]=o?n.display:"",e[eo]&&(n.display="none"))}const ys=/\s*!important$/;function It(e,t,s){if(A(s))s.forEach(n=>It(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))ys.test(s)?e.setProperty(t,s.replace(ys,""),"important"):e.setProperty(t,s);else{const n=Pr(e,t);ys.test(s)?e.setProperty(ve(n),s.replace(ys,""),"important"):e[n]=s}}const to=["Webkit","Moz","ms"],pn={};function Pr(e,t){const s=pn[t];if(s)return s;let n=ne(t);if(n!=="filter"&&n in e)return pn[t]=n;n=Gt(n);for(let i=0;ihn||(jr.then(()=>hn=0),hn=Date.now());function Br(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(A(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const l=i.slice(),r=[n];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vr=(e,t,s,n,i,o)=>{const l=i==="svg";t==="class"?Or(e,n,l):t==="style"?Rr(e,s,n):Bt(t)?Vt(t)||Hr(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wr(e,t,n,l))?(io(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&no(e,t,n,l,o,t!=="value")):e._isVueCE&&(Kr(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!q(n)))?io(e,ne(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),no(e,t,n,l))};function Wr(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&lo(t)&&R(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return lo(t)&&q(s)?!1:t in e}function Kr(e,t){const s=e._def.props;if(!s)return!1;const n=ne(t);return Array.isArray(s)?s.some(i=>ne(i)===n):Object.keys(s).some(i=>ne(i)===n)}const ro={};function zr(e,t,s){let n=Xs(e,t);Kt(n)&&(n=X({},n,t));class i extends gn{constructor(l){super(n,l,s)}}return i.def=n,i}const Gr=typeof HTMLElement<"u"?HTMLElement:class{};class gn extends Gr{constructor(t,s={},n=fo){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==fo?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(X({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof gn){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Qn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:l}=n;let r;if(o&&!A(o))for(const a in o){const u=o[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=En(this._props[a])),(r||(r=Object.create(null)))[ne(a)]=!0)}this._numberProps=r,this._resolveProps(n),this.shadowRoot&&this._applyStyles(l),this._mount(n)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)F(this,n)||Object.defineProperty(this,n,{get:()=>Yn(s[n])})}_resolveProps(t){const{props:s}=t,n=A(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(ne))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):ro;const i=ne(t);s&&this._numberProps&&this._numberProps[i]&&(n=En(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,i=!1){if(s!==this._props[t]&&(this._dirty=!0,s===ro?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),s===!0?this.setAttribute(ve(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(ve(t),s+""):s||this.removeAttribute(ve(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Yr(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=_e(this._def,X(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(o,l)=>{this.dispatchEvent(new CustomEvent(o,Kt(l[0])?X({detail:l},l[0]):{detail:l}))};n.emit=(o,...l)=>{i(o,l),ve(o)!==o&&i(ve(o),l)},this._setParent()}),s}_applyStyles(t,s,n){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,o=this.shadowRoot,l=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let r=null;for(let a=t.length-1;a>=0;a--){const u=document.createElement("style");i&&u.setAttribute("nonce",i),u.textContent=t[a],o.insertBefore(u,r||l),r=u,a===0&&(n||this._styleAnchors.set(this._def,u),s&&this._styleAnchors.set(s,u))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{co().render(...e)},fo=(...e)=>{const t=co().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Xr(n);if(!i)return;const o=t._component;!R(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=s(i,!1,Jr(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function Jr(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xr(e){return q(e)?document.querySelector(e):e}function uo(e,t){const s=t||Zr(e);ui(()=>{var r;const n=Wi();if(!n)return;const i=(r=n.proxy)==null?void 0:r.$el;if(!i)return;const o=i.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${s}"]`))return;const l=document.createElement("style");l.setAttribute("data-shadow-styles",s),l.textContent=e,o.appendChild(l)})}function Zr(e){let t=0;for(let s=0;s',map:'',globe:'',heart:'',prayer:'',list:'',users:'',flag:'',target:'',pin:'',monitor:'',chart:'',layers:'',flask:'',share:'',beaker:'',chevron:'',grid:'',tree:'',dots:'',embed:'',send:'',poster:'',search:'',book:'',wifi:''};function Qr(e,t=""){const s=po[e]||po.map;return``}const ea='.vtl{position:absolute;top:0;right:0;bottom:0;left:0;display:grid!important;grid-template-rows:auto 1fr;height:100%;width:100%;min-height:420px;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--vtl-accent:#92b195;--vtl-border:#d1d4cd;--vtl-elevated:#ffffff;--vtl-accented:#d1d4cd;--vtl-muted:#6d766e;--vtl-rail:256px}.vtl.no-header{grid-template-rows:1fr}.vtl-top{flex:0 0 auto;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:64px;padding:8px 16px;border-bottom:1px solid var(--vtl-border);background:#fff}.vtl-menu{display:none;font:16px/1 system-ui;color:#3b463d;background:#d1d4cd;border:1px solid #d1d4cd;border-radius:8px;padding:5px 10px;cursor:pointer}.vtl-fab{position:absolute;z-index:15;left:calc(12px + env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px;display:flex;align-items:center;justify-content:center;font:18px/1 system-ui;color:#3b463d;background:#fff;border:1px solid var(--vtl-border);border-radius:50%;box-shadow:0 2px 10px #0000002e;cursor:pointer}.vtl-fab:hover{background:#d1d4cd}.vtl-fab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:2px}.vtl-menu:hover{background:#d1d4cd}.vtl-brand{display:inline-flex;align-items:center}.vtl-brand:empty{display:none}.vtl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.vtl-meta{color:var(--vtl-muted);font-size:12px;margin-left:auto;display:inline-flex;align-items:center;gap:8px}.vtl-body{min-height:0;position:relative;display:flex}.vtl-nav{position:absolute;top:0;bottom:0;left:0;z-index:5;width:256px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;border-right:1px solid var(--vtl-border);padding:12px 12px 20px;background:#fff;scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent;contain:layout paint;transform:translate(0);transition:transform .2s cubic-bezier(.4,0,.2,1);will-change:transform}.vtl-nav::-webkit-scrollbar{width:8px;height:8px}.vtl-nav::-webkit-scrollbar-track{background:transparent}.vtl-nav::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.vtl-nav::-webkit-scrollbar-thumb:hover{background:#9aa197}.vtl-collapse{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin:0 0 8px;padding:7px 10px;border:1px solid var(--vtl-border);border-radius:8px;background:#d1d4cd;color:var(--vtl-muted);font:inherit;font-size:12px;cursor:pointer}.vtl-collapse:hover{background:var(--vtl-accented);color:#3b463d}.vtl-collapse:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-collapse-ic{flex:0 0 auto;display:inline-flex;transition:transform .16s ease;transform:rotate(180deg)}.vtl-collapse-ic svg{width:16px;height:16px}.vtl-collapse-tx{white-space:nowrap}.vtl-grp{margin-bottom:2px}.vtl-grp+.vtl-grp{margin-top:8px;padding-top:8px;border-top:1px solid var(--vtl-border)}.vtl-tier{width:100%;padding:8px 8px 6px;display:flex;align-items:center;gap:8px;box-sizing:border-box}.vtl-tier-btn{border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left;border-radius:8px}.vtl-tier-btn:hover{background:var(--vtl-accented)}.vtl-tier-btn:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tier-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tier-ic svg{width:15px;height:15px}.vtl-cap{font:700 10px/1 system-ui;letter-spacing:.4px;color:#052e16;background:var(--vtl-accent);border-radius:999px;padding:3px 7px}.vtl-tl{font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:var(--vtl-muted)}.vtl-td{color:#6b6b6b;font-size:11px;margin-left:auto}.vtl-chev{margin-left:auto;display:inline-flex;color:var(--vtl-muted);transition:transform .16s ease}.vtl-chev svg{width:15px;height:15px}.vtl-chev.open{transform:rotate(90deg)}.vtl-rows{display:flex;flex-direction:column;gap:1px}.vtl-tab{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;text-align:left;border:0;background:none;color:var(--vtl-muted);padding:8px 12px;cursor:pointer;border-radius:var(--vtl-radius,8px);font:inherit;margin:0;transition:background .13s ease,color .13s ease}.vtl-tab[data-depth]{padding-left:calc(12px + var(--vtl-depth) * 16px)}.vtl-tab[data-depth]:before{content:"";flex:0 0 auto;align-self:stretch;width:0;margin-right:-3px;border-left:2px solid var(--vtl-accent);opacity:.45}.vtl-tab:hover{background:var(--vtl-accented);color:#3b463d}.vtl-tab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tab.active{background:var(--vtl-accented);color:#3b463d;font-weight:500}.vtl-tab.active .vtl-tab-ic{color:var(--vtl-accent)}.vtl-tab-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tab-ic svg{width:20px;height:20px}.vtl-tab-emoji{font-size:17px;line-height:1;flex:0 0 auto}.vtl-tab-fallback{display:none;flex:0 0 auto;width:20px;height:20px;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--vtl-muted);background:var(--vtl-accented);border-radius:6px}.vtl-tab.active .vtl-tab-fallback{color:var(--vtl-accent)}.vtl-tab-text{display:flex;flex-direction:column;min-width:0}.vtl-tab-label{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px}.vtl-tab-badge{font:600 9px/1 system-ui;letter-spacing:.3px;text-transform:uppercase;color:var(--vtl-accent);border:1px solid var(--vtl-accent);border-radius:var(--vtl-radius,8px);padding:2px 5px}.vtl-tab-sub{font-size:11px;color:#6b6b6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vtl-tab-sub code{font-family:ui-monospace,Menlo,monospace}.vtl-tab.active .vtl-tab-sub{color:var(--vtl-muted)}.vtl-main{position:absolute;top:0;bottom:0;right:0;left:256px;min-width:0;display:flex;flex-direction:column}.vtl-content{flex:1 1 auto;position:relative;min-height:0}.vtl-host{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h:0}.vtl-host-slot{position:relative;min-height:100%}.vtl-host-slot>*{min-height:0;max-height:none}.vtl-host-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:var(--dx-muted, #6d766e);font-size:13px;padding:20px}.vtl-host-hint.err{color:#f87171}.vtl-host-hint small{color:var(--dx-muted, #6d766e)}.vtl.rail-collapsed .vtl-nav{transform:translate(-184px)}.vtl.rail-collapsed .vtl-main{left:72px}.vtl.rail-collapsed .vtl-collapse{padding-left:184px;justify-content:flex-start}.vtl.rail-collapsed .vtl-collapse-ic{transform:rotate(0)}.vtl.rail-collapsed .vtl-collapse-tx{display:none}.vtl.rail-collapsed .vtl-tab{padding-left:188px;gap:0}.vtl.rail-collapsed .vtl-tab-text{display:none}.vtl.rail-collapsed .vtl-tab-emoji{font-size:19px}.vtl.rail-collapsed .vtl-tab-fallback{display:inline-flex}.vtl.rail-collapsed .vtl-tab[data-depth]:before{display:none}.vtl.rail-collapsed .vtl-tier{padding-left:196px}.vtl.rail-collapsed .vtl-tl,.vtl.rail-collapsed .vtl-td,.vtl.rail-collapsed .vtl-cap,.vtl.rail-collapsed .vtl-chev{display:none}.vtl.rail-collapsed .vtl-grp+.vtl-grp{margin-top:6px;padding-top:6px}@media (max-width: 760px){.vtl-top{min-height:56px}.vtl-menu{display:inline-block}.vtl-meta{display:none}.vtl-nav{z-index:20;width:256px;box-shadow:0 0 28px #0000008c;transform:translate(-100%)}.vtl.nav-open .vtl-nav{transform:translate(0)}.vtl-main{left:0}.vtl.rail-collapsed .vtl-nav{transform:translate(-100%)}.vtl.rail-collapsed.nav-open .vtl-nav{transform:translate(0)}.vtl.rail-collapsed .vtl-main{left:0}.vtl.rail-collapsed .vtl-collapse{padding-left:10px;justify-content:flex-start}.vtl.rail-collapsed .vtl-collapse-ic{transform:rotate(180deg)}.vtl.rail-collapsed .vtl-collapse-tx{display:inline}.vtl.rail-collapsed .vtl-tab{padding-left:10px;gap:11px}.vtl.rail-collapsed .vtl-tab[data-depth]{padding-left:calc(12px + var(--vtl-depth) * 16px)}.vtl.rail-collapsed .vtl-tab[data-depth]:before{display:block}.vtl.rail-collapsed .vtl-tab-text{display:flex}.vtl.rail-collapsed .vtl-tab-fallback{display:none}.vtl.rail-collapsed .vtl-tier{padding-left:8px}.vtl.rail-collapsed .vtl-tl,.vtl.rail-collapsed .vtl-td,.vtl.rail-collapsed .vtl-cap,.vtl.rail-collapsed .vtl-chev{display:inline}}',ho=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Ht={};function ta(e){return e?(Ht[e]||(Ht[e]=new Promise((t,s)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>{delete Ht[e],s(new Error("failed to load "+e))},document.head.appendChild(n)})),Ht[e]):Promise.resolve()}function sa(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((s,n)=>setTimeout(()=>n(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const na=` +**/let un;const Xi=typeof window<"u"&&window.trustedTypes;if(Xi)try{un=Xi.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=un?e=>un.createHTML(e):e=>e,Er="http://www.w3.org/2000/svg",Tr="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Qi=We&&We.createElement("template"),kr={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?We.createElementNS(Er,e):t==="mathml"?We.createElementNS(Tr,e):s?We.createElement(e,{is:s}):We.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const l=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Qi.innerHTML=Zi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const r=Qi.content;if(n==="svg"||n==="mathml"){const a=r.firstChild;for(;a.firstChild;)r.appendChild(a.firstChild);r.removeChild(a)}t.insertBefore(r,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Cr=Symbol("_vtc");function Or(e,t,s){const n=e[Cr];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const ys=Symbol("_vod"),eo=Symbol("_vsh"),_s={name:"show",beforeMount(e,{value:t},{transition:s}){e[ys]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Nt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Nt(e,!0),n.enter(e)):n.leave(e,()=>{Nt(e,!1)}):Nt(e,t))},beforeUnmount(e,{value:t}){Nt(e,t)}};function Nt(e,t){e.style.display=t?e[ys]:"none",e[eo]=!t}const Ar=Symbol(""),Mr=/(?:^|;)\s*display\s*:/;function Rr(e,t,s){const n=e.style,i=q(s);let o=!1;if(s&&!i){if(t)if(q(t))for(const l of t.split(";")){const r=l.slice(0,l.indexOf(":")).trim();s[r]==null&&It(n,r,"")}else for(const l in t)s[l]==null&&It(n,l,"");for(const l in s){l==="display"&&(o=!0);const r=s[l];r!=null?Lr(e,l,!q(t)&&t?t[l]:void 0,r)||It(n,l,r):It(n,l,"")}}else if(i){if(t!==s){const l=n[Ar];l&&(s+=";"+l),n.cssText=s,o=Mr.test(s)}}else t&&e.removeAttribute("style");ys in e&&(e[ys]=o?n.display:"",e[eo]&&(n.display="none"))}const ws=/\s*!important$/;function It(e,t,s){if(A(s))s.forEach(n=>It(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))ws.test(s)?e.setProperty(t,s.replace(ws,""),"important"):e.setProperty(t,s);else{const n=Pr(e,t);ws.test(s)?e.setProperty(ve(n),s.replace(ws,""),"important"):e[n]=s}}const to=["Webkit","Moz","ms"],pn={};function Pr(e,t){const s=pn[t];if(s)return s;let n=ne(t);if(n!=="filter"&&n in e)return pn[t]=n;n=Gt(n);for(let i=0;ihn||(jr.then(()=>hn=0),hn=Date.now());function Br(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(A(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const l=i.slice(),r=[n];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vr=(e,t,s,n,i,o)=>{const l=i==="svg";t==="class"?Or(e,n,l):t==="style"?Rr(e,s,n):Bt(t)?Vt(t)||Hr(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zr(e,t,n,l))?(io(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&no(e,t,n,l,o,t!=="value")):e._isVueCE&&(Wr(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!q(n)))?io(e,ne(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),no(e,t,n,l))};function zr(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&lo(t)&&P(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return lo(t)&&q(s)?!1:t in e}function Wr(e,t){const s=e._def.props;if(!s)return!1;const n=ne(t);return Array.isArray(s)?s.some(i=>ne(i)===n):Object.keys(s).some(i=>ne(i)===n)}const ro={};function Kr(e,t,s){let n=Zs(e,t);Wt(n)&&(n=X({},n,t));class i extends gn{constructor(l){super(n,l,s)}}return i.def=n,i}const Gr=typeof HTMLElement<"u"?HTMLElement:class{};class gn extends Gr{constructor(t,s={},n=fo){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==fo?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(X({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof gn){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Qn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:l}=n;let r;if(o&&!A(o))for(const a in o){const u=o[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=En(this._props[a])),(r||(r=Object.create(null)))[ne(a)]=!0)}this._numberProps=r,this._resolveProps(n),this.shadowRoot&&this._applyStyles(l),this._mount(n)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)F(this,n)||Object.defineProperty(this,n,{get:()=>Yn(s[n])})}_resolveProps(t){const{props:s}=t,n=A(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(ne))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):ro;const i=ne(t);s&&this._numberProps&&this._numberProps[i]&&(n=En(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,i=!1){if(s!==this._props[t]&&(this._dirty=!0,s===ro?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),s===!0?this.setAttribute(ve(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(ve(t),s+""):s||this.removeAttribute(ve(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Yr(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=_e(this._def,X(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(o,l)=>{this.dispatchEvent(new CustomEvent(o,Wt(l[0])?X({detail:l},l[0]):{detail:l}))};n.emit=(o,...l)=>{i(o,l),ve(o)!==o&&i(ve(o),l)},this._setParent()}),s}_applyStyles(t,s,n){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,o=this.shadowRoot,l=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let r=null;for(let a=t.length-1;a>=0;a--){const u=document.createElement("style");i&&u.setAttribute("nonce",i),u.textContent=t[a],o.insertBefore(u,r||l),r=u,a===0&&(n||this._styleAnchors.set(this._def,u),s&&this._styleAnchors.set(s,u))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s{co().render(...e)},fo=(...e)=>{const t=co().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Xr(n);if(!i)return;const o=t._component;!P(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=s(i,!1,Jr(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function Jr(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xr(e){return q(e)?document.querySelector(e):e}function uo(e,t){const s=t||Zr(e);ui(()=>{var r;const n=zi();if(!n)return;const i=(r=n.proxy)==null?void 0:r.$el;if(!i)return;const o=i.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${s}"]`))return;const l=document.createElement("style");l.setAttribute("data-shadow-styles",s),l.textContent=e,o.appendChild(l)})}function Zr(e){let t=0;for(let s=0;s',map:'',globe:'',heart:'',prayer:'',list:'',users:'',flag:'',target:'',pin:'',monitor:'',chart:'',layers:'',flask:'',share:'',beaker:'',chevron:'',grid:'',tree:'',dots:'',embed:'',send:'',poster:'',search:'',book:'',wifi:''};function Qr(e,t=""){const s=po[e]||po.map;return``}const ea='.vtl{position:absolute;top:0;right:0;bottom:0;left:0;display:grid!important;grid-template-rows:auto 1fr;height:100%;width:100%;min-height:420px;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--vtl-accent:#92b195;--vtl-border:#d1d4cd;--vtl-elevated:#ffffff;--vtl-accented:#d1d4cd;--vtl-muted:#6d766e;--vtl-rail:256px}.vtl.no-header{grid-template-rows:1fr}.vtl-top{flex:0 0 auto;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:64px;padding:8px 16px;border-bottom:1px solid var(--vtl-border);background:#fff}.vtl-menu{display:none;font:16px/1 system-ui;color:#3b463d;background:#d1d4cd;border:1px solid #d1d4cd;border-radius:8px;padding:5px 10px;cursor:pointer}.vtl-fab{position:absolute;z-index:15;left:calc(12px + env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px;display:flex;align-items:center;justify-content:center;font:18px/1 system-ui;color:#3b463d;background:#fff;border:1px solid var(--vtl-border);border-radius:50%;box-shadow:0 2px 10px #0000002e;cursor:pointer}.vtl-fab:hover{background:#d1d4cd}.vtl-fab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:2px}.vtl-menu:hover{background:#d1d4cd}.vtl-brand{display:inline-flex;align-items:center}.vtl-brand:empty{display:none}.vtl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.vtl-meta{color:var(--vtl-muted);font-size:12px;margin-left:auto;display:inline-flex;align-items:center;gap:8px}.vtl-body{min-height:0;position:relative;display:flex}.vtl-nav{position:absolute;top:0;bottom:0;left:0;z-index:5;width:256px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;border-right:1px solid var(--vtl-border);padding:12px 12px 20px;background:#fff;scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent;contain:layout paint;transform:translate(0);transition:transform .2s cubic-bezier(.4,0,.2,1);will-change:transform}.vtl-nav::-webkit-scrollbar{width:8px;height:8px}.vtl-nav::-webkit-scrollbar-track{background:transparent}.vtl-nav::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.vtl-nav::-webkit-scrollbar-thumb:hover{background:#9aa197}.vtl-collapse{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin:0 0 8px;padding:7px 10px;border:1px solid var(--vtl-border);border-radius:8px;background:#d1d4cd;color:var(--vtl-muted);font:inherit;font-size:12px;cursor:pointer}.vtl-collapse:hover{background:var(--vtl-accented);color:#3b463d}.vtl-collapse:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-collapse-ic{flex:0 0 auto;display:inline-flex;transition:transform .16s ease;transform:rotate(180deg)}.vtl-collapse-ic svg{width:16px;height:16px}.vtl-collapse-tx{white-space:nowrap}.vtl-grp{margin-bottom:2px}.vtl-grp+.vtl-grp{margin-top:8px;padding-top:8px;border-top:1px solid var(--vtl-border)}.vtl-tier{width:100%;padding:8px 8px 6px;display:flex;align-items:center;gap:8px;box-sizing:border-box}.vtl-tier-btn{border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left;border-radius:8px}.vtl-tier-btn:hover{background:var(--vtl-accented)}.vtl-tier-btn:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tier-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tier-ic svg{width:15px;height:15px}.vtl-cap{font:700 10px/1 system-ui;letter-spacing:.4px;color:#052e16;background:var(--vtl-accent);border-radius:999px;padding:3px 7px}.vtl-tl{font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:var(--vtl-muted)}.vtl-td{color:#6b6b6b;font-size:11px;margin-left:auto}.vtl-chev{margin-left:auto;display:inline-flex;color:var(--vtl-muted);transition:transform .16s ease}.vtl-chev svg{width:15px;height:15px}.vtl-chev.open{transform:rotate(90deg)}.vtl-rows{display:flex;flex-direction:column;gap:1px}.vtl-tab{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;text-align:left;border:0;background:none;color:var(--vtl-muted);padding:8px 12px;cursor:pointer;border-radius:var(--vtl-radius,8px);font:inherit;margin:0;transition:background .13s ease,color .13s ease}.vtl-tab[data-depth]{padding-left:calc(12px + var(--vtl-depth) * 16px)}.vtl-tab[data-depth]:before{content:"";flex:0 0 auto;align-self:stretch;width:0;margin-right:-3px;border-left:2px solid var(--vtl-accent);opacity:.45}.vtl-rowwrap{position:relative}.vtl-twisty{position:absolute;z-index:1;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:none;color:var(--vtl-muted);cursor:pointer}.vtl-twisty:hover{background:var(--vtl-accented);color:#3b463d}.vtl-twisty:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tab.has-branch{padding-right:36px}.vtl-tab:hover{background:var(--vtl-accented);color:#3b463d}.vtl-tab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tab.active{background:var(--vtl-accented);color:#3b463d;font-weight:500}.vtl-tab.active .vtl-tab-ic{color:var(--vtl-accent)}.vtl-tab-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tab-ic svg{width:20px;height:20px}.vtl-tab-emoji{font-size:17px;line-height:1;flex:0 0 auto}.vtl-tab-fallback{display:none;flex:0 0 auto;width:20px;height:20px;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--vtl-muted);background:var(--vtl-accented);border-radius:6px}.vtl-tab.active .vtl-tab-fallback{color:var(--vtl-accent)}.vtl-tab-text{display:flex;flex-direction:column;min-width:0}.vtl-tab-label{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px}.vtl-tab-badge{font:600 9px/1 system-ui;letter-spacing:.3px;text-transform:uppercase;color:var(--vtl-accent);border:1px solid var(--vtl-accent);border-radius:var(--vtl-radius,8px);padding:2px 5px}.vtl-tab-sub{font-size:11px;color:#6b6b6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vtl-tab-sub code{font-family:ui-monospace,Menlo,monospace}.vtl-tab.active .vtl-tab-sub{color:var(--vtl-muted)}.vtl-main{position:absolute;top:0;bottom:0;right:0;left:256px;min-width:0;display:flex;flex-direction:column}.vtl-content{flex:1 1 auto;position:relative;min-height:0}.vtl-host{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h:0}.vtl-host-slot{position:relative;min-height:100%}.vtl-host-slot>*{min-height:0;max-height:none}.vtl-host-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:var(--dx-muted, #6d766e);font-size:13px;padding:20px}.vtl-host-hint.err{color:#f87171}.vtl-host-hint small{color:var(--dx-muted, #6d766e)}.vtl.rail-collapsed .vtl-nav{transform:translate(-184px)}.vtl.rail-collapsed .vtl-main{left:72px}.vtl.rail-collapsed .vtl-collapse{padding-left:184px;justify-content:flex-start}.vtl.rail-collapsed .vtl-collapse-ic{transform:rotate(0)}.vtl.rail-collapsed .vtl-collapse-tx{display:none}.vtl.rail-collapsed .vtl-tab{padding-left:188px;gap:0}.vtl.rail-collapsed .vtl-tab-text{display:none}.vtl.rail-collapsed .vtl-tab-emoji{font-size:19px}.vtl.rail-collapsed .vtl-tab-fallback{display:inline-flex}.vtl.rail-collapsed .vtl-tab[data-depth]:before{display:none}.vtl.rail-collapsed .vtl-twisty{display:none}.vtl.rail-collapsed .vtl-tier{padding-left:196px}.vtl.rail-collapsed .vtl-tl,.vtl.rail-collapsed .vtl-td,.vtl.rail-collapsed .vtl-cap,.vtl.rail-collapsed .vtl-chev{display:none}.vtl.rail-collapsed .vtl-grp+.vtl-grp{margin-top:6px;padding-top:6px}@media (max-width: 760px){.vtl-top{min-height:56px}.vtl-menu{display:inline-block}.vtl-meta{display:none}.vtl-nav{z-index:20;width:256px;box-shadow:0 0 28px #0000008c;transform:translate(-100%)}.vtl.nav-open .vtl-nav{transform:translate(0)}.vtl-main{left:0}.vtl.rail-collapsed .vtl-nav{transform:translate(-100%)}.vtl.rail-collapsed.nav-open .vtl-nav{transform:translate(0)}.vtl.rail-collapsed .vtl-main{left:0}.vtl.rail-collapsed .vtl-collapse{padding-left:10px;justify-content:flex-start}.vtl.rail-collapsed .vtl-collapse-ic{transform:rotate(180deg)}.vtl.rail-collapsed .vtl-collapse-tx{display:inline}.vtl.rail-collapsed .vtl-tab{padding-left:10px;gap:11px}.vtl.rail-collapsed .vtl-tab[data-depth]{padding-left:calc(12px + var(--vtl-depth) * 16px)}.vtl.rail-collapsed .vtl-tab[data-depth]:before{display:block}.vtl.rail-collapsed .vtl-twisty{display:inline-flex}.vtl.rail-collapsed .vtl-tab-text{display:flex}.vtl.rail-collapsed .vtl-tab-fallback{display:none}.vtl.rail-collapsed .vtl-tier{padding-left:8px}.vtl.rail-collapsed .vtl-tl,.vtl.rail-collapsed .vtl-td,.vtl.rail-collapsed .vtl-cap,.vtl.rail-collapsed .vtl-chev{display:inline}}',ho=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Ht={};function ta(e){return e?(Ht[e]||(Ht[e]=new Promise((t,s)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>{delete Ht[e],s(new Error("failed to load "+e))},document.head.appendChild(n)})),Ht[e]):Promise.resolve()}function sa(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((s,n)=>setTimeout(()=>n(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const na=` /* STRUCTURAL DISPLAY — the !important is deliberate, not a hack. This layout's display mode is load-bearing: it CANNOT function as a block. As a library/ (high-bar) component it ships across all 5 deployment methods, and a host (app-shell direct-mount, WordPress, mobile webview) may force @@ -117,6 +117,11 @@ .vtl-tab { display:flex; align-items:center; gap:11px; width:100%; min-height:48px; text-align:left; border:0; background:none; color:var(--vtl-muted); padding:8px 12px; cursor:pointer; border-radius:var(--vtl-radius,8px); font:inherit; margin:0; transition:background .13s ease,color .13s ease; } .vtl-tab[data-depth] { padding-left:calc(12px + var(--vtl-depth) * 16px); } .vtl-tab[data-depth]::before { content:''; flex:0 0 auto; align-self:stretch; width:0; margin-right:-3px; border-left:2px solid var(--vtl-accent); opacity:.45; } +.vtl-rowwrap { position:relative; } +.vtl-twisty { position:absolute; z-index:1; right:4px; top:50%; transform:translateY(-50%); width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:8px; background:none; color:var(--vtl-muted); cursor:pointer; } +.vtl-twisty:hover { background:var(--vtl-accented); color:#3b463d; } +.vtl-twisty:focus-visible { outline:2px solid var(--vtl-accent); outline-offset:-2px; } +.vtl-tab.has-branch { padding-right:36px; } .vtl-tab:hover { background:var(--vtl-accented); color:#3b463d; } .vtl-tab:focus-visible { outline:2px solid var(--vtl-accent); outline-offset:-2px; } .vtl-tab.active { background:var(--vtl-accented); color:#3b463d; font-weight:500; } @@ -212,6 +217,7 @@ .vtl.rail-collapsed .vtl-tab-emoji { font-size:19px; } .vtl.rail-collapsed .vtl-tab-fallback { display:inline-flex; } .vtl.rail-collapsed .vtl-tab[data-depth]::before { display:none; } +.vtl.rail-collapsed .vtl-twisty { display:none; } .vtl.rail-collapsed .vtl-tier { padding-left:196px; } .vtl.rail-collapsed .vtl-tl, .vtl.rail-collapsed .vtl-td, .vtl.rail-collapsed .vtl-cap, .vtl.rail-collapsed .vtl-chev { display:none; } .vtl.rail-collapsed .vtl-grp + .vtl-grp { margin-top:6px; padding-top:6px; } @@ -238,12 +244,13 @@ .vtl.rail-collapsed .vtl-tab { padding-left:10px; gap:11px; } .vtl.rail-collapsed .vtl-tab[data-depth] { padding-left:calc(12px + var(--vtl-depth) * 16px); } .vtl.rail-collapsed .vtl-tab[data-depth]::before { display:block; } + .vtl.rail-collapsed .vtl-twisty { display:inline-flex; } .vtl.rail-collapsed .vtl-tab-text { display:flex; } .vtl.rail-collapsed .vtl-tab-fallback { display:none; } .vtl.rail-collapsed .vtl-tier { padding-left:8px; } .vtl.rail-collapsed .vtl-tl, .vtl.rail-collapsed .vtl-td, .vtl.rail-collapsed .vtl-cap, .vtl.rail-collapsed .vtl-chev { display:inline; } } -`,ia=Xs({name:"VerticalTabsLayout",props:{active:{type:String,default:""},title:{type:String,default:""},items:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},navLabel:{type:String,default:"Sections"},initialNavOpen:{type:Boolean,default:!0},header:{type:Boolean,default:!0},initialRailCollapsed:{type:Boolean,default:!1}},emits:["update:active"],setup(){uo(na,"vertical-tabs-layout")},data(){return{navOpen:this.initialNavOpen,railCollapsed:this.initialRailCollapsed,_tabEls:{},folderOverride:{},narrow:!1,_mql:null,_onMedia:null,activatedKeys:{},hostState:{},hostError:{},_hostSlots:{},_hostMounted:{}}},computed:{railShown(){return this.narrow?this.navOpen:!0},allRows(){if(this.groups&&this.groups.length){const e=[];for(const t of this.groups)for(const s of t.rows||[])e.push(s);return e}return this.items},orderedKeys(){return this.allRows.filter(e=>!e.selects).map(e=>e.key)},elementRows(){return this.allRows.filter(e=>e&&e.element)},mountedElementRows(){return this.elementRows.filter(e=>this.activatedKeys[e.key])}},watch:{active:{immediate:!0,handler(e){this.activateElement(e)}}},mounted(){try{window.matchMedia&&(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this.reconcileForWidth(),this._onMedia=e=>{this.narrow=e.matches,this.reconcileForWidth()},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))}catch{}this.$nextTick(()=>this.activateElement(this.active))},beforeUnmount(){try{this._mql&&this._onMedia&&(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia))}catch{}this._mql=null,this._onMedia=null},methods:{registerTab(e,t){t&&(this._tabEls[e]=t)},isNarrow(){return this.narrow},reconcileForWidth(){this.narrow?(this.navOpen=!1,this.railCollapsed=!1):this.navOpen=!0},toggleRail(){this.narrow?this.navOpen=!this.navOpen:this.railCollapsed=!this.railCollapsed},setHostSlot(e,t){t&&(this._hostSlots[e]=t,this.$nextTick(()=>this.mountHostElement(e)))},activateElement(e){!e||!this.elementRows.find(s=>s.key===e)||(this.activatedKeys[e]||(this.activatedKeys={...this.activatedKeys,[e]:!0},this.hostState={...this.hostState,[e]:"loading"}),this.$nextTick(()=>this.mountHostElement(e)))},mountHostElement(e){if(this._hostMounted[e])return;const t=this.elementRows.find(n=>n.key===e),s=this._hostSlots[e];!t||!s||(this._hostMounted[e]=!0,this.hostState={...this.hostState,[e]:"loading"},ta(t.src).then(()=>sa(t.element)).then(()=>{s.innerHTML="";const n=document.createElement(t.element),i=t.attrs||{};for(const o in i){const l=i[o],r=l!=null&&typeof l=="object"?JSON.stringify(l):String(l);try{n[o]=l}catch{}try{n.setAttribute(o,r)}catch{}}n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",s.appendChild(n),this.hostState={...this.hostState,[e]:"ready"}}).catch(n=>{this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"error"},this.hostError={...this.hostError,[e]:n&&n.message||String(n)}}))},iconSvg(e){return e?Qr(e):""},initial(e){const t=(e||"").trim();return t?t.charAt(0).toUpperCase():"•"},isFolderClosed(e){const t=this.folderOverride[e.key];return t!=null?!t:e.open!==!0},toggleFolder(e){const t=this.folderOverride[e],s=(this.groups||[]).find(i=>i.key===e),n=t??(s&&s.open===!0);this.folderOverride={...this.folderOverride,[e]:!n}},target(e){return e.selects||e.key},pick(e){this.$emit("update:active",e),this.narrow&&(this.navOpen=!1)},onKey(e){const t=this.orderedKeys;if(!t.length)return;const s=t.indexOf(this.active);let n=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")n=(s+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")n=(s-1+t.length)%t.length;else if(e.key==="Home")n=0;else if(e.key==="End")n=t.length-1;else return;e.preventDefault();const i=t[n];this.pick(i),this.$nextTick(()=>{const o=this._tabEls[i];o&&o.focus&&o.focus()})}}}),oa={key:0,class:"vtl-top"},la=["aria-expanded"],ra={class:"vtl-brand"},aa={class:"vtl-title"},ca={class:"vtl-meta"},da=["aria-expanded"],fa={class:"vtl-body"},ua=["aria-label","aria-hidden"],pa=["aria-expanded","aria-label"],ha=["innerHTML"],ga=["aria-expanded","onClick"],va={key:0,class:"vtl-cap"},ba={class:"vtl-tl"},ma={key:1,class:"vtl-td"},xa=["innerHTML"],ya={key:1,class:"vtl-tier"},_a={key:0,class:"vtl-cap"},wa={class:"vtl-tl"},Sa={key:1,class:"vtl-td"},Ea={class:"vtl-rows"},Ta=["data-depth","aria-selected","tabindex","onClick"],ka=["innerHTML"],Ca={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Oa={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Aa={class:"vtl-tab-text"},Ma={class:"vtl-tab-label"},Ra={key:0,class:"vtl-tab-badge"},Pa={key:0,class:"vtl-tab-sub"},La=["innerHTML"],Na=["aria-selected","tabindex","onClick"],Ia=["innerHTML"],Ha={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Da={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Fa={class:"vtl-tab-text"},$a={class:"vtl-tab-label"},ja={key:0,class:"vtl-tab-sub"},Ua={class:"vtl-main"},Ba={class:"vtl-content"},Va=["hidden"],Wa={key:0,class:"vtl-host-hint"},Ka={key:1,class:"vtl-host-hint err"};function za(e,t,s,n,i,o){return P(),N("div",{class:ze(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}])},[e.header?(P(),N("header",oa,[k("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=l=>e.navOpen=!e.navOpen),"aria-label":"Toggle list"},"☰",8,la),k("span",ra,[ds(e.$slots,"brand")]),k("b",aa,H(e.title),1),k("span",ca,[ds(e.$slots,"meta")])])):te("",!0),e.narrow&&!e.header&&!e.navOpen?(P(),N("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=l=>e.navOpen=!0),"aria-label":"Open the list of views"},"☰",8,da)):te("",!0),k("div",fa,[k("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:"tablist","aria-orientation":"vertical"},[k("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?"Expand list":"Collapse list",onClick:t[2]||(t[2]=(...l)=>e.toggleRail&&e.toggleRail(...l))},[k("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,ha),t[5]||(t[5]=k("span",{class:"vtl-collapse-tx"},"Collapse",-1))],8,pa),e.groups&&e.groups.length?(P(!0),N(ee,{key:0},ft(e.groups,l=>(P(),N("div",{class:"vtl-grp",key:l.key},[l.folder?(P(),N("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(l)),onClick:r=>e.toggleFolder(l.key)},[l.badge?(P(),N("span",va,H(l.badge),1)):te("",!0),k("span",ba,H(l.label),1),l.count!=null?(P(),N("span",ma,H(l.count),1)):te("",!0),k("span",{class:ze(["vtl-chev",{open:!e.isFolderClosed(l)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,xa)],8,ga)):(P(),N("div",ya,[l.badge?(P(),N("span",_a,H(l.badge),1)):te("",!0),k("span",wa,H(l.label),1),l.count!=null?(P(),N("span",Sa,H(l.count),1)):te("",!0)])),Gs(k("div",Ea,[(P(!0),N(ee,null,ft(l.rows,r=>(P(),N("button",{key:r.key,type:"button",role:"tab",class:ze(["vtl-tab",{active:e.target(r)===e.active,alias:!!r.selects}]),"data-depth":r.depth||null,style:Yt(r.depth?{"--vtl-depth":r.depth}:null),"aria-selected":String(e.target(r)===e.active),tabindex:!r.selects&&r.key===e.active?0:-1,ref_for:!0,ref:a=>{r.selects||e.registerTab(r.key,a)},onClick:a=>e.pick(e.target(r)),onKeydown:t[3]||(t[3]=a=>e.onKey(a))},[r.icon?(P(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(r.icon)},null,8,ka)):r.emoji?(P(),N("span",Ca,H(r.emoji),1)):(P(),N("span",Oa,H(e.initial(r.label)),1)),k("span",Aa,[k("span",Ma,[ht(H(r.label),1),r.badge?(P(),N("span",Ra,H(r.badge),1)):te("",!0)]),r.sub?(P(),N("span",Pa,[k("span",{innerHTML:r.sub},null,8,La)])):te("",!0)])],46,Ta))),128))],512),[[un,!l.folder||!e.isFolderClosed(l)]])]))),128)):(P(!0),N(ee,{key:1},ft(e.items,l=>(P(),N("button",{key:l.key,type:"button",role:"tab",class:ze(["vtl-tab",{active:l.key===e.active}]),"aria-selected":String(l.key===e.active),tabindex:l.key===e.active?0:-1,ref_for:!0,ref:r=>e.registerTab(l.key,r),onClick:r=>e.pick(l.key),onKeydown:t[4]||(t[4]=r=>e.onKey(r))},[l.icon?(P(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Ia)):l.emoji?(P(),N("span",Ha,H(l.emoji),1)):(P(),N("span",Da,H(e.initial(l.label)),1)),k("span",Fa,[k("span",$a,H(l.label),1),l.sub?(P(),N("span",ja,H(l.sub),1)):te("",!0)])],42,Na))),128))],8,ua),k("main",Ua,[e.header?ds(e.$slots,"toolbar",{},void 0,void 0,0):te("",!0),k("div",Ba,[(P(!0),N(ee,null,ft(e.mountedElementRows,l=>Gs((P(),N("section",{key:l.key,class:"vtl-host",hidden:l.key!==e.active},[k("div",{class:"vtl-host-slot",ref_for:!0,ref:r=>e.setHostSlot(l.key,r)},null,512),e.hostState[l.key]==="loading"?(P(),N("div",Wa,"Loading "+H(l.label)+"…",1)):e.hostState[l.key]==="error"?(P(),N("div",Ka,[ht(" Could not load "+H(l.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,H(e.hostError[l.key]),1)])):te("",!0)],8,Va)),[[un,l.key===e.active]])),128)),ds(e.$slots,"default")])])])],2)}const Ga=ho(ia,[["render",za],["styles",[ea]]]),vn=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦",dir:"rtl"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪",hideFromSwitcher:!0},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳",hideFromSwitcher:!0}],qa=vn.filter(e=>!e.hideFromSwitcher);function Ya(e){return vn.find(t=>t.code===e)}function go(e){const t=String(e||"").split("-")[0].toLowerCase();return vn.some(s=>s.code===t)?t:"en"}const vo="doxa-maps:locale";function Ja(){try{const e=localStorage.getItem(vo);if(e)return go(e)}catch{}return go(navigator==null?void 0:navigator.language)}function Xa(e){try{localStorage.setItem(vo,e)}catch{}}const Za=".ps-logo{display:inline-flex;align-items:center}.ps-logo svg{display:block}.ps-count{color:#6d766e}.ps-locale{position:relative;display:inline-flex}.ps-locale-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;padding:4px 9px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-locale-btn:hover{background:#d1d4cd}.ps-flag{font-size:13px;line-height:1}.ps-locale-name{max-width:11ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-dots{color:#6d766e}.ps-locale-menu{position:absolute;top:100%;right:0;margin-top:4px;z-index:30;min-width:180px;list-style:none;padding:6px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000080;max-height:320px;overflow:auto}.ps-locale-opt{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:13px;padding:7px 9px;border:0;border-radius:7px;background:none;color:#3b463d;cursor:pointer}.ps-locale-opt:hover,.ps-locale-opt.active{background:#d1d4cd;color:#3b463d}.ps-locale-opt.active .ps-locale-name{color:#92b195}.ps-locale-en{margin-left:auto;font-size:11px;color:#6d766e}.ps-toolbar{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.ps-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-bar-t{flex:1 1 auto;min-width:0}.ps-bar-t b{font-size:15px;color:#3b463d}.ps-bar-sub{display:block;font-size:12px;color:#6d766e}.ps-btn{font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer;white-space:nowrap}.ps-btn:hover{background:#d1d4cd}.ps-embed{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1}.ps-embed label{font-size:12px;color:#6d766e;display:flex;justify-content:space-between;align-items:center}.ps-embed textarea{width:100%;height:58px;font:11px/1.35 ui-monospace,Menlo,monospace;border:1px solid #d1d4cd;border-radius:6px;background:#fff;color:#3b463d;padding:6px;resize:vertical}.ps-stage{position:absolute;top:10px;right:12px;bottom:12px;left:12px;border:1px solid #d1d4cd;border-radius:10px;overflow:hidden;background:#f3f3f1}.ps-pane{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h: 0}.ps-slot{position:relative;min-height:100%}.ps-slot>*{min-height:0;max-height:none}.ps-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:#6d766e;font-size:13px;padding:20px}.ps-hint.err{color:#f87171}.ps-hint small{color:#6d766e}",Qa=` +`,ia=Zs({name:"VerticalTabsLayout",props:{active:{type:String,default:""},title:{type:String,default:""},items:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},navLabel:{type:String,default:"Sections"},initialNavOpen:{type:Boolean,default:!0},header:{type:Boolean,default:!0},initialRailCollapsed:{type:Boolean,default:!1}},emits:["update:active"],setup(){uo(na,"vertical-tabs-layout")},data(){return{navOpen:this.initialNavOpen,railCollapsed:this.initialRailCollapsed,_tabEls:{},folderOverride:{},branchOpen:{},narrow:!1,_mql:null,_onMedia:null,activatedKeys:{},hostState:{},hostError:{},_hostSlots:{},_hostMounted:{}}},computed:{railShown(){return this.narrow?this.navOpen:!0},allRows(){if(this.groups&&this.groups.length){const e=[];for(const t of this.groups)for(const s of t.rows||[])e.push(s);return e}return this.items},orderedKeys(){return this.allRows.filter(e=>!e.selects).map(e=>e.key)},elementRows(){return this.allRows.filter(e=>e&&e.element)},mountedElementRows(){return this.elementRows.filter(e=>this.activatedKeys[e.key])}},watch:{active:{immediate:!0,handler(e){this.activateElement(e)}}},mounted(){try{window.matchMedia&&(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this.reconcileForWidth(),this._onMedia=e=>{this.narrow=e.matches,this.reconcileForWidth()},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))}catch{}this.$nextTick(()=>this.activateElement(this.active))},beforeUnmount(){try{this._mql&&this._onMedia&&(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia))}catch{}this._mql=null,this._onMedia=null},methods:{registerTab(e,t){t&&(this._tabEls[e]=t)},isNarrow(){return this.narrow},reconcileForWidth(){this.narrow?(this.navOpen=!1,this.railCollapsed=!1):this.navOpen=!0},toggleRail(){this.narrow?this.navOpen=!this.navOpen:this.railCollapsed=!this.railCollapsed},setHostSlot(e,t){t&&(this._hostSlots[e]=t,this.$nextTick(()=>this.mountHostElement(e)))},activateElement(e){!e||!this.elementRows.find(s=>s.key===e)||(this.activatedKeys[e]||(this.activatedKeys={...this.activatedKeys,[e]:!0},this.hostState={...this.hostState,[e]:"loading"}),this.$nextTick(()=>this.mountHostElement(e)))},mountHostElement(e){if(this._hostMounted[e])return;const t=this.elementRows.find(n=>n.key===e),s=this._hostSlots[e];!t||!s||(this._hostMounted[e]=!0,this.hostState={...this.hostState,[e]:"loading"},ta(t.src).then(()=>sa(t.element)).then(()=>{s.innerHTML="";const n=document.createElement(t.element),i=t.attrs||{};for(const o in i){const l=i[o],r=l!=null&&typeof l=="object"?JSON.stringify(l):String(l);try{n[o]=l}catch{}try{n.setAttribute(o,r)}catch{}}n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",s.appendChild(n),this.hostState={...this.hostState,[e]:"ready"}}).catch(n=>{this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"error"},this.hostError={...this.hostError,[e]:n&&n.message||String(n)}}))},iconSvg(e){return e?Qr(e):""},initial(e){const t=(e||"").trim();return t?t.charAt(0).toUpperCase():"•"},isFolderClosed(e){const t=this.folderOverride[e.key];return t!=null?!t:e.open!==!0},toggleFolder(e){const t=this.folderOverride[e],s=(this.groups||[]).find(i=>i.key===e),n=t??(s&&s.open===!0);this.folderOverride={...this.folderOverride,[e]:!n}},target(e){return e.selects||e.key},isBranchOpen(e){return!!this.branchOpen[e]},toggleBranch(e){this.branchOpen={...this.branchOpen,[e]:!this.branchOpen[e]}},rowShown(e){return!e.ancestors||e.ancestors.every(t=>this.branchOpen[t])},pick(e,t){t&&t.branch&&!this.branchOpen[t.branch]&&this.toggleBranch(t.branch),this.$emit("update:active",e),this.narrow&&(this.navOpen=!1)},onKey(e){const t=this.orderedKeys;if(!t.length)return;const s=t.indexOf(this.active);let n=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")n=(s+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")n=(s-1+t.length)%t.length;else if(e.key==="Home")n=0;else if(e.key==="End")n=t.length-1;else return;e.preventDefault();const i=t[n];this.pick(i),this.$nextTick(()=>{const o=this._tabEls[i];o&&o.focus&&o.focus()})}}}),oa={key:0,class:"vtl-top"},la=["aria-expanded"],ra={class:"vtl-brand"},aa={class:"vtl-title"},ca={class:"vtl-meta"},da=["aria-expanded"],fa={class:"vtl-body"},ua=["aria-label","aria-hidden"],pa=["aria-expanded","aria-label"],ha=["innerHTML"],ga=["aria-expanded","onClick"],va={key:0,class:"vtl-cap"},ba={class:"vtl-tl"},ma={key:1,class:"vtl-td"},xa=["innerHTML"],ya={key:1,class:"vtl-tier"},_a={key:0,class:"vtl-cap"},wa={class:"vtl-tl"},Sa={key:1,class:"vtl-td"},Ea={class:"vtl-rows"},Ta=["aria-expanded","aria-label","onClick"],ka=["innerHTML"],Ca=["data-depth","aria-selected","tabindex","onClick"],Oa=["innerHTML"],Aa={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Ma={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Ra={class:"vtl-tab-text"},Pa={class:"vtl-tab-label"},La={key:0,class:"vtl-tab-badge"},Na={key:0,class:"vtl-tab-sub"},Ia=["innerHTML"],Ha=["aria-selected","tabindex","onClick"],Da=["innerHTML"],Fa={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},$a={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},ja={class:"vtl-tab-text"},Ua={class:"vtl-tab-label"},Ba={key:0,class:"vtl-tab-sub"},Va={class:"vtl-main"},za={class:"vtl-content"},Wa=["hidden"],Ka={key:0,class:"vtl-host-hint"},Ga={key:1,class:"vtl-host-hint err"};function qa(e,t,s,n,i,o){return M(),N("div",{class:De(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}])},[e.header?(M(),N("header",oa,[k("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=l=>e.navOpen=!e.navOpen),"aria-label":"Toggle list"},"☰",8,la),k("span",ra,[fs(e.$slots,"brand")]),k("b",aa,H(e.title),1),k("span",ca,[fs(e.$slots,"meta")])])):Q("",!0),e.narrow&&!e.header&&!e.navOpen?(M(),N("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=l=>e.navOpen=!0),"aria-label":"Open the list of views"},"☰",8,da)):Q("",!0),k("div",fa,[k("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:"tablist","aria-orientation":"vertical"},[k("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?"Expand list":"Collapse list",onClick:t[2]||(t[2]=(...l)=>e.toggleRail&&e.toggleRail(...l))},[k("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,ha),t[5]||(t[5]=k("span",{class:"vtl-collapse-tx"},"Collapse",-1))],8,pa),e.groups&&e.groups.length?(M(!0),N(te,{key:0},ft(e.groups,l=>(M(),N("div",{class:"vtl-grp",key:l.key},[l.folder?(M(),N("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(l)),onClick:r=>e.toggleFolder(l.key)},[l.badge?(M(),N("span",va,H(l.badge),1)):Q("",!0),k("span",ba,H(l.label),1),l.count!=null?(M(),N("span",ma,H(l.count),1)):Q("",!0),k("span",{class:De(["vtl-chev",{open:!e.isFolderClosed(l)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,xa)],8,ga)):(M(),N("div",ya,[l.badge?(M(),N("span",_a,H(l.badge),1)):Q("",!0),k("span",wa,H(l.label),1),l.count!=null?(M(),N("span",Sa,H(l.count),1)):Q("",!0)])),rs(k("div",Ea,[(M(!0),N(te,null,ft(l.rows,r=>rs((M(),N("div",{class:"vtl-rowwrap",role:"presentation",key:r.key},[r.branch?(M(),N("button",{key:0,type:"button",class:"vtl-twisty","aria-expanded":String(e.isBranchOpen(r.branch)),"aria-label":(e.isBranchOpen(r.branch)?"Hide":"Show")+" what "+r.label+" is made of",onClick:a=>e.toggleBranch(r.branch)},[k("span",{class:De(["vtl-chev",{open:e.isBranchOpen(r.branch)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,ka)],8,Ta)):Q("",!0),k("button",{type:"button",role:"tab",class:De(["vtl-tab",{active:e.target(r)===e.active,alias:!!r.selects,"has-branch":!!r.branch}]),"data-depth":r.depth||null,style:Yt(r.depth?{"--vtl-depth":r.depth}:null),"aria-selected":String(e.target(r)===e.active),tabindex:!r.selects&&r.key===e.active?0:-1,ref_for:!0,ref:a=>{r.selects||e.registerTab(r.key,a)},onClick:a=>e.pick(e.target(r),r),onKeydown:t[3]||(t[3]=a=>e.onKey(a))},[r.icon?(M(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(r.icon)},null,8,Oa)):r.emoji?(M(),N("span",Aa,H(r.emoji),1)):(M(),N("span",Ma,H(e.initial(r.label)),1)),k("span",Ra,[k("span",Pa,[ht(H(r.label),1),r.badge?(M(),N("span",La,H(r.badge),1)):Q("",!0)]),r.sub?(M(),N("span",Na,[k("span",{innerHTML:r.sub},null,8,Ia)])):Q("",!0)])],46,Ca)])),[[_s,e.rowShown(r)]])),128))],512),[[_s,!l.folder||!e.isFolderClosed(l)]])]))),128)):(M(!0),N(te,{key:1},ft(e.items,l=>(M(),N("button",{key:l.key,type:"button",role:"tab",class:De(["vtl-tab",{active:l.key===e.active}]),"aria-selected":String(l.key===e.active),tabindex:l.key===e.active?0:-1,ref_for:!0,ref:r=>e.registerTab(l.key,r),onClick:r=>e.pick(l.key),onKeydown:t[4]||(t[4]=r=>e.onKey(r))},[l.icon?(M(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Da)):l.emoji?(M(),N("span",Fa,H(l.emoji),1)):(M(),N("span",$a,H(e.initial(l.label)),1)),k("span",ja,[k("span",Ua,H(l.label),1),l.sub?(M(),N("span",Ba,H(l.sub),1)):Q("",!0)])],42,Ha))),128))],8,ua),k("main",Va,[e.header?fs(e.$slots,"toolbar",{},void 0,void 0,0):Q("",!0),k("div",za,[(M(!0),N(te,null,ft(e.mountedElementRows,l=>rs((M(),N("section",{key:l.key,class:"vtl-host",hidden:l.key!==e.active},[k("div",{class:"vtl-host-slot",ref_for:!0,ref:r=>e.setHostSlot(l.key,r)},null,512),e.hostState[l.key]==="loading"?(M(),N("div",Ka,"Loading "+H(l.label)+"…",1)):e.hostState[l.key]==="error"?(M(),N("div",Ga,[ht(" Could not load "+H(l.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,H(e.hostError[l.key]),1)])):Q("",!0)],8,Wa)),[[_s,l.key===e.active]])),128)),fs(e.$slots,"default")])])])],2)}const Ya=ho(ia,[["render",qa],["styles",[ea]]]),vn=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦",dir:"rtl"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪",hideFromSwitcher:!0},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳",hideFromSwitcher:!0}],Ja=vn.filter(e=>!e.hideFromSwitcher);function Xa(e){return vn.find(t=>t.code===e)}function go(e){const t=String(e||"").split("-")[0].toLowerCase();return vn.some(s=>s.code===t)?t:"en"}const vo="doxa-maps:locale";function Za(){try{const e=localStorage.getItem(vo);if(e)return go(e)}catch{}return go(navigator==null?void 0:navigator.language)}function Qa(e){try{localStorage.setItem(vo,e)}catch{}}const ec=".ps-logo{display:inline-flex;align-items:center}.ps-logo svg{display:block}.ps-count{color:#6d766e}.ps-locale{position:relative;display:inline-flex}.ps-locale-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;padding:4px 9px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-locale-btn:hover{background:#d1d4cd}.ps-flag{font-size:13px;line-height:1}.ps-locale-name{max-width:11ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-dots{color:#6d766e}.ps-locale-menu{position:absolute;top:100%;right:0;margin-top:4px;z-index:30;min-width:180px;list-style:none;padding:6px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000080;max-height:320px;overflow:auto}.ps-locale-opt{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:13px;padding:7px 9px;border:0;border-radius:7px;background:none;color:#3b463d;cursor:pointer}.ps-locale-opt:hover,.ps-locale-opt.active{background:#d1d4cd;color:#3b463d}.ps-locale-opt.active .ps-locale-name{color:#92b195}.ps-locale-en{margin-left:auto;font-size:11px;color:#6d766e}.ps-toolbar{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.ps-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-bar-t{flex:1 1 auto;min-width:0}.ps-bar-t b{font-size:15px;color:#3b463d}.ps-bar-sub{display:block;font-size:12px;color:#6d766e}.ps-btn{font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer;white-space:nowrap}.ps-btn:hover{background:#d1d4cd}.ps-embed{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1}.ps-embed label{font-size:12px;color:#6d766e;display:flex;justify-content:space-between;align-items:center}.ps-embed textarea{width:100%;height:58px;font:11px/1.35 ui-monospace,Menlo,monospace;border:1px solid #d1d4cd;border-radius:6px;background:#fff;color:#3b463d;padding:6px;resize:vertical}.ps-stage{position:absolute;top:10px;right:12px;bottom:12px;left:12px;border:1px solid #d1d4cd;border-radius:10px;overflow:hidden;background:#f3f3f1}.ps-pane{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h: 0}.ps-slot{position:relative;min-height:100%}.ps-slot>*{min-height:0;max-height:none}.ps-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:#6d766e;font-size:13px;padding:20px}.ps-hint.err{color:#f87171}.ps-hint small{color:#6d766e}",tc=` .ps-logo { display:inline-flex; align-items:center; } .ps-logo svg { display:block; } .ps-count { color:#6d766e; } @@ -316,4 +323,4 @@ .ps-hint { position:absolute; inset:0; display:grid; place-items:center; text-align:center; color:#6d766e; font-size:13px; padding:20px; } .ps-hint.err { color:#f87171; } .ps-hint small { color:#6d766e; } -`,ec={5:"App shell · nested-mfe-spa",4:"Composite element",3:"Multi-view element",2:"Preset element",1:"Single element"},bo={"nested-mfe-spa":0,"nested-elements-mfe":1,monolithic:2,parameterized:3,single:4},tc=e=>bo[e]!=null?5-bo[e]:1,sc={5:"monitor",4:"tree",3:"layers",2:"grid",1:"embed"},mo=new Set(["doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-map","doxa-maps-spa","dashboard-plus-grid","research-dashboard-map","demo-map","all-people-groups","country-posters-map","key-cities-map","research-map-plus-grid"]),xo=new Set(["big-picture"]),Dt={};function nc(e,t){return Dt[e]||(Dt[e]=new Promise((s,n)=>{const i=document.createElement("script");i.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(i.type="module"),i.onload=()=>s(),i.onerror=()=>{delete Dt[e],n(new Error("failed to load "+e))},document.head.appendChild(i)})),Dt[e]}function ic(e,t){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():Promise.race([customElements.whenDefined(e),new Promise((s,n)=>setTimeout(()=>{customElements.get(e)||n(new Error("<"+e+"> never registered (bundle loaded but defined no element)"))},15e3))])}const oc=Xs({name:"PluginStudio",components:{VerticalTabsLayout:Ga},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},provider:{type:String,default:""},heading:{type:String,default:"Plugin Studio"},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return uo(Qa,"plugin-studio"),{injectedBase:Tt("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:Ja(),localeOpen:!1,switcherLangs:qa,rows:[],manifestBundles:[]}},computed:{cfg(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}return e&&typeof e=="object"?e:{}},base(){const e=(this.treeBase||this.cfg.treeBase||this.injectedBase||"").trim();return e?e.replace(/\/+$/,"")+"/":""},flatRows(){return this.rows},groups(){const e={};for(const t of this.rows)(e[t.cap]=e[t.cap]||[]).push(t);return[5,4,3,2,1].filter(t=>e[t]&&e[t].length).map(t=>({cap:t,label:ec[t]||"capability "+t,rows:e[t]}))},navGroups(){const e=n=>String(n).replace(/&/g,"&").replace(//g,">"),t=new Map(this.compositionTrees.map(n=>[n.nodes[0].selects,n])),s=n=>{const i=[{key:n.key,label:n.label,icon:n.icon,sub:"<"+e(n.tag)+">"}],o=t.get(n.key);return o&&o.nodes.slice(1).forEach((l,r)=>i.push({key:"tree-"+n.key+"-"+r,selects:l.selects||"none:"+n.key,depth:l.depth,label:l.label,badge:l.part?"part":"",sub:l.part?"no standalone page":"CAP "+l.cap+" · <"+e(l.tag)+">"})),i};return this.groups.map(n=>({key:"cap-"+n.cap,badge:"CAP "+n.cap,label:n.label,count:n.rows.length,folder:!0,open:!0,rows:n.rows.flatMap(s)}))},compositionTrees(){const e=[],t=(s,n,i,o)=>{const l=this.manifestBundles.find(p=>p.bundle===s.bundle),r=s.cap>=4&&l&&l.composes||[],a=[],u=[],f=new Set;for(const p of r){const w=this.resolveRef(p,s.bundle);if(!w){u.push(p);continue}w.key===s.key||f.has(w.key)||(f.add(w.key),a.push(w))}a.sort((p,w)=>w.cap-p.cap||p.label.localeCompare(w.label));for(const p of a)o.push({label:p.label,tag:p.tag,cap:p.cap,selects:p.key,depth:n+1}),i.has(p.key)||t(p,n+1,new Set([...i,p.key]),o);for(const p of u)o.push({label:p,part:!0,selects:s.key,depth:n+1})};for(const s of this.manifestBundles){if(!s.composes||!s.composes.length||xo.has(s.bundle))continue;const n=this.rows.find(o=>o.bundle===s.bundle);if(!n)continue;const i=[{label:n.label,tag:n.tag,cap:n.cap,selects:n.key,depth:0}];t(n,0,new Set([n.key]),i),i.length>1&&e.push({bundle:s.bundle,nodes:i})}return e},active(){return this.rows.find(e=>e.key===this.activeKey)||null},countLabel(){return new Set(this.rows.map(t=>t.bundle)).size+" bundles · "+this.rows.length+" elements listed here"},activeLang(){return Ya(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}}},mounted(){this.loadManifest()},methods:{resolveRef(e,t){return t&&this.rows.find(s=>s.key===t+"/"+e)||this.rows.find(s=>s.key===e)||this.rows.find(s=>s.tag===e)||this.rows.find(s=>s.bundle===e)||null},setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},setLocale(e){this.locale=e,this.localeOpen=!1,Xa(e);try{const t=this.active,s=this._slots&&this._slots[this.activeKey],n=s&&s.firstElementChild;if(n&&n.setAttribute&&t){const i={profile:t.label,instanceId:"ps-"+this.activeKey.replace(/\//g,"-"),locale:e};(this.tk||this.cfg.tk)&&(i.tk=this.tk||this.cfg.tk),n.setAttribute("profile-config",JSON.stringify(i))}}catch{}},resolve(e){const t=String(e);if(/^(https?:)?\/\//.test(t)||t.startsWith("/"))return t;const s=t.replace(/^\.\//,"");return this.base?this.base.replace(/\/+$/,"")+"/"+s:"../"+s},loadManifest(){const e=s=>{this.manifestBundles=s&&s.bundles||[],this.rows=this.rowsFromManifest(s),this.route()},t=typeof window<"u"&&window.__psBaked||null;if(typeof fetch=="function"&&typeof location<"u"&&location.protocol!=="file:"){const s=this.base?this.resolve("manifest.json"):"../manifest.json";fetch(s,{cache:"no-cache"}).then(n=>n.ok?n.json():null).then(n=>e(n||t||{bundles:[]})).catch(()=>e(t||{bundles:[]}))}else e(t||{bundles:[]})},rowsFromManifest(e){const t=[];for(const s of e.bundles||[])if(!(s.bundle==="plugin-studio"||xo.has(s.bundle)))for(const n of s.profiles||[]){const i=n.element||s.elements&&s.elements[0]||s.bundle,o=tc(n.type||"single"),l=mo.has(i)||mo.has(s.bundle);t.push({key:s.bundle+"/"+n.profile,bundle:s.bundle,label:n.profile,tag:i,cap:o,icon:sc[o]||"embed",description:n.description||"",heavy:l,bundleJs:s.scriptUrl||s.bundle+"/"+s.bundle+".js",embed:n.embed&&n.embed.script||"",mounted:!1,state:"idle",error:""})}return t.sort((s,n)=>n.cap-s.cap||s.bundle.localeCompare(n.bundle)||s.label.localeCompare(n.label)),t},route(){const e=(typeof location<"u"&&location.hash||"").replace(/^#\/?/,"");if(e&&this.rows.some(s=>s.key===e)){this.select(e);return}const t=this.readLastTab();if(t&&this.rows.some(s=>s.key===t)){this.select(t);return}this.rows.length&&this.select(this.rows[0].key)},storageKey(){return"dx-studio-tab:"+(typeof location<"u"&&location.pathname||"")},readLastTab(){try{return window.localStorage.getItem(this.storageKey())||""}catch{return""}},writeLastTab(e){try{window.localStorage.setItem(this.storageKey(),e)}catch{}},select(e){if(!this.rows.some(n=>n.key===e))return;const t=this.activeKey;if(this.activeKey=e,this.embedOpen=!1,t&&t!==e){const n=this.rows.find(i=>i.key===t);n&&n.heavy&&n.mounted&&this.releaseRow(n)}const s=this.rows.find(n=>n.key===e);s&&(this.writeLastTab(e),s.mounted||this.$nextTick(()=>{this.activeKey===s.key&&this.mountElement(s)}))},releaseRow(e){try{const t=this._slots&&this._slots[e.key];t&&(t.innerHTML="")}catch{}this._slots&&delete this._slots[e.key],e.mounted=!1,e.state="idle",e.error=""},mountElement(e){e.mounted=!0,e.state="loading";const t=this.resolve(e.bundleJs);nc(t).then(()=>ic(e.tag)).then(()=>{try{if(e.heavy&&this.activeKey!==e.key){e.mounted=!1,e.state="idle";return}const s=this._slots&&this._slots[e.key];if(!s){e.state="error",e.error="no slot";return}s.innerHTML="";const n=document.createElement(e.tag),i={profile:e.label,instanceId:"ps-"+e.key.replace(/\//g,"-"),locale:this.locale};(this.tk||this.cfg.tk)&&(i.tk=this.tk||this.cfg.tk),(this.tokenUrl||this.cfg.tokenUrl)&&(i.tokenUrl=this.tokenUrl||this.cfg.tokenUrl);const o=this.provider||this.cfg.provider;(o==="maplibre"||o==="mapbox")&&(i.provider=o),this.base&&(i.treeBase=this.base),n.setAttribute("profile-config",JSON.stringify(i)),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",s.appendChild(n),e.state="ready"}catch(s){e.state="error",e.error="mount failed: "+(s&&s.message||String(s))}}).catch(s=>{e.state="error",e.error=s&&s.message||String(s)})},copyText(e,t){const s=()=>{const n=t.textContent;t.textContent="Copied",setTimeout(()=>{t.textContent=n},1200)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(s,()=>{});else try{const n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),s()}catch{}}}}),lc={class:"ps-count"},rc={class:"ps-locale"},ac=["aria-expanded"],cc={class:"ps-flag"},dc={class:"ps-locale-name"},fc={key:0,class:"ps-locale-menu",role:"listbox"},uc=["aria-selected"],pc=["onClick"],hc={class:"ps-flag"},gc={class:"ps-locale-name"},vc={class:"ps-locale-en"},bc={key:0,class:"ps-toolbar"},mc={class:"ps-bar"},xc={class:"ps-bar-t"},yc={class:"ps-bar-sub"},_c={key:0},wc=["aria-expanded"],Sc={key:0,class:"ps-embed"},Ec=["value"],Tc={class:"ps-stage"},kc=["hidden"],Cc={key:0,class:"ps-hint"},Oc={key:1,class:"ps-hint err"},Ac={key:0,class:"ps-hint"};function Mc(e,t,s,n,i,o){const l=Nl("VerticalTabsLayout");return P(),hs(l,{title:e.heading,"nav-label":"Plugin elements · by capability 5 → 1",header:!0,groups:e.navGroups,active:e.activeKey,"onUpdate:active":e.select},{brand:Et(()=>[...t[3]||(t[3]=[k("span",{class:"ps-logo","aria-hidden":"true"},[k("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[k("path",{d:"M10 3v3M14 3v3M7 6h10v5a5 5 0 0 1-10 0V6Z"}),k("path",{d:"M12 16v5"})])],-1)])]),meta:Et(()=>[k("span",lc,H(e.countLabel),1),k("span",rc,[k("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":"Change language",onClick:t[0]||(t[0]=r=>e.localeOpen=!e.localeOpen)},[k("span",cc,H(e.activeLang.flag),1),k("span",dc,H(e.activeLang.nativeName),1),t[4]||(t[4]=k("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,ac),e.localeOpen?(P(),N("ul",fc,[(P(!0),N(ee,null,ft(e.switcherLangs,r=>(P(),N("li",{key:r.code,role:"option","aria-selected":String(r.code===e.locale)},[k("button",{type:"button",class:ze(["ps-locale-opt",{active:r.code===e.locale}]),onClick:a=>e.setLocale(r.code)},[k("span",hc,H(r.flag),1),k("span",gc,H(r.nativeName),1),k("span",vc,H(r.name),1)],10,pc)],8,uc))),128))])):te("",!0)])]),toolbar:Et(()=>[e.active?(P(),N("div",bc,[k("div",mc,[k("div",xc,[k("b",null,H(e.active.label),1),k("span",yc,[ht(H(e.active.bundle)+" · <"+H(e.active.tag)+">",1),e.active.description?(P(),N("span",_c," · "+H(e.active.description),1)):te("",!0)])]),e.active.embed?(P(),N("button",{key:0,type:"button",class:"ps-btn","aria-expanded":String(e.embedOpen),onClick:t[1]||(t[1]=r=>e.embedOpen=!e.embedOpen)},"Copy embed",8,wc)):te("",!0)]),e.embedOpen&&e.active.embed?(P(),N("div",Sc,[k("label",null,[t[5]||(t[5]=ht("script embed ",-1)),k("button",{type:"button",class:"ps-btn",onClick:t[2]||(t[2]=r=>e.copyText(e.active.embed,r.target))},"Copy")]),k("textarea",{readonly:"",value:e.active.embed},null,8,Ec)])):te("",!0)])):te("",!0)]),default:Et(()=>[k("div",Tc,[(P(!0),N(ee,null,ft(e.flatRows,r=>Gs((P(),N("section",{key:r.key,class:"ps-pane",hidden:r.key!==e.activeKey},[!r.heavy||r.key===e.activeKey?(P(),N(ee,{key:0},[k("div",{class:"ps-slot",ref_for:!0,ref:a=>e.setSlot(r.key,a)},null,512),r.state==="loading"?(P(),N("div",Cc,"Loading "+H(r.label)+"…",1)):r.state==="error"?(P(),N("div",Oc,[ht(" Could not load "+H(r.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,H(r.error),1)])):te("",!0)],64)):te("",!0)],8,kc)),[[un,r.key===e.activeKey]])),128)),e.activeKey?te("",!0):(P(),N("div",Ac,"Choose an element from the list."))])]),_:1},8,["title","groups","active","onUpdate:active"])}const Rc=ho(oc,[["render",Mc],["styles",[Za]]]);function Pc(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const Lc=Pc(),Nc=zr(Rc,{configureApp(e){e.provide("psTreeBase",Lc)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Nc)})(); +`,sc={5:"App shell · nested-mfe-spa",4:"Composite element",3:"Multi-view element",2:"Preset element",1:"Single element"},bo={"nested-mfe-spa":0,"nested-elements-mfe":1,monolithic:2,parameterized:3,single:4},nc=e=>bo[e]!=null?5-bo[e]:1,ic={5:"monitor",4:"tree",3:"layers",2:"grid",1:"embed"},mo=new Set(["doxa-research-map","doxa-simple-map","cities-internet-map","gospel-resources-map","my-upg-100-list-map","doxa-map","doxa-maps-spa","dashboard-plus-grid","research-dashboard-map","demo-map","all-people-groups","country-posters-map","key-cities-map","research-map-plus-grid"]),xo=new Set(["big-picture"]),oc={"doxa-maps-spa/doxa-maps-spa":"Research Gallery"},Dt={};function lc(e,t){return Dt[e]||(Dt[e]=new Promise((s,n)=>{const i=document.createElement("script");i.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(i.type="module"),i.onload=()=>s(),i.onerror=()=>{delete Dt[e],n(new Error("failed to load "+e))},document.head.appendChild(i)})),Dt[e]}function rc(e,t){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():Promise.race([customElements.whenDefined(e),new Promise((s,n)=>setTimeout(()=>{customElements.get(e)||n(new Error("<"+e+"> never registered (bundle loaded but defined no element)"))},15e3))])}const ac=Zs({name:"PluginStudio",components:{VerticalTabsLayout:Ya},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},provider:{type:String,default:""},heading:{type:String,default:"Plugin Studio"},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return uo(tc,"plugin-studio"),{injectedBase:Tt("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:Za(),localeOpen:!1,switcherLangs:Ja,rows:[],manifestBundles:[]}},computed:{cfg(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}return e&&typeof e=="object"?e:{}},base(){const e=(this.treeBase||this.cfg.treeBase||this.injectedBase||"").trim();return e?e.replace(/\/+$/,"")+"/":""},flatRows(){return this.rows},groups(){const e={};for(const t of this.rows)(e[t.cap]=e[t.cap]||[]).push(t);return[5,4,3,2,1].filter(t=>e[t]&&e[t].length).map(t=>({cap:t,label:sc[t]||"capability "+t,rows:e[t]}))},navGroups(){const e=i=>String(i).replace(/&/g,"&").replace(//g,">"),t=new Map(this.compositionTrees.map(i=>[i.nodes[0].selects,i])),s=i=>i+(i===1?" part":" parts"),n=i=>{const o=t.get(i.key),l=a=>"b:"+i.key+":"+a,r=[{key:i.key,label:i.label,icon:i.icon,branch:o?l(0):void 0,sub:"<"+e(i.tag)+">"+(o?" · "+s(o.nodes[0].kids):"")}];return o&&o.nodes.slice(1).forEach(a=>r.push({key:"tree-"+i.key+"-"+a.id,selects:a.selects||"none:"+i.key,depth:a.depth,label:a.label,badge:a.part?"part":"",branch:a.kids?l(a.id):void 0,ancestors:a.ancestors.map(l),sub:a.part?"no standalone page":"CAP "+a.cap+" · <"+e(a.tag)+">"+(a.kids?" · "+s(a.kids):"")})),r};return this.groups.map(i=>({key:"cap-"+i.cap,badge:"CAP "+i.cap,label:i.label,count:i.rows.length,folder:!0,open:!0,rows:i.rows.flatMap(n)}))},compositionTrees(){const e=[],t=(s,n,i,o,l)=>{const r=this.manifestBundles.find(y=>y.bundle===s.bundle),a=s.cap>=4&&r&&r.composes||[],u=[],f=[],h=new Set;for(const y of a){const E=this.resolveRef(y,s.bundle);if(!E){f.push(y);continue}E.key===s.key||h.has(E.key)||(h.add(E.key),u.push(E))}u.sort((y,E)=>E.cap-y.cap||y.label.localeCompare(E.label));for(const y of u){const E={id:o.length,label:y.label,tag:y.tag,cap:y.cap,selects:y.key,depth:n+1,ancestors:l,kids:0};o.push(E);const j=o.length;i.has(y.key)||t(y,n+1,new Set([...i,y.key]),o,[...l,E.id]),E.kids=o.filter((L,Z)=>Z>=j&&L.depth===n+2).length}for(const y of f)o.push({id:o.length,label:y,part:!0,selects:s.key,depth:n+1,ancestors:l,kids:0})};for(const s of this.manifestBundles){if(!s.composes||!s.composes.length||xo.has(s.bundle))continue;const n=this.rows.find(o=>o.bundle===s.bundle);if(!n)continue;const i=[{id:0,label:n.label,tag:n.tag,cap:n.cap,selects:n.key,depth:0,ancestors:[]}];t(n,0,new Set([n.key]),i,[0]),i[0].kids=i.filter(o=>o.depth===1).length,i.length>1&&e.push({bundle:s.bundle,nodes:i})}return e},active(){return this.rows.find(e=>e.key===this.activeKey)||null},countLabel(){return new Set(this.rows.map(t=>t.bundle)).size+" bundles · "+this.rows.length+" elements listed here"},activeLang(){return Xa(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}}},mounted(){this.loadManifest()},methods:{resolveRef(e,t){return t&&this.rows.find(s=>s.key===t+"/"+e)||this.rows.find(s=>s.key===e)||this.rows.find(s=>s.tag===e)||this.rows.find(s=>s.bundle===e)||null},setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},setLocale(e){this.locale=e,this.localeOpen=!1,Qa(e);try{const t=this.active,s=this._slots&&this._slots[this.activeKey],n=s&&s.firstElementChild;if(n&&n.setAttribute&&t){const i={profile:t.profile,instanceId:"ps-"+this.activeKey.replace(/\//g,"-"),locale:e};(this.tk||this.cfg.tk)&&(i.tk=this.tk||this.cfg.tk),n.setAttribute("profile-config",JSON.stringify(i))}}catch{}},resolve(e){const t=String(e);if(/^(https?:)?\/\//.test(t)||t.startsWith("/"))return t;const s=t.replace(/^\.\//,"");return this.base?this.base.replace(/\/+$/,"")+"/"+s:"../"+s},loadManifest(){const e=s=>{this.manifestBundles=s&&s.bundles||[],this.rows=this.rowsFromManifest(s),this.route()},t=typeof window<"u"&&window.__psBaked||null;if(typeof fetch=="function"&&typeof location<"u"&&location.protocol!=="file:"){const s=this.base?this.resolve("manifest.json"):"../manifest.json";fetch(s,{cache:"no-cache"}).then(n=>n.ok?n.json():null).then(n=>e(n||t||{bundles:[]})).catch(()=>e(t||{bundles:[]}))}else e(t||{bundles:[]})},rowsFromManifest(e){const t=[];for(const s of e.bundles||[])if(!(s.bundle==="plugin-studio"||xo.has(s.bundle)))for(const n of s.profiles||[]){const i=n.element||s.elements&&s.elements[0]||s.bundle,o=nc(n.type||"single"),l=mo.has(i)||mo.has(s.bundle);t.push({key:s.bundle+"/"+n.profile,bundle:s.bundle,label:oc[s.bundle+"/"+n.profile]||n.profile,profile:n.profile,tag:i,cap:o,icon:ic[o]||"embed",description:n.description||"",heavy:l,bundleJs:s.scriptUrl||s.bundle+"/"+s.bundle+".js",embed:n.embed&&n.embed.script||"",mounted:!1,state:"idle",error:""})}return t.sort((s,n)=>n.cap-s.cap||s.bundle.localeCompare(n.bundle)||s.label.localeCompare(n.label)),t},route(){const e=(typeof location<"u"&&location.hash||"").replace(/^#\/?/,"");if(e&&this.rows.some(s=>s.key===e)){this.select(e);return}const t=this.readLastTab();if(t&&this.rows.some(s=>s.key===t)){this.select(t);return}this.rows.length&&this.select(this.rows[0].key)},storageKey(){return"dx-studio-tab:"+(typeof location<"u"&&location.pathname||"")},readLastTab(){try{return window.localStorage.getItem(this.storageKey())||""}catch{return""}},writeLastTab(e){try{window.localStorage.setItem(this.storageKey(),e)}catch{}},select(e){if(!this.rows.some(n=>n.key===e))return;const t=this.activeKey;if(this.activeKey=e,this.embedOpen=!1,t&&t!==e){const n=this.rows.find(i=>i.key===t);n&&n.heavy&&n.mounted&&this.releaseRow(n)}const s=this.rows.find(n=>n.key===e);s&&(this.writeLastTab(e),s.mounted||this.$nextTick(()=>{this.activeKey===s.key&&this.mountElement(s)}))},releaseRow(e){try{const t=this._slots&&this._slots[e.key];t&&(t.innerHTML="")}catch{}this._slots&&delete this._slots[e.key],e.mounted=!1,e.state="idle",e.error=""},mountElement(e){e.mounted=!0,e.state="loading";const t=this.resolve(e.bundleJs);lc(t).then(()=>rc(e.tag)).then(()=>{try{if(e.heavy&&this.activeKey!==e.key){e.mounted=!1,e.state="idle";return}const s=this._slots&&this._slots[e.key];if(!s){e.state="error",e.error="no slot";return}s.innerHTML="";const n=document.createElement(e.tag),i={profile:e.profile,instanceId:"ps-"+e.key.replace(/\//g,"-"),locale:this.locale};(this.tk||this.cfg.tk)&&(i.tk=this.tk||this.cfg.tk),(this.tokenUrl||this.cfg.tokenUrl)&&(i.tokenUrl=this.tokenUrl||this.cfg.tokenUrl);const o=this.provider||this.cfg.provider;(o==="maplibre"||o==="mapbox")&&(i.provider=o),this.base&&(i.treeBase=this.base),n.setAttribute("profile-config",JSON.stringify(i)),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",s.appendChild(n),e.state="ready"}catch(s){e.state="error",e.error="mount failed: "+(s&&s.message||String(s))}}).catch(s=>{e.state="error",e.error=s&&s.message||String(s)})},copyText(e,t){const s=()=>{const n=t.textContent;t.textContent="Copied",setTimeout(()=>{t.textContent=n},1200)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(s,()=>{});else try{const n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),s()}catch{}}}}),cc={class:"ps-count"},dc={class:"ps-locale"},fc=["aria-expanded"],uc={class:"ps-flag"},pc={class:"ps-locale-name"},hc={key:0,class:"ps-locale-menu",role:"listbox"},gc=["aria-selected"],vc=["onClick"],bc={class:"ps-flag"},mc={class:"ps-locale-name"},xc={class:"ps-locale-en"},yc={key:0,class:"ps-toolbar"},_c={class:"ps-bar"},wc={class:"ps-bar-t"},Sc={class:"ps-bar-sub"},Ec={key:0},Tc=["aria-expanded"],kc={key:0,class:"ps-embed"},Cc=["value"],Oc={class:"ps-stage"},Ac=["hidden"],Mc={key:0,class:"ps-hint"},Rc={key:1,class:"ps-hint err"},Pc={key:0,class:"ps-hint"};function Lc(e,t,s,n,i,o){const l=Nl("VerticalTabsLayout");return M(),gs(l,{title:e.heading,"nav-label":"Plugin elements · by capability 5 → 1",header:!0,groups:e.navGroups,active:e.activeKey,"onUpdate:active":e.select},{brand:Et(()=>[...t[3]||(t[3]=[k("span",{class:"ps-logo","aria-hidden":"true"},[k("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[k("path",{d:"M10 3v3M14 3v3M7 6h10v5a5 5 0 0 1-10 0V6Z"}),k("path",{d:"M12 16v5"})])],-1)])]),meta:Et(()=>[k("span",cc,H(e.countLabel),1),k("span",dc,[k("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":"Change language",onClick:t[0]||(t[0]=r=>e.localeOpen=!e.localeOpen)},[k("span",uc,H(e.activeLang.flag),1),k("span",pc,H(e.activeLang.nativeName),1),t[4]||(t[4]=k("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,fc),e.localeOpen?(M(),N("ul",hc,[(M(!0),N(te,null,ft(e.switcherLangs,r=>(M(),N("li",{key:r.code,role:"option","aria-selected":String(r.code===e.locale)},[k("button",{type:"button",class:De(["ps-locale-opt",{active:r.code===e.locale}]),onClick:a=>e.setLocale(r.code)},[k("span",bc,H(r.flag),1),k("span",mc,H(r.nativeName),1),k("span",xc,H(r.name),1)],10,vc)],8,gc))),128))])):Q("",!0)])]),toolbar:Et(()=>[e.active?(M(),N("div",yc,[k("div",_c,[k("div",wc,[k("b",null,H(e.active.label),1),k("span",Sc,[ht(H(e.active.bundle)+" · <"+H(e.active.tag)+">",1),e.active.description?(M(),N("span",Ec," · "+H(e.active.description),1)):Q("",!0)])]),e.active.embed?(M(),N("button",{key:0,type:"button",class:"ps-btn","aria-expanded":String(e.embedOpen),onClick:t[1]||(t[1]=r=>e.embedOpen=!e.embedOpen)},"Copy embed",8,Tc)):Q("",!0)]),e.embedOpen&&e.active.embed?(M(),N("div",kc,[k("label",null,[t[5]||(t[5]=ht("script embed ",-1)),k("button",{type:"button",class:"ps-btn",onClick:t[2]||(t[2]=r=>e.copyText(e.active.embed,r.target))},"Copy")]),k("textarea",{readonly:"",value:e.active.embed},null,8,Cc)])):Q("",!0)])):Q("",!0)]),default:Et(()=>[k("div",Oc,[(M(!0),N(te,null,ft(e.flatRows,r=>rs((M(),N("section",{key:r.key,class:"ps-pane",hidden:r.key!==e.activeKey},[!r.heavy||r.key===e.activeKey?(M(),N(te,{key:0},[k("div",{class:"ps-slot",ref_for:!0,ref:a=>e.setSlot(r.key,a)},null,512),r.state==="loading"?(M(),N("div",Mc,"Loading "+H(r.label)+"…",1)):r.state==="error"?(M(),N("div",Rc,[ht(" Could not load "+H(r.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,H(r.error),1)])):Q("",!0)],64)):Q("",!0)],8,Ac)),[[_s,r.key===e.activeKey]])),128)),e.activeKey?Q("",!0):(M(),N("div",Pc,"Choose an element from the list."))])]),_:1},8,["title","groups","active","onUpdate:active"])}const Nc=ho(ac,[["render",Lc],["styles",[ec]]]);function Ic(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const Hc=Ic(),Dc=Kr(Nc,{configureApp(e){e.provide("psTreeBase",Hc)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Dc)})(); diff --git a/public/doxa-maps/plugin-studio/plugin-studio/index.html b/public/doxa-maps/plugin-studio/plugin-studio/index.html index 5e439f5e6..da8cdf705 100644 --- a/public/doxa-maps/plugin-studio/plugin-studio/index.html +++ b/public/doxa-maps/plugin-studio/plugin-studio/index.html @@ -26,7 +26,7 @@ - + - +