From e678b1ecab1aa1dcff99afa0b02848c83383a7f4 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Tue, 22 Sep 2026 15:23:00 +0000 Subject: [PATCH] Rebuild the tree so a fresh clone serves working bundles public/ is committed so a developer can run the dev server immediately without a four-minute build first, which means stale build output ships to every clone. This rebuild carries the heading-prop rename in both capability-5 shells and relocates the archived gallery to its own path. --- public/.build.lock | 2 +- public/__gallery/index.html | 363 ++++++++++++++++++ .../doxa-maps/doxa-maps-spa/doxa-maps-spa.js | 18 +- .../doxa-maps-spa/app/index.html | 2 +- .../doxa-maps-spa/doxa-maps-spa/index.html | 2 +- public/doxa-maps/index.html | 2 +- public/doxa-maps/manifest.json | 8 +- .../doxa-maps/plugin-studio/plugin-studio.js | 2 +- .../plugin-studio/plugin-studio/index.html | 2 +- .../plugin-studio/studio/index.html | 2 +- 10 files changed, 383 insertions(+), 20 deletions(-) create mode 100644 public/__gallery/index.html diff --git a/public/.build.lock b/public/.build.lock index 78d7eb4b6..4a5c13f32 100644 --- a/public/.build.lock +++ b/public/.build.lock @@ -1 +1 @@ -pid=202753 started=2026-09-22T14:18:45Z by=lk10x +pid=525656 started=2026-09-22T15:12:44Z by=lk10x diff --git a/public/__gallery/index.html b/public/__gallery/index.html new file mode 100644 index 000000000..a6fd386aa --- /dev/null +++ b/public/__gallery/index.html @@ -0,0 +1,363 @@ + + + + + +doxa-maps + + + + + +
+
+ doxa-maps{{ countLabel }} + +
+
+ +
+
+
{{ ttl }}{{ sub }}
+ Open page + +
+
+ + +
+
+
+
Choose a map from the list.
+
+
+
+ + + diff --git a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa.js b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa.js index 862b64dee..ef612b25a 100644 --- a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa.js +++ b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa.js @@ -2,23 +2,23 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Es(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const B={},nt=[],we=()=>{},bi=()=>!1,Ut=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bt=e=>e.startsWith("onUpdate:"),Y=Object.assign,ks=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Eo=Object.prototype.hasOwnProperty,F=(e,t)=>Eo.call(e,t),A=Array.isArray,Ke=e=>pt(e)==="[object Map]",Wt=e=>pt(e)==="[object Set]",xi=e=>pt(e)==="[object Date]",M=e=>typeof e=="function",G=e=>typeof e=="string",me=e=>typeof e=="symbol",$=e=>e!==null&&typeof e=="object",yi=e=>($(e)||M(e))&&M(e.then)&&M(e.catch),_i=Object.prototype.toString,pt=e=>_i.call(e),ko=e=>pt(e).slice(8,-1),Kt=e=>pt(e)==="[object Object]",Ts=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gt=Es(",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))},To=/-\w/g,se=zt(e=>e.replace(To,t=>t.slice(1).toUpperCase())),Ao=/\B([A-Z])/g,ge=zt(e=>e.replace(Ao,"-$1").toLowerCase()),qt=zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),As=zt(e=>e?`on${qt(e)}`:""),je=(e,t)=>!Object.is(e,t),Os=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:s})},Oo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Si=e=>{const t=G(e)?Number(e):NaN;return isNaN(t)?e:t};let Ci;const Gt=()=>Ci||(Ci=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ms(e){if(A(e)){const t={};for(let s=0;s{if(s){const i=s.split(Ro);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function ze(e){let t="";if(G(e))t=e;else if(A(e))for(let s=0;s!!(e&&e.__v_isRef===!0),K=e=>G(e)?e:e==null?"":A(e)||$(e)&&(e.toString===_i||!M(e.toString))?Ti(e)?K(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>Ti(t)?Ai(e,t.value):Ke(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[i,n],o)=>(s[Rs(i,o)+" =>"]=n,s),{})}:Wt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Rs(s))}:me(t)?Rs(t):$(t)&&!A(t)&&!Kt(t)?String(t):t,Rs=(e,t="")=>{var s;return me(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/function As(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const B={},it=[],we=()=>{},_n=()=>!1,Vt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bt=e=>e.startsWith("onUpdate:"),X=Object.assign,Ts=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Cr=Object.prototype.hasOwnProperty,F=(e,t)=>Cr.call(e,t),k=Array.isArray,Ke=e=>ht(e)==="[object Map]",Wt=e=>ht(e)==="[object Set]",wn=e=>ht(e)==="[object Date]",M=e=>typeof e=="function",G=e=>typeof e=="string",me=e=>typeof e=="symbol",$=e=>e!==null&&typeof e=="object",Sn=e=>($(e)||M(e))&&M(e.then)&&M(e.catch),En=Object.prototype.toString,ht=e=>En.call(e),Ar=e=>ht(e).slice(8,-1),Kt=e=>ht(e)==="[object Object]",ks=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gt=As(",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))},Tr=/-\w/g,se=zt(e=>e.replace(Tr,t=>t.slice(1).toUpperCase())),kr=/\B([A-Z])/g,ge=zt(e=>e.replace(kr,"-$1").toLowerCase()),qt=zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Os=zt(e=>e?`on${qt(e)}`:""),je=(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})},Or=e=>{const t=parseFloat(e);return isNaN(t)?e:t},An=e=>{const t=G(e)?Number(e):NaN;return isNaN(t)?e:t};let Tn;const Gt=()=>Tn||(Tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rs(e){if(k(e)){const t={};for(let s=0;s{if(s){const n=s.split(Rr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){let t="";if(G(e))t=e;else if(k(e))for(let s=0;s!!(e&&e.__v_isRef===!0),K=e=>G(e)?e:e==null?"":k(e)||$(e)&&(e.toString===En||!M(e.toString))?Mn(e)?K(e.value):JSON.stringify(e,Rn,2):String(e),Rn=(e,t)=>Mn(t)?Rn(e,t.value):Ke(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[Ps(n,r)+" =>"]=i,s),{})}:Wt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ps(s))}:me(t)?Ps(t):$(t)&&!k(t)&&!Kt(t)?String(t):t,Ps=(e,t="")=>{var s;return me(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 jo{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 i=this.scopes.slice();for(t=0,s=i.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,i;for(s=0,i=this.effects.length;s0)return;if(vt){let t=vt;for(vt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;mt;){let t=mt;for(mt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=s}}if(e)throw e}function Pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ii(e){let t,s=e.depsTail,i=s;for(;i;){const n=i.prevDep;i.version===-1?(i===s&&(s=n),js(i),Do(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=n}e.deps=t,e.depsTail=s}function Ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Li(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Li(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===bt)||(e.globalVersion=bt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ns(e))))return;e.flags|=2;const t=e.dep,s=z,i=ve;z=e,ve=!0;try{Pi(e);const n=e.fn(e._value);(t.version===0||je(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(n){throw t.version++,n}finally{z=s,ve=i,Ii(e),e.flags&=-3}}function js(e,t=!1){const{dep:s,prevSub:i,nextSub:n}=e;if(i&&(i.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=i,e.nextSub=void 0),s.subs===e&&(s.subs=i,!i&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)js(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Do(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ve=!0;const Ni=[];function Se(){Ni.push(ve),ve=!1}function Ce(){const e=Ni.pop();ve=e===void 0?!0:e}function ji(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let bt=0;class $o{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 Fi{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||!ve||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new $o(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,Di(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const i=s.nextDep;i.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=i),s.prevDep=z.depsTail,s.nextDep=void 0,z.depsTail.nextDep=s,z.depsTail=s,z.deps===s&&(z.deps=i)}return s}trigger(t){this.version++,bt++,this.notify(t)}notify(t){Is();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ls()}}}function Di(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Di(i)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Fs=new WeakMap,Xe=Symbol(""),Ds=Symbol(""),xt=Symbol("");function re(e,t,s){if(ve&&z){let i=Fs.get(e);i||Fs.set(e,i=new Map);let n=i.get(s);n||(i.set(s,n=new Fi),n.map=i,n.key=s),n.track()}}function Fe(e,t,s,i,n,o){const r=Fs.get(e);if(!r){bt++;return}const l=a=>{a&&a.trigger()};if(Is(),t==="clear")r.forEach(l);else{const a=A(e),u=a&&Ts(s);if(a&&s==="length"){const d=Number(i);r.forEach((p,S)=>{(S==="length"||S===xt||!me(S)&&S>=d)&&l(p)})}else switch((s!==void 0||r.has(void 0))&&l(r.get(s)),u&&l(r.get(xt)),t){case"add":a?u&&l(r.get("length")):(l(r.get(Xe)),Ke(e)&&l(r.get(Ds)));break;case"delete":a||(l(r.get(Xe)),Ke(e)&&l(r.get(Ds)));break;case"set":Ke(e)&&l(r.get(Xe));break}}Ls()}function ot(e){const t=D(e);return t===e?t:(re(t,"iterate",xt),be(e)?t:t.map($e))}function Xt(e){return re(e=D(e),"iterate",xt),e}function Ee(e,t){return qe(e)?rt(Ye(e)?$e(t):t):$e(t)}const Ho={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,e=>Ee(this,e))},concat(...e){return ot(this).concat(...e.map(t=>A(t)?ot(t):t))},entries(){return $s(this,"entries",e=>(e[1]=Ee(this,e[1]),e))},every(e,t){return De(this,"every",e,t,void 0,arguments)},filter(e,t){return De(this,"filter",e,t,s=>s.map(i=>Ee(this,i)),arguments)},find(e,t){return De(this,"find",e,t,s=>Ee(this,s),arguments)},findIndex(e,t){return De(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return De(this,"findLast",e,t,s=>Ee(this,s),arguments)},findLastIndex(e,t){return De(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return De(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return ot(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return De(this,"map",e,t,void 0,arguments)},pop(){return yt(this,"pop")},push(...e){return yt(this,"push",e)},reduce(e,...t){return $i(this,"reduce",e,t)},reduceRight(e,...t){return $i(this,"reduceRight",e,t)},shift(){return yt(this,"shift")},some(e,t){return De(this,"some",e,t,void 0,arguments)},splice(...e){return yt(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 yt(this,"unshift",e)},values(){return $s(this,"values",e=>Ee(this,e))}};function $s(e,t,s){const i=Xt(e),n=i[t]();return i!==e&&!be(e)&&(n._next=n.next,n.next=()=>{const o=n._next();return o.done||(o.value=s(o.value)),o}),n}const Vo=Array.prototype;function De(e,t,s,i,n,o){const r=Xt(e),l=r!==e&&!be(e),a=r[t];if(a!==Vo[t]){const p=a.apply(e,o);return l?$e(p):p}let u=s;r!==e&&(l?u=function(p,S){return s.call(this,Ee(e,p),S,e)}:s.length>2&&(u=function(p,S){return s.call(this,p,S,e)}));const d=a.call(r,u,i);return l&&n?n(d):d}function $i(e,t,s,i){const n=Xt(e),o=n!==e&&!be(e);let r=s,l=!1;n!==e&&(o?(l=i.length===0,r=function(u,d,p){return l&&(l=!1,u=Ee(e,u)),s.call(this,u,Ee(e,d),p,e)}):s.length>3&&(r=function(u,d,p){return s.call(this,u,d,p,e)}));const a=n[t](r,...i);return l?Ee(e,a):a}function Hs(e,t,s){const i=D(e);re(i,"iterate",xt);const n=i[t](...s);return(n===-1||n===!1)&&Ws(s[0])?(s[0]=D(s[0]),i[t](...s)):n}function yt(e,t,s=[]){Se(),Is();const i=D(e)[t].apply(e,s);return Ls(),Ce(),i}const Uo=Es("__proto__,__v_isRef,__isVue"),Hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(me));function Bo(e){me(e)||(e=String(e));const t=D(this);return re(t,"has",e),t.hasOwnProperty(e)}class Vi{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,i){if(s==="__v_skip")return t.__v_skip;const n=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!n;if(s==="__v_isReadonly")return n;if(s==="__v_isShallow")return o;if(s==="__v_raw")return i===(n?o?qi:zi:o?Ki:Wi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const r=A(t);if(!n){let a;if(r&&(a=Ho[s]))return a;if(s==="hasOwnProperty")return Bo}const l=Reflect.get(t,s,le(t)?t:i);if((me(s)?Hi.has(s):Uo(s))||(n||re(t,"get",s),o))return l;if(le(l)){const a=r&&Ts(s)?l:l.value;return n&&$(a)?Bs(a):a}return $(l)?n?Bs(l):Us(l):l}}class Ui extends Vi{constructor(t=!1){super(!1,t)}set(t,s,i,n){let o=t[s];const r=A(t)&&Ts(s);if(!this._isShallow){const u=qe(o);if(!be(i)&&!qe(i)&&(o=D(o),i=D(i)),!r&&le(o)&&!le(i))return u||(o.value=i),!0}const l=r?Number(s)e,Yt=e=>Reflect.getPrototypeOf(e);function Go(e,t,s){return function(...i){const n=this.__v_raw,o=D(n),r=Ke(o),l=e==="entries"||e===Symbol.iterator&&r,a=e==="keys"&&r,u=n[e](...i),d=s?Vs:t?rt:$e;return!t&&re(o,"iterate",a?Ds:Xe),Y(Object.create(u),{next(){const{value:p,done:S}=u.next();return S?{value:p,done:S}:{value:l?[d(p[0]),d(p[1])]:d(p),done:S}}})}}function Zt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jo(e,t){const s={get(n){const o=this.__v_raw,r=D(o),l=D(n);e||(je(n,l)&&re(r,"get",n),re(r,"get",l));const{has:a}=Yt(r),u=t?Vs:e?rt:$e;if(a.call(r,n))return u(o.get(n));if(a.call(r,l))return u(o.get(l));o!==r&&o.get(n)},get size(){const n=this.__v_raw;return!e&&re(D(n),"iterate",Xe),n.size},has(n){const o=this.__v_raw,r=D(o),l=D(n);return e||(je(n,l)&&re(r,"has",n),re(r,"has",l)),n===l?o.has(n):o.has(n)||o.has(l)},forEach(n,o){const r=this,l=r.__v_raw,a=D(l),u=t?Vs:e?rt:$e;return!e&&re(a,"iterate",Xe),l.forEach((d,p)=>n.call(o,u(d),u(p),r))}};return Y(s,e?{add:Zt("add"),set:Zt("set"),delete:Zt("delete"),clear:Zt("clear")}:{add(n){const o=D(this),r=Yt(o),l=D(n),a=!t&&!be(n)&&!qe(n)?l:n;return r.has.call(o,a)||je(n,a)&&r.has.call(o,n)||je(l,a)&&r.has.call(o,l)||(o.add(a),Fe(o,"add",a,a)),this},set(n,o){!t&&!be(o)&&!qe(o)&&(o=D(o));const r=D(this),{has:l,get:a}=Yt(r);let u=l.call(r,n);u||(n=D(n),u=l.call(r,n));const d=a.call(r,n);return r.set(n,o),u?je(o,d)&&Fe(r,"set",n,o):Fe(r,"add",n,o),this},delete(n){const o=D(this),{has:r,get:l}=Yt(o);let a=r.call(o,n);a||(n=D(n),a=r.call(o,n)),l&&l.call(o,n);const u=o.delete(n);return a&&Fe(o,"delete",n,void 0),u},clear(){const n=D(this),o=n.size!==0,r=n.clear();return o&&Fe(n,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=Go(n,e,t)}),s}function Qt(e,t){const s=Jo(e,t);return(i,n,o)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(F(s,n)&&n in i?s:i,n,o)}const Xo={get:Qt(!1,!1)},Yo={get:Qt(!1,!0)},Zo={get:Qt(!0,!1)},Qo={get:Qt(!0,!0)},Wi=new WeakMap,Ki=new WeakMap,zi=new WeakMap,qi=new WeakMap;function er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Us(e){return qe(e)?e:es(e,!1,Wo,Xo,Wi)}function tr(e){return es(e,!1,zo,Yo,Ki)}function Bs(e){return es(e,!0,Ko,Zo,zi)}function Ec(e){return es(e,!0,qo,Qo,qi)}function es(e,t,s,i,n){if(!$(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=n.get(e);if(o)return o;const r=er(ko(e));if(r===0)return e;const l=new Proxy(e,r===2?i:s);return n.set(e,l),l}function Ye(e){return qe(e)?Ye(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function be(e){return!!(e&&e.__v_isShallow)}function Ws(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function sr(e){return!F(e,"__v_skip")&&Object.isExtensible(e)&&wi(e,"__v_skip",!0),e}const $e=e=>$(e)?Us(e):e,rt=e=>$(e)?Bs(e):e;function le(e){return e?e.__v_isRef===!0:!1}function Gi(e){return le(e)?e.value:e}const ir={get:(e,t,s)=>t==="__v_raw"?e:Gi(Reflect.get(e,t,s)),set:(e,t,s,i)=>{const n=e[t];return le(n)&&!le(s)?(n.value=s,!0):Reflect.set(e,t,s,i)}};function Ji(e){return Ye(e)?e:new Proxy(e,ir)}class nr{constructor(t,s,i){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Fi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&z!==this)return Ri(this,!0),!0}get value(){const t=this.dep.track();return Li(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function or(e,t,s=!1){let i,n;return M(e)?i=e:(i=e.get,n=e.set),new nr(i,n,s)}const ts={},ss=new WeakMap;let Ze;function rr(e,t=!1,s=Ze){if(s){let i=ss.get(s);i||ss.set(s,i=[]),i.push(e)}}function lr(e,t,s=B){const{immediate:i,deep:n,once:o,scheduler:r,augmentJob:l,call:a}=s,u=T=>n?T:be(T)||n===!1||n===0?He(T,1):He(T);let d,p,S,C,H=!1,R=!1;if(le(e)?(p=()=>e.value,H=be(e)):Ye(e)?(p=()=>u(e),H=!0):A(e)?(R=!0,H=e.some(T=>Ye(T)||be(T)),p=()=>e.map(T=>{if(le(T))return T.value;if(Ye(T))return u(T);if(M(T))return a?a(T,2):T()})):M(e)?t?p=a?()=>a(e,2):e:p=()=>{if(S){Se();try{S()}finally{Ce()}}const T=Ze;Ze=d;try{return a?a(e,3,[C]):e(C)}finally{Ze=T}}:p=we,t&&n){const T=p,te=n===!0?1/0:n;p=()=>He(T(),te)}const Z=Fo(),J=()=>{d.stop(),Z&&Z.active&&ks(Z.effects,d)};if(o&&t){const T=t;t=(...te)=>{const Me=T(...te);return J(),Me}}let j=R?new Array(e.length).fill(ts):ts;const V=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const te=d.run();if(T||n||H||(R?te.some((Me,Re)=>je(Me,j[Re])):je(te,j))){S&&S();const Me=Ze;Ze=d;try{const Re=[te,j===ts?void 0:R&&j[0]===ts?[]:j,C];j=te,a?a(t,3,Re):t(...Re)}finally{Ze=Me}}}else d.run()};return l&&l(V),d=new Oi(p),d.scheduler=r?()=>r(V,!1):V,C=T=>rr(T,!1,d),S=d.onStop=()=>{const T=ss.get(d);if(T){if(a)a(T,4);else for(const te of T)te();ss.delete(d)}},t?i?V(!0):j=d.run():r?r(V.bind(null,!0),!0):d.run(),J.pause=d.pause.bind(d),J.resume=d.resume.bind(d),J.stop=J,J}function He(e,t=1/0,s){if(t<=0||!$(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,le(e))He(e.value,t,s);else if(A(e))for(let i=0;i{He(i,t,s)});else if(Kt(e)){for(const i in e)He(e[i],t,s);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&He(e[i],t,s)}return e}/** +**/let ne;class jr{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&&ne&&(ne.active?(this.parent=ne,this.index=(ne.scopes||(ne.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(ne===this)ne=this.prevScope;else{let t=ne;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(;vt;){let t=vt;for(vt=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 Nn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function jn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Fs(n),Dr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Fn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Fn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===bt)||(e.globalVersion=bt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!js(e))))return;e.flags|=2;const t=e.dep,s=z,n=be;z=e,be=!0;try{Nn(e);const i=e.fn(e._value);(t.version===0||je(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{z=s,be=n,jn(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 r=s.computed.deps;r;r=r.nextDep)Fs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Dr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let be=!0;const Dn=[];function Se(){Dn.push(be),be=!1}function Ee(){const e=Dn.pop();be=e===void 0?!0:e}function $n(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let bt=0;class $r{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 Hn{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||!be||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new $r(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,Un(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++,bt++,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 Un(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)Un(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ds=new WeakMap,Ye=Symbol(""),$s=Symbol(""),yt=Symbol("");function oe(e,t,s){if(be&&z){let n=Ds.get(e);n||Ds.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Hn),i.map=n,i.key=s),i.track()}}function Fe(e,t,s,n,i,r){const o=Ds.get(e);if(!o){bt++;return}const l=a=>{a&&a.trigger()};if(Ls(),t==="clear")o.forEach(l);else{const a=k(e),u=a&&ks(s);if(a&&s==="length"){const d=Number(n);o.forEach((h,S)=>{(S==="length"||S===yt||!me(S)&&S>=d)&&l(h)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),u&&l(o.get(yt)),t){case"add":a?u&&l(o.get("length")):(l(o.get(Ye)),Ke(e)&&l(o.get($s)));break;case"delete":a||(l(o.get(Ye)),Ke(e)&&l(o.get($s)));break;case"set":Ke(e)&&l(o.get(Ye));break}}Ns()}function rt(e){const t=D(e);return t===e?t:(oe(t,"iterate",yt),ye(e)?t:t.map($e))}function Yt(e){return oe(e=D(e),"iterate",yt),e}function Ce(e,t){return qe(e)?ot(Xe(e)?$e(t):t):$e(t)}const Hr={__proto__:null,[Symbol.iterator](){return Hs(this,Symbol.iterator,e=>Ce(this,e))},concat(...e){return rt(this).concat(...e.map(t=>k(t)?rt(t):t))},entries(){return Hs(this,"entries",e=>(e[1]=Ce(this,e[1]),e))},every(e,t){return De(this,"every",e,t,void 0,arguments)},filter(e,t){return De(this,"filter",e,t,s=>s.map(n=>Ce(this,n)),arguments)},find(e,t){return De(this,"find",e,t,s=>Ce(this,s),arguments)},findIndex(e,t){return De(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return De(this,"findLast",e,t,s=>Ce(this,s),arguments)},findLastIndex(e,t){return De(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return De(this,"forEach",e,t,void 0,arguments)},includes(...e){return Us(this,"includes",e)},indexOf(...e){return Us(this,"indexOf",e)},join(e){return rt(this).join(e)},lastIndexOf(...e){return Us(this,"lastIndexOf",e)},map(e,t){return De(this,"map",e,t,void 0,arguments)},pop(){return xt(this,"pop")},push(...e){return xt(this,"push",e)},reduce(e,...t){return Vn(this,"reduce",e,t)},reduceRight(e,...t){return Vn(this,"reduceRight",e,t)},shift(){return xt(this,"shift")},some(e,t){return De(this,"some",e,t,void 0,arguments)},splice(...e){return xt(this,"splice",e)},toReversed(){return rt(this).toReversed()},toSorted(e){return rt(this).toSorted(e)},toSpliced(...e){return rt(this).toSpliced(...e)},unshift(...e){return xt(this,"unshift",e)},values(){return Hs(this,"values",e=>Ce(this,e))}};function Hs(e,t,s){const n=Yt(e),i=n[t]();return n!==e&&!ye(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const Ur=Array.prototype;function De(e,t,s,n,i,r){const o=Yt(e),l=o!==e&&!ye(e),a=o[t];if(a!==Ur[t]){const h=a.apply(e,r);return l?$e(h):h}let u=s;o!==e&&(l?u=function(h,S){return s.call(this,Ce(e,h),S,e)}:s.length>2&&(u=function(h,S){return s.call(this,h,S,e)}));const d=a.call(o,u,n);return l&&i?i(d):d}function Vn(e,t,s,n){const i=Yt(e),r=i!==e&&!ye(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(u,d,h){return l&&(l=!1,u=Ce(e,u)),s.call(this,u,Ce(e,d),h,e)}):s.length>3&&(o=function(u,d,h){return s.call(this,u,d,h,e)}));const a=i[t](o,...n);return l?Ce(e,a):a}function Us(e,t,s){const n=D(e);oe(n,"iterate",yt);const i=n[t](...s);return(i===-1||i===!1)&&Ks(s[0])?(s[0]=D(s[0]),n[t](...s)):i}function xt(e,t,s=[]){Se(),Ls();const n=D(e)[t].apply(e,s);return Ns(),Ee(),n}const Vr=As("__proto__,__v_isRef,__isVue"),Bn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(me));function Br(e){me(e)||(e=String(e));const t=D(this);return oe(t,"has",e),t.hasOwnProperty(e)}class Wn{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,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Yn:Jn:r?Gn:qn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=k(t);if(!i){let a;if(o&&(a=Hr[s]))return a;if(s==="hasOwnProperty")return Br}const l=Reflect.get(t,s,le(t)?t:n);if((me(s)?Bn.has(s):Vr(s))||(i||oe(t,"get",s),r))return l;if(le(l)){const a=o&&ks(s)?l:l.value;return i&&$(a)?Ws(a):a}return $(l)?i?Ws(l):Bs(l):l}}class Kn extends Wn{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=k(t)&&ks(s);if(!this._isShallow){const u=qe(r);if(!ye(n)&&!qe(n)&&(r=D(r),n=D(n)),!o&&le(r)&&!le(n))return u||(r.value=n),!0}const l=o?Number(s)e,Xt=e=>Reflect.getPrototypeOf(e);function Gr(e,t,s){return function(...n){const i=this.__v_raw,r=D(i),o=Ke(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=i[e](...n),d=s?Vs:t?ot:$e;return!t&&oe(r,"iterate",a?$s:Ye),X(Object.create(u),{next(){const{value:h,done:S}=u.next();return S?{value:h,done:S}:{value:l?[d(h[0]),d(h[1])]:d(h),done:S}}})}}function Zt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jr(e,t){const s={get(i){const r=this.__v_raw,o=D(r),l=D(i);e||(je(i,l)&&oe(o,"get",i),oe(o,"get",l));const{has:a}=Xt(o),u=t?Vs:e?ot:$e;if(a.call(o,i))return u(r.get(i));if(a.call(o,l))return u(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&oe(D(i),"iterate",Ye),i.size},has(i){const r=this.__v_raw,o=D(r),l=D(i);return e||(je(i,l)&&oe(o,"has",i),oe(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=D(l),u=t?Vs:e?ot:$e;return!e&&oe(a,"iterate",Ye),l.forEach((d,h)=>i.call(r,u(d),u(h),o))}};return X(s,e?{add:Zt("add"),set:Zt("set"),delete:Zt("delete"),clear:Zt("clear")}:{add(i){const r=D(this),o=Xt(r),l=D(i),a=!t&&!ye(i)&&!qe(i)?l:i;return o.has.call(r,a)||je(i,a)&&o.has.call(r,i)||je(l,a)&&o.has.call(r,l)||(r.add(a),Fe(r,"add",a,a)),this},set(i,r){!t&&!ye(r)&&!qe(r)&&(r=D(r));const o=D(this),{has:l,get:a}=Xt(o);let u=l.call(o,i);u||(i=D(i),u=l.call(o,i));const d=a.call(o,i);return o.set(i,r),u?je(r,d)&&Fe(o,"set",i,r):Fe(o,"add",i,r),this},delete(i){const r=D(this),{has:o,get:l}=Xt(r);let a=o.call(r,i);a||(i=D(i),a=o.call(r,i)),l&&l.call(r,i);const u=r.delete(i);return a&&Fe(r,"delete",i,void 0),u},clear(){const i=D(this),r=i.size!==0,o=i.clear();return r&&Fe(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Gr(i,e,t)}),s}function Qt(e,t){const s=Jr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(F(s,i)&&i in n?s:n,i,r)}const Yr={get:Qt(!1,!1)},Xr={get:Qt(!1,!0)},Zr={get:Qt(!0,!1)},Qr={get:Qt(!0,!0)},qn=new WeakMap,Gn=new WeakMap,Jn=new WeakMap,Yn=new WeakMap;function eo(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 qe(e)?e:es(e,!1,Wr,Yr,qn)}function to(e){return es(e,!1,zr,Xr,Gn)}function Ws(e){return es(e,!0,Kr,Zr,Jn)}function Tc(e){return es(e,!0,qr,Qr,Yn)}function es(e,t,s,n,i){if(!$(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=eo(Ar(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function Xe(e){return qe(e)?Xe(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function ye(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function so(e){return!F(e,"__v_skip")&&Object.isExtensible(e)&&Cn(e,"__v_skip",!0),e}const $e=e=>$(e)?Bs(e):e,ot=e=>$(e)?Ws(e):e;function le(e){return e?e.__v_isRef===!0:!1}function Xn(e){return le(e)?e.value:e}const no={get:(e,t,s)=>t==="__v_raw"?e:Xn(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return le(i)&&!le(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Zn(e){return Xe(e)?e:new Proxy(e,no)}class io{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bt-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 Ln(this,!0),!0}get value(){const t=this.dep.track();return Fn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ro(e,t,s=!1){let n,i;return M(e)?n=e:(n=e.get,i=e.set),new io(n,i,s)}const ts={},ss=new WeakMap;let Ze;function oo(e,t=!1,s=Ze){if(s){let n=ss.get(s);n||ss.set(s,n=[]),n.push(e)}}function lo(e,t,s=B){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=s,u=T=>i?T:ye(T)||i===!1||i===0?He(T,1):He(T);let d,h,S,E,H=!1,R=!1;if(le(e)?(h=()=>e.value,H=ye(e)):Xe(e)?(h=()=>u(e),H=!0):k(e)?(R=!0,H=e.some(T=>Xe(T)||ye(T)),h=()=>e.map(T=>{if(le(T))return T.value;if(Xe(T))return u(T);if(M(T))return a?a(T,2):T()})):M(e)?t?h=a?()=>a(e,2):e:h=()=>{if(S){Se();try{S()}finally{Ee()}}const T=Ze;Ze=d;try{return a?a(e,3,[E]):e(E)}finally{Ze=T}}:h=we,t&&i){const T=h,te=i===!0?1/0:i;h=()=>He(T(),te)}const Z=Fr(),J=()=>{d.stop(),Z&&Z.active&&Ts(Z.effects,d)};if(r&&t){const T=t;t=(...te)=>{const Me=T(...te);return J(),Me}}let j=R?new Array(e.length).fill(ts):ts;const U=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const te=d.run();if(T||i||H||(R?te.some((Me,Re)=>je(Me,j[Re])):je(te,j))){S&&S();const Me=Ze;Ze=d;try{const Re=[te,j===ts?void 0:R&&j[0]===ts?[]:j,E];j=te,a?a(t,3,Re):t(...Re)}finally{Ze=Me}}}else d.run()};return l&&l(U),d=new Pn(h),d.scheduler=o?()=>o(U,!1):U,E=T=>oo(T,!1,d),S=d.onStop=()=>{const T=ss.get(d);if(T){if(a)a(T,4);else for(const te of T)te();ss.delete(d)}},t?n?U(!0):j=d.run():o?o(U.bind(null,!0),!0):d.run(),J.pause=d.pause.bind(d),J.resume=d.resume.bind(d),J.stop=J,J}function He(e,t=1/0,s){if(t<=0||!$(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,le(e))He(e.value,t,s);else if(k(e))for(let n=0;n{He(n,t,s)});else if(Kt(e)){for(const n in e)He(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&He(e[n],t,s)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const _t=[];let Ks=!1;function kc(e,...t){if(Ks)return;Ks=!0,Se();const s=_t.length?_t[_t.length-1].component:null,i=s&&s.appContext.config.warnHandler,n=ar();if(i)lt(i,s,11,[e+t.map(o=>{var r,l;return(l=(r=o.toString)==null?void 0:r.call(o))!=null?l:JSON.stringify(o)}).join(""),s&&s.proxy,n.map(({vnode:o})=>`at <${Xn(s,o.type)}>`).join(` -`),n]);else{const o=[`[Vue warn]: ${e}`,...t];n.length&&o.push(` -`,...cr(n)),console.warn(...o)}Ce(),Ks=!1}function ar(){let e=_t[_t.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 i=e.component&&e.component.parent;e=i&&i.vnode}return t}function cr(e){const t=[];return e.forEach((s,i)=>{t.push(...i===0?[]:[` -`],...fr(s))}),t}function fr({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,n=` at <${Xn(e.component,e.type,i)}`,o=">"+s;return e.props?[n,...dr(e.props),o]:[n+o]}function dr(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(i=>{t.push(...Xi(i,e[i]))}),s.length>3&&t.push(" ..."),t}function Xi(e,t,s){return G(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:le(t)?(t=Xi(e,D(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):M(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=D(t),s?t:[`${e}=`,t])}function lt(e,t,s,i){try{return i?e(...i):e()}catch(n){is(n,t,s)}}function xe(e,t,s,i){if(M(e)){const n=lt(e,t,s,i);return n&&yi(n)&&n.catch(o=>{is(o,t,s)}),n}if(A(e)){const n=[];for(let o=0;o>>1,n=ce[i],o=wt(n);o=wt(s)?ce.push(e):ce.splice(hr(t),0,e),e.flags|=1,Qi()}}function Qi(){ns||(ns=Yi.then(sn))}function pr(e){if(!A(e))Ge&&e.id===-1?Ge.splice(ct+1,0,e):e.flags&1||(at.push(e),e.flags|=1);else for(let t=0;twt(s)-wt(i));if(at.length=0,Ge){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function sn(e){try{for(ke=0;ke{i._d&&Vn(-1);const o=os(t),r=Ue.length;let l;try{l=e(...n)}finally{for(let a=Ue.length;a>r;a--)ai();os(o),i._d&&Vn(1)}return l};return i._n=!0,i._c=!0,i._d=!0,i}function qs(e,t){if(ne===null)return e;const s=vs(ne),i=e.dirs||(e.dirs=[]);for(let n=0;n1)return s&&M(t)?t.call(i&&i.proxy):t}}const mr=Symbol.for("v-scx"),vr=()=>Ct(mr);function Gs(e,t,s){return on(e,t,s)}function on(e,t,s=B){const{immediate:i,deep:n,flush:o,once:r}=s,l=Y({},s),a=t&&i||!t&&o!=="post";let u;if(It){if(o==="sync"){const C=vr();u=C.__watcherHandles||(C.__watcherHandles=[])}else if(!a){const C=()=>{};return C.stop=we,C.resume=we,C.pause=we,C}}const d=ae;l.call=(C,H,R)=>xe(C,d,H,R);let p=!1;o==="post"?l.scheduler=C=>{ue(C,d&&d.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(C,H)=>{H?C():zs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,d&&(C.id=d.uid,C.i=d))};const S=lr(e,t,l);return It&&(u?u.push(S):a&&S()),S}function br(e,t,s){const i=this.proxy,n=G(e)?e.includes(".")?rn(i,e):()=>i[e]:e.bind(i,i);let o;M(t)?o=t:(o=t.handler,s=t);const r=Pt(this),l=on(n,o.bind(i),s);return r(),l}function rn(e,t){const s=t.split(".");return()=>{let i=e;for(let n=0;ne.__isTeleport,Js=Symbol("_leaveCb");function yr(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Te){t=s;break}}return t}function ln(e){if(!Zs(e))return rs(e.type)&&e.children?yr(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&&M(s.default))return s.default()}}function Xs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Xs(rs(s.type)&&ln(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 Ys(e,t){return M(e)?Y({name:e.name},t,{setup:e}):e}function an(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function cn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ls=new WeakMap;function Et(e,t,s,i,n=!1){if(A(e)){e.forEach((R,Z)=>Et(R,t&&(A(t)?t[Z]:t),s,i,n));return}if(ft(i)&&!n){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Et(e,t,s,i.component.subTree);return}const o=i.shapeFlag&4?vs(i.component):i.el,r=n?null:o,{i:l,r:a}=e,u=t&&t.r,d=l.refs===B?l.refs={}:l.refs,p=l.setupState,S=D(p),C=p===B?bi:R=>cn(d,R)?!1:F(S,R),H=(R,Z)=>!(Z&&cn(d,Z));if(u!=null&&u!==a){if(fn(t),G(u))d[u]=null,C(u)&&(p[u]=null);else if(le(u)){const R=t;H(u,R.k)&&(u.value=null),R.k&&(d[R.k]=null)}}if(M(a))lt(a,l,12,[r,d]);else{const R=G(a),Z=le(a);if(R||Z){const J=()=>{if(e.f){const j=R?C(a)?p[a]:d[a]:H()||!e.k?a.value:d[e.k];if(n)A(j)&&ks(j,o);else if(A(j))j.includes(o)||j.push(o);else if(R)d[a]=[o],C(a)&&(p[a]=d[a]);else{const V=[o];H(a,e.k)&&(a.value=V),e.k&&(d[e.k]=V)}}else R?(d[a]=r,C(a)&&(p[a]=r)):Z&&(H(a,e.k)&&(a.value=r),e.k&&(d[e.k]=r))};if(r){const j=()=>{J(),ls.delete(e)};j.id=-1,ls.set(e,j),ue(j,s)}else fn(e),J()}}}function fn(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}Gt().requestIdleCallback,Gt().cancelIdleCallback;const ft=e=>!!e.type.__asyncLoader,Zs=e=>e.type.__isKeepAlive;function _r(e,t){dn(e,"a",t)}function wr(e,t){dn(e,"da",t)}function dn(e,t,s=ae){const i=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(as(t,i,s),s){let n=s.parent;for(;n&&n.parent;)Zs(n.parent.vnode)&&Sr(i,t,s,n),n=n.parent}}function Sr(e,t,s,i){const n=as(t,e,i,!0);hn(()=>{ks(i[t],n)},s)}function as(e,t,s=ae,i=!1){if(s){const n=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Se();const l=Pt(s),a=xe(t,s,e,r);return l(),Ce(),a});return i?n.unshift(o):n.push(o),o}}const Ve=e=>(t,s=ae)=>{(!It||e==="sp")&&as(e,(...i)=>t(...i),s)},Cr=Ve("bm"),un=Ve("m"),Er=Ve("bu"),kr=Ve("u"),Tr=Ve("bum"),hn=Ve("um"),Ar=Ve("sp"),Or=Ve("rtg"),Mr=Ve("rtc");function Rr(e,t=ae){as("ec",e,t)}const Pr="components";function Ir(e,t){return Nr(Pr,e,!0,t)||e}const Lr=Symbol.for("v-ndc");function Nr(e,t,s=!0,i=!1){const n=ne||ae;if(n){const o=n.type;{const l=Jn(o,!1);if(l&&(l===t||l===se(t)||l===qt(se(t))))return o}const r=pn(n[e]||o[e],t)||pn(n.appContext[e],t);return!r&&i?o:r}}function pn(e,t){return e&&(e[t]||e[se(t)]||e[qt(se(t))])}function dt(e,t,s,i){let n;const o=s,r=A(e);if(r||G(e)){const l=r&&Ye(e);let a=!1,u=!1;l&&(a=!be(e),u=qe(e),e=Xt(e)),n=new Array(e.length);for(let d=0,p=e.length;dt(l,a,void 0,o));else{const l=Object.keys(e);n=new Array(l.length);for(let a=0,u=l.length;a{const o=i.fn(...n);return o&&(o.key=i.key),o}:i.fn)}return e}function cs(e,t,s,i,n,o){if(s==null&&(s={}),ne.ce||ne.parent&&ft(ne.parent)&&ne.parent.ce){const u=o!=null&&s.key==null?Y({},s,{key:o}):s,d=Object.keys(u).length>0;return t!=="default"&&(u.name=t),I(),hs(ee,null,[ye("slot",u,i)],d?-2:64)}let r=e[t];r&&r._c&&(r._d=!1);const l=Ue.length;I();let a;try{const u=r&&gn(r(s)),d=s.key||o||u&&u.key;a=hs(ee,{key:(d&&!me(d)?d:`_${t}`)+(!u&&i?"_fb":"")},u||(i?i():[]),u&&e._===1?64:-2)}catch(u){for(let d=Ue.length;d>l;d--)ai();throw u}finally{r&&r._c&&(r._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function gn(e){return e.some(t=>ci(t)?!(t.type===Te||t.type===ee&&!gn(t.children)):!0)?e:null}const Qs=e=>e?zn(e)?vs(e):Qs(e.parent):null,kt=Y(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=>xn(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Zi.bind(e.proxy)),$watch:e=>br.bind(e)}),ei=(e,t)=>e!==B&&!e.__isScriptSetup&&F(e,t),Fr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:i,data:n,props:o,accessCache:r,type:l,appContext:a}=e;if(t[0]!=="$"){const S=r[t];if(S!==void 0)switch(S){case 1:return i[t];case 2:return n[t];case 4:return s[t];case 3:return o[t]}else{if(ei(i,t))return r[t]=1,i[t];if(n!==B&&F(n,t))return r[t]=2,n[t];if(F(o,t))return r[t]=3,o[t];if(s!==B&&F(s,t))return r[t]=4,s[t];ti&&(r[t]=0)}}const u=kt[t];let d,p;if(u)return t==="$attrs"&&re(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(s!==B&&F(s,t))return r[t]=4,s[t];if(p=a.config.globalProperties,F(p,t))return p[t]},set({_:e},t,s){const{data:i,setupState:n,ctx:o}=e;return ei(n,t)?(n[t]=s,!0):i!==B&&F(i,t)?(i[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:i,appContext:n,props:o,type:r}},l){let a;return!!(s[l]||e!==B&&l[0]!=="$"&&F(e,l)||ei(t,l)||F(o,l)||F(i,l)||F(kt,l)||F(n.config.globalProperties,l)||(a=r.__cssModules)&&a[l])},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 mn(e){return A(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let ti=!0;function Dr(e){const t=xn(e),s=e.proxy,i=e.ctx;ti=!1,t.beforeCreate&&vn(t.beforeCreate,e,"bc");const{data:n,computed:o,methods:r,watch:l,provide:a,inject:u,created:d,beforeMount:p,mounted:S,beforeUpdate:C,updated:H,activated:R,deactivated:Z,beforeDestroy:J,beforeUnmount:j,destroyed:V,unmounted:T,render:te,renderTracked:Me,renderTriggered:Re,errorCaptured:Je,serverPrefetch:ys,expose:tt,inheritAttrs:Dt,components:_s,directives:ws,filters:mi}=t;if(u&&$r(u,i,null),r)for(const X in r){const q=r[X];M(q)&&(i[X]=q.bind(s))}if(n){const X=n.call(s,s);$(X)&&(e.data=Us(X))}if(ti=!0,o)for(const X in o){const q=o[X],st=M(q)?q.bind(s,s):M(q.get)?q.get.bind(s,s):we,Ss=!M(q)&&M(q.set)?q.set.bind(s):we,it=wl({get:st,set:Ss});Object.defineProperty(i,X,{enumerable:!0,configurable:!0,get:()=>it.value,set:Pe=>it.value=Pe})}if(l)for(const X in l)bn(l[X],i,s,X);if(a){const X=M(a)?a.call(s):a;Reflect.ownKeys(X).forEach(q=>{gr(q,X[q])})}d&&vn(d,e,"c");function de(X,q){A(q)?q.forEach(st=>X(st.bind(s))):q&&X(q.bind(s))}if(de(Cr,p),de(un,S),de(Er,C),de(kr,H),de(_r,R),de(wr,Z),de(Rr,Je),de(Mr,Me),de(Or,Re),de(Tr,j),de(hn,T),de(Ar,ys),A(tt))if(tt.length){const X=e.exposed||(e.exposed={});tt.forEach(q=>{Object.defineProperty(X,q,{get:()=>s[q],set:st=>s[q]=st,enumerable:!0})})}else e.exposed||(e.exposed={});te&&e.render===we&&(e.render=te),Dt!=null&&(e.inheritAttrs=Dt),_s&&(e.components=_s),ws&&(e.directives=ws),ys&&an(e)}function $r(e,t,s=we){A(e)&&(e=si(e));for(const i in e){const n=e[i];let o;$(n)?"default"in n?o=Ct(n.from||i,n.default,!0):o=Ct(n.from||i):o=Ct(n),le(o)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[i]=o}}function vn(e,t,s){xe(A(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,s)}function bn(e,t,s,i){let n=i.includes(".")?rn(s,i):()=>s[i];if(G(e)){const o=t[e];M(o)&&Gs(n,o)}else if(M(e))Gs(n,e.bind(s));else if($(e))if(A(e))e.forEach(o=>bn(o,t,s,i));else{const o=M(e.handler)?e.handler.bind(s):t[e.handler];M(o)&&Gs(n,o,e)}}function xn(e){const t=e.type,{mixins:s,extends:i}=t,{mixins:n,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let a;return l?a=l:!n.length&&!s&&!i?a=t:(a={},n.length&&n.forEach(u=>fs(a,u,r,!0)),fs(a,t,r)),$(t)&&o.set(t,a),a}function fs(e,t,s,i=!1){const{mixins:n,extends:o}=t;o&&fs(e,o,s,!0),n&&n.forEach(r=>fs(e,r,s,!0));for(const r in t)if(!(i&&r==="expose")){const l=Hr[r]||s&&s[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Hr={data:yn,props:_n,emits:_n,methods:Tt,computed:Tt,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:Tt,directives:Tt,watch:Ur,provide:yn,inject:Vr};function yn(e,t){return t?e?function(){return Y(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function Vr(e,t){return Tt(si(e),si(t))}function si(e){if(A(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${se(t)}Modifiers`]||e[`${ge(t)}Modifiers`];function zr(e,t,...s){if(e.isUnmounted)return;const i=e.vnode.props||B;let n=s;const o=t.startsWith("update:"),r=o&&Kr(i,t.slice(7));r&&(r.trim&&(n=s.map(d=>G(d)?d.trim():d)),r.number&&(n=n.map(Oo)));let l,a=i[l=As(t)]||i[l=As(se(t))];!a&&o&&(a=i[l=As(ge(t))]),a&&xe(a,e,6,n);const u=i[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(u,e,6,n)}}const qr=new WeakMap;function Sn(e,t,s=!1){const i=s?qr:t.emitsCache,n=i.get(e);if(n!==void 0)return n;const o=e.emits;let r={},l=!1;if(!M(e)){const a=u=>{const d=Sn(u,t,!0);d&&(l=!0,Y(r,d))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?($(e)&&i.set(e,null),null):(A(o)?o.forEach(a=>r[a]=null):Y(r,o),$(e)&&i.set(e,r),r)}function ds(e,t){return!e||!Ut(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ge(t))||F(e,t))}function Tc(){}function Cn(e){const{type:t,vnode:s,proxy:i,withProxy:n,propsOptions:[o],slots:r,attrs:l,emit:a,render:u,renderCache:d,props:p,data:S,setupState:C,ctx:H,inheritAttrs:R}=e,Z=os(e);let J,j;try{if(s.shapeFlag&4){const T=n||i,te=T;J=Ae(u.call(te,T,d,p,C,S,H)),j=l}else{const T=t;J=Ae(T.length>1?T(p,{attrs:l,slots:r,emit:a}):T(p,null)),j=t.props?l:Gr(l)}}catch(T){Ue.length=0,is(T,e,1),J=ye(Te)}let V=J;if(j&&R!==!1){const T=Object.keys(j),{shapeFlag:te}=V;T.length&&te&7&&(o&&T.some(Bt)&&(j=Jr(j,o)),V=ht(V,j,!1,!0))}if(s.dirs&&(V=ht(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(s.dirs):s.dirs),s.transition){const T=rs(V.type)&&ln(V)||V;Xs(T,s.transition)}return J=V,os(Z),J}const Gr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ut(s))&&((t||(t={}))[s]=e[s]);return t},Jr=(e,t)=>{const s={};for(const i in e)(!Bt(i)||!(i.slice(9)in t))&&(s[i]=e[i]);return s};function Xr(e,t,s){const{props:i,children:n,component:o}=e,{props:r,children:l,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 i?En(i,r,u):!!r;if(a&8){const d=t.dynamicProps;for(let p=0;pObject.create(Tn),On=e=>Object.getPrototypeOf(e)===Tn;function Zr(e,t,s,i=!1){const n={},o=An();e.propsDefaults=Object.create(null),Mn(e,t,n,o);for(const r in e.propsOptions[0])r in n||(n[r]=void 0);s?e.props=i?n:tr(n):e.type.props?e.props=n:e.props=o,e.attrs=o}function Qr(e,t,s,i){const{props:n,attrs:o,vnode:{patchFlag:r}}=e,l=D(n),[a]=e.propsOptions;let u=!1;if((i||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let p=0;p{a=!0;const[S,C]=Rn(p,t,!0);Y(r,S),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!a)return $(e)&&i.set(e,nt),nt;if(A(o))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",oi=e=>A(e)?e.map(Ae):[Ae(e)],tl=(e,t,s)=>{if(t._n)return t;const i=St((...n)=>oi(t(...n)),s);return i._c=!1,i},In=(e,t,s)=>{const i=e._ctx;for(const n in e){if(ni(n))continue;const o=e[n];if(M(o))t[n]=tl(n,o,i);else if(o!=null){const r=oi(o);t[n]=()=>r}}},Ln=(e,t)=>{const s=oi(t);e.slots.default=()=>s},Nn=(e,t,s)=>{for(const i in t)(s||!ni(i))&&(e[i]=t[i])},sl=(e,t,s)=>{const i=e.slots=An();if(e.vnode.shapeFlag&32){const n=t._;n?(Nn(i,t,s),s&&wi(i,"_",n,!0)):In(t,i)}else t&&Ln(e,t)},il=(e,t,s)=>{const{vnode:i,slots:n}=e;let o=!0,r=B;if(i.shapeFlag&32){const l=t._;l?s&&l===1?o=!1:Nn(n,t,s):(o=!t.$stable,In(t,n)),r=t}else t&&(Ln(e,t),r={default:1});if(o)for(const l in n)!ni(l)&&r[l]==null&&delete n[l]},ue=al;function nl(e){return ol(e)}function ol(e,t){const s=Gt();s.__VUE__=!0;const{insert:i,remove:n,patchProp:o,createElement:r,createText:l,createComment:a,setText:u,setElementText:d,parentNode:p,nextSibling:S,setScopeId:C=we,insertStaticContent:H}=e,R=(c,f,h,b=null,v=null,g=null,_=void 0,y=null,x=!!f.dynamicChildren)=>{if(c===f)return;c&&!Ot(c,f)&&(b=Cs(c),Pe(c,v,g,!0),c=null),f.patchFlag===-2&&(x=!1,f.dynamicChildren=null);const{type:m,ref:k,shapeFlag:w}=f;switch(m){case us:Z(c,f,h,b);break;case Te:J(c,f,h,b);break;case li:c==null&&j(f,h,b,_);break;case ee:_s(c,f,h,b,v,g,_,y,x);break;default:w&1?te(c,f,h,b,v,g,_,y,x):w&6?ws(c,f,h,b,v,g,_,y,x):(w&64||w&128)&&m.process(c,f,h,b,v,g,_,y,x,Ht)}k!=null&&v?Et(k,c&&c.ref,g,f||c,!f):k==null&&c&&c.ref!=null&&Et(c.ref,null,g,c,!0)},Z=(c,f,h,b)=>{if(c==null)i(f.el=l(f.children),h,b);else{const v=f.el=c.el;f.children!==c.children&&u(v,f.children)}},J=(c,f,h,b)=>{c==null?i(f.el=a(f.children||""),h,b):f.el=c.el},j=(c,f,h,b)=>{[c.el,c.anchor]=H(c.children,f,h,b,c.el,c.anchor)},V=({el:c,anchor:f},h,b)=>{let v;for(;c&&c!==f;)v=S(c),i(c,h,b),c=v;i(f,h,b)},T=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=S(c),n(c),c=h;n(f)},te=(c,f,h,b,v,g,_,y,x)=>{if(f.type==="svg"?_="svg":f.type==="math"&&(_="mathml"),c==null)Me(f,h,b,v,g,_,y,x);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),ys(c,f,v,g,_,y,x)}finally{m&&m._endPatch()}}},Me=(c,f,h,b,v,g,_,y)=>{let x,m;const{props:k,shapeFlag:w,transition:E,dirs:O}=c;if(x=c.el=r(c.type,g,k&&k.is,k),w&8?d(x,c.children):w&16&&Je(c.children,x,null,b,v,ri(c,g),_,y),O&&Qe(c,null,b,"created"),Re(x,c,c.scopeId,_,b),k){for(const W in k)W!=="value"&&!gt(W)&&o(x,W,null,k[W],g,b);"value"in k&&o(x,"value",null,k.value,g),(m=k.onVnodeBeforeMount)&&Oe(m,b,c)}O&&Qe(c,null,b,"beforeMount");const N=rl(v,E);N&&E.beforeEnter(x),i(x,f,h),((m=k&&k.onVnodeMounted)||N||O)&&ue(()=>{try{m&&Oe(m,b,c),N&&E.enter(x),O&&Qe(c,null,b,"mounted")}finally{}},v)},Re=(c,f,h,b,v)=>{if(h&&C(c,h),b)for(let g=0;g{for(let m=x;m{const y=f.el=c.el;let{patchFlag:x,dynamicChildren:m,dirs:k}=f;x|=c.patchFlag&16;const w=c.props||B,E=f.props||B;let O;if(h&&et(h,!1),(O=E.onVnodeBeforeUpdate)&&Oe(O,h,f,c),k&&Qe(f,c,h,"beforeUpdate"),h&&et(h,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(x=0,_=!1,m=null),(w.innerHTML&&E.innerHTML==null||w.textContent&&E.textContent==null)&&d(y,""),m?tt(c.dynamicChildren,m,y,h,b,ri(f,v),g):_||q(c,f,y,null,h,b,ri(f,v),g,!1),x>0){if(x&16)Dt(y,w,E,h,v);else if(x&2&&w.class!==E.class&&o(y,"class",null,E.class,v),x&4&&o(y,"style",w.style,E.style,v),x&8){const N=f.dynamicProps;for(let W=0;W{O&&Oe(O,h,f,c),k&&Qe(f,c,h,"updated")},b)},tt=(c,f,h,b,v,g,_)=>{for(let y=0;y{if(f!==h){if(f!==B)for(const g in f)!gt(g)&&!(g in h)&&o(c,g,f[g],null,v,b);for(const g in h){if(gt(g))continue;const _=h[g],y=f[g];_!==y&&g!=="value"&&o(c,g,y,_,v,b)}"value"in h&&o(c,"value",f.value,h.value,v)}},_s=(c,f,h,b,v,g,_,y,x)=>{const m=f.el=c?c.el:l(""),k=f.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:E,slotScopeIds:O}=f;O&&(y=y?y.concat(O):O),c==null?(i(m,h,b),i(k,h,b),Je(f.children||[],h,k,v,g,_,y,x)):w>0&&w&64&&E&&c.dynamicChildren&&c.dynamicChildren.length===E.length?(tt(c.dynamicChildren,E,h,v,g,_,y),(f.key!=null||v&&f===v.subTree)&&jn(c,f,!0)):q(c,f,h,k,v,g,_,y,x)},ws=(c,f,h,b,v,g,_,y,x)=>{f.slotScopeIds=y,c==null?f.shapeFlag&512?v.ctx.activate(f,h,b,_,x):mi(f,h,b,v,g,_,x):xo(c,f,x)},mi=(c,f,h,b,v,g,_)=>{const y=c.component=pl(c,b,v);if(Zs(c)&&(y.ctx.renderer=Ht),gl(y,!1,_),y.asyncDep){if(v&&v.registerDep(y,de,_),!c.el){const x=y.subTree=ye(Te);J(null,x,f,h),c.placeholder=x.el}}else de(y,c,f,h,v,g,_)},xo=(c,f,h)=>{const b=f.component=c.component;if(Xr(c,f,h))if(b.asyncDep&&!b.asyncResolved){X(b,f,h);return}else b.next=f,b.update();else f.el=c.el,b.vnode=f},de=(c,f,h,b,v,g,_)=>{const y=()=>{if(c.isMounted){let{next:w,bu:E,u:O,parent:N,vnode:W}=c;{const Le=Fn(c);if(Le){w&&(w.el=W.el,X(c,w,_)),Le.asyncDep.then(()=>{ue(()=>{c.isUnmounted||m()},v)});return}}let U=w,Q;et(c,!1),w?(w.el=W.el,X(c,w,_)):w=W,E&&Os(E),(Q=w.props&&w.props.onVnodeBeforeUpdate)&&Oe(Q,N,w,W),et(c,!0);const oe=Cn(c),Ie=c.subTree;c.subTree=oe,R(Ie,oe,p(Ie.el),Cs(Ie),c,v,g),w.el=oe.el,U===null&&Yr(c,oe.el),O&&ue(O,v),(Q=w.props&&w.props.onVnodeUpdated)&&ue(()=>Oe(Q,N,w,W),v)}else{let w;const{el:E,props:O}=f,{bm:N,m:W,parent:U,root:Q,type:oe}=c,Ie=ft(f);et(c,!1),N&&Os(N),!Ie&&(w=O&&O.onVnodeBeforeMount)&&Oe(w,U,f),et(c,!0);{Q.ce&&Q.ce._hasShadowRoot()&&Q.ce._injectChildStyle(oe,c.parent?c.parent.type:void 0);const Le=c.subTree=Cn(c);R(null,Le,h,b,c,v,g),f.el=Le.el}if(W&&ue(W,v),!Ie&&(w=O&&O.onVnodeMounted)){const Le=f;ue(()=>Oe(w,U,Le),v)}(f.shapeFlag&256||U&&ft(U.vnode)&&U.vnode.shapeFlag&256)&&c.a&&ue(c.a,v),c.isMounted=!0,f=h=b=null}};c.scope.on();const x=c.effect=new Oi(y);c.scope.off();const m=c.update=x.run.bind(x),k=c.job=x.runIfDirty.bind(x);k.i=c,k.id=c.uid,x.scheduler=()=>zs(k),et(c,!0),m()},X=(c,f,h)=>{f.component=c;const b=c.vnode.props;c.vnode=f,c.next=null,Qr(c,f.props,b,h),il(c,f.children,h),Se(),en(c),Ce()},q=(c,f,h,b,v,g,_,y,x=!1)=>{const m=c&&c.children,k=c?c.shapeFlag:0,w=f.children,{patchFlag:E,shapeFlag:O}=f;if(E>0){if(E&128){Ss(m,w,h,b,v,g,_,y,x);return}else if(E&256){st(m,w,h,b,v,g,_,y,x);return}}O&8?(k&16&&$t(m,v,g),w!==m&&d(h,w)):k&16?O&16?Ss(m,w,h,b,v,g,_,y,x):$t(m,v,g,!0):(k&8&&d(h,""),O&16&&Je(w,h,b,v,g,_,y,x))},st=(c,f,h,b,v,g,_,y,x)=>{c=c||nt,f=f||nt;const m=c.length,k=f.length,w=Math.min(m,k);let E;for(E=0;Ek?$t(c,v,g,!0,!1,w):Je(f,h,b,v,g,_,y,x,w)},Ss=(c,f,h,b,v,g,_,y,x)=>{let m=0;const k=f.length;let w=c.length-1,E=k-1;for(;m<=w&&m<=E;){const O=c[m],N=f[m]=x?Be(f[m]):Ae(f[m]);if(Ot(O,N))R(O,N,h,null,v,g,_,y,x);else break;m++}for(;m<=w&&m<=E;){const O=c[w],N=f[E]=x?Be(f[E]):Ae(f[E]);if(Ot(O,N))R(O,N,h,null,v,g,_,y,x);else break;w--,E--}if(m>w){if(m<=E){const O=E+1,N=OE)for(;m<=w;)Pe(c[m],v,g,!0),m++;else{const O=m,N=m,W=new Map;for(m=N;m<=E;m++){const pe=f[m]=x?Be(f[m]):Ae(f[m]);pe.key!=null&&W.set(pe.key,m)}let U,Q=0;const oe=E-N+1;let Ie=!1,Le=0;const Vt=new Array(oe);for(m=0;m=oe){Pe(pe,v,g,!0);continue}let Ne;if(pe.key!=null)Ne=W.get(pe.key);else for(U=N;U<=E;U++)if(Vt[U-N]===0&&Ot(pe,f[U])){Ne=U;break}Ne===void 0?Pe(pe,v,g,!0):(Vt[Ne-N]=m+1,Ne>=Le?Le=Ne:Ie=!0,R(pe,f[Ne],h,null,v,g,_,y,x),Q++)}const wo=Ie?ll(Vt):nt;for(U=wo.length-1,m=oe-1;m>=0;m--){const pe=N+m,Ne=f[pe],So=f[pe+1],Co=pe+1{const{el:g,type:_,transition:y,children:x,shapeFlag:m}=c;if(m&6){it(c.component.subTree,f,h,b);return}if(m&128){c.suspense.move(f,h,b);return}if(m&64){_.move(c,f,h,Ht);return}if(_===ee){i(g,f,h);for(let w=0;wy.enter(g),v));else{const{leave:w,delayLeave:E,afterLeave:O}=y,N=()=>{c.ctx.isUnmounted?n(g):i(g,f,h)},W=()=>{const U=g._isLeaving||!!g[Js];g._isLeaving&&g[Js](!0),y.persisted&&!U?N():w(g,()=>{N(),O&&O()})};E?E(g,N,W):W()}else i(g,f,h)},Pe=(c,f,h,b=!1,v=!1)=>{const{type:g,props:_,ref:y,children:x,dynamicChildren:m,shapeFlag:k,patchFlag:w,dirs:E,cacheIndex:O,memo:N}=c;if(w===-2&&(v=!1),y!=null&&(Se(),Et(y,null,h,c,!0),Ce()),O!=null&&(f.renderCache[O]=void 0),k&256){f.ctx.deactivate(c);return}const W=k&1&&E,U=!ft(c);let Q;if(U&&(Q=_&&_.onVnodeBeforeUnmount)&&Oe(Q,f,c),k&6)Sc(c.component,h,b);else{if(k&128){c.suspense.unmount(h,b);return}W&&Qe(c,null,f,"beforeUnmount"),k&64?c.type.remove(c,f,h,Ht,b):m&&!m.hasOnce&&(g!==ee||w>0&&w&64)?$t(m,f,h,!1,!0):(g===ee&&w&384||!v&&k&16)&&$t(x,f,h),b&&yo(c)}const oe=N!=null&&O==null;(U&&(Q=_&&_.onVnodeUnmounted)||W||oe)&&ue(()=>{Q&&Oe(Q,f,c),W&&Qe(c,null,f,"unmounted"),oe&&(c.el=null)},h)},yo=c=>{const{type:f,el:h,anchor:b,transition:v}=c;if(f===ee){wc(h,b);return}if(f===li){T(c);return}const g=()=>{n(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:_,delayLeave:y}=v,x=()=>_(h,g);y?y(c.el,g,x):x()}else g()},wc=(c,f)=>{let h;for(;c!==f;)h=S(c),n(c),c=h;n(f)},Sc=(c,f,h)=>{const{bum:b,scope:v,job:g,subTree:_,um:y,m:x,a:m}=c;Dn(x),Dn(m),b&&Os(b),v.stop(),g&&(g.flags|=8,Pe(_,c,f,h)),y&&ue(y,f),ue(()=>{c.isUnmounted=!0},f)},$t=(c,f,h,b=!1,v=!1,g=0)=>{for(let _=g;_{if(c.shapeFlag&6)return Cs(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=S(c.anchor||c.el),h=f&&f[xr];return h?S(h):f};let vi=!1;const _o=(c,f,h)=>{let b;c==null?f._vnode&&(Pe(f._vnode,null,null,!0),b=f._vnode.component):R(f._vnode||null,c,f,null,null,null,h),f._vnode=c,vi||(vi=!0,en(b),tn(),vi=!1)},Ht={p:R,um:Pe,m:it,r:yo,mt:mi,mc:Je,pc:q,pbc:tt,n:Cs,o:e};return{render:_o,hydrate:void 0,createApp:Wr(_o)}}function ri({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 rl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jn(e,t,s=!1){const i=e.children,n=t.children;if(A(i)&&A(n))for(let o=0;o>1,e[s[l]]0&&(t[i]=s[o-1]),s[o]=i)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=t[r];return s}function Fn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fn(t)}function Dn(e){if(e)for(let t=0;te.__isSuspense;function al(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):pr(e)}const ee=Symbol.for("v-fgt"),us=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),li=Symbol.for("v-stc"),Ue=[];let he=null;function I(e=!1){Ue.push(he=e?null:[])}function ai(){Ue.pop(),he=Ue[Ue.length-1]||null}let At=1;function Vn(e,t=!1){At+=e,e<0&&he&&t&&(he.hasOnce=!0)}function Un(e){return e.dynamicChildren=At>0?he||nt:null,ai(),At>0&&he&&he.push(e),e}function L(e,t,s,i,n,o){return Un(P(e,t,s,i,n,o,!0))}function hs(e,t,s,i,n){return Un(ye(e,t,s,i,n,!0))}function ci(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const Bn=({key:e})=>e??null,ps=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?G(e)||le(e)||M(e)?{i:ne,r:e,k:t,f:!!s}:e:null);function P(e,t=null,s=null,i=0,n=null,o=e===ee?0:1,r=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bn(t),ref:t&&ps(t),scopeId:nn,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:i,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:ne};return l?(gs(a,s),o&128&&e.normalize(a)):s&&(a.shapeFlag|=G(s)?8:16),At>0&&!r&&he&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&he.push(a),a}const ye=cl;function cl(e,t=null,s=null,i=0,n=null,o=!1){if((!e||e===Lr)&&(e=Te),ci(e)){const l=ht(e,t,!0);return s&&gs(l,s),At>0&&!o&&he&&(l.shapeFlag&6?he[he.indexOf(e)]=l:he.push(l)),l.patchFlag=-2,l}if(_l(e)&&(e=e.__vccOpts),t){t=fl(t);let{class:l,style:a}=t;l&&!G(l)&&(t.class=ze(l)),$(a)&&(Ws(a)&&!A(a)&&(a=Y({},a)),t.style=Ms(a))}const r=G(e)?1:Hn(e)?128:rs(e)?64:$(e)?4:M(e)?2:0;return P(e,t,s,i,n,r,o,!0)}function fl(e){return e?Ws(e)||On(e)?Y({},e):e:null}function ht(e,t,s=!1,i=!1){const{props:n,ref:o,patchFlag:r,children:l,transition:a}=e,u=t?dl(n||{},t):n,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Bn(u),ref:t&&t.ref?s&&o?A(o)?o.concat(ps(t)):[o,ps(t)]:ps(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&i&&Xs(d,a.clone(d)),d}function Mt(e=" ",t=0){return ye(us,null,e,t)}function _e(e="",t=!1){return t?(I(),hs(Te,null,e)):ye(Te,null,e)}function Ae(e){return e==null||typeof e=="boolean"?ye(Te):A(e)?ye(ee,null,e.slice()):ci(e)?Be(e):ye(us,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function gs(e,t){let s=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(A(t))s=16;else if(typeof t=="object")if(i&65){const n=t.default;n&&(n._c&&(n._d=!1),gs(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!On(t)?t._ctx=ne:n===3&&ne&&(ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(M(t)){if(i&65){gs(e,{default:t});return}t={default:t,_ctx:ne},s=32}else t=String(t),i&64?(s=16,t=[Mt(t)]):s=8;e.children=t,e.shapeFlag|=s}function dl(...e){const t={};for(let s=0;sae||ne;let ms,Rt;{const e=Gt(),t=(s,i)=>{let n;return(n=e[s])||(n=e[s]=[]),n.push(i),o=>{n.length>1?n.forEach(r=>r(o)):n[0](o)}};ms=t("__VUE_INSTANCE_SETTERS__",s=>ae=s),Rt=t("__VUE_SSR_SETTERS__",s=>It=s)}const Pt=e=>{const t=ae;return ms(e),e.scope.on(),()=>{e.scope.off(),ms(t)}},Kn=()=>{ae&&ae.scope.off(),ms(null)};function zn(e){return e.vnode.shapeFlag&4}let It=!1;function gl(e,t=!1,s=!1){t&&Rt(t);const{props:i,children:n}=e.vnode,o=zn(e);Zr(e,i,o,t),sl(e,n,s||t);const r=o?ml(e,t):void 0;return t&&Rt(!1),r}function ml(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fr);const{setup:i}=s;if(i){Se();const n=e.setupContext=i.length>1?bl(e):null,o=Pt(e),r=lt(i,e,0,[e.props,n]),l=yi(r);if(Ce(),o(),(l||e.sp)&&!ft(e)&&an(e),l){if(r.then(Kn,Kn),t)return r.then(a=>{Rt(!0);try{qn(e,a,t)}finally{Rt(!1)}}).catch(a=>{is(a,e,0)});e.asyncDep=r}else qn(e,r)}else Gn(e)}function qn(e,t,s){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$(t)&&(e.setupState=Ji(t)),Gn(e)}function Gn(e,t,s){const i=e.type;e.render||(e.render=i.render||we);{const n=Pt(e);Se();try{Dr(e)}finally{Ce(),n()}}}const vl={get(e,t){return re(e,"get",""),e[t]}};function bl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,vl),slots:e.slots,emit:e.emit,expose:t}}function vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ji(sr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in kt)return kt[s](e)},has(t,s){return s in t||s in kt}})):e.proxy}const xl=/(?:^|[-_])\w/g,yl=e=>e.replace(xl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Jn(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function Xn(e,t,s=!1){let i=Jn(t);if(!i&&t.__file){const n=t.__file.match(/([^/\\]+)\.\w+$/);n&&(i=n[1])}if(!i&&e){const n=o=>{for(const r in o)if(o[r]===t)return r};i=n(e.components)||e.parent&&n(e.parent.type.components)||n(e.appContext.components)}return i?yl(i):s?"App":"Anonymous"}function _l(e){return M(e)&&"__vccOpts"in e}const wl=(e,t)=>or(e,t,It),Sl="3.5.42";/** +**/const _t=[];let zs=!1;function kc(e,...t){if(zs)return;zs=!0,Se();const s=_t.length?_t[_t.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=ao();if(n)lt(n,s,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${Zi(s,r.type)}>`).join(` +`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(` +`,...co(i)),console.warn(...r)}Ee(),zs=!1}function ao(){let e=_t[_t.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 co(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[` +`],...fo(s))}),t}function fo({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Zi(e.component,e.type,n)}`,r=">"+s;return e.props?[i,...uo(e.props),r]:[i+r]}function uo(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...Qn(n,e[n]))}),s.length>3&&t.push(" ..."),t}function Qn(e,t,s){return G(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:le(t)?(t=Qn(e,D(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):M(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=D(t),s?t:[`${e}=`,t])}function lt(e,t,s,n){try{return n?e(...n):e()}catch(i){ns(i,t,s)}}function xe(e,t,s,n){if(M(e)){const i=lt(e,t,s,n);return i&&Sn(i)&&i.catch(r=>{ns(r,t,s)}),i}if(k(e)){const i=[];for(let r=0;r>>1,i=ce[n],r=wt(i);r=wt(s)?ce.push(e):ce.splice(ho(t),0,e),e.flags|=1,si()}}function si(){is||(is=ei.then(ri))}function go(e){if(!k(e))Ge&&e.id===-1?Ge.splice(ct+1,0,e):e.flags&1||(at.push(e),e.flags|=1);else for(let t=0;twt(s)-wt(n));if(at.length=0,Ge){for(let s=0;se.id==null?e.flags&2?-1:1/0:e.id;function ri(e){try{for(Ae=0;Ae{n._d&&Bi(-1);const r=rs(t),o=Ve.length;let l;try{l=e(...i)}finally{for(let a=Ve.length;a>o;a--)fn();rs(r),n._d&&Bi(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Gs(e,t){if(ie===null)return e;const s=ms(ie),n=e.dirs||(e.dirs=[]);for(let i=0;i1)return s&&M(t)?t.call(n&&n.proxy):t}}const mo=Symbol.for("v-scx"),bo=()=>Et(mo);function Js(e,t,s){return li(e,t,s)}function li(e,t,s=B){const{immediate:n,deep:i,flush:r,once:o}=s,l=X({},s),a=t&&n||!t&&r!=="post";let u;if(It){if(r==="sync"){const E=bo();u=E.__watcherHandles||(E.__watcherHandles=[])}else if(!a){const E=()=>{};return E.stop=we,E.resume=we,E.pause=we,E}}const d=ae;l.call=(E,H,R)=>xe(E,d,H,R);let h=!1;r==="post"?l.scheduler=E=>{ue(E,d&&d.suspense)}:r!=="sync"&&(h=!0,l.scheduler=(E,H)=>{H?E():qs(E)}),l.augmentJob=E=>{t&&(E.flags|=4),h&&(E.flags|=2,d&&(E.id=d.uid,E.i=d))};const S=lo(e,t,l);return It&&(u?u.push(S):a&&S()),S}function yo(e,t,s){const n=this.proxy,i=G(e)?e.includes(".")?ai(n,e):()=>n[e]:e.bind(n,n);let r;M(t)?r=t:(r=t.handler,s=t);const o=Pt(this),l=li(i,r.bind(n),s);return o(),l}function ai(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,Ys=Symbol("_leaveCb");function _o(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Te){t=s;break}}return t}function ci(e){if(!Qs(e))return os(e.type)&&e.children?_o(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&&M(s.default))return s.default()}}function Xs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;Xs(os(s.type)&&ci(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 M(e)?X({name:e.name},t,{setup:e}):e}function fi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function di(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ls=new WeakMap;function Ct(e,t,s,n,i=!1){if(k(e)){e.forEach((R,Z)=>Ct(R,t&&(k(t)?t[Z]:t),s,n,i));return}if(ft(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ct(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?ms(n.component):n.el,o=i?null:r,{i:l,r:a}=e,u=t&&t.r,d=l.refs===B?l.refs={}:l.refs,h=l.setupState,S=D(h),E=h===B?_n:R=>di(d,R)?!1:F(S,R),H=(R,Z)=>!(Z&&di(d,Z));if(u!=null&&u!==a){if(ui(t),G(u))d[u]=null,E(u)&&(h[u]=null);else if(le(u)){const R=t;H(u,R.k)&&(u.value=null),R.k&&(d[R.k]=null)}}if(M(a))lt(a,l,12,[o,d]);else{const R=G(a),Z=le(a);if(R||Z){const J=()=>{if(e.f){const j=R?E(a)?h[a]:d[a]:H()||!e.k?a.value:d[e.k];if(i)k(j)&&Ts(j,r);else if(k(j))j.includes(r)||j.push(r);else if(R)d[a]=[r],E(a)&&(h[a]=d[a]);else{const U=[r];H(a,e.k)&&(a.value=U),e.k&&(d[e.k]=U)}}else R?(d[a]=o,E(a)&&(h[a]=o)):Z&&(H(a,e.k)&&(a.value=o),e.k&&(d[e.k]=o))};if(o){const j=()=>{J(),ls.delete(e)};j.id=-1,ls.set(e,j),ue(j,s)}else ui(e),J()}}}function ui(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}Gt().requestIdleCallback,Gt().cancelIdleCallback;const ft=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function wo(e,t){pi(e,"a",t)}function So(e,t){pi(e,"da",t)}function pi(e,t,s=ae){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(as(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Qs(i.parent.vnode)&&Eo(n,t,s,i),i=i.parent}}function Eo(e,t,s,n){const i=as(t,e,n,!0);gi(()=>{Ts(n[t],i)},s)}function as(e,t,s=ae,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Se();const l=Pt(s),a=xe(t,s,e,o);return l(),Ee(),a});return n?i.unshift(r):i.push(r),r}}const Ue=e=>(t,s=ae)=>{(!It||e==="sp")&&as(e,(...n)=>t(...n),s)},Co=Ue("bm"),hi=Ue("m"),Ao=Ue("bu"),To=Ue("u"),ko=Ue("bum"),gi=Ue("um"),Oo=Ue("sp"),Mo=Ue("rtg"),Ro=Ue("rtc");function Po(e,t=ae){as("ec",e,t)}const Io="components";function Lo(e,t){return jo(Io,e,!0,t)||e}const No=Symbol.for("v-ndc");function jo(e,t,s=!0,n=!1){const i=ie||ae;if(i){const r=i.type;{const l=Xi(r,!1);if(l&&(l===t||l===se(t)||l===qt(se(t))))return r}const o=vi(i[e]||r[e],t)||vi(i.appContext[e],t);return!o&&n?r:o}}function vi(e,t){return e&&(e[t]||e[se(t)]||e[qt(se(t))])}function dt(e,t,s,n){let i;const r=s,o=k(e);if(o||G(e)){const l=o&&Xe(e);let a=!1,u=!1;l&&(a=!ye(e),u=qe(e),e=Yt(e)),i=new Array(e.length);for(let d=0,h=e.length;dt(l,a,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,u=l.length;a{const r=n.fn(...i);return r&&(r.key=n.key),r}:n.fn)}return e}function cs(e,t,s,n,i,r){if(s==null&&(s={}),ie.ce||ie.parent&&ft(ie.parent)&&ie.parent.ce){const u=r!=null&&s.key==null?X({},s,{key:r}):s,d=Object.keys(u).length>0;return t!=="default"&&(u.name=t),I(),ps(ee,null,[_e("slot",u,n)],d?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);const l=Ve.length;I();let a;try{const u=o&&mi(o(s)),d=s.key||r||u&&u.key;a=ps(ee,{key:(d&&!me(d)?d:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let d=Ve.length;d>l;d--)fn();throw u}finally{o&&o._c&&(o._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function mi(e){return e.some(t=>dn(t)?!(t.type===Te||t.type===ee&&!mi(t.children)):!0)?e:null}const en=e=>e?Gi(e)?ms(e):en(e.parent):null,At=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=>_i(e),$forceUpdate:e=>e.f||(e.f=()=>{qs(e.update)}),$nextTick:e=>e.n||(e.n=ti.bind(e.proxy)),$watch:e=>yo.bind(e)}),tn=(e,t)=>e!==B&&!e.__isScriptSetup&&F(e,t),Do={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(tn(n,t))return o[t]=1,n[t];if(i!==B&&F(i,t))return o[t]=2,i[t];if(F(r,t))return o[t]=3,r[t];if(s!==B&&F(s,t))return o[t]=4,s[t];sn&&(o[t]=0)}}const u=At[t];let d,h;if(u)return t==="$attrs"&&oe(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(s!==B&&F(s,t))return o[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:r}=e;return tn(i,t)?(i[t]=s,!0):n!==B&&F(n,t)?(n[t]=s,!0):F(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let a;return!!(s[l]||e!==B&&l[0]!=="$"&&F(e,l)||tn(t,l)||F(r,l)||F(n,l)||F(At,l)||F(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},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 bi(e){return k(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let sn=!0;function $o(e){const t=_i(e),s=e.proxy,n=e.ctx;sn=!1,t.beforeCreate&&yi(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:u,created:d,beforeMount:h,mounted:S,beforeUpdate:E,updated:H,activated:R,deactivated:Z,beforeDestroy:J,beforeUnmount:j,destroyed:U,unmounted:T,render:te,renderTracked:Me,renderTriggered:Re,errorCaptured:Je,serverPrefetch:_s,expose:tt,inheritAttrs:Dt,components:ws,directives:Ss,filters:yn}=t;if(u&&Ho(u,n,null),o)for(const Y in o){const q=o[Y];M(q)&&(n[Y]=q.bind(s))}if(i){const Y=i.call(s,s);$(Y)&&(e.data=Bs(Y))}if(sn=!0,r)for(const Y in r){const q=r[Y],st=M(q)?q.bind(s,s):M(q.get)?q.get.bind(s,s):we,Es=!M(q)&&M(q.set)?q.set.bind(s):we,nt=Sl({get:st,set:Es});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Pe=>nt.value=Pe})}if(l)for(const Y in l)xi(l[Y],n,s,Y);if(a){const Y=M(a)?a.call(s):a;Reflect.ownKeys(Y).forEach(q=>{vo(q,Y[q])})}d&&yi(d,e,"c");function de(Y,q){k(q)?q.forEach(st=>Y(st.bind(s))):q&&Y(q.bind(s))}if(de(Co,h),de(hi,S),de(Ao,E),de(To,H),de(wo,R),de(So,Z),de(Po,Je),de(Ro,Me),de(Mo,Re),de(ko,j),de(gi,T),de(Oo,_s),k(tt))if(tt.length){const Y=e.exposed||(e.exposed={});tt.forEach(q=>{Object.defineProperty(Y,q,{get:()=>s[q],set:st=>s[q]=st,enumerable:!0})})}else e.exposed||(e.exposed={});te&&e.render===we&&(e.render=te),Dt!=null&&(e.inheritAttrs=Dt),ws&&(e.components=ws),Ss&&(e.directives=Ss),_s&&fi(e)}function Ho(e,t,s=we){k(e)&&(e=nn(e));for(const n in e){const i=e[n];let r;$(i)?"default"in i?r=Et(i.from||n,i.default,!0):r=Et(i.from||n):r=Et(i),le(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function yi(e,t,s){xe(k(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function xi(e,t,s,n){let i=n.includes(".")?ai(s,n):()=>s[n];if(G(e)){const r=t[e];M(r)&&Js(i,r)}else if(M(e))Js(i,e.bind(s));else if($(e))if(k(e))e.forEach(r=>xi(r,t,s,n));else{const r=M(e.handler)?e.handler.bind(s):t[e.handler];M(r)&&Js(i,r,e)}}function _i(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(u=>fs(a,u,o,!0)),fs(a,t,o)),$(t)&&r.set(t,a),a}function fs(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&fs(e,r,s,!0),i&&i.forEach(o=>fs(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=Uo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Uo={data:wi,props:Si,emits:Si,methods:Tt,computed:Tt,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:Tt,directives:Tt,watch:Bo,provide:wi,inject:Vo};function wi(e,t){return t?e?function(){return X(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function Vo(e,t){return Tt(nn(e),nn(t))}function nn(e){if(k(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${se(t)}Modifiers`]||e[`${ge(t)}Modifiers`];function qo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||B;let i=s;const r=t.startsWith("update:"),o=r&&zo(n,t.slice(7));o&&(o.trim&&(i=s.map(d=>G(d)?d.trim():d)),o.number&&(i=i.map(Or)));let l,a=n[l=Os(t)]||n[l=Os(se(t))];!a&&r&&(a=n[l=Os(ge(t))]),a&&xe(a,e,6,i);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(u,e,6,i)}}const Go=new WeakMap;function Ci(e,t,s=!1){const n=s?Go:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!M(e)){const a=u=>{const d=Ci(u,t,!0);d&&(l=!0,X(o,d))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?($(e)&&n.set(e,null),null):(k(r)?r.forEach(a=>o[a]=null):X(o,r),$(e)&&n.set(e,o),o)}function ds(e,t){return!e||!Vt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ge(t))||F(e,t))}function Oc(){}function Ai(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:u,renderCache:d,props:h,data:S,setupState:E,ctx:H,inheritAttrs:R}=e,Z=rs(e);let J,j;try{if(s.shapeFlag&4){const T=i||n,te=T;J=ke(u.call(te,T,d,h,E,S,H)),j=l}else{const T=t;J=ke(T.length>1?T(h,{attrs:l,slots:o,emit:a}):T(h,null)),j=t.props?l:Jo(l)}}catch(T){Ve.length=0,ns(T,e,1),J=_e(Te)}let U=J;if(j&&R!==!1){const T=Object.keys(j),{shapeFlag:te}=U;T.length&&te&7&&(r&&T.some(Bt)&&(j=Yo(j,r)),U=pt(U,j,!1,!0))}if(s.dirs&&(U=pt(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(s.dirs):s.dirs),s.transition){const T=os(U.type)&&ci(U)||U;Xs(T,s.transition)}return J=U,rs(Z),J}const Jo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Vt(s))&&((t||(t={}))[s]=e[s]);return t},Yo=(e,t)=>{const s={};for(const n in e)(!Bt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Xo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Ti(n,o,u):!!o;if(a&8){const d=t.dynamicProps;for(let h=0;hObject.create(Oi),Ri=e=>Object.getPrototypeOf(e)===Oi;function Qo(e,t,s,n=!1){const i={},r=Mi();e.propsDefaults=Object.create(null),Pi(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:to(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function el(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=D(i),[a]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h{a=!0;const[S,E]=Ii(h,t,!0);X(o,S),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!a)return $(e)&&n.set(e,it),it;if(k(r))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",ln=e=>k(e)?e.map(ke):[ke(e)],sl=(e,t,s)=>{if(t._n)return t;const n=St((...i)=>ln(t(...i)),s);return n._c=!1,n},Ni=(e,t,s)=>{const n=e._ctx;for(const i in e){if(on(i))continue;const r=e[i];if(M(r))t[i]=sl(i,r,n);else if(r!=null){const o=ln(r);t[i]=()=>o}}},ji=(e,t)=>{const s=ln(t);e.slots.default=()=>s},Fi=(e,t,s)=>{for(const n in t)(s||!on(n))&&(e[n]=t[n])},nl=(e,t,s)=>{const n=e.slots=Mi();if(e.vnode.shapeFlag&32){const i=t._;i?(Fi(n,t,s),s&&Cn(n,"_",i,!0)):Ni(t,n)}else t&&ji(e,t)},il=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=B;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Fi(i,t,s):(r=!t.$stable,Ni(t,i)),o=t}else t&&(ji(e,t),o={default:1});if(r)for(const l in i)!on(l)&&o[l]==null&&delete i[l]},ue=cl;function rl(e){return ol(e)}function ol(e,t){const s=Gt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:u,setElementText:d,parentNode:h,nextSibling:S,setScopeId:E=we,insertStaticContent:H}=e,R=(c,f,p,b=null,m=null,g=null,_=void 0,x=null,y=!!f.dynamicChildren)=>{if(c===f)return;c&&!Ot(c,f)&&(b=Cs(c),Pe(c,m,g,!0),c=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:v,ref:A,shapeFlag:w}=f;switch(v){case us:Z(c,f,p,b);break;case Te:J(c,f,p,b);break;case cn:c==null&&j(f,p,b,_);break;case ee:ws(c,f,p,b,m,g,_,x,y);break;default:w&1?te(c,f,p,b,m,g,_,x,y):w&6?Ss(c,f,p,b,m,g,_,x,y):(w&64||w&128)&&v.process(c,f,p,b,m,g,_,x,y,Ht)}A!=null&&m?Ct(A,c&&c.ref,g,f||c,!f):A==null&&c&&c.ref!=null&&Ct(c.ref,null,g,c,!0)},Z=(c,f,p,b)=>{if(c==null)n(f.el=l(f.children),p,b);else{const m=f.el=c.el;f.children!==c.children&&u(m,f.children)}},J=(c,f,p,b)=>{c==null?n(f.el=a(f.children||""),p,b):f.el=c.el},j=(c,f,p,b)=>{[c.el,c.anchor]=H(c.children,f,p,b,c.el,c.anchor)},U=({el:c,anchor:f},p,b)=>{let m;for(;c&&c!==f;)m=S(c),n(c,p,b),c=m;n(f,p,b)},T=({el:c,anchor:f})=>{let p;for(;c&&c!==f;)p=S(c),i(c),c=p;i(f)},te=(c,f,p,b,m,g,_,x,y)=>{if(f.type==="svg"?_="svg":f.type==="math"&&(_="mathml"),c==null)Me(f,p,b,m,g,_,x,y);else{const v=c.el&&c.el._isVueCE?c.el:null;try{v&&v._beginPatch(),_s(c,f,m,g,_,x,y)}finally{v&&v._endPatch()}}},Me=(c,f,p,b,m,g,_,x)=>{let y,v;const{props:A,shapeFlag:w,transition:C,dirs:O}=c;if(y=c.el=o(c.type,g,A&&A.is,A),w&8?d(y,c.children):w&16&&Je(c.children,y,null,b,m,an(c,g),_,x),O&&Qe(c,null,b,"created"),Re(y,c,c.scopeId,_,b),A){for(const W in A)W!=="value"&&!gt(W)&&r(y,W,null,A[W],g,b);"value"in A&&r(y,"value",null,A.value,g),(v=A.onVnodeBeforeMount)&&Oe(v,b,c)}O&&Qe(c,null,b,"beforeMount");const N=ll(m,C);N&&C.beforeEnter(y),n(y,f,p),((v=A&&A.onVnodeMounted)||N||O)&&ue(()=>{try{v&&Oe(v,b,c),N&&C.enter(y),O&&Qe(c,null,b,"mounted")}finally{}},m)},Re=(c,f,p,b,m)=>{if(p&&E(c,p),b)for(let g=0;g{for(let v=y;v{const x=f.el=c.el;let{patchFlag:y,dynamicChildren:v,dirs:A}=f;y|=c.patchFlag&16;const w=c.props||B,C=f.props||B;let O;if(p&&et(p,!1),(O=C.onVnodeBeforeUpdate)&&Oe(O,p,f,c),A&&Qe(f,c,p,"beforeUpdate"),p&&et(p,!0),v&&(!c.dynamicChildren||c.dynamicChildren.length!==v.length)&&(y=0,_=!1,v=null),(w.innerHTML&&C.innerHTML==null||w.textContent&&C.textContent==null)&&d(x,""),v?tt(c.dynamicChildren,v,x,p,b,an(f,m),g):_||q(c,f,x,null,p,b,an(f,m),g,!1),y>0){if(y&16)Dt(x,w,C,p,m);else if(y&2&&w.class!==C.class&&r(x,"class",null,C.class,m),y&4&&r(x,"style",w.style,C.style,m),y&8){const N=f.dynamicProps;for(let W=0;W{O&&Oe(O,p,f,c),A&&Qe(f,c,p,"updated")},b)},tt=(c,f,p,b,m,g,_)=>{for(let x=0;x{if(f!==p){if(f!==B)for(const g in f)!gt(g)&&!(g in p)&&r(c,g,f[g],null,m,b);for(const g in p){if(gt(g))continue;const _=p[g],x=f[g];_!==x&&g!=="value"&&r(c,g,x,_,m,b)}"value"in p&&r(c,"value",f.value,p.value,m)}},ws=(c,f,p,b,m,g,_,x,y)=>{const v=f.el=c?c.el:l(""),A=f.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:C,slotScopeIds:O}=f;O&&(x=x?x.concat(O):O),c==null?(n(v,p,b),n(A,p,b),Je(f.children||[],p,A,m,g,_,x,y)):w>0&&w&64&&C&&c.dynamicChildren&&c.dynamicChildren.length===C.length?(tt(c.dynamicChildren,C,p,m,g,_,x),(f.key!=null||m&&f===m.subTree)&&Di(c,f,!0)):q(c,f,p,A,m,g,_,x,y)},Ss=(c,f,p,b,m,g,_,x,y)=>{f.slotScopeIds=x,c==null?f.shapeFlag&512?m.ctx.activate(f,p,b,_,y):yn(f,p,b,m,g,_,y):yr(c,f,y)},yn=(c,f,p,b,m,g,_)=>{const x=c.component=gl(c,b,m);if(Qs(c)&&(x.ctx.renderer=Ht),vl(x,!1,_),x.asyncDep){if(m&&m.registerDep(x,de,_),!c.el){const y=x.subTree=_e(Te);J(null,y,f,p),c.placeholder=y.el}}else de(x,c,f,p,m,g,_)},yr=(c,f,p)=>{const b=f.component=c.component;if(Xo(c,f,p))if(b.asyncDep&&!b.asyncResolved){Y(b,f,p);return}else b.next=f,b.update();else f.el=c.el,b.vnode=f},de=(c,f,p,b,m,g,_)=>{const x=()=>{if(c.isMounted){let{next:w,bu:C,u:O,parent:N,vnode:W}=c;{const Le=$i(c);if(Le){w&&(w.el=W.el,Y(c,w,_)),Le.asyncDep.then(()=>{ue(()=>{c.isUnmounted||v()},m)});return}}let V=w,Q;et(c,!1),w?(w.el=W.el,Y(c,w,_)):w=W,C&&Ms(C),(Q=w.props&&w.props.onVnodeBeforeUpdate)&&Oe(Q,N,w,W),et(c,!0);const re=Ai(c),Ie=c.subTree;c.subTree=re,R(Ie,re,h(Ie.el),Cs(Ie),c,m,g),w.el=re.el,V===null&&Zo(c,re.el),O&&ue(O,m),(Q=w.props&&w.props.onVnodeUpdated)&&ue(()=>Oe(Q,N,w,W),m)}else{let w;const{el:C,props:O}=f,{bm:N,m:W,parent:V,root:Q,type:re}=c,Ie=ft(f);et(c,!1),N&&Ms(N),!Ie&&(w=O&&O.onVnodeBeforeMount)&&Oe(w,V,f),et(c,!0);{Q.ce&&Q.ce._hasShadowRoot()&&Q.ce._injectChildStyle(re,c.parent?c.parent.type:void 0);const Le=c.subTree=Ai(c);R(null,Le,p,b,c,m,g),f.el=Le.el}if(W&&ue(W,m),!Ie&&(w=O&&O.onVnodeMounted)){const Le=f;ue(()=>Oe(w,V,Le),m)}(f.shapeFlag&256||V&&ft(V.vnode)&&V.vnode.shapeFlag&256)&&c.a&&ue(c.a,m),c.isMounted=!0,f=p=b=null}};c.scope.on();const y=c.effect=new Pn(x);c.scope.off();const v=c.update=y.run.bind(y),A=c.job=y.runIfDirty.bind(y);A.i=c,A.id=c.uid,y.scheduler=()=>qs(A),et(c,!0),v()},Y=(c,f,p)=>{f.component=c;const b=c.vnode.props;c.vnode=f,c.next=null,el(c,f.props,b,p),il(c,f.children,p),Se(),ni(c),Ee()},q=(c,f,p,b,m,g,_,x,y=!1)=>{const v=c&&c.children,A=c?c.shapeFlag:0,w=f.children,{patchFlag:C,shapeFlag:O}=f;if(C>0){if(C&128){Es(v,w,p,b,m,g,_,x,y);return}else if(C&256){st(v,w,p,b,m,g,_,x,y);return}}O&8?(A&16&&$t(v,m,g),w!==v&&d(p,w)):A&16?O&16?Es(v,w,p,b,m,g,_,x,y):$t(v,m,g,!0):(A&8&&d(p,""),O&16&&Je(w,p,b,m,g,_,x,y))},st=(c,f,p,b,m,g,_,x,y)=>{c=c||it,f=f||it;const v=c.length,A=f.length,w=Math.min(v,A);let C;for(C=0;CA?$t(c,m,g,!0,!1,w):Je(f,p,b,m,g,_,x,y,w)},Es=(c,f,p,b,m,g,_,x,y)=>{let v=0;const A=f.length;let w=c.length-1,C=A-1;for(;v<=w&&v<=C;){const O=c[v],N=f[v]=y?Be(f[v]):ke(f[v]);if(Ot(O,N))R(O,N,p,null,m,g,_,x,y);else break;v++}for(;v<=w&&v<=C;){const O=c[w],N=f[C]=y?Be(f[C]):ke(f[C]);if(Ot(O,N))R(O,N,p,null,m,g,_,x,y);else break;w--,C--}if(v>w){if(v<=C){const O=C+1,N=OC)for(;v<=w;)Pe(c[v],m,g,!0),v++;else{const O=v,N=v,W=new Map;for(v=N;v<=C;v++){const he=f[v]=y?Be(f[v]):ke(f[v]);he.key!=null&&W.set(he.key,v)}let V,Q=0;const re=C-N+1;let Ie=!1,Le=0;const Ut=new Array(re);for(v=0;v=re){Pe(he,m,g,!0);continue}let Ne;if(he.key!=null)Ne=W.get(he.key);else for(V=N;V<=C;V++)if(Ut[V-N]===0&&Ot(he,f[V])){Ne=V;break}Ne===void 0?Pe(he,m,g,!0):(Ut[Ne-N]=v+1,Ne>=Le?Le=Ne:Ie=!0,R(he,f[Ne],p,null,m,g,_,x,y),Q++)}const wr=Ie?al(Ut):it;for(V=wr.length-1,v=re-1;v>=0;v--){const he=N+v,Ne=f[he],Sr=f[he+1],Er=he+1{const{el:g,type:_,transition:x,children:y,shapeFlag:v}=c;if(v&6){nt(c.component.subTree,f,p,b);return}if(v&128){c.suspense.move(f,p,b);return}if(v&64){_.move(c,f,p,Ht);return}if(_===ee){n(g,f,p);for(let w=0;wx.enter(g),m));else{const{leave:w,delayLeave:C,afterLeave:O}=x,N=()=>{c.ctx.isUnmounted?i(g):n(g,f,p)},W=()=>{const V=g._isLeaving||!!g[Ys];g._isLeaving&&g[Ys](!0),x.persisted&&!V?N():w(g,()=>{N(),O&&O()})};C?C(g,N,W):W()}else n(g,f,p)},Pe=(c,f,p,b=!1,m=!1)=>{const{type:g,props:_,ref:x,children:y,dynamicChildren:v,shapeFlag:A,patchFlag:w,dirs:C,cacheIndex:O,memo:N}=c;if(w===-2&&(m=!1),x!=null&&(Se(),Ct(x,null,p,c,!0),Ee()),O!=null&&(f.renderCache[O]=void 0),A&256){f.ctx.deactivate(c);return}const W=A&1&&C,V=!ft(c);let Q;if(V&&(Q=_&&_.onVnodeBeforeUnmount)&&Oe(Q,f,c),A&6)Cc(c.component,p,b);else{if(A&128){c.suspense.unmount(p,b);return}W&&Qe(c,null,f,"beforeUnmount"),A&64?c.type.remove(c,f,p,Ht,b):v&&!v.hasOnce&&(g!==ee||w>0&&w&64)?$t(v,f,p,!1,!0):(g===ee&&w&384||!m&&A&16)&&$t(y,f,p),b&&xr(c)}const re=N!=null&&O==null;(V&&(Q=_&&_.onVnodeUnmounted)||W||re)&&ue(()=>{Q&&Oe(Q,f,c),W&&Qe(c,null,f,"unmounted"),re&&(c.el=null)},p)},xr=c=>{const{type:f,el:p,anchor:b,transition:m}=c;if(f===ee){Ec(p,b);return}if(f===cn){T(c);return}const g=()=>{i(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:_,delayLeave:x}=m,y=()=>_(p,g);x?x(c.el,g,y):y()}else g()},Ec=(c,f)=>{let p;for(;c!==f;)p=S(c),i(c),c=p;i(f)},Cc=(c,f,p)=>{const{bum:b,scope:m,job:g,subTree:_,um:x,m:y,a:v}=c;Hi(y),Hi(v),b&&Ms(b),m.stop(),g&&(g.flags|=8,Pe(_,c,f,p)),x&&ue(x,f),ue(()=>{c.isUnmounted=!0},f)},$t=(c,f,p,b=!1,m=!1,g=0)=>{for(let _=g;_{if(c.shapeFlag&6)return Cs(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=S(c.anchor||c.el),p=f&&f[xo];return p?S(p):f};let xn=!1;const _r=(c,f,p)=>{let b;c==null?f._vnode&&(Pe(f._vnode,null,null,!0),b=f._vnode.component):R(f._vnode||null,c,f,null,null,null,p),f._vnode=c,xn||(xn=!0,ni(b),ii(),xn=!1)},Ht={p:R,um:Pe,m:nt,r:xr,mt:yn,mc:Je,pc:q,pbc:tt,n:Cs,o:e};return{render:_r,hydrate:void 0,createApp:Ko(_r)}}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 ll(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Di(e,t,s=!1){const n=e.children,i=t.children;if(k(n)&&k(i))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function $i(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$i(t)}function Hi(e){if(e)for(let t=0;te.__isSuspense;function cl(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):go(e)}const ee=Symbol.for("v-fgt"),us=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),cn=Symbol.for("v-stc"),Ve=[];let pe=null;function I(e=!1){Ve.push(pe=e?null:[])}function fn(){Ve.pop(),pe=Ve[Ve.length-1]||null}let kt=1;function Bi(e,t=!1){kt+=e,e<0&&pe&&t&&(pe.hasOnce=!0)}function Wi(e){return e.dynamicChildren=kt>0?pe||it:null,fn(),kt>0&&pe&&pe.push(e),e}function L(e,t,s,n,i,r){return Wi(P(e,t,s,n,i,r,!0))}function ps(e,t,s,n,i){return Wi(_e(e,t,s,n,i,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const Ki=({key:e})=>e??null,hs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?G(e)||le(e)||M(e)?{i:ie,r:e,k:t,f:!!s}:e:null);function P(e,t=null,s=null,n=0,i=null,r=e===ee?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&hs(t),scopeId:oi,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:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ie};return l?(gs(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=G(s)?8:16),kt>0&&!o&&pe&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&pe.push(a),a}const _e=fl;function fl(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===No)&&(e=Te),dn(e)){const l=pt(e,t,!0);return s&&gs(l,s),kt>0&&!r&&pe&&(l.shapeFlag&6?pe[pe.indexOf(e)]=l:pe.push(l)),l.patchFlag=-2,l}if(wl(e)&&(e=e.__vccOpts),t){t=dl(t);let{class:l,style:a}=t;l&&!G(l)&&(t.class=ze(l)),$(a)&&(Ks(a)&&!k(a)&&(a=X({},a)),t.style=Rs(a))}const o=G(e)?1:Vi(e)?128:os(e)?64:$(e)?4:M(e)?2:0;return P(e,t,s,n,i,o,r,!0)}function dl(e){return e?Ks(e)||Ri(e)?X({},e):e:null}function pt(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,u=t?ul(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ki(u),ref:t&&t.ref?s&&r?k(r)?r.concat(hs(t)):[r,hs(t)]:hs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?o===-1?16:o|16:o,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(d,a.clone(d)),d}function Mt(e=" ",t=0){return _e(us,null,e,t)}function ve(e="",t=!1){return t?(I(),ps(Te,null,e)):_e(Te,null,e)}function ke(e){return e==null||typeof e=="boolean"?_e(Te):k(e)?_e(ee,null,e.slice()):dn(e)?Be(e):_e(us,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function gs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(k(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),gs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ri(t)?t._ctx=ie:i===3&&ie&&(ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(M(t)){if(n&65){gs(e,{default:t});return}t={default:t,_ctx:ie},s=32}else t=String(t),n&64?(s=16,t=[Mt(t)]):s=8;e.children=t,e.shapeFlag|=s}function ul(...e){const t={};for(let s=0;sae||ie;let vs,Rt;{const e=Gt(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};vs=t("__VUE_INSTANCE_SETTERS__",s=>ae=s),Rt=t("__VUE_SSR_SETTERS__",s=>It=s)}const Pt=e=>{const t=ae;return vs(e),e.scope.on(),()=>{e.scope.off(),vs(t)}},qi=()=>{ae&&ae.scope.off(),vs(null)};function Gi(e){return e.vnode.shapeFlag&4}let It=!1;function vl(e,t=!1,s=!1){t&&Rt(t);const{props:n,children:i}=e.vnode,r=Gi(e);Qo(e,n,r,t),nl(e,i,s||t);const o=r?ml(e,t):void 0;return t&&Rt(!1),o}function ml(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Do);const{setup:n}=s;if(n){Se();const i=e.setupContext=n.length>1?yl(e):null,r=Pt(e),o=lt(n,e,0,[e.props,i]),l=Sn(o);if(Ee(),r(),(l||e.sp)&&!ft(e)&&fi(e),l){if(o.then(qi,qi),t)return o.then(a=>{Rt(!0);try{Ji(e,a,t)}finally{Rt(!1)}}).catch(a=>{ns(a,e,0)});e.asyncDep=o}else Ji(e,o)}else Yi(e)}function Ji(e,t,s){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$(t)&&(e.setupState=Zn(t)),Yi(e)}function Yi(e,t,s){const n=e.type;e.render||(e.render=n.render||we);{const i=Pt(e);Se();try{$o(e)}finally{Ee(),i()}}}const bl={get(e,t){return oe(e,"get",""),e[t]}};function yl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,bl),slots:e.slots,emit:e.emit,expose:t}}function ms(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zn(so(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in At)return At[s](e)},has(t,s){return s in t||s in At}})):e.proxy}const xl=/(?:^|[-_])\w/g,_l=e=>e.replace(xl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Xi(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function Zi(e,t,s=!1){let n=Xi(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?_l(n):s?"App":"Anonymous"}function wl(e){return M(e)&&"__vccOpts"in e}const Sl=(e,t)=>ro(e,t,It),El="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let fi;const Yn=typeof window<"u"&&window.trustedTypes;if(Yn)try{fi=Yn.createPolicy("vue",{createHTML:e=>e})}catch{}const Zn=fi?e=>fi.createHTML(e):e=>e,Cl="http://www.w3.org/2000/svg",El="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Qn=We&&We.createElement("template"),kl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,i)=>{const n=t==="svg"?We.createElementNS(Cl,e):t==="mathml"?We.createElementNS(El,e):s?We.createElement(e,{is:s}):We.createElement(e);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},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,i,n,o){const r=s?s.previousSibling:t.lastChild;if(n&&(n===o||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),s),!(n===o||!(n=n.nextSibling)););else{Qn.innerHTML=Zn(i==="svg"?`${e}`:i==="mathml"?`${e}`:e);const l=Qn.content;if(i==="svg"||i==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Tl=Symbol("_vtc");function Al(e,t,s){const i=e[Tl];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const bs=Symbol("_vod"),eo=Symbol("_vsh"),di={name:"show",beforeMount(e,{value:t},{transition:s}){e[bs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Lt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:i}){!t!=!s&&(i?t?(i.beforeEnter(e),Lt(e,!0),i.enter(e)):i.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[bs]:"none",e[eo]=!t}const Ol=Symbol(""),Ml=/(?:^|;)\s*display\s*:/;function Rl(e,t,s){const i=e.style,n=G(s);let o=!1;if(s&&!n){if(t)if(G(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();s[l]==null&&Nt(i,l,"")}else for(const r in t)s[r]==null&&Nt(i,r,"");for(const r in s){r==="display"&&(o=!0);const l=s[r];l!=null?Il(e,r,!G(t)&&t?t[r]:void 0,l)||Nt(i,r,l):Nt(i,r,"")}}else if(n){if(t!==s){const r=i[Ol];r&&(s+=";"+r),i.cssText=s,o=Ml.test(s)}}else t&&e.removeAttribute("style");bs in e&&(e[bs]=o?i.display:"",e[eo]&&(i.display="none"))}const xs=/\s*!important$/;function Nt(e,t,s){if(A(s))s.forEach(i=>Nt(e,t,i));else if(s==null&&(s=""),t.startsWith("--"))xs.test(s)?e.setProperty(t,s.replace(xs,""),"important"):e.setProperty(t,s);else{const i=Pl(e,t);xs.test(s)?e.setProperty(ge(i),s.replace(xs,""),"important"):e[i]=s}}const to=["Webkit","Moz","ms"],ui={};function Pl(e,t){const s=ui[t];if(s)return s;let i=se(t);if(i!=="filter"&&i in e)return ui[t]=i;i=qt(i);for(let n=0;nhi||(Hl.then(()=>hi=0),hi=Date.now());function Ul(e,t){const s=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=s.attached)return;const n=s.value;if(A(n)){const o=i.stopImmediatePropagation;i.stopImmediatePropagation=()=>{o.call(i),i._stopped=!0};const r=n.slice(),l=[i];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Bl=(e,t,s,i,n,o)=>{const r=n==="svg";t==="class"?Al(e,i,r):t==="style"?Rl(e,s,i):Ut(t)?Bt(t)||jl(e,t,s,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wl(e,t,i,r))?(no(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&io(e,t,i,r,o,t!=="value")):e._isVueCE&&(Kl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!G(i)))?no(e,se(t),i,o,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),io(e,t,i,r))};function Wl(e,t,s,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&ro(t)&&M(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 n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return ro(t)&&G(s)?!1:t in e}function Kl(e,t){const s=e._def.props;if(!s)return!1;const i=se(t);return Array.isArray(s)?s.some(n=>se(n)===i):Object.keys(s).some(n=>se(n)===i)}const lo={};function zl(e,t,s){let i=Ys(e,t);Kt(i)&&(i=Y({},i,t));class n extends pi{constructor(r){super(i,r,s)}}return n.def=i,n}const ql=typeof HTMLElement<"u"?HTMLElement:class{};class pi extends ql{constructor(t,s={},i=fo){super(),this._def=t,this._props=s,this._createApp=i,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&&i!==fo?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Y({},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 pi){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,Zi(()=>{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 i=0;i{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:r}=i;let l;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]=Si(this._props[a])),(l||(l=Object.create(null)))[se(a)]=!0)}this._numberProps=l,this._resolveProps(i),this.shadowRoot&&this._applyStyles(r),this._mount(i)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(i=>{i.configureApp=this._def.configureApp,t(this._def=i,!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 i in s)F(this,i)||Object.defineProperty(this,i,{get:()=>Gi(s[i])})}_resolveProps(t){const{props:s}=t,i=A(s)?s:Object.keys(s||{});for(const n of Object.keys(this))n[0]!=="_"&&i.includes(n)&&this._setProp(n,this[n]);for(const n of i.map(se))Object.defineProperty(this,n,{get(){return this._getProp(n)},set(o){this._setProp(n,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let i=s?this.getAttribute(t):lo;const n=se(t);s&&this._numberProps&&this._numberProps[n]&&(i=Si(i)),this._setProp(n,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,i=!0,n=!1){if(s!==this._props[t]&&(this._dirty=!0,s===lo?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),n&&this._instance&&this._update(),i)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),s===!0?this.setAttribute(ge(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(ge(t),s+""):s||this.removeAttribute(ge(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Jl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=ye(this._def,Y(t,this._props));return this._instance||(s.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const n=(o,r)=>{this.dispatchEvent(new CustomEvent(o,Kt(r[0])?Y({detail:r},r[0]):{detail:r}))};i.emit=(o,...r)=>{n(o,r),ge(o)!==o&&n(ge(o),r)},this._setParent()}),s}_applyStyles(t,s,i){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const n=this._nonce,o=this.shadowRoot,r=i?this._getStyleAnchor(i)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let l=null;for(let a=t.length-1;a>=0;a--){const u=document.createElement("style");n&&u.setAttribute("nonce",n),u.textContent=t[a],o.insertBefore(u,l||r),l=u,a===0&&(i||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=i=>{const n=Yl(i);if(!n)return;const o=t._component;!M(o)&&!o.render&&!o.template&&(o.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const r=s(n,!1,Xl(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),r},t};function Xl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yl(e){return G(e)?document.querySelector(e):e}function Zl(e,t){const s=t;un(()=>{var l;const i=Wn();if(!i)return;const n=(l=i.proxy)==null?void 0:l.$el;if(!n)return;const o=n.getRootNode();if(!(o instanceof ShadowRoot)||o.querySelector(`style[data-shadow-styles="${s}"]`))return;const r=document.createElement("style");r.setAttribute("data-shadow-styles",s),r.textContent=e,o.appendChild(r)})}const uo={menu:'',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 Ql(e,t=""){const s=uo[e]||uo.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:999px;font:inherit;margin:0;transition:background .13s ease,color .13s ease}.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:999px;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;contain:layout paint}.vtl-host,.vtl-host-slot{position:absolute;top:0;right:0;bottom:0;left:0}.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-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-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[i,n]of t)s[i]=n;return s},jt={};function ta(e){return e?(jt[e]||(jt[e]=new Promise((t,s)=>{const i=document.createElement("script");i.src=e,i.onload=()=>t(),i.onerror=()=>{delete jt[e],s(new Error("failed to load "+e))},document.head.appendChild(i)})),jt[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,i)=>setTimeout(()=>i(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const ia=` +**/let un;const Qi=typeof window<"u"&&window.trustedTypes;if(Qi)try{un=Qi.createPolicy("vue",{createHTML:e=>e})}catch{}const er=un?e=>un.createHTML(e):e=>e,Cl="http://www.w3.org/2000/svg",Al="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,tr=We&&We.createElement("template"),Tl={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(Cl,e):t==="mathml"?We.createElementNS(Al,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,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{tr.innerHTML=er(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=tr.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},kl=Symbol("_vtc");function Ol(e,t,s){const n=e[kl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const bs=Symbol("_vod"),sr=Symbol("_vsh"),pn={name:"show",beforeMount(e,{value:t},{transition:s}){e[bs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Lt(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),Lt(e,!0),n.enter(e)):n.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[bs]:"none",e[sr]=!t}const Ml=Symbol(""),Rl=/(?:^|;)\s*display\s*:/;function Pl(e,t,s){const n=e.style,i=G(s);let r=!1;if(s&&!i){if(t)if(G(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Nt(n,l,"")}else for(const o in t)s[o]==null&&Nt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?Ll(e,o,!G(t)&&t?t[o]:void 0,l)||Nt(n,o,l):Nt(n,o,"")}}else if(i){if(t!==s){const o=n[Ml];o&&(s+=";"+o),n.cssText=s,r=Rl.test(s)}}else t&&e.removeAttribute("style");bs in e&&(e[bs]=r?n.display:"",e[sr]&&(n.display="none"))}const ys=/\s*!important$/;function Nt(e,t,s){if(k(s))s.forEach(n=>Nt(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=Il(e,t);ys.test(s)?e.setProperty(ge(n),s.replace(ys,""),"important"):e[n]=s}}const nr=["Webkit","Moz","ms"],hn={};function Il(e,t){const s=hn[t];if(s)return s;let n=se(t);if(n!=="filter"&&n in e)return hn[t]=n;n=qt(n);for(let i=0;ign||(Ul.then(()=>gn=0),gn=Date.now());function Bl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(k(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?Ol(e,n,o):t==="style"?Pl(e,s,n):Vt(t)?Bt(t)||Fl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kl(e,t,n,o))?(or(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rr(e,t,n,o,r,t!=="value")):e._isVueCE&&(zl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!G(n)))?or(e,se(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),rr(e,t,n,o))};function Kl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ar(t)&&M(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 ar(t)&&G(s)?!1:t in e}function zl(e,t){const s=e._def.props;if(!s)return!1;const n=se(t);return Array.isArray(s)?s.some(i=>se(i)===n):Object.keys(s).some(i=>se(i)===n)}const cr={};function ql(e,t,s){let n=Zs(e,t);Kt(n)&&(n=X({},n,t));class i extends vn{constructor(o){super(n,o,s)}}return i.def=n,i}const Gl=typeof HTMLElement<"u"?HTMLElement:class{};class vn extends Gl{constructor(t,s={},n=ur){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!==ur?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 vn){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,ti(()=>{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:r,styles:o}=n;let l;if(r&&!k(r))for(const a in r){const u=r[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=An(this._props[a])),(l||(l=Object.create(null)))[se(a)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),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:()=>Xn(s[n])})}_resolveProps(t){const{props:s}=t,n=k(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(se))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):cr;const i=se(t);s&&this._numberProps&&this._numberProps[i]&&(n=An(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===cr?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(ge(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(ge(t),s+""):s||this.removeAttribute(ge(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Yl(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=(r,o)=>{this.dispatchEvent(new CustomEvent(r,Kt(o[0])?X({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),ge(r)!==r&&i(ge(r),o)},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,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let a=t.length-1;a>=0;a--){const u=document.createElement("style");i&&u.setAttribute("nonce",i),u.textContent=t[a],r.insertBefore(u,l||o),l=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{dr().render(...e)},ur=(...e)=>{const t=dr().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Zl(n);if(!i)return;const r=t._component;!M(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Xl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Xl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zl(e){return G(e)?document.querySelector(e):e}function Ql(e,t){const s=t;hi(()=>{var l;const n=zi();if(!n)return;const i=(l=n.proxy)==null?void 0:l.$el;if(!i)return;const r=i.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${s}"]`))return;const o=document.createElement("style");o.setAttribute("data-shadow-styles",s),o.textContent=e,r.appendChild(o)})}const pr={menu:'',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 ea(e,t=""){const s=pr[e]||pr.map;return``}const ta=".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:999px;font:inherit;margin:0;transition:background .13s ease,color .13s ease}.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:999px;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;contain:layout paint}.vtl-host,.vtl-host-slot{position:absolute;top:0;right:0;bottom:0;left:0}.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-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-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}}",hr=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},jt={};function sa(e){return e?(jt[e]||(jt[e]=new Promise((t,s)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>{delete jt[e],s(new Error("failed to load "+e))},document.head.appendChild(n)})),jt[e]):Promise.resolve()}function na(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 ia=` /* 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 @@ -174,4 +174,4 @@ .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; } } -`,na=Ys({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(){Zl(ia,"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.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(i=>i.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 i=document.createElement(t.element),n=t.attrs||{};for(const o in n){const r=n[o],l=r!=null&&typeof r=="object"?JSON.stringify(r):String(r);try{i[o]=r}catch{}try{i.setAttribute(o,l)}catch{}}i.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",s.appendChild(i),this.hostState={...this.hostState,[e]:"ready"}}).catch(i=>{this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"error"},this.hostError={...this.hostError,[e]:i&&i.message||String(i)}}))},iconSvg(e){return e?Ql(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(n=>n.key===e),i=t??(s&&s.open===!0);this.folderOverride={...this.folderOverride,[e]:!i}},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 i=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")i=(s+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")i=(s-1+t.length)%t.length;else if(e.key==="Home")i=0;else if(e.key==="End")i=t.length-1;else return;e.preventDefault();const n=t[i];this.pick(n),this.$nextTick(()=>{const o=this._tabEls[n];o&&o.focus&&o.focus()})}}}),oa={key:0,class:"vtl-top"},ra=["aria-expanded"],la={class:"vtl-brand"},aa={class:"vtl-title"},ca={class:"vtl-meta"},fa=["aria-expanded"],da={class:"vtl-body"},ua=["aria-label","aria-hidden"],ha=["aria-expanded","aria-label"],pa=["innerHTML"],ga=["aria-expanded","onClick"],ma={class:"vtl-tl"},va=["innerHTML"],ba={key:1,class:"vtl-tier"},xa={key:0,class:"vtl-cap"},ya={class:"vtl-tl"},_a={key:1,class:"vtl-td"},wa={class:"vtl-rows"},Sa=["aria-selected","tabindex","onClick"],Ca=["innerHTML"],Ea={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},ka={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Ta={class:"vtl-tab-text"},Aa={class:"vtl-tab-label"},Oa={key:0,class:"vtl-tab-badge"},Ma={key:0,class:"vtl-tab-sub"},Ra=["innerHTML"],Pa=["aria-selected","tabindex","onClick"],Ia=["innerHTML"],La={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Na={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},ja={class:"vtl-tab-text"},Fa={class:"vtl-tab-label"},Da={key:0,class:"vtl-tab-sub"},$a={class:"vtl-main"},Ha={class:"vtl-content"},Va=["hidden"],Ua={key:0,class:"vtl-host-hint"},Ba={key:1,class:"vtl-host-hint err"};function Wa(e,t,s,i,n,o){return I(),L("div",{class:ze(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}])},[e.header?(I(),L("header",oa,[P("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=r=>e.navOpen=!e.navOpen),"aria-label":"Toggle list"},"☰",8,ra),P("span",la,[cs(e.$slots,"brand")]),P("b",aa,K(e.title),1),P("span",ca,[cs(e.$slots,"meta")])])):_e("",!0),e.narrow&&!e.header&&!e.navOpen?(I(),L("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=r=>e.navOpen=!0),"aria-label":"Open the list of views"},"☰",8,fa)):_e("",!0),P("div",da,[P("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:"tablist","aria-orientation":"vertical"},[P("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?"Expand list":"Collapse list",onClick:t[2]||(t[2]=(...r)=>e.toggleRail&&e.toggleRail(...r))},[P("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,pa),t[5]||(t[5]=P("span",{class:"vtl-collapse-tx"},"Collapse",-1))],8,ha),e.groups&&e.groups.length?(I(!0),L(ee,{key:0},dt(e.groups,r=>(I(),L("div",{class:"vtl-grp",key:r.key},[r.folder?(I(),L("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(r)),onClick:l=>e.toggleFolder(r.key)},[P("span",ma,K(r.label),1),P("span",{class:ze(["vtl-chev",{open:!e.isFolderClosed(r)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,va)],8,ga)):(I(),L("div",ba,[r.badge?(I(),L("span",xa,K(r.badge),1)):_e("",!0),P("span",ya,K(r.label),1),r.count!=null?(I(),L("span",_a,K(r.count),1)):_e("",!0)])),qs(P("div",wa,[(I(!0),L(ee,null,dt(r.rows,l=>(I(),L("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:a=>e.registerTab(l.key,a),onClick:a=>e.pick(l.key),onKeydown:t[3]||(t[3]=a=>e.onKey(a))},[l.icon?(I(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Ca)):l.emoji?(I(),L("span",Ea,K(l.emoji),1)):(I(),L("span",ka,K(e.initial(l.label)),1)),P("span",Ta,[P("span",Aa,[Mt(K(l.label),1),l.badge?(I(),L("span",Oa,K(l.badge),1)):_e("",!0)]),l.sub?(I(),L("span",Ma,[P("span",{innerHTML:l.sub},null,8,Ra)])):_e("",!0)])],42,Sa))),128))],512),[[di,!r.folder||!e.isFolderClosed(r)]])]))),128)):(I(!0),L(ee,{key:1},dt(e.items,r=>(I(),L("button",{key:r.key,type:"button",role:"tab",class:ze(["vtl-tab",{active:r.key===e.active}]),"aria-selected":String(r.key===e.active),tabindex:r.key===e.active?0:-1,ref_for:!0,ref:l=>e.registerTab(r.key,l),onClick:l=>e.pick(r.key),onKeydown:t[4]||(t[4]=l=>e.onKey(l))},[r.icon?(I(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(r.icon)},null,8,Ia)):r.emoji?(I(),L("span",La,K(r.emoji),1)):(I(),L("span",Na,K(e.initial(r.label)),1)),P("span",ja,[P("span",Fa,K(r.label),1),r.sub?(I(),L("span",Da,K(r.sub),1)):_e("",!0)])],42,Pa))),128))],8,ua),P("main",$a,[e.header?cs(e.$slots,"toolbar",{},void 0,void 0,0):_e("",!0),P("div",Ha,[(I(!0),L(ee,null,dt(e.mountedElementRows,r=>qs((I(),L("section",{key:r.key,class:"vtl-host",hidden:r.key!==e.active},[P("div",{class:"vtl-host-slot",ref_for:!0,ref:l=>e.setHostSlot(r.key,l)},null,512),e.hostState[r.key]==="loading"?(I(),L("div",Ua,"Loading "+K(r.label)+"…",1)):e.hostState[r.key]==="error"?(I(),L("div",Ba,[Mt(" Could not load "+K(r.label)+".",1),t[6]||(t[6]=P("br",null,null,-1)),P("small",null,K(e.hostError[r.key]),1)])):_e("",!0)],8,Va)),[[di,r.key===e.active]])),128)),cs(e.$slots,"default")])])])],2)}const Ka=ho(na,[["render",Wa],["styles",[ea]]]),gi=[{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}],za=gi.filter(e=>!e.hideFromSwitcher);function qa(e){return gi.find(t=>t.code===e)}function po(e){const t=String(e||"").split("-")[0].toLowerCase();return gi.some(s=>s.code===t)?t:"en"}const go="doxa-maps:locale";function Ga(){try{const e=localStorage.getItem(go);if(e)return po(e)}catch{}return po(navigator==null?void 0:navigator.language)}function Ja(e){try{localStorage.setItem(go,e)}catch{}}const Xa=".dms-pane,.dms-slot{position:absolute;top:0;right:0;bottom:0;left:0}.dms-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;display:block;background:#f3f3f1}.dms-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}.dms-hint.err{color:#f87171}.dms-hint small{color:var(--dx-muted, #6d766e)}.dms-logo{display:inline-flex;align-items:center}.dms-logo svg{display:block}.dms-locale{position:relative;padding:8px 12px 0;display:flex;justify-content:flex-end}.dms-locale-btn{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.dms-locale-btn:hover{background:#d1d4cd}.dms-flag{font-size:14px;line-height:1}.dms-locale-name{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dms-dots{color:#6d766e;margin-left:2px}.dms-locale-menu{position:absolute;top:100%;right:12px;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}.dms-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}.dms-locale-opt:hover,.dms-locale-opt.active{background:#d1d4cd;color:#3b463d}.dms-locale-opt.active .dms-locale-name{color:#92b195}.dms-locale-en{margin-left:auto;font-size:11px;color:#6d766e}",mo=[{key:"prayer-mobilization",label:"Prayer Mobilization",icon:"heart",tabs:[{id:"dashboard-plus-grid",icon:"chart",onlyWhen:"desktop"},{id:"research-map-plus-grid",icon:"map",onlyWhen:"mobile"},{id:"upg-100",icon:"list"},{id:"prayer-map",icon:"embed"},{id:"gospel-resources",icon:"book"}]},{key:"research",label:"Research",icon:"search",tabs:[{id:"cities-internet",icon:"wifi"},{id:"gospel-resources",icon:"book"},{id:"research-map",icon:"map"}]},{key:"experimental",label:"Experimental",icon:"flask",folder:!0,open:!1,tabs:[]}],Ya=new Set(["doxa-maps-spa","plugin-studio","template-bundle","people-groups-grid","research-dashboard","big-picture"]),vo=[{id:"dashboard-plus-grid",label:"Big Picture",sub:"dashboard + people-groups grid, stacked",emoji:"🌍",mode:"iframe",tag:"dashboard-plus-grid",leaf:"dashboard-plus-grid/dashboard-plus-grid/index.html"},{id:"research-map",label:"Research Map",sub:"prayer · engagement · regions",emoji:"🗺️",mode:"iframe",tag:"doxa-research-map",leaf:"doxa-research-map/research-map/index.html"},{id:"research-map-plus-grid",label:"Research Map",sub:"research map + people-groups grid",emoji:"🗺️",mode:"iframe",tag:"research-map-plus-grid",leaf:"research-map-plus-grid/research-map-plus-grid/index.html"},{id:"prayer-map",label:"Prayer Progress",sub:"simple world prayer map",emoji:"🙏",mode:"iframe",tag:"doxa-simple-map",leaf:"doxa-simple-map/doxa-simple-map/prayer/index.html"},{id:"cities-internet",label:"Cities & Internet",sub:"connectivity of key cities",emoji:"📡",mode:"iframe",tag:"cities-internet-map",leaf:"cities-internet/connectivity-map/index.html"},{id:"gospel-resources",label:"Gospel Resources",sub:"resources by place",emoji:"📖",mode:"iframe",tag:"gospel-resources-map",leaf:"gospel-resources/resources-map/index.html"},{id:"upg-100",label:"UPG-100 List",sub:"my unreached list + posters",emoji:"📋",mode:"iframe",tag:"my-upg-100-list-map",leaf:"my-upg-100-list/upg-100-mfe/index.html"}];function Za(){const e=Object.fromEntries(vo.map(s=>[s.id,s])),t=new Set;for(const s of mo)if(s.key!=="experimental")for(const i of s.tabs||[]){const n=e[i.id];n&&t.add(n.bundle||String(n.leaf).split("/")[0])}return t}function bo(e,t){const s=[];for(const i of e)!i||t.has(i.key)||(t.add(i.key),s.push(i));return s}function Qa(e){return String(e).split(/[-_]/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function ec(e){const t=Za(),s=e&&Array.isArray(e.bundles)?e.bundles:[],i=[];for(const n of s){const o=n&&n.bundle;if(!o||t.has(o)||Ya.has(o))continue;const r=Array.isArray(n.profiles)?n.profiles:[];if(!r.length)continue;const l=r.find(u=>u.isMap)||r.find(u=>u.profile===o)||r[0],a=String(l.iframeUrl||"").replace(/^\.\//,"");a&&i.push({id:o,label:l.title||Qa(o),sub:(l.description||"").trim().replace(/[,;]\s*$/,"")||"experimental bundle",emoji:"🧪",mode:"iframe",tag:Array.isArray(n.elements)&&n.elements[0]||o,bundle:o,leaf:a,discovered:!0})}return i.sort((n,o)=>n.label.localeCompare(o.label)),i}const Ft={};function tc(e,t){return Ft[e]||(Ft[e]=new Promise((s,i)=>{const n=document.createElement("script");n.src=e,n.onload=()=>s(),n.onerror=()=>{delete Ft[e],i(new Error("failed to load "+e))},document.head.appendChild(n)})),Ft[e]}const sc=Ys({name:"DoxaMapsSpa",components:{VerticalTabsLayout:Ka},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},title:{type:String,default:"DX-Maps"},tokenUrl:{type:String,default:""},tk:{type:String,default:""},language:{type:String,default:""}},setup(){return{injectedBase:Ct("dmsTreeBase","")}},data(){return{activeIndex:0,showHeader:!1,narrow:!1,_mql:null,_onMedia:null,locale:Ga(),localeOpen:!1,switcherLangs:za,tabs:vo.map(e=>({...e,loaded:!1,mounted:!1,state:"idle",error:"",src:""}))}},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(/\/+$/,"")+"/":""},navGroups(){const e=Object.fromEntries(this.tabs.map(s=>[s.id,s])),t=new Set;return mo.map(s=>{let i=bo((s.tabs||[]).filter(n=>!n.onlyWhen||n.onlyWhen===(this.narrow?"mobile":"desktop")).filter(n=>e[n.id]).map(n=>{const o=e[n.id];return{key:o.id,label:o.label,sub:o.sub,icon:n.icon,badge:n.badge}}),t);return s.key==="experimental"&&(i=i.concat(bo(this.tabs.filter(n=>n.discovered).map(n=>({key:n.id,label:n.label,sub:n.sub,icon:"flask",badge:"lab"})),t))),{key:s.key,label:s.label,icon:s.icon,folder:!!s.folder,open:s.open,rows:i}}).filter(s=>s.rows.length)},showLocaleSwitcher(){return this.showHeader},activeLang(){return qa(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}},effectiveLocale(){return((this.language||this.cfg.language||this.cfg.locale||this.cfg.lang||"").trim()||this.locale||"").split("-")[0].toLowerCase()},activeKey(){const e=this.tabs[this.activeIndex];return e?e.id:""}},mounted(){this.watchWidth(),this.select(this.firstVisibleIndex()),this.loadExperimental()},beforeUnmount(){!this._mql||!this._onMedia||(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia),this._mql=null,this._onMedia=null)},watch:{effectiveLocale(e){const t=this.tabs[this.activeIndex];if(t){if(t.mode==="iframe"&&t.loaded)t.src=this.withToken(this.resolve(t.leaf));else if(t.mode==="element"&&t.mounted)try{const s=this._slots&&this._slots[this.activeIndex],i=s&&s.firstElementChild;if(i&&i.setAttribute){const n={profile:t.id,instanceId:"dms-"+t.id};e&&(n.locale=e),(this.tk||this.cfg.tk)&&(n.tk=this.tk||this.cfg.tk),i.setAttribute("profile-config",JSON.stringify(n))}}catch{}}}},methods:{setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},watchWidth(){typeof window>"u"||!window.matchMedia||(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this._onMedia=e=>{const t=this.narrow;this.narrow=!!e.matches,t!==this.narrow&&(this.isVisibleId(this.activeKey)||this.select(this.firstVisibleIndex()))},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))},isVisibleId(e){return this.navGroups.some(t=>t.rows.some(s=>s.key===e))},firstVisibleIndex(){for(const e of this.navGroups)for(const t of e.rows){const s=this.tabs.findIndex(i=>i.id===t.key);if(s>=0)return s}return 0},loadExperimental(){const e=this.resolve("manifest.json");try{fetch(e,{credentials:"omit"}).then(t=>t&&t.ok?t.json():null).then(t=>{if(!t)return;const s=ec(t);if(!s.length)return;const i=new Set(this.tabs.map(n=>n.id));for(const n of s)i.has(n.id)||this.tabs.push({...n,loaded:!1,mounted:!1,state:"idle",error:"",src:""})}).catch(()=>{})}catch{}},setLocale(e){this.locale=e,this.localeOpen=!1,Ja(e)},onSelect(e){const t=this.tabs.findIndex(s=>s.id===e);t!==-1&&this.select(t)},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},select(e){this.activeIndex=e;const t=this.tabs[e];t&&(t.mode==="iframe"?t.loaded||(t.src=this.withToken(this.resolve(t.leaf)),t.loaded=!0):t.mode==="element"&&(t.mounted||this.mountElement(e)))},withToken(e){const t=(this.tokenUrl||this.cfg.tokenUrl||"").trim(),s=(this.tk||this.cfg.tk||"").trim(),i=[];s?i.push("tk="+encodeURIComponent(s)):t&&i.push("tokenUrl="+encodeURIComponent(t));const n=this.effectiveLocale;return n&&i.push("locale="+encodeURIComponent(n)),i.length?e+(e.indexOf("?")===-1?"?":"&")+i.join("&"):e},mountElement(e){const t=this.tabs[e];t.mounted=!0,t.state="loading";const s=this.resolve(t.bundleJs);tc(s).then(()=>{const i=this._slots&&this._slots[e];if(!i){t.state="error",t.error="no slot";return}i.innerHTML="";const n=document.createElement(t.tag),o={profile:t.id,instanceId:"dms-"+t.id};this.effectiveLocale&&(o.locale=this.effectiveLocale),(this.tk||this.cfg.tk)&&(o.tk=this.tk||this.cfg.tk),n.setAttribute("profile-config",JSON.stringify(o)),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",i.appendChild(n),t.state="ready"}).catch(i=>{t.state="error",t.error=i&&i.message||String(i)})}}}),ic={class:"dms-locale"},nc=["aria-expanded"],oc={class:"dms-flag"},rc={class:"dms-locale-name"},lc={key:0,class:"dms-locale-menu",role:"listbox"},ac=["aria-selected"],cc=["onClick"],fc={class:"dms-flag"},dc={class:"dms-locale-name"},uc={class:"dms-locale-en"},hc=["hidden"],pc={key:0,class:"dms-hint"},gc={key:1,class:"dms-hint err"},mc=["src","title"];function vc(e,t,s,i,n,o){const r=Ir("VerticalTabsLayout");return I(),hs(r,{title:e.title,"nav-label":"Research maps",header:e.showHeader,groups:e.navGroups,active:e.activeKey,"onUpdate:active":e.onSelect},jr({brand:St(()=>[t[1]||(t[1]=P("span",{class:"dms-logo","aria-hidden":"true"},[P("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[P("circle",{cx:"12",cy:"12",r:"9"}),P("polygon",{points:"12 6 14 12 12 18 10 12",fill:"#92b195",stroke:"none"}),P("polygon",{points:"6 12 12 10 18 12 12 14",fill:"#92b195",opacity:"0.55",stroke:"none"})])],-1))]),meta:St(()=>[Mt(K(e.tabs.length)+" maps",1)]),default:St(()=>[(I(!0),L(ee,null,dt(e.tabs,(l,a)=>qs((I(),L("section",{key:l.id,class:"dms-pane",hidden:a!==e.activeIndex},[l.mode==="element"?(I(),L(ee,{key:0},[P("div",{class:"dms-slot",ref_for:!0,ref:u=>e.setSlot(a,u)},null,512),l.state==="loading"?(I(),L("div",pc,"Loading "+K(l.label)+"…",1)):l.state==="error"?(I(),L("div",gc,[Mt(" Could not load "+K(l.label)+".",1),t[3]||(t[3]=P("br",null,null,-1)),P("small",null,K(l.error),1)])):_e("",!0)],64)):(I(),L("iframe",{key:1,class:"dms-frame",src:l.loaded?l.src:"about:blank",title:l.label,loading:"lazy",allowfullscreen:"",referrerpolicy:"no-referrer-when-downgrade"},null,8,mc))],8,hc)),[[di,a===e.activeIndex]])),128))]),_:2},[e.showLocaleSwitcher?{name:"toolbar",fn:St(()=>[P("div",ic,[P("button",{type:"button",class:"dms-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":"Change language",onClick:t[0]||(t[0]=l=>e.localeOpen=!e.localeOpen)},[P("span",oc,K(e.activeLang.flag),1),P("span",rc,K(e.activeLang.nativeName),1),t[2]||(t[2]=P("span",{class:"dms-dots","aria-hidden":"true"},"⋮",-1))],8,nc),e.localeOpen?(I(),L("ul",lc,[(I(!0),L(ee,null,dt(e.switcherLangs,l=>(I(),L("li",{key:l.code,role:"option","aria-selected":String(l.code===e.locale)},[P("button",{type:"button",class:ze(["dms-locale-opt",{active:l.code===e.locale}]),onClick:a=>e.setLocale(l.code)},[P("span",fc,K(l.flag),1),P("span",dc,K(l.nativeName),1),P("span",uc,K(l.name),1)],10,cc)],8,ac))),128))])):_e("",!0)])]),key:"0"}:void 0]),1032,["title","header","groups","active","onUpdate:active"])}const bc=ho(sc,[["render",vc],["styles",[Xa]]]);function xc(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const yc=xc(),_c=zl(bc,{configureApp(e){e.provide("dmsTreeBase",yc)}});typeof customElements<"u"&&!customElements.get("doxa-maps-spa")&&customElements.define("doxa-maps-spa",_c)})(); +`,ra=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(){Ql(ia,"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.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"},sa(t.src).then(()=>na(t.element)).then(()=>{s.innerHTML="";const n=document.createElement(t.element),i=t.attrs||{};for(const r in i){const o=i[r],l=o!=null&&typeof o=="object"?JSON.stringify(o):String(o);try{n[r]=o}catch{}try{n.setAttribute(r,l)}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?ea(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}},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 r=this._tabEls[i];r&&r.focus&&r.focus()})}}}),oa={key:0,class:"vtl-top"},la=["aria-expanded"],aa={class:"vtl-brand"},ca={class:"vtl-title"},fa={class:"vtl-meta"},da=["aria-expanded"],ua={class:"vtl-body"},pa=["aria-label","aria-hidden"],ha=["aria-expanded","aria-label"],ga=["innerHTML"],va=["aria-expanded","onClick"],ma={class:"vtl-tl"},ba=["innerHTML"],ya={key:1,class:"vtl-tier"},xa={key:0,class:"vtl-cap"},_a={class:"vtl-tl"},wa={key:1,class:"vtl-td"},Sa={class:"vtl-rows"},Ea=["aria-selected","tabindex","onClick"],Ca=["innerHTML"],Aa={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Ta={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},ka={class:"vtl-tab-text"},Oa={class:"vtl-tab-label"},Ma={key:0,class:"vtl-tab-badge"},Ra={key:0,class:"vtl-tab-sub"},Pa=["innerHTML"],Ia=["aria-selected","tabindex","onClick"],La=["innerHTML"],Na={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},ja={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Fa={class:"vtl-tab-text"},Da={class:"vtl-tab-label"},$a={key:0,class:"vtl-tab-sub"},Ha={class:"vtl-main"},Ua={class:"vtl-content"},Va=["hidden"],Ba={key:0,class:"vtl-host-hint"},Wa={key:1,class:"vtl-host-hint err"};function Ka(e,t,s,n,i,r){return I(),L("div",{class:ze(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}])},[e.header?(I(),L("header",oa,[P("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=o=>e.navOpen=!e.navOpen),"aria-label":"Toggle list"},"☰",8,la),P("span",aa,[cs(e.$slots,"brand")]),P("b",ca,K(e.title),1),P("span",fa,[cs(e.$slots,"meta")])])):ve("",!0),e.narrow&&!e.header&&!e.navOpen?(I(),L("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=o=>e.navOpen=!0),"aria-label":"Open the list of views"},"☰",8,da)):ve("",!0),P("div",ua,[P("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:"tablist","aria-orientation":"vertical"},[P("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?"Expand list":"Collapse list",onClick:t[2]||(t[2]=(...o)=>e.toggleRail&&e.toggleRail(...o))},[P("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,ga),t[5]||(t[5]=P("span",{class:"vtl-collapse-tx"},"Collapse",-1))],8,ha),e.groups&&e.groups.length?(I(!0),L(ee,{key:0},dt(e.groups,o=>(I(),L("div",{class:"vtl-grp",key:o.key},[o.folder?(I(),L("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(o)),onClick:l=>e.toggleFolder(o.key)},[P("span",ma,K(o.label),1),P("span",{class:ze(["vtl-chev",{open:!e.isFolderClosed(o)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,ba)],8,va)):(I(),L("div",ya,[o.badge?(I(),L("span",xa,K(o.badge),1)):ve("",!0),P("span",_a,K(o.label),1),o.count!=null?(I(),L("span",wa,K(o.count),1)):ve("",!0)])),Gs(P("div",Sa,[(I(!0),L(ee,null,dt(o.rows,l=>(I(),L("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:a=>e.registerTab(l.key,a),onClick:a=>e.pick(l.key),onKeydown:t[3]||(t[3]=a=>e.onKey(a))},[l.icon?(I(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Ca)):l.emoji?(I(),L("span",Aa,K(l.emoji),1)):(I(),L("span",Ta,K(e.initial(l.label)),1)),P("span",ka,[P("span",Oa,[Mt(K(l.label),1),l.badge?(I(),L("span",Ma,K(l.badge),1)):ve("",!0)]),l.sub?(I(),L("span",Ra,[P("span",{innerHTML:l.sub},null,8,Pa)])):ve("",!0)])],42,Ea))),128))],512),[[pn,!o.folder||!e.isFolderClosed(o)]])]))),128)):(I(!0),L(ee,{key:1},dt(e.items,o=>(I(),L("button",{key:o.key,type:"button",role:"tab",class:ze(["vtl-tab",{active:o.key===e.active}]),"aria-selected":String(o.key===e.active),tabindex:o.key===e.active?0:-1,ref_for:!0,ref:l=>e.registerTab(o.key,l),onClick:l=>e.pick(o.key),onKeydown:t[4]||(t[4]=l=>e.onKey(l))},[o.icon?(I(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(o.icon)},null,8,La)):o.emoji?(I(),L("span",Na,K(o.emoji),1)):(I(),L("span",ja,K(e.initial(o.label)),1)),P("span",Fa,[P("span",Da,K(o.label),1),o.sub?(I(),L("span",$a,K(o.sub),1)):ve("",!0)])],42,Ia))),128))],8,pa),P("main",Ha,[e.header?cs(e.$slots,"toolbar",{},void 0,void 0,0):ve("",!0),P("div",Ua,[(I(!0),L(ee,null,dt(e.mountedElementRows,o=>Gs((I(),L("section",{key:o.key,class:"vtl-host",hidden:o.key!==e.active},[P("div",{class:"vtl-host-slot",ref_for:!0,ref:l=>e.setHostSlot(o.key,l)},null,512),e.hostState[o.key]==="loading"?(I(),L("div",Ba,"Loading "+K(o.label)+"…",1)):e.hostState[o.key]==="error"?(I(),L("div",Wa,[Mt(" Could not load "+K(o.label)+".",1),t[6]||(t[6]=P("br",null,null,-1)),P("small",null,K(e.hostError[o.key]),1)])):ve("",!0)],8,Va)),[[pn,o.key===e.active]])),128)),cs(e.$slots,"default")])])])],2)}const za=hr(ra,[["render",Ka],["styles",[ta]]]),mn=[{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=mn.filter(e=>!e.hideFromSwitcher);function Ga(e){return mn.find(t=>t.code===e)}function gr(e){const t=String(e||"").split("-")[0].toLowerCase();return mn.some(s=>s.code===t)?t:"en"}const vr="doxa-maps:locale";function Ja(){try{const e=localStorage.getItem(vr);if(e)return gr(e)}catch{}return gr(navigator==null?void 0:navigator.language)}function Ya(e){try{localStorage.setItem(vr,e)}catch{}}const Xa=".dms-pane,.dms-slot{position:absolute;top:0;right:0;bottom:0;left:0}.dms-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}.dms-hint.err{color:#f87171}.dms-hint small{color:var(--dx-muted, #6d766e)}.dms-logo{display:inline-flex;align-items:center}.dms-logo svg{display:block}.dms-locale{position:relative;padding:8px 12px 0;display:flex;justify-content:flex-end}.dms-locale-btn{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.dms-locale-btn:hover{background:#d1d4cd}.dms-flag{font-size:14px;line-height:1}.dms-locale-name{max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dms-dots{color:#6d766e;margin-left:2px}.dms-locale-menu{position:absolute;top:100%;right:12px;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}.dms-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}.dms-locale-opt:hover,.dms-locale-opt.active{background:#d1d4cd;color:#3b463d}.dms-locale-opt.active .dms-locale-name{color:#92b195}.dms-locale-en{margin-left:auto;font-size:11px;color:#6d766e}",mr=[{key:"prayer-mobilization",label:"Prayer Mobilization",icon:"heart",tabs:[{id:"dashboard-plus-grid",icon:"chart",onlyWhen:"desktop"},{id:"research-map-plus-grid",icon:"map",onlyWhen:"mobile"},{id:"upg-100",icon:"list"},{id:"prayer-map",icon:"embed"},{id:"gospel-resources",icon:"book"}]},{key:"research",label:"Research",icon:"search",tabs:[{id:"cities-internet",icon:"wifi"},{id:"gospel-resources",icon:"book"},{id:"research-map",icon:"map"}]},{key:"experimental",label:"Experimental",icon:"flask",folder:!0,open:!1,tabs:[]}],Za=new Set(["doxa-maps-spa","plugin-studio","template-bundle","people-groups-grid","research-dashboard","big-picture"]),bn=[{id:"dashboard-plus-grid",label:"Big Picture",sub:"dashboard + people-groups grid, stacked",emoji:"🌍",bundle:"dashboard-plus-grid",profile:"dashboard-plus-grid"},{id:"research-map",label:"Research Map",sub:"prayer · engagement · regions",emoji:"🗺️",bundle:"doxa-research-map",profile:"research-map"},{id:"research-map-plus-grid",label:"Research Map",sub:"research map + people-groups grid",emoji:"🗺️",bundle:"research-map-plus-grid",profile:"research-map-plus-grid"},{id:"prayer-map",label:"Prayer Progress",sub:"simple world prayer map",emoji:"🙏",bundle:"doxa-simple-map",profile:"doxa-simple-map",instance:"prayer"},{id:"cities-internet",label:"Cities & Internet",sub:"connectivity of key cities",emoji:"📡",bundle:"cities-internet",profile:"connectivity-map"},{id:"gospel-resources",label:"Gospel Resources",sub:"resources by place",emoji:"📖",bundle:"gospel-resources",profile:"resources-map"},{id:"upg-100",label:"UPG-100 List",sub:"my unreached list + posters",emoji:"📋",bundle:"my-upg-100-list",profile:"upg-100-mfe"}],xs=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"]);function Qa(){const e=Object.fromEntries(bn.map(s=>[s.id,s])),t=new Set;for(const s of mr)if(s.key!=="experimental")for(const n of s.tabs||[]){const i=e[n.id];i&&i.bundle&&t.add(i.bundle)}return t}function br(e,t){const s=[];for(const n of e)!n||t.has(n.key)||(t.add(n.key),s.push(n));return s}function ec(e){return String(e).split(/[-_]/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function tc(e){const t=Qa(),s=e&&Array.isArray(e.bundles)?e.bundles:[],n=[];for(const i of s){const r=i&&i.bundle;if(!r||t.has(r)||Za.has(r))continue;const o=Array.isArray(i.profiles)?i.profiles:[];if(!o.length)continue;const l=o.find(d=>d.isMap)||o.find(d=>d.profile===r)||o[0],a=l.element||Array.isArray(i.elements)&&i.elements[0]||r,u=i.scriptUrl||l.scriptUrl||"";u&&n.push({id:r,label:l.title||ec(r),sub:(l.description||"").trim().replace(/[,;]\s*$/,"")||"experimental bundle",emoji:"🧪",tag:a,bundle:r,profile:l.profile||r,scriptUrl:u,heavy:xs.has(a)||xs.has(r),discovered:!0})}return n.sort((i,r)=>i.label.localeCompare(r.label)),n}function sc(e,t){const s=e&&Array.isArray(e.bundles)?e.bundles:[],n=Object.fromEntries(s.map(r=>[r.bundle,r])),i={};for(const r of t){const o=n[r.bundle];if(!o)continue;const l=Array.isArray(o.profiles)?o.profiles:[],a=l.find(E=>E.profile===r.profile)||l[0],u=a&&a.element||Array.isArray(o.elements)&&o.elements[0]||r.bundle,d=o.scriptUrl||a&&a.scriptUrl||"";if(!d)continue;const h=a&&Array.isArray(a.instances)?a.instances:[],S=!!(r.instance&&h.some(E=>(E&&(E.id||E.instance))===r.instance));i[r.id]={tag:u,scriptUrl:d,profile:a&&a.profile||r.profile,instance:S?r.instance:"",heavy:xs.has(u)||xs.has(r.bundle)}}return i}const Ft={};function nc(e,t){return Ft[e]||(Ft[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 Ft[e],n(new Error("failed to load "+e))},document.head.appendChild(i)})),Ft[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 rc=Zs({name:"DoxaMapsSpa",components:{VerticalTabsLayout:za},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},heading:{type:String,default:"DX-Maps"},tokenUrl:{type:String,default:""},tk:{type:String,default:""},language:{type:String,default:""}},setup(){return{injectedBase:Et("dmsTreeBase","")}},data(){return{activeIndex:0,showHeader:!1,narrow:!1,_mql:null,_onMedia:null,locale:Ja(),localeOpen:!1,switcherLangs:qa,tabs:bn.map(e=>({...e,tag:"",scriptUrl:"",heavy:!1,resolved:!1,mounted:!1,state:"idle",error:""}))}},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(/\/+$/,"")+"/":""},navGroups(){const e=Object.fromEntries(this.tabs.map(s=>[s.id,s])),t=new Set;return mr.map(s=>{let n=br((s.tabs||[]).filter(i=>!i.onlyWhen||i.onlyWhen===(this.narrow?"mobile":"desktop")).filter(i=>e[i.id]).map(i=>{const r=e[i.id];return{key:r.id,label:r.label,sub:r.sub,icon:i.icon,badge:i.badge}}),t);return s.key==="experimental"&&(n=n.concat(br(this.tabs.filter(i=>i.discovered).map(i=>({key:i.id,label:i.label,sub:i.sub,icon:"flask",badge:"lab"})),t))),{key:s.key,label:s.label,icon:s.icon,folder:!!s.folder,open:s.open,rows:n}}).filter(s=>s.rows.length)},showLocaleSwitcher(){return this.showHeader},activeLang(){return Ga(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}},effectiveLocale(){return((this.language||this.cfg.language||this.cfg.locale||this.cfg.lang||"").trim()||this.locale||"").split("-")[0].toLowerCase()},activeKey(){const e=this.tabs[this.activeIndex];return e?e.id:""}},mounted(){this.watchWidth(),this.select(this.firstVisibleIndex()),this.loadManifest()},beforeUnmount(){!this._mql||!this._onMedia||(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia),this._mql=null,this._onMedia=null)},watch:{effectiveLocale(e){const t=this.tabs[this.activeIndex];if(!(!t||!t.mounted))try{const s=this._slots&&this._slots[this.activeIndex],n=s&&s.firstElementChild;if(n&&n.setAttribute){const i={profile:t.profile||t.id,instanceId:"dms-"+t.id};t.instance&&(i.instanceId=t.instance),e&&(i.locale=e),(this.tk||this.cfg.tk)&&(i.tk=this.tk||this.cfg.tk),(this.tokenUrl||this.cfg.tokenUrl)&&(i.tokenUrl=this.tokenUrl||this.cfg.tokenUrl),this.base&&(i.treeBase=this.base),n.setAttribute("profile-config",JSON.stringify(i))}}catch{}}},methods:{setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},watchWidth(){typeof window>"u"||!window.matchMedia||(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this._onMedia=e=>{const t=this.narrow;this.narrow=!!e.matches,t!==this.narrow&&(this.isVisibleId(this.activeKey)||this.select(this.firstVisibleIndex()))},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))},isVisibleId(e){return this.navGroups.some(t=>t.rows.some(s=>s.key===e))},firstVisibleIndex(){for(const e of this.navGroups)for(const t of e.rows){const s=this.tabs.findIndex(n=>n.id===t.key);if(s>=0)return s}return 0},loadManifest(){const e=this.resolve("manifest.json");try{fetch(e,{credentials:"omit"}).then(t=>t&&t.ok?t.json():null).then(t=>{t&&this.applyManifest(t)}).catch(()=>{})}catch{}},applyManifest(e){const t=sc(e,bn),s=this.activeKey,n=[];for(const o of this.tabs){if(o.discovered){n.push(o);continue}const l=t[o.id];l&&(Object.assign(o,l,{resolved:!0}),n.push(o))}const i=new Set(n.map(o=>o.id));for(const o of tc(e))i.has(o.id)||n.push({...o,resolved:!0,mounted:!1,state:"idle",error:""});this.tabs=n;const r=this.tabs.findIndex(o=>o.id===s);this.select(r>=0?r:this.firstVisibleIndex())},setLocale(e){this.locale=e,this.localeOpen=!1,Ya(e)},onSelect(e){const t=this.tabs.findIndex(s=>s.id===e);t!==-1&&this.select(t)},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},select(e){const t=this.activeIndex;if(this.activeIndex=e,t!==e&&t>=0){const n=this.tabs[t];n&&n.heavy&&n.mounted&&this.releaseTab(t,n)}const s=this.tabs[e];s&&s.scriptUrl&&(s.mounted||this.$nextTick(()=>{this.activeIndex===e&&this.mountElement(e)}))},releaseTab(e,t){try{const s=this._slots&&this._slots[e];s&&(s.innerHTML="")}catch{}this._slots&&delete this._slots[e],t.mounted=!1,t.state="idle",t.error=""},mountElement(e){const t=this.tabs[e];t.mounted=!0,t.state="loading";const s=this.resolve(t.scriptUrl);nc(s).then(()=>ic(t.tag)).then(()=>{try{if(t.heavy&&this.activeIndex!==e){t.mounted=!1,t.state="idle";return}const n=this._slots&&this._slots[e];if(!n){t.state="error",t.error="no slot";return}n.innerHTML="";const i=document.createElement(t.tag),r={profile:t.profile||t.id,instanceId:"dms-"+t.id};t.instance&&(r.instanceId=t.instance),this.effectiveLocale&&(r.locale=this.effectiveLocale),(this.tk||this.cfg.tk)&&(r.tk=this.tk||this.cfg.tk),(this.tokenUrl||this.cfg.tokenUrl)&&(r.tokenUrl=this.tokenUrl||this.cfg.tokenUrl),this.base&&(r.treeBase=this.base),i.setAttribute("profile-config",JSON.stringify(r)),this.base&&i.setAttribute("tree-base",this.base.replace(/\/+$/,"")),i.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",n.appendChild(i),t.state="ready"}catch(n){t.state="error",t.error="mount failed: "+(n&&n.message||String(n))}}).catch(n=>{t.state="error",t.error=n&&n.message||String(n)})}}}),oc={class:"dms-locale"},lc=["aria-expanded"],ac={class:"dms-flag"},cc={class:"dms-locale-name"},fc={key:0,class:"dms-locale-menu",role:"listbox"},dc=["aria-selected"],uc=["onClick"],pc={class:"dms-flag"},hc={class:"dms-locale-name"},gc={class:"dms-locale-en"},vc=["hidden"],mc={key:0,class:"dms-hint"},bc={key:1,class:"dms-hint err"};function yc(e,t,s,n,i,r){const o=Lo("VerticalTabsLayout");return I(),ps(o,{title:e.heading,"nav-label":"Research maps",header:e.showHeader,groups:e.navGroups,active:e.activeKey,"onUpdate:active":e.onSelect},Fo({brand:St(()=>[t[1]||(t[1]=P("span",{class:"dms-logo","aria-hidden":"true"},[P("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[P("circle",{cx:"12",cy:"12",r:"9"}),P("polygon",{points:"12 6 14 12 12 18 10 12",fill:"#92b195",stroke:"none"}),P("polygon",{points:"6 12 12 10 18 12 12 14",fill:"#92b195",opacity:"0.55",stroke:"none"})])],-1))]),meta:St(()=>[Mt(K(e.tabs.length)+" maps",1)]),default:St(()=>[(I(!0),L(ee,null,dt(e.tabs,(l,a)=>Gs((I(),L("section",{key:l.id,class:"dms-pane",hidden:a!==e.activeIndex},[!l.heavy||a===e.activeIndex?(I(),L(ee,{key:0},[P("div",{class:"dms-slot",ref_for:!0,ref:u=>e.setSlot(a,u)},null,512),l.state==="loading"?(I(),L("div",mc,"Loading "+K(l.label)+"…",1)):l.state==="error"?(I(),L("div",bc,[Mt(" Could not load "+K(l.label)+".",1),t[3]||(t[3]=P("br",null,null,-1)),P("small",null,K(l.error),1)])):ve("",!0)],64)):ve("",!0)],8,vc)),[[pn,a===e.activeIndex]])),128))]),_:2},[e.showLocaleSwitcher?{name:"toolbar",fn:St(()=>[P("div",oc,[P("button",{type:"button",class:"dms-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":"Change language",onClick:t[0]||(t[0]=l=>e.localeOpen=!e.localeOpen)},[P("span",ac,K(e.activeLang.flag),1),P("span",cc,K(e.activeLang.nativeName),1),t[2]||(t[2]=P("span",{class:"dms-dots","aria-hidden":"true"},"⋮",-1))],8,lc),e.localeOpen?(I(),L("ul",fc,[(I(!0),L(ee,null,dt(e.switcherLangs,l=>(I(),L("li",{key:l.code,role:"option","aria-selected":String(l.code===e.locale)},[P("button",{type:"button",class:ze(["dms-locale-opt",{active:l.code===e.locale}]),onClick:a=>e.setLocale(l.code)},[P("span",pc,K(l.flag),1),P("span",hc,K(l.nativeName),1),P("span",gc,K(l.name),1)],10,uc)],8,dc))),128))])):ve("",!0)])]),key:"0"}:void 0]),1032,["title","header","groups","active","onUpdate:active"])}const xc=hr(rc,[["render",yc],["styles",[Xa]]]);function _c(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const wc=_c(),Sc=ql(xc,{configureApp(e){e.provide("dmsTreeBase",wc)}});typeof customElements<"u"&&!customElements.get("doxa-maps-spa")&&customElements.define("doxa-maps-spa",Sc)})(); diff --git a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html index bf63654b9..a48ff99ed 100644 --- a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html +++ b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html @@ -26,7 +26,7 @@ - + - + + window.FORGE.manifest = {"schema":"doxa-maps-manifest@1","generatedFrom":"plugin-designs/*/*.vue","embedBase":".","bundleCount":19,"profileCount":28,"bundles":[{"bundle":"all-people-groups","scriptUrl":"./all-people-groups/all-people-groups.js","output":"doxa-maps/all-people-groups/all-people-groups.js","integrity":"sha384-ow6UD//vvtt8jD+CSsKeKm4oLZF6l0lYw94ro7it8ugZTrTudkDYjq/bjwOKK3Ku","elements":["all-people-groups"],"profiles":[{"profile":"all-people-groups","file":"all-people-groups.vue","description":"All 12,379 people groups (peoplegroups.org) in four colors — reached,","element":"all-people-groups","type":"single","isMap":true,"iframeUrl":"./all-people-groups/all-people-groups/index.html","scriptUrl":"./all-people-groups/all-people-groups.js","embed":{"iframe":"\u003ciframe src=\"./all-people-groups/all-people-groups/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./all-people-groups/all-people-groups.js\" integrity=\"sha384-ow6UD//vvtt8jD+CSsKeKm4oLZF6l0lYw94ro7it8ugZTrTudkDYjq/bjwOKK3Ku\" crossorigin=\"anonymous\">\u003c/script>\n\u003call-people-groups profile-config='{\"profile\":\"all-people-groups\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/all-people-groups>"},"bundle":"all-people-groups"}]},{"bundle":"big-picture","scriptUrl":"./big-picture/big-picture.js","output":"doxa-maps/big-picture/big-picture.js","integrity":"sha384-7X3BmNd7ppXsO/aL4Dpjt8/j1vrjXEuZ3JMOodzDyGZIevb9/IounnGQjDut1RCd","elements":["bp-big-picture","bp-research-header","people-groups-grid"],"profiles":[{"profile":"big-picture","file":"big-picture.vue","description":"The Cat-4 composite that PAIRS the two real capability elements of the","element":"bp-big-picture","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./big-picture/big-picture/index.html","scriptUrl":"./big-picture/big-picture.js","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./big-picture/big-picture.js\" integrity=\"sha384-7X3BmNd7ppXsO/aL4Dpjt8/j1vrjXEuZ3JMOodzDyGZIevb9/IounnGQjDut1RCd\" crossorigin=\"anonymous\">\u003c/script>\n\u003cbp-big-picture profile-config='{\"profile\":\"big-picture\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/bp-big-picture>"},"instances":[{"id":"big-picture","title":"Big Picture — research header ↔ people-groups grid (composite)","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/big-picture/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/big-picture/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Big Picture — frontier accent","apiBaseUrl":"","props":{"profile":"big-picture","provider":"maplibre","instanceId":"bp-big-picture-frontier","accent":"#22d3ee","title":"Big Picture — Frontier Focus"},"element":"bp-big-picture","iframeUrl":"./big-picture/big-picture/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./big-picture/big-picture/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"big-picture"}]},{"bundle":"cities-internet","scriptUrl":"./cities-internet/cities-internet.js","output":"doxa-maps/cities-internet/cities-internet.js","integrity":"sha384-TxqECrIH9paOxCxEJOSIPPJ0iOGlOh/Dp01NQ9WcJQ6Gu5K2pB7IP2NXw6tqOTbS","elements":["cities-internet-map"],"profiles":[{"profile":"connectivity-list","file":"connectivity-list.vue","description":"Countries where DX people groups live, grouped by region, showing measured internet penetration","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/connectivity-list/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-TxqECrIH9paOxCxEJOSIPPJ0iOGlOh/Dp01NQ9WcJQ6Gu5K2pB7IP2NXw6tqOTbS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"connectivity-map","file":"connectivity-map.vue","description":"Every country shaded by measured internet penetration, with its named carriers and dominant","element":"cities-internet-map","type":"single","isMap":true,"iframeUrl":"./cities-internet/connectivity-map/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/connectivity-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-TxqECrIH9paOxCxEJOSIPPJ0iOGlOh/Dp01NQ9WcJQ6Gu5K2pB7IP2NXw6tqOTbS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"connectivity-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Four validated research tables, one tab each, with sortable and filterable columns, CSV and JSON","element":"cities-internet-map","type":"single","isMap":false,"iframeUrl":"./cities-internet/data-tables/index.html","scriptUrl":"./cities-internet/cities-internet.js","embed":{"iframe":"\u003ciframe src=\"./cities-internet/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./cities-internet/cities-internet.js\" integrity=\"sha384-TxqECrIH9paOxCxEJOSIPPJ0iOGlOh/Dp01NQ9WcJQ6Gu5K2pB7IP2NXw6tqOTbS\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccities-internet-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/cities-internet-map>"}}]},{"bundle":"country-posters","scriptUrl":"./country-posters/country-posters.js","output":"doxa-maps/country-posters/country-posters.js","integrity":"sha384-W7C5dqO9Otokvs5+g+2BO/FIY0e//dqfciPCAZUkDRhF2iGY1+HhccCUFkSeavUU","elements":["country-posters-map"],"profiles":[{"profile":"countries-map","file":"countries-map.vue","description":"The researcher's workbench retargeted from people groups to COUNTRIES — region","element":"country-posters-map","type":"single","isMap":true,"iframeUrl":"./country-posters/countries-map/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-W7C5dqO9Otokvs5+g+2BO/FIY0e//dqfciPCAZUkDRhF2iGY1+HhccCUFkSeavUU\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}},{"profile":"country-poster-wall","file":"country-poster-wall.vue","description":"One printable card per country, grouped into COLLAPSIBLE regional sections so the","element":"country-posters-map","type":"single","isMap":false,"iframeUrl":"./country-posters/country-poster-wall/index.html","scriptUrl":"./country-posters/country-posters.js","embed":{"iframe":"\u003ciframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./country-posters/country-posters.js\" integrity=\"sha384-W7C5dqO9Otokvs5+g+2BO/FIY0e//dqfciPCAZUkDRhF2iGY1+HhccCUFkSeavUU\" crossorigin=\"anonymous\">\u003c/script>\n\u003ccountry-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/country-posters-map>"}}]},{"bundle":"dashboard-plus-grid","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","output":"doxa-maps/dashboard-plus-grid/dashboard-plus-grid.js","integrity":"sha384-ZTBT33h/wSugbZO41VmjJTYKdWeRVwuSD7mP5uSMGSpYkjBZkFed1AaAzabxAxRV","elements":["dashboard-plus-grid"],"profiles":[{"profile":"dashboard-plus-grid","file":"dashboard-plus-grid.vue","description":"Both children are IMPORTED DIRECTLY (compiled into this ONE bundle — no runtime bundle","element":"dashboard-plus-grid","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/index.html","scriptUrl":"./dashboard-plus-grid/dashboard-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./dashboard-plus-grid/dashboard-plus-grid.js\" integrity=\"sha384-ZTBT33h/wSugbZO41VmjJTYKdWeRVwuSD7mP5uSMGSpYkjBZkFed1AaAzabxAxRV\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdashboard-plus-grid profile-config='{\"profile\":\"dashboard-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/dashboard-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"dashboard-plus-grid"},"element":"dashboard-plus-grid","iframeUrl":"./dashboard-plus-grid/dashboard-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./dashboard-plus-grid/dashboard-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"demo-map","scriptUrl":"./demo-map/demo-map.js","output":"doxa-maps/demo-map/demo-map.js","integrity":"sha384-sNkrKqoXD+BS4MABLGB8THNMi3BRl+Wcazb7xoMqaowlGknoCQHF8pU1q7CtsfpT","elements":["demo-map"],"profiles":[{"profile":"demo-map","file":"demo-map.vue","description":"Simple two-tab demo map. Tab 1 colors pins by religion (shared","element":"demo-map","type":"parameterized","isMap":true,"iframeUrl":"./demo-map/demo-map/index.html","scriptUrl":"./demo-map/demo-map.js","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./demo-map/demo-map.js\" integrity=\"sha384-sNkrKqoXD+BS4MABLGB8THNMi3BRl+Wcazb7xoMqaowlGknoCQHF8pU1q7CtsfpT\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdemo-map profile-config='{\"profile\":\"demo-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/demo-map>"},"instances":[{"id":"maplibre","title":"Demo map — MapLibre (token-free)","apiBaseUrl":"","props":{"profile":"demo-map","provider":"maplibre","instanceId":"demo-maplibre"},"element":"demo-map","iframeUrl":"./demo-map/demo-map/maplibre/index.html","embed":{"iframe":"\u003ciframe src=\"./demo-map/demo-map/maplibre/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"demo-map"}]},{"bundle":"doxa-maps-spa","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","output":"doxa-maps/doxa-maps-spa/doxa-maps-spa.js","integrity":"sha384-B4pav5Auf7CroDqfDfc+lKMOsRiLGmktb3q9sU7VFs7OOQZQcMfi2x/8clPoHMjr","elements":["doxa-maps-spa"],"profiles":[{"profile":"doxa-maps-spa","file":"doxa-maps-spa.vue","description":"The DX-maps app itself: one element whose vertical-tab rail nests every other","element":"doxa-maps-spa","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./doxa-maps-spa/doxa-maps-spa/index.html","scriptUrl":"./doxa-maps-spa/doxa-maps-spa.js","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-maps-spa/doxa-maps-spa.js\" integrity=\"sha384-B4pav5Auf7CroDqfDfc+lKMOsRiLGmktb3q9sU7VFs7OOQZQcMfi2x/8clPoHMjr\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-maps-spa profile-config='{\"profile\":\"doxa-maps-spa\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-maps-spa>"},"instances":[{"id":"app","title":"DX-Maps SPA — Big Picture + every research map (app-shell)","apiBaseUrl":"","props":{"profile":"doxa-maps-spa","provider":"maplibre","instanceId":"doxa-maps-spa-app","title":"DX-Maps"},"element":"doxa-maps-spa","iframeUrl":"./doxa-maps-spa/doxa-maps-spa/app/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-maps-spa/doxa-maps-spa/app/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-research-map","scriptUrl":"./doxa-research-map/doxa-research-map.js","output":"doxa-maps/doxa-research-map/doxa-research-map.js","integrity":"sha384-5I+d9O+m1RpzzM6S93o6lKRRtURUbFV+Pw4liNp0ontv/2mwm8yqD6UT2vBytNFY","elements":["doxa-research-map"],"profiles":[{"profile":"research-map","file":"research-map.vue","description":"The researcher's workbench: every piece a missiologist, demographer or","element":"doxa-research-map","type":"monolithic","isMap":true,"iframeUrl":"./doxa-research-map/research-map/index.html","scriptUrl":"./doxa-research-map/doxa-research-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-5I+d9O+m1RpzzM6S93o6lKRRtURUbFV+Pw4liNp0ontv/2mwm8yqD6UT2vBytNFY\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-research-map>"}}]},{"bundle":"doxa-simple-map","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","output":"doxa-maps/doxa-simple-map/doxa-simple-map.js","integrity":"sha384-qTaIz+Irs4qPFjmJqkNCYlI2/tiLO9f/9uDnpLbOPkXkCEbja6VxfyspfuuXh8Qy","elements":["doxa-map","doxa-simple-map"],"profiles":[{"profile":"doxa-simple-map","file":"doxa-simple-map.vue","description":"The simple world map, shipped as three presets off ONE prop table —","element":"doxa-map","type":"parameterized","isMap":true,"iframeUrl":"./doxa-simple-map/doxa-simple-map/index.html","scriptUrl":"./doxa-simple-map/doxa-simple-map.js","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-simple-map/doxa-simple-map.js\" integrity=\"sha384-qTaIz+Irs4qPFjmJqkNCYlI2/tiLO9f/9uDnpLbOPkXkCEbja6VxfyspfuuXh8Qy\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-map profile-config='{\"profile\":\"doxa-simple-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-map>"},"instances":[{"id":"prayer","title":"Prayer Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-prayer","dataSource":"pray-tools","tabs":[{"id":"prayer","colorStrategy":"prayer","legend":"prayer","popup":"prayer"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/prayer/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/prayer/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"engagement","title":"Engagement Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-engagement","dataSource":"pray-tools","tabs":[{"id":"engagement","colorStrategy":"engagement","legend":"engagement","popup":"engagement"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/engagement/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/engagement/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"adoption","title":"Adoption Map","apiBaseUrl":"https://pray.doxa.life","props":{"profile":"doxa-simple-map","instanceId":"embed-adoption","dataSource":"pray-tools","tabs":[{"id":"adoption","colorStrategy":"adoption","legend":"adoption","popup":"adoption"}]},"element":"doxa-map","iframeUrl":"./doxa-simple-map/doxa-simple-map/adoption/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-simple-map/doxa-simple-map/adoption/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"doxa-vision-card","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","output":"doxa-maps/doxa-vision-card/doxa-vision-card.js","integrity":"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn","elements":["doxa-vision-card"],"profiles":[{"profile":"doxa-vision-card","file":"doxa-vision-card.vue","description":"The Capability-1 example: ONE folder -> ONE bundle -> ONE element.","element":"doxa-vision-card","type":"parameterized","isMap":false,"iframeUrl":"./doxa-vision-card/doxa-vision-card/index.html","scriptUrl":"./doxa-vision-card/doxa-vision-card.js","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./doxa-vision-card/doxa-vision-card.js\" integrity=\"sha384-2mza3cltN5LQQIrlENG/IVL6Icd9zzcFve3E8R8VWuCdYOGW9uGKFvxcbu6eFfwn\" crossorigin=\"anonymous\">\u003c/script>\n\u003cdoxa-vision-card profile-config='{\"profile\":\"doxa-vision-card\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/doxa-vision-card>"},"instances":[{"id":"default","title":"Vision card — reach at a glance","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-default"},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/default/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"frontier","title":"Vision card — frontier accent","apiBaseUrl":"","props":{"profile":"doxa-vision-card","provider":"maplibre","instanceId":"vision-card-frontier","accent":"#22d3ee","title":"The last frontier of the gospel.","tagline":"Frontier people groups — where fewer than one in a thousand follow Jesus.","stats":[{"value":"1,910","label":"Frontier groups","note":"under 0.1% believers"},{"value":"2.1B","label":"People","note":"living in frontier settings"},{"value":"0.1%","label":"Christian","note":"or fewer, in each group"}]},"element":"doxa-vision-card","iframeUrl":"./doxa-vision-card/doxa-vision-card/frontier/index.html","embed":{"iframe":"\u003ciframe src=\"./doxa-vision-card/doxa-vision-card/frontier/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}],"bundle":"doxa-vision-card"}]},{"bundle":"golden-path-check","scriptUrl":"./golden-path-check/golden-path-check.js","output":"doxa-maps/golden-path-check/golden-path-check.js","integrity":"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14","elements":["golden-path-check"],"profiles":[{"profile":"golden-path-check","file":"golden-path-check.vue","description":"A live self-test of the develop-a-plugin-and-see-it-live path: it reads the built","element":"golden-path-check","type":"single","isMap":false,"iframeUrl":"./golden-path-check/golden-path-check/index.html","scriptUrl":"./golden-path-check/golden-path-check.js","embed":{"iframe":"\u003ciframe src=\"./golden-path-check/golden-path-check/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./golden-path-check/golden-path-check.js\" integrity=\"sha384-1V/sT5SkV0U9yTCK9ELIOFfU1ZIJkInIF6nG3UllJ4dxax3RsEAupSGLJEFK6e14\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgolden-path-check profile-config='{\"profile\":\"golden-path-check\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/golden-path-check>"}}]},{"bundle":"gospel-resources","scriptUrl":"./gospel-resources/gospel-resources.js","output":"doxa-maps/gospel-resources/gospel-resources.js","integrity":"sha384-AyMRDqYNDLShkHxHQAWRlGIPRlnfmG1S565v8hz+mCbGxQuc6WqRDiweBUTk86VI","elements":["gospel-resources-map"],"profiles":[{"profile":"charts","file":"charts.vue","description":"The gap by LANGUAGE (ISO 639-3) rather than by people group — because one translation serves every","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/charts/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/charts/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-AyMRDqYNDLShkHxHQAWRlGIPRlnfmG1S565v8hz+mCbGxQuc6WqRDiweBUTk86VI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"charts\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"data-tables","file":"data-tables.vue","description":"Two validated tables: what resources exist per people group, and whether that access is keeping","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/data-tables/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/data-tables/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-AyMRDqYNDLShkHxHQAWRlGIPRlnfmG1S565v8hz+mCbGxQuc6WqRDiweBUTk86VI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"data-tables\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-list","file":"resources-list.vue","description":"Which DX people groups have scripture in their own language, and which have none. The zero-resource","element":"gospel-resources-map","type":"single","isMap":false,"iframeUrl":"./gospel-resources/resources-list/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-AyMRDqYNDLShkHxHQAWRlGIPRlnfmG1S565v8hz+mCbGxQuc6WqRDiweBUTk86VI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}},{"profile":"resources-map","file":"resources-map.vue","description":"Every country shaded by how much of its unengaged population has NO gospel resource in their own","element":"gospel-resources-map","type":"single","isMap":true,"iframeUrl":"./gospel-resources/resources-map/index.html","scriptUrl":"./gospel-resources/gospel-resources.js","embed":{"iframe":"\u003ciframe src=\"./gospel-resources/resources-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./gospel-resources/gospel-resources.js\" integrity=\"sha384-AyMRDqYNDLShkHxHQAWRlGIPRlnfmG1S565v8hz+mCbGxQuc6WqRDiweBUTk86VI\" crossorigin=\"anonymous\">\u003c/script>\n\u003cgospel-resources-map profile-config='{\"profile\":\"resources-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/gospel-resources-map>"}}]},{"bundle":"my-upg-100-list","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","output":"doxa-maps/my-upg-100-list/my-upg-100-list.js","integrity":"sha384-Juq7s0kvFMgANiysoEh2N3MFkIZU16TZCmRdTKJ6nI8MWOWn4BfpaT8Syy9NJlJk","elements":["my-upg-100-list-map"],"profiles":[{"profile":"poster-wall","file":"poster-wall.vue","description":"A wall of printable poster cards, one per 100-list entry, each with a \"Show on map\" action that","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/poster-wall/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Juq7s0kvFMgANiysoEh2N3MFkIZU16TZCmRdTKJ6nI8MWOWn4BfpaT8Syy9NJlJk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-list","file":"upg-100-list.vue","description":"A personal unreached-people-groups list painted as true boundary polygons —","element":"my-upg-100-list-map","type":"single","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-list/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Juq7s0kvFMgANiysoEh2N3MFkIZU16TZCmRdTKJ6nI8MWOWn4BfpaT8Syy9NJlJk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}},{"profile":"upg-100-mfe","file":"upg-100-mfe.vue","description":"The standalone, shareable and embeddable composite of the my-upg-100-list family — it nests the map","element":"my-upg-100-list-map","type":"nested-elements-mfe","isMap":true,"iframeUrl":"./my-upg-100-list/upg-100-mfe/index.html","scriptUrl":"./my-upg-100-list/my-upg-100-list.js","embed":{"iframe":"\u003ciframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-Juq7s0kvFMgANiysoEh2N3MFkIZU16TZCmRdTKJ6nI8MWOWn4BfpaT8Syy9NJlJk\" crossorigin=\"anonymous\">\u003c/script>\n\u003cmy-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/my-upg-100-list-map>"}}]},{"bundle":"people-groups-grid","scriptUrl":"./people-groups-grid/people-groups-grid.js","output":"doxa-maps/people-groups-grid/people-groups-grid.js","integrity":"sha384-0cN3wEexnRF5JYOWTVJojVHBjB4zJOmF5JTsGlbF2Z++9HXr80xEm8QNgYf0emZl","elements":["people-groups-grid"],"profiles":[{"profile":"people-groups-grid","file":"people-groups-grid.vue","description":"The people-groups grid as an owned custom element: card list, search and four","element":"people-groups-grid","type":"parameterized","isMap":false,"iframeUrl":"./people-groups-grid/people-groups-grid/index.html","scriptUrl":"./people-groups-grid/people-groups-grid.js","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./people-groups-grid/people-groups-grid.js\" integrity=\"sha384-0cN3wEexnRF5JYOWTVJojVHBjB4zJOmF5JTsGlbF2Z++9HXr80xEm8QNgYf0emZl\" crossorigin=\"anonymous\">\u003c/script>\n\u003cpeople-groups-grid profile-config='{\"profile\":\"people-groups-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/people-groups-grid>"},"instances":[{"id":"people-groups-grid","title":"People Groups Grid — standalone (own search + 4 dropdowns)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid","pray-base-url":"https://pray.doxa.life"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/people-groups-grid/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/people-groups-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}},{"id":"driven","title":"People Groups Grid — externally driven (controls off, props/events)","apiBaseUrl":"","props":{"profile":"people-groups-grid","provider":"maplibre","instanceId":"people-groups-grid-driven","pray-base-url":"https://pray.doxa.life","show-search":"false","show-filters":"false"},"element":"people-groups-grid","iframeUrl":"./people-groups-grid/people-groups-grid/driven/index.html","embed":{"iframe":"\u003ciframe src=\"./people-groups-grid/people-groups-grid/driven/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"plugin-studio","scriptUrl":"./plugin-studio/plugin-studio.js","output":"doxa-maps/plugin-studio/plugin-studio.js","integrity":"sha384-7kLgDpGt6tGiS6b7It8xEQne6llXA/JwlLosJlS7DuWrLQzk7aHJt0jMsPNN0e1H","elements":["plugin-studio"],"profiles":[{"profile":"plugin-studio","file":"plugin-studio.vue","description":"The developer's viewing surface: a sidebar that is the composability ladder","element":"plugin-studio","type":"nested-mfe-spa","isMap":false,"iframeUrl":"./plugin-studio/plugin-studio/index.html","scriptUrl":"./plugin-studio/plugin-studio.js","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./plugin-studio/plugin-studio.js\" integrity=\"sha384-7kLgDpGt6tGiS6b7It8xEQne6llXA/JwlLosJlS7DuWrLQzk7aHJt0jMsPNN0e1H\" crossorigin=\"anonymous\">\u003c/script>\n\u003cplugin-studio profile-config='{\"profile\":\"plugin-studio\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/plugin-studio>"},"instances":[{"id":"studio","title":"Plugin Studio — every element by capability 5 -> 1 (developer studio)","apiBaseUrl":"","props":{"profile":"plugin-studio","provider":"maplibre","instanceId":"plugin-studio","title":"Plugin Studio"},"element":"plugin-studio","iframeUrl":"./plugin-studio/plugin-studio/studio/index.html","embed":{"iframe":"\u003ciframe src=\"./plugin-studio/plugin-studio/studio/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"research-dashboard","scriptUrl":"./research-dashboard/research-dashboard.js","output":"doxa-maps/research-dashboard/research-dashboard.js","integrity":"sha384-9TEWL+obO+3sksIr7XxE9w0XHvQ8EjxlzQ3OoVWWfFsc+IKoxwj5npHIStzBGgH/","elements":["research-dashboard-map"],"profiles":[{"profile":"research-dashboard","file":"research-dashboard.vue","description":"Coordinated-Multiple-Views research dashboard for 10/40-window UPGs (live pray.doxa.life): docked facet rail + map-as-hero + linked table/charts, brushing-and-linking over one in-memory store.","element":"research-dashboard-map","type":"monolithic","isMap":true,"iframeUrl":"./research-dashboard/research-dashboard/index.html","scriptUrl":"./research-dashboard/research-dashboard.js","embed":{"iframe":"\u003ciframe src=\"./research-dashboard/research-dashboard/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-dashboard/research-dashboard.js\" integrity=\"sha384-9TEWL+obO+3sksIr7XxE9w0XHvQ8EjxlzQ3OoVWWfFsc+IKoxwj5npHIStzBGgH/\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-dashboard-map profile-config='{\"profile\":\"research-dashboard\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-dashboard-map>"},"bundle":"research-dashboard"}]},{"bundle":"research-map-plus-grid","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","output":"doxa-maps/research-map-plus-grid/research-map-plus-grid.js","integrity":"sha384-kFphDHIpEeUHa9M6viOQW9dLfeg/Yzrd7WFcIoZVAKhvbarfXlYJ00efPxO9AKXy","elements":["research-map-plus-grid"],"profiles":[{"profile":"research-map-plus-grid","file":"research-map-plus-grid.vue","description":"The monolithic 7-tab research map (cap-3) on top, the People Groups grid beneath,","element":"research-map-plus-grid","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./research-map-plus-grid/research-map-plus-grid/index.html","scriptUrl":"./research-map-plus-grid/research-map-plus-grid.js","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./research-map-plus-grid/research-map-plus-grid.js\" integrity=\"sha384-kFphDHIpEeUHa9M6viOQW9dLfeg/Yzrd7WFcIoZVAKhvbarfXlYJ00efPxO9AKXy\" crossorigin=\"anonymous\">\u003c/script>\n\u003cresearch-map-plus-grid profile-config='{\"profile\":\"research-map-plus-grid\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/research-map-plus-grid>"},"instances":[{"id":"default","title":"default","apiBaseUrl":"","props":{"profile":"research-map-plus-grid"},"element":"research-map-plus-grid","iframeUrl":"./research-map-plus-grid/research-map-plus-grid/default/index.html","embed":{"iframe":"\u003ciframe src=\"./research-map-plus-grid/research-map-plus-grid/default/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"stack-demo","scriptUrl":"./stack-demo/stack-demo.js","output":"doxa-maps/stack-demo/stack-demo.js","integrity":"sha384-+yA8BJlj7zWj0MB/w3yjs/DlM6wpCqlHg1/8UTd9Q/xNcwk0G5j9c2aQGiMzbBTu","elements":["stack-demo"],"profiles":[{"profile":"stack-demo","file":"stack-demo.vue","description":"Groups TWO independent elements TOP-TO-BOTTOM so you can embed the pair on a page and","element":"stack-demo","type":"nested-elements-mfe","isMap":false,"iframeUrl":"./stack-demo/stack-demo/index.html","scriptUrl":"./stack-demo/stack-demo.js","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./stack-demo/stack-demo.js\" integrity=\"sha384-+yA8BJlj7zWj0MB/w3yjs/DlM6wpCqlHg1/8UTd9Q/xNcwk0G5j9c2aQGiMzbBTu\" crossorigin=\"anonymous\">\u003c/script>\n\u003cstack-demo profile-config='{\"profile\":\"stack-demo\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/stack-demo>"},"instances":[{"id":"pair","title":"pair","apiBaseUrl":"","props":{"profile":"stack-demo"},"element":"stack-demo","iframeUrl":"./stack-demo/stack-demo/pair/index.html","embed":{"iframe":"\u003ciframe src=\"./stack-demo/stack-demo/pair/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>"}}]}]},{"bundle":"template-bundle","scriptUrl":"./template-bundle/template-bundle.js","output":"doxa-maps/template-bundle/template-bundle.js","integrity":"sha384-aIcrWHM2nmCSPqnMA+9xMC8jfc5ynJ+/eFCrR+WwZcQViaXErkZEjzV2fw/p8IoH","elements":["template-bundle"],"profiles":[{"profile":"template-map-a","file":"template-map-a.vue","description":"Minimal example profile A — a colored placeholder, no Mapbox or data.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-a/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-a/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-aIcrWHM2nmCSPqnMA+9xMC8jfc5ynJ+/eFCrR+WwZcQViaXErkZEjzV2fw/p8IoH\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-a\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"},{"profile":"template-map-b","file":"template-map-b.vue","description":"Minimal example profile B — a second profile in the same bundle.","element":"template-bundle","type":"single","isMap":false,"iframeUrl":"./template-bundle/template-map-b/index.html","scriptUrl":"./template-bundle/template-bundle.js","embed":{"iframe":"\u003ciframe src=\"./template-bundle/template-map-b/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen>\u003c/iframe>","script":"\u003cscript>window.MAP_APP_API_URL=\"https://pray.doxa.life\";\u003c/script>\n\u003cscript src=\"./template-bundle/template-bundle.js\" integrity=\"sha384-aIcrWHM2nmCSPqnMA+9xMC8jfc5ynJ+/eFCrR+WwZcQViaXErkZEjzV2fw/p8IoH\" crossorigin=\"anonymous\">\u003c/script>\n\u003ctemplate-bundle profile-config='{\"profile\":\"template-map-b\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'>\u003c/template-bundle>"},"bundle":"template-bundle"}]}]}; \n\n" + "script": "\n\n" }, "instances": [ { @@ -721,7 +721,7 @@ "bundle": "plugin-studio", "scriptUrl": "./plugin-studio/plugin-studio.js", "output": "doxa-maps/plugin-studio/plugin-studio.js", - "integrity": "sha384-X9iaA0eN7XLaFjQjAGNQsFlIXqQvi/iZt5ZpasTHfdRILZZfvPFWMB2PttaxofPv", + "integrity": "sha384-7kLgDpGt6tGiS6b7It8xEQne6llXA/JwlLosJlS7DuWrLQzk7aHJt0jMsPNN0e1H", "elements": [ "plugin-studio" ], @@ -737,7 +737,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 46f138e88..57608dc7c 100644 --- a/public/doxa-maps/plugin-studio/plugin-studio.js +++ b/public/doxa-maps/plugin-studio/plugin-studio.js @@ -206,4 +206,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; } -`,Xa={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},Za=e=>bo[e]!=null?5-bo[e]:1,Qa={5:"🧩",4:"🔗",3:"🗂️",2:"🎛️",1:"🔹"},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"]),Ft={};function ec(e,t){return Ft[e]||(Ft[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 Ft[e],n(new Error("failed to load "+e))},document.head.appendChild(i)})),Ft[e]}function tc(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 sc=Xs({name:"PluginStudio",components:{VerticalTabsLayout:Ba},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},title:{type:String,default:"Plugin Studio"},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return uo(Ya,"plugin-studio"),{injectedBase:Et("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:qa(),localeOpen:!1,switcherLangs:Ua,rows:[]}},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:Xa[t]||"capability "+t,rows:e[t]}))},navGroups(){const e=t=>String(t).replace(/&/g,"&").replace(//g,">");return this.groups.map(t=>({key:"cap-"+t.cap,badge:"CAP "+t.cap,label:t.label,count:t.rows.length,rows:t.rows.map(s=>({key:s.key,label:s.label,emoji:s.emoji,sub:"<"+e(s.tag)+">"}))}))},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"},activeLang(){return Wa(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}}},mounted(){this.loadManifest()},methods:{setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},setLocale(e){this.locale=e,this.localeOpen=!1,Ga(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.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")for(const n of s.profiles||[]){const i=n.element||s.elements&&s.elements[0]||s.bundle,o=Za(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,emoji:Qa[o]||"🔹",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(/^#\/?/,"");e&&this.rows.some(t=>t.key===e)&&this.select(e)},select(e){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&&(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);ec(t).then(()=>tc(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),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{}}}}),nc={class:"ps-count"},ic={class:"ps-locale"},oc=["aria-expanded"],lc={class:"ps-flag"},rc={class:"ps-locale-name"},ac={key:0,class:"ps-locale-menu",role:"listbox"},cc=["aria-selected"],fc=["onClick"],dc={class:"ps-flag"},uc={class:"ps-locale-name"},pc={class:"ps-locale-en"},hc={key:0,class:"ps-toolbar"},gc={class:"ps-bar"},vc={class:"ps-bar-t"},bc={class:"ps-bar-sub"},mc={key:0},xc=["aria-expanded"],yc={key:0,class:"ps-embed"},_c=["value"],wc={class:"ps-stage"},Sc=["hidden"],Cc={key:0,class:"ps-hint"},Ec={key:1,class:"ps-hint err"},kc={key:0,class:"ps-hint"};function Tc(e,t,s,n,i,o){const l=Il("VerticalTabsLayout");return R(),ps(l,{title:e.title,"nav-label":"Plugin elements · by capability 5 → 1",header:!0,groups:e.navGroups,active:e.activeKey,"onUpdate:active":e.select},{brand:Ct(()=>[...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:Ct(()=>[k("span",nc,j(e.countLabel),1),k("span",ic,[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",lc,j(e.activeLang.flag),1),k("span",rc,j(e.activeLang.nativeName),1),t[4]||(t[4]=k("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,oc),e.localeOpen?(R(),L("ul",ac,[(R(!0),L(ee,null,dt(e.switcherLangs,r=>(R(),L("li",{key:r.code,role:"option","aria-selected":String(r.code===e.locale)},[k("button",{type:"button",class:We(["ps-locale-opt",{active:r.code===e.locale}]),onClick:a=>e.setLocale(r.code)},[k("span",dc,j(r.flag),1),k("span",uc,j(r.nativeName),1),k("span",pc,j(r.name),1)],10,fc)],8,cc))),128))])):oe("",!0)])]),toolbar:Ct(()=>[e.active?(R(),L("div",hc,[k("div",gc,[k("div",vc,[k("b",null,j(e.active.label),1),k("span",bc,[ht(j(e.active.bundle)+" · <"+j(e.active.tag)+">",1),e.active.description?(R(),L("span",mc," · "+j(e.active.description),1)):oe("",!0)])]),e.active.embed?(R(),L("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,xc)):oe("",!0)]),e.embedOpen&&e.active.embed?(R(),L("div",yc,[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,_c)])):oe("",!0)])):oe("",!0)]),default:Ct(()=>[k("div",wc,[(R(!0),L(ee,null,dt(e.flatRows,r=>qs((R(),L("section",{key:r.key,class:"ps-pane",hidden:r.key!==e.activeKey},[!r.heavy||r.key===e.activeKey?(R(),L(ee,{key:0},[k("div",{class:"ps-slot",ref_for:!0,ref:a=>e.setSlot(r.key,a)},null,512),r.state==="loading"?(R(),L("div",Cc,"Loading "+j(r.label)+"…",1)):r.state==="error"?(R(),L("div",Ec,[ht(" Could not load "+j(r.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,j(r.error),1)])):oe("",!0)],64)):oe("",!0)],8,Sc)),[[un,r.key===e.activeKey]])),128)),e.activeKey?oe("",!0):(R(),L("div",kc,"Choose an element from the list."))])]),_:1},8,["title","groups","active","onUpdate:active"])}const Ac=ho(sc,[["render",Tc],["styles",[Ja]]]);function Oc(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const Mc=Oc(),Pc=Ur(Ac,{configureApp(e){e.provide("psTreeBase",Mc)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Pc)})(); +`,Xa={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},Za=e=>bo[e]!=null?5-bo[e]:1,Qa={5:"🧩",4:"🔗",3:"🗂️",2:"🎛️",1:"🔹"},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"]),Ft={};function ec(e,t){return Ft[e]||(Ft[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 Ft[e],n(new Error("failed to load "+e))},document.head.appendChild(i)})),Ft[e]}function tc(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 sc=Xs({name:"PluginStudio",components:{VerticalTabsLayout:Ba},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},heading:{type:String,default:"Plugin Studio"},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return uo(Ya,"plugin-studio"),{injectedBase:Et("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:qa(),localeOpen:!1,switcherLangs:Ua,rows:[]}},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:Xa[t]||"capability "+t,rows:e[t]}))},navGroups(){const e=t=>String(t).replace(/&/g,"&").replace(//g,">");return this.groups.map(t=>({key:"cap-"+t.cap,badge:"CAP "+t.cap,label:t.label,count:t.rows.length,rows:t.rows.map(s=>({key:s.key,label:s.label,emoji:s.emoji,sub:"<"+e(s.tag)+">"}))}))},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"},activeLang(){return Wa(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}}},mounted(){this.loadManifest()},methods:{setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},setLocale(e){this.locale=e,this.localeOpen=!1,Ga(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.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")for(const n of s.profiles||[]){const i=n.element||s.elements&&s.elements[0]||s.bundle,o=Za(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,emoji:Qa[o]||"🔹",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(/^#\/?/,"");e&&this.rows.some(t=>t.key===e)&&this.select(e)},select(e){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&&(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);ec(t).then(()=>tc(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),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{}}}}),nc={class:"ps-count"},ic={class:"ps-locale"},oc=["aria-expanded"],lc={class:"ps-flag"},rc={class:"ps-locale-name"},ac={key:0,class:"ps-locale-menu",role:"listbox"},cc=["aria-selected"],fc=["onClick"],dc={class:"ps-flag"},uc={class:"ps-locale-name"},pc={class:"ps-locale-en"},hc={key:0,class:"ps-toolbar"},gc={class:"ps-bar"},vc={class:"ps-bar-t"},bc={class:"ps-bar-sub"},mc={key:0},xc=["aria-expanded"],yc={key:0,class:"ps-embed"},_c=["value"],wc={class:"ps-stage"},Sc=["hidden"],Cc={key:0,class:"ps-hint"},Ec={key:1,class:"ps-hint err"},kc={key:0,class:"ps-hint"};function Tc(e,t,s,n,i,o){const l=Il("VerticalTabsLayout");return R(),ps(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:Ct(()=>[...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:Ct(()=>[k("span",nc,j(e.countLabel),1),k("span",ic,[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",lc,j(e.activeLang.flag),1),k("span",rc,j(e.activeLang.nativeName),1),t[4]||(t[4]=k("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,oc),e.localeOpen?(R(),L("ul",ac,[(R(!0),L(ee,null,dt(e.switcherLangs,r=>(R(),L("li",{key:r.code,role:"option","aria-selected":String(r.code===e.locale)},[k("button",{type:"button",class:We(["ps-locale-opt",{active:r.code===e.locale}]),onClick:a=>e.setLocale(r.code)},[k("span",dc,j(r.flag),1),k("span",uc,j(r.nativeName),1),k("span",pc,j(r.name),1)],10,fc)],8,cc))),128))])):oe("",!0)])]),toolbar:Ct(()=>[e.active?(R(),L("div",hc,[k("div",gc,[k("div",vc,[k("b",null,j(e.active.label),1),k("span",bc,[ht(j(e.active.bundle)+" · <"+j(e.active.tag)+">",1),e.active.description?(R(),L("span",mc," · "+j(e.active.description),1)):oe("",!0)])]),e.active.embed?(R(),L("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,xc)):oe("",!0)]),e.embedOpen&&e.active.embed?(R(),L("div",yc,[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,_c)])):oe("",!0)])):oe("",!0)]),default:Ct(()=>[k("div",wc,[(R(!0),L(ee,null,dt(e.flatRows,r=>qs((R(),L("section",{key:r.key,class:"ps-pane",hidden:r.key!==e.activeKey},[!r.heavy||r.key===e.activeKey?(R(),L(ee,{key:0},[k("div",{class:"ps-slot",ref_for:!0,ref:a=>e.setSlot(r.key,a)},null,512),r.state==="loading"?(R(),L("div",Cc,"Loading "+j(r.label)+"…",1)):r.state==="error"?(R(),L("div",Ec,[ht(" Could not load "+j(r.label)+".",1),t[6]||(t[6]=k("br",null,null,-1)),k("small",null,j(r.error),1)])):oe("",!0)],64)):oe("",!0)],8,Sc)),[[un,r.key===e.activeKey]])),128)),e.activeKey?oe("",!0):(R(),L("div",kc,"Choose an element from the list."))])]),_:1},8,["title","groups","active","onUpdate:active"])}const Ac=ho(sc,[["render",Tc],["styles",[Ja]]]);function Oc(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const Mc=Oc(),Pc=Ur(Ac,{configureApp(e){e.provide("psTreeBase",Mc)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Pc)})(); diff --git a/public/doxa-maps/plugin-studio/plugin-studio/index.html b/public/doxa-maps/plugin-studio/plugin-studio/index.html index 33917a329..ced97e36f 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 @@ - + - +