check:composite-freshness found stale on main: all-people-groups cities-internet country-posters dashboard-plus-grid demo-map doxa-maps-spa doxa-research-map doxa-simple-map gospel-resources key-cities my-upg-100-list plugin-studio pplr-data-maps regions-dashboard research-dashboard template-bundle upg-neighbor wall-of-people-groups. Rebuilt, tree + SRI regenerated; the landing precondition (fresh, one folder, SRI) passed in main-capture scan.
378 lines
234 KiB
JavaScript
378 lines
234 KiB
JavaScript
(function(){"use strict";/**
|
||
* @vue/shared v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function jo(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const V={},at=[],ye=()=>{},In=()=>!1,Xt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Wo=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},ea=Object.prototype.hasOwnProperty,R=(e,t)=>ea.call(e,t),M=Array.isArray,qe=e=>vt(e)==="[object Map]",Zt=e=>vt(e)==="[object Set]",Un=e=>vt(e)==="[object Date]",A=e=>typeof e=="function",X=e=>typeof e=="string",_e=e=>typeof e=="symbol",z=e=>e!==null&&typeof e=="object",zn=e=>(z(e)||A(e))&&A(e.then)&&A(e.catch),jn=Object.prototype.toString,vt=e=>jn.call(e),ta=e=>vt(e).slice(8,-1),Qt=e=>vt(e)==="[object Object]",Vo=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kt=jo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eo=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},oa=/-\w/g,ne=eo(e=>e.replace(oa,t=>t.slice(1).toUpperCase())),na=/\B([A-Z])/g,$e=eo(e=>e.replace(na,"-$1").toLowerCase()),to=eo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ko=eo(e=>e?`on${to(e)}`:""),Re=(e,t)=>!Object.is(e,t),oo=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},Wn=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Bo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vn=e=>{const t=X(e)?Number(e):NaN;return isNaN(t)?e:t};let Kn;const no=()=>Kn||(Kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xt(e){if(M(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],s=X(n)?la(n):xt(n);if(s)for(const i in s)t[i]=s[i]}return t}else if(X(e)||z(e))return e}const sa=/;(?![^(]*\))/g,ia=/:([^]+)/,aa=/\/\*[^]*?\*\//g;function la(e){const t={};return e.replace(aa,"").split(sa).forEach(o=>{if(o){const n=o.split(ia);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t="";if(X(e))t=e;else if(M(e))for(let o=0;o<e.length;o++){const n=he(e[o]);n&&(t+=n+" ")}else if(z(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const ra=jo("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Bn(e){return!!e||e===""}function ca(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=so(e[n],t[n]);return o}function Gn(e,t){if(e.size!==t.size)return!1;const o=Array.from(t),n=new Uint8Array(o.length);for(const s of e){let i=-1;for(let a=0;a<o.length;a++)if(!n[a]&&so(s,o[a])){i=a;break}if(i<0)return!1;n[i]=1}return!0}function so(e,t){if(e===t)return!0;let o=Un(e),n=Un(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=_e(e),n=_e(t),o||n)return e===t;if(o=M(e),n=M(t),o||n)return o&&n?ca(e,t):!1;if(o=z(e),n=z(t),o||n){if(!o||!n)return!1;if(o=qe(e),n=qe(t),o||n||(o=Zt(e),n=Zt(t),o||n))return o&&n?Gn(e,t):!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const a in e){const l=e.hasOwnProperty(a),r=t.hasOwnProperty(a);if(l&&!r||!l&&r||!so(e[a],t[a]))return!1}}return String(e)===String(t)}const qn=e=>!!(e&&e.__v_isRef===!0),P=e=>X(e)?e:e==null?"":M(e)||z(e)&&(e.toString===jn||!A(e.toString))?qn(e)?P(e.value):JSON.stringify(e,Yn,2):String(e),Yn=(e,t)=>qn(t)?Yn(e,t.value):qe(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],i)=>(o[Go(n,i)+" =>"]=s,o),{})}:Zt(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Go(o))}:_e(t)?Go(t):z(t)&&!M(t)&&!Qt(t)?String(t):t,Go=(e,t="")=>{var o;return _e(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/**
|
||
* @vue/reactivity v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let se;class pa{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&&se&&(se.active?(this.parent=se,this.index=(se.scopes||(se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t<o;t++)n[t].pause()}for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes){const s=this.scopes.slice();for(t=0,o=s.length;t<o;t++)s[t].resume()}const n=this.effects.slice();for(t=0,o=n.length;t<o;t++)n[t].resume()}}run(t){if(this._active){const o=se;try{return se=this,t()}finally{se=o}}}on(){++this._on===1&&(this.prevScope=se,se=this)}off(){if(this._on>0&&--this._on===0){if(se===this)se=this.prevScope;else{let t=se;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 o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(o=0,n=s.length;o<n;o++)s[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function da(){return se}let B;const qo=new WeakSet;class Xn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,se&&(se.active?se.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qo.has(this)&&(qo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ns(this),Qn(this);const t=B,o=ve;B=this,ve=!0;try{return this.fn()}finally{es(this),B=t,ve=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Zo(t);this.deps=this.depsTail=void 0,ns(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Jo(this)&&this.run()}get dirty(){return Jo(this)}}let Jn=0,yt,wt;function Zn(e,t=!1){if(e.flags|=8,t){e.next=wt,wt=e;return}e.next=yt,yt=e}function Yo(){Jn++}function Xo(){if(--Jn>0)return;if(wt){let t=wt;for(wt=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;yt;){let t=yt;for(yt=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function Qn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function es(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Zo(n),ua(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function Jo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ts(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ts(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===St)||(e.globalVersion=St,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Jo(e))))return;e.flags|=2;const t=e.dep,o=B,n=ve;B=e,ve=!0;try{Qn(e);const s=e.fn(e._value);(t.version===0||Re(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{B=o,ve=n,es(e),e.flags&=-3}}function Zo(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let i=o.computed.deps;i;i=i.nextDep)Zo(i,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function ua(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let ve=!0;const os=[];function we(){os.push(ve),ve=!1}function Se(){const e=os.pop();ve=e===void 0?!0:e}function ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=B;B=void 0;try{t()}finally{B=o}}}let St=0;class fa{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ss{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(!B||!ve||B===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==B)o=this.activeLink=new fa(B,this),B.deps?(o.prevDep=B.depsTail,B.depsTail.nextDep=o,B.depsTail=o):B.deps=B.depsTail=o,is(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=B.depsTail,o.nextDep=void 0,B.depsTail.nextDep=o,B.depsTail=o,B.deps===o&&(B.deps=n)}return o}trigger(t){this.version++,St++,this.notify(t)}notify(t){Yo();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Xo()}}}function is(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)is(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Qo=new WeakMap,Ze=Symbol(""),en=Symbol(""),Lt=Symbol("");function le(e,t,o){if(ve&&B){let n=Qo.get(e);n||Qo.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new ss),s.map=n,s.key=o),s.track()}}function Ie(e,t,o,n,s,i){const a=Qo.get(e);if(!a){St++;return}const l=r=>{r&&r.trigger()};if(Yo(),t==="clear")a.forEach(l);else{const r=M(e),u=r&&Vo(o);if(r&&o==="length"){const p=Number(n);a.forEach((h,g)=>{(g==="length"||g===Lt||!_e(g)&&g>=p)&&l(h)})}else switch((o!==void 0||a.has(void 0))&&l(a.get(o)),u&&l(a.get(Lt)),t){case"add":r?u&&l(a.get("length")):(l(a.get(Ze)),qe(e)&&l(a.get(en)));break;case"delete":r||(l(a.get(Ze)),qe(e)&&l(a.get(en)));break;case"set":qe(e)&&l(a.get(Ze));break}}Xo()}function lt(e){const t=I(e);return t===e?t:(le(t,"iterate",Lt),ke(e)?t:t.map(ze))}function io(e){return le(e=I(e),"iterate",Lt),e}function Le(e,t){return Ye(e)?rt(Qe(e)?ze(t):t):ze(t)}const ha={__proto__:null,[Symbol.iterator](){return tn(this,Symbol.iterator,e=>Le(this,e))},concat(...e){return lt(this).concat(...e.map(t=>M(t)?lt(t):t))},entries(){return tn(this,"entries",e=>(e[1]=Le(this,e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,o=>o.map(n=>Le(this,n)),arguments)},find(e,t){return Ue(this,"find",e,t,o=>Le(this,o),arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,o=>Le(this,o),arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return on(this,"includes",e)},indexOf(...e){return on(this,"indexOf",e)},join(e){return lt(this).join(e)},lastIndexOf(...e){return on(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return as(this,"reduce",e,t)},reduceRight(e,...t){return as(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return lt(this).toReversed()},toSorted(e){return lt(this).toSorted(e)},toSpliced(...e){return lt(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return tn(this,"values",e=>Le(this,e))}};function tn(e,t,o){const n=io(e),s=n[t]();return n!==e&&!ke(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=o(i.value)),i}),s}const ga=Array.prototype;function Ue(e,t,o,n,s,i){const a=io(e),l=a!==e&&!ke(e),r=a[t];if(r!==ga[t]){const h=r.apply(e,i);return l?ze(h):h}let u=o;a!==e&&(l?u=function(h,g){return o.call(this,Le(e,h),g,e)}:o.length>2&&(u=function(h,g){return o.call(this,h,g,e)}));const p=r.call(a,u,n);return l&&s?s(p):p}function as(e,t,o,n){const s=io(e),i=s!==e&&!ke(e);let a=o,l=!1;s!==e&&(i?(l=n.length===0,a=function(u,p,h){return l&&(l=!1,u=Le(e,u)),o.call(this,u,Le(e,p),h,e)}):o.length>3&&(a=function(u,p,h){return o.call(this,u,p,h,e)}));const r=s[t](a,...n);return l?Le(e,r):r}function on(e,t,o){const n=I(e);le(n,"iterate",Lt);const s=n[t](...o);return(s===-1||s===!1)&&ln(o[0])?(o[0]=I(o[0]),n[t](...o)):s}function Nt(e,t,o=[]){we(),Yo();const n=I(e)[t].apply(e,o);return Xo(),Se(),n}const ba=jo("__proto__,__v_isRef,__isVue"),ls=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_e));function $a(e){_e(e)||(e=String(e));const t=I(this);return le(t,"has",e),t.hasOwnProperty(e)}class rs{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return i;if(o==="__v_raw")return n===(s?i?hs:fs:i?us:ds).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=M(t);if(!s){let r;if(a&&(r=ha[o]))return r;if(o==="hasOwnProperty")return $a}const l=Reflect.get(t,o,re(t)?t:n);if((_e(o)?ls.has(o):ba(o))||(s||le(t,"get",o),i))return l;if(re(l)){const r=a&&Vo(o)?l:l.value;return s&&z(r)?an(r):r}return z(l)?s?an(l):sn(l):l}}class cs extends rs{constructor(t=!1){super(!1,t)}set(t,o,n,s){let i=t[o];const a=M(t)&&Vo(o);if(!this._isShallow){const u=Ye(i);if(!ke(n)&&!Ye(n)&&(i=I(i),n=I(n)),!a&&re(i)&&!re(n))return u||(i.value=n),!0}const l=a?Number(o)<t.length:R(t,o),r=Reflect.set(t,o,n,re(t)?t:s);return t===I(s)&&r&&(l?Re(n,i)&&Ie(t,"set",o,n):Ie(t,"add",o,n)),r}deleteProperty(t,o){const n=R(t,o);t[o];const s=Reflect.deleteProperty(t,o);return s&&n&&Ie(t,"delete",o,void 0),s}has(t,o){const n=Reflect.has(t,o);return(!_e(o)||!ls.has(o))&&le(t,"has",o),n}ownKeys(t){return le(t,"iterate",M(t)?"length":Ze),Reflect.ownKeys(t)}}class ps extends rs{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const ma=new cs,_a=new ps,va=new cs(!0),ka=new ps(!0),nn=e=>e,ao=e=>Reflect.getPrototypeOf(e);function xa(e,t,o){return function(...n){const s=this.__v_raw,i=I(s),a=qe(i),l=e==="entries"||e===Symbol.iterator&&a,r=e==="keys"&&a,u=s[e](...n),p=o?nn:t?rt:ze;return!t&&le(i,"iterate",r?en:Ze),Q(Object.create(u),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[p(h[0]),p(h[1])]:p(h),done:g}}})}}function lo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ya(e,t){const o={get(s){const i=this.__v_raw,a=I(i),l=I(s);e||(Re(s,l)&&le(a,"get",s),le(a,"get",l));const{has:r}=ao(a),u=t?nn:e?rt:ze;if(r.call(a,s))return u(i.get(s));if(r.call(a,l))return u(i.get(l));i!==a&&i.get(s)},get size(){const s=this.__v_raw;return!e&&le(I(s),"iterate",Ze),s.size},has(s){const i=this.__v_raw,a=I(i),l=I(s);return e||(Re(s,l)&&le(a,"has",s),le(a,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const a=this,l=a.__v_raw,r=I(l),u=t?nn:e?rt:ze;return!e&&le(r,"iterate",Ze),l.forEach((p,h)=>s.call(i,u(p),u(h),a))}};return Q(o,e?{add:lo("add"),set:lo("set"),delete:lo("delete"),clear:lo("clear")}:{add(s){const i=I(this),a=ao(i),l=I(s),r=!t&&!ke(s)&&!Ye(s)?l:s;return a.has.call(i,r)||Re(s,r)&&a.has.call(i,s)||Re(l,r)&&a.has.call(i,l)||(i.add(r),Ie(i,"add",r,r)),this},set(s,i){!t&&!ke(i)&&!Ye(i)&&(i=I(i));const a=I(this),{has:l,get:r}=ao(a);let u=l.call(a,s);u||(s=I(s),u=l.call(a,s));const p=r.call(a,s);return a.set(s,i),u?Re(i,p)&&Ie(a,"set",s,i):Ie(a,"add",s,i),this},delete(s){const i=I(this),{has:a,get:l}=ao(i);let r=a.call(i,s);r||(s=I(s),r=a.call(i,s)),l&&l.call(i,s);const u=i.delete(s);return r&&Ie(i,"delete",s,void 0),u},clear(){const s=I(this),i=s.size!==0,a=s.clear();return i&&Ie(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=xa(s,e,t)}),o}function ro(e,t){const o=ya(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(R(o,s)&&s in n?o:n,s,i)}const wa={get:ro(!1,!1)},Sa={get:ro(!1,!0)},La={get:ro(!0,!1)},Na={get:ro(!0,!0)},ds=new WeakMap,us=new WeakMap,fs=new WeakMap,hs=new WeakMap;function Pa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sn(e){return Ye(e)?e:co(e,!1,ma,wa,ds)}function Ta(e){return co(e,!1,va,Sa,us)}function an(e){return co(e,!0,_a,La,fs)}function Cd(e){return co(e,!0,ka,Na,hs)}function co(e,t,o,n,s){if(!z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=s.get(e);if(i)return i;const a=Pa(ta(e));if(a===0)return e;const l=new Proxy(e,a===2?n:o);return s.set(e,l),l}function Qe(e){return Ye(e)?Qe(e.__v_raw):!!(e&&e.__v_isReactive)}function Ye(e){return!!(e&&e.__v_isReadonly)}function ke(e){return!!(e&&e.__v_isShallow)}function ln(e){return e?!!e.__v_raw:!1}function I(e){const t=e&&e.__v_raw;return t?I(t):e}function Ea(e){return!R(e,"__v_skip")&&Object.isExtensible(e)&&Wn(e,"__v_skip",!0),e}const ze=e=>z(e)?sn(e):e,rt=e=>z(e)?an(e):e;function re(e){return e?e.__v_isRef===!0:!1}function gs(e){return re(e)?e.value:e}const Ca={get:(e,t,o)=>t==="__v_raw"?e:gs(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return re(s)&&!re(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function bs(e){return Qe(e)?e:new Proxy(e,Ca)}class Ma{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=St-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&B!==this)return Zn(this,!0),!0}get value(){const t=this.dep.track();return ts(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Oa(e,t,o=!1){let n,s;return A(e)?n=e:(n=e.get,s=e.set),new Ma(n,s,o)}const po={},uo=new WeakMap;let et;function Aa(e,t=!1,o=et){if(o){let n=uo.get(o);n||uo.set(o,n=[]),n.push(e)}}function Fa(e,t,o=V){const{immediate:n,deep:s,once:i,scheduler:a,augmentJob:l,call:r}=o,u=C=>s?C:ke(C)||s===!1||s===0?je(C,1):je(C);let p,h,g,S,U=!1,F=!1;if(re(e)?(h=()=>e.value,U=ke(e)):Qe(e)?(h=()=>u(e),U=!0):M(e)?(F=!0,U=e.some(C=>Qe(C)||ke(C)),h=()=>e.map(C=>{if(re(C))return C.value;if(Qe(C))return u(C);if(A(C))return r?r(C,2):C()})):A(e)?t?h=r?()=>r(e,2):e:h=()=>{if(g){we();try{g()}finally{Se()}}const C=et;et=p;try{return r?r(e,3,[S]):e(S)}finally{et=C}}:h=ye,t&&s){const C=h,oe=s===!0?1/0:s;h=()=>je(C(),oe)}const ee=da(),J=()=>{p.stop(),ee&&ee.active&&Wo(ee.effects,p)};if(i&&t){const C=t;t=(...oe)=>{const Me=C(...oe);return J(),Me}}let D=F?new Array(e.length).fill(po):po;const j=C=>{if(!(!(p.flags&1)||!p.dirty&&!C))if(t){const oe=p.run();if(C||s||U||(F?oe.some((Me,Oe)=>Re(Me,D[Oe])):Re(oe,D))){g&&g();const Me=et;et=p;try{const Oe=[oe,D===po?void 0:F&&D[0]===po?[]:D,S];D=oe,r?r(t,3,Oe):t(...Oe)}finally{et=Me}}}else p.run()};return l&&l(j),p=new Xn(h),p.scheduler=a?()=>a(j,!1):j,S=C=>Aa(C,!1,p),g=p.onStop=()=>{const C=uo.get(p);if(C){if(r)r(C,4);else for(const oe of C)oe();uo.delete(p)}},t?n?j(!0):D=p.run():a?a(j.bind(null,!0),!0):p.run(),J.pause=p.pause.bind(p),J.resume=p.resume.bind(p),J.stop=J,J}function je(e,t=1/0,o){if(t<=0||!z(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,re(e))je(e.value,t,o);else if(M(e))for(let n=0;n<e.length;n++)je(e[n],t,o);else if(Zt(e)||qe(e))e.forEach(n=>{je(n,t,o)});else if(Qt(e)){for(const n in e)je(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,o)}return e}/**
|
||
* @vue/runtime-core v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Pt=[];let rn=!1;function Md(e,...t){if(rn)return;rn=!0,we();const o=Pt.length?Pt[Pt.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Ha();if(n)ct(n,o,11,[e+t.map(i=>{var a,l;return(l=(a=i.toString)==null?void 0:a.call(i))!=null?l:JSON.stringify(i)}).join(""),o&&o.proxy,s.map(({vnode:i})=>`at <${$i(o,i.type)}>`).join(`
|
||
`),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(`
|
||
`,...Da(s)),console.warn(...i)}Se(),rn=!1}function Ha(){let e=Pt[Pt.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Da(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
|
||
`],...Ra(o))}),t}function Ra({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${$i(e.component,e.type,n)}`,i=">"+o;return e.props?[s,...Ia(e.props),i]:[s+i]}function Ia(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...$s(n,e[n]))}),o.length>3&&t.push(" ..."),t}function $s(e,t,o){return X(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:re(t)?(t=$s(e,I(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):A(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=I(t),o?t:[`${e}=`,t])}function ct(e,t,o,n){try{return n?e(...n):e()}catch(s){fo(s,t,o)}}function xe(e,t,o,n){if(A(e)){const s=ct(e,t,o,n);return s&&zn(s)&&s.catch(i=>{fo(i,t,o)}),s}if(M(e)){const s=[];for(let i=0;i<e.length;i++)s.push(xe(e[i],t,o,n));return s}}function fo(e,t,o,n=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||V;if(t){let l=t.parent;const r=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${o}`;for(;l;){const p=l.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,r,u)===!1)return}l=l.parent}if(i){we(),ct(i,null,10,[e,r,u]),Se();return}}Ua(e,o,s,n,a)}function Ua(e,t,o,n=!0,s=!1){if(s)throw e;console.error(e)}const pe=[];let Ne=-1;const pt=[];let Xe=null,dt=0;const ms=Promise.resolve();let ho=null;function _s(e){const t=ho||ms;return e?t.then(this?e.bind(this):e):t}function za(e){let t=Ne+1,o=pe.length;for(;t<o;){const n=t+o>>>1,s=pe[n],i=Tt(s);i<e||i===e&&s.flags&2?t=n+1:o=n}return t}function cn(e){if(!(e.flags&1)){const t=Tt(e),o=pe[pe.length-1];!o||!(e.flags&2)&&t>=Tt(o)?pe.push(e):pe.splice(za(t),0,e),e.flags|=1,vs()}}function vs(){ho||(ho=ms.then(ys))}function ja(e){if(!M(e))Xe&&e.id===-1?Xe.splice(dt+1,0,e):e.flags&1||(pt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)pt.push(e[t]);vs()}function ks(e,t,o=Ne+1){for(;o<pe.length;o++){const n=pe[o];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;pe.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function xs(e){if(pt.length){const t=[...new Set(pt)].sort((o,n)=>Tt(o)-Tt(n));if(pt.length=0,Xe){for(let o=0;o<t.length;o++)Xe.push(t[o]);return}for(Xe=t,dt=0;dt<Xe.length;dt++){const o=Xe[dt];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Xe=null,dt=0}}const Tt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ys(e){try{for(Ne=0;Ne<pe.length;Ne++){const t=pe[Ne];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ct(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ne<pe.length;Ne++){const t=pe[Ne];t&&(t.flags&=-2)}Ne=-1,pe.length=0,xs(),ho=null,(pe.length||pt.length)&&ys()}}let ie=null,ws=null;function go(e){const t=ie;return ie=e,ws=e&&e.type.__scopeId||null,t}function ut(e,t=ie,o){if(!t||e._n)return e;const n=(...s)=>{n._d&&ri(-1);const i=go(t),a=Ve.length;let l;try{l=e(...s)}finally{for(let r=Ve.length;r>a;r--)yn();go(i),n._d&&ri(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function ft(e,t){if(ie===null)return e;const o=No(ie),n=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,a,l,r=V]=t[s];i&&(A(i)&&(i={mounted:i,updated:i}),i.deep&&je(a),n.push({dir:i,instance:o,value:a,oldValue:void 0,arg:l,modifiers:r}))}return e}function tt(e,t,o,n){const s=e.dirs,i=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];i&&(l.oldValue=i[a].value);let r=l.dir[n];r&&(we(),xe(r,o,8,[e.el,l,e,t]),Se())}}function Wa(e,t){if(ce){let o=ce.provides;const n=ce.parent&&ce.parent.provides;n===o&&(o=ce.provides=Object.create(n)),o[e]=t}}function Et(e,t,o=!1){const n=di();if(n||gt){let s=gt?gt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return o&&A(t)?t.call(n&&n.proxy):t}}const Va=Symbol.for("v-scx"),Ka=()=>Et(Va);function pn(e,t,o){return Ss(e,t,o)}function Ss(e,t,o=V){const{immediate:n,deep:s,flush:i,once:a}=o,l=Q({},o),r=t&&n||!t&&i!=="post";let u;if(It){if(i==="sync"){const S=Ka();u=S.__watcherHandles||(S.__watcherHandles=[])}else if(!r){const S=()=>{};return S.stop=ye,S.resume=ye,S.pause=ye,S}}const p=ce;l.call=(S,U,F)=>xe(S,p,U,F);let h=!1;i==="post"?l.scheduler=S=>{fe(S,p&&p.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(S,U)=>{U?S():cn(S)}),l.augmentJob=S=>{t&&(S.flags|=4),h&&(S.flags|=2,p&&(S.id=p.uid,S.i=p))};const g=Fa(e,t,l);return It&&(u?u.push(g):r&&g()),g}function Ba(e,t,o){const n=this.proxy,s=X(e)?e.includes(".")?Ls(n,e):()=>n[e]:e.bind(n,n);let i;A(t)?i=t:(i=t.handler,o=t);const a=Rt(this),l=Ss(s,i.bind(n),o);return a(),l}function Ls(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;s<o.length&&n;s++)n=n[o[s]];return n}}const Ga=Symbol("_vte"),bo=e=>e.__isTeleport,dn=Symbol("_leaveCb");function qa(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Te){t=o;break}}return t}function Ns(e){if(!fn(e))return bo(e.type)&&e.children?qa(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&A(o.default))return o.default()}}function un(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;un(bo(o.type)&&Ns(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $o(e,t){return A(e)?Q({name:e.name},t,{setup:e}):e}function Ps(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ts(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const mo=new WeakMap;function Ct(e,t,o,n,s=!1){if(M(e)){e.forEach((F,ee)=>Ct(F,t&&(M(t)?t[ee]:t),o,n,s));return}if(ht(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ct(e,t,o,n.component.subTree);return}const i=n.shapeFlag&4?No(n.component):n.el,a=s?null:i,{i:l,r}=e,u=t&&t.r,p=l.refs===V?l.refs={}:l.refs,h=l.setupState,g=I(h),S=h===V?In:F=>Ts(p,F)?!1:R(g,F),U=(F,ee)=>!(ee&&Ts(p,ee));if(u!=null&&u!==r){if(Es(t),X(u))p[u]=null,S(u)&&(h[u]=null);else if(re(u)){const F=t;U(u,F.k)&&(u.value=null),F.k&&(p[F.k]=null)}}if(A(r))ct(r,l,12,[a,p]);else{const F=X(r),ee=re(r);if(F||ee){const J=()=>{if(e.f){const D=F?S(r)?h[r]:p[r]:U()||!e.k?r.value:p[e.k];if(s)M(D)&&Wo(D,i);else if(M(D))D.includes(i)||D.push(i);else if(F)p[r]=[i],S(r)&&(h[r]=p[r]);else{const j=[i];U(r,e.k)&&(r.value=j),e.k&&(p[e.k]=j)}}else F?(p[r]=a,S(r)&&(h[r]=a)):ee&&(U(r,e.k)&&(r.value=a),e.k&&(p[e.k]=a))};if(a){const D=()=>{J(),mo.delete(e)};D.id=-1,mo.set(e,D),fe(D,o)}else Es(e),J()}}}function Es(e){const t=mo.get(e);t&&(t.flags|=8,mo.delete(e))}no().requestIdleCallback,no().cancelIdleCallback;const ht=e=>!!e.type.__asyncLoader,fn=e=>e.type.__isKeepAlive;function Ya(e,t){Cs(e,"a",t)}function Xa(e,t){Cs(e,"da",t)}function Cs(e,t,o=ce){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(_o(t,n,o),o){let s=o.parent;for(;s&&s.parent;)fn(s.parent.vnode)&&Ja(n,t,o,s),s=s.parent}}function Ja(e,t,o,n){const s=_o(t,e,n,!0);Os(()=>{Wo(n[t],s)},o)}function _o(e,t,o=ce,n=!1){if(o){const s=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...a)=>{we();const l=Rt(o),r=xe(t,o,e,a);return l(),Se(),r});return n?s.unshift(i):s.push(i),i}}const We=e=>(t,o=ce)=>{(!It||e==="sp")&&_o(e,(...n)=>t(...n),o)},Za=We("bm"),Ms=We("m"),Qa=We("bu"),el=We("u"),tl=We("bum"),Os=We("um"),ol=We("sp"),nl=We("rtg"),sl=We("rtc");function il(e,t=ce){_o("ec",e,t)}const al="components";function As(e,t){return rl(al,e,!0,t)||e}const ll=Symbol.for("v-ndc");function rl(e,t,o=!0,n=!1){const s=ie||ce;if(s){const i=s.type;{const l=bi(i,!1);if(l&&(l===t||l===ne(t)||l===to(ne(t))))return i}const a=Fs(s[e]||i[e],t)||Fs(s.appContext[e],t);return!a&&n?i:a}}function Fs(e,t){return e&&(e[t]||e[ne(t)]||e[to(ne(t))])}function Pe(e,t,o,n){let s;const i=o,a=M(e);if(a||X(e)){const l=a&&Qe(e);let r=!1,u=!1;l&&(r=!ke(e),u=Ye(e),e=io(e)),s=new Array(e.length);for(let p=0,h=e.length;p<h;p++)s[p]=t(r?u?rt(ze(e[p])):ze(e[p]):e[p],p,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,i)}else if(z(e))if(e[Symbol.iterator])s=Array.from(e,(l,r)=>t(l,r,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let r=0,u=l.length;r<u;r++){const p=l[r];s[r]=t(e[p],p,r,i)}}else s=[];return s}function Mt(e,t,o,n,s,i){if(o==null&&(o={}),ie.ce||ie.parent&&ht(ie.parent)&&ie.parent.ce){const u=i!=null&&o.key==null?Q({},o,{key:i}):o,p=Object.keys(u).length>0;return t!=="default"&&(u.name=t),L(),yo(q,null,[me("slot",u,n)],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const l=Ve.length;L();let r;try{const u=a&&Hs(a(o)),p=o.key||i||u&&u.key;r=yo(q,{key:(p&&!_e(p)?p:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let p=Ve.length;p>l;p--)yn();throw u}finally{a&&a._c&&(a._d=!0)}return r.scopeId&&(r.slotScopeIds=[r.scopeId+"-s"]),r}function Hs(e){return e.some(t=>wn(t)?!(t.type===Te||t.type===q&&!Hs(t.children)):!0)?e:null}const hn=e=>e?fi(e)?No(e):hn(e.parent):null,Ot=Q(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=>hn(e.parent),$root:e=>hn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Us(e),$forceUpdate:e=>e.f||(e.f=()=>{cn(e.update)}),$nextTick:e=>e.n||(e.n=_s.bind(e.proxy)),$watch:e=>Ba.bind(e)}),gn=(e,t)=>e!==V&&!e.__isScriptSetup&&R(e,t),cl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:i,accessCache:a,type:l,appContext:r}=e;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return i[t]}else{if(gn(n,t))return a[t]=1,n[t];if(s!==V&&R(s,t))return a[t]=2,s[t];if(R(i,t))return a[t]=3,i[t];if(o!==V&&R(o,t))return a[t]=4,o[t];bn&&(a[t]=0)}}const u=Ot[t];let p,h;if(u)return t==="$attrs"&&le(e.attrs,"get",""),u(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(o!==V&&R(o,t))return a[t]=4,o[t];if(h=r.config.globalProperties,R(h,t))return h[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:i}=e;return gn(s,t)?(s[t]=o,!0):n!==V&&R(n,t)?(n[t]=o,!0):R(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:i,type:a}},l){let r;return!!(o[l]||e!==V&&l[0]!=="$"&&R(e,l)||gn(t,l)||R(i,l)||R(n,l)||R(Ot,l)||R(s.config.globalProperties,l)||(r=a.__cssModules)&&r[l])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:R(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Ds(e){return M(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let bn=!0;function pl(e){const t=Us(e),o=e.proxy,n=e.ctx;bn=!1,t.beforeCreate&&Rs(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:l,provide:r,inject:u,created:p,beforeMount:h,mounted:g,beforeUpdate:S,updated:U,activated:F,deactivated:ee,beforeDestroy:J,beforeUnmount:D,destroyed:j,unmounted:C,render:oe,renderTracked:Me,renderTriggered:Oe,errorCaptured:Je,serverPrefetch:Do,expose:nt,inheritAttrs:Bt,components:Ro,directives:Io,filters:Dn}=t;if(u&&dl(u,n,null),a)for(const Z in a){const G=a[Z];A(G)&&(n[Z]=G.bind(o))}if(s){const Z=s.call(o,o);z(Z)&&(e.data=sn(Z))}if(bn=!0,i)for(const Z in i){const G=i[Z],st=A(G)?G.bind(o,o):A(G.get)?G.get.bind(o,o):ye,Uo=!A(G)&&A(G.set)?G.set.bind(o):ye,it=ql({get:st,set:Uo});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ae=>it.value=Ae})}if(l)for(const Z in l)Is(l[Z],n,o,Z);if(r){const Z=A(r)?r.call(o):r;Reflect.ownKeys(Z).forEach(G=>{Wa(G,Z[G])})}p&&Rs(p,e,"c");function ue(Z,G){M(G)?G.forEach(st=>Z(st.bind(o))):G&&Z(G.bind(o))}if(ue(Za,h),ue(Ms,g),ue(Qa,S),ue(el,U),ue(Ya,F),ue(Xa,ee),ue(il,Je),ue(sl,Me),ue(nl,Oe),ue(tl,D),ue(Os,C),ue(ol,Do),M(nt))if(nt.length){const Z=e.exposed||(e.exposed={});nt.forEach(G=>{Object.defineProperty(Z,G,{get:()=>o[G],set:st=>o[G]=st,enumerable:!0})})}else e.exposed||(e.exposed={});oe&&e.render===ye&&(e.render=oe),Bt!=null&&(e.inheritAttrs=Bt),Ro&&(e.components=Ro),Io&&(e.directives=Io),Do&&Ps(e)}function dl(e,t,o=ye){M(e)&&(e=$n(e));for(const n in e){const s=e[n];let i;z(s)?"default"in s?i=Et(s.from||n,s.default,!0):i=Et(s.from||n):i=Et(s),re(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function Rs(e,t,o){xe(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Is(e,t,o,n){let s=n.includes(".")?Ls(o,n):()=>o[n];if(X(e)){const i=t[e];A(i)&&pn(s,i)}else if(A(e))pn(s,e.bind(o));else if(z(e))if(M(e))e.forEach(i=>Is(i,t,o,n));else{const i=A(e.handler)?e.handler.bind(o):t[e.handler];A(i)&&pn(s,i,e)}}function Us(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let r;return l?r=l:!s.length&&!o&&!n?r=t:(r={},s.length&&s.forEach(u=>vo(r,u,a,!0)),vo(r,t,a)),z(t)&&i.set(t,r),r}function vo(e,t,o,n=!1){const{mixins:s,extends:i}=t;i&&vo(e,i,o,!0),s&&s.forEach(a=>vo(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const l=ul[a]||o&&o[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const ul={data:zs,props:js,emits:js,methods:At,computed:At,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:At,directives:At,watch:hl,provide:zs,inject:fl};function zs(e,t){return t?e?function(){return Q(A(e)?e.call(this,this):e,A(t)?t.call(this,this):t)}:t:e}function fl(e,t){return At($n(e),$n(t))}function $n(e){if(M(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function de(e,t){return e?[...new Set([].concat(e,t))]:t}function At(e,t){return e?Q(Object.create(null),e,t):t}function js(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:Q(Object.create(null),Ds(e),Ds(t??{})):t}function hl(e,t){if(!e)return t;if(!t)return e;const o=Q(Object.create(null),e);for(const n in t)o[n]=de(e[n],t[n]);return o}function Ws(){return{app:null,config:{isNativeTag:In,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gl=0;function bl(e,t){return function(n,s=null){A(n)||(n=Q({},n)),s!=null&&!z(s)&&(s=null);const i=Ws(),a=new WeakSet,l=[];let r=!1;const u=i.app={_uid:gl++,_component:n,_props:s,_container:null,_context:i,_instance:null,version:Yl,get config(){return i.config},set config(p){},use(p,...h){return a.has(p)||(p&&A(p.install)?(a.add(p),p.install(u,...h)):A(p)&&(a.add(p),p(u,...h))),u},mixin(p){return i.mixins.includes(p)||i.mixins.push(p),u},component(p,h){return h?(i.components[p]=h,u):i.components[p]},directive(p,h){return h?(i.directives[p]=h,u):i.directives[p]},mount(p,h,g){if(!r){const S=u._ceVNode||me(n,s);return S.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(S,p,g),r=!0,u._container=p,p.__vue_app__=u,No(S.component)}},onUnmount(p){l.push(p)},unmount(){r&&(xe(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(p,h){return i.provides[p]=h,u},runWithContext(p){const h=gt;gt=u;try{return p()}finally{gt=h}}};return u}}let gt=null;const $l=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ne(t)}Modifiers`]||e[`${$e(t)}Modifiers`];function ml(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||V;let s=o;const i=t.startsWith("update:"),a=i&&$l(n,t.slice(7));a&&(a.trim&&(s=o.map(p=>X(p)?p.trim():p)),a.number&&(s=s.map(Bo)));let l,r=n[l=Ko(t)]||n[l=Ko(ne(t))];!r&&i&&(r=n[l=Ko($e(t))]),r&&xe(r,e,6,s);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,s)}}const _l=new WeakMap;function Vs(e,t,o=!1){const n=o?_l:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let a={},l=!1;if(!A(e)){const r=u=>{const p=Vs(u,t,!0);p&&(l=!0,Q(a,p))};!o&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!i&&!l?(z(e)&&n.set(e,null),null):(M(i)?i.forEach(r=>a[r]=null):Q(a,i),z(e)&&n.set(e,a),a)}function ko(e,t){return!e||!Xt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,$e(t))||R(e,t))}function Od(){}function Ks(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[i],slots:a,attrs:l,emit:r,render:u,renderCache:p,props:h,data:g,setupState:S,ctx:U,inheritAttrs:F}=e,ee=go(e);let J,D;try{if(o.shapeFlag&4){const C=s||n,oe=C;J=Ee(u.call(oe,C,p,h,S,g,U)),D=l}else{const C=t;J=Ee(C.length>1?C(h,{attrs:l,slots:a,emit:r}):C(h,null)),D=t.props?l:vl(l)}}catch(C){Ve.length=0,fo(C,e,1),J=me(Te)}let j=J;if(D&&F!==!1){const C=Object.keys(D),{shapeFlag:oe}=j;C.length&&oe&7&&(i&&C.some(Jt)&&(D=kl(D,i)),j=bt(j,D,!1,!0))}if(o.dirs&&(j=bt(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(o.dirs):o.dirs),o.transition){const C=bo(j.type)&&Ns(j)||j;un(C,o.transition)}return J=j,go(ee),J}const vl=e=>{let t;for(const o in e)(o==="class"||o==="style"||Xt(o))&&((t||(t={}))[o]=e[o]);return t},kl=(e,t)=>{const o={};for(const n in e)(!Jt(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function xl(e,t,o){const{props:n,children:s,component:i}=e,{props:a,children:l,patchFlag:r}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&r>=0){if(r&1024)return!0;if(r&16)return n?Bs(n,a,u):!!a;if(r&8){const p=t.dynamicProps;for(let h=0;h<p.length;h++){const g=p[h];if(Gs(a,n,g)&&!ko(u,g))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?Bs(n,a,u):!0:!!a;return!1}function Bs(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const i=n[s];if(Gs(t,e,i)&&!ko(o,i))return!0}return!1}function Gs(e,t,o){const n=e[o],s=t[o];return o==="style"&&z(n)&&z(s)?!so(n,s):n!==s}function yl({vnode:e,parent:t,suspense:o},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=n,e=s),s===e)(e=t.vnode).el=n,t=t.parent;else break}o&&o.activeBranch===e&&(o.vnode.el=n)}const qs={},Ys=()=>Object.create(qs),Xs=e=>Object.getPrototypeOf(e)===qs;function wl(e,t,o,n=!1){const s={},i=Ys();e.propsDefaults=Object.create(null),Js(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:Ta(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Sl(e,t,o,n){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,l=I(s),[r]=e.propsOptions;let u=!1;if((n||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let h=0;h<p.length;h++){let g=p[h];if(ko(e.emitsOptions,g))continue;const S=t[g];if(r)if(R(i,g))S!==i[g]&&(i[g]=S,u=!0);else{const U=ne(g);s[U]=mn(r,l,U,S,e,!1)}else S!==i[g]&&(i[g]=S,u=!0)}}}else{Js(e,t,s,i)&&(u=!0);let p;for(const h in l)(!t||!R(t,h)&&((p=$e(h))===h||!R(t,p)))&&(r?o&&(o[h]!==void 0||o[p]!==void 0)&&(s[h]=mn(r,l,h,void 0,e,!0)):delete s[h]);if(i!==l)for(const h in i)(!t||!R(t,h))&&(delete i[h],u=!0)}u&&Ie(e.attrs,"set","")}function Js(e,t,o,n){const[s,i]=e.propsOptions;let a=!1,l;if(t)for(let r in t){if(kt(r))continue;const u=t[r];let p;s&&R(s,p=ne(r))?!i||!i.includes(p)?o[p]=u:(l||(l={}))[p]=u:ko(e.emitsOptions,r)||(!(r in n)||u!==n[r])&&(n[r]=u,a=!0)}if(i){const r=I(o),u=l||V;for(let p=0;p<i.length;p++){const h=i[p];o[h]=mn(s,r,h,u[h],e,!R(u,h))}}return a}function mn(e,t,o,n,s,i){const a=e[o];if(a!=null){const l=R(a,"default");if(l&&n===void 0){const r=a.default;if(a.type!==Function&&!a.skipFactory&&A(r)){const{propsDefaults:u}=s;if(o in u)n=u[o];else{const p=Rt(s);n=u[o]=r.call(null,t),p()}}else n=r;s.ce&&s.ce._setProp(o,n)}a[0]&&(i&&!l?n=!1:a[1]&&(n===""||n===$e(o))&&(n=!0))}return n}const Ll=new WeakMap;function Zs(e,t,o=!1){const n=o?Ll:t.propsCache,s=n.get(e);if(s)return s;const i=e.props,a={},l=[];let r=!1;if(!A(e)){const p=h=>{r=!0;const[g,S]=Zs(h,t,!0);Q(a,g),S&&l.push(...S)};!o&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!i&&!r)return z(e)&&n.set(e,at),at;if(M(i))for(let p=0;p<i.length;p++){const h=ne(i[p]);Qs(h)&&(a[h]=V)}else if(i)for(const p in i){const h=ne(p);if(Qs(h)){const g=i[p],S=a[h]=M(g)||A(g)?{type:g}:Q({},g),U=S.type;let F=!1,ee=!0;if(M(U))for(let J=0;J<U.length;++J){const D=U[J],j=A(D)&&D.name;if(j==="Boolean"){F=!0;break}else j==="String"&&(ee=!1)}else F=A(U)&&U.name==="Boolean";S[0]=F,S[1]=ee,(F||R(S,"default"))&&l.push(h)}}const u=[a,l];return z(e)&&n.set(e,u),u}function Qs(e){return e[0]!=="$"&&!kt(e)}const _n=e=>e==="_"||e==="_ctx"||e==="$stable",vn=e=>M(e)?e.map(Ee):[Ee(e)],Nl=(e,t,o)=>{if(t._n)return t;const n=ut((...s)=>vn(t(...s)),o);return n._c=!1,n},ei=(e,t,o)=>{const n=e._ctx;for(const s in e){if(_n(s))continue;const i=e[s];if(A(i))t[s]=Nl(s,i,n);else if(i!=null){const a=vn(i);t[s]=()=>a}}},ti=(e,t)=>{const o=vn(t);e.slots.default=()=>o},oi=(e,t,o)=>{for(const n in t)(o||!_n(n))&&(e[n]=t[n])},Pl=(e,t,o)=>{const n=e.slots=Ys();if(e.vnode.shapeFlag&32){const s=t._;s?(oi(n,t,o),o&&Wn(n,"_",s,!0)):ei(t,n)}else t&&ti(e,t)},Tl=(e,t,o)=>{const{vnode:n,slots:s}=e;let i=!0,a=V;if(n.shapeFlag&32){const l=t._;l?o&&l===1?i=!1:oi(s,t,o):(i=!t.$stable,ei(t,s)),a=t}else t&&(ti(e,t),a={default:1});if(i)for(const l in s)!_n(l)&&a[l]==null&&delete s[l]},fe=Al;function El(e){return Cl(e)}function Cl(e,t){const o=no();o.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:a,createText:l,createComment:r,setText:u,setElementText:p,parentNode:h,nextSibling:g,setScopeId:S=ye,insertStaticContent:U}=e,F=(c,d,f,_=null,m=null,b=null,y=void 0,x=null,k=!!d.dynamicChildren)=>{if(c===d)return;c&&!Ht(c,d)&&(_=zo(c),Ae(c,m,b,!0),c=null),d.patchFlag===-2&&(k=!1,d.dynamicChildren=null);const{type:$,ref:E,shapeFlag:w}=d;switch($){case xo:ee(c,d,f,_);break;case Te:J(c,d,f,_);break;case xn:c==null&&D(d,f,_,y);break;case q:Ro(c,d,f,_,m,b,y,x,k);break;default:w&1?oe(c,d,f,_,m,b,y,x,k):w&6?Io(c,d,f,_,m,b,y,x,k):(w&64||w&128)&&$.process(c,d,f,_,m,b,y,x,k,qt)}E!=null&&m?Ct(E,c&&c.ref,b,d||c,!d):E==null&&c&&c.ref!=null&&Ct(c.ref,null,b,c,!0)},ee=(c,d,f,_)=>{if(c==null)n(d.el=l(d.children),f,_);else{const m=d.el=c.el;d.children!==c.children&&u(m,d.children)}},J=(c,d,f,_)=>{c==null?n(d.el=r(d.children||""),f,_):d.el=c.el},D=(c,d,f,_)=>{[c.el,c.anchor]=U(c.children,d,f,_,c.el,c.anchor)},j=({el:c,anchor:d},f,_)=>{let m;for(;c&&c!==d;)m=g(c),n(c,f,_),c=m;n(d,f,_)},C=({el:c,anchor:d})=>{let f;for(;c&&c!==d;)f=g(c),s(c),c=f;s(d)},oe=(c,d,f,_,m,b,y,x,k)=>{if(d.type==="svg"?y="svg":d.type==="math"&&(y="mathml"),c==null)Me(d,f,_,m,b,y,x,k);else{const $=c.el&&c.el._isVueCE?c.el:null;try{$&&$._beginPatch(),Do(c,d,m,b,y,x,k)}finally{$&&$._endPatch()}}},Me=(c,d,f,_,m,b,y,x)=>{let k,$;const{props:E,shapeFlag:w,transition:T,dirs:O}=c;if(k=c.el=a(c.type,b,E&&E.is,E),w&8?p(k,c.children):w&16&&Je(c.children,k,null,_,m,kn(c,b),y,x),O&&tt(c,null,_,"created"),Oe(k,c,c.scopeId,y,_),E){for(const K in E)K!=="value"&&!kt(K)&&i(k,K,null,E[K],b,_);"value"in E&&i(k,"value",null,E.value,b),($=E.onVnodeBeforeMount)&&Ce($,_,c)}O&&tt(c,null,_,"beforeMount");const H=Ml(m,T);H&&T.beforeEnter(k),n(k,d,f),(($=E&&E.onVnodeMounted)||H||O)&&fe(()=>{try{$&&Ce($,_,c),H&&T.enter(k),O&&tt(c,null,_,"mounted")}finally{}},m)},Oe=(c,d,f,_,m)=>{if(f&&S(c,f),_)for(let b=0;b<_.length;b++)S(c,_[b]);if(m){let b=m.subTree;if(d===b||li(b.type)&&(b.ssContent===d||b.ssFallback===d)){const y=m.vnode;Oe(c,y,y.scopeId,y.slotScopeIds,m.parent)}}},Je=(c,d,f,_,m,b,y,x,k=0)=>{for(let $=k;$<c.length;$++){const E=c[$]=x?Be(c[$]):Ee(c[$]);F(null,E,d,f,_,m,b,y,x)}},Do=(c,d,f,_,m,b,y)=>{const x=d.el=c.el;let{patchFlag:k,dynamicChildren:$,dirs:E}=d;k|=c.patchFlag&16;const w=c.props||V,T=d.props||V;let O;if(f&&ot(f,!1),(O=T.onVnodeBeforeUpdate)&&Ce(O,f,d,c),E&&tt(d,c,f,"beforeUpdate"),f&&ot(f,!0),$&&(!c.dynamicChildren||c.dynamicChildren.length!==$.length)&&(k=0,y=!1,$=null),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&p(x,""),$?nt(c.dynamicChildren,$,x,f,_,kn(d,m),b):y||G(c,d,x,null,f,_,kn(d,m),b,!1),k>0){if(k&16)Bt(x,w,T,f,m);else if(k&2&&w.class!==T.class&&i(x,"class",null,T.class,m),k&4&&i(x,"style",w.style,T.style,m),k&8){const H=d.dynamicProps;for(let K=0;K<H.length;K++){const W=H[K],te=w[W],ae=T[W];(ae!==te||W==="value")&&i(x,W,te,ae,m,f)}}k&1&&c.children!==d.children&&p(x,d.children)}else!y&&$==null&&Bt(x,w,T,f,m);((O=T.onVnodeUpdated)||E)&&fe(()=>{O&&Ce(O,f,d,c),E&&tt(d,c,f,"updated")},_)},nt=(c,d,f,_,m,b,y)=>{for(let x=0;x<d.length;x++){const k=c[x],$=d[x],E=k.el&&(k.type===q||!Ht(k,$)||k.shapeFlag&198)?h(k.el):f;F(k,$,E,null,_,m,b,y,!0)}},Bt=(c,d,f,_,m)=>{if(d!==f){if(d!==V)for(const b in d)!kt(b)&&!(b in f)&&i(c,b,d[b],null,m,_);for(const b in f){if(kt(b))continue;const y=f[b],x=d[b];y!==x&&b!=="value"&&i(c,b,x,y,m,_)}"value"in f&&i(c,"value",d.value,f.value,m)}},Ro=(c,d,f,_,m,b,y,x,k)=>{const $=d.el=c?c.el:l(""),E=d.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:O}=d;O&&(x=x?x.concat(O):O),c==null?(n($,f,_),n(E,f,_),Je(d.children||[],f,E,m,b,y,x,k)):w>0&&w&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(nt(c.dynamicChildren,T,f,m,b,y,x),(d.key!=null||m&&d===m.subTree)&&ni(c,d,!0)):G(c,d,f,E,m,b,y,x,k)},Io=(c,d,f,_,m,b,y,x,k)=>{d.slotScopeIds=x,c==null?d.shapeFlag&512?m.ctx.activate(d,f,_,y,k):Dn(d,f,_,m,b,y,k):qi(c,d,k)},Dn=(c,d,f,_,m,b,y)=>{const x=c.component=Ul(c,_,m);if(fn(c)&&(x.ctx.renderer=qt),zl(x,!1,y),x.asyncDep){if(m&&m.registerDep(x,ue,y),!c.el){const k=x.subTree=me(Te);J(null,k,d,f),c.placeholder=k.el}}else ue(x,c,d,f,m,b,y)},qi=(c,d,f)=>{const _=d.component=c.component;if(xl(c,d,f))if(_.asyncDep&&!_.asyncResolved){Z(_,d,f);return}else _.next=d,_.update();else d.el=c.el,_.vnode=d},ue=(c,d,f,_,m,b,y)=>{const x=()=>{if(c.isMounted){let{next:w,bu:T,u:O,parent:H,vnode:K}=c;{const He=si(c);if(He){w&&(w.el=K.el,Z(c,w,y)),He.asyncDep.then(()=>{fe(()=>{c.isUnmounted||$()},m)});return}}let W=w,te;ot(c,!1),w?(w.el=K.el,Z(c,w,y)):w=K,T&&oo(T),(te=w.props&&w.props.onVnodeBeforeUpdate)&&Ce(te,H,w,K),ot(c,!0);const ae=Ks(c),Fe=c.subTree;c.subTree=ae,F(Fe,ae,h(Fe.el),zo(Fe),c,m,b),w.el=ae.el,W===null&&yl(c,ae.el),O&&fe(O,m),(te=w.props&&w.props.onVnodeUpdated)&&fe(()=>Ce(te,H,w,K),m)}else{let w;const{el:T,props:O}=d,{bm:H,m:K,parent:W,root:te,type:ae}=c,Fe=ht(d);ot(c,!1),H&&oo(H),!Fe&&(w=O&&O.onVnodeBeforeMount)&&Ce(w,W,d),ot(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(ae,c.parent?c.parent.type:void 0);const He=c.subTree=Ks(c);F(null,He,f,_,c,m,b),d.el=He.el}if(K&&fe(K,m),!Fe&&(w=O&&O.onVnodeMounted)){const He=d;fe(()=>Ce(w,W,He),m)}(d.shapeFlag&256||W&&ht(W.vnode)&&W.vnode.shapeFlag&256)&&c.a&&fe(c.a,m),c.isMounted=!0,d=f=_=null}};c.scope.on();const k=c.effect=new Xn(x);c.scope.off();const $=c.update=k.run.bind(k),E=c.job=k.runIfDirty.bind(k);E.i=c,E.id=c.uid,k.scheduler=()=>cn(E),ot(c,!0),$()},Z=(c,d,f)=>{d.component=c;const _=c.vnode.props;c.vnode=d,c.next=null,Sl(c,d.props,_,f),Tl(c,d.children,f),we(),ks(c),Se()},G=(c,d,f,_,m,b,y,x,k=!1)=>{const $=c&&c.children,E=c?c.shapeFlag:0,w=d.children,{patchFlag:T,shapeFlag:O}=d;if(T>0){if(T&128){Uo($,w,f,_,m,b,y,x,k);return}else if(T&256){st($,w,f,_,m,b,y,x,k);return}}O&8?(E&16&&Gt($,m,b),w!==$&&p(f,w)):E&16?O&16?Uo($,w,f,_,m,b,y,x,k):Gt($,m,b,!0):(E&8&&p(f,""),O&16&&Je(w,f,_,m,b,y,x,k))},st=(c,d,f,_,m,b,y,x,k)=>{c=c||at,d=d||at;const $=c.length,E=d.length,w=Math.min($,E);let T;for(T=0;T<w;T++){const O=d[T]=k?Be(d[T]):Ee(d[T]);F(c[T],O,f,null,m,b,y,x,k)}$>E?Gt(c,m,b,!0,!1,w):Je(d,f,_,m,b,y,x,k,w)},Uo=(c,d,f,_,m,b,y,x,k)=>{let $=0;const E=d.length;let w=c.length-1,T=E-1;for(;$<=w&&$<=T;){const O=c[$],H=d[$]=k?Be(d[$]):Ee(d[$]);if(Ht(O,H))F(O,H,f,null,m,b,y,x,k);else break;$++}for(;$<=w&&$<=T;){const O=c[w],H=d[T]=k?Be(d[T]):Ee(d[T]);if(Ht(O,H))F(O,H,f,null,m,b,y,x,k);else break;w--,T--}if($>w){if($<=T){const O=T+1,H=O<E?d[O].el:_;for(;$<=T;)F(null,d[$]=k?Be(d[$]):Ee(d[$]),f,H,m,b,y,x,k),$++}}else if($>T)for(;$<=w;)Ae(c[$],m,b,!0),$++;else{const O=$,H=$,K=new Map;for($=H;$<=T;$++){const be=d[$]=k?Be(d[$]):Ee(d[$]);be.key!=null&&K.set(be.key,$)}let W,te=0;const ae=T-H+1;let Fe=!1,He=0;const Yt=new Array(ae);for($=0;$<ae;$++)Yt[$]=0;for($=O;$<=w;$++){const be=c[$];if(te>=ae){Ae(be,m,b,!0);continue}let De;if(be.key!=null)De=K.get(be.key);else for(W=H;W<=T;W++)if(Yt[W-H]===0&&Ht(be,d[W])){De=W;break}De===void 0?Ae(be,m,b,!0):(Yt[De-H]=$+1,De>=He?He=De:Fe=!0,F(be,d[De],f,null,m,b,y,x,k),te++)}const Ji=Fe?Ol(Yt):at;for(W=Ji.length-1,$=ae-1;$>=0;$--){const be=H+$,De=d[be],Zi=d[be+1],Qi=be+1<E?Zi.el||ai(Zi):_;Yt[$]===0?F(null,De,f,Qi,m,b,y,x,k):Fe&&(W<0||$!==Ji[W]?it(De,f,Qi,2):W--)}}},it=(c,d,f,_,m=null)=>{const{el:b,type:y,transition:x,children:k,shapeFlag:$}=c;if($&6){it(c.component.subTree,d,f,_);return}if($&128){c.suspense.move(d,f,_);return}if($&64){y.move(c,d,f,qt);return}if(y===q){n(b,d,f);for(let w=0;w<k.length;w++)it(k[w],d,f,_);n(c.anchor,d,f);return}if(y===xn){j(c,d,f);return}if(_!==2&&$&1&&x)if(_===0)x.persisted&&!b[dn]?n(b,d,f):(x.beforeEnter(b),n(b,d,f),fe(()=>x.enter(b),m));else{const{leave:w,delayLeave:T,afterLeave:O}=x,H=()=>{c.ctx.isUnmounted?s(b):n(b,d,f)},K=()=>{const W=b._isLeaving||!!b[dn];b._isLeaving&&b[dn](!0),x.persisted&&!W?H():w(b,()=>{H(),O&&O()})};T?T(b,H,K):K()}else n(b,d,f)},Ae=(c,d,f,_=!1,m=!1)=>{const{type:b,props:y,ref:x,children:k,dynamicChildren:$,shapeFlag:E,patchFlag:w,dirs:T,cacheIndex:O,memo:H}=c;if(w===-2&&(m=!1),x!=null&&(we(),Ct(x,null,f,c,!0),Se()),O!=null&&(d.renderCache[O]=void 0),E&256){d.ctx.deactivate(c);return}const K=E&1&&T,W=!ht(c);let te;if(W&&(te=y&&y.onVnodeBeforeUnmount)&&Ce(te,d,c),E&6)Td(c.component,f,_);else{if(E&128){c.suspense.unmount(f,_);return}K&&tt(c,null,d,"beforeUnmount"),E&64?c.type.remove(c,d,f,qt,_):$&&!$.hasOnce&&(b!==q||w>0&&w&64)?Gt($,d,f,!1,!0):(b===q&&w&384||!m&&E&16)&&Gt(k,d,f),_&&Yi(c)}const ae=H!=null&&O==null;(W&&(te=y&&y.onVnodeUnmounted)||K||ae)&&fe(()=>{te&&Ce(te,d,c),K&&tt(c,null,d,"unmounted"),ae&&(c.el=null)},f)},Yi=c=>{const{type:d,el:f,anchor:_,transition:m}=c;if(d===q){Pd(f,_);return}if(d===xn){C(c);return}const b=()=>{s(f),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:y,delayLeave:x}=m,k=()=>y(f,b);x?x(c.el,b,k):k()}else b()},Pd=(c,d)=>{let f;for(;c!==d;)f=g(c),s(c),c=f;s(d)},Td=(c,d,f)=>{const{bum:_,scope:m,job:b,subTree:y,um:x,m:k,a:$}=c;ii(k),ii($),_&&oo(_),m.stop(),b&&(b.flags|=8,Ae(y,c,d,f)),x&&fe(x,d),fe(()=>{c.isUnmounted=!0},d)},Gt=(c,d,f,_=!1,m=!1,b=0)=>{for(let y=b;y<c.length;y++)Ae(c[y],d,f,_,m)},zo=c=>{if(c.shapeFlag&6)return zo(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=g(c.anchor||c.el),f=d&&d[Ga];return f?g(f):d};let Rn=!1;const Xi=(c,d,f)=>{let _;c==null?d._vnode&&(Ae(d._vnode,null,null,!0),_=d._vnode.component):F(d._vnode||null,c,d,null,null,null,f),d._vnode=c,Rn||(Rn=!0,ks(_),xs(),Rn=!1)},qt={p:F,um:Ae,m:it,r:Yi,mt:Dn,mc:Je,pc:G,pbc:nt,n:zo,o:e};return{render:Xi,hydrate:void 0,createApp:bl(Xi)}}function kn({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function ot({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ml(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ni(e,t,o=!1){const n=e.children,s=t.children;if(M(n)&&M(s))for(let i=0;i<n.length;i++){const a=n[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=Be(s[i]),l.el=a.el),!o&&l.patchFlag!==-2&&ni(a,l)),l.type===xo&&(l.patchFlag===-1&&(l=s[i]=Be(l)),l.el=a.el),l.type===Te&&!l.el&&(l.el=a.el)}}function Ol(e){const t=e.slice(),o=[0];let n,s,i,a,l;const r=e.length;for(n=0;n<r;n++){const u=e[n];if(u!==0){if(s=o[o.length-1],e[s]<u){t[n]=s,o.push(n);continue}for(i=0,a=o.length-1;i<a;)l=i+a>>1,e[o[l]]<u?i=l+1:a=l;u<e[o[i]]&&(i>0&&(t[n]=o[i-1]),o[i]=n)}}for(i=o.length,a=o[i-1];i-- >0;)o[i]=a,a=t[a];return o}function si(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:si(t)}function ii(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ai(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ai(t.subTree):null}const li=e=>e.__isSuspense;function Al(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):ja(e)}const q=Symbol.for("v-fgt"),xo=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),xn=Symbol.for("v-stc"),Ve=[];let ge=null;function L(e=!1){Ve.push(ge=e?null:[])}function yn(){Ve.pop(),ge=Ve[Ve.length-1]||null}let Ft=1;function ri(e,t=!1){Ft+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function ci(e){return e.dynamicChildren=Ft>0?ge||at:null,yn(),Ft>0&&ge&&ge.push(e),e}function N(e,t,o,n,s,i){return ci(v(e,t,o,n,s,i,!0))}function yo(e,t,o,n,s){return ci(me(e,t,o,n,s,!0))}function wn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const pi=({key:e})=>e??null,wo=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||re(e)||A(e)?{i:ie,r:e,k:t,f:!!o}:e:null);function v(e,t=null,o=null,n=0,s=null,i=e===q?0:1,a=!1,l=!1){const r={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pi(t),ref:t&&wo(t),scopeId:ws,slotScopeIds:null,children:o,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:i,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ie};return l?(So(r,o),i&128&&e.normalize(r)):o&&(r.shapeFlag|=X(o)?8:16),Ft>0&&!a&&ge&&(r.patchFlag>0||i&6)&&r.patchFlag!==32&&ge.push(r),r}const me=Fl;function Fl(e,t=null,o=null,n=0,s=null,i=!1){if((!e||e===ll)&&(e=Te),wn(e)){const l=bt(e,t,!0);return o&&So(l,o),Ft>0&&!i&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Gl(e)&&(e=e.__vccOpts),t){t=Hl(t);let{class:l,style:r}=t;l&&!X(l)&&(t.class=he(l)),z(r)&&(ln(r)&&!M(r)&&(r=Q({},r)),t.style=xt(r))}const a=X(e)?1:li(e)?128:bo(e)?64:z(e)?4:A(e)?2:0;return v(e,t,o,n,s,a,i,!0)}function Hl(e){return e?ln(e)||Xs(e)?Q({},e):e:null}function bt(e,t,o=!1,n=!1){const{props:s,ref:i,patchFlag:a,children:l,transition:r}=e,u=t?Dl(s||{},t):s,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pi(u),ref:t&&t.ref?o&&i?M(i)?i.concat(wo(t)):[i,wo(t)]:wo(t):i,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!==q?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:r,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return r&&n&&un(p,r.clone(p)),p}function Ke(e=" ",t=0){return me(xo,null,e,t)}function Y(e="",t=!1){return t?(L(),yo(Te,null,e)):me(Te,null,e)}function Ee(e){return e==null||typeof e=="boolean"?me(Te):M(e)?me(q,null,e.slice()):wn(e)?Be(e):me(xo,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function So(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),So(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Xs(t)?t._ctx=ie:s===3&&ie&&(ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(A(t)){if(n&65){So(e,{default:t});return}t={default:t,_ctx:ie},o=32}else t=String(t),n&64?(o=16,t=[Ke(t)]):o=8;e.children=t,e.shapeFlag|=o}function Dl(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=he([t.class,n.class]));else if(s==="style")t.style=xt([t.style,n.style]);else if(Xt(s)){const i=t[s],a=n[s];a&&i!==a&&!(M(i)&&i.includes(a))?t[s]=i?[].concat(i,a):a:a==null&&i==null&&!Jt(s)&&(t[s]=a)}else s!==""&&(t[s]=n[s])}return t}function Ce(e,t,o,n=null){xe(e,t,7,[o,n])}const Rl=Ws();let Il=0;function Ul(e,t,o){const n=e.type,s=(t?t.appContext:e.appContext)||Rl,i={uid:Il++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new pa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zs(n,s),emitsOptions:Vs(n,s),emit:null,emitted:null,propsDefaults:V,inheritAttrs:n.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=ml.bind(null,i),e.ce&&e.ce(i),i}let ce=null;const di=()=>ce||ie;let Lo,Dt;{const e=no(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),i=>{s.length>1?s.forEach(a=>a(i)):s[0](i)}};Lo=t("__VUE_INSTANCE_SETTERS__",o=>ce=o),Dt=t("__VUE_SSR_SETTERS__",o=>It=o)}const Rt=e=>{const t=ce;return Lo(e),e.scope.on(),()=>{e.scope.off(),Lo(t)}},ui=()=>{ce&&ce.scope.off(),Lo(null)};function fi(e){return e.vnode.shapeFlag&4}let It=!1;function zl(e,t=!1,o=!1){t&&Dt(t);const{props:n,children:s}=e.vnode,i=fi(e);wl(e,n,i,t),Pl(e,s,o||t);const a=i?jl(e,t):void 0;return t&&Dt(!1),a}function jl(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cl);const{setup:n}=o;if(n){we();const s=e.setupContext=n.length>1?Vl(e):null,i=Rt(e),a=ct(n,e,0,[e.props,s]),l=zn(a);if(Se(),i(),(l||e.sp)&&!ht(e)&&Ps(e),l){if(a.then(ui,ui),t)return a.then(r=>{Dt(!0);try{hi(e,r,t)}finally{Dt(!1)}}).catch(r=>{fo(r,e,0)});e.asyncDep=a}else hi(e,a)}else gi(e)}function hi(e,t,o){A(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:z(t)&&(e.setupState=bs(t)),gi(e)}function gi(e,t,o){const n=e.type;e.render||(e.render=n.render||ye);{const s=Rt(e);we();try{pl(e)}finally{Se(),s()}}}const Wl={get(e,t){return le(e,"get",""),e[t]}};function Vl(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Wl),slots:e.slots,emit:e.emit,expose:t}}function No(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(bs(Ea(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Ot)return Ot[o](e)},has(t,o){return o in t||o in Ot}})):e.proxy}const Kl=/(?:^|[-_])\w/g,Bl=e=>e.replace(Kl,t=>t.toUpperCase()).replace(/[-_]/g,"");function bi(e,t=!0){return A(e)?e.displayName||e.name:e.name||t&&e.__name}function $i(e,t,o=!1){let n=bi(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=i=>{for(const a in i)if(i[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?Bl(n):o?"App":"Anonymous"}function Gl(e){return A(e)&&"__vccOpts"in e}const ql=(e,t)=>Oa(e,t,It),Yl="3.5.42";/**
|
||
* @vue/runtime-dom v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Sn;const mi=typeof window<"u"&&window.trustedTypes;if(mi)try{Sn=mi.createPolicy("vue",{createHTML:e=>e})}catch{}const _i=Sn?e=>Sn.createHTML(e):e=>e,Xl="http://www.w3.org/2000/svg",Jl="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,vi=Ge&&Ge.createElement("template"),Zl={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?Ge.createElementNS(Xl,e):t==="mathml"?Ge.createElementNS(Jl,e):o?Ge.createElement(e,{is:o}):Ge.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,i){const a=o?o.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===i||!(s=s.nextSibling)););else{vi.innerHTML=_i(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=vi.content;if(n==="svg"||n==="mathml"){const r=l.firstChild;for(;r.firstChild;)l.appendChild(r.firstChild);l.removeChild(r)}t.insertBefore(l,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Ql=Symbol("_vtc");function er(e,t,o){const n=e[Ql];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Po=Symbol("_vod"),ki=Symbol("_vsh"),Ln={name:"show",beforeMount(e,{value:t},{transition:o}){e[Po]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Ut(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Ut(e,!0),n.enter(e)):n.leave(e,()=>{Ut(e,!1)}):Ut(e,t))},beforeUnmount(e,{value:t}){Ut(e,t)}};function Ut(e,t){e.style.display=t?e[Po]:"none",e[ki]=!t}const tr=Symbol(""),or=/(?:^|;)\s*display\s*:/;function nr(e,t,o){const n=e.style,s=X(o);let i=!1;if(o&&!s){if(t)if(X(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();o[l]==null&&zt(n,l,"")}else for(const a in t)o[a]==null&&zt(n,a,"");for(const a in o){a==="display"&&(i=!0);const l=o[a];l!=null?ir(e,a,!X(t)&&t?t[a]:void 0,l)||zt(n,a,l):zt(n,a,"")}}else if(s){if(t!==o){const a=n[tr];a&&(o+=";"+a),n.cssText=o,i=or.test(o)}}else t&&e.removeAttribute("style");Po in e&&(e[Po]=i?n.display:"",e[ki]&&(n.display="none"))}const To=/\s*!important$/;function zt(e,t,o){if(M(o))o.forEach(n=>zt(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))To.test(o)?e.setProperty(t,o.replace(To,""),"important"):e.setProperty(t,o);else{const n=sr(e,t);To.test(o)?e.setProperty($e(n),o.replace(To,""),"important"):e[n]=o}}const xi=["Webkit","Moz","ms"],Nn={};function sr(e,t){const o=Nn[t];if(o)return o;let n=ne(t);if(n!=="filter"&&n in e)return Nn[t]=n;n=to(n);for(let s=0;s<xi.length;s++){const i=xi[s]+n;if(i in e)return Nn[t]=i}return t}function ir(e,t,o,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&X(n)&&o===n}const yi="http://www.w3.org/1999/xlink";function wi(e,t,o,n,s,i=ra(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(yi,t.slice(6,t.length)):e.setAttributeNS(yi,t,o):o==null||i&&!Bn(o)?e.removeAttribute(t):e.setAttribute(t,i?"":_e(o)?String(o):o)}function Si(e,t,o,n,s){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?_i(o):o);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,r=o==null?e.type==="checkbox"?"on":"":String(o);(l!==r||!("_value"in e))&&(e.value=r),o==null&&e.removeAttribute(t),e._value=o;return}let a=!1;if(o===""||o==null){const l=typeof e[t];l==="boolean"?o=Bn(o):o==null&&l==="string"?(o="",a=!0):l==="number"&&(o=0,a=!0)}try{e[t]=o}catch{}a&&e.removeAttribute(s||t)}function $t(e,t,o,n){e.addEventListener(t,o,n)}function ar(e,t,o,n){e.removeEventListener(t,o,n)}const Li=Symbol("_vei");function lr(e,t,o,n,s=null){const i=e[Li]||(e[Li]={}),a=i[t];if(n&&a)a.value=n;else{const[l,r]=pr(t);if(n){const u=i[t]=fr(n,s);$t(e,l,u,r)}else a&&(ar(e,l,a,r),i[t]=void 0)}}const rr=/(Once|Passive|Capture)$/,cr=/^on:?(?:Once|Passive|Capture)$/;function pr(e){let t,o;for(;(o=e.match(rr))&&!cr.test(e);)t||(t={}),e=e.slice(0,e.length-o[1].length),t[o[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):$e(e.slice(2)),t]}let Pn=0;const dr=Promise.resolve(),ur=()=>Pn||(dr.then(()=>Pn=0),Pn=Date.now());function fr(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(M(s)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const a=s.slice(),l=[n];for(let r=0;r<a.length&&!n._stopped;r++){const u=a[r];u&&xe(u,t,5,l)}}else xe(s,t,5,[n])};return o.value=e,o.attached=ur(),o}const Ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hr=(e,t,o,n,s,i)=>{const a=s==="svg";t==="class"?er(e,n,a):t==="style"?nr(e,o,n):Xt(t)?Jt(t)||lr(e,t,o,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gr(e,t,n,a))?(Si(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&wi(e,t,n,a,i,t!=="value")):e._isVueCE&&(br(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!X(n)))?Si(e,ne(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),wi(e,t,n,a))};function gr(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ni(t)&&A(o));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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ni(t)&&X(o)?!1:t in e}function br(e,t){const o=e._def.props;if(!o)return!1;const n=ne(t);return Array.isArray(o)?o.some(s=>ne(s)===n):Object.keys(o).some(s=>ne(s)===n)}const Pi={};function $r(e,t,o){let n=$o(e,t);Qt(n)&&(n=Q({},n,t));class s extends Tn{constructor(a){super(n,a,o)}}return s.def=n,s}const mr=typeof HTMLElement<"u"?HTMLElement:class{};class Tn extends mr{constructor(t,o={},n=Ai){super(),this._def=t,this._props=o,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!==Ai?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},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 Tn){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,_s(()=>{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 o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let l;if(i&&!M(i))for(const r in i){const u=i[r];(u===Number||u&&u.type===Number)&&(r in this._props&&(this._props[r]=Vn(this._props[r])),(l||(l=Object.create(null)))[ne(r)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().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 o=this._instance&&this._instance.exposed;if(o)for(const n in o)R(this,n)||Object.defineProperty(this,n,{get:()=>gs(o[n])})}_resolveProps(t){const{props:o}=t,n=M(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ne))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Pi;const s=ne(t);o&&this._numberProps&&this._numberProps[s]&&(n=Vn(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Pi?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),o===!0?this.setAttribute($e(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute($e(t),o+""):o||this.removeAttribute($e(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),yr(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=me(this._def,Q(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(i,a)=>{this.dispatchEvent(new CustomEvent(i,Qt(a[0])?Q({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{s(i,a),$e(i)!==i&&s($e(i),a)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let r=t.length-1;r>=0;r--){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=t[r],i.insertBefore(u,l||a),l=u,r===0&&(n||this._styleAnchors.set(this._def,u),o&&this._styleAnchors.set(o,u))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o<t.childNodes.length;o++){const n=t.childNodes[o];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=this._getSlots(),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],i=s.getAttribute("name")||"default",a=this._slots[i],l=s.parentNode;if(a)for(const r of a){if(o&&r.nodeType===1){const u=o+"-s",p=document.createTreeWalker(r,1);r.setAttribute(u,"");let h;for(;h=p.nextNode();)h.setAttribute(u,"")}l.insertBefore(r,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const s=n.querySelectorAll("slot");for(let i=0;i<s.length;i++)o.add(s[i])}return Array.from(o)}_injectChildStyle(t,o){this._applyStyles(t.styles,t,o)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?o=>oo(t,o):t};function _r(e){e.target.composing=!0}function Ei(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Eo=Symbol("_assign"),Co=Symbol("_initialValue");function En(e,t,o){return t&&(e=e.trim()),o&&(e=Bo(e)),e}const Cn={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e.parentNode&&(e.type==="text"?e[Co]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Co]=e.defaultValue.replace(/\r\n?/g,`
|
||
`))),e[Eo]=Ti(s);const i=n||s.props&&s.props.type==="number";$t(e,t?"change":"input",a=>{a.target.composing||e[Eo](En(e.value,o,i))}),(o||i)&&$t(e,"change",()=>{e.value=En(e.value,o,i)}),t||($t(e,"compositionstart",_r),$t(e,"compositionend",Ei),$t(e,"change",Ei))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const s=t??"",i=e[Co];delete e[Co],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Eo](En(e.value,o,n)):e.value=s},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:s,number:i}},a){if(e[Eo]=Ti(a),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Bo(e.value):e.value,r=t??"";if(l===r)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(n&&t===o||s&&e.value.trim()===r)||(e.value=r)}},vr=["ctrl","shift","alt","meta"],kr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vr.some(o=>e[`${o}Key`]&&!t.includes(o))},Ci=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...i)=>{for(let a=0;a<t.length;a++){const l=kr[t[a]];if(l&&l(s,t))return}return e(s,...i)})},xr=Q({patchProp:hr},Zl);let Mi;function Oi(){return Mi||(Mi=El(xr))}const yr=(...e)=>{Oi().render(...e)},Ai=(...e)=>{const t=Oi().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=Sr(n);if(!s)return;const i=t._component;!A(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=o(s,!1,wr(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function wr(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sr(e){return X(e)?document.querySelector(e):e}const Lr={title:"استوديو الإضافات",navLabel:"الإضافات حسب القدرة",countLabel:"{bundles} حزمة · {elements} إضافة مدرجة هنا",changeLanguage:"تغيير اللغة",copyEmbed:"نسخ رمز التضمين",copy:"نسخ",copied:"تم النسخ",scriptEmbed:"تضمين عبر سكربت",loading:"جارٍ تحميل {name}…",couldNotLoad:"تعذّر تحميل {name}.",chooseElement:"اختر إضافة من القائمة.",filterPlaceholder:"تصفية الإضافات",collapseAll:"طي الكل",noMatch:"لا توجد إضافة تطابق «{query}».",openSection:"فتح {cap}، {label}",part:"جزء",noStandalone:"بلا صفحة مستقلة",cap5:"هيكل التطبيق",cap4:"مركّب",cap3:"متعدد العروض",cap2:"إعداد مسبق",cap1:"مفرد",toggleList:"إظهار القائمة أو إخفاؤها",openViews:"فتح قائمة العروض",expandList:"توسيع القائمة",collapseList:"طي القائمة",collapse:"طي",partOf:"جزء من {name}، غير منشور بمفرده",mapToken:"رمز الخريطة",mapboxToken:"رمز Mapbox",tokenPaste:"رمز Mapbox العام (pk.…)",tokenUrlLabel:"…أو رابط خدمة الرموز",tokenApply:"استخدام",tokenClear:"مسح",tokenStoredHere:"يُحفظ في هذا المتصفح فقط.",tokenSourceYours:"يُستخدم رمزك",tokenSourceUrl:"يُستخدم رمز من {url}",tokenSourceBuilt:"يُستخدم الرمز المضمَّن في هذه الصفحة",tokenSourceNone:"لا يوجد رمز Mapbox: لا يمكن تحميل خرائط Mapbox (خرائط MapLibre لا تحتاج رمزًا)",tokenSecret:"هذا رمز سري (sk.…). الصق رمزًا عامًا (pk.…): هذه الصفحة عامة.",tokenNotPk:"يبدأ رمز Mapbox العام بـ pk.",tokenUrlFailed:"تعذّر الحصول على رمز من هذا الرابط: {why}",settings:"الإعدادات",mapEngine:"محرّك الخرائط",engineDefault:"الافتراضي لكل خريطة",engineMapboxNote:"يحتاج إلى رمز",engineMaplibreNote:"لا يحتاج إلى رمز",tokenNotNeeded:"تم اختيار MapLibre: خرائطه لا تحتاج إلى رمز Mapbox",hideHeader:"إخفاء الشريط العلوي",showHeader:"إظهار الشريط العلوي",elementsCount:"{n} عناصر",elements:"عناصر"},Nr={title:"Plugin-Studio",navLabel:"Plugins nach Fähigkeit",countLabel:"{bundles} Bundles · {elements} Plugins hier aufgeführt",changeLanguage:"Sprache ändern",copyEmbed:"Einbettung kopieren",copy:"Kopieren",copied:"Kopiert",scriptEmbed:"Skript-Einbettung",loading:"{name} wird geladen…",couldNotLoad:"{name} konnte nicht geladen werden.",chooseElement:"Wählen Sie ein Plugin aus der Liste.",filterPlaceholder:"Plugins filtern",collapseAll:"Alle einklappen",noMatch:"Kein Plugin entspricht „{query}“.",openSection:"{cap} öffnen, {label}",part:"Teil",noStandalone:"keine eigene Seite",cap5:"App-Shell",cap4:"Komposit",cap3:"Mehrfachansicht",cap2:"Voreinstellung",cap1:"Einzeln",toggleList:"Liste ein-/ausblenden",openViews:"Ansichtsliste öffnen",expandList:"Liste ausklappen",collapseList:"Liste einklappen",collapse:"Einklappen",partOf:"Teil von {name}, nicht eigenständig veröffentlicht",mapToken:"Karten-Token",mapboxToken:"Mapbox-Token",tokenPaste:"Öffentlicher Mapbox-Token (pk.…)",tokenUrlLabel:"…oder die URL eines Token-Dienstes",tokenApply:"Verwenden",tokenClear:"Löschen",tokenStoredHere:"Nur in diesem Browser gespeichert.",tokenSourceYours:"Ihr Token wird verwendet",tokenSourceUrl:"Token von {url} wird verwendet",tokenSourceBuilt:"Der in diese Seite eingebaute Token wird verwendet",tokenSourceNone:"Kein Mapbox-Token: Mapbox-Karten können nicht laden (MapLibre-Karten brauchen keinen)",tokenSecret:"Das ist ein geheimer Token (sk.…). Fügen Sie einen öffentlichen ein (pk.…): Diese Seite ist öffentlich.",tokenNotPk:"Ein öffentlicher Mapbox-Token beginnt mit pk.",tokenUrlFailed:"Von dieser URL kam kein Token: {why}",settings:"Einstellungen",mapEngine:"Karten-Engine",engineDefault:"Je Karte eigenes",engineMapboxNote:"braucht einen Token",engineMaplibreNote:"kein Token nötig",tokenNotNeeded:"MapLibre ist gewählt: Seine Karten brauchen keinen Mapbox-Token",hideHeader:"Kopfzeile ausblenden",showHeader:"Kopfzeile einblenden",elementsCount:"{n} Elemente",elements:"Elemente"},Pr={title:"Plugin Studio",navLabel:"Plugins by capability",countLabel:"{bundles} bundles · {elements} plugins listed here",changeLanguage:"Change language",copyEmbed:"Copy embed",copy:"Copy",copied:"Copied",scriptEmbed:"Script embed",loading:"Loading {name}…",couldNotLoad:"Could not load {name}.",chooseElement:"Choose a plugin from the list.",filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",openSection:"Open {cap}, {label}",part:"part",noStandalone:"no standalone page",cap5:"App shell",cap4:"Composite",cap3:"Multi-view",cap2:"Preset",cap1:"Single",toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse",partOf:"part of {name}, not published on its own",mapToken:"Map token",mapboxToken:"Mapbox token",tokenPaste:"Mapbox public token (pk.…)",tokenUrlLabel:"…or the URL of a token service",tokenApply:"Use",tokenClear:"Clear",tokenStoredHere:"Kept in this browser only.",tokenSourceYours:"Using your token",tokenSourceUrl:"Using a token from {url}",tokenSourceBuilt:"Using the token built into this page",tokenSourceNone:"No Mapbox token: Mapbox maps cannot load (MapLibre maps need none)",tokenSecret:"That is a secret token (sk.…). Paste a public one (pk.…): this page is public.",tokenNotPk:"A Mapbox public token starts with pk.",tokenUrlFailed:"Could not get a token from that URL: {why}",settings:"Settings",mapEngine:"Map engine",engineDefault:"Each map’s own",engineMapboxNote:"needs a token",engineMaplibreNote:"no token needed",tokenNotNeeded:"MapLibre is selected: its maps need no Mapbox token",hideHeader:"Hide header",showHeader:"Show header",elementsCount:"{n} elements",elements:"elements"},Tr={title:"Estudio de plugins",navLabel:"Plugins por capacidad",countLabel:"{bundles} paquetes · {elements} plugins listados aquí",changeLanguage:"Cambiar idioma",copyEmbed:"Copiar código de inserción",copy:"Copiar",copied:"Copiado",scriptEmbed:"Inserción por script",loading:"Cargando {name}…",couldNotLoad:"No se pudo cargar {name}.",chooseElement:"Elija un plugin de la lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Contraer todo",noMatch:"Ningún plugin coincide con «{query}».",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sin página propia",cap5:"Contenedor de aplicación",cap4:"Compuesto",cap3:"Multivista",cap2:"Preajuste",cap1:"Individual",toggleList:"Mostrar u ocultar la lista",openViews:"Abrir la lista de vistas",expandList:"Expandir la lista",collapseList:"Contraer la lista",collapse:"Contraer",partOf:"parte de {name}, no publicada por separado",mapToken:"Token del mapa",mapboxToken:"Token de Mapbox",tokenPaste:"Token público de Mapbox (pk.…)",tokenUrlLabel:"…o la URL de un servicio de tokens",tokenApply:"Usar",tokenClear:"Borrar",tokenStoredHere:"Se guarda solo en este navegador.",tokenSourceYours:"Usando tu token",tokenSourceUrl:"Usando un token de {url}",tokenSourceBuilt:"Usando el token integrado en esta página",tokenSourceNone:"Sin token de Mapbox: los mapas de Mapbox no cargan (los de MapLibre no lo necesitan)",tokenSecret:"Ese es un token secreto (sk.…). Pega uno público (pk.…): esta página es pública.",tokenNotPk:"Un token público de Mapbox empieza por pk.",tokenUrlFailed:"No se pudo obtener un token de esa URL: {why}",settings:"Ajustes",mapEngine:"Motor de mapas",engineDefault:"El de cada mapa",engineMapboxNote:"necesita un token",engineMaplibreNote:"no necesita token",tokenNotNeeded:"MapLibre está seleccionado: sus mapas no necesitan token de Mapbox",hideHeader:"Ocultar encabezado",showHeader:"Mostrar encabezado",elementsCount:"{n} elementos",elements:"elementos"},Er={title:"Studio de plugins",navLabel:"Plugins par capacité",countLabel:"{bundles} paquets · {elements} plugins listés ici",changeLanguage:"Changer de langue",copyEmbed:"Copier le code d’intégration",copy:"Copier",copied:"Copié",scriptEmbed:"Intégration par script",loading:"Chargement de {name}…",couldNotLoad:"Impossible de charger {name}.",chooseElement:"Choisissez un plugin dans la liste.",filterPlaceholder:"Filtrer les plugins",collapseAll:"Tout replier",noMatch:"Aucun plugin ne correspond à « {query} ».",openSection:"Ouvrir {cap}, {label}",part:"partie",noStandalone:"pas de page autonome",cap5:"Coquille d’application",cap4:"Composite",cap3:"Multivue",cap2:"Préréglage",cap1:"Simple",toggleList:"Afficher ou masquer la liste",openViews:"Ouvrir la liste des vues",expandList:"Déplier la liste",collapseList:"Replier la liste",collapse:"Replier",partOf:"partie de {name}, non publiée seule",mapToken:"Jeton de carte",mapboxToken:"Jeton Mapbox",tokenPaste:"Jeton public Mapbox (pk.…)",tokenUrlLabel:"…ou l’URL d’un service de jetons",tokenApply:"Utiliser",tokenClear:"Effacer",tokenStoredHere:"Conservé dans ce navigateur uniquement.",tokenSourceYours:"Votre jeton est utilisé",tokenSourceUrl:"Jeton obtenu de {url}",tokenSourceBuilt:"Jeton intégré à cette page",tokenSourceNone:"Aucun jeton Mapbox : les cartes Mapbox ne peuvent pas charger (MapLibre n’en a pas besoin)",tokenSecret:"C’est un jeton secret (sk.…). Collez un jeton public (pk.…) : cette page est publique.",tokenNotPk:"Un jeton public Mapbox commence par pk.",tokenUrlFailed:"Impossible d’obtenir un jeton depuis cette URL : {why}",settings:"Paramètres",mapEngine:"Moteur de carte",engineDefault:"Celui de chaque carte",engineMapboxNote:"nécessite un jeton",engineMaplibreNote:"aucun jeton requis",tokenNotNeeded:"MapLibre est sélectionné : ses cartes n’ont pas besoin de jeton Mapbox",hideHeader:"Masquer l'en-tête",showHeader:"Afficher l'en-tête",elementsCount:"{n} éléments",elements:"éléments"},Cr={title:"प्लगइन स्टूडियो",navLabel:"क्षमता के अनुसार प्लगइन",countLabel:"{bundles} बंडल · यहाँ {elements} प्लगइन सूचीबद्ध",changeLanguage:"भाषा बदलें",copyEmbed:"एम्बेड कोड कॉपी करें",copy:"कॉपी करें",copied:"कॉपी हो गया",scriptEmbed:"स्क्रिप्ट एम्बेड",loading:"{name} लोड हो रहा है…",couldNotLoad:"{name} लोड नहीं हो सका।",chooseElement:"सूची से कोई प्लगइन चुनें।",filterPlaceholder:"प्लगइन फ़िल्टर करें",collapseAll:"सभी संक्षिप्त करें",noMatch:"“{query}” से कोई प्लगइन मेल नहीं खाता।",openSection:"{cap} खोलें, {label}",part:"भाग",noStandalone:"कोई अलग पेज नहीं",cap5:"ऐप शेल",cap4:"संयुक्त",cap3:"बहु-दृश्य",cap2:"प्रीसेट",cap1:"एकल",toggleList:"सूची दिखाएँ या छिपाएँ",openViews:"दृश्यों की सूची खोलें",expandList:"सूची फैलाएँ",collapseList:"सूची संक्षिप्त करें",collapse:"संक्षिप्त करें",partOf:"{name} का भाग, अलग से प्रकाशित नहीं",mapToken:"मानचित्र टोकन",mapboxToken:"Mapbox टोकन",tokenPaste:"Mapbox सार्वजनिक टोकन (pk.…)",tokenUrlLabel:"…या किसी टोकन सेवा का URL",tokenApply:"उपयोग करें",tokenClear:"साफ़ करें",tokenStoredHere:"केवल इसी ब्राउज़र में रखा जाता है।",tokenSourceYours:"आपका टोकन उपयोग हो रहा है",tokenSourceUrl:"{url} से टोकन उपयोग हो रहा है",tokenSourceBuilt:"इस पेज में बना टोकन उपयोग हो रहा है",tokenSourceNone:"कोई Mapbox टोकन नहीं: Mapbox मानचित्र लोड नहीं हो सकते (MapLibre को इसकी ज़रूरत नहीं)",tokenSecret:"यह एक गुप्त टोकन है (sk.…)। सार्वजनिक टोकन (pk.…) चिपकाएँ: यह पेज सार्वजनिक है।",tokenNotPk:"Mapbox सार्वजनिक टोकन pk. से शुरू होता है",tokenUrlFailed:"उस URL से टोकन नहीं मिल सका: {why}",settings:"सेटिंग्स",mapEngine:"मानचित्र इंजन",engineDefault:"हर मानचित्र का अपना",engineMapboxNote:"टोकन चाहिए",engineMaplibreNote:"टोकन की ज़रूरत नहीं",tokenNotNeeded:"MapLibre चुना गया है: इसके मानचित्रों को Mapbox टोकन नहीं चाहिए",hideHeader:"हेडर छिपाएँ",showHeader:"हेडर दिखाएँ",elementsCount:"{n} तत्व",elements:"तत्व"},Mr={title:"Studio dei plugin",navLabel:"Plugin per capacità",countLabel:"{bundles} pacchetti · {elements} plugin elencati qui",changeLanguage:"Cambia lingua",copyEmbed:"Copia codice di incorporamento",copy:"Copia",copied:"Copiato",scriptEmbed:"Incorporamento tramite script",loading:"Caricamento di {name}…",couldNotLoad:"Impossibile caricare {name}.",chooseElement:"Scegli un plugin dall’elenco.",filterPlaceholder:"Filtra i plugin",collapseAll:"Comprimi tutto",noMatch:"Nessun plugin corrisponde a «{query}».",openSection:"Apri {cap}, {label}",part:"parte",noStandalone:"nessuna pagina propria",cap5:"Shell dell’app",cap4:"Composito",cap3:"Multivista",cap2:"Preimpostato",cap1:"Singolo",toggleList:"Mostra o nascondi l’elenco",openViews:"Apri l’elenco delle viste",expandList:"Espandi l’elenco",collapseList:"Comprimi l’elenco",collapse:"Comprimi",partOf:"parte di {name}, non pubblicata da sola",mapToken:"Token mappa",mapboxToken:"Token Mapbox",tokenPaste:"Token pubblico Mapbox (pk.…)",tokenUrlLabel:"…o l’URL di un servizio di token",tokenApply:"Usa",tokenClear:"Cancella",tokenStoredHere:"Conservato solo in questo browser.",tokenSourceYours:"Uso il tuo token",tokenSourceUrl:"Uso un token da {url}",tokenSourceBuilt:"Uso il token integrato in questa pagina",tokenSourceNone:"Nessun token Mapbox: le mappe Mapbox non si caricano (MapLibre non ne ha bisogno)",tokenSecret:"Questo è un token segreto (sk.…). Incolla un token pubblico (pk.…): questa pagina è pubblica.",tokenNotPk:"Un token pubblico Mapbox inizia con pk.",tokenUrlFailed:"Impossibile ottenere un token da quell’URL: {why}",settings:"Impostazioni",mapEngine:"Motore mappe",engineDefault:"Quello di ogni mappa",engineMapboxNote:"richiede un token",engineMaplibreNote:"nessun token necessario",tokenNotNeeded:"MapLibre è selezionato: le sue mappe non richiedono un token Mapbox",hideHeader:"Nascondi intestazione",showHeader:"Mostra intestazione",elementsCount:"{n} elementi",elements:"elementi"},Or={title:"Estúdio de plugins",navLabel:"Plugins por capacidade",countLabel:"{bundles} pacotes · {elements} plugins listados aqui",changeLanguage:"Mudar idioma",copyEmbed:"Copiar código de incorporação",copy:"Copiar",copied:"Copiado",scriptEmbed:"Incorporação por script",loading:"Carregando {name}…",couldNotLoad:"Não foi possível carregar {name}.",chooseElement:"Escolha um plugin na lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Recolher tudo",noMatch:"Nenhum plugin corresponde a “{query}”.",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sem página própria",cap5:"Shell do aplicativo",cap4:"Composto",cap3:"Multivisualização",cap2:"Predefinição",cap1:"Único",toggleList:"Mostrar ou ocultar a lista",openViews:"Abrir a lista de visualizações",expandList:"Expandir a lista",collapseList:"Recolher a lista",collapse:"Recolher",partOf:"parte de {name}, não publicada separadamente",mapToken:"Token do mapa",mapboxToken:"Token do Mapbox",tokenPaste:"Token público do Mapbox (pk.…)",tokenUrlLabel:"…ou o URL de um serviço de tokens",tokenApply:"Usar",tokenClear:"Limpar",tokenStoredHere:"Guardado apenas neste navegador.",tokenSourceYours:"A usar o seu token",tokenSourceUrl:"A usar um token de {url}",tokenSourceBuilt:"A usar o token incorporado nesta página",tokenSourceNone:"Sem token do Mapbox: os mapas Mapbox não carregam (os MapLibre não precisam)",tokenSecret:"Esse é um token secreto (sk.…). Cole um público (pk.…): esta página é pública.",tokenNotPk:"Um token público do Mapbox começa por pk.",tokenUrlFailed:"Não foi possível obter um token desse URL: {why}",settings:"Definições",mapEngine:"Motor de mapas",engineDefault:"O de cada mapa",engineMapboxNote:"precisa de um token",engineMaplibreNote:"não precisa de token",tokenNotNeeded:"MapLibre está selecionado: os seus mapas não precisam de token do Mapbox",hideHeader:"Ocultar cabeçalho",showHeader:"Mostrar cabeçalho",elementsCount:"{n} elementos",elements:"elementos"},Ar={title:"Studio de pluginuri",navLabel:"Pluginuri după capacitate",countLabel:"{bundles} pachete · {elements} pluginuri listate aici",changeLanguage:"Schimbă limba",copyEmbed:"Copiază codul de încorporare",copy:"Copiază",copied:"Copiat",scriptEmbed:"Încorporare prin script",loading:"Se încarcă {name}…",couldNotLoad:"{name} nu a putut fi încărcat.",chooseElement:"Alegeți un plugin din listă.",filterPlaceholder:"Filtrează pluginurile",collapseAll:"Restrânge tot",noMatch:"Niciun plugin nu corespunde cu „{query}”.",openSection:"Deschide {cap}, {label}",part:"parte",noStandalone:"fără pagină proprie",cap5:"Cadru de aplicație",cap4:"Compus",cap3:"Vizualizări multiple",cap2:"Presetat",cap1:"Simplu",toggleList:"Afișează sau ascunde lista",openViews:"Deschide lista de vizualizări",expandList:"Extinde lista",collapseList:"Restrânge lista",collapse:"Restrânge",partOf:"parte din {name}, nepublicată separat",mapToken:"Token hartă",mapboxToken:"Token Mapbox",tokenPaste:"Token public Mapbox (pk.…)",tokenUrlLabel:"…sau adresa URL a unui serviciu de tokenuri",tokenApply:"Folosește",tokenClear:"Șterge",tokenStoredHere:"Păstrat doar în acest browser.",tokenSourceYours:"Se folosește tokenul tău",tokenSourceUrl:"Se folosește un token de la {url}",tokenSourceBuilt:"Se folosește tokenul inclus în această pagină",tokenSourceNone:"Niciun token Mapbox: hărțile Mapbox nu se pot încărca (MapLibre nu are nevoie)",tokenSecret:"Acesta este un token secret (sk.…). Lipește unul public (pk.…): pagina este publică.",tokenNotPk:"Un token public Mapbox începe cu pk.",tokenUrlFailed:"Nu s-a putut obține un token de la acea adresă: {why}",settings:"Setări",mapEngine:"Motor hărți",engineDefault:"Al fiecărei hărți",engineMapboxNote:"necesită un token",engineMaplibreNote:"nu necesită token",tokenNotNeeded:"MapLibre este selectat: hărțile sale nu necesită token Mapbox",hideHeader:"Ascunde antetul",showHeader:"Afișează antetul",elementsCount:"{n} elemente",elements:"elemente"},Fr={title:"Студия плагинов",navLabel:"Плагины по возможностям",countLabel:"Здесь: пакетов {bundles} · плагинов {elements}",changeLanguage:"Сменить язык",copyEmbed:"Скопировать код встраивания",copy:"Копировать",copied:"Скопировано",scriptEmbed:"Встраивание через скрипт",loading:"Загрузка {name}…",couldNotLoad:"Не удалось загрузить {name}.",chooseElement:"Выберите плагин из списка.",filterPlaceholder:"Фильтр плагинов",collapseAll:"Свернуть всё",noMatch:"Нет плагинов, соответствующих «{query}».",openSection:"Открыть {cap}, {label}",part:"часть",noStandalone:"нет отдельной страницы",cap5:"Оболочка приложения",cap4:"Составной",cap3:"Несколько видов",cap2:"Предустановка",cap1:"Одиночный",toggleList:"Показать или скрыть список",openViews:"Открыть список представлений",expandList:"Развернуть список",collapseList:"Свернуть список",collapse:"Свернуть",partOf:"часть {name}, не публикуется отдельно",mapToken:"Токен карты",mapboxToken:"Токен Mapbox",tokenPaste:"Публичный токен Mapbox (pk.…)",tokenUrlLabel:"…или адрес службы токенов",tokenApply:"Применить",tokenClear:"Очистить",tokenStoredHere:"Хранится только в этом браузере.",tokenSourceYours:"Используется ваш токен",tokenSourceUrl:"Используется токен с {url}",tokenSourceBuilt:"Используется токен, встроенный в страницу",tokenSourceNone:"Нет токена Mapbox: карты Mapbox не загрузятся (MapLibre он не нужен)",tokenSecret:"Это секретный токен (sk.…). Вставьте публичный (pk.…): эта страница общедоступна.",tokenNotPk:"Публичный токен Mapbox начинается с pk.",tokenUrlFailed:"Не удалось получить токен по этому адресу: {why}",settings:"Настройки",mapEngine:"Движок карт",engineDefault:"Свой у каждой карты",engineMapboxNote:"нужен токен",engineMaplibreNote:"токен не нужен",tokenNotNeeded:"Выбран MapLibre: его картам не нужен токен Mapbox",hideHeader:"Скрыть заголовок",showHeader:"Показать заголовок",elementsCount:"{n} элементов",elements:"элементов"},Hr={title:"插件工作室",navLabel:"按能力分类的插件",countLabel:"此处列出 {bundles} 个包 · {elements} 个插件",changeLanguage:"切换语言",copyEmbed:"复制嵌入代码",copy:"复制",copied:"已复制",scriptEmbed:"脚本嵌入",loading:"正在加载 {name}…",couldNotLoad:"无法加载 {name}。",chooseElement:"请从列表中选择一个插件。",filterPlaceholder:"筛选插件",collapseAll:"全部折叠",noMatch:"没有与“{query}”匹配的插件。",openSection:"打开 {cap},{label}",part:"部分",noStandalone:"无独立页面",cap5:"应用外壳",cap4:"组合",cap3:"多视图",cap2:"预设",cap1:"单一",toggleList:"显示或隐藏列表",openViews:"打开视图列表",expandList:"展开列表",collapseList:"折叠列表",collapse:"折叠",partOf:"{name} 的一部分,不单独发布",mapToken:"地图令牌",mapboxToken:"Mapbox 令牌",tokenPaste:"Mapbox 公开令牌 (pk.…)",tokenUrlLabel:"…或令牌服务的网址",tokenApply:"使用",tokenClear:"清除",tokenStoredHere:"仅保存在此浏览器中。",tokenSourceYours:"正在使用您的令牌",tokenSourceUrl:"正在使用来自 {url} 的令牌",tokenSourceBuilt:"正在使用此页面内置的令牌",tokenSourceNone:"没有 Mapbox 令牌:Mapbox 地图无法加载(MapLibre 地图不需要)",tokenSecret:"这是秘密令牌 (sk.…)。请粘贴公开令牌 (pk.…):此页面是公开的。",tokenNotPk:"Mapbox 公开令牌以 pk. 开头",tokenUrlFailed:"无法从该网址获取令牌:{why}",settings:"设置",mapEngine:"地图引擎",engineDefault:"各地图自身的",engineMapboxNote:"需要令牌",engineMaplibreNote:"无需令牌",tokenNotNeeded:"已选择 MapLibre:其地图无需 Mapbox 令牌",hideHeader:"隐藏标题栏",showHeader:"显示标题栏",elementsCount:"{n} 个元素",elements:"元素"};function Mn(e,t){const o=di(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Dr(e));Ms(()=>{var r;if(!o)return;const s=(r=o.proxy)==null?void 0:r.$el;if(!s)return;const i=s.getRootNode();if(!(i instanceof ShadowRoot))return;const a=i.querySelector(`style[data-shadow-styles="${n}"]`);if(a){a.textContent!==e&&(a.textContent=e);return}const l=document.createElement("style");l.setAttribute("data-shadow-styles",n),l.textContent=e,i.appendChild(l)})}function Dr(e){let t=0;for(let o=0;o<e.length;o++)t=(t<<5)-t+e.charCodeAt(o),t|=0;return"s"+Math.abs(t).toString(36)}const Rr=Object.assign({"./locales/ar/grid.json":{search:"ابحث عن الشعوب…",hide_filters:"إخفاء عوامل التصفية",show_filters:"إظهار عوامل التصفية",total:"الإجمالي",showing:"المعروض",load_more:"عرض المزيد",full_profile:"الملف الكامل",wagf_region:"المنطقة",wagf_block:"كتلة التقارب",rop1:"الشعب",religion:"الدين",exact_filter:"تطابق تام",clear_all:"مسح الكل",loading:"جارٍ التحميل…",no_results:"لا توجد شعوب مطابقة لهذا التصفية.",type_to_search:"اكتب للبحث...",load_failed:"تعذّر تحميل بيانات الشعوب. هذه مشكلة اتصال، وليست مشكلة في التصفية.",search_people_or_countries:"ابحث عن الشعوب أو الدول…"},"./locales/ar/messages.json":{menuComingSoon:"القائمة قادمة قريباً",pinHint:{tapDot:"اضغط على نقطة ملوّنة — لا يزال هناك من يحتاج إلى الصلاة"},upg100WallHeading:"قائمتي UPG 100 — قوائم الصلاة والملصقات",upg100WallTag:"تعبئة للصلاة",upg100WallIntro:"وزّع مهمة الصلاة في مجموعات من خمسين ومئة — كما أطعم يسوع الخمسة آلاف (لوقا ٩:١٤). كل ملصق هو قائمة من 100 يمكنك أن تصلي بها وتطبعها وتعلّقها على الحائط — مصلّيًا لأجلهم <strong>باسم شعبهم</strong>.",loadingNamed:"جارٍ تحميل {name}…",couldNotLoadNamed:"تعذّر تحميل {name}.",engineMissing:"لم يتم تحميل محرك الخرائط {engine}.",packetFailed:"فشل إنشاء الكُتيّب: {reason}",selectionPacketFailed:"فشل إنشاء كُتيّب التحديد: {reason}",posterOneTerritory:"الملصق يطبع منطقة واحدة في كل مرة — {count} محددة.",selectionPosterFailed:"فشل إنشاء ملصق التحديد: {reason}",mapUnavailable:"الخريطة غير متاحة",copied:"تم النسخ!",copyFailed:"فشل النسخ — اضغط Ctrl/Cmd-C",engineNotLoaded:"لم يتم تحميل محرك الخريطة",engineNotLoadedDetail:"لم يتم تحميل محرك الخريطة {engine}. القائمة ووسيلة الإيضاح غير متأثرتين."},"./locales/ar/poster.json":{export_poster:"تصدير الملصق",size:"الحجم",orientation:"الاتجاه",portrait:"طولي",landscape:"عرضي",dpi:"DPI",format:"الصيغة",png_raster:"PNG (نقطي)",pdf_raster:"PDF (نقطي على صفحة متجهية)",title:"العنوان",map_title:"عنوان الخريطة",subtitle:"العنوان الفرعي",slots:"العناصر",scale_bar:"شريط المقياس",north_arrow:"سهم الشمال",footer_attribution:"التذييل (الإسناد مطلوب)",cancel:"إلغاء",map_preview:"معاينة الخريطة",loading_snapshot:"جارٍ تحميل لقطة الخريطة…",preview_unavailable:"المعاينة غير متاحة"},"./locales/ar/search.json":{placeholder:"شعب، مكان، لغة، ديانة",placeholderNoPlaces:"شعب، لغة، ديانة (البحث عن الأماكن يتطلب رمز Mapbox)",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"},sections:{within:"ضمن {selection}",allData:"كل بيانات DOXA"},upg100Placeholder:"ابحث عن شعب أو قائمة UPG-100 أو منطقة…"},"./locales/de/grid.json":{search:"Volksgruppen suchen…",hide_filters:"Filter ausblenden",show_filters:"Filter anzeigen",total:"Gesamt",showing:"Angezeigt",load_more:"Mehr laden",full_profile:"Vollständiges Profil",wagf_region:"Region",wagf_block:"Affinitätsblock",rop1:"Volk",religion:"Religion",exact_filter:"Exakt",clear_all:"Alle löschen",loading:"Wird geladen…",no_results:"Keine Volksgruppen entsprechen diesem Filter.",type_to_search:"Zum Suchen tippen...",load_failed:"Die Daten konnten nicht geladen werden. Das ist ein Verbindungsproblem, nicht Ihr Filter.",search_people_or_countries:"Volksgruppen oder Länder suchen…"},"./locales/de/messages.json":{menuComingSoon:"Menü folgt in Kürze",pinHint:{tapDot:"Tippe auf einen farbigen Punkt — jemand braucht noch Gebet"},upg100WallHeading:"Meine UPG-100-Liste — Gebetslisten und Poster",upg100WallTag:"Gebetsmobilisierung",upg100WallIntro:"Teilen Sie die Gebetsaufgabe in Gruppen zu fünfzig und hundert auf — so wie Jesus die 5.000 speiste (Lukas 9,14). Jedes Poster ist eine 100er-Liste, die Sie beten, drucken und an die Wand hängen können — und für sie <strong>mit dem Namen ihrer Volksgruppe</strong> beten.",loadingNamed:"{name} wird geladen…",couldNotLoadNamed:"{name} konnte nicht geladen werden.",engineMissing:"Die Karten-Engine {engine} wurde nicht geladen.",packetFailed:"Heft fehlgeschlagen: {reason}",selectionPacketFailed:"Heft der Auswahl fehlgeschlagen: {reason}",posterOneTerritory:"Das Plakat druckt ein Gebiet auf einmal — {count} ausgewählt.",selectionPosterFailed:"Plakat der Auswahl fehlgeschlagen: {reason}",mapUnavailable:"Karte nicht verfügbar",copied:"Kopiert!",copyFailed:"Kopieren fehlgeschlagen — Strg/Cmd-C drücken",engineNotLoaded:"Karten-Engine nicht geladen",engineNotLoadedDetail:"Die Karten-Engine {engine} wurde nicht geladen. Liste und Legende sind nicht betroffen."},"./locales/de/poster.json":{export_poster:"Poster exportieren",size:"Größe",orientation:"Ausrichtung",portrait:"Hochformat",landscape:"Querformat",dpi:"DPI",format:"Format",png_raster:"PNG (Raster)",pdf_raster:"PDF (Raster auf Vektorseite)",title:"Titel",map_title:"Kartentitel",subtitle:"Untertitel",slots:"Elemente",scale_bar:"Maßstabsleiste",north_arrow:"Nordpfeil",footer_attribution:"Fußzeile (Quellenangabe erforderlich)",cancel:"Abbrechen",map_preview:"Kartenvorschau",loading_snapshot:"Kartenaufnahme wird geladen…",preview_unavailable:"Vorschau nicht verfügbar"},"./locales/de/search.json":{placeholder:"Volk, Ort, Sprache, Religion",placeholderNoPlaces:"Volk, Sprache, Religion (Ortssuche braucht ein Mapbox-Token)",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"},kinds:{people:"Volk + Land",peopleGroup:"Volk",bloc:"Affinitätsblock",cluster:"Völkercluster",country:"Land",region:"Region",family:"Sprachfamilie",languageKind:"Sprache",dialect:"Dialekt",religionKind:"Religion"},upg100Placeholder:"Volksgruppe, UPG-100-Liste oder Region suchen…"},"./locales/en/grid.json":{search:"Search people groups…",hide_filters:"Hide Filters",show_filters:"Show Filters",total:"Total",showing:"Showing",load_more:"Load More",full_profile:"Full Profile",wagf_region:"Region",wagf_block:"Affinity Block",rop1:"People Group",religion:"Religion",exact_filter:"Exact",clear_all:"Clear All",loading:"Loading…",no_results:"No people groups match this filter.",type_to_search:"Type to search...",load_failed:"People-group data could not be loaded. This is a connection problem, not your filter.",search_people_or_countries:"Search people groups or countries…"},"./locales/en/messages.json":{menuComingSoon:"Menu coming soon",pinHint:{tapDot:"Tap a coloured dot — someone still needs prayer"},upg100WallHeading:"My UPG 100 List — Prayer Lists & Posters",upg100WallTag:"Prayer Mobilization",upg100WallIntro:"Hand away the prayer task in clusters of fifties and hundreds — the way Jesus fed the 5,000 (Luke 9:14). Each poster is a 100-list you can pray, print, and put on a wall — praying for them <strong>by their people group name</strong>.",loadingNamed:"Loading {name}…",couldNotLoadNamed:"Could not load {name}.",engineMissing:"The {engine} map engine did not load.",packetFailed:"Packet failed: {reason}",selectionPacketFailed:"Selection packet failed: {reason}",posterOneTerritory:"Poster prints one territory at a time — {count} selected.",selectionPosterFailed:"Selection poster failed: {reason}",mapUnavailable:"Map unavailable",copied:"Copied!",copyFailed:"Copy failed — press Ctrl/Cmd-C",engineNotLoaded:"map engine not loaded",engineNotLoadedDetail:"The {engine} map engine did not load. The list and legend are unaffected."},"./locales/en/poster.json":{export_poster:"Export Poster",size:"Size",orientation:"Orientation",portrait:"Portrait",landscape:"Landscape",dpi:"DPI",format:"Format",png_raster:"PNG (raster)",pdf_raster:"PDF (raster on vector page)",title:"Title",map_title:"Map title",subtitle:"Subtitle",slots:"Slots",scale_bar:"Scale bar",north_arrow:"North arrow",footer_attribution:"Footer (attribution required)",cancel:"Cancel",map_preview:"map preview",loading_snapshot:"Loading map snapshot…",preview_unavailable:"preview unavailable"},"./locales/en/search.json":{placeholder:"People, place, language, religion",placeholderNoPlaces:"People, language, religion (place search needs a Mapbox token)",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"},upg100Placeholder:"Search people group, UPG-100 list, or region…"},"./locales/es/grid.json":{search:"Buscar pueblos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Cargar más",full_profile:"Perfil completo",wagf_region:"Región",wagf_block:"Bloque de afinidad",rop1:"Pueblo",religion:"Religión",exact_filter:"Exacto",clear_all:"Borrar todo",loading:"Cargando…",no_results:"Ningún pueblo coincide con este filtro.",type_to_search:"Escribe para buscar...",load_failed:"No se pudieron cargar los datos de pueblos. Es un problema de conexión, no de tu filtro.",search_people_or_countries:"Buscar pueblos o países…"},"./locales/es/messages.json":{menuComingSoon:"Menú próximamente",pinHint:{tapDot:"Toca un punto de color: alguien todavía necesita oración"},upg100WallHeading:"Mi lista UPG 100 — Listas de oración y carteles",upg100WallTag:"Movilización de oración",upg100WallIntro:"Reparte la tarea de la oración en grupos de cincuenta y de cien, como Jesús alimentó a los 5.000 (Lucas 9:14). Cada cartel es una lista de 100 que puedes orar, imprimir y poner en la pared — orando por ellos <strong>por el nombre de su pueblo</strong>.",loadingNamed:"Cargando {name}…",couldNotLoadNamed:"No se pudo cargar {name}.",engineMissing:"El motor de mapas {engine} no se cargó.",packetFailed:"Error al generar el cuadernillo: {reason}",selectionPacketFailed:"Error al generar el cuadernillo de la selección: {reason}",posterOneTerritory:"El cartel imprime un territorio a la vez: {count} seleccionados.",selectionPosterFailed:"Error al generar el cartel de la selección: {reason}",mapUnavailable:"Mapa no disponible",copied:"¡Copiado!",copyFailed:"Error al copiar: pulsa Ctrl/Cmd-C",engineNotLoaded:"motor de mapas no cargado",engineNotLoadedDetail:"El motor de mapas {engine} no se cargó. La lista y la leyenda no se ven afectadas."},"./locales/es/poster.json":{export_poster:"Exportar póster",size:"Tamaño",orientation:"Orientación",portrait:"Vertical",landscape:"Horizontal",dpi:"DPI",format:"Formato",png_raster:"PNG (ráster)",pdf_raster:"PDF (ráster en página vectorial)",title:"Título",map_title:"Título del mapa",subtitle:"Subtítulo",slots:"Elementos",scale_bar:"Barra de escala",north_arrow:"Flecha norte",footer_attribution:"Pie de página (atribución obligatoria)",cancel:"Cancelar",map_preview:"vista previa del mapa",loading_snapshot:"Cargando la captura del mapa…",preview_unavailable:"vista previa no disponible"},"./locales/es/search.json":{placeholder:"Pueblo, lugar, idioma, religión",placeholderNoPlaces:"Pueblo, idioma, religión (buscar lugares requiere un token de Mapbox)",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"},sections:{within:"Dentro de {selection}",allData:"Todos los datos DOXA"},upg100Placeholder:"Buscar pueblo, lista UPG-100 o región…"},"./locales/fr/grid.json":{search:"Rechercher des peuples…",hide_filters:"Masquer les filtres",show_filters:"Afficher les filtres",total:"Total",showing:"Affichage",load_more:"Charger plus",full_profile:"Profil complet",wagf_region:"Région",wagf_block:"Bloc d'affinité",rop1:"Peuple",religion:"Religion",exact_filter:"Exact",clear_all:"Tout effacer",loading:"Chargement…",no_results:"Aucun peuple ne correspond à ce filtre.",type_to_search:"Tapez pour rechercher...",load_failed:"Les données n’ont pas pu être chargées. C’est un problème de connexion, pas votre filtre.",search_people_or_countries:"Rechercher des peuples ou des pays…"},"./locales/fr/messages.json":{menuComingSoon:"Menu bientôt disponible",pinHint:{tapDot:"Touchez un point coloré — quelqu’un a encore besoin de prière"},upg100WallHeading:"Ma liste UPG 100 — Listes de prière et affiches",upg100WallTag:"Mobilisation pour la prière",upg100WallIntro:"Répartissez la tâche de la prière par groupes de cinquante et de cent — comme Jésus a nourri les 5 000 (Luc 9:14). Chaque affiche est une liste de 100 que vous pouvez prier, imprimer et afficher au mur — en priant pour eux <strong>par le nom de leur peuple</strong>.",loadingNamed:"Chargement de {name}…",couldNotLoadNamed:"Impossible de charger {name}.",engineMissing:"Le moteur de carte {engine} ne s’est pas chargé.",packetFailed:"Échec du livret : {reason}",selectionPacketFailed:"Échec du livret de la sélection : {reason}",posterOneTerritory:"L’affiche imprime un territoire à la fois — {count} sélectionnés.",selectionPosterFailed:"Échec de l’affiche de la sélection : {reason}",mapUnavailable:"Carte indisponible",copied:"Copié !",copyFailed:"Échec de la copie — appuyez sur Ctrl/Cmd-C",engineNotLoaded:"moteur cartographique non chargé",engineNotLoadedDetail:"Le moteur cartographique {engine} ne s’est pas chargé. La liste et la légende ne sont pas affectées."},"./locales/fr/poster.json":{export_poster:"Exporter l'affiche",size:"Taille",orientation:"Orientation",portrait:"Portrait",landscape:"Paysage",dpi:"DPI",format:"Format",png_raster:"PNG (raster)",pdf_raster:"PDF (raster sur page vectorielle)",title:"Titre",map_title:"Titre de la carte",subtitle:"Sous-titre",slots:"Éléments",scale_bar:"Échelle",north_arrow:"Flèche du nord",footer_attribution:"Pied de page (attribution requise)",cancel:"Annuler",map_preview:"aperçu de la carte",loading_snapshot:"Chargement de l'instantané de la carte…",preview_unavailable:"aperçu indisponible"},"./locales/fr/search.json":{placeholder:"Peuple, lieu, langue, religion",placeholderNoPlaces:"Peuple, langue, religion (la recherche de lieux requiert un jeton Mapbox)",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"},sections:{within:"Dans {selection}",allData:"Toutes les données DOXA"},upg100Placeholder:"Rechercher un peuple, une liste UPG-100 ou une région…"},"./locales/hi/grid.json":{search:"जनसमूह खोजें…",hide_filters:"फ़िल्टर छिपाएँ",show_filters:"फ़िल्टर दिखाएँ",total:"कुल",showing:"दिखा रहे हैं",load_more:"और देखें",full_profile:"पूरी प्रोफ़ाइल",wagf_region:"क्षेत्र",wagf_block:"समानता समूह",rop1:"जनसमूह",religion:"धर्म",exact_filter:"सटीक",clear_all:"सब हटाएँ",loading:"लोड हो रहा है…",no_results:"इस फ़िल्टर से कोई जनसमूह मेल नहीं खाता।",type_to_search:"खोजने के लिए लिखें...",load_failed:"जनसमूह डेटा लोड नहीं हो सका। यह कनेक्शन की समस्या है, आपके फ़िल्टर की नहीं।",search_people_or_countries:"जनसमूह या देश खोजें…"},"./locales/hi/messages.json":{menuComingSoon:"मेनू शीघ्र आ रहा है",pinHint:{tapDot:"किसी रंगीन बिंदु पर टैप करें — किसी को अभी भी प्रार्थना की आवश्यकता है"},upg100WallHeading:"मेरी UPG 100 सूची — प्रार्थना सूचियाँ और पोस्टर",upg100WallTag:"प्रार्थना लामबंदी",upg100WallIntro:"प्रार्थना के काम को पचास-पचास और सौ-सौ के समूहों में बाँटें — जैसे यीशु ने 5,000 लोगों को खिलाया (लूका 9:14)। हर पोस्टर 100 की एक सूची है जिसके लिए आप प्रार्थना कर सकते हैं, छाप सकते हैं और दीवार पर लगा सकते हैं — उनके लिए <strong>उनके जनसमूह के नाम से</strong> प्रार्थना करते हुए।",loadingNamed:"{name} लोड हो रहा है…",couldNotLoadNamed:"{name} लोड नहीं हो सका।",engineMissing:"{engine} नक्शा इंजन लोड नहीं हुआ।",packetFailed:"पुस्तिका विफल: {reason}",selectionPacketFailed:"चयन की पुस्तिका विफल: {reason}",posterOneTerritory:"पोस्टर एक समय में एक क्षेत्र छापता है — {count} चयनित।",selectionPosterFailed:"चयन का पोस्टर विफल: {reason}",mapUnavailable:"मानचित्र अनुपलब्ध",copied:"कॉपी हो गया!",copyFailed:"कॉपी विफल — Ctrl/Cmd-C दबाएँ",engineNotLoaded:"मानचित्र इंजन लोड नहीं हुआ",engineNotLoadedDetail:"{engine} मानचित्र इंजन लोड नहीं हुआ। सूची और लेजेंड अप्रभावित हैं।"},"./locales/hi/poster.json":{export_poster:"पोस्टर निर्यात करें",size:"आकार",orientation:"अभिविन्यास",portrait:"पोर्ट्रेट",landscape:"लैंडस्केप",dpi:"DPI",format:"प्रारूप",png_raster:"PNG (रास्टर)",pdf_raster:"PDF (वेक्टर पृष्ठ पर रास्टर)",title:"शीर्षक",map_title:"मानचित्र शीर्षक",subtitle:"उपशीर्षक",slots:"स्लॉट",scale_bar:"स्केल बार",north_arrow:"उत्तर तीर",footer_attribution:"फ़ुटर (एट्रिब्यूशन आवश्यक)",cancel:"रद्द करें",map_preview:"मानचित्र पूर्वावलोकन",loading_snapshot:"मानचित्र स्नैपशॉट लोड हो रहा है…",preview_unavailable:"पूर्वावलोकन उपलब्ध नहीं"},"./locales/hi/search.json":{placeholder:"लोग, स्थान, भाषा, धर्म",placeholderNoPlaces:"लोग, भाषा, धर्म (स्थान खोज के लिए Mapbox टोकन चाहिए)",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"},sections:{within:"{selection} के भीतर",allData:"सभी DOXA डेटा"},kinds:{people:"जनसमूह + देश",peopleGroup:"जनसमूह",bloc:"समानता समूह",cluster:"जनसमूह क्लस्टर",country:"देश",region:"क्षेत्र",family:"भाषा परिवार",languageKind:"भाषा",dialect:"बोली",religionKind:"धर्म"},upg100Placeholder:"जनसमूह, UPG-100 सूची या क्षेत्र खोजें…"},"./locales/it/grid.json":{search:"Cerca popoli…",hide_filters:"Nascondi filtri",show_filters:"Mostra filtri",total:"Totale",showing:"Mostrati",load_more:"Carica altro",full_profile:"Profilo completo",wagf_region:"Regione",wagf_block:"Blocco di affinità",rop1:"Popolo",religion:"Religione",exact_filter:"Esatto",clear_all:"Cancella tutto",loading:"Caricamento…",no_results:"Nessun popolo corrisponde a questo filtro.",type_to_search:"Digita per cercare...",load_failed:"Impossibile caricare i dati dei popoli. È un problema di connessione, non del filtro.",search_people_or_countries:"Cerca popoli o paesi…"},"./locales/it/messages.json":{menuComingSoon:"Menu in arrivo",pinHint:{tapDot:"Tocca un punto colorato — qualcuno ha ancora bisogno di preghiera"},upg100WallHeading:"La mia lista UPG 100 — Liste di preghiera e poster",upg100WallTag:"Mobilitazione alla preghiera",upg100WallIntro:"Distribuisci il compito della preghiera in gruppi di cinquanta e di cento — come Gesù sfamò i 5.000 (Luca 9:14). Ogni poster è una lista di 100 che puoi pregare, stampare e appendere al muro — pregando per loro <strong>con il nome del loro popolo</strong>.",loadingNamed:"Caricamento di {name}…",couldNotLoadNamed:"Impossibile caricare {name}.",engineMissing:"Il motore di mappa {engine} non è stato caricato.",packetFailed:"Libretto non riuscito: {reason}",selectionPacketFailed:"Libretto della selezione non riuscito: {reason}",posterOneTerritory:"Il manifesto stampa un territorio alla volta — {count} selezionati.",selectionPosterFailed:"Manifesto della selezione non riuscito: {reason}",mapUnavailable:"Mappa non disponibile",copied:"Copiato!",copyFailed:"Copia non riuscita — premi Ctrl/Cmd-C",engineNotLoaded:"motore di mappe non caricato",engineNotLoadedDetail:"Il motore di mappe {engine} non si è caricato. L’elenco e la legenda non sono interessati."},"./locales/it/poster.json":{export_poster:"Esporta poster",size:"Dimensione",orientation:"Orientamento",portrait:"Verticale",landscape:"Orizzontale",dpi:"DPI",format:"Formato",png_raster:"PNG (raster)",pdf_raster:"PDF (raster su pagina vettoriale)",title:"Titolo",map_title:"Titolo della mappa",subtitle:"Sottotitolo",slots:"Elementi",scale_bar:"Barra della scala",north_arrow:"Freccia nord",footer_attribution:"Piè di pagina (attribuzione obbligatoria)",cancel:"Annulla",map_preview:"anteprima della mappa",loading_snapshot:"Caricamento dell'istantanea della mappa…",preview_unavailable:"anteprima non disponibile"},"./locales/it/search.json":{placeholder:"Popolo, luogo, lingua, religione",placeholderNoPlaces:"Popolo, lingua, religione (la ricerca di luoghi richiede un token Mapbox)",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"},sections:{within:"In {selection}",allData:"Tutti i dati DOXA"},kinds:{people:"Popolo + paese",peopleGroup:"Popolo",bloc:"Blocco di affinità",cluster:"Cluster di popoli",country:"Paese",region:"Regione",family:"Famiglia linguistica",languageKind:"Lingua",dialect:"Dialetto",religionKind:"Religione"},upg100Placeholder:"Cerca popolo, elenco UPG-100 o regione…"},"./locales/pt/grid.json":{search:"Pesquisar povos…",hide_filters:"Ocultar filtros",show_filters:"Mostrar filtros",total:"Total",showing:"Mostrando",load_more:"Carregar mais",full_profile:"Perfil completo",wagf_region:"Região",wagf_block:"Bloco de afinidade",rop1:"Povo",religion:"Religião",exact_filter:"Exato",clear_all:"Limpar tudo",loading:"A carregar…",no_results:"Nenhum povo corresponde a este filtro.",type_to_search:"Escreva para pesquisar...",load_failed:"Não foi possível carregar os dados dos povos. É um problema de ligação, não do seu filtro.",search_people_or_countries:"Pesquisar povos ou países…"},"./locales/pt/messages.json":{menuComingSoon:"Menu em breve",pinHint:{tapDot:"Toque num ponto colorido — alguém ainda precisa de oração"},upg100WallHeading:"A minha lista UPG 100 — Listas de oração e cartazes",upg100WallTag:"Mobilização de oração",upg100WallIntro:"Reparta a tarefa da oração em grupos de cinquenta e de cem — como Jesus alimentou os 5.000 (Lucas 9:14). Cada cartaz é uma lista de 100 que pode orar, imprimir e pôr na parede — orando por eles <strong>pelo nome do seu povo</strong>.",loadingNamed:"Carregando {name}…",couldNotLoadNamed:"Não foi possível carregar {name}.",engineMissing:"O motor de mapa {engine} não foi carregado.",packetFailed:"Falha ao gerar o caderno: {reason}",selectionPacketFailed:"Falha ao gerar o caderno da seleção: {reason}",posterOneTerritory:"O cartaz imprime um território de cada vez — {count} selecionados.",selectionPosterFailed:"Falha ao gerar o cartaz da seleção: {reason}",mapUnavailable:"Mapa indisponível",copied:"Copiado!",copyFailed:"Falha ao copiar — pressione Ctrl/Cmd-C",engineNotLoaded:"motor de mapas não carregado",engineNotLoadedDetail:"O motor de mapas {engine} não carregou. A lista e a legenda não são afetadas."},"./locales/pt/poster.json":{export_poster:"Exportar pôster",size:"Tamanho",orientation:"Orientação",portrait:"Retrato",landscape:"Paisagem",dpi:"DPI",format:"Formato",png_raster:"PNG (raster)",pdf_raster:"PDF (raster em página vetorial)",title:"Título",map_title:"Título do mapa",subtitle:"Subtítulo",slots:"Elementos",scale_bar:"Barra de escala",north_arrow:"Seta norte",footer_attribution:"Rodapé (atribuição obrigatória)",cancel:"Cancelar",map_preview:"pré-visualização do mapa",loading_snapshot:"Carregando o instantâneo do mapa…",preview_unavailable:"pré-visualização indisponível"},"./locales/pt/search.json":{placeholder:"Povo, local, língua, religião",placeholderNoPlaces:"Povo, língua, religião (a busca de locais requer um token do Mapbox)",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"},sections:{within:"Dentro de {selection}",allData:"Todos os dados DOXA"},upg100Placeholder:"Procurar povo, lista UPG-100 ou região…"},"./locales/ro/grid.json":{search:"Caută popoare…",hide_filters:"Ascunde filtrele",show_filters:"Arată filtrele",total:"Total",showing:"Se afișează",load_more:"Încarcă mai mult",full_profile:"Profil complet",wagf_region:"Regiune",wagf_block:"Bloc de afinitate",rop1:"Popor",religion:"Religie",exact_filter:"Exact",clear_all:"Șterge tot",loading:"Se încarcă…",no_results:"Niciun popor nu corespunde acestui filtru.",type_to_search:"Scrie pentru a căuta...",load_failed:"Datele despre popoare nu au putut fi încărcate. Este o problemă de conexiune, nu a filtrului.",search_people_or_countries:"Caută popoare sau țări…"},"./locales/ro/messages.json":{menuComingSoon:"Meniu în curând",pinHint:{tapDot:"Atinge un punct colorat — cineva are încă nevoie de rugăciune"},upg100WallHeading:"Lista mea UPG 100 — Liste de rugăciune și afișe",upg100WallTag:"Mobilizare pentru rugăciune",upg100WallIntro:"Împarte sarcina rugăciunii în grupuri de câte cincizeci și o sută — așa cum Isus a hrănit cei 5.000 (Luca 9:14). Fiecare afiș este o listă de 100 pe care o poți ruga, tipări și pune pe perete — rugându-te pentru ei <strong>pe numele poporului lor</strong>.",loadingNamed:"Se încarcă {name}…",couldNotLoadNamed:"Nu s-a putut încărca {name}.",engineMissing:"Motorul de hartă {engine} nu s-a încărcat.",packetFailed:"Broșura a eșuat: {reason}",selectionPacketFailed:"Broșura selecției a eșuat: {reason}",posterOneTerritory:"Afișul tipărește un teritoriu pe rând — {count} selectate.",selectionPosterFailed:"Afișul selecției a eșuat: {reason}",mapUnavailable:"Harta indisponibilă",copied:"Copiat!",copyFailed:"Copierea a eșuat — apasă Ctrl/Cmd-C",engineNotLoaded:"motorul de hărți nu s-a încărcat",engineNotLoadedDetail:"Motorul de hărți {engine} nu s-a încărcat. Lista și legenda nu sunt afectate."},"./locales/ro/poster.json":{export_poster:"Exportă posterul",size:"Dimensiune",orientation:"Orientare",portrait:"Portret",landscape:"Peisaj",dpi:"DPI",format:"Format",png_raster:"PNG (raster)",pdf_raster:"PDF (raster pe pagină vectorială)",title:"Titlu",map_title:"Titlul hărții",subtitle:"Subtitlu",slots:"Elemente",scale_bar:"Bară de scară",north_arrow:"Săgeata nord",footer_attribution:"Subsol (atribuire obligatorie)",cancel:"Anulează",map_preview:"previzualizare hartă",loading_snapshot:"Se încarcă instantaneul hărții…",preview_unavailable:"previzualizare indisponibilă"},"./locales/ro/search.json":{placeholder:"Popor, loc, limbă, religie",placeholderNoPlaces:"Popor, limbă, religie (căutarea locurilor necesită un token Mapbox)",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"},sections:{within:"În {selection}",allData:"Toate datele DOXA"},kinds:{people:"Popor + țară",peopleGroup:"Popor",bloc:"Bloc de afinitate",cluster:"Grup de popoare",country:"Țară",region:"Regiune",family:"Familie de limbi",languageKind:"Limbă",dialect:"Dialect",religionKind:"Religie"},upg100Placeholder:"Caută popor, listă UPG-100 sau regiune…"},"./locales/ru/grid.json":{search:"Поиск народов…",hide_filters:"Скрыть фильтры",show_filters:"Показать фильтры",total:"Всего",showing:"Показано",load_more:"Показать ещё",full_profile:"Полный профиль",wagf_region:"Регион",wagf_block:"Блок родства",rop1:"Народ",religion:"Религия",exact_filter:"Точное совпадение",clear_all:"Очистить всё",loading:"Загрузка…",no_results:"Нет народов, соответствующих этому фильтру.",type_to_search:"Введите для поиска...",load_failed:"Не удалось загрузить данные о народах. Это проблема соединения, а не фильтра.",search_people_or_countries:"Поиск народов или стран…"},"./locales/ru/messages.json":{menuComingSoon:"Меню скоро появится",pinHint:{tapDot:"Нажмите на цветную точку — кому-то всё ещё нужна молитва"},upg100WallHeading:"Мой список UPG 100 — молитвенные списки и плакаты",upg100WallTag:"Молитвенная мобилизация",upg100WallIntro:"Разделите молитвенный труд на группы по пятьдесят и по сто — так Иисус накормил 5000 (Луки 9:14). Каждый плакат — это список из 100, о котором можно молиться, распечатать и повесить на стену, молясь о них <strong>по имени их народа</strong>.",loadingNamed:"Загрузка {name}…",couldNotLoadNamed:"Не удалось загрузить {name}.",engineMissing:"Картографический движок {engine} не загрузился.",packetFailed:"Не удалось создать буклет: {reason}",selectionPacketFailed:"Не удалось создать буклет выбора: {reason}",posterOneTerritory:"Плакат печатает по одной территории — выбрано {count}.",selectionPosterFailed:"Не удалось создать плакат выбора: {reason}",mapUnavailable:"Карта недоступна",copied:"Скопировано!",copyFailed:"Не удалось скопировать — нажмите Ctrl/Cmd-C",engineNotLoaded:"движок карты не загружен",engineNotLoadedDetail:"Движок карты {engine} не загрузился. Список и легенда не затронуты."},"./locales/ru/poster.json":{export_poster:"Экспорт плаката",size:"Размер",orientation:"Ориентация",portrait:"Портретная",landscape:"Альбомная",dpi:"DPI",format:"Формат",png_raster:"PNG (растр)",pdf_raster:"PDF (растр на векторной странице)",title:"Заголовок",map_title:"Заголовок карты",subtitle:"Подзаголовок",slots:"Элементы",scale_bar:"Масштабная линейка",north_arrow:"Указатель севера",footer_attribution:"Нижний колонтитул (указание источника обязательно)",cancel:"Отмена",map_preview:"предпросмотр карты",loading_snapshot:"Загрузка снимка карты…",preview_unavailable:"предпросмотр недоступен"},"./locales/ru/search.json":{placeholder:"Народ, место, язык, религия",placeholderNoPlaces:"Народ, язык, религия (для поиска мест нужен токен Mapbox)",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"},sections:{within:"В пределах {selection}",allData:"Все данные DOXA"},upg100Placeholder:"Поиск народа, списка UPG-100 или региона…"},"./locales/zh/grid.json":{search:"搜索民族…",hide_filters:"隐藏筛选",show_filters:"显示筛选",total:"总计",showing:"显示",load_more:"加载更多",full_profile:"完整档案",wagf_region:"区域",wagf_block:"亲缘板块",rop1:"民族",religion:"宗教",exact_filter:"精确",clear_all:"全部清除",loading:"加载中…",no_results:"没有符合此筛选条件的民族。",type_to_search:"输入以搜索...",load_failed:"无法加载民族数据。这是连接问题,而不是筛选问题。",search_people_or_countries:"搜索民族或国家…"},"./locales/zh/messages.json":{menuComingSoon:"菜单即将推出",pinHint:{tapDot:"点按一个彩色圆点——仍有人需要祷告"},upg100WallHeading:"我的 UPG 100 名單 — 禱告名單與海報",upg100WallTag:"禱告動員",upg100WallIntro:"將禱告的工作分成五十人、一百人一組 — 就像耶穌餵飽五千人那樣(路加福音 9:14)。每一張海報都是一份 100 人名單,你可以為他們禱告、列印出來、貼在牆上 — <strong>按著他們族群的名字</strong>為他們禱告。",loadingNamed:"正在加载{name}…",couldNotLoadNamed:"无法加载{name}。",engineMissing:"{engine} 地图引擎未能加载。",packetFailed:"祷告册生成失败:{reason}",selectionPacketFailed:"所选内容的祷告册生成失败:{reason}",posterOneTerritory:"海报一次只能打印一个区域——已选 {count} 个。",selectionPosterFailed:"所选内容的海报生成失败:{reason}",mapUnavailable:"地图不可用",copied:"已复制!",copyFailed:"复制失败——请按 Ctrl/Cmd-C",engineNotLoaded:"地图引擎未加载",engineNotLoadedDetail:"{engine} 地图引擎未能加载。列表和图例不受影响。"},"./locales/zh/poster.json":{export_poster:"导出海报",size:"尺寸",orientation:"方向",portrait:"纵向",landscape:"横向",dpi:"DPI",format:"格式",png_raster:"PNG(位图)",pdf_raster:"PDF(矢量页面上的位图)",title:"标题",map_title:"地图标题",subtitle:"副标题",slots:"元素",scale_bar:"比例尺",north_arrow:"指北针",footer_attribution:"页脚(必须署名)",cancel:"取消",map_preview:"地图预览",loading_snapshot:"正在加载地图快照…",preview_unavailable:"预览不可用"},"./locales/zh/search.json":{placeholder:"民族、地点、语言、宗教",placeholderNoPlaces:"民族、语言、宗教(地点搜索需要 Mapbox 令牌)",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"},sections:{within:"在 {selection} 之內",allData:"所有 DOXA 資料"},kinds:{people:"民族 + 国家",peopleGroup:"民族",bloc:"亲缘板块",cluster:"民族群",country:"国家",region:"区域",family:"语系",languageKind:"语言",dialect:"方言",religionKind:"宗教"},upg100Placeholder:"搜索民族、UPG-100 名单或区域…"}}),jt={};for(const[e,t]of Object.entries(Rr)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;jt[n]??(jt[n]={}),jt[n][s]=t}const Fi=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Ir(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Ur(){var n;const e=Ir();if(Fi.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Fi.includes(o)?o:"en"}const zr="__DOXA_PAGE_LOCALE";function jr(){try{return typeof window<"u"&&window[zr]||""}catch{return""}}function Wr(e,t){const o=s=>{let i=jt[s];for(const a of String(e).split(".")){if(!i||typeof i!="object")return;i=i[a]}return typeof i=="string"?i:void 0},n=jr()||Ur();return o(n)??o("en")}const Hi={menu:'<line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/>',map:'<polygon points="3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21"/><line x1="9" y1="3" x2="9" y2="18"/><line x1="15" y1="6" x2="15" y2="21"/>',globe:'<circle cx="12" cy="12" r="9"/><path d="M3 12h18"/><path d="M12 3a15 15 0 0 1 0 18a15 15 0 0 1 0-18"/>',heart:'<path d="M19 14c1.5-1.5 3-3.5 3-5.5A4.5 4.5 0 0 0 12 6a4.5 4.5 0 0 0-10 2.5C2 10.5 3.5 12.5 5 14l7 7Z"/>',prayer:'<path d="M12 4.2c-.9 1.4-1.9 2.6-2.9 3.8-1 1.2-1.6 2.6-1.6 4.2v3.3c0 1.3.7 2.4 1.8 3 .5.3 1.1-.1 1.1-.7"/><path d="M12 4.2c.9 1.4 1.9 2.6 2.9 3.8 1 1.2 1.6 2.6 1.6 4.2v3.3c0 1.3-.7 2.4-1.8 3-.5.3-1.1-.1-1.1-.7"/><path d="M12 4.2V17"/>',list:'<line x1="8" y1="6" x2="21" y2="6"/><line x1="8" y1="12" x2="21" y2="12"/><line x1="8" y1="18" x2="21" y2="18"/><circle cx="4" cy="6" r="1"/><circle cx="4" cy="12" r="1"/><circle cx="4" cy="18" r="1"/>',users:'<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.9"/><path d="M16 3.1a4 4 0 0 1 0 7.8"/>',flag:'<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V4s-1 1-4 1-5-2-8-2-4 1-4 1z"/><line x1="4" y1="22" x2="4" y2="15"/>',target:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="5"/><circle cx="12" cy="12" r="1"/>',pin:'<path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z"/><circle cx="12" cy="10" r="3"/>',monitor:'<rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/>',chart:'<line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/>',folder:'<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>',layers:'<polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/>',flask:'<path d="M9 3h6v5l5 11a2 2 0 0 1-2 3H6a2 2 0 0 1-2-3l5-11z"/><line x1="9" y1="3" x2="15" y2="3"/><line x1="6" y1="15" x2="18" y2="15"/>',share:'<circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.6" y1="13.5" x2="15.4" y2="17.5"/><line x1="15.4" y1="6.5" x2="8.6" y2="10.5"/>',beaker:'<path d="M6 3h12"/><path d="M8 3v7l-3 8a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-3-8V3"/>',chevron:'<polyline points="9 18 15 12 9 6"/>',grid:'<rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/>',tree:'<rect x="9" y="3" width="6" height="5" rx="1"/><rect x="2" y="16" width="6" height="5" rx="1"/><rect x="16" y="16" width="6" height="5" rx="1"/><path d="M12 8v4M5 16v-2h14v2"/>',dots:'<circle cx="12" cy="5" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="12" cy="19" r="1.5"/>',embed:'<polyline points="9 7 4 12 9 17"/><polyline points="15 7 20 12 15 17"/>',send:'<path d="M21 3 L3 10.5 L9.5 13.5 L12.5 20 Z"/><line x1="21" y1="3" x2="9.5" y2="13.5"/>',poster:'<rect x="4" y="3" width="16" height="18" rx="2"/><circle cx="12" cy="10" r="2.5"/><path d="M8 17h8"/>',search:'<circle cx="10.5" cy="10.5" r="7.5"/><line x1="15.8" y1="15.8" x2="20.5" y2="20.5"/>',book:'<path d="M12 6.5C12 6.5 9.5 4.5 4 4.5v13C9.5 17.5 12 19.5 12 19.5"/><path d="M12 6.5C12 6.5 14.5 4.5 20 4.5v13C14.5 17.5 12 19.5 12 19.5"/>',wifi:'<path d="M3.5 9a13 13 0 0 1 17 0"/><path d="M6.8 12.4a8.5 8.5 0 0 1 10.4 0"/><path d="M10 15.7a4 4 0 0 1 4 0"/><circle cx="12" cy="19" r="1"/>'};function Di(e,t=""){const o=Hi[e]||Hi.map;return`<svg class="ic ${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${o}</svg>`}const Vr=".vtl{position:absolute;top:0;right:0;bottom:0;left:0;display:grid!important;grid-template-rows:auto 1fr;height:100%;width:100%;min-height:420px;background:#f3f3f1;color:#3b463d;font-family:Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--vtl-accent:#92b195;--vtl-border:#d1d4cd;--vtl-elevated:#ffffff;--vtl-accented:#d1d4cd;--vtl-muted:#6d766e;--vtl-rail:256px}.vtl.no-header{grid-template-rows:1fr}.vtl-top{flex:0 0 auto;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:64px;padding:8px 16px;border-bottom:1px solid var(--vtl-border);background:#fff}.vtl-menu{display:none;font:16px/1 system-ui;color:#3b463d;background:#d1d4cd;border:1px solid #d1d4cd;border-radius:8px;padding:5px 10px;cursor:pointer}.vtl-fab{position:absolute;z-index:15;left:calc(12px + env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px;display:flex;align-items:center;justify-content:center;font:18px/1 system-ui;color:#3b463d;background:#fff;border:1px solid var(--vtl-border);border-radius:50%;box-shadow:0 2px 10px #0000002e;cursor:pointer}.vtl-fab:hover{background:#d1d4cd}.vtl-fab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:2px}.vtl-menu:hover{background:#d1d4cd}.vtl-brand{display:inline-flex;align-items:center}.vtl-brand:empty{display:none}.vtl-title{font-size:15px;font-weight:600;letter-spacing:-.01em;color:#3b463d}.vtl-meta{color:var(--vtl-muted);font-size:12px;margin-left:auto;display:inline-flex;align-items:center;gap:8px}.vtl-body{min-height:0;position:relative;display:flex}.vtl-nav{position:absolute;top:0;bottom:0;left:0;z-index:5;width:256px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;border-right:1px solid var(--vtl-border);padding:12px 12px 20px;background:#fff;scrollbar-width:thin;scrollbar-color:#c4c8c0 transparent;contain:layout paint;transform:translate(0);transition:transform .2s cubic-bezier(.4,0,.2,1);will-change:transform}.vtl-nav::-webkit-scrollbar{width:8px;height:8px}.vtl-nav::-webkit-scrollbar-track{background:transparent}.vtl-nav::-webkit-scrollbar-thumb{background:#c4c8c0;border-radius:8px}.vtl-nav::-webkit-scrollbar-thumb:hover{background:#9aa197}.vtl-collapse{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin:0 0 8px;padding:7px 10px;border:1px solid var(--vtl-border);border-radius:8px;background:#d1d4cd;color:var(--vtl-muted);font:inherit;font-size:12px;cursor:pointer}.vtl-collapse:hover{background:var(--vtl-accented);color:#3b463d}.vtl-collapse:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-collapse-ic{flex:0 0 auto;display:inline-flex;transition:transform .16s ease;transform:rotate(180deg)}.vtl-collapse-ic svg{width:16px;height:16px}.vtl-collapse-tx{white-space:nowrap}.vtl-grp{margin-bottom:2px}.vtl-grp+.vtl-grp{margin-top:8px;padding-top:8px;border-top:1px solid var(--vtl-border)}.vtl-tier{width:100%;padding:8px 8px 6px;display:flex;align-items:center;gap:8px;box-sizing:border-box}.vtl-tier-btn{border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left;border-radius:8px}.vtl-tier-btn:hover{background:var(--vtl-accented)}.vtl-tier-btn:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tier-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tier-ic svg{width:15px;height:15px}.vtl-cap{font:700 10px/1 system-ui;letter-spacing:.4px;color:#052e16;background:var(--vtl-accent);border-radius:999px;padding:3px 7px}.vtl-tl{font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:var(--vtl-muted)}.vtl-td{color:#6b6b6b;font-size:11px;margin-left:auto}.vtl-chev{margin-left:auto;display:inline-flex;color:var(--vtl-muted);transition:transform .16s ease}.vtl-chev svg{width:15px;height:15px}.vtl-chev.open{transform:rotate(90deg)}.vtl-rows{display:flex;flex-direction:column;gap:1px}.vtl-tab{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;text-align:left;border:0;background:none;color:var(--vtl-muted);padding:8px 12px;cursor:pointer;border-radius:var(--vtl-radius,8px);font:inherit;margin:0;transition:background .13s ease,color .13s ease}.vtl-tab:hover{background:var(--vtl-accented);color:#3b463d}.vtl-tab:focus-visible{outline:2px solid var(--vtl-accent);outline-offset:-2px}.vtl-tab.active{background:var(--vtl-accented);color:#3b463d;font-weight:500}.vtl-tab.active .vtl-tab-ic{color:var(--vtl-accent)}.vtl-tab-ic{flex:0 0 auto;display:inline-flex;color:var(--vtl-muted)}.vtl-tab-ic svg{width:20px;height:20px}.vtl-tab-emoji{font-size:17px;line-height:1;flex:0 0 auto}.vtl-tab-fallback{display:none;flex:0 0 auto;width:20px;height:20px;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--vtl-muted);background:var(--vtl-accented);border-radius:6px}.vtl-tab.active .vtl-tab-fallback{color:var(--vtl-accent)}.vtl-tab-text{display:flex;flex-direction:column;min-width:0}.vtl-tab-label{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px}.vtl-tab-badge{font:600 9px/1 system-ui;letter-spacing:.3px;text-transform:uppercase;color:var(--vtl-accent);border:1px solid var(--vtl-accent);border-radius:var(--vtl-radius,8px);padding:2px 5px}.vtl-tab-sub{font-size:11px;color:#6b6b6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vtl-tab-sub code{font-family:ui-monospace,Menlo,monospace}.vtl-tab.active .vtl-tab-sub{color:var(--vtl-muted)}.vtl-main{position:absolute;top:0;bottom:0;right:0;left:256px;min-width:0;display:flex;flex-direction:column}.vtl-content{flex:1 1 auto;position:relative;min-height:0}.vtl-host{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h:0}.vtl-host-slot{position:relative;min-height:100%}.vtl-host-slot>*{min-height:0;max-height:none}.vtl-host-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:var(--dx-muted, #6d766e);font-size:13px;padding:20px}.vtl-host-hint.err{color:#f87171}.vtl-host-hint small{color:var(--dx-muted, #6d766e)}.vtl.rail-collapsed .vtl-nav{transform:translate(-184px)}.vtl.rail-collapsed .vtl-main{left:72px}.vtl.rail-collapsed .vtl-collapse{padding-left:184px;justify-content:flex-start}.vtl.rail-collapsed .vtl-collapse-ic{transform:rotate(0)}.vtl.rail-collapsed .vtl-collapse-tx{display:none}.vtl.rail-collapsed .vtl-tab{padding-left:188px;gap:0}.vtl.rail-collapsed .vtl-tab-text{display:none}.vtl.rail-collapsed .vtl-tab-emoji{font-size:19px}.vtl.rail-collapsed .vtl-tab-fallback{display:inline-flex}.vtl.rail-collapsed .vtl-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);z-index:1000}.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}}.vtl:dir(rtl) .vtl-nav{left:auto;right:0;border-right:0;border-left:1px solid var(--vtl-border)}.vtl:dir(rtl) .vtl-main{left:0;right:256px}.vtl:dir(rtl) .vtl-tab,.vtl:dir(rtl) .vtl-tier-btn{text-align:right}.vtl:dir(rtl) .vtl-meta,.vtl:dir(rtl) .vtl-td,.vtl:dir(rtl) .vtl-chev{margin-left:0;margin-right:auto}.vtl:dir(rtl) .vtl-chev:not(.open){transform:scaleX(-1)}.vtl:dir(rtl) .vtl-collapse-ic svg{transform:scaleX(-1)}.vtl:dir(rtl) .vtl-fab{left:auto;right:calc(12px + env(safe-area-inset-right))}.vtl.rail-collapsed:dir(rtl) .vtl-nav{transform:translate(184px)}.vtl.rail-collapsed:dir(rtl) .vtl-main{left:0;right:72px}.vtl.rail-collapsed:dir(rtl) .vtl-collapse{padding-left:10px;padding-right:184px}.vtl.rail-collapsed:dir(rtl) .vtl-tab{padding-left:12px;padding-right:188px}.vtl.rail-collapsed:dir(rtl) .vtl-tier{padding-left:8px;padding-right:196px}@media (max-width: 760px){.vtl:dir(rtl) .vtl-nav{transform:translate(100%)}.vtl.nav-open:dir(rtl) .vtl-nav{transform:translate(0)}.vtl:dir(rtl) .vtl-main,.vtl.rail-collapsed:dir(rtl) .vtl-main{left:0;right:0}.vtl.rail-collapsed:dir(rtl) .vtl-nav{transform:translate(100%)}.vtl.rail-collapsed.nav-open:dir(rtl) .vtl-nav{transform:translate(0)}.vtl.rail-collapsed:dir(rtl) .vtl-collapse{padding-left:10px;padding-right:10px}.vtl.rail-collapsed:dir(rtl) .vtl-tab{padding-left:12px;padding-right:10px}.vtl.rail-collapsed:dir(rtl) .vtl-tier{padding-left:8px;padding-right:8px}}",On=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},Kr=(e,t)=>Wr(e)||t,Wt={};function Br(e){return e?(Wt[e]||(Wt[e]=new Promise((t,o)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>{delete Wt[e],o(new Error("failed to load "+e))},document.head.appendChild(n)})),Wt[e]):Promise.resolve()}function Gr(e,t=5e3){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():customElements.whenDefined?Promise.race([customElements.whenDefined(e),new Promise((o,n)=>setTimeout(()=>n(new Error("timeout waiting for <"+e+">")),t))]):Promise.resolve()}const qr=`
|
||
/* 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
|
||
its own inline display onto the element. Declaring it non-overridable is the correct contract.
|
||
grid-template-rows: auto 1fr = header takes its natural height, .vtl-body gets a DEFINITE
|
||
remaining track — no dependence on in-flow children (nav/main are absolute for the rail slide). */
|
||
.vtl { position:absolute; inset: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; }
|
||
/* HEADER-OFF (header=false, e.g. the cap-5 doxa-maps-spa): the .vtl-top element is NOT rendered, so
|
||
.vtl-body becomes the ONLY grid child and auto-places into row 1 — the auto row — which has no
|
||
content to size it and collapses to 0 (the 1fr row sits empty) → the same 0-height black screen.
|
||
With no header there is only one region, so declare a single 1fr row and the body fills. */
|
||
.vtl.no-header { grid-template-rows:1fr; }
|
||
/* MATERIAL APP BAR = 64px desktop / 56px mobile (2026-09-21), was 51px from 11px padding.
|
||
Stated as an explicit min-height rather than left to padding arithmetic, so the number a
|
||
reader sees is the number that renders. min-height keeps a wrapping title from clipping.
|
||
★ box-sizing:border-box IS LOAD-BEARING HERE. Without it this element is content-box, so
|
||
min-height:64px MEASURED 81px live: 64 + 16px vertical padding + 1px border. A height stated
|
||
in a comment is worth nothing if the box model adds to it — measure the rendered value, do not
|
||
trust the declaration. (Found exactly that way: the probe read 81 against a 64 target.)
|
||
THIS RULE EXISTS TWICE (VTL_SHADOW_CSS and the scoped style block); keep them identical. */
|
||
.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:#ffffff; }
|
||
.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; }
|
||
/* Headerless-mobile drawer opener. Only ever rendered when narrow AND header-off AND the drawer is
|
||
shut, so it cannot appear in any layout that already has a working toggle. z-index sits ABOVE the
|
||
content but BELOW the drawer (.vtl-nav is z-index:20) so the drawer covers it when it slides in.
|
||
44px is the minimum comfortable touch target; the safe-area insets keep it clear of an iOS home
|
||
indicator and a notch in landscape. */
|
||
.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:#ffffff; border:1px solid var(--vtl-border); border-radius:50%; box-shadow:0 2px 10px rgba(0,0,0,.18); 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:-0.01em; color:#3b463d; }
|
||
.vtl-meta { color:var(--vtl-muted); font-size:12px; margin-left:auto; display:inline-flex; align-items:center; gap:8px; }
|
||
/* GRID ROWS, not flex (BUG-EMBEDDED-PLUGIN-STUDIO-BLACK-SCREEN). The collapsible-rail design makes
|
||
.vtl-nav and .vtl-main position:absolute (so the rail slides by transform without reflowing the
|
||
heavy map sibling). That leaves .vtl-body with NO in-flow children → ZERO intrinsic height, so it
|
||
could only fill via flex:1 from a flex parent. A host that forces display:block on .vtl (the
|
||
app-shell direct-mounts cap-5 elements that way) made that flex inert → .vtl-body collapsed to 0
|
||
→ black screen. The auto/1fr grid on .vtl gives this row a DEFINITE height by construction, so
|
||
it no longer depends on the parent's display mode NOR on in-flow children. Header-off
|
||
(header=false) still works: the auto row collapses to 0 and 1fr takes the full height. */
|
||
.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:#ffffff; scrollbar-width:thin; scrollbar-color:#c4c8c0 transparent; contain:layout paint; transform:translateX(0); transition:transform .2s cubic-bezier(.4,0,.2,1); will-change:transform; }
|
||
/* Thin OVERLAY scrollbar: transparent track so the bar costs no visual space and sits flush to
|
||
the nav edge; low-contrast thumb that darkens on hover. Matches the research-dashboard rails. */
|
||
.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; }
|
||
/* MATERIAL NAV-ROW METRICS (2026-09-21). Driver: "people are used to the YouTube layout, Google
|
||
layout is just way better. We do not need to create custom styles people are not used to."
|
||
Measured before this change: 44px rows with an 8px radius.
|
||
min-height:48px the Material list-item height. min-height, not height, so a wrapping
|
||
label still grows instead of clipping.
|
||
border-radius var(--vtl-radius,8px) — SUPERSEDED THE FULL PILL (2026-09-23).
|
||
The 999px stadium above was a real instruction ("imitate the YouTube
|
||
active row") and it shipped. The Driver then measured it against the
|
||
rest of the product and reversed it: "the roundedness of the tabs is a
|
||
little bit too round because there is nowhere else in the app that has
|
||
that same roundedness. Even the collapse button is not that round...
|
||
it looks more material UI to have a more rounded tab than a less
|
||
circular tab." He is right on the facts — .vtl-collapse is 8px, the
|
||
filter toggles in @map/components/search are 8px, and 8px is already
|
||
the most common radius in this file. A 999px radius on a 48px row is a
|
||
stadium, which is why it reads as foreign beside everything else.
|
||
★ DO NOT "RESTORE" THE PILL on the strength of the YouTube rationale
|
||
above — that rationale is kept because it is true history, not because
|
||
it is current. The 48px Material row height is unaffected and stays.
|
||
NOT VENDORED: the card's law is to imitate the metrics in our own CSS, never to add Quasar or
|
||
MUI. Same clone-dont-edit rule the library follows everywhere else.
|
||
THIS RULE EXISTS TWICE (VTL_SHADOW_CSS and the scoped style block) and the two copies must stay
|
||
byte-identical — edit both or neither. */
|
||
.vtl-tab { display:flex; align-items:center; gap:11px; width:100%; min-height:48px; text-align:left; border:0; background:none; color:var(--vtl-muted); padding:8px 12px; cursor:pointer; border-radius:var(--vtl-radius,8px); font:inherit; margin:0; transition:background .13s ease,color .13s ease; }
|
||
.vtl-tab:hover { background:var(--vtl-accented); color:#3b463d; }
|
||
.vtl-tab:focus-visible { outline:2px solid var(--vtl-accent); outline-offset:-2px; }
|
||
.vtl-tab.active { background:var(--vtl-accented); color:#3b463d; font-weight:500; }
|
||
.vtl-tab.active .vtl-tab-ic { color:var(--vtl-accent); }
|
||
.vtl-tab-ic { flex:0 0 auto; display:inline-flex; color:var(--vtl-muted); }
|
||
.vtl-tab-ic svg { width:20px; height:20px; }
|
||
.vtl-tab-emoji { font-size:17px; line-height:1; flex:0 0 auto; }
|
||
.vtl-tab-fallback { display:none; flex:0 0 auto; width:20px; height:20px; align-items:center; justify-content:center; font-size:12px; font-weight:600; color:var(--vtl-muted); background:var(--vtl-accented); border-radius:6px; }
|
||
.vtl-tab.active .vtl-tab-fallback { color:var(--vtl-accent); }
|
||
.vtl-tab-text { display:flex; flex-direction:column; min-width:0; }
|
||
.vtl-tab-label { font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:flex; align-items:center; gap:6px; }
|
||
.vtl-tab-badge { font:600 9px/1 system-ui; letter-spacing:.3px; text-transform:uppercase; color:var(--vtl-accent); border:1px solid var(--vtl-accent); border-radius:var(--vtl-radius,8px); padding:2px 5px; }
|
||
.vtl-tab-sub { font-size:11px; color:#6b6b6b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
||
.vtl-tab-sub code { font-family:ui-monospace,Menlo,monospace; }
|
||
.vtl-tab.active .vtl-tab-sub { color:var(--vtl-muted); }
|
||
.vtl-main { position:absolute; top:0; bottom:0; right:0; left:256px; min-width:0; display:flex; flex-direction:column; }
|
||
/* ★ contain:layout, NOT layout paint (BUG-STILL-CANNOT-SCROLL-DOWN-TO-THE-GRID, measured
|
||
2026-09-22). layout is the half that does the work the rail collapse needs — it isolates this
|
||
subtree so sliding the rail never reflows a heavy mounted map. paint additionally CLIPS the
|
||
subtree to this box, which silently swallowed every pixel a scroll-stack composite rendered below
|
||
one viewport. The clipping now belongs to .vtl-host, which owns a real scrollbar, so the content
|
||
is both contained AND reachable. Dropping paint costs the collapse nothing: paint never
|
||
contributed reflow isolation, only clipping. */
|
||
.vtl-content { flex:1 1 auto; position:relative; min-height:0; }
|
||
/* ★ NO containment AT ALL on .vtl-content (BUG-FULLSCREEN-MODALS-UNDERSIZED-INSIDE-THE-CAP5-SHELL,
|
||
measured 2026-09-23). contain:paint was dropped earlier for the scroll bug; contain:layout
|
||
stayed -- but LAYOUT containment ALSO makes this element the containing block for every
|
||
position:fixed descendant (CSS Containment spec), so all six modal scrims hosted in the shell
|
||
(PosterDialog, DataTable .dt-scrim, LegendTools .lt-overlay, SemanticTreeLegend export
|
||
backdrop, both poster-wall .modal-scrim) resolved inset:0 to the CONTENT PANE: measured, a
|
||
fixed inset:0 probe here read x=256 w=1184 on a 1440 viewport, leaving the 256px nav rail
|
||
uncovered and CLICKABLE behind an open modal. Visibly almost right, interactively wrong.
|
||
The perf rationale it was kept for does not hold: when the nav collapses, this element's own
|
||
width changes, and a width change re-lays-out the subtree with or without containment. */
|
||
/* ★ THE PANE OWNS THE SCROLL (BUG-STILL-CANNOT-SCROLL-DOWN-TO-THE-GRID). Measured in the cap-5
|
||
shell: the dashboard-plus-grid composite mounted here reported scrollHeight 3380 / clientHeight
|
||
769 — 2611px of real, mounted, populated content (the people-groups grid, h=2586) that NO element
|
||
could scroll to, because this box was position:absolute; inset:0 with the default
|
||
overflow:visible. The document itself measured scrollHeight 900 === clientHeight 900, so a
|
||
wheel gesture anywhere had nothing to move and the page simply sat still.
|
||
THIS IS A HOST GAP, NOT A PLUGIN BUG. The same composite is PERFECT standalone (document
|
||
2960/900, wheel scrolls to 2060, grid reachable) because its generated leaf sets
|
||
body{overflow-y:auto} — the document owns the scroll there. In this shell the pane is pinned to
|
||
viewport height and no ancestor scrolls, so the layout must own it. generate-tree.mjs keeps cap-5
|
||
leaves fixed-viewport on the reasoning that "any scroll-stack it hosts is its OWN iframe leaf" —
|
||
but the studio documents "there is NO iframe mode": every tab mounts its REAL custom element
|
||
directly into this pane. So the scroll has to land here.
|
||
WHY THIS IS SAFE FOR THE FIXED-VIEWPORT MAP TABS, which are the majority. A map element ships
|
||
position:absolute; inset:0 (or height:100%) and therefore fills this box exactly:
|
||
scrollHeight === clientHeight, so auto yields NO scrollbar and NOTHING changes for them. Only a
|
||
pane whose content genuinely exceeds one viewport — i.e. a StackLayout scroll-stack, which is the
|
||
composite that is meant to scroll — gets one. auto is load-bearing; scroll would paint a dead
|
||
scrollbar on all 19 map tabs.
|
||
overscroll-behavior:contain stops a wheel that bottoms out here from chaining to the document. */
|
||
.vtl-host { position:absolute; inset:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; --profile-min-h:0; }
|
||
/* The slot is the element's mount point. It must NOT be position:absolute; inset:0 any more: that
|
||
pinned it to the pane's height and re-created the exact trap one level down — an absolutely
|
||
positioned child cannot grow a scroll container. min-height:100% keeps a fixed-viewport map
|
||
filling the pane (the behaviour absolute-inset gave it) while letting a taller scroll-stack
|
||
composite push the pane's scrollHeight past its clientHeight, which is what produces the
|
||
scrollbar. */
|
||
.vtl-host-slot { position:relative; min-height:100%; }
|
||
/* ★ THE dvh FLOOR, NEUTRALISED FOR HOSTED ELEMENTS (measured 2026-09-22 in the studio, same layout
|
||
shape). A hosted map ships .profile-loader { height:100%; min-height:100dvh }, and the two resolve
|
||
against DIFFERENT bases: height:100% against this pane, min-height:100dvh against the VIEWPORT.
|
||
Wherever the pane is shorter than the viewport (any header/toolbar chrome above it), the floor
|
||
wins, the element overflows by exactly that chrome height, and the overflow-y:auto above then
|
||
correctly paints a scrollbar on a fixed-viewport map that should never have one.
|
||
The floor is DELIBERATE and must stay in the element (standalone it prevents a collapse to 0
|
||
against an auto-height body). It is only wrong HERE, against a definite shorter pane. A genuine
|
||
scroll-stack composite is unaffected: it exceeds the pane on its own content, not on this floor. */
|
||
.vtl-host-slot > * { min-height:0; max-height:none; }
|
||
.vtl-host-hint { position:absolute; inset: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); }
|
||
/* MATERIAL MINI-VARIANT RAIL = 72px (2026-09-21), up from 60px.
|
||
★ THE COLLAPSE IS A TRANSLATE, NOT A WIDTH CHANGE — so FOUR numbers are coupled and must move
|
||
together, which is precisely where a partial edit would break the layout:
|
||
nav translate -184px the 256px rail slides left, leaving 256-184 = 72px visible
|
||
main left 72px the content pane starts exactly where the rail ends
|
||
collapse pad 184px pushes the toggle's icon into the 72px strip that stays on screen
|
||
tab pad 188px the same for each row's icon (4px more, matching the old 196/200 pair)
|
||
Change one without the others and the icons drift out of the visible strip or the content
|
||
overlaps the rail. Old values were -196 / 60 / 196 / 200.
|
||
THIS BLOCK EXISTS TWICE (VTL_SHADOW_CSS and the scoped style block); keep them byte-identical. */
|
||
.vtl.rail-collapsed .vtl-nav { transform:translateX(-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(0deg); }
|
||
.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) {
|
||
/* Material app bar is 56px on mobile, 64px on desktop — the desktop value is set above. */
|
||
.vtl-top { min-height:56px; }
|
||
.vtl-menu { display:inline-block; }
|
||
.vtl-meta { display:none; }
|
||
/* MOBILE = the SAME composited-transform model, taken to its full-off-canvas extreme: a full-width
|
||
drawer that slides in/out via transform (never a layout property), so opening/closing the drawer
|
||
never reflows the content. Content is full-width (left:0) and stays put; the drawer floats over it. */
|
||
.vtl-nav { z-index:20; width:256px; box-shadow:0 0 28px rgba(0,0,0,.55); transform:translateX(-100%); }
|
||
/* OPEN DRAWER ABOVE THE PLUGIN'S OWN LAYERS. Mounted content shares this stacking context, and
|
||
plugins raise their chrome (the research dashboard's filter bar is z-index:55), so at z-index 20
|
||
the open drawer had a plugin's filter row painted across it — measured 2026-09-25 at 390px.
|
||
Only while OPEN on a phone: that is when the drawer is the one thing you can use, and desktop
|
||
and plugin modal scrims keep their existing order. */
|
||
.vtl.nav-open .vtl-nav { transform:translateX(0); z-index:1000; }
|
||
.vtl-main { left:0; }
|
||
/* The desktop slim-rail collapse has no meaning on a phone — reconcileForWidth() clears railCollapsed
|
||
at this width, but neutralize its CSS too (belt-and-suspenders) so a full labelled drawer always
|
||
shows: no partial slide, no icon-column padding, labels/sections visible. */
|
||
.vtl.rail-collapsed .vtl-nav { transform:translateX(-100%); }
|
||
.vtl.rail-collapsed.nav-open .vtl-nav { transform:translateX(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; }
|
||
}
|
||
|
||
/* ★ RIGHT-TO-LEFT (ar). THIS BLOCK EXISTS TWICE (VTL_SHADOW_CSS and the scoped style block); keep them
|
||
byte-identical. Everything above is written in PHYSICAL terms (left:0 rail, left:256px content,
|
||
translateX(-…) slides), so an Arabic shell kept the rail on the left with LTR geometry (reported by
|
||
studio for cell E, 2026-09-25). These are ADDITIVE overrides scoped by :dir(rtl), so an LTR consumer
|
||
matches none of them and renders exactly as before. :dir() follows the dir attribute through the
|
||
shadow boundary, so either a consumer setting dir="rtl" on the layout or an RTL host page flips it.
|
||
translateX has no logical form, which is why this is a mirror block rather than logical properties. */
|
||
.vtl:dir(rtl) .vtl-nav { left:auto; right:0; border-right:0; border-left:1px solid var(--vtl-border); }
|
||
.vtl:dir(rtl) .vtl-main { left:0; right:256px; }
|
||
.vtl:dir(rtl) .vtl-tab, .vtl:dir(rtl) .vtl-tier-btn { text-align:right; }
|
||
.vtl:dir(rtl) .vtl-meta, .vtl:dir(rtl) .vtl-td, .vtl:dir(rtl) .vtl-chev { margin-left:0; margin-right:auto; }
|
||
.vtl:dir(rtl) .vtl-chev:not(.open) { transform:scaleX(-1); }
|
||
.vtl:dir(rtl) .vtl-collapse-ic svg { transform:scaleX(-1); }
|
||
.vtl:dir(rtl) .vtl-fab { left:auto; right:calc(12px + env(safe-area-inset-right)); }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-nav { transform:translateX(184px); }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-main { left:0; right:72px; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-collapse { padding-left:10px; padding-right:184px; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-tab { padding-left:12px; padding-right:188px; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-tier { padding-left:8px; padding-right:196px; }
|
||
@media (max-width: 760px) {
|
||
.vtl:dir(rtl) .vtl-nav { transform:translateX(100%); }
|
||
.vtl.nav-open:dir(rtl) .vtl-nav { transform:translateX(0); }
|
||
.vtl:dir(rtl) .vtl-main, .vtl.rail-collapsed:dir(rtl) .vtl-main { left:0; right:0; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-nav { transform:translateX(100%); }
|
||
.vtl.rail-collapsed.nav-open:dir(rtl) .vtl-nav { transform:translateX(0); }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-collapse { padding-left:10px; padding-right:10px; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-tab { padding-left:12px; padding-right:10px; }
|
||
.vtl.rail-collapsed:dir(rtl) .vtl-tier { padding-left:8px; padding-right:8px; }
|
||
}
|
||
`,Yr=$o({name:"VerticalTabsLayout",props:{active:{type:String,default:""},title:{type:String,default:""},items:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},navLabel:{type:String,default:"Sections"},labels:{type:Object,default:()=>({})},initialNavOpen:{type:Boolean,default:!0},header:{type:Boolean,default:!0},initialRailCollapsed:{type:Boolean,default:!1}},emits:["update:active"],setup(){return Mn(qr,"vertical-tabs-layout"),{T:Kr}},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 o of t.rows||[])e.push(o);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},label(e){const t={toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse"};return this.labels&&this.labels[e]||t[e]},expandRail(){!this.narrow&&this.railCollapsed&&(this.railCollapsed=!1)},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(o=>o.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),o=this._hostSlots[e];!t||!o||(this._hostMounted[e]=!0,this.hostState={...this.hostState,[e]:"loading"},Br(t.src).then(()=>Gr(t.element)).then(()=>{o.innerHTML="";const n=document.createElement(t.element),s=t.attrs||{};for(const i in s){const a=s[i],l=a!=null&&typeof a=="object"?JSON.stringify(a):String(a);try{n[i]=a}catch{}try{n.setAttribute(i,l)}catch{}}n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.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?Di(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],o=(this.groups||[]).find(s=>s.key===e),n=t??(o&&o.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 o=t.indexOf(this.active);let n=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")n=(o+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")n=(o-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 s=t[n];this.pick(s),this.$nextTick(()=>{const i=this._tabEls[s];i&&i.focus&&i.focus()})}}}),Xr={key:0,class:"vtl-top"},Jr=["aria-expanded","aria-label"],Zr={class:"vtl-brand"},Qr={class:"vtl-title"},ec={class:"vtl-meta"},tc=["aria-expanded","aria-label"],oc={class:"vtl-body"},nc=["aria-label","aria-hidden","role","aria-orientation"],sc=["aria-expanded","aria-label"],ic=["innerHTML"],ac={class:"vtl-collapse-tx"},lc=["aria-expanded","onClick"],rc={key:0,class:"vtl-cap"},cc={class:"vtl-tl"},pc={key:1,class:"vtl-td"},dc=["innerHTML"],uc={key:1,class:"vtl-tier"},fc={key:0,class:"vtl-cap"},hc={class:"vtl-tl"},gc={key:1,class:"vtl-td"},bc={class:"vtl-rows"},$c=["aria-selected","tabindex","onClick"],mc=["innerHTML"],_c={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},vc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},kc={class:"vtl-tab-text"},xc={class:"vtl-tab-label"},yc={key:0,class:"vtl-tab-badge"},wc={key:0,class:"vtl-tab-sub"},Sc=["innerHTML"],Lc=["aria-selected","tabindex","onClick"],Nc=["innerHTML"],Pc={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Tc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Ec={class:"vtl-tab-text"},Cc={class:"vtl-tab-label"},Mc={key:0,class:"vtl-tab-sub"},Oc={class:"vtl-main"},Ac={class:"vtl-content"},Fc=["hidden"],Hc={key:0,class:"vtl-host-hint"},Dc={key:1,class:"vtl-host-hint err"};function Rc(e,t,o,n,s,i){return L(),N("div",{class:he(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}])},[e.header?(L(),N("header",Xr,[v("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=a=>e.navOpen=!e.navOpen),"aria-label":e.label("toggleList")},"☰",8,Jr),v("span",Zr,[Mt(e.$slots,"brand")]),v("b",Qr,P(e.title),1),v("span",ec,[Mt(e.$slots,"meta")])])):Y("",!0),e.narrow&&!e.header&&!e.navOpen?(L(),N("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=a=>e.navOpen=!0),"aria-label":e.label("openViews")},"☰",8,tc)):Y("",!0),v("div",oc,[v("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:e.$slots.rail?null:"tablist","aria-orientation":e.$slots.rail?null:"vertical"},[v("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?e.label("expandList"):e.label("collapseList"),onClick:t[2]||(t[2]=(...a)=>e.toggleRail&&e.toggleRail(...a))},[v("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,ic),v("span",ac,P(e.label("collapse")),1)],8,sc),e.$slots.rail?Mt(e.$slots,"rail",{collapsed:e.railCollapsed&&!e.narrow,expand:e.expandRail,pick:e.pick},void 0,void 0,0):e.groups&&e.groups.length?(L(!0),N(q,{key:1},Pe(e.groups,a=>(L(),N("div",{class:"vtl-grp",key:a.key},[a.folder?(L(),N("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(a)),onClick:l=>e.toggleFolder(a.key)},[a.badge?(L(),N("span",rc,P(a.badge),1)):Y("",!0),v("span",cc,P(a.label),1),a.count!=null?(L(),N("span",pc,P(a.count),1)):Y("",!0),v("span",{class:he(["vtl-chev",{open:!e.isFolderClosed(a)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,dc)],8,lc)):(L(),N("div",uc,[a.badge?(L(),N("span",fc,P(a.badge),1)):Y("",!0),v("span",hc,P(a.label),1),a.count!=null?(L(),N("span",gc,P(a.count),1)):Y("",!0)])),ft(v("div",bc,[(L(!0),N(q,null,Pe(a.rows,l=>(L(),N("button",{key:l.key,type:"button",role:"tab",class:he(["vtl-tab",{active:l.key===e.active}]),"aria-selected":String(l.key===e.active),tabindex:l.key===e.active?0:-1,ref_for:!0,ref:r=>e.registerTab(l.key,r),onClick:r=>e.pick(l.key),onKeydown:t[3]||(t[3]=r=>e.onKey(r))},[l.icon?(L(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,mc)):l.emoji?(L(),N("span",_c,P(l.emoji),1)):(L(),N("span",vc,P(e.initial(l.label)),1)),v("span",kc,[v("span",xc,[Ke(P(l.label),1),l.badge?(L(),N("span",yc,P(l.badge),1)):Y("",!0)]),l.sub?(L(),N("span",wc,[v("span",{innerHTML:l.sub},null,8,Sc)])):Y("",!0)])],42,$c))),128))],512),[[Ln,!a.folder||!e.isFolderClosed(a)]])]))),128)):(L(!0),N(q,{key:2},Pe(e.items,a=>(L(),N("button",{key:a.key,type:"button",role:"tab",class:he(["vtl-tab",{active:a.key===e.active}]),"aria-selected":String(a.key===e.active),tabindex:a.key===e.active?0:-1,ref_for:!0,ref:l=>e.registerTab(a.key,l),onClick:l=>e.pick(a.key),onKeydown:t[4]||(t[4]=l=>e.onKey(l))},[a.icon?(L(),N("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(a.icon)},null,8,Nc)):a.emoji?(L(),N("span",Pc,P(a.emoji),1)):(L(),N("span",Tc,P(e.initial(a.label)),1)),v("span",Ec,[v("span",Cc,P(a.label),1),a.sub?(L(),N("span",Mc,P(a.sub),1)):Y("",!0)])],42,Lc))),128))],8,nc),v("main",Oc,[e.header?Mt(e.$slots,"toolbar",{},void 0,void 0,0):Y("",!0),v("div",Ac,[(L(!0),N(q,null,Pe(e.mountedElementRows,a=>ft((L(),N("section",{key:a.key,class:"vtl-host",hidden:a.key!==e.active},[v("div",{class:"vtl-host-slot",ref_for:!0,ref:l=>e.setHostSlot(a.key,l)},null,512),e.hostState[a.key]==="loading"?(L(),N("div",Hc,P(e.T("messages.loadingNamed","Loading {name}…").replace("{name}",a.label)),1)):e.hostState[a.key]==="error"?(L(),N("div",Dc,[Ke(P(e.T("messages.couldNotLoadNamed","Could not load {name}.").replace("{name}",a.label)),1),t[5]||(t[5]=v("br",null,null,-1)),v("small",null,P(e.hostError[a.key]),1)])):Y("",!0)],8,Fc)),[[Ln,a.key===e.active]])),128)),Mt(e.$slots,"default")])])])],2)}const Ic=On(Yr,[["render",Rc],["styles",[Vr]]]),Uc='.st{display:flex;flex-direction:column;margin:0 -12px}.st-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff}.st-find{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1;color:#6d766e}.st-find:focus-within{border-color:#92b195;background:#fff}.st-find-ic{display:inline-flex}.st-find-ic svg{width:14px;height:14px}.st-find-in{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:13px;color:#3b463d}.st-tool{flex:0 0 auto;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:none;color:#6d766e;cursor:pointer}.st-tool:hover{background:#f3f3f1;color:#3b463d}.st-tool:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-tool svg{width:16px;height:16px}.st-tree{display:flex;flex-direction:column;padding:0 0 8px;outline:0}.st-row{position:relative;display:flex;align-items:center;gap:6px;height:28px;box-sizing:border-box;padding-block:0;padding-inline:calc(8px + var(--st-depth) * 14px) 10px;font-size:13px;color:#3b463d;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;outline:0}.st-row:hover{background:#f3f3f1}.st-row:focus-visible{box-shadow:inset 0 0 0 1px #92b195}.st-row.active{background:#92b1953d}.st-row.active:after{content:"";position:absolute;inset-inline-start:0;top:4px;bottom:4px;width:3px;border-start-end-radius:3px;border-end-end-radius:3px;background:#92b195}.st-row.alias.active{background:#92b1951f}.st-sec{position:sticky;top:46px;z-index:2;height:30px;margin-top:6px;background:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6d766e;border-top:1px solid #eceee9}.st-sec:first-child{margin-top:0;border-top:0}.st-sec:hover{background:#fff;color:#3b463d}.st-cap{flex:0 0 auto;font:700 10px/1 system-ui,sans-serif;letter-spacing:.3px;padding:3px 6px;border-radius:999px;background:#92b195;color:#1d2a1f}.st-sec-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-twisty,.st-twisty-sp{flex:0 0 16px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#6d766e}.st-twisty svg{width:14px;height:14px;transition:transform .12s ease}.st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st:dir(rtl) .st-twisty svg{transform:scaleX(-1)}.st:dir(rtl) .st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st-ic{flex:0 0 16px;display:inline-flex;color:#6d766e}.st-ic svg{width:16px;height:16px}.st-row.active .st-ic{color:#5f8a63}.st-label{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-desc{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;font:11px/1 ui-monospace,Menlo,monospace;color:#8a928b}.st-part{flex:0 0 auto;font:600 9px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.3px;padding:2px 4px;border:1px solid #92b195;border-radius:4px;color:#5f8a63}.st-count{flex:0 0 auto;margin-inline-start:auto;min-width:18px;text-align:right;font-size:11px;font-weight:500;letter-spacing:0;color:#6d766e}.st-guide{position:absolute;top:0;bottom:0;inset-inline-start:calc(15px + var(--st-g) * 14px);border-inline-start:1px solid #dfe2db;pointer-events:none}.st-row:hover>.st-guide{border-inline-start-color:#c4c8c0}.st-empty{margin:12px;font-size:13px;color:#6d766e}.st-activity{display:flex;flex-direction:column;gap:4px}.st-act{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:44px;margin-inline-start:172px;padding:0;border:0;border-radius:10px;background:none;color:#6d766e;cursor:pointer}.st-act:hover,.st-act.active{background:#f3f3f1;color:#3b463d}.st-act:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-act-ic{display:inline-flex}.st-act-ic svg{width:20px;height:20px}.st-act-n{position:absolute;right:6px;bottom:5px;font:700 9px/1 system-ui,sans-serif;color:#5f8a63}',zc='.st { display:flex; flex-direction:column; margin:0 -12px; }.st-bar { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:6px; padding:8px 12px 8px; background:#ffffff; }.st-find { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:6px; height:30px; padding:0 8px; border:1px solid #d1d4cd; border-radius:8px; background:#f3f3f1; color:#6d766e; }.st-find:focus-within { border-color:#92b195; background:#ffffff; }.st-find-ic { display:inline-flex; } .st-find-ic svg { width:14px; height:14px; }.st-find-in { flex:1 1 auto; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:13px; color:#3b463d; }.st-tool { flex:0 0 auto; width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:8px; background:none; color:#6d766e; cursor:pointer; }.st-tool:hover { background:#f3f3f1; color:#3b463d; } .st-tool:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-tool svg { width:16px; height:16px; }.st-tree { display:flex; flex-direction:column; padding:0 0 8px; outline:0; }.st-row { position:relative; display:flex; align-items:center; gap:6px; height:28px; box-sizing:border-box; padding-block:0; padding-inline:calc(8px + var(--st-depth) * 14px) 10px; font-size:13px; color:#3b463d; cursor:pointer; white-space:nowrap; user-select:none; outline:0; }.st-row:hover { background:#f3f3f1; }.st-row:focus-visible { box-shadow:inset 0 0 0 1px #92b195; }.st-row.active { background:rgba(146,177,149,.24); }.st-row.active::after { content:""; position:absolute; inset-inline-start:0; top:4px; bottom:4px; width:3px; border-start-end-radius:3px; border-end-end-radius:3px; background:#92b195; }.st-row.alias.active { background:rgba(146,177,149,.12); }.st-sec { position:sticky; top:46px; z-index:2; height:30px; margin-top:6px; background:#ffffff; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#6d766e; border-top:1px solid #eceee9; }.st-sec:first-child { margin-top:0; border-top:0; }.st-sec:hover { background:#ffffff; color:#3b463d; }.st-cap { flex:0 0 auto; font:700 10px/1 system-ui,sans-serif; letter-spacing:.3px; padding:3px 6px; border-radius:999px; background:#92b195; color:#1d2a1f; }.st-sec-label { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-twisty, .st-twisty-sp { flex:0 0 16px; width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; color:#6d766e; }.st-twisty svg { width:14px; height:14px; transition:transform .12s ease; }.st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st:dir(rtl) .st-twisty svg { transform:scaleX(-1); } .st:dir(rtl) .st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st-ic { flex:0 0 16px; display:inline-flex; color:#6d766e; } .st-ic svg { width:16px; height:16px; }.st-row.active .st-ic { color:#5f8a63; }.st-label { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-desc { flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; font:11px/1 ui-monospace,Menlo,monospace; color:#8a928b; }.st-part { flex:0 0 auto; font:600 9px/1 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.3px; padding:2px 4px; border:1px solid #92b195; border-radius:4px; color:#5f8a63; }.st-count { flex:0 0 auto; margin-inline-start:auto; min-width:18px; text-align:right; font-size:11px; font-weight:500; letter-spacing:0; color:#6d766e; }.st-guide { position:absolute; top:0; bottom:0; inset-inline-start:calc(15px + var(--st-g) * 14px); border-inline-start:1px solid #dfe2db; pointer-events:none; }.st-row:hover > .st-guide { border-inline-start-color:#c4c8c0; }.st-empty { margin:12px; font-size:13px; color:#6d766e; }.st-activity { display:flex; flex-direction:column; gap:4px; }.st-act { position:relative; display:flex; align-items:center; justify-content:center; width:48px; height:44px; margin-inline-start:172px; padding:0; border:0; border-radius:10px; background:none; color:#6d766e; cursor:pointer; }.st-act:hover, .st-act.active { background:#f3f3f1; color:#3b463d; }.st-act:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-act-ic { display:inline-flex; } .st-act-ic svg { width:20px; height:20px; }.st-act-n { position:absolute; right:6px; bottom:5px; font:700 9px/1 system-ui,sans-serif; color:#5f8a63; }',jc='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="3"/><line x1="8.5" y1="12" x2="15.5" y2="12"/></svg>',Wc={filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",treeLabel:"Plugins by capability",openSection:"Open {cap}, {label}",part:"part"},Vc='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 6 15 12 9 18"/></svg>',An=e=>e.canonical!==void 0?!!e.canonical:e.depth===0,Kc=e=>e.canonical!==void 0?!e.canonical&&!e.folder:e.depth>0,Bc=$o({name:"StudioTree",props:{sections:{type:Array,default:()=>[]},active:{type:String,default:""},collapsed:{type:Boolean,default:!1},pick:{type:Function,default:null},expand:{type:Function,default:null},strings:{type:Object,default:()=>({})}},emits:["select"],setup(){Mn(zc,"studio-tree")},data(){const e=this.readState();return{query:"",focusId:"",secClosed:e.sec||{},nodeOpen:e.node||{},chev:Vc,collapseAllSvg:jc}},computed:{byId(){const e=new Map;for(const t of this.sections)for(const o of t.nodes)e.set(o.id,o);return e},q(){return this.query.trim().toLowerCase()},kept(){if(!this.q)return null;const e=new Set;for(const t of this.sections)for(const o of t.nodes){if(!(o.label.toLowerCase().includes(this.q)||String(o.desc||"").toLowerCase().includes(this.q)))continue;e.add(o.id);let s=o.parent;for(;s;)e.add(s),s=this.byId.get(s)&&this.byId.get(s).parent}return e},visible(){const e=[];for(const t of this.sections){const o=this.kept?t.nodes.filter(n=>this.kept.has(n.id)):t.nodes;if(!(this.kept&&!o.length)&&(e.push({id:"sec:"+t.id,section:!0,sectionId:t.id,level:1,depth:0,expandable:!0,cap:t.cap,label:t.label,title:t.title||"",count:t.nodes.filter(n=>n.depth===0).length}),!(!this.kept&&this.secClosed[t.id])))for(const n of o)!this.kept&&!this.ancestorsOpen(n)||e.push({...n,sectionId:t.id,level:n.depth+2,expandable:!!n.kids,alias:Kc(n)})}return e},activeSectionId(){for(const e of this.sections)if(e.nodes.some(t=>An(t)&&t.target===this.active))return e.id;return""}},watch:{active:{handler(){this.reveal()},immediate:!0},sections(){this.reveal()},query(e){e&&this.visible.length&&(this.focusId=this.visible[0].id)}},methods:{svg(e){return e?Di(e):""},str(e,t){let o=this.strings[e]||Wc[e]||e;if(t)for(const n in t)o=o.split("{"+n+"}").join(String(t[n]));return o},storageKey(){return"dx-studio-tree:"+(typeof location<"u"&&location.pathname||"")},readState(){try{return JSON.parse(window.localStorage.getItem(this.storageKey())||"{}")||{}}catch{return{}}},saveState(){try{window.localStorage.setItem(this.storageKey(),JSON.stringify({sec:this.secClosed,node:this.nodeOpen}))}catch{}},ancestorsOpen(e){let t=e.parent;for(;t;){if(!this.nodeOpen[t])return!1;t=this.byId.get(t)&&this.byId.get(t).parent}return!0},isOpen(e){return this.kept?!0:e.section?!this.secClosed[e.sectionId]:!!this.nodeOpen[e.id]},setOpen(e,t){e.section?this.secClosed={...this.secClosed,[e.sectionId]:!t}:this.nodeOpen={...this.nodeOpen,[e.id]:t},this.saveState()},toggle(e){e.expandable&&this.setOpen(e,!this.isOpen(e))},collapseAll(){this.nodeOpen={},this.saveState();const e=this.visible.find(t=>!t.section&&t.target===this.active&&An(t));e&&(this.focusId=e.id)},rowClass(e){return{"st-row":!0,"st-sec":!!e.section,active:!e.section&&e.target===this.active,alias:!!e.alias}},setRow(e,t){this._rows||(this._rows={}),t?this._rows[e]=t:delete this._rows[e]},activate(e){if(e.section){this.toggle(e);return}e.expandable&&!this.isOpen(e)&&this.setOpen(e,!0),e.target&&(this.pick?this.pick(e.target):this.$emit("select",e.target))},onRowClick(e){this.focusId=e.id,this.activate(e)},focusRow(e){e&&(this.focusId=e,this.$nextTick(()=>{const t=this._rows&&this._rows[e];t&&(t.focus({preventScroll:!0}),t.scrollIntoView({block:"nearest"}))}))},onTreeKey(e){const t=this.visible;if(!t.length)return;const o=Math.max(0,t.findIndex(i=>i.id===this.focusId)),n=t[o],s=i=>i.section?"":i.parent||"sec:"+i.sectionId;switch(e.key){case"ArrowDown":this.focusRow((t[o+1]||n).id);break;case"ArrowUp":this.focusRow((t[o-1]||n).id);break;case"Home":this.focusRow(t[0].id);break;case"End":this.focusRow(t[t.length-1].id);break;case"ArrowRight":if(!n.expandable)break;this.isOpen(n)?t[o+1]&&t[o+1].level>n.level&&this.focusRow(t[o+1].id):this.setOpen(n,!0);break;case"ArrowLeft":n.expandable&&this.isOpen(n)&&!this.kept?this.setOpen(n,!1):this.focusRow(s(n));break;case"Enter":case" ":this.activate(n);break;default:if(e.key.length===1&&/\S/.test(e.key)&&!e.ctrlKey&&!e.metaKey&&!e.altKey){const i=e.key.toLowerCase(),l=t.slice(o+1).concat(t.slice(0,o+1)).find(r=>String(r.label).toLowerCase().startsWith(i));l&&this.focusRow(l.id);break}return}e.preventDefault()},onFindKey(e){e.key==="Escape"?(this.query="",e.preventDefault()):e.key==="ArrowDown"&&this.visible.length&&(this.focusRow(this.visible[0].id),e.preventDefault())},reveal(){if(!this.active||!this.sections.length)return;let e=null;for(const t of this.sections)if(e=t.nodes.find(o=>An(o)&&o.target===this.active),e){this.secClosed[t.id]&&(this.secClosed={...this.secClosed,[t.id]:!1},this.saveState());break}if(e){let t=e.parent,o=!1;for(;t;)this.nodeOpen[t]||(this.nodeOpen={...this.nodeOpen,[t]:!0},o=!0),t=this.byId.get(t)&&this.byId.get(t).parent;o&&this.saveState()}e&&((!this.focusId||!this.byId.has(this.focusId)||this.byId.get(this.focusId).target!==this.active)&&(this.focusId=e.id),this.$nextTick(()=>{const t=this._rows&&this._rows[e.id];t&&t.scrollIntoView&&t.scrollIntoView({block:"nearest"})}))},openSectionFromActivity(e){this.secClosed[e]&&(this.secClosed={...this.secClosed,[e]:!1},this.saveState()),this.expand&&this.expand(),this.$nextTick(()=>this.focusRow("sec:"+e))}}}),Gc={key:0,class:"st-activity"},qc=["aria-label","onClick"],Yc=["innerHTML"],Xc={class:"st-act-n","aria-hidden":"true"},Jc={key:1,class:"st"},Zc={class:"st-bar"},Qc={class:"st-find"},ep=["innerHTML"],tp=["placeholder","aria-label"],op=["aria-label","title"],np=["innerHTML"],sp=["aria-label"],ip=["aria-level","aria-expanded","aria-selected","tabindex","title","onClick","onFocus"],ap=["innerHTML"],lp={class:"st-cap"},rp={class:"st-sec-label"},cp={class:"st-count"},pp=["innerHTML","onClick"],dp={key:1,class:"st-twisty-sp","aria-hidden":"true"},up=["innerHTML"],fp={class:"st-label"},hp={key:2,class:"st-part"},gp={class:"st-desc"},bp={key:3,class:"st-count"},$p={key:0,class:"st-empty"};function mp(e,t,o,n,s,i){return e.collapsed?(L(),N("div",Gc,[(L(!0),N(q,null,Pe(e.sections,a=>(L(),N("button",{key:a.id,type:"button",class:he(["st-act",{active:a.id===e.activeSectionId}]),"aria-label":e.str("openSection",{cap:"CAP "+a.cap,label:a.label}),onClick:l=>e.openSectionFromActivity(a.id)},[v("span",{class:"st-act-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,Yc),v("span",Xc,P(a.cap),1)],10,qc))),128))])):(L(),N("div",Jc,[v("div",Zc,[v("label",Qc,[v("span",{class:"st-find-ic","aria-hidden":"true",innerHTML:e.svg("search")},null,8,ep),ft(v("input",{ref:"find",type:"search",class:"st-find-in","onUpdate:modelValue":t[0]||(t[0]=a=>e.query=a),placeholder:e.str("filterPlaceholder"),"aria-label":e.str("filterPlaceholder"),onKeydown:t[1]||(t[1]=(...a)=>e.onFindKey&&e.onFindKey(...a))},null,40,tp),[[Cn,e.query]])]),v("button",{type:"button",class:"st-tool","aria-label":e.str("collapseAll"),title:e.str("collapseAll"),onClick:t[2]||(t[2]=(...a)=>e.collapseAll&&e.collapseAll(...a))},[v("span",{"aria-hidden":"true",innerHTML:e.collapseAllSvg},null,8,np)],8,op)]),v("div",{class:"st-tree",role:"tree","aria-label":e.str("treeLabel"),onKeydown:t[3]||(t[3]=(...a)=>e.onTreeKey&&e.onTreeKey(...a))},[(L(!0),N(q,null,Pe(e.visible,a=>(L(),N("div",{key:a.id,ref_for:!0,ref:l=>e.setRow(a.id,l),role:"treeitem","aria-level":a.level,"aria-expanded":a.expandable?String(e.isOpen(a)):null,"aria-selected":a.section?null:String(a.target===e.active),tabindex:a.id===e.focusId?0:-1,class:he(e.rowClass(a)),style:xt({"--st-depth":a.depth}),title:a.title||null,onClick:l=>e.onRowClick(a),onFocus:l=>e.focusId=a.id},[a.section?(L(),N(q,{key:0},[v("span",{class:"st-twisty","aria-hidden":"true",innerHTML:e.chev},null,8,ap),v("span",lp,"CAP "+P(a.cap),1),v("span",rp,P(a.label),1),v("span",cp,P(a.count),1)],64)):(L(),N(q,{key:1},[(L(!0),N(q,null,Pe(a.depth,l=>(L(),N("span",{key:l,class:"st-guide",style:xt({"--st-g":l-1}),"aria-hidden":"true"},null,4))),128)),a.expandable?(L(),N("span",{key:0,class:"st-twisty","aria-hidden":"true",innerHTML:e.chev,onClick:Ci(l=>e.toggle(a),["stop"])},null,8,pp)):(L(),N("span",dp)),v("span",{class:"st-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,up),v("span",fp,P(a.label),1),a.part?(L(),N("span",hp,P(e.str("part")),1)):Y("",!0),v("span",gp,P(a.desc),1),a.expandable?(L(),N("span",bp,P(a.kids),1)):Y("",!0)],64))],46,ip))),128)),e.query&&!e.visible.length?(L(),N("p",$p,P(e.str("noMatch",{query:e.query})),1)):Y("",!0)],40,sp)]))}const _p=On(Bc,[["render",mp],["styles",[Uc]]]),Mo=[{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},{code:"it",name:"Italian",nativeName:"Italiano",flag:"🇮🇹",hideFromSwitcher:!0},{code:"ro",name:"Romanian",nativeName:"Română",flag:"🇷🇴",hideFromSwitcher:!0},{code:"zh",name:"Chinese",nativeName:"中文",flag:"🇨🇳",hideFromSwitcher:!0}];Mo.filter(e=>!e.hideFromSwitcher);function vp(e){return Mo.find(t=>t.code===e)}function Fn(e){const t=String(e||"").split("-")[0].toLowerCase();return Mo.some(o=>o.code===t)?t:"en"}const Ri="doxa-maps:locale";function kp(){try{const e=localStorage.getItem(Ri);if(e)return Fn(e)}catch{}return Fn(navigator==null?void 0:navigator.language)}function xp(e){try{localStorage.setItem(Ri,e)}catch{}}const Oo="__doxaMapToken",Ii="doxa:map-token",Ui="__doxaMapTokenBridge",Vt=()=>{if(typeof window>"u")return"";const e=window[Oo];return typeof e=="string"?e:""};function zi(e){if(typeof window>"u")return"";ji();const t=typeof e=="string"?e.trim():"";if(!t||t===Vt())return Vt();window[Oo]=t;try{window.dispatchEvent(new CustomEvent(Ii,{detail:t}))}catch{}return t}function yp(){var t;if(typeof window>"u")return;const e=Vt()||typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN;if(ji(),window[Oo]="",!((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))try{window.MAP_TOKEN=""}catch{}if(e)try{window.dispatchEvent(new CustomEvent(Ii,{detail:""}))}catch{}}function ji(){var t;if(typeof window>"u"||window[Ui]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!Vt()&&(window[Oo]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return Vt()},set(o){zi(o)}}),window[Ui]=!0}catch{}}const wp=":host{display:block;position:relative;height:var(--plugin-studio-height, 85vh);min-height:480px}:host([hidden]){display:none}.ps-logo{display:inline-flex;align-items:center}.ps-logo svg{display:block}.ps-count{color:#6d766e}.vtl-top{position:relative;z-index:3}.vtl-body{isolation:isolate}.ps-token{position:relative;display:inline-flex}.ps-show-header{position:fixed;top:8px;inset-inline-end:8px;z-index:2147483000;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d1d4cd;border-radius:999px;background:#fffffff0;color:#3b463d;font:600 12px system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 14px #0000002e}.ps-show-header:hover,.ps-show-header:focus-visible{background:#fff;outline:2px solid #92b195}.ps-token-dot{width:8px;height:8px;border-radius:50%;background:#b8bdb4}.ps-token-dot.is-yours,.ps-token-dot.is-url{background:#92b195}.ps-token-dot.is-built{background:#c9b36a}.ps-token-dot.is-none{background:#d27a6a}.ps-token-panel{position:absolute;top:100%;inset-inline-end:0;margin-top:4px;z-index:30;width:min(340px,90vw);display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000040;color:#3b463d;font-size:12px}.ps-token-label{display:flex;flex-direction:column;gap:4px}.ps-token-input{font:inherit;font-size:12px;padding:6px 8px;border:1px solid #d1d4cd;border-radius:7px;background:#f8f8f6;color:#3b463d;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ps-token-row{display:flex;gap:8px}.ps-token-apply,.ps-token-clear{font:inherit;font-size:12px;padding:5px 12px;border-radius:7px;border:1px solid #d1d4cd;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-token-apply{background:#92b195;border-color:#92b195;color:#fff}.ps-token-apply:disabled{opacity:.6;cursor:progress}.ps-token-status{margin:0}.ps-token-head{margin:0;font-weight:600;font-size:12px}.ps-token-status.err{color:#b3412f}.ps-token-note{margin:0;color:#6d766e}.ps-locale{position:relative;display:inline-flex}.ps-locale-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;padding:4px 9px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-locale-btn:hover{background:#d1d4cd}.ps-flag{font-size:13px;line-height:1}.ps-locale-name{max-width:11ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-token-btn .ps-locale-name{max-width:none}.ps-dots{color:#6d766e}.ps-locale-menu{position:absolute;top:100%;right:0;margin-top:4px;z-index:30;min-width:180px;list-style:none;padding:6px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000080;max-height:320px;overflow:auto}.ps-locale-opt{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:13px;padding:7px 9px;border:0;border-radius:7px;background:none;color:#3b463d;cursor:pointer}.ps-locale-opt:hover,.ps-locale-opt.active{background:#d1d4cd;color:#3b463d}.ps-locale-opt.active .ps-locale-name{color:#92b195}.ps-locale-en{margin-left:auto;font-size:11px;color:#6d766e}.ps-toolbar{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.ps-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-bar-t{flex:1 1 auto;min-width:0}.ps-bar-t b{font-size:15px;color:#3b463d}.ps-bar-sub{display:block;font-size:12px;color:#6d766e}.ps-btn{font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer;white-space:nowrap}.ps-btn:hover{background:#d1d4cd}.ps-embed{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1}.ps-embed label{font-size:12px;color:#6d766e;display:flex;justify-content:space-between;align-items:center}.ps-embed textarea{width:100%;height:58px;font:11px/1.35 ui-monospace,Menlo,monospace;border:1px solid #d1d4cd;border-radius:6px;background:#fff;color:#3b463d;padding:6px;resize:vertical}.ps-stage{position:absolute;top:10px;right:12px;bottom:12px;left:12px;border:1px solid #d1d4cd;border-radius:10px;overflow:hidden;background:#f3f3f1}.ps-pane{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h: 0}.ps-slot{position:relative;min-height:100%}.ps-slot>*{min-height:0;max-height:none}.ps-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:#6d766e;font-size:13px;padding:20px}.ps-hint.err{color:#f87171}.ps-hint small{color:#6d766e}",Ao="plugin-studio:mapbox-token",Fo="plugin-studio:mapbox-token-url",Wi="plugin-studio:header-hidden",Vi="plugin-studio:map-provider";function mt(e){try{return typeof window<"u"&&window.localStorage.getItem(e)||""}catch{return""}}function _t(e,t){try{t?window.localStorage.setItem(e,t):window.localStorage.removeItem(e)}catch{}}const Sp=`
|
||
:host { display:block; position:relative; height:var(--plugin-studio-height, 85vh); min-height:480px; }
|
||
:host([hidden]) { display:none; }
|
||
.ps-logo { display:inline-flex; align-items:center; }
|
||
.ps-logo svg { display:block; }
|
||
.ps-count { color:#6d766e; }
|
||
/* THE HEADER'S MENUS SIT ABOVE EVERY PLUGIN (Driver, 2026-09-25: "the Mapbox token menu is not on top …
|
||
it is underlapping the plugins"). The header row and the pane area are siblings with no stacking context
|
||
of their own, so a menu at z-index 30 competed with each plugin's own chrome (a filter bar at 55, a drawer
|
||
at 1000) and lost. The header now stacks above the content, and the pane area is ISOLATED: whatever
|
||
z-index a plugin uses stays inside its pane. */
|
||
.vtl-top { position:relative; z-index:3; }
|
||
.vtl-body { isolation:isolate; }
|
||
.ps-token { position:relative; display:inline-flex; }
|
||
.ps-show-header { position:fixed; top:8px; inset-inline-end:8px; z-index:2147483000; display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid #d1d4cd; border-radius:999px; background:rgba(255,255,255,.94); color:#3b463d; font:600 12px system-ui, sans-serif; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.18); }
|
||
.ps-show-header:hover, .ps-show-header:focus-visible { background:#ffffff; outline:2px solid #92b195; }
|
||
.ps-token-dot { width:8px; height:8px; border-radius:50%; background:#b8bdb4; }
|
||
.ps-token-dot.is-yours, .ps-token-dot.is-url { background:#92b195; }
|
||
.ps-token-dot.is-built { background:#c9b36a; }
|
||
.ps-token-dot.is-none { background:#d27a6a; }
|
||
.ps-token-panel { position:absolute; top:100%; inset-inline-end:0; margin-top:4px; z-index:30; width:min(340px, 90vw); display:flex; flex-direction:column; gap:8px; padding:12px; border:1px solid #d1d4cd; border-radius:10px; background:#ffffff; box-shadow:0 12px 32px rgba(0,0,0,.25); color:#3b463d; font-size:12px; }
|
||
.ps-token-label { display:flex; flex-direction:column; gap:4px; }
|
||
.ps-token-input { font:inherit; font-size:12px; padding:6px 8px; border:1px solid #d1d4cd; border-radius:7px; background:#f8f8f6; color:#3b463d; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; }
|
||
.ps-token-row { display:flex; gap:8px; }
|
||
.ps-token-apply, .ps-token-clear { font:inherit; font-size:12px; padding:5px 12px; border-radius:7px; border:1px solid #d1d4cd; background:#d1d4cd; color:#3b463d; cursor:pointer; }
|
||
.ps-token-apply { background:#92b195; border-color:#92b195; color:#fff; }
|
||
.ps-token-apply:disabled { opacity:.6; cursor:progress; }
|
||
.ps-token-status { margin:0; }
|
||
.ps-token-head { margin:0; font-weight:600; font-size:12px; }
|
||
.ps-token-status.err { color:#b3412f; }
|
||
.ps-token-note { margin:0; color:#6d766e; }
|
||
.ps-locale { position:relative; display:inline-flex; }
|
||
.ps-locale-btn { display:inline-flex; align-items:center; gap:6px; font:inherit; font-size:12px; padding:4px 9px; border:1px solid #d1d4cd; border-radius:8px; background:#d1d4cd; color:#3b463d; cursor:pointer; }
|
||
.ps-locale-btn:hover { background:#d1d4cd; }
|
||
.ps-flag { font-size:13px; line-height:1; }
|
||
.ps-locale-name { max-width:11ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
||
.ps-token-btn .ps-locale-name { max-width:none; } /* "Mapbox token" is read in full: it names the prop */
|
||
.ps-dots { color:#6d766e; }
|
||
.ps-locale-menu { position:absolute; top:100%; right:0; margin-top:4px; z-index:30; min-width:180px; list-style:none; padding:6px; border:1px solid #d1d4cd; border-radius:10px; background:#ffffff; box-shadow:0 12px 32px rgba(0,0,0,.5); max-height:320px; overflow:auto; }
|
||
.ps-locale-opt { display:flex; align-items:center; gap:8px; width:100%; text-align:left; font:inherit; font-size:13px; padding:7px 9px; border:0; border-radius:7px; background:none; color:#3b463d; cursor:pointer; }
|
||
.ps-locale-opt:hover { background:#d1d4cd; color:#3b463d; }
|
||
.ps-locale-opt.active { background:#d1d4cd; color:#3b463d; }
|
||
.ps-locale-opt.active .ps-locale-name { color:#92b195; }
|
||
.ps-locale-en { margin-left:auto; font-size:11px; color:#6d766e; }
|
||
.ps-toolbar { display:flex; flex-direction:column; gap:8px; padding:10px 12px 0; }
|
||
.ps-bar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
|
||
.ps-bar-t { flex:1 1 auto; min-width:0; }
|
||
.ps-bar-t b { font-size:15px; color:#3b463d; }
|
||
.ps-bar-sub { display:block; font-size:12px; color:#6d766e; }
|
||
.ps-btn { font:inherit; font-size:12px; padding:5px 10px; border:1px solid #d1d4cd; border-radius:8px; background:#d1d4cd; color:#3b463d; cursor:pointer; white-space:nowrap; }
|
||
.ps-btn:hover { background:#d1d4cd; }
|
||
.ps-embed { display:flex; flex-direction:column; gap:6px; padding:8px; border:1px solid #d1d4cd; border-radius:8px; background:#f3f3f1; }
|
||
.ps-embed label { font-size:12px; color:#6d766e; display:flex; justify-content:space-between; align-items:center; }
|
||
.ps-embed textarea { width:100%; height:58px; font:11px/1.35 ui-monospace,Menlo,monospace; border:1px solid #d1d4cd; border-radius:6px; background:#ffffff; color:#3b463d; padding:6px; resize:vertical; }
|
||
.ps-stage { position:absolute; inset:10px 12px 12px; border:1px solid #d1d4cd; border-radius:10px; overflow:hidden; background:#f3f3f1; }
|
||
/* ★ THE PANE OWNS THE SCROLL (BUG-STILL-CANNOT-SCROLL-DOWN-TO-THE-GRID, measured 2026-09-22).
|
||
A scroll-stack composite (dashboard-plus-grid: an 88svh dashboard band + the people-groups grid
|
||
below it) mounted here measured scrollHeight 3380 / clientHeight 769 — 2611px of real, mounted,
|
||
populated content that NO element could scroll to, because this pane was position:absolute;
|
||
inset:0 with the default overflow:visible inside a .ps-stage that is overflow:hidden.
|
||
Document scrollHeight was 900, exactly === clientHeight, so a wheel gesture had nothing to move.
|
||
The identical composite is PERFECT standalone (document 2960/900, wheel reaches 2060) because its
|
||
generated leaf gives the DOCUMENT the scroll — a host that pins the pane to viewport height has
|
||
to own that scroll itself.
|
||
auto, not scroll: only a pane whose content really exceeds its box gets a scrollbar, so the map
|
||
tabs stay scrollbar-free (see the dvh floor note below, which is what makes that true). */
|
||
.ps-pane { position:absolute; inset:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; --profile-min-h:0; }
|
||
/* NOT absolute-inset: that pinned the mount point to the pane's height and re-created the same trap
|
||
one level down (an absolutely positioned child cannot grow a scroll container). min-height:100%
|
||
keeps a fixed-viewport map filling the pane while letting a taller composite grow it. */
|
||
.ps-slot { position:relative; min-height:100%; }
|
||
/* ★ THE dvh FLOOR, NEUTRALISED FOR HOSTED ELEMENTS (measured 2026-09-22, caught by the regression
|
||
check on this very fix — my first version of the rule above was WRONG about this).
|
||
I claimed a fixed-viewport map "fills this box exactly, so auto is a no-op for it". It is not.
|
||
doxa-research-map ships .profile-loader { height:100%; min-height:100dvh }, and those two resolve
|
||
against DIFFERENT bases: height:100% against the pane (769px here, because the pane sits inside a
|
||
.ps-stage inset by the studio chrome), min-height:100dvh against the VIEWPORT (900px). The floor
|
||
wins, the element is 131px taller than its container, and overflow:auto then correctly reported a
|
||
scrollbar on a map tab that should never have one — a real regression my reasoning had ruled out.
|
||
The dvh floor is deliberate and must stay for the STANDALONE leaf, where it fixes the opposite
|
||
bug (BUG-UPG100-NESTED-ELEMENTS-ZERO-HEIGHT: min-height:100% against a body with no definite
|
||
height collapses to 0). It is only wrong HERE, where the pane is a definite box shorter than the
|
||
viewport. So neutralise it on the hosted subtree rather than editing the map: a direct child of a
|
||
studio pane is bounded by the PANE. A taller-than-viewport scroll-stack composite is unaffected —
|
||
it grows past this floor on its own content, which is what makes the grid reachable.
|
||
|
||
★ AND --profile-min-h:0 ON THE PANE, which is the half that actually does the work. Sizing the
|
||
host is NOT enough, and measuring proved it: the host correctly became 769px while the pane still
|
||
overflowed by exactly 131px, because .profile-loader lives INSIDE the map's SHADOW ROOT at
|
||
min-height:100dvh and a host-page SELECTOR cannot reach into a shadow tree. Inherited properties
|
||
CAN, so ProfileLoader.vue now reads min-height:var(--profile-min-h, 100dvh) and this pane sets it
|
||
to 0 — the floor keeps its default everywhere else, including every standalone leaf where it
|
||
still fixes BUG-UPG100.
|
||
★ NOT overflow:clip, which I tried first and MEASURED as wrong: it bounded the map (good) but
|
||
ALSO bounded the scroll-stack composite, whose host box is the pane height while its content is
|
||
3380px — so the grid became unreachable again and the gate went straight back to 0px scrolled.
|
||
One blanket rule cannot serve both; the variable targets the actual culprit instead. */
|
||
.ps-slot > * { min-height:0; max-height:none; }
|
||
.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; }
|
||
`,Lp={5:"App shell · nested-mfe-spa",4:"Composite element",3:"Multi-view element",2:"Preset element",1:"Single element"},Ki={"nested-mfe-spa":0,"nested-elements-mfe":1,monolithic:2,parameterized:3,single:4},Np=e=>Ki[e]!=null?5-Ki[e]:1,Pp={5:"nested-mfe-spa",4:"nested-elements-mfe",3:"monolithic",2:"parameterized",1:"single"},Hn={5:"monitor",4:"tree",3:"layers",2:"grid",1:"embed"},Bi=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"]),Gi=new Set(["big-picture"]),Ho={};for(const[e,t]of Object.entries(Object.assign({"../../library/i18n/locales/ar/studio.json":Lr,"../../library/i18n/locales/de/studio.json":Nr,"../../library/i18n/locales/en/studio.json":Pr,"../../library/i18n/locales/es/studio.json":Tr,"../../library/i18n/locales/fr/studio.json":Er,"../../library/i18n/locales/hi/studio.json":Cr,"../../library/i18n/locales/it/studio.json":Mr,"../../library/i18n/locales/pt/studio.json":Or,"../../library/i18n/locales/ro/studio.json":Ar,"../../library/i18n/locales/ru/studio.json":Fr,"../../library/i18n/locales/zh/studio.json":Hr}))){const o=e.match(/locales\/([^/]+)\/studio\.json$/);o&&(Ho[o[1]]=t)}const Tp={"doxa-maps-spa/doxa-maps-spa":"Research Gallery"},Kt={};function Ep(e,t){return Kt[e]||(Kt[e]=new Promise((o,n)=>{const s=document.createElement("script");s.src=e,(/^\/plugin-designs\//.test(e)||/\/index\.js(\?|$)/.test(e))&&(s.type="module"),s.onload=()=>o(),s.onerror=()=>{delete Kt[e],n(new Error("failed to load "+e))},document.head.appendChild(s)})),Kt[e]}function Cp(e,t){return typeof customElements>"u"||customElements.get(e)?Promise.resolve():Promise.race([customElements.whenDefined(e),new Promise((o,n)=>setTimeout(()=>{customElements.get(e)||n(new Error("<"+e+"> never registered (bundle loaded but defined no element)"))},15e3))])}const Mp=$o({name:"PluginStudio",inheritAttrs:!1,components:{VerticalTabsLayout:Ic,StudioTree:_p},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},provider:{type:String,default:""},heading:{type:String,default:""},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return Mn(Sp,"plugin-studio"),{injectedBase:Et("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:this.initialLocale(),localeOpen:!1,settingsOpen:!1,headerHidden:mt(Wi)==="1",engineOpen:!1,userProvider:mt(Vi),tokenBusy:!1,tokenErr:"",tokenDraft:mt(Ao),urlDraft:mt(Fo),userTk:mt(Ao),userTokenUrl:mt(Fo),fetchedTk:"",bakedTk:"",hostProvider:"",switcherLangs:Mo,rows:[],manifestBundles:[]}},computed:{cfg(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}return e&&typeof e=="object"?e:{}},base(){const e=(this.treeBase||this.cfg.treeBase||this.injectedBase||"").trim();return e?e.replace(/\/+$/,"")+"/":""},flatRows(){return this.rows},groups(){const e={};for(const t of this.rows)(e[t.cap]=e[t.cap]||[]).push(t);return[5,4,3,2,1].filter(t=>e[t]&&e[t].length).map(t=>({cap:t,label:Lp[t]||"capability "+t,rows:e[t]}))},treeSections(){const e=new Map(this.compositionTrees.map(n=>[n.nodes[0].selects,n])),t=new Map;for(const n of this.rows)t.has(n.bundle)||t.set(n.bundle,[]),t.get(n.bundle).push(n);const o=[...t.entries()].map(([n,s])=>({bundle:n,rows:s,cap:Math.max(...s.map(i=>i.cap))}));return[5,4,3,2,1].map(n=>{const s=o.filter(l=>l.cap===n).sort((l,r)=>l.bundle.localeCompare(r.bundle));if(!s.length)return null;const i=[],a=(l,r,u)=>{const p=e.get(l.key);if(i.push({id:l.key,parent:u,depth:r,label:l.label,desc:l.tag,icon:l.icon,target:l.key,canonical:!0,kids:p?p.nodes[0].kids:0,title:l.label+" · <"+l.tag+"> · CAP "+l.cap+" "+this.tr("cap"+l.cap)}),!p)return;const h=g=>g===0?l.key:l.key+">"+g;for(const g of p.nodes.slice(1))i.push({id:h(g.id),parent:h(g.ancestors[g.ancestors.length-1]),depth:r+g.depth,label:g.label,part:!!g.part,target:g.selects||"",canonical:!1,icon:g.part?"dots":Hn[g.cap]||"embed",desc:g.part?this.tr("noStandalone"):"cap "+g.cap+" · "+g.tag,kids:g.kids||0,title:g.part?g.label+" · "+this.tr("partOf",{name:l.label}):g.label+" · <"+g.tag+"> · CAP "+g.cap+" "+this.tr("cap"+g.cap)})};for(const l of s){const r=[...l.rows].sort((p,h)=>h.cap-p.cap||p.label.localeCompare(h.label));if(r.length===1){a(r[0],0,"");continue}const u="bundle:"+l.bundle;i.push({id:u,parent:"",depth:0,label:l.bundle,desc:this.tr("elementsCount",{n:r.length}),icon:"folder",target:r[0].key,canonical:!1,folder:!0,kids:r.length,title:l.bundle+" · plugin-designs/"+l.bundle+"/ · "+r.length+" "+this.tr("elements")});for(const p of r)a(p,1,u)}return{id:"cap-"+n,cap:n,label:this.tr("cap"+n),title:this.tr("cap"+n)+" · "+(Pp[n]||""),icon:Hn[n]||"embed",nodes:i}}).filter(Boolean)},compositionTrees(){const e=[],t=(o,n,s,i,a)=>{const l=this.manifestBundles.find(g=>g.bundle===o.bundle),r=o.cap>=4&&l&&l.composes||[],u=[],p=[],h=new Set;for(const g of r){const S=this.resolveRef(g,o.bundle);if(!S){p.push(g);continue}S.key===o.key||h.has(S.key)||(h.add(S.key),u.push(S))}u.sort((g,S)=>S.cap-g.cap||g.label.localeCompare(S.label));for(const g of u){const S={id:i.length,label:g.label,tag:g.tag,cap:g.cap,selects:g.key,depth:n+1,ancestors:a,kids:0};i.push(S);const U=i.length;s.has(g.key)||t(g,n+1,new Set([...s,g.key]),i,[...a,S.id]),S.kids=i.filter((F,ee)=>ee>=U&&F.depth===n+2).length}for(const g of p)i.push({id:i.length,label:g,part:!0,selects:o.key,depth:n+1,ancestors:a,kids:0})};for(const o of this.manifestBundles){if(!o.composes||!o.composes.length||Gi.has(o.bundle))continue;const n=this.rows.find(i=>i.bundle===o.bundle);if(!n)continue;const s=[{id:0,label:n.label,tag:n.tag,cap:n.cap,selects:n.key,depth:0,ancestors:[]}];t(n,0,new Set([n.key]),s,[0]),s[0].kids=s.filter(i=>i.depth===1).length,s.length>1&&e.push({bundle:o.bundle,nodes:s})}return e},active(){return this.rows.find(e=>e.key===this.activeKey)||null},effectiveTk(){return this.userTk||this.fetchedTk||this.tk||this.cfg.tk||this.bakedTk||""},effectiveProvider(){const e=String(this.userProvider||this.provider||this.cfg.provider||"").toLowerCase().trim();return e==="maplibre"||e==="mapbox"?e:""},engines(){return[{id:"",label:this.tr("engineDefault"),note:""},{id:"mapbox",label:"Mapbox",note:this.tr("engineMapboxNote")},{id:"maplibre",label:"MapLibre",note:this.tr("engineMaplibreNote")}]},engineLabel(){return this.userProvider==="mapbox"?"Mapbox":this.userProvider==="maplibre"?"MapLibre":this.tr("engineDefault")},tokenSource(){return this.userTk?"yours":this.fetchedTk?"url":this.tk||this.cfg.tk||this.bakedTk?"built":"none"},tokenStatus(){return this.effectiveProvider==="maplibre"?this.tr("tokenNotNeeded"):this.tokenSource==="yours"?this.tr("tokenSourceYours"):this.tokenSource==="url"?this.tr("tokenSourceUrl",{url:this.userTokenUrl}):this.tokenSource==="built"?this.tr("tokenSourceBuilt"):this.tr("tokenSourceNone")},countLabel(){const e=new Set(this.rows.map(t=>t.bundle)).size;return this.tr("countLabel",{bundles:e,elements:this.rows.length})},activeLang(){return vp(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}},uiDir(){return(this.activeLang&&this.activeLang.dir)==="rtl"?"rtl":"ltr"}},mounted(){this.bakedTk=typeof window<"u"&&window.MAP_TOKEN||"",this.hostProvider=typeof window<"u"&&typeof window.MAP_PROVIDER=="string"?window.MAP_PROVIDER:"",this.publishProvider(),this.userTk?this.publishToken():(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl)&&this.fetchToken(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl).then(e=>{e&&e!==this.fetchedTk&&(this.fetchedTk=e,this.publishToken(),this.remountPanes())}).catch(()=>{}),this.loadManifest()},methods:{async fetchToken(e){if(!/^https?:\/\//i.test(e))throw new Error("not an http(s) URL");let t;try{t=await fetch(e,{cache:"no-store",credentials:"omit"})}catch{throw new Error("the request was blocked or the server did not answer (cross-origin rules can do this)")}if(!t.ok)throw new Error("HTTP "+t.status);const o=(await t.text()).trim();let n=o;try{const s=JSON.parse(o);n=s&&(s.token||s.tk||s.accessToken)||(typeof s=="string"?s:"")}catch{}if(n=String(n||"").trim(),n.startsWith("sk."))throw new Error(this.tr("tokenSecret"));if(!n.startsWith("pk."))throw new Error(this.tr("tokenNotPk"));return n},async applyToken(){this.tokenErr="";const e=this.tokenDraft,t=this.urlDraft;if(e.startsWith("sk.")){this.tokenErr=this.tr("tokenSecret");return}if(e&&!e.startsWith("pk.")){this.tokenErr=this.tr("tokenNotPk");return}this.tokenBusy=!0;try{let o="";if(!e&&t)try{o=await this.fetchToken(t)}catch(n){this.tokenErr=this.tr("tokenUrlFailed",{why:n.message});return}this.userTk=e,this.userTokenUrl=e?"":t,this.fetchedTk=o,_t(Ao,this.userTk),_t(Fo,this.userTokenUrl),this.publishToken(),this.remountPanes(),this.settingsOpen=!1}finally{this.tokenBusy=!1}},setHeaderHidden(e){this.headerHidden=!!e,this.settingsOpen=!1,this.engineOpen=!1,this.localeOpen=!1,_t(Wi,e?"1":"")},setProvider(e){this.engineOpen=!1,e!==this.userProvider&&(this.userProvider=e,_t(Vi,e),this.publishProvider(),this.remountPanes())},publishProvider(){typeof window>"u"||(this.effectiveProvider?window.MAP_PROVIDER=this.effectiveProvider:this.hostProvider?window.MAP_PROVIDER=this.hostProvider:"MAP_PROVIDER"in window&&delete window.MAP_PROVIDER)},clearToken(){this.tokenDraft="",this.urlDraft="",this.tokenErr="",this.userTk="",this.userTokenUrl="",this.fetchedTk="",_t(Ao,""),_t(Fo,""),this.publishToken(),this.remountPanes()},publishToken(){typeof window>"u"||(this.effectiveTk?(zi(this.effectiveTk),window.MAP_TOKEN!==this.effectiveTk&&(window.MAP_TOKEN=this.effectiveTk)):yp())},remountPanes(){for(const t of this.rows)t.mounted&&this.releaseRow(t);const e=this.active;e&&this.$nextTick(()=>{this.activeKey===e.key&&this.mountElement(e)})},tr(e,t){const o=(this.locale||"en").split("-")[0];let n=(Ho[this.locale]||{})[e]||(Ho[o]||{})[e]||(Ho.en||{})[e]||e;if(t)for(const s in t)n=n.split("{"+s+"}").join(String(t[s]));return n},resolveRef(e,t){return t&&this.rows.find(o=>o.key===t+"/"+e)||this.rows.find(o=>o.key===e)||this.rows.find(o=>o.tag===e)||this.rows.find(o=>o.bundle===e)||null},setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},initialLocale(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}let t="";try{const n=new URLSearchParams(window.location.search);t=n.get("lang")||n.get("locale")||""}catch{}const o=e&&(e.locale||e.lang)||t;return o?Fn(o):kp()},paneConfig(e,t){const o={profile:e.profile,instanceId:"ps-"+e.key.replace(/\//g,"-"),locale:t};this.effectiveTk&&(o.tk=this.effectiveTk);const n=this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl;return n&&(o.tokenUrl=n),this.effectiveProvider&&(o.provider=this.effectiveProvider),this.base&&(o.treeBase=this.base),o},setLocale(e){this.locale=e,this.localeOpen=!1,xp(e);try{for(const t of this.rows){if(!t.mounted)continue;const o=this._slots&&this._slots[t.key],n=o&&o.firstElementChild;n&&n.setAttribute&&n.setAttribute("profile-config",JSON.stringify(this.paneConfig(t,e)))}}catch{}},resolve(e){const t=String(e);if(/^(https?:)?\/\//.test(t)||t.startsWith("/"))return t;const o=t.replace(/^\.\//,"");return this.base?this.base.replace(/\/+$/,"")+"/"+o:"../"+o},loadManifest(){const e=o=>{this.manifestBundles=o&&o.bundles||[],this.rows=this.rowsFromManifest(o),this.route()},t=typeof window<"u"&&window.__psBaked||null;if(typeof fetch=="function"&&typeof location<"u"&&location.protocol!=="file:"){const o=this.base?this.resolve("manifest.json"):"../manifest.json";fetch(o,{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 o of e.bundles||[])if(!(o.bundle==="plugin-studio"||Gi.has(o.bundle)))for(const n of o.profiles||[]){const s=o.elements&&o.elements.length?o.elements:null,i=(n.element&&(!s||s.includes(n.element))?n.element:null)||s&&s[0]||n.element||o.bundle,a=Np(n.type||"single"),l=Bi.has(i)||Bi.has(o.bundle);t.push({key:o.bundle+"/"+n.profile,bundle:o.bundle,label:Tp[o.bundle+"/"+n.profile]||n.profile,profile:n.profile,tag:i,cap:a,icon:Hn[a]||"embed",description:n.description||"",heavy:l,bundleJs:o.scriptUrl||o.bundle+"/"+o.bundle+".js",embed:n.embed&&n.embed.script||"",mounted:!1,state:"idle",error:""})}return t.sort((o,n)=>n.cap-o.cap||o.bundle.localeCompare(n.bundle)||o.label.localeCompare(n.label)),t},route(){const e=(typeof location<"u"&&location.hash||"").replace(/^#\/?/,"");if(e&&this.rows.some(o=>o.key===e)){this.select(e);return}const t=this.readLastTab();if(t&&this.rows.some(o=>o.key===t)){this.select(t);return}this.rows.length&&this.select(this.rows[0].key)},storageKey(){return"dx-studio-tab:"+(typeof location<"u"&&location.pathname||"")},readLastTab(){try{return window.localStorage.getItem(this.storageKey())||""}catch{return""}},writeLastTab(e){try{window.localStorage.setItem(this.storageKey(),e)}catch{}},select(e){if(!this.rows.some(n=>n.key===e))return;const t=this.activeKey;if(this.activeKey=e,this.embedOpen=!1,t&&t!==e){const n=this.rows.find(s=>s.key===t);n&&n.heavy&&n.mounted&&this.releaseRow(n)}const o=this.rows.find(n=>n.key===e);o&&(this.writeLastTab(e),o.mounted||this.$nextTick(()=>{this.activeKey===o.key&&this.mountElement(o)}))},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);Ep(t).then(()=>Cp(e.tag)).then(()=>{try{if(e.heavy&&this.activeKey!==e.key){e.mounted=!1,e.state="idle";return}const o=this._slots&&this._slots[e.key];if(!o){e.state="error",e.error="no slot";return}o.innerHTML="";const n=document.createElement(e.tag);n.setAttribute("profile-config",JSON.stringify(this.paneConfig(e,this.locale))),this.base&&n.setAttribute("tree-base",this.base.replace(/\/+$/,"")),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.appendChild(n),e.state="ready"}catch(o){e.state="error",e.error="mount failed: "+(o&&o.message||String(o))}}).catch(o=>{e.state="error",e.error=o&&o.message||String(o)})},copyText(e,t){const o=()=>{const n=t.textContent;t.textContent=this.tr("copied"),setTimeout(()=>{t.textContent=n},1200)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(o,()=>{});else try{const n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),o()}catch{}}}}),Op={class:"ps-count"},Ap={class:"ps-locale"},Fp=["aria-expanded","aria-label"],Hp={class:"ps-flag"},Dp={class:"ps-locale-name"},Rp={key:0,class:"ps-locale-menu",role:"listbox"},Ip=["aria-selected"],Up=["onClick"],zp={class:"ps-flag"},jp={class:"ps-locale-name"},Wp={class:"ps-locale-en"},Vp={class:"ps-locale ps-engine"},Kp=["aria-expanded","aria-label","title"],Bp={class:"ps-locale-name"},Gp=["aria-label"],qp=["aria-selected"],Yp=["onClick"],Xp={class:"ps-locale-name"},Jp={class:"ps-locale-en"},Zp={class:"ps-token"},Qp=["aria-expanded","title"],ed={class:"ps-locale-name"},td={class:"ps-token-head"},od={class:"ps-token-label"},nd={class:"ps-token-label"},sd={class:"ps-token-row"},id=["disabled"],ad={class:"ps-token-note"},ld=["title","aria-label"],rd={class:"ps-locale-name"},cd={key:0,class:"ps-toolbar"},pd={class:"ps-bar"},dd={class:"ps-bar-t"},ud={class:"ps-bar-sub"},fd={key:0},hd=["aria-expanded"],gd={key:0,class:"ps-embed"},bd=["value"],$d=["title","aria-label"],md={class:"ps-stage"},_d=["hidden"],vd={key:0,class:"ps-hint"},kd={key:1,class:"ps-hint err"},xd={key:0,class:"ps-hint"};function yd(e,t,o,n,s,i){const a=As("StudioTree"),l=As("VerticalTabsLayout");return L(),yo(l,{title:e.heading||e.tr("title"),dir:e.uiDir,"nav-label":e.tr("navLabel"),labels:{toggleList:e.tr("toggleList"),openViews:e.tr("openViews"),expandList:e.tr("expandList"),collapseList:e.tr("collapseList"),collapse:e.tr("collapse")},header:!e.headerHidden,active:e.activeKey,"onUpdate:active":e.select},{rail:ut(({collapsed:r,expand:u,pick:p})=>[me(a,{sections:e.treeSections,active:e.activeKey,collapsed:r,expand:u,pick:p,strings:{filterPlaceholder:e.tr("filterPlaceholder"),collapseAll:e.tr("collapseAll"),noMatch:e.tr("noMatch"),treeLabel:e.tr("navLabel"),openSection:e.tr("openSection"),part:e.tr("part")}},null,8,["sections","active","collapsed","expand","pick","strings"])]),brand:ut(()=>[...t[11]||(t[11]=[v("span",{class:"ps-logo","aria-hidden":"true"},[v("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[v("path",{d:"M10 3v3M14 3v3M7 6h10v5a5 5 0 0 1-10 0V6Z"}),v("path",{d:"M12 16v5"})])],-1)])]),meta:ut(()=>[v("span",Op,P(e.countLabel),1),v("span",Ap,[v("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":e.tr("changeLanguage"),onClick:t[0]||(t[0]=r=>{e.localeOpen=!e.localeOpen,e.engineOpen=!1,e.settingsOpen=!1})},[v("span",Hp,P(e.activeLang.flag),1),v("span",Dp,P(e.activeLang.nativeName),1),t[12]||(t[12]=v("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,Fp),e.localeOpen?(L(),N("ul",Rp,[(L(!0),N(q,null,Pe(e.switcherLangs,r=>(L(),N("li",{key:r.code,role:"option","aria-selected":String(r.code===e.locale)},[v("button",{type:"button",class:he(["ps-locale-opt",{active:r.code===e.locale}]),onClick:u=>e.setLocale(r.code)},[v("span",zp,P(r.flag),1),v("span",jp,P(r.nativeName),1),v("span",Wp,P(r.name),1)],10,Up)],8,Ip))),128))])):Y("",!0)]),v("span",Vp,[v("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.engineOpen),"aria-label":e.tr("mapEngine"),title:e.tr("mapEngine"),onClick:t[1]||(t[1]=r=>{e.engineOpen=!e.engineOpen,e.localeOpen=!1,e.settingsOpen=!1})},[t[13]||(t[13]=v("span",{"aria-hidden":"true"},"🗺",-1)),v("span",Bp,P(e.engineLabel),1),t[14]||(t[14]=v("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,Kp),e.engineOpen?(L(),N("ul",{key:0,class:"ps-locale-menu",role:"listbox","aria-label":e.tr("mapEngine")},[(L(!0),N(q,null,Pe(e.engines,r=>(L(),N("li",{key:r.id||"default",role:"option","aria-selected":String(r.id===e.userProvider)},[v("button",{type:"button",class:he(["ps-locale-opt",{active:r.id===e.userProvider}]),onClick:u=>e.setProvider(r.id)},[v("span",Xp,P(r.label),1),v("span",Jp,P(r.note),1)],10,Yp)],8,qp))),128))],8,Gp)):Y("",!0)]),v("span",Zp,[v("button",{type:"button",class:"ps-locale-btn ps-token-btn","aria-expanded":String(e.settingsOpen),title:e.tokenStatus,onClick:t[2]||(t[2]=r=>{e.settingsOpen=!e.settingsOpen,e.localeOpen=!1,e.engineOpen=!1})},[v("span",ed,P(e.tr("mapboxToken")),1),v("span",{class:he(["ps-token-dot","is-"+e.tokenSource]),"aria-hidden":"true"},null,2)],8,Qp),e.settingsOpen?(L(),N("form",{key:0,class:"ps-token-panel",onSubmit:t[6]||(t[6]=Ci((...r)=>e.applyToken&&e.applyToken(...r),["prevent"]))},[v("p",td,P(e.tr("mapToken")),1),v("label",od,[Ke(P(e.tr("tokenPaste"))+" ",1),ft(v("input",{class:"ps-token-input","onUpdate:modelValue":t[3]||(t[3]=r=>e.tokenDraft=r),placeholder:"pk.eyJ…",autocomplete:"off",spellcheck:"false"},null,512),[[Cn,e.tokenDraft,void 0,{trim:!0}]])]),v("label",nd,[Ke(P(e.tr("tokenUrlLabel"))+" ",1),ft(v("input",{class:"ps-token-input","onUpdate:modelValue":t[4]||(t[4]=r=>e.urlDraft=r),type:"url",placeholder:"https://doxa.life/api/maps/token",autocomplete:"off",spellcheck:"false"},null,512),[[Cn,e.urlDraft,void 0,{trim:!0}]])]),v("div",sd,[v("button",{type:"submit",class:"ps-token-apply",disabled:e.tokenBusy},P(e.tr("tokenApply")),9,id),v("button",{type:"button",class:"ps-token-clear",onClick:t[5]||(t[5]=(...r)=>e.clearToken&&e.clearToken(...r))},P(e.tr("tokenClear")),1)]),v("p",{class:he(["ps-token-status",{err:!!e.tokenErr}]),role:"status"},P(e.tokenErr||e.tokenStatus),3),v("p",ad,P(e.tr("tokenStoredHere")),1)],32)):Y("",!0)]),v("button",{type:"button",class:"ps-locale-btn ps-hide-header",title:e.tr("hideHeader"),"aria-label":e.tr("hideHeader"),onClick:t[7]||(t[7]=r=>e.setHeaderHidden(!0))},[t[15]||(t[15]=v("span",{"aria-hidden":"true"},"⌃",-1)),v("span",rd,P(e.tr("hideHeader")),1)],8,ld)]),toolbar:ut(()=>[e.active?(L(),N("div",cd,[v("div",pd,[v("div",dd,[v("b",null,P(e.active.label),1),v("span",ud,[Ke(P(e.active.bundle)+" · <"+P(e.active.tag)+">",1),e.active.description?(L(),N("span",fd," · "+P(e.active.description),1)):Y("",!0)])]),e.active.embed?(L(),N("button",{key:0,type:"button",class:"ps-btn","aria-expanded":String(e.embedOpen),onClick:t[8]||(t[8]=r=>e.embedOpen=!e.embedOpen)},P(e.tr("copyEmbed")),9,hd)):Y("",!0)]),e.embedOpen&&e.active.embed?(L(),N("div",gd,[v("label",null,[Ke(P(e.tr("scriptEmbed"))+" ",1),v("button",{type:"button",class:"ps-btn",onClick:t[9]||(t[9]=r=>e.copyText(e.active.embed,r.target))},P(e.tr("copy")),1)]),v("textarea",{readonly:"",value:e.active.embed},null,8,bd)])):Y("",!0)])):Y("",!0)]),default:ut(()=>[e.headerHidden?(L(),N("button",{key:0,type:"button",class:"ps-show-header",title:e.tr("showHeader"),"aria-label":e.tr("showHeader"),onClick:t[10]||(t[10]=r=>e.setHeaderHidden(!1))},[t[16]||(t[16]=v("span",{"aria-hidden":"true"},"⌄",-1)),Ke(" "+P(e.tr("showHeader")),1)],8,$d)):Y("",!0),v("div",md,[(L(!0),N(q,null,Pe(e.flatRows,r=>ft((L(),N("section",{key:r.key,class:"ps-pane",hidden:r.key!==e.activeKey},[!r.heavy||r.key===e.activeKey?(L(),N(q,{key:0},[v("div",{class:"ps-slot",ref_for:!0,ref:u=>e.setSlot(r.key,u)},null,512),r.state==="loading"?(L(),N("div",vd,P(e.tr("loading",{name:r.label})),1)):r.state==="error"?(L(),N("div",kd,[Ke(P(e.tr("couldNotLoad",{name:r.label})),1),t[17]||(t[17]=v("br",null,null,-1)),v("small",null,P(r.error),1)])):Y("",!0)],64)):Y("",!0)],8,_d)),[[Ln,r.key===e.activeKey]])),128)),e.activeKey?Y("",!0):(L(),N("div",xd,P(e.tr("chooseElement")),1))])]),_:1},8,["title","dir","nav-label","labels","header","active","onUpdate:active"])}const wd=On(Mp,[["render",yd],["styles",[wp]]]);function Sd(){try{const e=typeof document<"u"&&document.currentScript&&document.currentScript.src||"";return e?e.replace(/[^/]+\/[^/]+$/,"").replace(/\/+$/,"")+"/":""}catch{return""}}const Ld=Sd(),Nd=$r(wd,{configureApp(e){e.provide("psTreeBase",Ld)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Nd)})();
|