From a841dbd32268e235fc04f49652a69b64d471b79a Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Tue, 29 Sep 2026 02:59:02 +0000 Subject: [PATCH] Rebuild prayer-walk-planner, and regenerate the tree --- public/dx-maps/doxa-maps-spa/manifest.json | 4 +-- public/dx-maps/manifest.json | 4 +-- .../prayer-walk-planner.js | 34 +++++++++---------- .../prayer-walk-planner/index.html | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index f057bd9dd..ee014c8d6 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -1081,7 +1081,7 @@ "bundle": "prayer-walk-planner", "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "output": "dx-maps/prayer-walk-planner/prayer-walk-planner.js", - "integrity": "sha384-vtq2PKa0kyEQwy/K+niZA6jbjqAW+W8mhA6czHqF85YA1OKQ6LrXE6Z4vrYvppV/", + "integrity": "sha384-NYEc6xSl6YPy1QUtVLqG/HP7fxyE+Ud2ZS5BVZ0QCLYduInM21nLl188I7e8a0R0", "elements": [ "prayer-walk-planner" ], @@ -1099,7 +1099,7 @@ "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n" + "script": "\n\n\n\n\n" } } ] diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index f057bd9dd..ee014c8d6 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -1081,7 +1081,7 @@ "bundle": "prayer-walk-planner", "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "output": "dx-maps/prayer-walk-planner/prayer-walk-planner.js", - "integrity": "sha384-vtq2PKa0kyEQwy/K+niZA6jbjqAW+W8mhA6czHqF85YA1OKQ6LrXE6Z4vrYvppV/", + "integrity": "sha384-NYEc6xSl6YPy1QUtVLqG/HP7fxyE+Ud2ZS5BVZ0QCLYduInM21nLl188I7e8a0R0", "elements": [ "prayer-walk-planner" ], @@ -1099,7 +1099,7 @@ "scriptUrl": "./prayer-walk-planner/prayer-walk-planner.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n" + "script": "\n\n\n\n\n" } } ] diff --git a/public/dx-maps/prayer-walk-planner/prayer-walk-planner.js b/public/dx-maps/prayer-walk-planner/prayer-walk-planner.js index 6e7a1bc7e..f0c6ca983 100644 --- a/public/dx-maps/prayer-walk-planner/prayer-walk-planner.js +++ b/public/dx-maps/prayer-walk-planner/prayer-walk-planner.js @@ -1,48 +1,48 @@ -(function(){"use strict";var Xn=typeof document<"u"?document.currentScript:null;/** +(function(){"use strict";var Qn=typeof document<"u"?document.currentScript:null;/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Zn(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const $e={},io=[],gt=()=>{},gs=()=>!1,tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),on=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Jn=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Dl=Object.prototype.hasOwnProperty,fe=(e,t)=>Dl.call(e,t),ee=Array.isArray,Ut=e=>So(e)==="[object Map]",nn=e=>So(e)==="[object Set]",bs=e=>So(e)==="[object Date]",ne=e=>typeof e=="function",ve=e=>typeof e=="string",ut=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",$s=e=>(he(e)||ne(e))&&ne(e.then)&&ne(e.catch),ws=Object.prototype.toString,So=e=>ws.call(e),zl=e=>So(e).slice(8,-1),rn=e=>So(e)==="[object Object]",Qn=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lo=Zn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),sn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Ul=/-\w/g,tt=sn(e=>e.replace(Ul,t=>t.slice(1).toUpperCase())),jl=/\B([A-Z])/g,rt=sn(e=>e.replace(jl,"-$1").toLowerCase()),ys=sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),er=sn(e=>e?`on${ys(e)}`:""),bt=(e,t)=>!Object.is(e,t),tr=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ks=e=>{const t=ve(e)?Number(e):NaN;return isNaN(t)?e:t};let Ss;const an=()=>Ss||(Ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ln(e){if(ee(e)){const t={};for(let o=0;o{if(o){const n=o.split(Hl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ke(e){let t="";if(ve(e))t=e;else if(ee(e))for(let o=0;o!!(e&&e.__v_isRef===!0),Le=e=>ve(e)?e:e==null?"":ee(e)||he(e)&&(e.toString===ws||!ne(e.toString))?As(e)?Le(e.value):JSON.stringify(e,Ts,2):String(e),Ts=(e,t)=>As(t)?Ts(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[or(n,r)+" =>"]=s,o),{})}:nn(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>or(o))}:ut(t)?or(t):he(t)&&!ee(t)&&!rn(t)?String(t):t,or=(e,t="")=>{var o;return ut(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function er(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ve={},fo=[],wt=()=>{},ws=()=>!1,an=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ln=e=>e.startsWith("onUpdate:"),Ce=Object.assign,tr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Vl=Object.prototype.hasOwnProperty,me=(e,t)=>Vl.call(e,t),oe=Array.isArray,Gt=e=>Po(e)==="[object Map]",cn=e=>Po(e)==="[object Set]",ys=e=>Po(e)==="[object Date]",re=e=>typeof e=="function",xe=e=>typeof e=="string",ft=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",vs=e=>(be(e)||re(e))&&re(e.then)&&re(e.catch),ks=Object.prototype.toString,Po=e=>ks.call(e),Wl=e=>Po(e).slice(8,-1),un=e=>Po(e)==="[object Object]",or=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mo=er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Hl=/-\w/g,nt=pn(e=>e.replace(Hl,t=>t.slice(1).toUpperCase())),Gl=/\B([A-Z])/g,lt=pn(e=>e.replace(Gl,"-$1").toLowerCase()),Ss=pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),nr=pn(e=>e?`on${Ss(e)}`:""),yt=(e,t)=>!Object.is(e,t),rr=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Bl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Es=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let xs;const dn=()=>xs||(xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fn(e){if(oe(e)){const t={};for(let o=0;o{if(o){const n=o.split(Yl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ke(e){let t="";if(xe(e))t=e;else if(oe(e))for(let o=0;o!!(e&&e.__v_isRef===!0),Ae=e=>xe(e)?e:e==null?"":oe(e)||be(e)&&(e.toString===ks||!re(e.toString))?Ps(e)?Ae(e.value):JSON.stringify(e,Ms,2):String(e),Ms=(e,t)=>Ps(t)?Ms(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[sr(n,r)+" =>"]=s,o),{})}:cn(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>sr(o))}:ft(t)?sr(t):be(t)&&!oe(t)&&!un(t)?String(t):t,sr=(e,t="")=>{var o;return ft(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 Ue;class xs{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&&Ue&&(Ue.active?(this.parent=Ue,this.index=(Ue.scopes||(Ue.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;t0&&--this._on===0){if(Ue===this)Ue=this.prevScope;else{let t=Ue;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;o0)return;if(Ao){let t=Ao;for(Ao=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Eo;){let t=Eo;for(Eo=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 Cs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Is(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),ir(n),Xl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ns(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ns(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===To)||(e.globalVersion=To,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ar(e))))return;e.flags|=2;const t=e.dep,o=we,n=pt;we=e,pt=!0;try{Cs(e);const s=e.fn(e._value);(t.version===0||bt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{we=o,pt=n,Is(e),e.flags&=-3}}function ir(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 r=o.computed.deps;r;r=r.nextDep)ir(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Xl(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let pt=!0;const Rs=[];function $t(){Rs.push(pt),pt=!1}function wt(){const e=Rs.pop();pt=e===void 0?!0:e}function Ds(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=we;we=void 0;try{t()}finally{we=o}}}let To=0;class Zl{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 lr{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(!we||!pt||we===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==we)o=this.activeLink=new Zl(we,this),we.deps?(o.prevDep=we.depsTail,we.depsTail.nextDep=o,we.depsTail=o):we.deps=we.depsTail=o,zs(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=we.depsTail,o.nextDep=void 0,we.depsTail.nextDep=o,we.depsTail=o,we.deps===o&&(we.deps=n)}return o}trigger(t){this.version++,To++,this.notify(t)}notify(t){rr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{sr()}}}function zs(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)zs(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const cr=new WeakMap,Xt=Symbol(""),ur=Symbol(""),xo=Symbol("");function Ge(e,t,o){if(pt&&we){let n=cr.get(e);n||cr.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new lr),s.map=n,s.key=o),s.track()}}function xt(e,t,o,n,s,r){const a=cr.get(e);if(!a){To++;return}const i=l=>{l&&l.trigger()};if(rr(),t==="clear")a.forEach(i);else{const l=ee(e),c=l&&Qn(o);if(l&&o==="length"){const p=Number(n);a.forEach((_,m)=>{(m==="length"||m===xo||!ut(m)&&m>=p)&&i(_)})}else switch((o!==void 0||a.has(void 0))&&i(a.get(o)),c&&i(a.get(xo)),t){case"add":l?c&&i(a.get("length")):(i(a.get(Xt)),Ut(e)&&i(a.get(ur)));break;case"delete":l||(i(a.get(Xt)),Ut(e)&&i(a.get(ur)));break;case"set":Ut(e)&&i(a.get(Xt));break}}sr()}function lo(e){const t=pe(e);return t===e?t:(Ge(t,"iterate",xo),at(e)?t:t.map(dt))}function un(e){return Ge(e=pe(e),"iterate",xo),e}function yt(e,t){return Mt(e)?co(Zt(e)?dt(t):t):dt(t)}const Jl={__proto__:null,[Symbol.iterator](){return pr(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return lo(this).concat(...e.map(t=>ee(t)?lo(t):t))},entries(){return pr(this,"entries",e=>(e[1]=yt(this,e[1]),e))},every(e,t){return Pt(this,"every",e,t,void 0,arguments)},filter(e,t){return Pt(this,"filter",e,t,o=>o.map(n=>yt(this,n)),arguments)},find(e,t){return Pt(this,"find",e,t,o=>yt(this,o),arguments)},findIndex(e,t){return Pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Pt(this,"findLast",e,t,o=>yt(this,o),arguments)},findLastIndex(e,t){return Pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return dr(this,"includes",e)},indexOf(...e){return dr(this,"indexOf",e)},join(e){return lo(this).join(e)},lastIndexOf(...e){return dr(this,"lastIndexOf",e)},map(e,t){return Pt(this,"map",e,t,void 0,arguments)},pop(){return Po(this,"pop")},push(...e){return Po(this,"push",e)},reduce(e,...t){return Us(this,"reduce",e,t)},reduceRight(e,...t){return Us(this,"reduceRight",e,t)},shift(){return Po(this,"shift")},some(e,t){return Pt(this,"some",e,t,void 0,arguments)},splice(...e){return Po(this,"splice",e)},toReversed(){return lo(this).toReversed()},toSorted(e){return lo(this).toSorted(e)},toSpliced(...e){return lo(this).toSpliced(...e)},unshift(...e){return Po(this,"unshift",e)},values(){return pr(this,"values",e=>yt(this,e))}};function pr(e,t,o){const n=un(e),s=n[t]();return n!==e&&!at(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=o(r.value)),r}),s}const Ql=Array.prototype;function Pt(e,t,o,n,s,r){const a=un(e),i=a!==e&&!at(e),l=a[t];if(l!==Ql[t]){const _=l.apply(e,r);return i?dt(_):_}let c=o;a!==e&&(i?c=function(_,m){return o.call(this,yt(e,_),m,e)}:o.length>2&&(c=function(_,m){return o.call(this,_,m,e)}));const p=l.call(a,c,n);return i&&s?s(p):p}function Us(e,t,o,n){const s=un(e),r=s!==e&&!at(e);let a=o,i=!1;s!==e&&(r?(i=n.length===0,a=function(c,p,_){return i&&(i=!1,c=yt(e,c)),o.call(this,c,yt(e,p),_,e)}):o.length>3&&(a=function(c,p,_){return o.call(this,c,p,_,e)}));const l=s[t](a,...n);return i?yt(e,l):l}function dr(e,t,o){const n=pe(e);Ge(n,"iterate",xo);const s=n[t](...o);return(s===-1||s===!1)&&_r(o[0])?(o[0]=pe(o[0]),n[t](...o)):s}function Po(e,t,o=[]){$t(),rr();const n=pe(e)[t].apply(e,o);return sr(),wt(),n}const ec=Zn("__proto__,__v_isRef,__isVue"),js=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut));function tc(e){ut(e)||(e=String(e));const t=pe(this);return Ge(t,"has",e),t.hasOwnProperty(e)}class Vs{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,r=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(s?r?Ys:Ks:r?Bs:Gs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=ee(t);if(!s){let l;if(a&&(l=Jl[o]))return l;if(o==="hasOwnProperty")return tc}const i=Reflect.get(t,o,Re(t)?t:n);if((ut(o)?js.has(o):ec(o))||(s||Ge(t,"get",o),r))return i;if(Re(i)){const l=a&&Qn(o)?i:i.value;return s&&he(l)?hr(l):l}return he(i)?s?hr(i):hn(i):i}}class Ws extends Vs{constructor(t=!1){super(!1,t)}set(t,o,n,s){let r=t[o];const a=ee(t)&&Qn(o);if(!this._isShallow){const c=Mt(r);if(!at(n)&&!Mt(n)&&(r=pe(r),n=pe(n)),!a&&Re(r)&&!Re(n))return c||(r.value=n),!0}const i=a?Number(o)e,pn=e=>Reflect.getPrototypeOf(e);function ac(e,t,o){return function(...n){const s=this.__v_raw,r=pe(s),a=Ut(r),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...n),p=o?fr:t?co:dt;return!t&&Ge(r,"iterate",l?ur:Xt),Oe(Object.create(c),{next(){const{value:_,done:m}=c.next();return m?{value:_,done:m}:{value:i?[p(_[0]),p(_[1])]:p(_),done:m}}})}}function dn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ic(e,t){const o={get(s){const r=this.__v_raw,a=pe(r),i=pe(s);e||(bt(s,i)&&Ge(a,"get",s),Ge(a,"get",i));const{has:l}=pn(a),c=t?fr:e?co:dt;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ge(pe(s),"iterate",Xt),s.size},has(s){const r=this.__v_raw,a=pe(r),i=pe(s);return e||(bt(s,i)&&Ge(a,"has",s),Ge(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=pe(i),c=t?fr:e?co:dt;return!e&&Ge(l,"iterate",Xt),i.forEach((p,_)=>s.call(r,c(p),c(_),a))}};return Oe(o,e?{add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear")}:{add(s){const r=pe(this),a=pn(r),i=pe(s),l=!t&&!at(s)&&!Mt(s)?i:s;return a.has.call(r,l)||bt(s,l)&&a.has.call(r,s)||bt(i,l)&&a.has.call(r,i)||(r.add(l),xt(r,"add",l,l)),this},set(s,r){!t&&!at(r)&&!Mt(r)&&(r=pe(r));const a=pe(this),{has:i,get:l}=pn(a);let c=i.call(a,s);c||(s=pe(s),c=i.call(a,s));const p=l.call(a,s);return a.set(s,r),c?bt(r,p)&&xt(a,"set",s,r):xt(a,"add",s,r),this},delete(s){const r=pe(this),{has:a,get:i}=pn(r);let l=a.call(r,s);l||(s=pe(s),l=a.call(r,s)),i&&i.call(r,s);const c=r.delete(s);return l&&xt(r,"delete",s,void 0),c},clear(){const s=pe(this),r=s.size!==0,a=s.clear();return r&&xt(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=ac(s,e,t)}),o}function fn(e,t){const o=ic(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(fe(o,s)&&s in n?o:n,s,r)}const lc={get:fn(!1,!1)},cc={get:fn(!1,!0)},uc={get:fn(!0,!1)},pc={get:fn(!0,!0)},Gs=new WeakMap,Bs=new WeakMap,Ks=new WeakMap,Ys=new WeakMap;function dc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hn(e){return Mt(e)?e:_n(e,!1,oc,lc,Gs)}function fc(e){return _n(e,!1,rc,cc,Bs)}function hr(e){return _n(e,!0,nc,uc,Ks)}function pm(e){return _n(e,!0,sc,pc,Ys)}function _n(e,t,o,n,s){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=s.get(e);if(r)return r;const a=dc(zl(e));if(a===0)return e;const i=new Proxy(e,a===2?n:o);return s.set(e,i),i}function Zt(e){return Mt(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Mt(e){return!!(e&&e.__v_isReadonly)}function at(e){return!!(e&&e.__v_isShallow)}function _r(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function hc(e){return!fe(e,"__v_skip")&&Object.isExtensible(e)&&vs(e,"__v_skip",!0),e}const dt=e=>he(e)?hn(e):e,co=e=>he(e)?hr(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function _e(e){return qs(e,!1)}function mr(e){return qs(e,!0)}function qs(e,t){return Re(e)?e:new _c(e,t)}class _c{constructor(t,o){this.dep=new lr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:pe(t),this._value=o?t:dt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||at(t)||Mt(t);t=n?t:pe(t),bt(t,o)&&(this._rawValue=t,this._value=n?t:dt(t),this.dep.trigger())}}function Ot(e){return Re(e)?e.value:e}const mc={get:(e,t,o)=>t==="__v_raw"?e:Ot(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 Xs(e){return Zt(e)?e:new Proxy(e,mc)}class gc{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new lr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=To-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return Fs(this,!0),!0}get value(){const t=this.dep.track();return Ns(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function bc(e,t,o=!1){let n,s;return ne(e)?n=e:(n=e.get,s=e.set),new gc(n,s,o)}const mn={},gn=new WeakMap;let Jt;function $c(e,t=!1,o=Jt){if(o){let n=gn.get(o);n||gn.set(o,n=[]),n.push(e)}}function wc(e,t,o=$e){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=o,c=$=>s?$:at($)||s===!1||s===0?jt($,1):jt($);let p,_,m,L,T=!1,S=!1;if(Re(e)?(_=()=>e.value,T=at(e)):Zt(e)?(_=()=>c(e),T=!0):ee(e)?(S=!0,T=e.some($=>Zt($)||at($)),_=()=>e.map($=>{if(Re($))return $.value;if(Zt($))return c($);if(ne($))return l?l($,2):$()})):ne(e)?t?_=l?()=>l(e,2):e:_=()=>{if(m){$t();try{m()}finally{wt()}}const $=Jt;Jt=p;try{return l?l(e,3,[L]):e(L)}finally{Jt=$}}:_=gt,t&&s){const $=_,P=s===!0?1/0:s;_=()=>jt($(),P)}const O=ql(),C=()=>{p.stop(),O&&O.active&&Jn(O.effects,p)};if(r&&t){const $=t;t=(...P)=>{const A=$(...P);return C(),A}}let k=S?new Array(e.length).fill(mn):mn;const v=$=>{if(!(!(p.flags&1)||!p.dirty&&!$))if(t){const P=p.run();if($||s||T||(S?P.some((A,x)=>bt(A,k[x])):bt(P,k))){m&&m();const A=Jt;Jt=p;try{const x=[P,k===mn?void 0:S&&k[0]===mn?[]:k,L];k=P,l?l(t,3,x):t(...x)}finally{Jt=A}}}else p.run()};return i&&i(v),p=new Ms(_),p.scheduler=a?()=>a(v,!1):v,L=$=>$c($,!1,p),m=p.onStop=()=>{const $=gn.get(p);if($){if(l)l($,4);else for(const P of $)P();gn.delete(p)}},t?n?v(!0):k=p.run():a?a(v.bind(null,!0),!0):p.run(),C.pause=p.pause.bind(p),C.resume=p.resume.bind(p),C.stop=C,C}function jt(e,t=1/0,o){if(t<=0||!he(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Re(e))jt(e.value,t,o);else if(ee(e))for(let n=0;n{jt(n,t,o)});else if(rn(e)){for(const n in e)jt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&jt(e[n],t,o)}return e}/** +**/let He;class Os{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&&He&&(He.active?(this.parent=He,this.index=(He.scopes||(He.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;t0&&--this._on===0){if(He===this)He=this.prevScope;else{let t=He;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;o0)return;if(Fo){let t=Fo;for(Fo=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Oo;){let t=Oo;for(Oo=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 Rs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ds(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),ur(n),ec(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function cr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Co)||(e.globalVersion=Co,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!cr(e))))return;e.flags|=2;const t=e.dep,o=ke,n=ht;ke=e,ht=!0;try{Rs(e);const s=e.fn(e._value);(t.version===0||yt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ke=o,ht=n,Ds(e),e.flags&=-3}}function ur(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 r=o.computed.deps;r;r=r.nextDep)ur(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function ec(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let ht=!0;const Us=[];function vt(){Us.push(ht),ht=!1}function kt(){const e=Us.pop();ht=e===void 0?!0:e}function js(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ke;ke=void 0;try{t()}finally{ke=o}}}let Co=0;class tc{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 pr{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(!ke||!ht||ke===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ke)o=this.activeLink=new tc(ke,this),ke.deps?(o.prevDep=ke.depsTail,ke.depsTail.nextDep=o,ke.depsTail=o):ke.deps=ke.depsTail=o,Vs(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=ke.depsTail,o.nextDep=void 0,ke.depsTail.nextDep=o,ke.depsTail=o,ke.deps===o&&(ke.deps=n)}return o}trigger(t){this.version++,Co++,this.notify(t)}notify(t){ir();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{lr()}}}function Vs(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)Vs(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const dr=new WeakMap,oo=Symbol(""),fr=Symbol(""),Io=Symbol("");function Ye(e,t,o){if(ht&&ke){let n=dr.get(e);n||dr.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new pr),s.map=n,s.key=o),s.track()}}function Ft(e,t,o,n,s,r){const a=dr.get(e);if(!a){Co++;return}const i=l=>{l&&l.trigger()};if(ir(),t==="clear")a.forEach(i);else{const l=oe(e),c=l&&or(o);if(l&&o==="length"){const d=Number(n);a.forEach((h,g)=>{(g==="length"||g===Io||!ft(g)&&g>=d)&&i(h)})}else switch((o!==void 0||a.has(void 0))&&i(a.get(o)),c&&i(a.get(Io)),t){case"add":l?c&&i(a.get("length")):(i(a.get(oo)),Gt(e)&&i(a.get(fr)));break;case"delete":l||(i(a.get(oo)),Gt(e)&&i(a.get(fr)));break;case"set":Gt(e)&&i(a.get(oo));break}}lr()}function ho(e){const t=fe(e);return t===e?t:(Ye(t,"iterate",Io),pt(e)?t:t.map(_t))}function _n(e){return Ye(e=fe(e),"iterate",Io),e}function St(e,t){return It(e)?_o(no(e)?_t(t):t):_t(t)}const oc={__proto__:null,[Symbol.iterator](){return hr(this,Symbol.iterator,e=>St(this,e))},concat(...e){return ho(this).concat(...e.map(t=>oe(t)?ho(t):t))},entries(){return hr(this,"entries",e=>(e[1]=St(this,e[1]),e))},every(e,t){return Ct(this,"every",e,t,void 0,arguments)},filter(e,t){return Ct(this,"filter",e,t,o=>o.map(n=>St(this,n)),arguments)},find(e,t){return Ct(this,"find",e,t,o=>St(this,o),arguments)},findIndex(e,t){return Ct(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ct(this,"findLast",e,t,o=>St(this,o),arguments)},findLastIndex(e,t){return Ct(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ct(this,"forEach",e,t,void 0,arguments)},includes(...e){return _r(this,"includes",e)},indexOf(...e){return _r(this,"indexOf",e)},join(e){return ho(this).join(e)},lastIndexOf(...e){return _r(this,"lastIndexOf",e)},map(e,t){return Ct(this,"map",e,t,void 0,arguments)},pop(){return No(this,"pop")},push(...e){return No(this,"push",e)},reduce(e,...t){return Ws(this,"reduce",e,t)},reduceRight(e,...t){return Ws(this,"reduceRight",e,t)},shift(){return No(this,"shift")},some(e,t){return Ct(this,"some",e,t,void 0,arguments)},splice(...e){return No(this,"splice",e)},toReversed(){return ho(this).toReversed()},toSorted(e){return ho(this).toSorted(e)},toSpliced(...e){return ho(this).toSpliced(...e)},unshift(...e){return No(this,"unshift",e)},values(){return hr(this,"values",e=>St(this,e))}};function hr(e,t,o){const n=_n(e),s=n[t]();return n!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=o(r.value)),r}),s}const nc=Array.prototype;function Ct(e,t,o,n,s,r){const a=_n(e),i=a!==e&&!pt(e),l=a[t];if(l!==nc[t]){const h=l.apply(e,r);return i?_t(h):h}let c=o;a!==e&&(i?c=function(h,g){return o.call(this,St(e,h),g,e)}:o.length>2&&(c=function(h,g){return o.call(this,h,g,e)}));const d=l.call(a,c,n);return i&&s?s(d):d}function Ws(e,t,o,n){const s=_n(e),r=s!==e&&!pt(e);let a=o,i=!1;s!==e&&(r?(i=n.length===0,a=function(c,d,h){return i&&(i=!1,c=St(e,c)),o.call(this,c,St(e,d),h,e)}):o.length>3&&(a=function(c,d,h){return o.call(this,c,d,h,e)}));const l=s[t](a,...n);return i?St(e,l):l}function _r(e,t,o){const n=fe(e);Ye(n,"iterate",Io);const s=n[t](...o);return(s===-1||s===!1)&&br(o[0])?(o[0]=fe(o[0]),n[t](...o)):s}function No(e,t,o=[]){vt(),ir();const n=fe(e)[t].apply(e,o);return lr(),kt(),n}const rc=er("__proto__,__v_isRef,__isVue"),Hs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft));function sc(e){ft(e)||(e=String(e));const t=fe(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class Gs{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,r=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(s?r?Xs:Zs:r?qs:Ys).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=oe(t);if(!s){let l;if(a&&(l=oc[o]))return l;if(o==="hasOwnProperty")return sc}const i=Reflect.get(t,o,Ue(t)?t:n);if((ft(o)?Hs.has(o):rc(o))||(s||Ye(t,"get",o),r))return i;if(Ue(i)){const l=a&&or(o)?i:i.value;return s&&be(l)?gr(l):l}return be(i)?s?gr(i):$n(i):i}}class Bs extends Gs{constructor(t=!1){super(!1,t)}set(t,o,n,s){let r=t[o];const a=oe(t)&&or(o);if(!this._isShallow){const c=It(r);if(!pt(n)&&!It(n)&&(r=fe(r),n=fe(n)),!a&&Ue(r)&&!Ue(n))return c||(r.value=n),!0}const i=a?Number(o)e,mn=e=>Reflect.getPrototypeOf(e);function uc(e,t,o){return function(...n){const s=this.__v_raw,r=fe(s),a=Gt(r),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...n),d=o?mr:t?_o:_t;return!t&&Ye(r,"iterate",l?fr:oo),Ce(Object.create(c),{next(){const{value:h,done:g}=c.next();return g?{value:h,done:g}:{value:i?[d(h[0]),d(h[1])]:d(h),done:g}}})}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pc(e,t){const o={get(s){const r=this.__v_raw,a=fe(r),i=fe(s);e||(yt(s,i)&&Ye(a,"get",s),Ye(a,"get",i));const{has:l}=mn(a),c=t?mr:e?_o:_t;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ye(fe(s),"iterate",oo),s.size},has(s){const r=this.__v_raw,a=fe(r),i=fe(s);return e||(yt(s,i)&&Ye(a,"has",s),Ye(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=fe(i),c=t?mr:e?_o:_t;return!e&&Ye(l,"iterate",oo),i.forEach((d,h)=>s.call(r,c(d),c(h),a))}};return Ce(o,e?{add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear")}:{add(s){const r=fe(this),a=mn(r),i=fe(s),l=!t&&!pt(s)&&!It(s)?i:s;return a.has.call(r,l)||yt(s,l)&&a.has.call(r,s)||yt(i,l)&&a.has.call(r,i)||(r.add(l),Ft(r,"add",l,l)),this},set(s,r){!t&&!pt(r)&&!It(r)&&(r=fe(r));const a=fe(this),{has:i,get:l}=mn(a);let c=i.call(a,s);c||(s=fe(s),c=i.call(a,s));const d=l.call(a,s);return a.set(s,r),c?yt(r,d)&&Ft(a,"set",s,r):Ft(a,"add",s,r),this},delete(s){const r=fe(this),{has:a,get:i}=mn(r);let l=a.call(r,s);l||(s=fe(s),l=a.call(r,s)),i&&i.call(r,s);const c=r.delete(s);return l&&Ft(r,"delete",s,void 0),c},clear(){const s=fe(this),r=s.size!==0,a=s.clear();return r&&Ft(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=uc(s,e,t)}),o}function bn(e,t){const o=pc(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(me(o,s)&&s in n?o:n,s,r)}const dc={get:bn(!1,!1)},fc={get:bn(!1,!0)},hc={get:bn(!0,!1)},_c={get:bn(!0,!0)},Ys=new WeakMap,qs=new WeakMap,Zs=new WeakMap,Xs=new WeakMap;function mc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $n(e){return It(e)?e:wn(e,!1,ac,dc,Ys)}function gc(e){return wn(e,!1,lc,fc,qs)}function gr(e){return wn(e,!0,ic,hc,Zs)}function $m(e){return wn(e,!0,cc,_c,Xs)}function wn(e,t,o,n,s){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=s.get(e);if(r)return r;const a=mc(Wl(e));if(a===0)return e;const i=new Proxy(e,a===2?n:o);return s.set(e,i),i}function no(e){return It(e)?no(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function br(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function bc(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&Ls(e,"__v_skip",!0),e}const _t=e=>be(e)?$n(e):e,_o=e=>be(e)?gr(e):e;function Ue(e){return e?e.__v_isRef===!0:!1}function ge(e){return Js(e,!1)}function $r(e){return Js(e,!0)}function Js(e,t){return Ue(e)?e:new $c(e,t)}class $c{constructor(t,o){this.dep=new pr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:fe(t),this._value=o?t:_t(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||pt(t)||It(t);t=n?t:fe(t),yt(t,o)&&(this._rawValue=t,this._value=n?t:_t(t),this.dep.trigger())}}function Nt(e){return Ue(e)?e.value:e}const wc={get:(e,t,o)=>t==="__v_raw"?e:Nt(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Ue(s)&&!Ue(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function Qs(e){return no(e)?e:new Proxy(e,wc)}class yc{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new pr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Co-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return Ns(this,!0),!0}get value(){const t=this.dep.track();return zs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vc(e,t,o=!1){let n,s;return re(e)?n=e:(n=e.get,s=e.set),new yc(n,s,o)}const yn={},vn=new WeakMap;let ro;function kc(e,t=!1,o=ro){if(o){let n=vn.get(o);n||vn.set(o,n=[]),n.push(e)}}function Sc(e,t,o=ve){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=o,c=m=>s?m:pt(m)||s===!1||s===0?Bt(m,1):Bt(m);let d,h,g,k,E=!1,y=!1;if(Ue(e)?(h=()=>e.value,E=pt(e)):no(e)?(h=()=>c(e),E=!0):oe(e)?(y=!0,E=e.some(m=>no(m)||pt(m)),h=()=>e.map(m=>{if(Ue(m))return m.value;if(no(m))return c(m);if(re(m))return l?l(m,2):m()})):re(e)?t?h=l?()=>l(e,2):e:h=()=>{if(g){vt();try{g()}finally{kt()}}const m=ro;ro=d;try{return l?l(e,3,[k]):e(k)}finally{ro=m}}:h=wt,t&&s){const m=h,x=s===!0?1/0:s;h=()=>Bt(m(),x)}const O=Ql(),F=()=>{d.stop(),O&&O.active&&tr(O.effects,d)};if(r&&t){const m=t;t=(...x)=>{const A=m(...x);return F(),A}}let b=y?new Array(e.length).fill(yn):yn;const w=m=>{if(!(!(d.flags&1)||!d.dirty&&!m))if(t){const x=d.run();if(m||s||E||(y?x.some((A,T)=>yt(A,b[T])):yt(x,b))){g&&g();const A=ro;ro=d;try{const T=[x,b===yn?void 0:y&&b[0]===yn?[]:b,k];b=x,l?l(t,3,T):t(...T)}finally{ro=A}}}else d.run()};return i&&i(w),d=new Cs(h),d.scheduler=a?()=>a(w,!1):w,k=m=>kc(m,!1,d),g=d.onStop=()=>{const m=vn.get(d);if(m){if(l)l(m,4);else for(const x of m)x();vn.delete(d)}},t?n?w(!0):b=d.run():a?a(w.bind(null,!0),!0):d.run(),F.pause=d.pause.bind(d),F.resume=d.resume.bind(d),F.stop=F,F}function Bt(e,t=1/0,o){if(t<=0||!be(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ue(e))Bt(e.value,t,o);else if(oe(e))for(let n=0;n{Bt(n,t,o)});else if(un(e)){for(const n in e)Bt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Bt(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Mo=[];let gr=!1;function dm(e,...t){if(gr)return;gr=!0,$t();const o=Mo.length?Mo[Mo.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=yc();if(n)uo(n,o,11,[e+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,s.map(({vnode:r})=>`at <${Ya(o,r.type)}>`).join(` +**/const Ro=[];let wr=!1;function wm(e,...t){if(wr)return;wr=!0,vt();const o=Ro.length?Ro[Ro.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Lc();if(n)mo(n,o,11,[e+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,s.map(({vnode:r})=>`at <${Xa(o,r.type)}>`).join(` `),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(` -`,...vc(s)),console.warn(...r)}wt(),gr=!1}function yc(){let e=Mo[Mo.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 vc(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...kc(o))}),t}function kc({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Ya(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...Sc(e.props),r]:[s+r]}function Sc(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Zs(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Zs(e,t,o){return ve(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Re(t)?(t=Zs(e,pe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ne(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=pe(t),o?t:[`${e}=`,t])}function uo(e,t,o,n){try{return n?e(...n):e()}catch(s){bn(s,t,o)}}function ft(e,t,o,n){if(ne(e)){const s=uo(e,t,o,n);return s&&$s(s)&&s.catch(r=>{bn(r,t,o)}),s}if(ee(e)){const s=[];for(let r=0;r>>1,s=Ye[n],r=Oo(s);r=Oo(o)?Ye.push(e):Ye.splice(Ec(t),0,e),e.flags|=1,Qs()}}function Qs(){$n||($n=Js.then(oa))}function Ac(e){if(!ee(e))Vt&&e.id===-1?Vt.splice(fo+1,0,e):e.flags&1||(po.push(e),e.flags|=1);else for(let t=0;tOo(o)-Oo(n));if(po.length=0,Vt){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function oa(e){try{for(vt=0;vt{n._d&&Pn(-1);const r=yn(t),a=Ct.length;let i;try{i=e(...s)}finally{for(let l=Ct.length;l>a;l--)Nr();yn(r),n._d&&Pn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Qt(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let a=0;a1)return o&&ne(t)?t.call(n&&n.proxy):t}}const Tc=Symbol.for("v-scx"),xc=()=>ht(Tc);function kt(e,t,o){return sa(e,t,o)}function sa(e,t,o=$e){const{immediate:n,deep:s,flush:r,once:a}=o,i=Oe({},o),l=t&&n||!t&&r!=="post";let c;if(Ho){if(r==="sync"){const L=xc();c=L.__watcherHandles||(L.__watcherHandles=[])}else if(!l){const L=()=>{};return L.stop=gt,L.resume=gt,L.pause=gt,L}}const p=Ze;i.call=(L,T,S)=>ft(L,p,T,S);let _=!1;r==="post"?i.scheduler=L=>{Xe(L,p&&p.suspense)}:r!=="sync"&&(_=!0,i.scheduler=(L,T)=>{T?L():br(L)}),i.augmentJob=L=>{t&&(L.flags|=4),_&&(L.flags|=2,p&&(L.id=p.uid,L.i=p))};const m=wc(e,t,i);return Ho&&(c?c.push(m):l&&m()),m}function Pc(e,t,o){const n=this.proxy,s=ve(e)?e.includes(".")?aa(n,e):()=>n[e]:e.bind(n,n);let r;ne(t)?r=t:(r=t.handler,o=t);const a=Wo(this),i=sa(s,r.bind(n),o);return a(),i}function aa(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,eo=e=>e&&(e.disabled||e.disabled===""),Mc=e=>e&&(e.defer||e.defer===""),la=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ca=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,$r=(e,t)=>{const o=e&&e.to;return ve(o)?t?t(o):null:o},Oc={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,a,i,l,c){const{mc:p,pc:_,pbc:m,o:{insert:L,querySelector:T,createText:S,createComment:O,parentNode:C}}=c,k=eo(t.props);let{dynamicChildren:v}=t;const $=(x,D,I)=>{x.shapeFlag&16&&p(x.children,D,I,s,r,a,i,l)},P=(x=t)=>{const D=eo(x.props),I=x.target=$r(x.props,T),Y=wr(I,x,S,L);I&&(a!=="svg"&&la(I)?a="svg":a!=="mathml"&&ca(I)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(I),D||($(x,I,Y),Co(x,!1)))},A=x=>{const D=()=>{if(Wt.get(x)===D){if(Wt.delete(x),eo(x.props)){const I=C(x.el)||o;$(x,I,x.anchor),Co(x,!0)}P(x)}};Wt.set(x,D),Xe(D,r)};if(e==null){const x=t.el=S(""),D=t.anchor=S("");if(L(x,o,n),L(D,o,n),Mc(t.props)||r&&r.pendingBranch){A(t);return}k&&($(t,o,D),Co(t,!0)),P()}else{t.el=e.el;const x=t.anchor=e.anchor,D=Wt.get(e);if(D){D.flags|=8,Wt.delete(e),A(t);return}t.targetStart=e.targetStart;const I=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,J=eo(e.props),H=J?o:I,oe=J?x:Y;if(a==="svg"||la(I)?a="svg":(a==="mathml"||ca(I))&&(a="mathml"),v?(m(e.dynamicChildren,v,H,s,r,a,i),Cr(e,t,!0)):l||_(e,t,H,oe,s,r,a,i,!1),k)J?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):kn(t,o,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=$r(t.props,T);se&&(t.target=se,kn(t,se,null,c,0))}else J&&kn(t,I,Y,c,1);Co(t,k)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:a,children:i,anchor:l,targetStart:c,targetAnchor:p,target:_,props:m}=e,L=eo(m),T=r||!L,S=Wt.get(e);if(S&&(S.flags|=8,Wt.delete(e)),_&&(s(c),s(p)),r&&s(l),!S&&(L||_)&&a&16)for(let O=0;O1){for(const o of e)if(o.type!==St){t=o;break}}return t}function ua(e){if(!kr(e))return vn(e.type)&&e.children?Ic(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&&ne(o.default))return o.default()}}function vr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;vr(vn(o.type)&&ua(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 Sn(e,t){return ne(e)?Oe({name:e.name},t,{setup:e}):e}function pa(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function da(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ln=new WeakMap;function Io(e,t,o,n,s=!1){if(ee(e)){e.forEach((S,O)=>Io(S,t&&(ee(t)?t[O]:t),o,n,s));return}if(ho(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Io(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Dr(n.component):n.el,a=s?null:r,{i,r:l}=e,c=t&&t.r,p=i.refs===$e?i.refs={}:i.refs,_=i.setupState,m=pe(_),L=_===$e?gs:S=>da(p,S)?!1:fe(m,S),T=(S,O)=>!(O&&da(p,O));if(c!=null&&c!==l){if(fa(t),ve(c))p[c]=null,L(c)&&(_[c]=null);else if(Re(c)){const S=t;T(c,S.k)&&(c.value=null),S.k&&(p[S.k]=null)}}if(ne(l))uo(l,i,12,[a,p]);else{const S=ve(l),O=Re(l);if(S||O){const C=()=>{if(e.f){const k=S?L(l)?_[l]:p[l]:T()||!e.k?l.value:p[e.k];if(s)ee(k)&&Jn(k,r);else if(ee(k))k.includes(r)||k.push(r);else if(S)p[l]=[r],L(l)&&(_[l]=p[l]);else{const v=[r];T(l,e.k)&&(l.value=v),e.k&&(p[e.k]=v)}}else S?(p[l]=a,L(l)&&(_[l]=a)):O&&(T(l,e.k)&&(l.value=a),e.k&&(p[e.k]=a))};if(a){const k=()=>{C(),Ln.delete(e)};k.id=-1,Ln.set(e,k),Xe(k,o)}else fa(e),C()}}}function fa(e){const t=Ln.get(e);t&&(t.flags|=8,Ln.delete(e))}an().requestIdleCallback,an().cancelIdleCallback;const ho=e=>!!e.type.__asyncLoader,kr=e=>e.type.__isKeepAlive;function Nc(e,t){ha(e,"a",t)}function Rc(e,t){ha(e,"da",t)}function ha(e,t,o=Ze){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(En(t,n,o),o){let s=o.parent;for(;s&&s.parent;)kr(s.parent.vnode)&&Dc(n,t,o,s),s=s.parent}}function Dc(e,t,o,n){const s=En(t,e,n,!0);Sr(()=>{Jn(n[t],s)},o)}function En(e,t,o=Ze,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...a)=>{$t();const i=Wo(o),l=ft(t,o,e,a);return i(),wt(),l});return n?s.unshift(r):s.push(r),r}}const Ft=e=>(t,o=Ze)=>{(!Ho||e==="sp")&&En(e,(...n)=>t(...n),o)},_a=Ft("bm"),to=Ft("m"),zc=Ft("bu"),Uc=Ft("u"),An=Ft("bum"),Sr=Ft("um"),jc=Ft("sp"),Vc=Ft("rtg"),Wc=Ft("rtc");function Hc(e,t=Ze){En("ec",e,t)}const Gc=Symbol.for("v-ndc");function Lr(e,t,o,n){let s;const r=o,a=ee(e);if(a||ve(e)){const i=a&&Zt(e);let l=!1,c=!1;i&&(l=!at(e),c=Mt(e),e=un(e)),s=new Array(e.length);for(let p=0,_=e.length;p<_;p++)s[p]=t(l?c?co(dt(e[p])):dt(e[p]):e[p],p,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let i=0;it(i,l,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l0;return me(),mo(je,null,[Fe("slot",c,n)],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=Ct.length;me();let l;try{const c=a&&ga(a(o)),p=o.key||r||c&&c.key;l=mo(je,{key:(p&&!ut(p)?p:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let p=Ct.length;p>i;p--)Nr();throw c}finally{a&&a._c&&(a._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function ga(e){return e.some(t=>Uo(t)?!(t.type===St||t.type===je&&!ga(t.children)):!0)?e:null}const Er=e=>e?Ga(e)?Dr(e):Er(e.parent):null,No=Oe(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=>Er(e.parent),$root:e=>Er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ya(e),$forceUpdate:e=>e.f||(e.f=()=>{br(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>Pc.bind(e)}),Ar=(e,t)=>e!==$e&&!e.__isScriptSetup&&fe(e,t),Bc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=e;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return r[t]}else{if(Ar(n,t))return a[t]=1,n[t];if(s!==$e&&fe(s,t))return a[t]=2,s[t];if(fe(r,t))return a[t]=3,r[t];if(o!==$e&&fe(o,t))return a[t]=4,o[t];Tr&&(a[t]=0)}}const c=No[t];let p,_;if(c)return t==="$attrs"&&Ge(e.attrs,"get",""),c(e);if((p=i.__cssModules)&&(p=p[t]))return p;if(o!==$e&&fe(o,t))return a[t]=4,o[t];if(_=l.config.globalProperties,fe(_,t))return _[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return Ar(s,t)?(s[t]=o,!0):n!==$e&&fe(n,t)?(n[t]=o,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:r,type:a}},i){let l;return!!(o[i]||e!==$e&&i[0]!=="$"&&fe(e,i)||Ar(t,i)||fe(r,i)||fe(n,i)||fe(No,i)||fe(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:fe(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ba(e){return ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Tr=!0;function Kc(e){const t=ya(e),o=e.proxy,n=e.ctx;Tr=!1,t.beforeCreate&&$a(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:p,beforeMount:_,mounted:m,beforeUpdate:L,updated:T,activated:S,deactivated:O,beforeDestroy:C,beforeUnmount:k,destroyed:v,unmounted:$,render:P,renderTracked:A,renderTriggered:x,errorCaptured:D,serverPrefetch:I,expose:Y,inheritAttrs:J,components:H,directives:oe,filters:se}=t;if(c&&Yc(c,n,null),a)for(const K in a){const q=a[K];ne(q)&&(n[K]=q.bind(o))}if(s){const K=s.call(o,o);he(K)&&(e.data=hn(K))}if(Tr=!0,r)for(const K in r){const q=r[K],be=ne(q)?q.bind(o,o):ne(q.get)?q.get.bind(o,o):gt,We=!ne(q)&&ne(q.set)?q.set.bind(o):gt,Se=De({get:be,set:We});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>Se.value,set:Pe=>Se.value=Pe})}if(i)for(const K in i)wa(i[K],n,o,K);if(l){const K=ne(l)?l.call(o):l;Reflect.ownKeys(K).forEach(q=>{ra(q,K[q])})}p&&$a(p,e,"c");function z(K,q){ee(q)?q.forEach(be=>K(be.bind(o))):q&&K(q.bind(o))}if(z(_a,_),z(to,m),z(zc,L),z(Uc,T),z(Nc,S),z(Rc,O),z(Hc,D),z(Wc,A),z(Vc,x),z(An,k),z(Sr,$),z(jc,I),ee(Y))if(Y.length){const K=e.exposed||(e.exposed={});Y.forEach(q=>{Object.defineProperty(K,q,{get:()=>o[q],set:be=>o[q]=be,enumerable:!0})})}else e.exposed||(e.exposed={});P&&e.render===gt&&(e.render=P),J!=null&&(e.inheritAttrs=J),H&&(e.components=H),oe&&(e.directives=oe),I&&pa(e)}function Yc(e,t,o=gt){ee(e)&&(e=xr(e));for(const n in e){const s=e[n];let r;he(s)?"default"in s?r=ht(s.from||n,s.default,!0):r=ht(s.from||n):r=ht(s),Re(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r}}function $a(e,t,o){ft(ee(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function wa(e,t,o,n){let s=n.includes(".")?aa(o,n):()=>o[n];if(ve(e)){const r=t[e];ne(r)&&kt(s,r)}else if(ne(e))kt(s,e.bind(o));else if(he(e))if(ee(e))e.forEach(r=>wa(r,t,o,n));else{const r=ne(e.handler)?e.handler.bind(o):t[e.handler];ne(r)&&kt(s,r,e)}}function ya(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>Tn(l,c,a,!0)),Tn(l,t,a)),he(t)&&r.set(t,l),l}function Tn(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&Tn(e,r,o,!0),s&&s.forEach(a=>Tn(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const i=qc[a]||o&&o[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const qc={data:va,props:ka,emits:ka,methods:Ro,computed:Ro,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:Ro,directives:Ro,watch:Zc,provide:va,inject:Xc};function va(e,t){return t?e?function(){return Oe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Xc(e,t){return Ro(xr(e),xr(t))}function xr(e){if(ee(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tt(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function tu(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||$e;let s=o;const r=t.startsWith("update:"),a=r&&eu(n,t.slice(7));a&&(a.trim&&(s=o.map(p=>ve(p)?p.trim():p)),a.number&&(s=s.map(Vl)));let i,l=n[i=er(t)]||n[i=er(tt(t))];!l&&r&&(l=n[i=er(rt(t))]),l&&ft(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ft(c,e,6,s)}}const ou=new WeakMap;function La(e,t,o=!1){const n=o?ou:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const r=e.emits;let a={},i=!1;if(!ne(e)){const l=c=>{const p=La(c,t,!0);p&&(i=!0,Oe(a,p))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(he(e)&&n.set(e,null),null):(ee(r)?r.forEach(l=>a[l]=null):Oe(a,r),he(e)&&n.set(e,a),a)}function xn(e,t){return!e||!tn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,rt(t))||fe(e,t))}function fm(){}function Ea(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:p,props:_,data:m,setupState:L,ctx:T,inheritAttrs:S}=e,O=yn(e);let C,k;try{if(o.shapeFlag&4){const $=s||n,P=$;C=Lt(c.call(P,$,p,_,L,m,T)),k=i}else{const $=t;C=Lt($.length>1?$(_,{attrs:i,slots:a,emit:l}):$(_,null)),k=t.props?i:nu(i)}}catch($){Ct.length=0,bn($,e,1),C=Fe(St)}let v=C;if(k&&S!==!1){const $=Object.keys(k),{shapeFlag:P}=v;$.length&&P&7&&(r&&$.some(on)&&(k=ru(k,r)),v=go(v,k,!1,!0))}if(o.dirs&&(v=go(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(o.dirs):o.dirs),o.transition){const $=vn(v.type)&&ua(v)||v;vr($,o.transition)}return C=v,yn(O),C}const nu=e=>{let t;for(const o in e)(o==="class"||o==="style"||tn(o))&&((t||(t={}))[o]=e[o]);return t},ru=(e,t)=>{const o={};for(const n in e)(!on(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function su(e,t,o){const{props:n,children:s,component:r}=e,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Aa(n,a,c):!!a;if(l&8){const p=t.dynamicProps;for(let _=0;_Object.create(xa),Ma=e=>Object.getPrototypeOf(e)===xa;function iu(e,t,o,n=!1){const s={},r=Pa();e.propsDefaults=Object.create(null),Oa(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:fc(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function lu(e,t,o,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,i=pe(s),[l]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let _=0;_{l=!0;const[m,L]=Fa(_,t,!0);Oe(a,m),L&&i.push(...L)};!o&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!l)return he(e)&&n.set(e,io),io;if(ee(r))for(let p=0;pe==="_"||e==="_ctx"||e==="$stable",Or=e=>ee(e)?e.map(Lt):[Lt(e)],uu=(e,t,o)=>{if(t._n)return t;const n=Fo((...s)=>Or(t(...s)),o);return n._c=!1,n},Ia=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Mr(s))continue;const r=e[s];if(ne(r))t[s]=uu(s,r,n);else if(r!=null){const a=Or(r);t[s]=()=>a}}},Na=(e,t)=>{const o=Or(t);e.slots.default=()=>o},Ra=(e,t,o)=>{for(const n in t)(o||!Mr(n))&&(e[n]=t[n])},pu=(e,t,o)=>{const n=e.slots=Pa();if(e.vnode.shapeFlag&32){const s=t._;s?(Ra(n,t,o),o&&vs(n,"_",s,!0)):Ia(t,n)}else t&&Na(e,t)},du=(e,t,o)=>{const{vnode:n,slots:s}=e;let r=!0,a=$e;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Ra(s,t,o):(r=!t.$stable,Ia(t,s)),a=t}else t&&(Na(e,t),a={default:1});if(r)for(const i in s)!Mr(i)&&a[i]==null&&delete s[i]},Xe=gu;function fu(e){return hu(e)}function hu(e,t){const o=an();o.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:p,parentNode:_,nextSibling:m,setScopeId:L=gt,insertStaticContent:T}=e,S=(f,w,g,M=null,R=null,N=null,V=void 0,j=null,d=!!w.dynamicChildren)=>{if(f===w)return;f&&!jo(f,w)&&(M=Ee(f),Pe(f,R,N,!0),f=null),w.patchFlag===-2&&(d=!1,w.dynamicChildren=null);const{type:u,ref:E,shapeFlag:F}=w;switch(u){case Do:O(f,w,g,M);break;case St:C(f,w,g,M);break;case Ir:f==null&&k(w,g,M,V);break;case je:H(f,w,g,M,R,N,V,j,d);break;default:F&1?P(f,w,g,M,R,N,V,j,d):F&6?oe(f,w,g,M,R,N,V,j,d):(F&64||F&128)&&u.process(f,w,g,M,R,N,V,j,d,re)}E!=null&&R?Io(E,f&&f.ref,N,w||f,!w):E==null&&f&&f.ref!=null&&Io(f.ref,null,N,f,!0)},O=(f,w,g,M)=>{if(f==null)n(w.el=i(w.children),g,M);else{const R=w.el=f.el;w.children!==f.children&&c(R,w.children)}},C=(f,w,g,M)=>{f==null?n(w.el=l(w.children||""),g,M):w.el=f.el},k=(f,w,g,M)=>{[f.el,f.anchor]=T(f.children,w,g,M,f.el,f.anchor)},v=({el:f,anchor:w},g,M)=>{let R;for(;f&&f!==w;)R=m(f),n(f,g,M),f=R;n(w,g,M)},$=({el:f,anchor:w})=>{let g;for(;f&&f!==w;)g=m(f),s(f),f=g;s(w)},P=(f,w,g,M,R,N,V,j,d)=>{if(w.type==="svg"?V="svg":w.type==="math"&&(V="mathml"),f==null)A(w,g,M,R,N,V,j,d);else{const u=f.el&&f.el._isVueCE?f.el:null;try{u&&u._beginPatch(),I(f,w,R,N,V,j,d)}finally{u&&u._endPatch()}}},A=(f,w,g,M,R,N,V,j)=>{let d,u;const{props:E,shapeFlag:F,transition:W,dirs:b}=f;if(d=f.el=a(f.type,N,E&&E.is,E),F&8?p(d,f.children):F&16&&D(f.children,d,null,M,R,Fr(f,N),V,j),b&&Qt(f,null,M,"created"),x(d,f,f.scopeId,V,M),E){for(const y in E)y!=="value"&&!Lo(y)&&r(d,y,null,E[y],N,M);"value"in E&&r(d,"value",null,E.value,N),(u=E.onVnodeBeforeMount)&&Et(u,M,f)}b&&Qt(f,null,M,"beforeMount");const h=_u(R,W);h&&W.beforeEnter(d),n(d,w,g),((u=E&&E.onVnodeMounted)||h||b)&&Xe(()=>{try{u&&Et(u,M,f),h&&W.enter(d),b&&Qt(f,null,M,"mounted")}finally{}},R)},x=(f,w,g,M,R)=>{if(g&&L(f,g),M)for(let N=0;N{for(let u=d;u{const j=w.el=f.el;let{patchFlag:d,dynamicChildren:u,dirs:E}=w;d|=f.patchFlag&16;const F=f.props||$e,W=w.props||$e;let b;if(g&&oo(g,!1),(b=W.onVnodeBeforeUpdate)&&Et(b,g,w,f),E&&Qt(w,f,g,"beforeUpdate"),g&&oo(g,!0),u&&(!f.dynamicChildren||f.dynamicChildren.length!==u.length)&&(d=0,V=!1,u=null),(F.innerHTML&&W.innerHTML==null||F.textContent&&W.textContent==null)&&p(j,""),u?Y(f.dynamicChildren,u,j,g,M,Fr(w,R),N):V||q(f,w,j,null,g,M,Fr(w,R),N,!1),d>0){if(d&16)J(j,F,W,g,R);else if(d&2&&F.class!==W.class&&r(j,"class",null,W.class,R),d&4&&r(j,"style",F.style,W.style,R),d&8){const h=w.dynamicProps;for(let y=0;y{b&&Et(b,g,w,f),E&&Qt(w,f,g,"updated")},M)},Y=(f,w,g,M,R,N,V)=>{for(let j=0;j{if(w!==g){if(w!==$e)for(const N in w)!Lo(N)&&!(N in g)&&r(f,N,w[N],null,R,M);for(const N in g){if(Lo(N))continue;const V=g[N],j=w[N];V!==j&&N!=="value"&&r(f,N,j,V,R,M)}"value"in g&&r(f,"value",w.value,g.value,R)}},H=(f,w,g,M,R,N,V,j,d)=>{const u=w.el=f?f.el:i(""),E=w.anchor=f?f.anchor:i("");let{patchFlag:F,dynamicChildren:W,slotScopeIds:b}=w;b&&(j=j?j.concat(b):b),f==null?(n(u,g,M),n(E,g,M),D(w.children||[],g,E,R,N,V,j,d)):F>0&&F&64&&W&&f.dynamicChildren&&f.dynamicChildren.length===W.length?(Y(f.dynamicChildren,W,g,R,N,V,j),(w.key!=null||R&&w===R.subTree)&&Cr(f,w,!0)):q(f,w,g,E,R,N,V,j,d)},oe=(f,w,g,M,R,N,V,j,d)=>{w.slotScopeIds=j,f==null?w.shapeFlag&512?R.ctx.activate(w,g,M,V,d):se(w,g,M,R,N,V,d):G(f,w,d)},se=(f,w,g,M,R,N,V)=>{const j=f.component=ku(f,M,R);if(kr(f)&&(j.ctx.renderer=re),Su(j,!1,V),j.asyncDep){if(R&&R.registerDep(j,z,V),!f.el){const d=j.subTree=Fe(St);C(null,d,w,g),f.placeholder=d.el}}else z(j,f,w,g,R,N,V)},G=(f,w,g)=>{const M=w.component=f.component;if(su(f,w,g))if(M.asyncDep&&!M.asyncResolved){K(M,w,g);return}else M.next=w,M.update();else w.el=f.el,M.vnode=w},z=(f,w,g,M,R,N,V)=>{const j=()=>{if(f.isMounted){let{next:F,bu:W,u:b,parent:h,vnode:y}=f;{const le=Da(f);if(le){F&&(F.el=y.el,K(f,F,V)),le.asyncDep.then(()=>{Xe(()=>{f.isUnmounted||u()},R)});return}}let U=F,X;oo(f,!1),F?(F.el=y.el,K(f,F,V)):F=y,W&&tr(W),(X=F.props&&F.props.onVnodeBeforeUpdate)&&Et(X,h,F,y),oo(f,!0);const ue=Ea(f),Ae=f.subTree;f.subTree=ue,S(Ae,ue,_(Ae.el),Ee(Ae),f,R,N),F.el=ue.el,U===null&&au(f,ue.el),b&&Xe(b,R),(X=F.props&&F.props.onVnodeUpdated)&&Xe(()=>Et(X,h,F,y),R)}else{let F;const{el:W,props:b}=w,{bm:h,m:y,parent:U,root:X,type:ue}=f,Ae=ho(w);oo(f,!1),h&&tr(h),!Ae&&(F=b&&b.onVnodeBeforeMount)&&Et(F,U,w),oo(f,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(ue,f.parent?f.parent.type:void 0);const le=f.subTree=Ea(f);S(null,le,g,M,f,R,N),w.el=le.el}if(y&&Xe(y,R),!Ae&&(F=b&&b.onVnodeMounted)){const le=w;Xe(()=>Et(F,U,le),R)}(w.shapeFlag&256||U&&ho(U.vnode)&&U.vnode.shapeFlag&256)&&f.a&&Xe(f.a,R),f.isMounted=!0,w=g=M=null}};f.scope.on();const d=f.effect=new Ms(j);f.scope.off();const u=f.update=d.run.bind(d),E=f.job=d.runIfDirty.bind(d);E.i=f,E.id=f.uid,d.scheduler=()=>br(E),oo(f,!0),u()},K=(f,w,g)=>{w.component=f;const M=f.vnode.props;f.vnode=w,f.next=null,lu(f,w.props,M,g),du(f,w.children,g),$t(),ea(f),wt()},q=(f,w,g,M,R,N,V,j,d=!1)=>{const u=f&&f.children,E=f?f.shapeFlag:0,F=w.children,{patchFlag:W,shapeFlag:b}=w;if(W>0){if(W&128){We(u,F,g,M,R,N,V,j,d);return}else if(W&256){be(u,F,g,M,R,N,V,j,d);return}}b&8?(E&16&&He(u,R,N),F!==u&&p(g,F)):E&16?b&16?We(u,F,g,M,R,N,V,j,d):He(u,R,N,!0):(E&8&&p(g,""),b&16&&D(F,g,M,R,N,V,j,d))},be=(f,w,g,M,R,N,V,j,d)=>{f=f||io,w=w||io;const u=f.length,E=w.length,F=Math.min(u,E);let W;for(W=0;WE?He(f,R,N,!0,!1,F):D(w,g,M,R,N,V,j,d,F)},We=(f,w,g,M,R,N,V,j,d)=>{let u=0;const E=w.length;let F=f.length-1,W=E-1;for(;u<=F&&u<=W;){const b=f[u],h=w[u]=d?It(w[u]):Lt(w[u]);if(jo(b,h))S(b,h,g,null,R,N,V,j,d);else break;u++}for(;u<=F&&u<=W;){const b=f[F],h=w[W]=d?It(w[W]):Lt(w[W]);if(jo(b,h))S(b,h,g,null,R,N,V,j,d);else break;F--,W--}if(u>F){if(u<=W){const b=W+1,h=bW)for(;u<=F;)Pe(f[u],R,N,!0),u++;else{const b=u,h=u,y=new Map;for(u=h;u<=W;u++){const Te=w[u]=d?It(w[u]):Lt(w[u]);Te.key!=null&&y.set(Te.key,u)}let U,X=0;const ue=W-h+1;let Ae=!1,le=0;const Me=new Array(ue);for(u=0;u=ue){Pe(Te,R,N,!0);continue}let ct;if(Te.key!=null)ct=y.get(Te.key);else for(U=h;U<=W;U++)if(Me[U-h]===0&&jo(Te,w[U])){ct=U;break}ct===void 0?Pe(Te,R,N,!0):(Me[ct-h]=u+1,ct>=le?le=ct:Ae=!0,S(Te,w[ct],g,null,R,N,V,j,d),X++)}const ce=Ae?mu(Me):io;for(U=ce.length-1,u=ue-1;u>=0;u--){const Te=h+u,ct=w[Te],qn=w[Te+1],en=Te+1{const{el:N,type:V,transition:j,children:d,shapeFlag:u}=f;if(u&6){Se(f.component.subTree,w,g,M);return}if(u&128){f.suspense.move(w,g,M);return}if(u&64){V.move(f,w,g,re);return}if(V===je){n(N,w,g);for(let F=0;Fj.enter(N),R));else{const{leave:F,delayLeave:W,afterLeave:b}=j,h=()=>{f.ctx.isUnmounted?s(N):n(N,w,g)},y=()=>{const U=N._isLeaving||!!N[yr];N._isLeaving&&N[yr](!0),j.persisted&&!U?h():F(N,()=>{h(),b&&b()})};W?W(N,h,y):y()}else n(N,w,g)},Pe=(f,w,g,M=!1,R=!1)=>{const{type:N,props:V,ref:j,children:d,dynamicChildren:u,shapeFlag:E,patchFlag:F,dirs:W,cacheIndex:b,memo:h}=f;if(F===-2&&(R=!1),j!=null&&($t(),Io(j,null,g,f,!0),wt()),b!=null&&(w.renderCache[b]=void 0),E&256){w.ctx.deactivate(f);return}const y=E&1&&W,U=!ho(f);let X;if(U&&(X=V&&V.onVnodeBeforeUnmount)&&Et(X,w,f),E&6)lt(f.component,g,M);else{if(E&128){f.suspense.unmount(g,M);return}y&&Qt(f,null,w,"beforeUnmount"),E&64?f.type.remove(f,w,g,re,M):u&&!u.hasOnce&&(N!==je||F>0&&F&64)?He(u,w,g,!1,!0):(N===je&&F&384||!R&&E&16)&&He(d,w,g),M&&Be(f)}const ue=h!=null&&b==null;(U&&(X=V&&V.onVnodeUnmounted)||y||ue)&&Xe(()=>{X&&Et(X,w,f),y&&Qt(f,null,w,"unmounted"),ue&&(f.el=null)},g)},Be=f=>{const{type:w,el:g,anchor:M,transition:R}=f;if(w===je){Qe(g,M);return}if(w===Ir){$(f);return}const N=()=>{s(g),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(f.shapeFlag&1&&R&&!R.persisted){const{leave:V,delayLeave:j}=R,d=()=>V(g,N);j?j(f.el,N,d):d()}else N()},Qe=(f,w)=>{let g;for(;f!==w;)g=m(f),s(f),f=g;s(w)},lt=(f,w,g)=>{const{bum:M,scope:R,job:N,subTree:V,um:j,m:d,a:u}=f;za(d),za(u),M&&tr(M),R.stop(),N&&(N.flags|=8,Pe(V,f,w,g)),j&&Xe(j,w),Xe(()=>{f.isUnmounted=!0},w)},He=(f,w,g,M=!1,R=!1,N=0)=>{for(let V=N;V{if(f.shapeFlag&6)return Ee(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const w=m(f.anchor||f.el),g=w&&w[ia];return g?m(g):w};let et=!1;const ae=(f,w,g)=>{let M;f==null?w._vnode&&(Pe(w._vnode,null,null,!0),M=w._vnode.component):S(w._vnode||null,f,w,null,null,null,g),w._vnode=f,et||(et=!0,ea(M),ta(),et=!1)},re={p:S,um:Pe,m:Se,r:Be,mt:se,mc:D,pc:q,pbc:Y,n:Ee,o:e};return{render:ae,hydrate:void 0,createApp:Qc(ae)}}function Fr({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 oo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function _u(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cr(e,t,o=!1){const n=e.children,s=t.children;if(ee(n)&&ee(s))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,a=o[r-1];r-- >0;)o[r]=a,a=t[a];return o}function Da(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Da(t)}function za(e){if(e)for(let t=0;te.__isSuspense;function gu(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Ac(e)}const je=Symbol.for("v-fgt"),Do=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),Ct=[];let st=null;function me(e=!1){Ct.push(st=e?null:[])}function Nr(){Ct.pop(),st=Ct[Ct.length-1]||null}let zo=1;function Pn(e,t=!1){zo+=e,e<0&&st&&t&&(st.hasOnce=!0)}function Va(e){return e.dynamicChildren=zo>0?st||io:null,Nr(),zo>0&&st&&st.push(e),e}function xe(e,t,o,n,s,r){return Va(Z(e,t,o,n,s,r,!0))}function mo(e,t,o,n,s){return Va(Fe(e,t,o,n,s,!0))}function Uo(e){return e?e.__v_isVNode===!0:!1}function jo(e,t){return e.type===t.type&&e.key===t.key}const Wa=({key:e})=>e??null,Mn=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Re(e)||ne(e)?{i:ot,r:e,k:t,f:!!o}:e:null);function Z(e,t=null,o=null,n=0,s=null,r=e===je?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wa(t),ref:t&&Mn(t),scopeId:na,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:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ot};return i?(On(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=ve(o)?8:16),zo>0&&!a&&st&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&st.push(l),l}const Fe=bu;function bu(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===Gc)&&(e=St),Uo(e)){const i=go(e,t,!0);return o&&On(i,o),zo>0&&!r&&st&&(i.shapeFlag&6?st[st.indexOf(e)]=i:st.push(i)),i.patchFlag=-2,i}if(Mu(e)&&(e=e.__vccOpts),t){t=$u(t);let{class:i,style:l}=t;i&&!ve(i)&&(t.class=Ke(i)),he(l)&&(_r(l)&&!ee(l)&&(l=Oe({},l)),t.style=ln(l))}const a=ve(e)?1:ja(e)?128:vn(e)?64:he(e)?4:ne(e)?2:0;return Z(e,t,o,n,s,a,r,!0)}function $u(e){return e?_r(e)||Ma(e)?Oe({},e):e:null}function go(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=e,c=t?wu(s||{},t):s,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Wa(c),ref:t&&t.ref?o&&r?ee(r)?r.concat(Mn(t)):[r,Mn(t)]:Mn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&go(e.ssContent),ssFallback:e.ssFallback&&go(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&vr(p,l.clone(p)),p}function Rr(e=" ",t=0){return Fe(Do,null,e,t)}function no(e="",t=!1){return t?(me(),mo(St,null,e)):Fe(St,null,e)}function Lt(e){return e==null||typeof e=="boolean"?Fe(St):ee(e)?Fe(je,null,e.slice()):Uo(e)?It(e):Fe(Do,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:go(e)}function On(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ee(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),On(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Ma(t)?t._ctx=ot:s===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ne(t)){if(n&65){On(e,{default:t});return}t={default:t,_ctx:ot},o=32}else t=String(t),n&64?(o=16,t=[Rr(t)]):o=8;e.children=t,e.shapeFlag|=o}function wu(...e){const t={};for(let o=0;oZe||ot;let Fn,Vo;{const e=an(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Fn=t("__VUE_INSTANCE_SETTERS__",o=>Ze=o),Vo=t("__VUE_SSR_SETTERS__",o=>Ho=o)}const Wo=e=>{const t=Ze;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ha=()=>{Ze&&Ze.scope.off(),Fn(null)};function Ga(e){return e.vnode.shapeFlag&4}let Ho=!1;function Su(e,t=!1,o=!1){t&&Vo(t);const{props:n,children:s}=e.vnode,r=Ga(e);iu(e,n,r,t),pu(e,s,o||t);const a=r?Lu(e,t):void 0;return t&&Vo(!1),a}function Lu(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bc);const{setup:n}=o;if(n){$t();const s=e.setupContext=n.length>1?Au(e):null,r=Wo(e),a=uo(n,e,0,[e.props,s]),i=$s(a);if(wt(),r(),(i||e.sp)&&!ho(e)&&pa(e),i){if(a.then(Ha,Ha),t)return a.then(l=>{Vo(!0);try{Ba(e,l,t)}finally{Vo(!1)}}).catch(l=>{bn(l,e,0)});e.asyncDep=a}else Ba(e,a)}else Ka(e)}function Ba(e,t,o){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=Xs(t)),Ka(e)}function Ka(e,t,o){const n=e.type;e.render||(e.render=n.render||gt);{const s=Wo(e);$t();try{Kc(e)}finally{wt(),s()}}}const Eu={get(e,t){return Ge(e,"get",""),e[t]}};function Au(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Eu),slots:e.slots,emit:e.emit,expose:t}}function Dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xs(hc(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in No)return No[o](e)},has(t,o){return o in t||o in No}})):e.proxy}const Tu=/(?:^|[-_])\w/g,xu=e=>e.replace(Tu,t=>t.toUpperCase()).replace(/[-_]/g,"");function Pu(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Ya(e,t,o=!1){let n=Pu(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?xu(n):o?"App":"Anonymous"}function Mu(e){return ne(e)&&"__vccOpts"in e}const De=(e,t)=>bc(e,t,Ho);function qa(e,t,o){try{Pn(-1);const n=arguments.length;return n===2?he(t)&&!ee(t)?Uo(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Uo(o)&&(o=[o]),Fe(e,t,o))}finally{Pn(1)}}const Ou="3.5.42";/** +`,...Ec(s)),console.warn(...r)}kt(),wr=!1}function Lc(){let e=Ro[Ro.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 Ec(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...xc(o))}),t}function xc({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Xa(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...Ac(e.props),r]:[s+r]}function Ac(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...ea(n,e[n]))}),o.length>3&&t.push(" ..."),t}function ea(e,t,o){return xe(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ue(t)?(t=ea(e,fe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):re(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),o?t:[`${e}=`,t])}function mo(e,t,o,n){try{return n?e(...n):e()}catch(s){kn(s,t,o)}}function mt(e,t,o,n){if(re(e)){const s=mo(e,t,o,n);return s&&vs(s)&&s.catch(r=>{kn(r,t,o)}),s}if(oe(e)){const s=[];for(let r=0;r>>1,s=Ze[n],r=Do(s);r=Do(o)?Ze.push(e):Ze.splice(Pc(t),0,e),e.flags|=1,oa()}}function oa(){Sn||(Sn=ta.then(sa))}function Mc(e){if(!oe(e))Kt&&e.id===-1?Kt.splice(bo+1,0,e):e.flags&1||(go.push(e),e.flags|=1);else for(let t=0;tDo(o)-Do(n));if(go.length=0,Kt){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function sa(e){try{for(Lt=0;Lt{n._d&&Cn(-1);const r=Ln(t),a=Dt.length;let i;try{i=e(...s)}finally{for(let l=Dt.length;l>a;l--)zr();Ln(r),n._d&&Cn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function so(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let a=0;a1)return o&&re(t)?t.call(n&&n.proxy):t}}const Oc=Symbol.for("v-scx"),Fc=()=>gt(Oc);function Et(e,t,o){return la(e,t,o)}function la(e,t,o=ve){const{immediate:n,deep:s,flush:r,once:a}=o,i=Ce({},o),l=t&&n||!t&&r!=="post";let c;if(Zo){if(r==="sync"){const k=Fc();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=wt,k.resume=wt,k.pause=wt,k}}const d=Qe;i.call=(k,E,y)=>mt(k,d,E,y);let h=!1;r==="post"?i.scheduler=k=>{Je(k,d&&d.suspense)}:r!=="sync"&&(h=!0,i.scheduler=(k,E)=>{E?k():yr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),h&&(k.flags|=2,d&&(k.id=d.uid,k.i=d))};const g=Sc(e,t,i);return Zo&&(c?c.push(g):l&&g()),g}function Cc(e,t,o){const n=this.proxy,s=xe(e)?e.includes(".")?ca(n,e):()=>n[e]:e.bind(n,n);let r;re(t)?r=t:(r=t.handler,o=t);const a=qo(this),i=la(s,r.bind(n),o);return a(),i}function ca(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,ao=e=>e&&(e.disabled||e.disabled===""),Ic=e=>e&&(e.defer||e.defer===""),pa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,da=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,vr=(e,t)=>{const o=e&&e.to;return xe(o)?t?t(o):null:o},Nc={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,a,i,l,c){const{mc:d,pc:h,pbc:g,o:{insert:k,querySelector:E,createText:y,createComment:O,parentNode:F}}=c,b=ao(t.props);let{dynamicChildren:w}=t;const m=(T,U,I)=>{T.shapeFlag&16&&d(T.children,U,I,s,r,a,i,l)},x=(T=t)=>{const U=ao(T.props),I=T.target=vr(T.props,E),J=kr(I,T,y,k);I&&(a!=="svg"&&pa(I)?a="svg":a!=="mathml"&&da(I)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(I),U||(m(T,I,J),Uo(T,!1)))},A=T=>{const U=()=>{if(Yt.get(T)===U){if(Yt.delete(T),ao(T.props)){const I=F(T.el)||o;m(T,I,T.anchor),Uo(T,!0)}x(T)}};Yt.set(T,U),Je(U,r)};if(e==null){const T=t.el=y(""),U=t.anchor=y("");if(k(T,o,n),k(U,o,n),Ic(t.props)||r&&r.pendingBranch){A(t);return}b&&(m(t,o,U),Uo(t,!0)),x()}else{t.el=e.el;const T=t.anchor=e.anchor,U=Yt.get(e);if(U){U.flags|=8,Yt.delete(e),A(t);return}t.targetStart=e.targetStart;const I=t.target=e.target,J=t.targetAnchor=e.targetAnchor,ee=ao(e.props),z=ee?o:I,ue=ee?T:J;if(a==="svg"||pa(I)?a="svg":(a==="mathml"||da(I))&&(a="mathml"),w?(g(e.dynamicChildren,w,z,s,r,a,i),Rr(e,t,!0)):l||h(e,t,z,ue,s,r,a,i,!1),b)ee?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xn(t,o,T,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ie=vr(t.props,E);ie&&(t.target=ie,xn(t,ie,null,c,0))}else ee&&xn(t,I,J,c,1);Uo(t,b)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:a,children:i,anchor:l,targetStart:c,targetAnchor:d,target:h,props:g}=e,k=ao(g),E=r||!k,y=Yt.get(e);if(y&&(y.flags|=8,Yt.delete(e)),h&&(s(c),s(d)),r&&s(l),!y&&(k||h)&&a&16)for(let O=0;O1){for(const o of e)if(o.type!==xt){t=o;break}}return t}function fa(e){if(!Er(e))return En(e.type)&&e.children?zc(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&&re(o.default))return o.default()}}function Lr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Lr(En(o.type)&&fa(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 An(e,t){return re(e)?Ce({name:e.name},t,{setup:e}):e}function ha(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _a(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Tn=new WeakMap;function jo(e,t,o,n,s=!1){if(oe(e)){e.forEach((y,O)=>jo(y,t&&(oe(t)?t[O]:t),o,n,s));return}if(wo(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&jo(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?jr(n.component):n.el,a=s?null:r,{i,r:l}=e,c=t&&t.r,d=i.refs===ve?i.refs={}:i.refs,h=i.setupState,g=fe(h),k=h===ve?ws:y=>_a(d,y)?!1:me(g,y),E=(y,O)=>!(O&&_a(d,O));if(c!=null&&c!==l){if(ma(t),xe(c))d[c]=null,k(c)&&(h[c]=null);else if(Ue(c)){const y=t;E(c,y.k)&&(c.value=null),y.k&&(d[y.k]=null)}}if(re(l))mo(l,i,12,[a,d]);else{const y=xe(l),O=Ue(l);if(y||O){const F=()=>{if(e.f){const b=y?k(l)?h[l]:d[l]:E()||!e.k?l.value:d[e.k];if(s)oe(b)&&tr(b,r);else if(oe(b))b.includes(r)||b.push(r);else if(y)d[l]=[r],k(l)&&(h[l]=d[l]);else{const w=[r];E(l,e.k)&&(l.value=w),e.k&&(d[e.k]=w)}}else y?(d[l]=a,k(l)&&(h[l]=a)):O&&(E(l,e.k)&&(l.value=a),e.k&&(d[e.k]=a))};if(a){const b=()=>{F(),Tn.delete(e)};b.id=-1,Tn.set(e,b),Je(b,o)}else ma(e),F()}}}function ma(e){const t=Tn.get(e);t&&(t.flags|=8,Tn.delete(e))}dn().requestIdleCallback,dn().cancelIdleCallback;const wo=e=>!!e.type.__asyncLoader,Er=e=>e.type.__isKeepAlive;function Uc(e,t){ga(e,"a",t)}function jc(e,t){ga(e,"da",t)}function ga(e,t,o=Qe){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Pn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Er(s.parent.vnode)&&Vc(n,t,o,s),s=s.parent}}function Vc(e,t,o,n){const s=Pn(t,e,n,!0);xr(()=>{tr(n[t],s)},o)}function Pn(e,t,o=Qe,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...a)=>{vt();const i=qo(o),l=mt(t,o,e,a);return i(),kt(),l});return n?s.unshift(r):s.push(r),r}}const Rt=e=>(t,o=Qe)=>{(!Zo||e==="sp")&&Pn(e,(...n)=>t(...n),o)},ba=Rt("bm"),io=Rt("m"),Wc=Rt("bu"),Hc=Rt("u"),Mn=Rt("bum"),xr=Rt("um"),Gc=Rt("sp"),Bc=Rt("rtg"),Kc=Rt("rtc");function Yc(e,t=Qe){Pn("ec",e,t)}const qc=Symbol.for("v-ndc");function Ar(e,t,o,n){let s;const r=o,a=oe(e);if(a||xe(e)){const i=a&&no(e);let l=!1,c=!1;i&&(l=!pt(e),c=It(e),e=_n(e)),s=new Array(e.length);for(let d=0,h=e.length;dt(i,l,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l0;return $e(),vo(Ge,null,[Ie("slot",c,n)],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=Dt.length;$e();let l;try{const c=a&&wa(a(o)),d=o.key||r||c&&c.key;l=vo(Ge,{key:(d&&!ft(d)?d:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let d=Dt.length;d>i;d--)zr();throw c}finally{a&&a._c&&(a._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function wa(e){return e.some(t=>Bo(t)?!(t.type===xt||t.type===Ge&&!wa(t.children)):!0)?e:null}const Tr=e=>e?Ya(e)?jr(e):Tr(e.parent):null,Vo=Ce(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=>Tr(e.parent),$root:e=>Tr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Sa(e),$forceUpdate:e=>e.f||(e.f=()=>{yr(e.update)}),$nextTick:e=>e.n||(e.n=$o.bind(e.proxy)),$watch:e=>Cc.bind(e)}),Pr=(e,t)=>e!==ve&&!e.__isScriptSetup&&me(e,t),Zc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=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 r[t]}else{if(Pr(n,t))return a[t]=1,n[t];if(s!==ve&&me(s,t))return a[t]=2,s[t];if(me(r,t))return a[t]=3,r[t];if(o!==ve&&me(o,t))return a[t]=4,o[t];Mr&&(a[t]=0)}}const c=Vo[t];let d,h;if(c)return t==="$attrs"&&Ye(e.attrs,"get",""),c(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(o!==ve&&me(o,t))return a[t]=4,o[t];if(h=l.config.globalProperties,me(h,t))return h[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return Pr(s,t)?(s[t]=o,!0):n!==ve&&me(n,t)?(n[t]=o,!0):me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:r,type:a}},i){let l;return!!(o[i]||e!==ve&&i[0]!=="$"&&me(e,i)||Pr(t,i)||me(r,i)||me(n,i)||me(Vo,i)||me(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:me(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ya(e){return oe(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Mr=!0;function Xc(e){const t=Sa(e),o=e.proxy,n=e.ctx;Mr=!1,t.beforeCreate&&va(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:d,beforeMount:h,mounted:g,beforeUpdate:k,updated:E,activated:y,deactivated:O,beforeDestroy:F,beforeUnmount:b,destroyed:w,unmounted:m,render:x,renderTracked:A,renderTriggered:T,errorCaptured:U,serverPrefetch:I,expose:J,inheritAttrs:ee,components:z,directives:ue,filters:ie}=t;if(c&&Jc(c,n,null),a)for(const q in a){const Q=a[q];re(Q)&&(n[q]=Q.bind(o))}if(s){const q=s.call(o,o);be(q)&&(e.data=$n(q))}if(Mr=!0,r)for(const q in r){const Q=r[q],pe=re(Q)?Q.bind(o,o):re(Q.get)?Q.get.bind(o,o):wt,tt=!re(Q)&&re(Q.set)?Q.set.bind(o):wt,Le=je({get:pe,set:tt});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>Le.value,set:Pe=>Le.value=Pe})}if(i)for(const q in i)ka(i[q],n,o,q);if(l){const q=re(l)?l.call(o):l;Reflect.ownKeys(q).forEach(Q=>{ia(Q,q[Q])})}d&&va(d,e,"c");function V(q,Q){oe(Q)?Q.forEach(pe=>q(pe.bind(o))):Q&&q(Q.bind(o))}if(V(ba,h),V(io,g),V(Wc,k),V(Hc,E),V(Uc,y),V(jc,O),V(Yc,U),V(Kc,A),V(Bc,T),V(Mn,b),V(xr,m),V(Gc,I),oe(J))if(J.length){const q=e.exposed||(e.exposed={});J.forEach(Q=>{Object.defineProperty(q,Q,{get:()=>o[Q],set:pe=>o[Q]=pe,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===wt&&(e.render=x),ee!=null&&(e.inheritAttrs=ee),z&&(e.components=z),ue&&(e.directives=ue),I&&ha(e)}function Jc(e,t,o=wt){oe(e)&&(e=Or(e));for(const n in e){const s=e[n];let r;be(s)?"default"in s?r=gt(s.from||n,s.default,!0):r=gt(s.from||n):r=gt(s),Ue(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r}}function va(e,t,o){mt(oe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function ka(e,t,o,n){let s=n.includes(".")?ca(o,n):()=>o[n];if(xe(e)){const r=t[e];re(r)&&Et(s,r)}else if(re(e))Et(s,e.bind(o));else if(be(e))if(oe(e))e.forEach(r=>ka(r,t,o,n));else{const r=re(e.handler)?e.handler.bind(o):t[e.handler];re(r)&&Et(s,r,e)}}function Sa(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(c=>On(l,c,a,!0)),On(l,t,a)),be(t)&&r.set(t,l),l}function On(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&On(e,r,o,!0),s&&s.forEach(a=>On(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const i=Qc[a]||o&&o[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const Qc={data:La,props:Ea,emits:Ea,methods:Wo,computed:Wo,beforeCreate:Xe,created:Xe,beforeMount:Xe,mounted:Xe,beforeUpdate:Xe,updated:Xe,beforeDestroy:Xe,beforeUnmount:Xe,destroyed:Xe,unmounted:Xe,activated:Xe,deactivated:Xe,errorCaptured:Xe,serverPrefetch:Xe,components:Wo,directives:Wo,watch:tu,provide:La,inject:eu};function La(e,t){return t?e?function(){return Ce(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function eu(e,t){return Wo(Or(e),Or(t))}function Or(e){if(oe(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${nt(t)}Modifiers`]||e[`${lt(t)}Modifiers`];function su(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ve;let s=o;const r=t.startsWith("update:"),a=r&&ru(n,t.slice(7));a&&(a.trim&&(s=o.map(d=>xe(d)?d.trim():d)),a.number&&(s=s.map(Bl)));let i,l=n[i=nr(t)]||n[i=nr(nt(t))];!l&&r&&(l=n[i=nr(lt(t))]),l&&mt(l,e,6,s);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,mt(c,e,6,s)}}const au=new WeakMap;function Aa(e,t,o=!1){const n=o?au:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const r=e.emits;let a={},i=!1;if(!re(e)){const l=c=>{const d=Aa(c,t,!0);d&&(i=!0,Ce(a,d))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(be(e)&&n.set(e,null),null):(oe(r)?r.forEach(l=>a[l]=null):Ce(a,r),be(e)&&n.set(e,a),a)}function Fn(e,t){return!e||!an(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,lt(t))||me(e,t))}function ym(){}function Ta(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:d,props:h,data:g,setupState:k,ctx:E,inheritAttrs:y}=e,O=Ln(e);let F,b;try{if(o.shapeFlag&4){const m=s||n,x=m;F=At(c.call(x,m,d,h,k,g,E)),b=i}else{const m=t;F=At(m.length>1?m(h,{attrs:i,slots:a,emit:l}):m(h,null)),b=t.props?i:iu(i)}}catch(m){Dt.length=0,kn(m,e,1),F=Ie(xt)}let w=F;if(b&&y!==!1){const m=Object.keys(b),{shapeFlag:x}=w;m.length&&x&7&&(r&&m.some(ln)&&(b=lu(b,r)),w=ko(w,b,!1,!0))}if(o.dirs&&(w=ko(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(o.dirs):o.dirs),o.transition){const m=En(w.type)&&fa(w)||w;Lr(m,o.transition)}return F=w,Ln(O),F}const iu=e=>{let t;for(const o in e)(o==="class"||o==="style"||an(o))&&((t||(t={}))[o]=e[o]);return t},lu=(e,t)=>{const o={};for(const n in e)(!ln(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function cu(e,t,o){const{props:n,children:s,component:r}=e,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Pa(n,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let h=0;hObject.create(Oa),Ca=e=>Object.getPrototypeOf(e)===Oa;function pu(e,t,o,n=!1){const s={},r=Fa();e.propsDefaults=Object.create(null),Ia(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:gc(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function du(e,t,o,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,i=fe(s),[l]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[g,k]=Na(h,t,!0);Ce(a,g),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!l)return be(e)&&n.set(e,fo),fo;if(oe(r))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",Ir=e=>oe(e)?e.map(At):[At(e)],hu=(e,t,o)=>{if(t._n)return t;const n=zo((...s)=>Ir(t(...s)),o);return n._c=!1,n},Da=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Cr(s))continue;const r=e[s];if(re(r))t[s]=hu(s,r,n);else if(r!=null){const a=Ir(r);t[s]=()=>a}}},za=(e,t)=>{const o=Ir(t);e.slots.default=()=>o},Ua=(e,t,o)=>{for(const n in t)(o||!Cr(n))&&(e[n]=t[n])},_u=(e,t,o)=>{const n=e.slots=Fa();if(e.vnode.shapeFlag&32){const s=t._;s?(Ua(n,t,o),o&&Ls(n,"_",s,!0)):Da(t,n)}else t&&za(e,t)},mu=(e,t,o)=>{const{vnode:n,slots:s}=e;let r=!0,a=ve;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Ua(s,t,o):(r=!t.$stable,Da(t,s)),a=t}else t&&(za(e,t),a={default:1});if(r)for(const i in s)!Cr(i)&&a[i]==null&&delete s[i]},Je=yu;function gu(e){return bu(e)}function bu(e,t){const o=dn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:g,setScopeId:k=wt,insertStaticContent:E}=e,y=(f,$,_,P=null,R=null,N=null,H=void 0,W=null,u=!!$.dynamicChildren)=>{if(f===$)return;f&&!Ko(f,$)&&(P=Oe(f),Pe(f,R,N,!0),f=null),$.patchFlag===-2&&(u=!1,$.dynamicChildren=null);const{type:p,ref:S,shapeFlag:C}=$;switch(p){case Ho:O(f,$,_,P);break;case xt:F(f,$,_,P);break;case Dr:f==null&&b($,_,P,H);break;case Ge:z(f,$,_,P,R,N,H,W,u);break;default:C&1?x(f,$,_,P,R,N,H,W,u):C&6?ue(f,$,_,P,R,N,H,W,u):(C&64||C&128)&&p.process(f,$,_,P,R,N,H,W,u,ae)}S!=null&&R?jo(S,f&&f.ref,N,$||f,!$):S==null&&f&&f.ref!=null&&jo(f.ref,null,N,f,!0)},O=(f,$,_,P)=>{if(f==null)n($.el=i($.children),_,P);else{const R=$.el=f.el;$.children!==f.children&&c(R,$.children)}},F=(f,$,_,P)=>{f==null?n($.el=l($.children||""),_,P):$.el=f.el},b=(f,$,_,P)=>{[f.el,f.anchor]=E(f.children,$,_,P,f.el,f.anchor)},w=({el:f,anchor:$},_,P)=>{let R;for(;f&&f!==$;)R=g(f),n(f,_,P),f=R;n($,_,P)},m=({el:f,anchor:$})=>{let _;for(;f&&f!==$;)_=g(f),s(f),f=_;s($)},x=(f,$,_,P,R,N,H,W,u)=>{if($.type==="svg"?H="svg":$.type==="math"&&(H="mathml"),f==null)A($,_,P,R,N,H,W,u);else{const p=f.el&&f.el._isVueCE?f.el:null;try{p&&p._beginPatch(),I(f,$,R,N,H,W,u)}finally{p&&p._endPatch()}}},A=(f,$,_,P,R,N,H,W)=>{let u,p;const{props:S,shapeFlag:C,transition:G,dirs:j}=f;if(u=f.el=a(f.type,N,S&&S.is,S),C&8?d(u,f.children):C&16&&U(f.children,u,null,P,R,Nr(f,N),H,W),j&&so(f,null,P,"created"),T(u,f,f.scopeId,H,P),S){for(const M in S)M!=="value"&&!Mo(M)&&r(u,M,null,S[M],N,P);"value"in S&&r(u,"value",null,S.value,N),(p=S.onVnodeBeforeMount)&&Tt(p,P,f)}j&&so(f,null,P,"beforeMount");const v=$u(R,G);v&&G.beforeEnter(u),n(u,$,_),((p=S&&S.onVnodeMounted)||v||j)&&Je(()=>{try{p&&Tt(p,P,f),v&&G.enter(u),j&&so(f,null,P,"mounted")}finally{}},R)},T=(f,$,_,P,R)=>{if(_&&k(f,_),P)for(let N=0;N{for(let p=u;p{const W=$.el=f.el;let{patchFlag:u,dynamicChildren:p,dirs:S}=$;u|=f.patchFlag&16;const C=f.props||ve,G=$.props||ve;let j;if(_&&lo(_,!1),(j=G.onVnodeBeforeUpdate)&&Tt(j,_,$,f),S&&so($,f,_,"beforeUpdate"),_&&lo(_,!0),p&&(!f.dynamicChildren||f.dynamicChildren.length!==p.length)&&(u=0,H=!1,p=null),(C.innerHTML&&G.innerHTML==null||C.textContent&&G.textContent==null)&&d(W,""),p?J(f.dynamicChildren,p,W,_,P,Nr($,R),N):H||Q(f,$,W,null,_,P,Nr($,R),N,!1),u>0){if(u&16)ee(W,C,G,_,R);else if(u&2&&C.class!==G.class&&r(W,"class",null,G.class,R),u&4&&r(W,"style",C.style,G.style,R),u&8){const v=$.dynamicProps;for(let M=0;M{j&&Tt(j,_,$,f),S&&so($,f,_,"updated")},P)},J=(f,$,_,P,R,N,H)=>{for(let W=0;W<$.length;W++){const u=f[W],p=$[W],S=u.el&&(u.type===Ge||!Ko(u,p)||u.shapeFlag&198)?h(u.el):_;y(u,p,S,null,P,R,N,H,!0)}},ee=(f,$,_,P,R)=>{if($!==_){if($!==ve)for(const N in $)!Mo(N)&&!(N in _)&&r(f,N,$[N],null,R,P);for(const N in _){if(Mo(N))continue;const H=_[N],W=$[N];H!==W&&N!=="value"&&r(f,N,W,H,R,P)}"value"in _&&r(f,"value",$.value,_.value,R)}},z=(f,$,_,P,R,N,H,W,u)=>{const p=$.el=f?f.el:i(""),S=$.anchor=f?f.anchor:i("");let{patchFlag:C,dynamicChildren:G,slotScopeIds:j}=$;j&&(W=W?W.concat(j):j),f==null?(n(p,_,P),n(S,_,P),U($.children||[],_,S,R,N,H,W,u)):C>0&&C&64&&G&&f.dynamicChildren&&f.dynamicChildren.length===G.length?(J(f.dynamicChildren,G,_,R,N,H,W),($.key!=null||R&&$===R.subTree)&&Rr(f,$,!0)):Q(f,$,_,S,R,N,H,W,u)},ue=(f,$,_,P,R,N,H,W,u)=>{$.slotScopeIds=W,f==null?$.shapeFlag&512?R.ctx.activate($,_,P,H,u):ie($,_,P,R,N,H,u):B(f,$,u)},ie=(f,$,_,P,R,N,H)=>{const W=f.component=xu(f,P,R);if(Er(f)&&(W.ctx.renderer=ae),Au(W,!1,H),W.asyncDep){if(R&&R.registerDep(W,V,H),!f.el){const u=W.subTree=Ie(xt);F(null,u,$,_),f.placeholder=u.el}}else V(W,f,$,_,R,N,H)},B=(f,$,_)=>{const P=$.component=f.component;if(cu(f,$,_))if(P.asyncDep&&!P.asyncResolved){q(P,$,_);return}else P.next=$,P.update();else $.el=f.el,P.vnode=$},V=(f,$,_,P,R,N,H)=>{const W=()=>{if(f.isMounted){let{next:C,bu:G,u:j,parent:v,vnode:M}=f;{const D=ja(f);if(D){C&&(C.el=M.el,q(f,C,H)),D.asyncDep.then(()=>{Je(()=>{f.isUnmounted||p()},R)});return}}let Z=C,se;lo(f,!1),C?(C.el=M.el,q(f,C,H)):C=M,G&&rr(G),(se=C.props&&C.props.onVnodeBeforeUpdate)&&Tt(se,v,C,M),lo(f,!0);const we=Ta(f),L=f.subTree;f.subTree=we,y(L,we,h(L.el),Oe(L),f,R,N),C.el=we.el,Z===null&&uu(f,we.el),j&&Je(j,R),(se=C.props&&C.props.onVnodeUpdated)&&Je(()=>Tt(se,v,C,M),R)}else{let C;const{el:G,props:j}=$,{bm:v,m:M,parent:Z,root:se,type:we}=f,L=wo($);lo(f,!1),v&&rr(v),!L&&(C=j&&j.onVnodeBeforeMount)&&Tt(C,Z,$),lo(f,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(we,f.parent?f.parent.type:void 0);const D=f.subTree=Ta(f);y(null,D,_,P,f,R,N),$.el=D.el}if(M&&Je(M,R),!L&&(C=j&&j.onVnodeMounted)){const D=$;Je(()=>Tt(C,Z,D),R)}($.shapeFlag&256||Z&&wo(Z.vnode)&&Z.vnode.shapeFlag&256)&&f.a&&Je(f.a,R),f.isMounted=!0,$=_=P=null}};f.scope.on();const u=f.effect=new Cs(W);f.scope.off();const p=f.update=u.run.bind(u),S=f.job=u.runIfDirty.bind(u);S.i=f,S.id=f.uid,u.scheduler=()=>yr(S),lo(f,!0),p()},q=(f,$,_)=>{$.component=f;const P=f.vnode.props;f.vnode=$,f.next=null,du(f,$.props,P,_),mu(f,$.children,_),vt(),na(f),kt()},Q=(f,$,_,P,R,N,H,W,u=!1)=>{const p=f&&f.children,S=f?f.shapeFlag:0,C=$.children,{patchFlag:G,shapeFlag:j}=$;if(G>0){if(G&128){tt(p,C,_,P,R,N,H,W,u);return}else if(G&256){pe(p,C,_,P,R,N,H,W,u);return}}j&8?(S&16&&We(p,R,N),C!==p&&d(_,C)):S&16?j&16?tt(p,C,_,P,R,N,H,W,u):We(p,R,N,!0):(S&8&&d(_,""),j&16&&U(C,_,P,R,N,H,W,u))},pe=(f,$,_,P,R,N,H,W,u)=>{f=f||fo,$=$||fo;const p=f.length,S=$.length,C=Math.min(p,S);let G;for(G=0;GS?We(f,R,N,!0,!1,C):U($,_,P,R,N,H,W,u,C)},tt=(f,$,_,P,R,N,H,W,u)=>{let p=0;const S=$.length;let C=f.length-1,G=S-1;for(;p<=C&&p<=G;){const j=f[p],v=$[p]=u?zt($[p]):At($[p]);if(Ko(j,v))y(j,v,_,null,R,N,H,W,u);else break;p++}for(;p<=C&&p<=G;){const j=f[C],v=$[G]=u?zt($[G]):At($[G]);if(Ko(j,v))y(j,v,_,null,R,N,H,W,u);else break;C--,G--}if(p>C){if(p<=G){const j=G+1,v=jG)for(;p<=C;)Pe(f[p],R,N,!0),p++;else{const j=p,v=p,M=new Map;for(p=v;p<=G;p++){const Ee=$[p]=u?zt($[p]):At($[p]);Ee.key!=null&&M.set(Ee.key,p)}let Z,se=0;const we=G-v+1;let L=!1,D=0;const Y=new Array(we);for(p=0;p=we){Pe(Ee,R,N,!0);continue}let ze;if(Ee.key!=null)ze=M.get(Ee.key);else for(Z=v;Z<=G;Z++)if(Y[Z-v]===0&&Ko(Ee,$[Z])){ze=Z;break}ze===void 0?Pe(Ee,R,N,!0):(Y[ze-v]=p+1,ze>=D?D=ze:L=!0,y(Ee,$[ze],_,null,R,N,H,W,u),se++)}const de=L?wu(Y):fo;for(Z=de.length-1,p=we-1;p>=0;p--){const Ee=v+p,ze=$[Ee],Ot=$[Ee+1],Fe=Ee+1{const{el:N,type:H,transition:W,children:u,shapeFlag:p}=f;if(p&6){Le(f.component.subTree,$,_,P);return}if(p&128){f.suspense.move($,_,P);return}if(p&64){H.move(f,$,_,ae);return}if(H===Ge){n(N,$,_);for(let C=0;CW.enter(N),R));else{const{leave:C,delayLeave:G,afterLeave:j}=W,v=()=>{f.ctx.isUnmounted?s(N):n(N,$,_)},M=()=>{const Z=N._isLeaving||!!N[Sr];N._isLeaving&&N[Sr](!0),W.persisted&&!Z?v():C(N,()=>{v(),j&&j()})};G?G(N,v,M):M()}else n(N,$,_)},Pe=(f,$,_,P=!1,R=!1)=>{const{type:N,props:H,ref:W,children:u,dynamicChildren:p,shapeFlag:S,patchFlag:C,dirs:G,cacheIndex:j,memo:v}=f;if(C===-2&&(R=!1),W!=null&&(vt(),jo(W,null,_,f,!0),kt()),j!=null&&($.renderCache[j]=void 0),S&256){$.ctx.deactivate(f);return}const M=S&1&&G,Z=!wo(f);let se;if(Z&&(se=H&&H.onVnodeBeforeUnmount)&&Tt(se,$,f),S&6)ut(f.component,_,P);else{if(S&128){f.suspense.unmount(_,P);return}M&&so(f,null,$,"beforeUnmount"),S&64?f.type.remove(f,$,_,ae,P):p&&!p.hasOnce&&(N!==Ge||C>0&&C&64)?We(p,$,_,!1,!0):(N===Ge&&C&384||!R&&S&16)&&We(u,$,_),P&&qe(f)}const we=v!=null&&j==null;(Z&&(se=H&&H.onVnodeUnmounted)||M||we)&&Je(()=>{se&&Tt(se,$,f),M&&so(f,null,$,"unmounted"),we&&(f.el=null)},_)},qe=f=>{const{type:$,el:_,anchor:P,transition:R}=f;if($===Ge){ot(_,P);return}if($===Dr){m(f);return}const N=()=>{s(_),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(f.shapeFlag&1&&R&&!R.persisted){const{leave:H,delayLeave:W}=R,u=()=>H(_,N);W?W(f.el,N,u):u()}else N()},ot=(f,$)=>{let _;for(;f!==$;)_=g(f),s(f),f=_;s($)},ut=(f,$,_)=>{const{bum:P,scope:R,job:N,subTree:H,um:W,m:u,a:p}=f;Va(u),Va(p),P&&rr(P),R.stop(),N&&(N.flags|=8,Pe(H,f,$,_)),W&&Je(W,$),Je(()=>{f.isUnmounted=!0},$)},We=(f,$,_,P=!1,R=!1,N=0)=>{for(let H=N;H{if(f.shapeFlag&6)return Oe(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const $=g(f.anchor||f.el),_=$&&$[ua];return _?g(_):$};let at=!1;const le=(f,$,_)=>{let P;f==null?$._vnode&&(Pe($._vnode,null,null,!0),P=$._vnode.component):y($._vnode||null,f,$,null,null,null,_),$._vnode=f,at||(at=!0,na(P),ra(),at=!1)},ae={p:y,um:Pe,m:Le,r:qe,mt:ie,mc:U,pc:Q,pbc:J,n:Oe,o:e};return{render:le,hydrate:void 0,createApp:nu(le)}}function Nr({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 lo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function $u(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Rr(e,t,o=!1){const n=e.children,s=t.children;if(oe(n)&&oe(s))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,a=o[r-1];r-- >0;)o[r]=a,a=t[a];return o}function ja(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ja(t)}function Va(e){if(e)for(let t=0;te.__isSuspense;function yu(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Mc(e)}const Ge=Symbol.for("v-fgt"),Ho=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Dr=Symbol.for("v-stc"),Dt=[];let ct=null;function $e(e=!1){Dt.push(ct=e?null:[])}function zr(){Dt.pop(),ct=Dt[Dt.length-1]||null}let Go=1;function Cn(e,t=!1){Go+=e,e<0&&ct&&t&&(ct.hasOnce=!0)}function Ga(e){return e.dynamicChildren=Go>0?ct||fo:null,zr(),Go>0&&ct&&ct.push(e),e}function Me(e,t,o,n,s,r){return Ga(X(e,t,o,n,s,r,!0))}function vo(e,t,o,n,s){return Ga(Ie(e,t,o,n,s,!0))}function Bo(e){return e?e.__v_isVNode===!0:!1}function Ko(e,t){return e.type===t.type&&e.key===t.key}const Ba=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Ue(e)||re(e)?{i:rt,r:e,k:t,f:!!o}:e:null);function X(e,t=null,o=null,n=0,s=null,r=e===Ge?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ba(t),ref:t&&In(t),scopeId:aa,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:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:rt};return i?(Nn(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=xe(o)?8:16),Go>0&&!a&&ct&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ct.push(l),l}const Ie=vu;function vu(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===qc)&&(e=xt),Bo(e)){const i=ko(e,t,!0);return o&&Nn(i,o),Go>0&&!r&&ct&&(i.shapeFlag&6?ct[ct.indexOf(e)]=i:ct.push(i)),i.patchFlag=-2,i}if(Iu(e)&&(e=e.__vccOpts),t){t=ku(t);let{class:i,style:l}=t;i&&!xe(i)&&(t.class=Ke(i)),be(l)&&(br(l)&&!oe(l)&&(l=Ce({},l)),t.style=fn(l))}const a=xe(e)?1:Ha(e)?128:En(e)?64:be(e)?4:re(e)?2:0;return X(e,t,o,n,s,a,r,!0)}function ku(e){return e?br(e)||Ca(e)?Ce({},e):e:null}function ko(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=e,c=t?Su(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ba(c),ref:t&&t.ref?o&&r?oe(r)?r.concat(In(t)):[r,In(t)]:In(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ko(e.ssContent),ssFallback:e.ssFallback&&ko(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Lr(d,l.clone(d)),d}function Ur(e=" ",t=0){return Ie(Ho,null,e,t)}function qt(e="",t=!1){return t?($e(),vo(xt,null,e)):Ie(xt,null,e)}function At(e){return e==null||typeof e=="boolean"?Ie(xt):oe(e)?Ie(Ge,null,e.slice()):Bo(e)?zt(e):Ie(Ho,null,String(e))}function zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ko(e)}function Nn(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(oe(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Nn(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!Ca(t)?t._ctx=rt:s===3&&rt&&(rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(re(t)){if(n&65){Nn(e,{default:t});return}t={default:t,_ctx:rt},o=32}else t=String(t),n&64?(o=16,t=[Ur(t)]):o=8;e.children=t,e.shapeFlag|=o}function Su(...e){const t={};for(let o=0;oQe||rt;let Rn,Yo;{const e=dn(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Rn=t("__VUE_INSTANCE_SETTERS__",o=>Qe=o),Yo=t("__VUE_SSR_SETTERS__",o=>Zo=o)}const qo=e=>{const t=Qe;return Rn(e),e.scope.on(),()=>{e.scope.off(),Rn(t)}},Ka=()=>{Qe&&Qe.scope.off(),Rn(null)};function Ya(e){return e.vnode.shapeFlag&4}let Zo=!1;function Au(e,t=!1,o=!1){t&&Yo(t);const{props:n,children:s}=e.vnode,r=Ya(e);pu(e,n,r,t),_u(e,s,o||t);const a=r?Tu(e,t):void 0;return t&&Yo(!1),a}function Tu(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zc);const{setup:n}=o;if(n){vt();const s=e.setupContext=n.length>1?Mu(e):null,r=qo(e),a=mo(n,e,0,[e.props,s]),i=vs(a);if(kt(),r(),(i||e.sp)&&!wo(e)&&ha(e),i){if(a.then(Ka,Ka),t)return a.then(l=>{Yo(!0);try{qa(e,l,t)}finally{Yo(!1)}}).catch(l=>{kn(l,e,0)});e.asyncDep=a}else qa(e,a)}else Za(e)}function qa(e,t,o){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=Qs(t)),Za(e)}function Za(e,t,o){const n=e.type;e.render||(e.render=n.render||wt);{const s=qo(e);vt();try{Xc(e)}finally{kt(),s()}}}const Pu={get(e,t){return Ye(e,"get",""),e[t]}};function Mu(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Pu),slots:e.slots,emit:e.emit,expose:t}}function jr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qs(bc(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Vo)return Vo[o](e)},has(t,o){return o in t||o in Vo}})):e.proxy}const Ou=/(?:^|[-_])\w/g,Fu=e=>e.replace(Ou,t=>t.toUpperCase()).replace(/[-_]/g,"");function Cu(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Xa(e,t,o=!1){let n=Cu(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?Fu(n):o?"App":"Anonymous"}function Iu(e){return re(e)&&"__vccOpts"in e}const je=(e,t)=>vc(e,t,Zo);function Ja(e,t,o){try{Cn(-1);const n=arguments.length;return n===2?be(t)&&!oe(t)?Bo(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Bo(o)&&(o=[o]),Ie(e,t,o))}finally{Cn(1)}}const Nu="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let zr;const Xa=typeof window<"u"&&window.trustedTypes;if(Xa)try{zr=Xa.createPolicy("vue",{createHTML:e=>e})}catch{}const Za=zr?e=>zr.createHTML(e):e=>e,Fu="http://www.w3.org/2000/svg",Cu="http://www.w3.org/1998/Math/MathML",Nt=typeof document<"u"?document:null,Ja=Nt&&Nt.createElement("template"),Iu={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"?Nt.createElementNS(Fu,e):t==="mathml"?Nt.createElementNS(Cu,e):o?Nt.createElement(e,{is:o}):Nt.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Nt.createTextNode(e),createComment:e=>Nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,r){const a=o?o.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===r||!(s=s.nextSibling)););else{Ja.innerHTML=Za(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Ja.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Nu=Symbol("_vtc");function Ru(e,t,o){const n=e[Nu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Qa=Symbol("_vod"),Du=Symbol("_vsh"),zu=Symbol(""),Uu=/(?:^|;)\s*display\s*:/;function ju(e,t,o){const n=e.style,s=ve(o);let r=!1;if(o&&!s){if(t)if(ve(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();o[i]==null&&Go(n,i,"")}else for(const a in t)o[a]==null&&Go(n,a,"");for(const a in o){a==="display"&&(r=!0);const i=o[a];i!=null?Wu(e,a,!ve(t)&&t?t[a]:void 0,i)||Go(n,a,i):Go(n,a,"")}}else if(s){if(t!==o){const a=n[zu];a&&(o+=";"+a),n.cssText=o,r=Uu.test(o)}}else t&&e.removeAttribute("style");Qa in e&&(e[Qa]=r?n.display:"",e[Du]&&(n.display="none"))}const Cn=/\s*!important$/;function Go(e,t,o){if(ee(o))o.forEach(n=>Go(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Cn.test(o)?e.setProperty(t,o.replace(Cn,""),"important"):e.setProperty(t,o);else{const n=Vu(e,t);Cn.test(o)?e.setProperty(rt(n),o.replace(Cn,""),"important"):e[n]=o}}const ei=["Webkit","Moz","ms"],Ur={};function Vu(e,t){const o=Ur[t];if(o)return o;let n=tt(t);if(n!=="filter"&&n in e)return Ur[t]=n;n=ys(n);for(let s=0;sjr||(Xu.then(()=>jr=0),jr=Date.now());function Ju(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(ee(s)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const a=s.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Qu=(e,t,o,n,s,r)=>{const a=s==="svg";t==="class"?Ru(e,n,a):t==="style"?ju(e,o,n):tn(t)?on(t)||Bu(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ep(e,t,n,a))?(ni(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&oi(e,t,n,a,r,t!=="value")):e._isVueCE&&(tp(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ve(n)))?ni(e,tt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),oi(e,t,n,a))};function ep(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&si(t)&&ne(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 si(t)&&ve(o)?!1:t in e}function tp(e,t){const o=e._def.props;if(!o)return!1;const n=tt(t);return Array.isArray(o)?o.some(s=>tt(s)===n):Object.keys(o).some(s=>tt(s)===n)}const ai={};function op(e,t,o){let n=Sn(e,t);rn(n)&&(n=Oe({},n,t));class s extends Vr{constructor(a){super(n,a,o)}}return s.def=n,s}const np=typeof HTMLElement<"u"?HTMLElement:class{};class Vr extends np{constructor(t,o={},n=ci){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!==ci?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Oe({},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 Vr){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,wn(()=>{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._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!ee(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ks(this._props[l])),(i||(i=Object.create(null)))[tt(l)]=!0)}this._numberProps=i,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)fe(this,n)||Object.defineProperty(this,n,{get:()=>Ot(o[n])})}_resolveProps(t){const{props:o}=t,n=ee(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(tt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):ai;const s=tt(t);o&&this._numberProps&&this._numberProps[s]&&(n=ks(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===ai?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(rt(t),o+""):o||this.removeAttribute(rt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),cp(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Fe(this._def,Oe(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,rn(a[0])?Oe({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),rt(r)!==r&&s(rt(r),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,r=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],r.insertBefore(c,i||a),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_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;oe.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)=>rp.some(o=>e[`${o}Key`]&&!t.includes(o))},Wr=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...r)=>{for(let a=0;a{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=s=>{if(!("key"in s))return;const r=rt(s.key);if(t.some(a=>a===r||ap[a]===r))return e(s)})},lp=Oe({patchProp:Qu},Iu);let ii;function li(){return ii||(ii=fu(lp))}const cp=(...e)=>{li().render(...e)},ci=(...e)=>{const t=li().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=pp(n);if(!s)return;const r=t._component;!ne(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=o(s,!1,up(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function up(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pp(e){return ve(e)?document.querySelector(e):e}const ui={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function dp(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function fp(e,{weight:t="regular",mapbox:o}={}){return dp(e)?{"text-font":[ui[t]||ui.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}const hp="rgba(120, 128, 134, 0.28)",pi="36px",di=()=>{};function _p(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return di;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return di;const s=k=>k.classList.contains("map-scroll-edge--left");for(const k of n)k.style.background=`linear-gradient(${s(k)?"to right":"to left"}, ${hp} ${pi}, transparent ${pi})`,k.style.opacity="0",k.style.transition="opacity 0.16s ease",k.style.userSelect="none",k.style.webkitUserSelect="none";const r=k=>{k.style.opacity="1"},a=k=>{k.style.opacity="0"},i=()=>n.find(k=>!s(k))||null,l=new Set;let c=!1,p=null;const _=()=>{for(const k of n)l.has(k)||a(k)},m=()=>{const k=i();k&&(r(k),p&&clearTimeout(p),p=setTimeout(_,250))},L=()=>m(),T=k=>{if(!(k.touches&&k.touches.length===1))return;const v=k.target;v&&v.classList&&v.classList.contains("map-scroll-edge")||m()},S=()=>{p&&clearTimeout(p),_()};e.addEventListener("wheel",L,{passive:!0}),e.addEventListener("touchmove",T,{passive:!0}),e.addEventListener("touchend",S,{passive:!0}),e.addEventListener("touchcancel",S,{passive:!0});const O=()=>{c||m()};typeof window<"u"&&window.addEventListener("scroll",O,{passive:!0});const C=[];for(const k of n){const v=()=>{l.add(k),r(k)},$=()=>{l.delete(k),a(k)},P=()=>{c=!0,r(k)},A=()=>{c=!1,a(k)};k.addEventListener("mouseenter",v),k.addEventListener("mouseleave",$),k.addEventListener("touchstart",P,{passive:!0}),k.addEventListener("touchend",A,{passive:!0}),C.push(()=>{k.removeEventListener("mouseenter",v),k.removeEventListener("mouseleave",$),k.removeEventListener("touchstart",P),k.removeEventListener("touchend",A)})}return function(){p&&(clearTimeout(p),p=null),e.removeEventListener("wheel",L),e.removeEventListener("touchmove",T),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S),typeof window<"u"&&window.removeEventListener("scroll",O);for(const v of C)v();for(const v of n)a(v)}}const mp=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function fi(e,t="mapbox"){const o=mp[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function gp(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const bp=["mapbox","maplibre"],$p="auto";function hi(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function wp(e,{token:t}={}){const o=hi(e);return _i(o)||"maplibre"}function _i(e){const t=hi(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,s=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||s||$p).toLowerCase().trim();return bp.includes(r)?r:""}const Bo={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Hr(e,t){const o=Object.values(Bo).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const Gr={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function mi(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function yp(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if(mi(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const s=n.setRTLTextPlugin(Gr.maplibre,!0);s&&s.catch&&s.catch(()=>{})}else n.setRTLTextPlugin(Gr.mapbox,null,!0);o=!0}catch{}return o}async function vp(e){if(!(!e||!mi(e)||!e.getRTLTextPluginStatus))try{e.getRTLTextPluginStatus()==="unavailable"&&await e.setRTLTextPlugin(Gr.maplibre,!1);for(let t=0;t<50&&!["loaded","error"].includes(e.getRTLTextPluginStatus());t++)await new Promise(o=>setTimeout(o,100))}catch{}}const kp=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,gi=new WeakMap;function Sp(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function In(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!Sp(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let s=gi.get(e);s||(s=new Map,gi.set(e,s));let r=0;for(const a of n.layers){if(a.type!=="symbol"||!a.layout||a.layout["text-field"]==null)continue;const i=a.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!s.has(a.id))continue}else{if(!kp.test(l))continue;s.set(a.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(a.id,"text-field",c),r++}return r}catch{return 0}}const Lp={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},Ep={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:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},Ap={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Tp={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:"المعاينة غير متاحة",region_africa:"أفريقيا",region_middle_east:"الشرق الأوسط",region_central_asia:"آسيا الوسطى",region_southeast_asia_oceania:"جنوب شرق آسيا + أوقيانوسيا",region_china_mongolia:"الصين + منغوليا",region_india:"الهند",region_other:"أخرى"},xp={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},Pp={prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},Mp={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…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},Op={map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},Fp={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",region_africa:"Afrika",region_middle_east:"Naher Osten",region_central_asia:"Zentralasien",region_southeast_asia_oceania:"Südostasien + Ozeanien",region_china_mongolia:"China + Mongolei",region_india:"Indien",region_other:"Sonstige"},Cp={embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},Ip={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},Np={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…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},Rp={map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},Dp={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",region_africa:"Africa",region_middle_east:"Middle East",region_central_asia:"Central Asia",region_southeast_asia_oceania:"Southeast Asia + Oceania",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Other"},zp={embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},Up={prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},jp={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…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},Vp={map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},Wp={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",region_africa:"África",region_middle_east:"Oriente Medio",region_central_asia:"Asia Central",region_southeast_asia_oceania:"Sudeste Asiático + Oceanía",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Otros"},Hp={embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},Gp={prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},Bp={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…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},Kp={map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},Yp={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",region_africa:"Afrique",region_middle_east:"Moyen-Orient",region_central_asia:"Asie centrale",region_southeast_asia_oceania:"Asie du Sud-Est + Océanie",region_china_mongolia:"Chine + Mongolie",region_india:"Inde",region_other:"Autres"},qp={embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},Xp={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},Zp={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:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},Jp={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},Qp={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:"पूर्वावलोकन उपलब्ध नहीं",region_africa:"अफ़्रीका",region_middle_east:"मध्य पूर्व",region_central_asia:"मध्य एशिया",region_southeast_asia_oceania:"दक्षिण-पूर्व एशिया + ओशिनिया",region_china_mongolia:"चीन + मंगोलिया",region_india:"भारत",region_other:"अन्य"},ed={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},td={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},od={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…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},nd={map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},rd={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",region_africa:"Africa",region_middle_east:"Medio Oriente",region_central_asia:"Asia centrale",region_southeast_asia_oceania:"Sud-est asiatico + Oceania",region_china_mongolia:"Cina + Mongolia",region_india:"India",region_other:"Altro"},sd={embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},ad={prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},id={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…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},ld={map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},cd={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",region_africa:"África",region_middle_east:"Oriente Médio",region_central_asia:"Ásia Central",region_southeast_asia_oceania:"Sudeste Asiático + Oceania",region_china_mongolia:"China + Mongólia",region_india:"Índia",region_other:"Outros"},ud={embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},pd={prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},dd={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…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},fd={map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},hd={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ă",region_africa:"Africa",region_middle_east:"Orientul Mijlociu",region_central_asia:"Asia Centrală",region_southeast_asia_oceania:"Asia de Sud-Est + Oceania",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Altele"},_d={embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},md={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},gd={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:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},bd={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},$d={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:"предпросмотр недоступен",region_africa:"Африка",region_middle_east:"Ближний Восток",region_central_asia:"Центральная Азия",region_southeast_asia_oceania:"Юго-Восточная Азия и Океания",region_china_mongolia:"Китай и Монголия",region_india:"Индия",region_other:"Другие"},wd={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},yd={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},vd={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:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},kd={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},Sd={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:"预览不可用",region_africa:"非洲",region_middle_east:"中东",region_central_asia:"中亚",region_southeast_asia_oceania:"东南亚 + 大洋洲",region_china_mongolia:"中国 + 蒙古",region_india:"印度",region_other:"其他"},Ld={embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"};/*! +**/let Vr;const Qa=typeof window<"u"&&window.trustedTypes;if(Qa)try{Vr=Qa.createPolicy("vue",{createHTML:e=>e})}catch{}const ei=Vr?e=>Vr.createHTML(e):e=>e,Ru="http://www.w3.org/2000/svg",Du="http://www.w3.org/1998/Math/MathML",Ut=typeof document<"u"?document:null,ti=Ut&&Ut.createElement("template"),zu={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"?Ut.createElementNS(Ru,e):t==="mathml"?Ut.createElementNS(Du,e):o?Ut.createElement(e,{is:o}):Ut.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,r){const a=o?o.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===r||!(s=s.nextSibling)););else{ti.innerHTML=ei(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=ti.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Uu=Symbol("_vtc");function ju(e,t,o){const n=e[Uu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const oi=Symbol("_vod"),Vu=Symbol("_vsh"),Wu=Symbol(""),Hu=/(?:^|;)\s*display\s*:/;function Gu(e,t,o){const n=e.style,s=xe(o);let r=!1;if(o&&!s){if(t)if(xe(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();o[i]==null&&Xo(n,i,"")}else for(const a in t)o[a]==null&&Xo(n,a,"");for(const a in o){a==="display"&&(r=!0);const i=o[a];i!=null?Ku(e,a,!xe(t)&&t?t[a]:void 0,i)||Xo(n,a,i):Xo(n,a,"")}}else if(s){if(t!==o){const a=n[Wu];a&&(o+=";"+a),n.cssText=o,r=Hu.test(o)}}else t&&e.removeAttribute("style");oi in e&&(e[oi]=r?n.display:"",e[Vu]&&(n.display="none"))}const Dn=/\s*!important$/;function Xo(e,t,o){if(oe(o))o.forEach(n=>Xo(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Dn.test(o)?e.setProperty(t,o.replace(Dn,""),"important"):e.setProperty(t,o);else{const n=Bu(e,t);Dn.test(o)?e.setProperty(lt(n),o.replace(Dn,""),"important"):e[n]=o}}const ni=["Webkit","Moz","ms"],Wr={};function Bu(e,t){const o=Wr[t];if(o)return o;let n=nt(t);if(n!=="filter"&&n in e)return Wr[t]=n;n=Ss(n);for(let s=0;sHr||(ep.then(()=>Hr=0),Hr=Date.now());function op(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(oe(s)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const a=s.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,np=(e,t,o,n,s,r)=>{const a=s==="svg";t==="class"?ju(e,n,a):t==="style"?Gu(e,o,n):an(t)?ln(t)||Zu(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rp(e,t,n,a))?(ai(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&si(e,t,n,a,r,t!=="value")):e._isVueCE&&(sp(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(n)))?ai(e,nt(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),si(e,t,n,a))};function rp(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&li(t)&&re(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 li(t)&&xe(o)?!1:t in e}function sp(e,t){const o=e._def.props;if(!o)return!1;const n=nt(t);return Array.isArray(o)?o.some(s=>nt(s)===n):Object.keys(o).some(s=>nt(s)===n)}const ci={};function ap(e,t,o){let n=An(e,t);un(n)&&(n=Ce({},n,t));class s extends Gr{constructor(a){super(n,a,o)}}return s.def=n,s}const ip=typeof HTMLElement<"u"?HTMLElement:class{};class Gr extends ip{constructor(t,o={},n=di){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!==di?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Ce({},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 Gr){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,$o(()=>{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._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!oe(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Es(this._props[l])),(i||(i=Object.create(null)))[nt(l)]=!0)}this._numberProps=i,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)me(this,n)||Object.defineProperty(this,n,{get:()=>Nt(o[n])})}_resolveProps(t){const{props:o}=t,n=oe(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(nt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):ci;const s=nt(t);o&&this._numberProps&&this._numberProps[s]&&(n=Es(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===ci?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(lt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(lt(t),o+""):o||this.removeAttribute(lt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),fp(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Ie(this._def,Ce(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,un(a[0])?Ce({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),lt(r)!==r&&s(lt(r),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,r=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");s&&c.setAttribute("nonce",s),c.textContent=t[l],r.insertBefore(c,i||a),i=c,l===0&&(n||this._styleAnchors.set(this._def,c),o&&this._styleAnchors.set(o,c))}}_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;oe.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)=>lp.some(o=>e[`${o}Key`]&&!t.includes(o))},Br=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...r)=>{for(let a=0;a{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=s=>{if(!("key"in s))return;const r=lt(s.key);if(t.some(a=>a===r||up[a]===r))return e(s)})},dp=Ce({patchProp:np},zu);let ui;function pi(){return ui||(ui=gu(dp))}const fp=(...e)=>{pi().render(...e)},di=(...e)=>{const t=pi().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=_p(n);if(!s)return;const r=t._component;!re(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=o(s,!1,hp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function hp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _p(e){return xe(e)?document.querySelector(e):e}const fi={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function mp(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function gp(e,{weight:t="regular",mapbox:o}={}){return mp(e)?{"text-font":[fi[t]||fi.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}const bp="rgba(120, 128, 134, 0.28)",hi="36px",_i=()=>{};function $p(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return _i;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return _i;const s=b=>b.classList.contains("map-scroll-edge--left");for(const b of n)b.style.background=`linear-gradient(${s(b)?"to right":"to left"}, ${bp} ${hi}, transparent ${hi})`,b.style.opacity="0",b.style.transition="opacity 0.16s ease",b.style.userSelect="none",b.style.webkitUserSelect="none";const r=b=>{b.style.opacity="1"},a=b=>{b.style.opacity="0"},i=()=>n.find(b=>!s(b))||null,l=new Set;let c=!1,d=null;const h=()=>{for(const b of n)l.has(b)||a(b)},g=()=>{const b=i();b&&(r(b),d&&clearTimeout(d),d=setTimeout(h,250))},k=()=>g(),E=b=>{if(!(b.touches&&b.touches.length===1))return;const w=b.target;w&&w.classList&&w.classList.contains("map-scroll-edge")||g()},y=()=>{d&&clearTimeout(d),h()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",E,{passive:!0}),e.addEventListener("touchend",y,{passive:!0}),e.addEventListener("touchcancel",y,{passive:!0});const O=()=>{c||g()};typeof window<"u"&&window.addEventListener("scroll",O,{passive:!0});const F=[];for(const b of n){const w=()=>{l.add(b),r(b)},m=()=>{l.delete(b),a(b)},x=()=>{c=!0,r(b)},A=()=>{c=!1,a(b)};b.addEventListener("mouseenter",w),b.addEventListener("mouseleave",m),b.addEventListener("touchstart",x,{passive:!0}),b.addEventListener("touchend",A,{passive:!0}),F.push(()=>{b.removeEventListener("mouseenter",w),b.removeEventListener("mouseleave",m),b.removeEventListener("touchstart",x),b.removeEventListener("touchend",A)})}return function(){d&&(clearTimeout(d),d=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",E),e.removeEventListener("touchend",y),e.removeEventListener("touchcancel",y),typeof window<"u"&&window.removeEventListener("scroll",O);for(const w of F)w();for(const w of n)a(w)}}const wp=Object.fromEntries([{id:"midnight-glow",label:"Midnight Glow",mood:"the prayer-map dark — pins glow like embers",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"night",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["doxa-simple-map","my-upg-100-list"]},{id:"daylight",label:"Daylight",mood:"the same Standard world, lights on",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"day",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","gospel-resources"]},{id:"dawn",label:"Dawn",mood:"soft warm horizon — hopeful, quiet",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dawn",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["doxa-simple-map"]},{id:"dusk",label:"Dusk",mood:"blue hour — calm contrast for bright pins",mapbox:"mapbox://styles/mapbox/standard",lightPreset:"dusk",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["my-upg-100-list"]},{id:"paper",label:"Paper",mood:"near-white minimal — data reads like print",mapbox:"mapbox://styles/mapbox/light-v11",maplibre:"https://tiles.openfreemap.org/styles/positron",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://tiles.openfreemap.org/styles/dark",bestFor:["my-upg-100-list","cities-internet"]},{id:"streetlife",label:"Street Life",mood:"full street detail — city-scale work",mapbox:"mapbox://styles/mapbox/streets-v12",maplibre:"https://tiles.openfreemap.org/styles/bright",bestFor:["cities-internet","key-cities"]},{id:"terrain",label:"Terrain",mood:"relief + parks — where people actually live",mapbox:"mapbox://styles/mapbox/outdoors-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["doxa-research-map","country-posters"]},{id:"satellite",label:"Satellite",mood:"imagery — the real ground",mapbox:"mapbox://styles/mapbox/satellite-v9",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://tiles.openfreemap.org/styles/liberty",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://tiles.openfreemap.org/styles/fiord",bestFor:["research-dashboard"]},{id:"galaxy",label:"Galaxy",mood:"the day side of Earth floating in space — normal land, blue oceans, black void behind the sphere",mapbox:"mapbox://styles/mapbox/standard",maplibre:"https://tiles.versatiles.org/assets/styles/colorful/style.json",bestFor:["research-dashboard","my-upg-100-list"]}].map(e=>[e.id,e]));function mi(e,t="mapbox"){const o=wp[e];return o?t==="maplibre"?{style:o.maplibre,lightPreset:void 0,paint:o.paint}:{style:o.mapbox,lightPreset:o.lightPreset,paint:o.paint}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0,paint:void 0}:{style:void 0,lightPreset:void 0,paint:void 0}}function yp(e,t){if(!e||!Array.isArray(t))return[];const o=[];for(const n of t)if(!(!n||!n.layer||!n.prop))try{if(!e.getLayer(n.layer))continue;e.setPaintProperty(n.layer,n.prop,n.value),o.push(n.layer+"."+n.prop)}catch{}return o}const vp=["mapbox","maplibre"],kp="auto";function gi(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Sp(e,{token:t}={}){const o=gi(e);return bi(o)||"maplibre"}function bi(e){const t=gi(e),o=t==null?void 0:t.provider,n=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,s=typeof window<"u"?window.MAP_PROVIDER:void 0,r=String(o||n||s||kp).toLowerCase().trim();return vp.includes(r)?r:""}const Jo={mapboxGlJs:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",integrity:"sha384-tO0clamXONKwbiz7O6xJpUeyJbTSPugC+xM9clvfFvKTH3i8SmCawHGdf5quMWmZ"},mapboxGlCss:{url:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css",integrity:"sha384-rp1X/jJ9MpWPef9OimfXhOaOc4Gzs87yQvF+ajwY6X2H4PTeHNycNlLWiWvj7ehV"},maplibreGlJs:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.js",integrity:"sha384-5+cfbwT0iiub6VsQAdn6yz16nr6sDiQoHx6tm4O8OVYXHYOxcffFmCJBL0dgdvGp"},maplibreGlCss:{url:"https://cdn.jsdelivr.net/npm/maplibre-gl@5.24.0/dist/maplibre-gl.css",integrity:"sha384-uTttxo/aOKbdE5RlD/SPzSDoDmNvGlUYPjONi2MN/b7c9HPSvW07OIuyP7uL6jxK"},mapboxGeocoderJs:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js",integrity:"sha384-Lx9WK8XhZk57czwxt6B6nyaDHB5Ayrcrsu4Fw4bCp/Ot/QLOsUZ0xYqLOpOOSXZw"},mapboxGeocoderCss:{url:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",integrity:"sha384-1KNhwJNCQTr0DCi/5/OnQcFytgycxTahxNZaqKbAtqmY8bUhu26qxXqvDGXXwplS"},maplibreGeocoderJs:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.min.js",integrity:"sha384-RGV5vfoJd7alk8HE+71IyVfu19ciH1FKA15+AuXs6OeBM2npXrmTPFqG23yMiHXi"},maplibreGeocoderCss:{url:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1.9.4/dist/maplibre-gl-geocoder.css",integrity:"sha384-UkDpPApjTpHJHpcJiSNAmbobh30W0/dmt0DoKm4V8CWYRYvQ/Jhd/ijFz0tFdVnH"},d3:{url:"https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js",integrity:"sha384-CjloA8y00+1SDAUkjs099PVfnY2KmDC2BZnws9kh8D/lX1s46w6EPhpXdqMfjK6i"}};function Kr(e,t){const o=Object.values(Jo).find(n=>n.url===t);return o&&(e.integrity=o.integrity,e.crossOrigin="anonymous"),e}const Yr={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",maplibre:"https://cdn.jsdelivr.net/npm/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js"};function $i(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function Lp(e){if(typeof window>"u")return!1;const t=e?[e]:[window.maplibregl,window.mapboxgl].filter(Boolean);let o=!1;for(const n of t)if(!(!n||!n.setRTLTextPlugin))try{if($i(n)){if(n.getRTLTextPluginStatus&&n.getRTLTextPluginStatus()!=="unavailable")continue;const s=n.setRTLTextPlugin(Yr.maplibre,!0);s&&s.catch&&s.catch(()=>{})}else n.setRTLTextPlugin(Yr.mapbox,null,!0);o=!0}catch{}return o}async function Ep(e){if(!(!e||!$i(e)||!e.getRTLTextPluginStatus))try{e.getRTLTextPluginStatus()==="unavailable"&&await e.setRTLTextPlugin(Yr.maplibre,!1);for(let t=0;t<50&&!["loaded","error"].includes(e.getRTLTextPluginStatus());t++)await new Promise(o=>setTimeout(o,100))}catch{}}const xp=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,wi=new WeakMap;function Ap(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function zn(e,t){if(!e||!t)return 0;const o=String(t).split("-")[0].toLowerCase();try{if(!Ap(e))return typeof e.setLanguage=="function"&&e.setLanguage(o),0;const n=e.getStyle&&e.getStyle();if(!n||!Array.isArray(n.layers))return 0;let s=wi.get(e);s||(s=new Map,wi.set(e,s));let r=0;for(const a of n.layers){if(a.type!=="symbol"||!a.layout||a.layout["text-field"]==null)continue;const i=a.layout["text-field"],l=JSON.stringify(i);if(l.startsWith('["coalesce",["get","name:')){if(!s.has(a.id))continue}else{if(!xp.test(l))continue;s.set(a.id,i)}const c=["coalesce",["get","name:"+o],["get","name_"+o],["get","name:latin"],["get","name_en"],["get","name"]];e.setLayoutProperty(a.id,"text-field",c),r++}return r}catch{return 0}}const Tp={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين",posterMap:"خريطة الملصق",prayerList:"قائمة الصلاة",cardDeck:"مجموعة البطاقات",printOptions:"خيارات الطباعة",showOnMap:"أظهر على الخريطة",close:"إغلاق",showOnMapAria:"أظهر {label} على الخريطة",cardStockAria:"حجم بطاقة الصلاة",previewPrintPoster:"معاينة وطباعة ملصق {label}",share:"مشاركة",shareSteps:["ضع هذه الخريطة على موقعك","أعدّ قائمة بمواقع الويب في مدينتك","علّمهم أن يضعوها أيضًا","علّمهم أن يعلّموا غيرهم وضعها","لنكثر الخرائط في كل مكان ليسوع!"],clearSelection:"إلغاء التحديد",noOptions:"لا توجد نتائج",renderingLocal:"يتم إنشاء صورة بجودة الطباعة في متصفحك — لا يتم تحميل أي شيء.",postersPerRow:"الملصقات في كل صف",packetVariantAria:"تفاصيل حزمة الصلاة",packetFull:"تفاصيل كاملة",packetLightweight:"مختصرة",working:"جارٍ العمل…",postersPerRowAuto:"تلقائي"},Pp={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:"ابحث عن الشعوب أو الدول…",cards_per_row:"البطاقات في كل صف",cards_per_row_auto:"تلقائي"},Mp={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Op={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:"المعاينة غير متاحة",region_africa:"أفريقيا",region_middle_east:"الشرق الأوسط",region_central_asia:"آسيا الوسطى",region_southeast_asia_oceania:"جنوب شرق آسيا + أوقيانوسيا",region_china_mongolia:"الصين + منغوليا",region_india:"الهند",region_other:"أخرى"},Fp={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},Cp={prayForThem:"Für sie beten",adoptThem:"Sie adoptieren",moreInfo:"Mehr Infos",zoomIn:"Vergrößern",zoomOut:"Verkleinern",switchToLightMode:"Zum hellen Modus wechseln",switchToDarkMode:"Zum dunklen Modus wechseln",resetView:"Ansicht zurücksetzen",toggleFullscreen:"Vollbild umschalten",aboutThisMap:"Über diese Karte",closeMenu:"Menü schließen",reloadMap:"Karte neu laden",showClusters:"Cluster anzeigen",clusterSettings:"Cluster-Einstellungen",startAutoFly:"Auto-Flug starten",stopFlight:"Flug stoppen",speedLabel:"Geschwindigkeit:",speedOption:{slow:"Langsam",normal:"Normal",fast:"Schnell"},shareEmbed:"Teilen und einbetten",posterMap:"Posterkarte",prayerList:"Gebetsliste",cardDeck:"Kartenset",printOptions:"Druckoptionen",showOnMap:"Auf der Karte zeigen",close:"Schließen",showOnMapAria:"{label} auf der Karte zeigen",cardStockAria:"Größe der Gebetskarte",previewPrintPoster:"Vorschau und Druck des Posters {label}",share:"Teilen",shareSteps:["Binde diese Karte auf deiner Website ein","Erstelle eine Liste der Websites in deiner Stadt","Zeige ihnen, wie sie sie ebenfalls einbinden","Zeige ihnen, wie sie es anderen beibringen","Lasst uns Karten überall vermehren – für Jesus!"],clearSelection:"Auswahl aufheben",noOptions:"Keine Optionen gefunden",renderingLocal:"Ein druckfähiges Bild wird in deinem Browser erzeugt — es wird nichts hochgeladen.",postersPerRow:"Poster pro Zeile",packetVariantAria:"Detailgrad des Gebetspakets",packetFull:"Vollständig",packetLightweight:"Kompakt",working:"Wird bearbeitet…",postersPerRowAuto:"Automatisch"},Ip={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…",cards_per_row:"Karten pro Zeile",cards_per_row_auto:"Automatisch"},Np={map:"Karte",marker:"Kartenmarkierung",closePopup:"Popup schließen",zoomIn:"Vergrößern",zoomOut:"Verkleinern",resetBearing:"Ziehen, um die Karte zu drehen; klicken, um nach Norden auszurichten",toggleAttribution:"Quellenangaben ein-/ausblenden",mapFeedback:"Feedback zur Karte",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden",findMyLocation:"Meinen Standort finden",locationNotAvailable:"Standort nicht verfügbar",enableGlobe:"Globus einschalten",disableGlobe:"Globus ausschalten",ctrlScroll:"Strg + Scrollen zum Zoomen der Karte",cmdScroll:"⌘ + Scrollen zum Zoomen der Karte",twoFingers:"Mit zwei Fingern die Karte bewegen",mapboxHomepage:"Mapbox-Startseite",maplibreLogo:"MapLibre-Logo"},Rp={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",region_africa:"Afrika",region_middle_east:"Naher Osten",region_central_asia:"Zentralasien",region_southeast_asia_oceania:"Südostasien + Ozeanien",region_china_mongolia:"China + Mongolei",region_india:"Indien",region_other:"Sonstige"},Dp={embed_link:"Einbettungslink",add_to_website:"Zu Ihrer Website hinzufügen",embed_paste_hint:"Fügen Sie diesen Code in Ihren Website-Baukasten ein (WordPress, Squarespace, Wix oder jede Website, die HTML-Widgets akzeptiert)."},zp={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share",posterMap:"Poster Map",prayerList:"Prayer List",cardDeck:"Card Deck",printOptions:"Print Options",showOnMap:"Show on map",close:"Close",showOnMapAria:"Show {label} on the map",cardStockAria:"Prayer card size",working:"Working…",packetVariantAria:"Prayer packet detail",packetFull:"Full detail",packetLightweight:"Lightweight",previewPrintPoster:"Preview & print the {label} poster",clearSelection:"Clear selection",noOptions:"No options found",renderingLocal:"Rendering a print-quality image in your browser — nothing is uploaded.",postersPerRow:"Posters per row",postersPerRowAuto:"Auto"},Up={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…",cards_per_row:"Cards per row",cards_per_row_auto:"Auto"},jp={map:"Map",marker:"Map marker",closePopup:"Close popup",zoomIn:"Zoom in",zoomOut:"Zoom out",resetBearing:"Drag to rotate map, click to reset north",toggleAttribution:"Toggle attribution",mapFeedback:"Map feedback",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",findMyLocation:"Find my location",locationNotAvailable:"Location not available",enableGlobe:"Enable globe",disableGlobe:"Disable globe",ctrlScroll:"Use Ctrl + scroll to zoom the map",cmdScroll:"Use ⌘ + scroll to zoom the map",twoFingers:"Use two fingers to move the map",mapboxHomepage:"Mapbox homepage",maplibreLogo:"MapLibre logo"},Vp={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",region_africa:"Africa",region_middle_east:"Middle East",region_central_asia:"Central Asia",region_southeast_asia_oceania:"Southeast Asia + Oceania",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Other"},Wp={embed_link:"Embed link",add_to_website:"Add to Your Website",embed_paste_hint:"Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets)."},Hp={prayForThem:"Ora por ellos",adoptThem:"Adóptalos",moreInfo:"Más información",zoomIn:"Acercar",zoomOut:"Alejar",switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",resetView:"Restablecer vista",toggleFullscreen:"Alternar pantalla completa",aboutThisMap:"Acerca de este mapa",closeMenu:"Cerrar menú",reloadMap:"Recargar mapa",showClusters:"Mostrar clústeres",clusterSettings:"Ajustes de clústeres",startAutoFly:"Iniciar vuelo automático",stopFlight:"Detener vuelo",speedLabel:"Velocidad:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Compartir e incrustar",posterMap:"Mapa del cartel",prayerList:"Lista de oración",cardDeck:"Baraja de tarjetas",printOptions:"Opciones de impresión",showOnMap:"Ver en el mapa",close:"Cerrar",showOnMapAria:"Ver {label} en el mapa",cardStockAria:"Tamaño de la tarjeta de oración",previewPrintPoster:"Previsualizar e imprimir el cartel de {label}",share:"Compartir",shareSteps:["Inserta este mapa en tu sitio","Haz una lista de los sitios web de tu ciudad","Enséñales a insertarlo también","Enséñales a enseñar a otros a insertarlo","¡Multiplica los mapas por todas partes para Jesús!"],clearSelection:"Borrar la selección",noOptions:"No se encontraron opciones",renderingLocal:"Se está generando una imagen con calidad de impresión en tu navegador: no se sube nada.",postersPerRow:"Pósteres por fila",packetVariantAria:"Detalle del paquete de oración",packetFull:"Detalle completo",packetLightweight:"Ligero",working:"Procesando…",postersPerRowAuto:"Automático"},Gp={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…",cards_per_row:"Tarjetas por fila",cards_per_row_auto:"Automático"},Bp={map:"Mapa",marker:"Marcador del mapa",closePopup:"Cerrar ventana",zoomIn:"Acercar",zoomOut:"Alejar",resetBearing:"Arrastra para girar el mapa; haz clic para orientar al norte",toggleAttribution:"Mostrar u ocultar atribución",mapFeedback:"Comentarios sobre el mapa",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa",findMyLocation:"Buscar mi ubicación",locationNotAvailable:"Ubicación no disponible",enableGlobe:"Activar globo",disableGlobe:"Desactivar globo",ctrlScroll:"Usa Ctrl + desplazamiento para hacer zoom en el mapa",cmdScroll:"Usa ⌘ + desplazamiento para hacer zoom en el mapa",twoFingers:"Usa dos dedos para mover el mapa",mapboxHomepage:"Página de inicio de Mapbox",maplibreLogo:"Logotipo de MapLibre"},Kp={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",region_africa:"África",region_middle_east:"Oriente Medio",region_central_asia:"Asia Central",region_southeast_asia_oceania:"Sudeste Asiático + Oceanía",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Otros"},Yp={embed_link:"Enlace para insertar",add_to_website:"Añádelo a tu sitio web",embed_paste_hint:"Pega este código en tu creador de sitios web (WordPress, Squarespace, Wix o cualquier sitio que acepte widgets HTML)."},qp={prayForThem:"Priez pour eux",adoptThem:"Adoptez-les",moreInfo:"Plus d'infos",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",switchToLightMode:"Passer au mode clair",switchToDarkMode:"Passer au mode sombre",resetView:"Réinitialiser la vue",toggleFullscreen:"Basculer en plein écran",aboutThisMap:"À propos de cette carte",closeMenu:"Fermer le menu",reloadMap:"Recharger la carte",showClusters:"Afficher les clusters",clusterSettings:"Paramètres des clusters",startAutoFly:"Démarrer le vol auto",stopFlight:"Arrêter le vol",speedLabel:"Vitesse :",speedOption:{slow:"Lente",normal:"Normale",fast:"Rapide"},shareEmbed:"Partager et intégrer",posterMap:"Carte de l'affiche",prayerList:"Liste de prière",cardDeck:"Jeu de cartes",printOptions:"Options d'impression",showOnMap:"Voir sur la carte",close:"Fermer",showOnMapAria:"Voir {label} sur la carte",cardStockAria:"Taille de la carte de prière",previewPrintPoster:"Aperçu et impression de l’affiche {label}",share:"Partager",shareSteps:["Intégrez cette carte à votre site","Dressez la liste des sites web de votre ville","Apprenez-leur à l’intégrer aussi","Apprenez-leur à former d’autres personnes à l’intégrer","Multiplions les cartes partout pour Jésus !"],clearSelection:"Effacer la sélection",noOptions:"Aucune option trouvée",renderingLocal:"Une image de qualité impression est générée dans votre navigateur — rien n’est envoyé.",postersPerRow:"Affiches par ligne",packetVariantAria:"Niveau de détail du dossier de prière",packetFull:"Détail complet",packetLightweight:"Allégé",working:"Traitement…",postersPerRowAuto:"Auto"},Zp={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…",cards_per_row:"Cartes par ligne",cards_per_row_auto:"Automatique"},Xp={map:"Carte",marker:"Marqueur de carte",closePopup:"Fermer la fenêtre",zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetBearing:"Faites glisser pour faire pivoter la carte, cliquez pour revenir au nord",toggleAttribution:"Afficher/masquer l'attribution",mapFeedback:"Commentaires sur la carte",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",findMyLocation:"Trouver ma position",locationNotAvailable:"Position non disponible",enableGlobe:"Activer le globe",disableGlobe:"Désactiver le globe",ctrlScroll:"Utilisez Ctrl + molette pour zoomer sur la carte",cmdScroll:"Utilisez ⌘ + molette pour zoomer sur la carte",twoFingers:"Utilisez deux doigts pour déplacer la carte",mapboxHomepage:"Page d'accueil de Mapbox",maplibreLogo:"Logo MapLibre"},Jp={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",region_africa:"Afrique",region_middle_east:"Moyen-Orient",region_central_asia:"Asie centrale",region_southeast_asia_oceania:"Asie du Sud-Est + Océanie",region_china_mongolia:"Chine + Mongolie",region_india:"Inde",region_other:"Autres"},Qp={embed_link:"Lien d'intégration",add_to_website:"Ajouter à votre site web",embed_paste_hint:"Collez ce code dans votre créateur de site web (WordPress, Squarespace, Wix ou tout site acceptant les widgets HTML)."},ed={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें",posterMap:"पोस्टर मानचित्र",prayerList:"प्रार्थना सूची",cardDeck:"कार्ड सेट",printOptions:"छपाई विकल्प",showOnMap:"मानचित्र पर देखें",close:"बंद करें",showOnMapAria:"{label} को मानचित्र पर देखें",cardStockAria:"प्रार्थना कार्ड का आकार",previewPrintPoster:"{label} पोस्टर देखें और प्रिंट करें",share:"साझा करें",shareSteps:["इस मानचित्र को अपनी वेबसाइट पर लगाएँ","अपने शहर की वेबसाइटों की सूची बनाएँ","उन्हें भी इसे लगाना सिखाएँ","उन्हें सिखाएँ कि वे औरों को लगाना सिखाएँ","यीशु के लिए हर जगह मानचित्र बढ़ाएँ!"],clearSelection:"चयन हटाएँ",noOptions:"कोई विकल्प नहीं मिला",renderingLocal:"आपके ब्राउज़र में प्रिंट-गुणवत्ता वाली छवि बन रही है — कुछ भी अपलोड नहीं किया जाता।",postersPerRow:"प्रति पंक्ति पोस्टर",packetVariantAria:"प्रार्थना पैकेट विवरण",packetFull:"पूर्ण विवरण",packetLightweight:"संक्षिप्त",working:"कार्य जारी…",postersPerRowAuto:"स्वतः"},td={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:"जनसमूह या देश खोजें…",cards_per_row:"प्रति पंक्ति कार्ड",cards_per_row_auto:"स्वचालित"},od={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},nd={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:"पूर्वावलोकन उपलब्ध नहीं",region_africa:"अफ़्रीका",region_middle_east:"मध्य पूर्व",region_central_asia:"मध्य एशिया",region_southeast_asia_oceania:"दक्षिण-पूर्व एशिया + ओशिनिया",region_china_mongolia:"चीन + मंगोलिया",region_india:"भारत",region_other:"अन्य"},rd={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},sd={prayForThem:"Prega per loro",adoptThem:"Adottali",moreInfo:"Più informazioni",zoomIn:"Ingrandisci",zoomOut:"Riduci",switchToLightMode:"Passa alla modalità chiara",switchToDarkMode:"Passa alla modalità scura",resetView:"Reimposta vista",toggleFullscreen:"Attiva/disattiva schermo intero",aboutThisMap:"Informazioni su questa mappa",closeMenu:"Chiudi menu",reloadMap:"Ricarica mappa",showClusters:"Mostra cluster",clusterSettings:"Impostazioni cluster",startAutoFly:"Avvia volo automatico",stopFlight:"Ferma volo",speedLabel:"Velocità:",speedOption:{slow:"Lenta",normal:"Normale",fast:"Veloce"},shareEmbed:"Condividi e incorpora",posterMap:"Mappa del poster",prayerList:"Lista di preghiera",cardDeck:"Mazzo di carte",printOptions:"Opzioni di stampa",showOnMap:"Mostra sulla mappa",close:"Chiudi",showOnMapAria:"Mostra {label} sulla mappa",cardStockAria:"Formato della scheda di preghiera",previewPrintPoster:"Anteprima e stampa del poster {label}",share:"Condividi",shareSteps:["Incorpora questa mappa nel tuo sito","Fai un elenco dei siti web della tua città","Insegna loro a incorporarla a loro volta","Insegna loro a formare altri a incorporarla","Moltiplichiamo le mappe ovunque per Gesù!"],clearSelection:"Cancella la selezione",noOptions:"Nessuna opzione trovata",renderingLocal:"Un’immagine con qualità di stampa viene generata nel tuo browser: nulla viene caricato.",postersPerRow:"Poster per riga",packetVariantAria:"Dettaglio del pacchetto di preghiera",packetFull:"Dettaglio completo",packetLightweight:"Leggero",working:"Elaborazione…",postersPerRowAuto:"Automatico"},ad={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…",cards_per_row:"Schede per riga",cards_per_row_auto:"Automatico"},id={map:"Mappa",marker:"Indicatore sulla mappa",closePopup:"Chiudi popup",zoomIn:"Ingrandisci",zoomOut:"Riduci",resetBearing:"Trascina per ruotare la mappa, fai clic per tornare al nord",toggleAttribution:"Mostra/nascondi attribuzione",mapFeedback:"Feedback sulla mappa",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero",findMyLocation:"Trova la mia posizione",locationNotAvailable:"Posizione non disponibile",enableGlobe:"Attiva globo",disableGlobe:"Disattiva globo",ctrlScroll:"Usa Ctrl + scorrimento per ingrandire la mappa",cmdScroll:"Usa ⌘ + scorrimento per ingrandire la mappa",twoFingers:"Usa due dita per spostare la mappa",mapboxHomepage:"Home page di Mapbox",maplibreLogo:"Logo di MapLibre"},ld={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",region_africa:"Africa",region_middle_east:"Medio Oriente",region_central_asia:"Asia centrale",region_southeast_asia_oceania:"Sud-est asiatico + Oceania",region_china_mongolia:"Cina + Mongolia",region_india:"India",region_other:"Altro"},cd={embed_link:"Link di incorporamento",add_to_website:"Aggiungi al tuo sito web",embed_paste_hint:"Incolla questo codice nel tuo costruttore di siti web (WordPress, Squarespace, Wix o qualsiasi sito che accetti widget HTML)."},ud={prayForThem:"Ore por eles",adoptThem:"Adote-os",moreInfo:"Mais informações",zoomIn:"Ampliar",zoomOut:"Reduzir",switchToLightMode:"Mudar para modo claro",switchToDarkMode:"Mudar para modo escuro",resetView:"Repor vista",toggleFullscreen:"Alternar ecrã inteiro",aboutThisMap:"Sobre este mapa",closeMenu:"Fechar menu",reloadMap:"Recarregar mapa",showClusters:"Mostrar clusters",clusterSettings:"Definições de clusters",startAutoFly:"Iniciar voo automático",stopFlight:"Parar voo",speedLabel:"Velocidade:",speedOption:{slow:"Lenta",normal:"Normal",fast:"Rápida"},shareEmbed:"Partilhar e incorporar",posterMap:"Mapa do cartaz",prayerList:"Lista de oração",cardDeck:"Baralho de cartões",printOptions:"Opções de impressão",showOnMap:"Ver no mapa",close:"Fechar",showOnMapAria:"Ver {label} no mapa",cardStockAria:"Tamanho do cartão de oração",previewPrintPoster:"Pré-visualizar e imprimir o cartaz de {label}",share:"Partilhar",shareSteps:["Incorpore este mapa no seu site","Faça uma lista dos sites da sua cidade","Ensine-os a incorporá-lo também","Ensine-os a ensinar outros a incorporá-lo","Multipliquemos mapas por toda a parte para Jesus!"],clearSelection:"Limpar a seleção",noOptions:"Nenhuma opção encontrada",renderingLocal:"Uma imagem com qualidade de impressão está a ser gerada no seu navegador — nada é enviado.",postersPerRow:"Cartazes por linha",packetVariantAria:"Detalhe do pacote de oração",packetFull:"Detalhe completo",packetLightweight:"Leve",working:"Processando…",postersPerRowAuto:"Automático"},pd={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…",cards_per_row:"Cartões por linha",cards_per_row_auto:"Automático"},dd={map:"Mapa",marker:"Marcador do mapa",closePopup:"Fechar janela",zoomIn:"Aumentar zoom",zoomOut:"Diminuir zoom",resetBearing:"Arraste para girar o mapa, clique para voltar ao norte",toggleAttribution:"Mostrar/ocultar atribuição",mapFeedback:"Comentários sobre o mapa",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia",findMyLocation:"Encontrar minha localização",locationNotAvailable:"Localização indisponível",enableGlobe:"Ativar globo",disableGlobe:"Desativar globo",ctrlScroll:"Use Ctrl + rolagem para ampliar o mapa",cmdScroll:"Use ⌘ + rolagem para ampliar o mapa",twoFingers:"Use dois dedos para mover o mapa",mapboxHomepage:"Página inicial do Mapbox",maplibreLogo:"Logótipo do MapLibre"},fd={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",region_africa:"África",region_middle_east:"Oriente Médio",region_central_asia:"Ásia Central",region_southeast_asia_oceania:"Sudeste Asiático + Oceania",region_china_mongolia:"China + Mongólia",region_india:"Índia",region_other:"Outros"},hd={embed_link:"Link de incorporação",add_to_website:"Adicione ao seu site",embed_paste_hint:"Cole este código no seu construtor de sites (WordPress, Squarespace, Wix ou qualquer site que aceite widgets HTML)."},_d={prayForThem:"Roagă-te pentru ei",adoptThem:"Adoptă-i",moreInfo:"Mai multe informații",zoomIn:"Mărește",zoomOut:"Micșorează",switchToLightMode:"Comută la modul luminos",switchToDarkMode:"Comută la modul întunecat",resetView:"Resetează vizualizarea",toggleFullscreen:"Comută ecran complet",aboutThisMap:"Despre această hartă",closeMenu:"Închide meniul",reloadMap:"Reîncarcă harta",showClusters:"Arată clusterele",clusterSettings:"Setări clustere",startAutoFly:"Pornește zborul automat",stopFlight:"Oprește zborul",speedLabel:"Viteză:",speedOption:{slow:"Lent",normal:"Normal",fast:"Rapid"},shareEmbed:"Partajează și încorporează",posterMap:"Harta afișului",prayerList:"Listă de rugăciune",cardDeck:"Pachet de cartonașe",printOptions:"Opțiuni de tipărire",showOnMap:"Arată pe hartă",close:"Închide",showOnMapAria:"Arată {label} pe hartă",cardStockAria:"Dimensiunea cardului de rugăciune",previewPrintPoster:"Previzualizează și tipărește posterul {label}",share:"Distribuie",shareSteps:["Încorporează această hartă pe site-ul tău","Fă o listă cu site-urile din orașul tău","Învață-i să o încorporeze și ei","Învață-i să îi formeze pe alții să o încorporeze","Să multiplicăm hărți pretutindeni pentru Isus!"],clearSelection:"Șterge selecția",noOptions:"Nicio opțiune găsită",renderingLocal:"O imagine de calitate pentru tipar este generată în browserul tău — nimic nu este încărcat.",postersPerRow:"Postere pe rând",packetVariantAria:"Nivelul de detaliu al pachetului de rugăciune",packetFull:"Detaliu complet",packetLightweight:"Redus",working:"Se procesează…",postersPerRowAuto:"Automat"},md={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…",cards_per_row:"Carduri pe rând",cards_per_row_auto:"Automat"},gd={map:"Hartă",marker:"Marcaj pe hartă",closePopup:"Închide fereastra",zoomIn:"Mărește",zoomOut:"Micșorează",resetBearing:"Trage pentru a roti harta, apasă pentru a reveni la nord",toggleAttribution:"Afișează/ascunde atribuirea",mapFeedback:"Feedback despre hartă",enterFullscreen:"Ecran complet",exitFullscreen:"Ieși din ecran complet",findMyLocation:"Găsește-mi locația",locationNotAvailable:"Locație indisponibilă",enableGlobe:"Activează globul",disableGlobe:"Dezactivează globul",ctrlScroll:"Folosește Ctrl + derulare pentru a mări harta",cmdScroll:"Folosește ⌘ + derulare pentru a mări harta",twoFingers:"Folosește două degete pentru a muta harta",mapboxHomepage:"Pagina principală Mapbox",maplibreLogo:"Sigla MapLibre"},bd={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ă",region_africa:"Africa",region_middle_east:"Orientul Mijlociu",region_central_asia:"Asia Centrală",region_southeast_asia_oceania:"Asia de Sud-Est + Oceania",region_china_mongolia:"China + Mongolia",region_india:"India",region_other:"Altele"},$d={embed_link:"Link de încorporare",add_to_website:"Adaugă pe site-ul tău",embed_paste_hint:"Lipește acest cod în constructorul site-ului tău (WordPress, Squarespace, Wix sau orice site care acceptă widget-uri HTML)."},wd={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить",posterMap:"Карта плаката",prayerList:"Молитвенный список",cardDeck:"Набор карточек",printOptions:"Параметры печати",showOnMap:"Показать на карте",close:"Закрыть",showOnMapAria:"Показать {label} на карте",cardStockAria:"Размер молитвенной карточки",previewPrintPoster:"Просмотр и печать плаката {label}",share:"Поделиться",shareSteps:["Разместите эту карту на своём сайте","Составьте список сайтов вашего города","Научите их тоже размещать её","Научите их учить других размещать её","Умножим карты повсюду для Иисуса!"],clearSelection:"Снять выделение",noOptions:"Ничего не найдено",renderingLocal:"Изображение типографского качества создаётся в вашем браузере — ничего не загружается на сервер.",postersPerRow:"Плакатов в ряду",packetVariantAria:"Детализация молитвенного пакета",packetFull:"Полная версия",packetLightweight:"Краткая версия",working:"Выполняется…",postersPerRowAuto:"Авто"},yd={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:"Поиск народов или стран…",cards_per_row:"Карточек в ряду",cards_per_row_auto:"Авто"},vd={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},kd={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:"предпросмотр недоступен",region_africa:"Африка",region_middle_east:"Ближний Восток",region_central_asia:"Центральная Азия",region_southeast_asia_oceania:"Юго-Восточная Азия и Океания",region_china_mongolia:"Китай и Монголия",region_india:"Индия",region_other:"Другие"},Sd={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},Ld={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入",posterMap:"海报地图",prayerList:"祷告名单",cardDeck:"祷告卡组",printOptions:"打印选项",showOnMap:"在地图上显示",close:"关闭",showOnMapAria:"在地图上显示 {label}",cardStockAria:"祷告卡片尺寸",previewPrintPoster:"预览并打印 {label} 海报",share:"分享",shareSteps:["把这张地图嵌入你的网站","列出你城市里的网站","教他们也嵌入这张地图","教他们去教别人嵌入","为耶稣让地图遍地繁增!"],clearSelection:"清除选择",noOptions:"未找到选项",renderingLocal:"正在您的浏览器中生成可打印质量的图片——不会上传任何内容。",postersPerRow:"每行海报数",packetVariantAria:"祷告手册详细程度",packetFull:"完整版",packetLightweight:"精简版",working:"处理中…",postersPerRowAuto:"自动"},Ed={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:"搜索民族或国家…",cards_per_row:"每行卡片数",cards_per_row_auto:"自动"},xd={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},Ad={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:"预览不可用",region_africa:"非洲",region_middle_east:"中东",region_central_asia:"中亚",region_southeast_asia_oceania:"东南亚 + 大洋洲",region_china_mongolia:"中国 + 蒙古",region_india:"印度",region_other:"其他"},Td={embed_link:"嵌入链接",add_to_website:"添加到您的网站",embed_paste_hint:"将此代码粘贴到您的网站构建器中(WordPress、Squarespace、Wix,或任何接受 HTML 小部件的网站)。"};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Ed(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Nn=typeof window<"u",Gt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ad=(e,t,o)=>Td({l:e,k:t,s:o}),Td=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ce=e=>typeof e=="number"&&isFinite(e),xd=e=>vi(e)==="[object Date]",Bt=e=>vi(e)==="[object RegExp]",Rn=e=>te(e)&&Object.keys(e).length===0,Ve=Object.assign,Pd=Object.create,ge=(e=null)=>Pd(e);let bi;const Ko=()=>bi||(bi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ge());function $i(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function wi(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Md(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,r)=>`${s}="${wi(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,r)=>`${s}='${wi(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Od=Object.prototype.hasOwnProperty;function _t(e,t){return Od.call(e,t)}const ke=Array.isArray,ye=e=>typeof e=="function",B=e=>typeof e=="string",ie=e=>typeof e=="boolean",de=e=>e!==null&&typeof e=="object",Fd=e=>de(e)&&ye(e.then)&&ye(e.catch),yi=Object.prototype.toString,vi=e=>yi.call(e),te=e=>{if(!de(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Cd=e=>e==null?"":ke(e)||te(e)&&e.toString===yi?JSON.stringify(e,null,2):String(e);function Id(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function Dn(e){let t=e;return()=>++t}const zn=e=>!de(e)||ke(e);function Un(e,t){if(zn(e)||zn(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(de(n[r])&&!de(s[r])&&(s[r]=Array.isArray(n[r])?[]:ge()),zn(s[r])||zn(n[r])?s[r]=n[r]:o.push({src:n[r],des:s[r]}))})}}/*! + */function Pd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Un=typeof window<"u",Xt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Md=(e,t,o)=>Od({l:e,k:t,s:o}),Od=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ne=e=>typeof e=="number"&&isFinite(e),Fd=e=>Li(e)==="[object Date]",Jt=e=>Li(e)==="[object RegExp]",jn=e=>ne(e)&&Object.keys(e).length===0,Be=Object.assign,Cd=Object.create,ye=(e=null)=>Cd(e);let yi;const Qo=()=>yi||(yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ye());function vi(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function ki(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Id(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,s,r)=>`${s}="${ki(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,s,r)=>`${s}='${ki(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(n=>{e=e.replace(n,"$1javascript:")}),e}const Nd=Object.prototype.hasOwnProperty;function bt(e,t){return Nd.call(e,t)}const Te=Array.isArray,Se=e=>typeof e=="function",K=e=>typeof e=="string",ce=e=>typeof e=="boolean",he=e=>e!==null&&typeof e=="object",Rd=e=>he(e)&&Se(e.then)&&Se(e.catch),Si=Object.prototype.toString,Li=e=>Si.call(e),ne=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Dd=e=>e==null?"":Te(e)||ne(e)&&e.toString===Si?JSON.stringify(e,null,2):String(e);function zd(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}function Vn(e){let t=e;return()=>++t}const Wn=e=>!he(e)||Te(e);function Hn(e,t){if(Wn(e)||Wn(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:s}=o.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(he(n[r])&&!he(s[r])&&(s[r]=Array.isArray(n[r])?[]:ye()),Wn(s[r])||Wn(n[r])?s[r]=n[r]:o.push({src:n[r],des:s[r]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Nd(e,t,o){return{line:e,column:t,offset:o}}function jn(e,t,o){return{start:e,end:t}}const Rd=/\{([0-9a-zA-Z]+)\}/g;function ki(e,...t){return t.length===1&&Dd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rd,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Si=Object.assign,Li=e=>typeof e=="string",Dd=e=>e!==null&&typeof e=="object";function Ei(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const Br={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},zd={[Br.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Ud(e,t,...o){const n=ki(zd[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const Q={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},jd={[Q.EXPECTED_TOKEN]:"Expected token: '{0}'",[Q.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Q.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Q.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Q.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Q.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Q.EMPTY_PLACEHOLDER]:"Empty placeholder",[Q.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Q.INVALID_LINKED_FORMAT]:"Invalid linked format",[Q.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Q.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Q.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Q.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Q.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Q.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function bo(e,t,o={}){const{domain:n,messages:s,args:r}=o,a=ki((s||jd)[e]||"",...r||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=n,i}function Vd(e){throw e}const Rt=" ",Wd="\r",Je=` -`,Hd="\u2028",Gd="\u2029";function Bd(e){const t=e;let o=0,n=1,s=1,r=0;const a=x=>t[x]===Wd&&t[x+1]===Je,i=x=>t[x]===Je,l=x=>t[x]===Gd,c=x=>t[x]===Hd,p=x=>a(x)||i(x)||l(x)||c(x),_=()=>o,m=()=>n,L=()=>s,T=()=>r,S=x=>a(x)||l(x)||c(x)?Je:t[x],O=()=>S(o),C=()=>S(o+r);function k(){return r=0,p(o)&&(n++,s=0),a(o)&&o++,o++,s++,t[o]}function v(){return a(o+r)&&r++,r++,t[o+r]}function $(){o=0,n=1,s=1,r=0}function P(x=0){r=x}function A(){const x=o+r;for(;x!==o;)k();r=0}return{index:_,line:m,column:L,peekOffset:T,charAt:S,currentChar:O,currentPeek:C,next:k,peek:v,reset:$,resetPeek:P,skipToPeek:A}}const Kt=void 0,Kd=".",Ai="'",Yd="tokenizer";function qd(e,t={}){const o=t.location!==!1,n=Bd(e),s=()=>n.index(),r=()=>Nd(n.line(),n.column(),n.index()),a=r(),i=s(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:p}=t;function _(d,u,E,...F){const W=c();if(u.column+=E,u.offset+=E,p){const b=o?jn(W.startLoc,u):null,h=bo(d,b,{domain:Yd,args:F});p(h)}}function m(d,u,E){d.endLoc=r(),d.currentType=u;const F={type:u};return o&&(F.loc=jn(d.startLoc,d.endLoc)),E!=null&&(F.value=E),F}const L=d=>m(d,14);function T(d,u){return d.currentChar()===u?(d.next(),u):(_(Q.EXPECTED_TOKEN,r(),0,u),"")}function S(d){let u="";for(;d.currentPeek()===Rt||d.currentPeek()===Je;)u+=d.currentPeek(),d.peek();return u}function O(d){const u=S(d);return d.skipToPeek(),u}function C(d){if(d===Kt)return!1;const u=d.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function k(d){if(d===Kt)return!1;const u=d.charCodeAt(0);return u>=48&&u<=57}function v(d,u){const{currentType:E}=u;if(E!==2)return!1;S(d);const F=C(d.currentPeek());return d.resetPeek(),F}function $(d,u){const{currentType:E}=u;if(E!==2)return!1;S(d);const F=d.currentPeek()==="-"?d.peek():d.currentPeek(),W=k(F);return d.resetPeek(),W}function P(d,u){const{currentType:E}=u;if(E!==2)return!1;S(d);const F=d.currentPeek()===Ai;return d.resetPeek(),F}function A(d,u){const{currentType:E}=u;if(E!==8)return!1;S(d);const F=d.currentPeek()===".";return d.resetPeek(),F}function x(d,u){const{currentType:E}=u;if(E!==9)return!1;S(d);const F=C(d.currentPeek());return d.resetPeek(),F}function D(d,u){const{currentType:E}=u;if(!(E===8||E===12))return!1;S(d);const F=d.currentPeek()===":";return d.resetPeek(),F}function I(d,u){const{currentType:E}=u;if(E!==10)return!1;const F=()=>{const b=d.currentPeek();return b==="{"?C(d.peek()):b==="@"||b==="%"||b==="|"||b===":"||b==="."||b===Rt||!b?!1:b===Je?(d.peek(),F()):H(d,!1)},W=F();return d.resetPeek(),W}function Y(d){S(d);const u=d.currentPeek()==="|";return d.resetPeek(),u}function J(d){const u=S(d),E=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:E,hasSpace:u.length>0}}function H(d,u=!0){const E=(W=!1,b="",h=!1)=>{const y=d.currentPeek();return y==="{"?b==="%"?!1:W:y==="@"||!y?b==="%"?!0:W:y==="%"?(d.peek(),E(W,"%",!0)):y==="|"?b==="%"||h?!0:!(b===Rt||b===Je):y===Rt?(d.peek(),E(!0,Rt,h)):y===Je?(d.peek(),E(!0,Je,h)):!0},F=E();return u&&d.resetPeek(),F}function oe(d,u){const E=d.currentChar();return E===Kt?Kt:u(E)?(d.next(),E):null}function se(d){const u=d.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function G(d){return oe(d,se)}function z(d){const u=d.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function K(d){return oe(d,z)}function q(d){const u=d.charCodeAt(0);return u>=48&&u<=57}function be(d){return oe(d,q)}function We(d){const u=d.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function Se(d){return oe(d,We)}function Pe(d){let u="",E="";for(;u=be(d);)E+=u;return E}function Be(d){O(d);const u=d.currentChar();return u!=="%"&&_(Q.EXPECTED_TOKEN,r(),0,u),d.next(),"%"}function Qe(d){let u="";for(;;){const E=d.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(H(d))u+=E,d.next();else break;else if(E===Rt||E===Je)if(H(d))u+=E,d.next();else{if(Y(d))break;u+=E,d.next()}else u+=E,d.next()}return u}function lt(d){O(d);let u="",E="";for(;u=K(d);)E+=u;return d.currentChar()===Kt&&_(Q.UNTERMINATED_CLOSING_BRACE,r(),0),E}function He(d){O(d);let u="";return d.currentChar()==="-"?(d.next(),u+=`-${Pe(d)}`):u+=Pe(d),d.currentChar()===Kt&&_(Q.UNTERMINATED_CLOSING_BRACE,r(),0),u}function Ee(d){return d!==Ai&&d!==Je}function et(d){O(d),T(d,"'");let u="",E="";for(;u=oe(d,Ee);)u==="\\"?E+=ae(d):E+=u;const F=d.currentChar();return F===Je||F===Kt?(_(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),F===Je&&(d.next(),T(d,"'")),E):(T(d,"'"),E)}function ae(d){const u=d.currentChar();switch(u){case"\\":case"'":return d.next(),`\\${u}`;case"u":return re(d,u,4);case"U":return re(d,u,6);default:return _(Q.UNKNOWN_ESCAPE_SEQUENCE,r(),0,u),""}}function re(d,u,E){T(d,u);let F="";for(let W=0;W{const F=d.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===Rt?E:(E+=F,d.next(),u(E))};return u("")}function M(d){O(d);const u=T(d,"|");return O(d),u}function R(d,u){let E=null;switch(d.currentChar()){case"{":return u.braceNest>=1&&_(Q.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),E=m(u,2,"{"),O(d),u.braceNest++,E;case"}":return u.braceNest>0&&u.currentType===2&&_(Q.EMPTY_PLACEHOLDER,r(),0),d.next(),E=m(u,3,"}"),u.braceNest--,u.braceNest>0&&O(d),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),E;case"@":return u.braceNest>0&&_(Q.UNTERMINATED_CLOSING_BRACE,r(),0),E=N(d,u)||L(u),u.braceNest=0,E;default:{let W=!0,b=!0,h=!0;if(Y(d))return u.braceNest>0&&_(Q.UNTERMINATED_CLOSING_BRACE,r(),0),E=m(u,1,M(d)),u.braceNest=0,u.inLinked=!1,E;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return _(Q.UNTERMINATED_CLOSING_BRACE,r(),0),u.braceNest=0,V(d,u);if(W=v(d,u))return E=m(u,5,lt(d)),O(d),E;if(b=$(d,u))return E=m(u,6,He(d)),O(d),E;if(h=P(d,u))return E=m(u,7,et(d)),O(d),E;if(!W&&!b&&!h)return E=m(u,13,f(d)),_(Q.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,E.value),O(d),E;break}}return E}function N(d,u){const{currentType:E}=u;let F=null;const W=d.currentChar();switch((E===8||E===9||E===12||E===10)&&(W===Je||W===Rt)&&_(Q.INVALID_LINKED_FORMAT,r(),0),W){case"@":return d.next(),F=m(u,8,"@"),u.inLinked=!0,F;case".":return O(d),d.next(),m(u,9,".");case":":return O(d),d.next(),m(u,10,":");default:return Y(d)?(F=m(u,1,M(d)),u.braceNest=0,u.inLinked=!1,F):A(d,u)||D(d,u)?(O(d),N(d,u)):x(d,u)?(O(d),m(u,12,w(d))):I(d,u)?(O(d),W==="{"?R(d,u)||F:m(u,11,g(d))):(E===8&&_(Q.INVALID_LINKED_FORMAT,r(),0),u.braceNest=0,u.inLinked=!1,V(d,u))}}function V(d,u){let E={type:14};if(u.braceNest>0)return R(d,u)||L(u);if(u.inLinked)return N(d,u)||L(u);switch(d.currentChar()){case"{":return R(d,u)||L(u);case"}":return _(Q.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),m(u,3,"}");case"@":return N(d,u)||L(u);default:{if(Y(d))return E=m(u,1,M(d)),u.braceNest=0,u.inLinked=!1,E;const{isModulo:W,hasSpace:b}=J(d);if(W)return b?m(u,0,Qe(d)):m(u,4,Be(d));if(H(d))return m(u,0,Qe(d));break}}return E}function j(){const{currentType:d,offset:u,startLoc:E,endLoc:F}=l;return l.lastType=d,l.lastOffset=u,l.lastStartLoc=E,l.lastEndLoc=F,l.offset=s(),l.startLoc=r(),n.currentChar()===Kt?m(l,14):V(n,l)}return{nextToken:j,currentOffset:s,currentPosition:r,context:c}}const Xd="parser",Zd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Jd(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Qd(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(v,$,P,A,...x){const D=v.currentPosition();if(D.offset+=A,D.column+=A,o){const I=t?jn(P,D):null,Y=bo($,I,{domain:Xd,args:x});o(Y)}}function r(v,$,P,A,...x){const D=v.currentPosition();if(D.offset+=A,D.column+=A,n){const I=t?jn(P,D):null;n(Ud($,I,x))}}function a(v,$,P){const A={type:v};return t&&(A.start=$,A.end=$,A.loc={start:P,end:P}),A}function i(v,$,P,A){t&&(v.end=$,v.loc&&(v.loc.end=P))}function l(v,$){const P=v.context(),A=a(3,P.offset,P.startLoc);return A.value=$,i(A,v.currentOffset(),v.currentPosition()),A}function c(v,$){const P=v.context(),{lastOffset:A,lastStartLoc:x}=P,D=a(5,A,x);return D.index=parseInt($,10),v.nextToken(),i(D,v.currentOffset(),v.currentPosition()),D}function p(v,$,P){const A=v.context(),{lastOffset:x,lastStartLoc:D}=A,I=a(4,x,D);return I.key=$,P===!0&&(I.modulo=!0),v.nextToken(),i(I,v.currentOffset(),v.currentPosition()),I}function _(v,$){const P=v.context(),{lastOffset:A,lastStartLoc:x}=P,D=a(9,A,x);return D.value=$.replace(Zd,Jd),v.nextToken(),i(D,v.currentOffset(),v.currentPosition()),D}function m(v){const $=v.nextToken(),P=v.context(),{lastOffset:A,lastStartLoc:x}=P,D=a(8,A,x);return $.type!==12?(s(v,Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,P.lastStartLoc,0),D.value="",i(D,A,x),{nextConsumeToken:$,node:D}):($.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,mt($)),D.value=$.value||"",i(D,v.currentOffset(),v.currentPosition()),{node:D})}function L(v,$){const P=v.context(),A=a(7,P.offset,P.startLoc);return A.value=$,i(A,v.currentOffset(),v.currentPosition()),A}function T(v){const $=v.context(),P=a(6,$.offset,$.startLoc);let A=v.nextToken();if(A.type===9){const x=m(v);P.modifier=x.node,A=x.nextConsumeToken||v.nextToken()}switch(A.type!==10&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(A)),A=v.nextToken(),A.type===2&&(A=v.nextToken()),A.type){case 11:A.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(A)),P.key=L(v,A.value||"");break;case 5:A.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(A)),P.key=p(v,A.value||"");break;case 6:A.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(A)),P.key=c(v,A.value||"");break;case 7:A.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(A)),P.key=_(v,A.value||"");break;default:{s(v,Q.UNEXPECTED_EMPTY_LINKED_KEY,$.lastStartLoc,0);const x=v.context(),D=a(7,x.offset,x.startLoc);return D.value="",i(D,x.offset,x.startLoc),P.key=D,i(P,x.offset,x.startLoc),{nextConsumeToken:A,node:P}}}return i(P,v.currentOffset(),v.currentPosition()),{node:P}}function S(v){const $=v.context(),P=$.currentType===1?v.currentOffset():$.offset,A=$.currentType===1?$.endLoc:$.startLoc,x=a(2,P,A);x.items=[];let D=null,I=null;do{const H=D||v.nextToken();switch(D=null,H.type){case 0:H.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(H)),x.items.push(l(v,H.value||""));break;case 6:H.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(H)),x.items.push(c(v,H.value||""));break;case 4:I=!0;break;case 5:H.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(H)),x.items.push(p(v,H.value||"",!!I)),I&&(r(v,Br.USE_MODULO_SYNTAX,$.lastStartLoc,0,mt(H)),I=null);break;case 7:H.value==null&&s(v,Q.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,mt(H)),x.items.push(_(v,H.value||""));break;case 8:{const oe=T(v);x.items.push(oe.node),D=oe.nextConsumeToken||null;break}}}while($.currentType!==14&&$.currentType!==1);const Y=$.currentType===1?$.lastOffset:v.currentOffset(),J=$.currentType===1?$.lastEndLoc:v.currentPosition();return i(x,Y,J),x}function O(v,$,P,A){const x=v.context();let D=A.items.length===0;const I=a(1,$,P);I.cases=[],I.cases.push(A);do{const Y=S(v);D||(D=Y.items.length===0),I.cases.push(Y)}while(x.currentType!==14);return D&&s(v,Q.MUST_HAVE_MESSAGES_IN_PLURAL,P,0),i(I,v.currentOffset(),v.currentPosition()),I}function C(v){const $=v.context(),{offset:P,startLoc:A}=$,x=S(v);return $.currentType===14?x:O(v,P,A,x)}function k(v){const $=qd(v,Si({},e)),P=$.context(),A=a(0,P.offset,P.startLoc);return t&&A.loc&&(A.loc.source=v),A.body=C($),e.onCacheKey&&(A.cacheKey=e.onCacheKey(v)),P.currentType!==14&&s($,Q.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,v[P.offset]||""),i(A,$.currentOffset(),$.currentPosition()),A}return{parse:k}}function mt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ef(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Ti(e,t){for(let o=0;oxi(o)),e}function xi(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;oa;function l(S,O){a.code+=S}function c(S,O=!0){const C=O?n:"";l(s?C+" ".repeat(S):C)}function p(S=!0){const O=++a.indentLevel;S&&c(O)}function _(S=!0){const O=--a.indentLevel;S&&c(O)}function m(){c(a.indentLevel)}return{context:i,push:l,indent:p,deindent:_,newline:m,helper:S=>`_${S}`,needIndent:()=>a.needIndent}}function af(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),wo(e,t.key),t.modifier?(e.push(", "),wo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function lf(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let r=0;r{const o=Li(t.mode)?t.mode:"normal",n=Li(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,r=t.needIndent?t.needIndent:o!=="arrow",a=e.helpers||[],i=sf(e,{filename:n,breakLineCode:s,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),a.length>0&&(i.push(`const { ${Ei(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),i.newline()),i.push("return "),wo(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function df(e,t={}){const o=Si({},t),n=!!o.jit,s=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Qd(o).parse(e);return n?(r&&of(i),s&&$o(i),{ast:i,code:""}):(tf(i,o),pf(i,o))}/*! + */function Ud(e,t,o){return{line:e,column:t,offset:o}}function Gn(e,t,o){return{start:e,end:t}}const jd=/\{([0-9a-zA-Z]+)\}/g;function Ei(e,...t){return t.length===1&&Vd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(jd,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const xi=Object.assign,Ai=e=>typeof e=="string",Vd=e=>e!==null&&typeof e=="object";function Ti(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const qr={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Wd={[qr.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Hd(e,t,...o){const n=Ei(Wd[e],...o||[]),s={message:String(n),code:e};return t&&(s.location=t),s}const te={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Gd={[te.EXPECTED_TOKEN]:"Expected token: '{0}'",[te.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[te.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[te.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[te.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[te.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[te.EMPTY_PLACEHOLDER]:"Empty placeholder",[te.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[te.INVALID_LINKED_FORMAT]:"Invalid linked format",[te.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[te.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[te.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[te.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[te.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[te.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function So(e,t,o={}){const{domain:n,messages:s,args:r}=o,a=Ei((s||Gd)[e]||"",...r||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=n,i}function Bd(e){throw e}const jt=" ",Kd="\r",et=` +`,Yd="\u2028",qd="\u2029";function Zd(e){const t=e;let o=0,n=1,s=1,r=0;const a=T=>t[T]===Kd&&t[T+1]===et,i=T=>t[T]===et,l=T=>t[T]===qd,c=T=>t[T]===Yd,d=T=>a(T)||i(T)||l(T)||c(T),h=()=>o,g=()=>n,k=()=>s,E=()=>r,y=T=>a(T)||l(T)||c(T)?et:t[T],O=()=>y(o),F=()=>y(o+r);function b(){return r=0,d(o)&&(n++,s=0),a(o)&&o++,o++,s++,t[o]}function w(){return a(o+r)&&r++,r++,t[o+r]}function m(){o=0,n=1,s=1,r=0}function x(T=0){r=T}function A(){const T=o+r;for(;T!==o;)b();r=0}return{index:h,line:g,column:k,peekOffset:E,charAt:y,currentChar:O,currentPeek:F,next:b,peek:w,reset:m,resetPeek:x,skipToPeek:A}}const Qt=void 0,Xd=".",Pi="'",Jd="tokenizer";function Qd(e,t={}){const o=t.location!==!1,n=Zd(e),s=()=>n.index(),r=()=>Ud(n.line(),n.column(),n.index()),a=r(),i=s(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function h(u,p,S,...C){const G=c();if(p.column+=S,p.offset+=S,d){const j=o?Gn(G.startLoc,p):null,v=So(u,j,{domain:Jd,args:C});d(v)}}function g(u,p,S){u.endLoc=r(),u.currentType=p;const C={type:p};return o&&(C.loc=Gn(u.startLoc,u.endLoc)),S!=null&&(C.value=S),C}const k=u=>g(u,14);function E(u,p){return u.currentChar()===p?(u.next(),p):(h(te.EXPECTED_TOKEN,r(),0,p),"")}function y(u){let p="";for(;u.currentPeek()===jt||u.currentPeek()===et;)p+=u.currentPeek(),u.peek();return p}function O(u){const p=y(u);return u.skipToPeek(),p}function F(u){if(u===Qt)return!1;const p=u.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function b(u){if(u===Qt)return!1;const p=u.charCodeAt(0);return p>=48&&p<=57}function w(u,p){const{currentType:S}=p;if(S!==2)return!1;y(u);const C=F(u.currentPeek());return u.resetPeek(),C}function m(u,p){const{currentType:S}=p;if(S!==2)return!1;y(u);const C=u.currentPeek()==="-"?u.peek():u.currentPeek(),G=b(C);return u.resetPeek(),G}function x(u,p){const{currentType:S}=p;if(S!==2)return!1;y(u);const C=u.currentPeek()===Pi;return u.resetPeek(),C}function A(u,p){const{currentType:S}=p;if(S!==8)return!1;y(u);const C=u.currentPeek()===".";return u.resetPeek(),C}function T(u,p){const{currentType:S}=p;if(S!==9)return!1;y(u);const C=F(u.currentPeek());return u.resetPeek(),C}function U(u,p){const{currentType:S}=p;if(!(S===8||S===12))return!1;y(u);const C=u.currentPeek()===":";return u.resetPeek(),C}function I(u,p){const{currentType:S}=p;if(S!==10)return!1;const C=()=>{const j=u.currentPeek();return j==="{"?F(u.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===jt||!j?!1:j===et?(u.peek(),C()):z(u,!1)},G=C();return u.resetPeek(),G}function J(u){y(u);const p=u.currentPeek()==="|";return u.resetPeek(),p}function ee(u){const p=y(u),S=u.currentPeek()==="%"&&u.peek()==="{";return u.resetPeek(),{isModulo:S,hasSpace:p.length>0}}function z(u,p=!0){const S=(G=!1,j="",v=!1)=>{const M=u.currentPeek();return M==="{"?j==="%"?!1:G:M==="@"||!M?j==="%"?!0:G:M==="%"?(u.peek(),S(G,"%",!0)):M==="|"?j==="%"||v?!0:!(j===jt||j===et):M===jt?(u.peek(),S(!0,jt,v)):M===et?(u.peek(),S(!0,et,v)):!0},C=S();return p&&u.resetPeek(),C}function ue(u,p){const S=u.currentChar();return S===Qt?Qt:p(S)?(u.next(),S):null}function ie(u){const p=u.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function B(u){return ue(u,ie)}function V(u){const p=u.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function q(u){return ue(u,V)}function Q(u){const p=u.charCodeAt(0);return p>=48&&p<=57}function pe(u){return ue(u,Q)}function tt(u){const p=u.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function Le(u){return ue(u,tt)}function Pe(u){let p="",S="";for(;p=pe(u);)S+=p;return S}function qe(u){O(u);const p=u.currentChar();return p!=="%"&&h(te.EXPECTED_TOKEN,r(),0,p),u.next(),"%"}function ot(u){let p="";for(;;){const S=u.currentChar();if(S==="{"||S==="}"||S==="@"||S==="|"||!S)break;if(S==="%")if(z(u))p+=S,u.next();else break;else if(S===jt||S===et)if(z(u))p+=S,u.next();else{if(J(u))break;p+=S,u.next()}else p+=S,u.next()}return p}function ut(u){O(u);let p="",S="";for(;p=q(u);)S+=p;return u.currentChar()===Qt&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),S}function We(u){O(u);let p="";return u.currentChar()==="-"?(u.next(),p+=`-${Pe(u)}`):p+=Pe(u),u.currentChar()===Qt&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),p}function Oe(u){return u!==Pi&&u!==et}function at(u){O(u),E(u,"'");let p="",S="";for(;p=ue(u,Oe);)p==="\\"?S+=le(u):S+=p;const C=u.currentChar();return C===et||C===Qt?(h(te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),C===et&&(u.next(),E(u,"'")),S):(E(u,"'"),S)}function le(u){const p=u.currentChar();switch(p){case"\\":case"'":return u.next(),`\\${p}`;case"u":return ae(u,p,4);case"U":return ae(u,p,6);default:return h(te.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function ae(u,p,S){E(u,p);let C="";for(let G=0;G{const C=u.currentChar();return C==="{"||C==="%"||C==="@"||C==="|"||C==="("||C===")"||!C||C===jt?S:(S+=C,u.next(),p(S))};return p("")}function P(u){O(u);const p=E(u,"|");return O(u),p}function R(u,p){let S=null;switch(u.currentChar()){case"{":return p.braceNest>=1&&h(te.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),u.next(),S=g(p,2,"{"),O(u),p.braceNest++,S;case"}":return p.braceNest>0&&p.currentType===2&&h(te.EMPTY_PLACEHOLDER,r(),0),u.next(),S=g(p,3,"}"),p.braceNest--,p.braceNest>0&&O(u),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),S;case"@":return p.braceNest>0&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),S=N(u,p)||k(p),p.braceNest=0,S;default:{let G=!0,j=!0,v=!0;if(J(u))return p.braceNest>0&&h(te.UNTERMINATED_CLOSING_BRACE,r(),0),S=g(p,1,P(u)),p.braceNest=0,p.inLinked=!1,S;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return h(te.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,H(u,p);if(G=w(u,p))return S=g(p,5,ut(u)),O(u),S;if(j=m(u,p))return S=g(p,6,We(u)),O(u),S;if(v=x(u,p))return S=g(p,7,at(u)),O(u),S;if(!G&&!j&&!v)return S=g(p,13,f(u)),h(te.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,S.value),O(u),S;break}}return S}function N(u,p){const{currentType:S}=p;let C=null;const G=u.currentChar();switch((S===8||S===9||S===12||S===10)&&(G===et||G===jt)&&h(te.INVALID_LINKED_FORMAT,r(),0),G){case"@":return u.next(),C=g(p,8,"@"),p.inLinked=!0,C;case".":return O(u),u.next(),g(p,9,".");case":":return O(u),u.next(),g(p,10,":");default:return J(u)?(C=g(p,1,P(u)),p.braceNest=0,p.inLinked=!1,C):A(u,p)||U(u,p)?(O(u),N(u,p)):T(u,p)?(O(u),g(p,12,$(u))):I(u,p)?(O(u),G==="{"?R(u,p)||C:g(p,11,_(u))):(S===8&&h(te.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,H(u,p))}}function H(u,p){let S={type:14};if(p.braceNest>0)return R(u,p)||k(p);if(p.inLinked)return N(u,p)||k(p);switch(u.currentChar()){case"{":return R(u,p)||k(p);case"}":return h(te.UNBALANCED_CLOSING_BRACE,r(),0),u.next(),g(p,3,"}");case"@":return N(u,p)||k(p);default:{if(J(u))return S=g(p,1,P(u)),p.braceNest=0,p.inLinked=!1,S;const{isModulo:G,hasSpace:j}=ee(u);if(G)return j?g(p,0,ot(u)):g(p,4,qe(u));if(z(u))return g(p,0,ot(u));break}}return S}function W(){const{currentType:u,offset:p,startLoc:S,endLoc:C}=l;return l.lastType=u,l.lastOffset=p,l.lastStartLoc=S,l.lastEndLoc=C,l.offset=s(),l.startLoc=r(),n.currentChar()===Qt?g(l,14):H(n,l)}return{nextToken:W,currentOffset:s,currentPosition:r,context:c}}const ef="parser",tf=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function of(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function nf(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(w,m,x,A,...T){const U=w.currentPosition();if(U.offset+=A,U.column+=A,o){const I=t?Gn(x,U):null,J=So(m,I,{domain:ef,args:T});o(J)}}function r(w,m,x,A,...T){const U=w.currentPosition();if(U.offset+=A,U.column+=A,n){const I=t?Gn(x,U):null;n(Hd(m,I,T))}}function a(w,m,x){const A={type:w};return t&&(A.start=m,A.end=m,A.loc={start:x,end:x}),A}function i(w,m,x,A){t&&(w.end=m,w.loc&&(w.loc.end=x))}function l(w,m){const x=w.context(),A=a(3,x.offset,x.startLoc);return A.value=m,i(A,w.currentOffset(),w.currentPosition()),A}function c(w,m){const x=w.context(),{lastOffset:A,lastStartLoc:T}=x,U=a(5,A,T);return U.index=parseInt(m,10),w.nextToken(),i(U,w.currentOffset(),w.currentPosition()),U}function d(w,m,x){const A=w.context(),{lastOffset:T,lastStartLoc:U}=A,I=a(4,T,U);return I.key=m,x===!0&&(I.modulo=!0),w.nextToken(),i(I,w.currentOffset(),w.currentPosition()),I}function h(w,m){const x=w.context(),{lastOffset:A,lastStartLoc:T}=x,U=a(9,A,T);return U.value=m.replace(tf,of),w.nextToken(),i(U,w.currentOffset(),w.currentPosition()),U}function g(w){const m=w.nextToken(),x=w.context(),{lastOffset:A,lastStartLoc:T}=x,U=a(8,A,T);return m.type!==12?(s(w,te.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),U.value="",i(U,A,T),{nextConsumeToken:m,node:U}):(m.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$t(m)),U.value=m.value||"",i(U,w.currentOffset(),w.currentPosition()),{node:U})}function k(w,m){const x=w.context(),A=a(7,x.offset,x.startLoc);return A.value=m,i(A,w.currentOffset(),w.currentPosition()),A}function E(w){const m=w.context(),x=a(6,m.offset,m.startLoc);let A=w.nextToken();if(A.type===9){const T=g(w);x.modifier=T.node,A=T.nextConsumeToken||w.nextToken()}switch(A.type!==10&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(A)),A=w.nextToken(),A.type===2&&(A=w.nextToken()),A.type){case 11:A.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(A)),x.key=k(w,A.value||"");break;case 5:A.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(A)),x.key=d(w,A.value||"");break;case 6:A.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(A)),x.key=c(w,A.value||"");break;case 7:A.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(A)),x.key=h(w,A.value||"");break;default:{s(w,te.UNEXPECTED_EMPTY_LINKED_KEY,m.lastStartLoc,0);const T=w.context(),U=a(7,T.offset,T.startLoc);return U.value="",i(U,T.offset,T.startLoc),x.key=U,i(x,T.offset,T.startLoc),{nextConsumeToken:A,node:x}}}return i(x,w.currentOffset(),w.currentPosition()),{node:x}}function y(w){const m=w.context(),x=m.currentType===1?w.currentOffset():m.offset,A=m.currentType===1?m.endLoc:m.startLoc,T=a(2,x,A);T.items=[];let U=null,I=null;do{const z=U||w.nextToken();switch(U=null,z.type){case 0:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(z)),T.items.push(l(w,z.value||""));break;case 6:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(z)),T.items.push(c(w,z.value||""));break;case 4:I=!0;break;case 5:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(z)),T.items.push(d(w,z.value||"",!!I)),I&&(r(w,qr.USE_MODULO_SYNTAX,m.lastStartLoc,0,$t(z)),I=null);break;case 7:z.value==null&&s(w,te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,$t(z)),T.items.push(h(w,z.value||""));break;case 8:{const ue=E(w);T.items.push(ue.node),U=ue.nextConsumeToken||null;break}}}while(m.currentType!==14&&m.currentType!==1);const J=m.currentType===1?m.lastOffset:w.currentOffset(),ee=m.currentType===1?m.lastEndLoc:w.currentPosition();return i(T,J,ee),T}function O(w,m,x,A){const T=w.context();let U=A.items.length===0;const I=a(1,m,x);I.cases=[],I.cases.push(A);do{const J=y(w);U||(U=J.items.length===0),I.cases.push(J)}while(T.currentType!==14);return U&&s(w,te.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),i(I,w.currentOffset(),w.currentPosition()),I}function F(w){const m=w.context(),{offset:x,startLoc:A}=m,T=y(w);return m.currentType===14?T:O(w,x,A,T)}function b(w){const m=Qd(w,xi({},e)),x=m.context(),A=a(0,x.offset,x.startLoc);return t&&A.loc&&(A.loc.source=w),A.body=F(m),e.onCacheKey&&(A.cacheKey=e.onCacheKey(w)),x.currentType!==14&&s(m,te.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,w[x.offset]||""),i(A,m.currentOffset(),m.currentPosition()),A}return{parse:b}}function $t(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function rf(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function Mi(e,t){for(let o=0;oOi(o)),e}function Oi(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let o=0;oa;function l(y,O){a.code+=y}function c(y,O=!0){const F=O?n:"";l(s?F+" ".repeat(y):F)}function d(y=!0){const O=++a.indentLevel;y&&c(O)}function h(y=!0){const O=--a.indentLevel;y&&c(O)}function g(){c(a.indentLevel)}return{context:i,push:l,indent:d,deindent:h,newline:g,helper:y=>`_${y}`,needIndent:()=>a.needIndent}}function pf(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),Eo(e,t.key),t.modifier?(e.push(", "),Eo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function df(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let r=0;r{const o=Ai(t.mode)?t.mode:"normal",n=Ai(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,r=t.needIndent?t.needIndent:o!=="arrow",a=e.helpers||[],i=uf(e,{filename:n,breakLineCode:s,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),a.length>0&&(i.push(`const { ${Ti(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),i.newline()),i.push("return "),Eo(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function mf(e,t={}){const o=xi({},t),n=!!o.jit,s=!!o.minify,r=o.optimize==null?!0:o.optimize,i=nf(o).parse(e);return n?(r&&af(i),s&&Lo(i),{ast:i,code:""}):(sf(i,o),_f(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function ff(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}function At(e){return de(e)&&Yr(e)===0&&(_t(e,"b")||_t(e,"body"))}const Pi=["b","body"];function hf(e){return Yt(e,Pi)}const Mi=["c","cases"];function _f(e){return Yt(e,Mi,[])}const Oi=["s","static"];function mf(e){return Yt(e,Oi)}const Fi=["i","items"];function gf(e){return Yt(e,Fi,[])}const Ci=["t","type"];function Yr(e){return Yt(e,Ci)}const Ii=["v","value"];function Vn(e,t){const o=Yt(e,Ii);if(o!=null)return o;throw Yo(t)}const Ni=["m","modifier"];function bf(e){return Yt(e,Ni)}const Ri=["k","key"];function $f(e){const t=Yt(e,Ri);if(t)return t;throw Yo(6)}function Yt(e,t,o){for(let n=0;n{a===void 0?a=i:a+=i},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,n=4,m[0]();else{if(s=0,a===void 0||(a=Sf(a),a===!1))return!1;m[1]()}};function L(){const T=e[o+1];if(n===5&&T==="'"||n===6&&T==='"')return o++,i="\\"+T,m[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&L())){if(l=kf(r),_=qt[n],c=_[l]||_.l||8,c===8||(n=c[0],c[1]!==void 0&&(p=m[c[1]],p&&(i=r,p()===!1))))return;if(n===7)return t}}const zi=new Map;function Ef(e,t){return de(e)?e[t]:null}function Af(e,t){if(!de(e))return null;let o=zi.get(t);if(o||(o=Lf(t),o&&zi.set(t,o)),!o)return null;const n=o.length;let s=e,r=0;for(;re,xf=e=>"",Pf="text",Mf=e=>e.length===0?"":Id(e),Of=Cd;function Ui(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ff(e){const t=Ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ce(e.named.count)||Ce(e.named.n))?Ce(e.named.count)?e.named.count:Ce(e.named.n)?e.named.n:t:t}function Cf(e,t){t.count||(t.count=e),t.n||(t.n=e)}function If(e={}){const t=e.locale,o=Ff(e),n=de(e.pluralRules)&&B(t)&&ye(e.pluralRules[t])?e.pluralRules[t]:Ui,s=de(e.pluralRules)&&B(t)&&ye(e.pluralRules[t])?Ui:void 0,r=C=>C[n(o,C.length,s)],a=e.list||[],i=C=>a[C],l=e.named||ge();Ce(e.pluralIndex)&&Cf(o,l);const c=C=>l[C];function p(C){const k=ye(e.messages)?e.messages(C):de(e.messages)?e.messages[C]:!1;return k||(e.parent?e.parent.message(C):xf)}const _=C=>e.modifiers?e.modifiers[C]:Tf,m=te(e.processor)&&ye(e.processor.normalize)?e.processor.normalize:Mf,L=te(e.processor)&&ye(e.processor.interpolate)?e.processor.interpolate:Of,T=te(e.processor)&&B(e.processor.type)?e.processor.type:Pf,O={list:i,named:c,plural:r,linked:(C,...k)=>{const[v,$]=k;let P="text",A="";k.length===1?de(v)?(A=v.modifier||A,P=v.type||P):B(v)&&(A=v||A):k.length===2&&(B(v)&&(A=v||A),B($)&&(P=$||P));const x=p(C)(O),D=P==="vnode"&&ke(x)&&A?x[0]:x;return A?_(A)(D,P):D},message:p,type:T,interpolate:L,normalize:m,values:Ve(ge(),a,l)};return O}let qo=null;function Nf(e){qo=e}function Rf(e,t,o){qo&&qo.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Df=zf("function:translate");function zf(e){return t=>qo&&qo.emit(e,t)}const Uf=Br.__EXTEND_POINT__,ro=Dn(Uf),jf={FALLBACK_TO_TRANSLATE:ro(),CANNOT_FORMAT_NUMBER:ro(),FALLBACK_TO_NUMBER_FORMAT:ro(),CANNOT_FORMAT_DATE:ro(),FALLBACK_TO_DATE_FORMAT:ro(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ro(),__EXTEND_POINT__:ro()},ji=Q.__EXTEND_POINT__,so=Dn(ji),Tt={INVALID_ARGUMENT:ji,INVALID_DATE_ARGUMENT:so(),INVALID_ISO_DATE_ARGUMENT:so(),NOT_SUPPORT_NON_STRING_MESSAGE:so(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:so(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:so(),NOT_SUPPORT_LOCALE_TYPE:so(),__EXTEND_POINT__:so()};function Dt(e){return bo(e,null,void 0)}function qr(e,t){return t.locale!=null?Vi(t.locale):Vi(e.locale)}let Xr;function Vi(e){if(B(e))return e;if(ye(e)){if(e.resolvedOnce&&Xr!=null)return Xr;if(e.constructor.name==="Function"){const t=e();if(Fd(t))throw Dt(Tt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Xr=t}else throw Dt(Tt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Dt(Tt.NOT_SUPPORT_LOCALE_TYPE)}function Vf(e,t,o){return[...new Set([o,...ke(t)?t:de(t)?Object.keys(t):B(t)?[t]:[o]])]}function Wi(e,t,o){const n=B(o)?o:yo,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(n);if(!r){r=[];let a=[o];for(;ke(a);)a=Hi(r,a,t);const i=ke(t)||!te(t)?t:t.default?t.default:null;a=B(i)?[i]:i,ke(a)&&Hi(r,a,!1),s.__localeChainCache.set(n,r)}return r}function Hi(e,t,o){let n=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Bf(){return{upper:(e,t)=>t==="text"&&B(e)?e.toUpperCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&B(e)?e.toLowerCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&B(e)?Bi(e):t==="vnode"&&de(e)&&"__v_isVNode"in e?Bi(e.children):e}}let Ki;function Kf(e){Ki=e}let Yi;function Yf(e){Yi=e}let qi;function qf(e){qi=e}let Xi=null;const Xf=e=>{Xi=e},Zf=()=>Xi;let Zi=null;const Ji=e=>{Zi=e},Jf=()=>Zi;let Qi=0;function Qf(e={}){const t=ye(e.onWarn)?e.onWarn:Ed,o=B(e.version)?e.version:Gf,n=B(e.locale)||ye(e.locale)?e.locale:yo,s=ye(n)?yo:n,r=ke(e.fallbackLocale)||te(e.fallbackLocale)||B(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=te(e.messages)?e.messages:Zr(s),i=te(e.datetimeFormats)?e.datetimeFormats:Zr(s),l=te(e.numberFormats)?e.numberFormats:Zr(s),c=Ve(ge(),e.modifiers,Bf()),p=e.pluralRules||ge(),_=ye(e.missing)?e.missing:null,m=ie(e.missingWarn)||Bt(e.missingWarn)?e.missingWarn:!0,L=ie(e.fallbackWarn)||Bt(e.fallbackWarn)?e.fallbackWarn:!0,T=!!e.fallbackFormat,S=!!e.unresolving,O=ye(e.postTranslation)?e.postTranslation:null,C=te(e.processor)?e.processor:null,k=ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,$=ye(e.messageCompiler)?e.messageCompiler:Ki,P=ye(e.messageResolver)?e.messageResolver:Yi||Ef,A=ye(e.localeFallbacker)?e.localeFallbacker:qi||Vf,x=de(e.fallbackContext)?e.fallbackContext:void 0,D=e,I=de(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,Y=de(D.__numberFormatters)?D.__numberFormatters:new Map,J=de(D.__meta)?D.__meta:{};Qi++;const H={version:o,cid:Qi,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:p,missing:_,missingWarn:m,fallbackWarn:L,fallbackFormat:T,unresolving:S,postTranslation:O,processor:C,warnHtmlMessage:k,escapeParameter:v,messageCompiler:$,messageResolver:P,localeFallbacker:A,fallbackContext:x,onWarn:t,__meta:J};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=I,H.__numberFormatters=Y,__INTLIFY_PROD_DEVTOOLS__&&Rf(H,o,J),H}const Zr=e=>({[e]:ge()});function Jr(e,t,o,n,s){const{missing:r,onWarn:a}=e;if(r!==null){const i=r(e,o,t,s);return B(i)?i:t}else return t}function Xo(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function eh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function th(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;noh(o,e)}function oh(e,t){const o=hf(t);if(o==null)throw Yo(0);if(Yr(o)===1){const r=_f(o);return e.plural(r.reduce((a,i)=>[...a,el(e,i)],[]))}else return el(e,o)}function el(e,t){const o=mf(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=gf(t).reduce((s,r)=>[...s,es(e,r)],[]);return e.normalize(n)}}function es(e,t){const o=Yr(t);switch(o){case 3:return Vn(t,o);case 9:return Vn(t,o);case 4:{const n=t;if(_t(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(_t(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Yo(o)}case 5:{const n=t;if(_t(n,"i")&&Ce(n.i))return e.interpolate(e.list(n.i));if(_t(n,"index")&&Ce(n.index))return e.interpolate(e.list(n.index));throw Yo(o)}case 6:{const n=t,s=bf(n),r=$f(n);return e.linked(es(e,r),s?es(e,s):void 0,e.type)}case 7:return Vn(t,o);case 8:return Vn(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const nh=e=>e;let Hn=ge();function rh(e,t={}){let o=!1;const n=t.onError||Vd;return t.onError=s=>{o=!0,n(s)},{...df(e,t),detectError:o}}function sh(e,t){if(B(e)){ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||nh)(e),s=Hn[n];if(s)return s;const{ast:r,detectError:a}=rh(e,{...t,location:!1,jit:!0}),i=Qr(r);return a?i:Hn[n]=i}else{const o=e.cacheKey;if(o){const n=Hn[o];return n||(Hn[o]=Qr(e))}else return Qr(e)}}const tl=()=>"",it=e=>ye(e);function ol(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:r,fallbackLocale:a,messages:i}=e,[l,c]=ts(...t),p=ie(c.missingWarn)?c.missingWarn:e.missingWarn,_=ie(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=ie(c.escapeParameter)?c.escapeParameter:e.escapeParameter,L=!!c.resolvedMessage,T=B(c.default)||ie(c.default)?ie(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",S=o||T!=="",O=qr(e,c);m&&ah(c);let[C,k,v]=L?[l,O,i[O]||ge()]:nl(e,l,O,a,_,p),$=C,P=l;if(!L&&!(B($)||At($)||it($))&&S&&($=T,P=$),!L&&(!(B($)||At($)||it($))||!B(k)))return s?Wn:l;let A=!1;const x=()=>{A=!0},D=it($)?$:rl(e,l,k,$,P,x);if(A)return $;const I=ch(e,k,v,c),Y=If(I),J=ih(e,D,Y);let H=n?n(J,l):J;if(m&&B(H)&&(H=Md(H)),__INTLIFY_PROD_DEVTOOLS__){const oe={timestamp:Date.now(),key:B(l)?l:it($)?$.key:"",locale:k||(it($)?$.locale:""),format:B($)?$:it($)?$.source:"",message:H};oe.meta=Ve({},e.__meta,Zf()||{}),Df(oe)}return H}function ah(e){ke(e.list)?e.list=e.list.map(t=>B(t)?$i(t):t):de(e.named)&&Object.keys(e.named).forEach(t=>{B(e.named[t])&&(e.named[t]=$i(e.named[t]))})}function nl(e,t,o,n,s,r){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,p=c(e,n,o);let _=ge(),m,L=null;const T="translate";for(let S=0;Sn;return c.locale=o,c.key=t,c}const l=a(n,lh(e,o,s,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function ih(e,t,o){return t(o)}function ts(...e){const[t,o,n]=e,s=ge();if(!B(t)&&!Ce(t)&&!it(t)&&!At(t))throw Dt(Tt.INVALID_ARGUMENT);const r=Ce(t)?String(t):(it(t),t);return Ce(o)?s.plural=o:B(o)?s.default=o:te(o)&&!Rn(o)?s.named=o:ke(o)&&(s.list=o),Ce(n)?s.plural=n:B(n)?s.default=n:te(n)&&Ve(s,n),[r,s]}function lh(e,t,o,n,s,r){return{locale:t,key:o,warnHtmlMessage:s,onError:a=>{throw r&&r(a),a},onCacheKey:a=>Ad(t,o,a)}}function ch(e,t,o,n){const{modifiers:s,pluralRules:r,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:p}=e,m={locale:t,modifiers:s,pluralRules:r,messages:L=>{let T=a(o,L);if(T==null&&p){const[,,S]=nl(p,L,t,i,l,c);T=a(S,L)}if(B(T)||At(T)){let S=!1;const C=rl(e,L,t,T,L,()=>{S=!0});return S?tl:C}else return it(T)?T:tl}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),Ce(n.plural)&&(m.pluralIndex=n.plural),m}function sl(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,p,_]=os(...t),m=ie(p.missingWarn)?p.missingWarn:e.missingWarn;ie(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const L=!!p.part,T=qr(e,p),S=a(e,s,T);if(!B(l)||l==="")return new Intl.DateTimeFormat(T,_).format(c);let O={},C,k=null;const v="datetime format";for(let A=0;A{al.includes(l)?a[l]=o[l]:r[l]=o[l]}),B(n)?r.locale=n:te(n)&&(a=n),te(s)&&(a=s),[r.key||"",i,r,a]}function il(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function ll(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,p,_]=ns(...t),m=ie(p.missingWarn)?p.missingWarn:e.missingWarn;ie(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const L=!!p.part,T=qr(e,p),S=a(e,s,T);if(!B(l)||l==="")return new Intl.NumberFormat(T,_).format(c);let O={},C,k=null;const v="number format";for(let A=0;A{cl.includes(l)?a[l]=o[l]:r[l]=o[l]}),B(n)?r.locale=n:te(n)&&(a=n),te(s)&&(a=s),[r.key||"",i,r,a]}function ul(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}ff();/*! + */function gf(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qo().__INTLIFY_PROD_DEVTOOLS__=!1)}function Pt(e){return he(e)&&Xr(e)===0&&(bt(e,"b")||bt(e,"body"))}const Fi=["b","body"];function bf(e){return eo(e,Fi)}const Ci=["c","cases"];function $f(e){return eo(e,Ci,[])}const Ii=["s","static"];function wf(e){return eo(e,Ii)}const Ni=["i","items"];function yf(e){return eo(e,Ni,[])}const Ri=["t","type"];function Xr(e){return eo(e,Ri)}const Di=["v","value"];function Bn(e,t){const o=eo(e,Di);if(o!=null)return o;throw en(t)}const zi=["m","modifier"];function vf(e){return eo(e,zi)}const Ui=["k","key"];function kf(e){const t=eo(e,Ui);if(t)return t;throw en(6)}function eo(e,t,o){for(let n=0;n{a===void 0?a=i:a+=i},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),s++},g[3]=()=>{if(s>0)s--,n=4,g[0]();else{if(s=0,a===void 0||(a=Af(a),a===!1))return!1;g[1]()}};function k(){const E=e[o+1];if(n===5&&E==="'"||n===6&&E==='"')return o++,i="\\"+E,g[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=xf(r),h=to[n],c=h[l]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(d=g[c[1]],d&&(i=r,d()===!1))))return;if(n===7)return t}}const Vi=new Map;function Pf(e,t){return he(e)?e[t]:null}function Mf(e,t){if(!he(e))return null;let o=Vi.get(t);if(o||(o=Tf(t),o&&Vi.set(t,o)),!o)return null;const n=o.length;let s=e,r=0;for(;re,Ff=e=>"",Cf="text",If=e=>e.length===0?"":zd(e),Nf=Dd;function Wi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Rf(e){const t=Ne(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ne(e.named.count)||Ne(e.named.n))?Ne(e.named.count)?e.named.count:Ne(e.named.n)?e.named.n:t:t}function Df(e,t){t.count||(t.count=e),t.n||(t.n=e)}function zf(e={}){const t=e.locale,o=Rf(e),n=he(e.pluralRules)&&K(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:Wi,s=he(e.pluralRules)&&K(t)&&Se(e.pluralRules[t])?Wi:void 0,r=F=>F[n(o,F.length,s)],a=e.list||[],i=F=>a[F],l=e.named||ye();Ne(e.pluralIndex)&&Df(o,l);const c=F=>l[F];function d(F){const b=Se(e.messages)?e.messages(F):he(e.messages)?e.messages[F]:!1;return b||(e.parent?e.parent.message(F):Ff)}const h=F=>e.modifiers?e.modifiers[F]:Of,g=ne(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:If,k=ne(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:Nf,E=ne(e.processor)&&K(e.processor.type)?e.processor.type:Cf,O={list:i,named:c,plural:r,linked:(F,...b)=>{const[w,m]=b;let x="text",A="";b.length===1?he(w)?(A=w.modifier||A,x=w.type||x):K(w)&&(A=w||A):b.length===2&&(K(w)&&(A=w||A),K(m)&&(x=m||x));const T=d(F)(O),U=x==="vnode"&&Te(T)&&A?T[0]:T;return A?h(A)(U,x):U},message:d,type:E,interpolate:k,normalize:g,values:Be(ye(),a,l)};return O}let tn=null;function Uf(e){tn=e}function jf(e,t,o){tn&&tn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Vf=Wf("function:translate");function Wf(e){return t=>tn&&tn.emit(e,t)}const Hf=qr.__EXTEND_POINT__,co=Vn(Hf),Gf={FALLBACK_TO_TRANSLATE:co(),CANNOT_FORMAT_NUMBER:co(),FALLBACK_TO_NUMBER_FORMAT:co(),CANNOT_FORMAT_DATE:co(),FALLBACK_TO_DATE_FORMAT:co(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:co(),__EXTEND_POINT__:co()},Hi=te.__EXTEND_POINT__,uo=Vn(Hi),Mt={INVALID_ARGUMENT:Hi,INVALID_DATE_ARGUMENT:uo(),INVALID_ISO_DATE_ARGUMENT:uo(),NOT_SUPPORT_NON_STRING_MESSAGE:uo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:uo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:uo(),NOT_SUPPORT_LOCALE_TYPE:uo(),__EXTEND_POINT__:uo()};function Vt(e){return So(e,null,void 0)}function Jr(e,t){return t.locale!=null?Gi(t.locale):Gi(e.locale)}let Qr;function Gi(e){if(K(e))return e;if(Se(e)){if(e.resolvedOnce&&Qr!=null)return Qr;if(e.constructor.name==="Function"){const t=e();if(Rd(t))throw Vt(Mt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qr=t}else throw Vt(Mt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vt(Mt.NOT_SUPPORT_LOCALE_TYPE)}function Bf(e,t,o){return[...new Set([o,...Te(t)?t:he(t)?Object.keys(t):K(t)?[t]:[o]])]}function Bi(e,t,o){const n=K(o)?o:xo,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(n);if(!r){r=[];let a=[o];for(;Te(a);)a=Ki(r,a,t);const i=Te(t)||!ne(t)?t:t.default?t.default:null;a=K(i)?[i]:i,Te(a)&&Ki(r,a,!1),s.__localeChainCache.set(n,r)}return r}function Ki(e,t,o){let n=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Zf(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K(e)?qi(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?qi(e.children):e}}let Zi;function Xf(e){Zi=e}let Xi;function Jf(e){Xi=e}let Ji;function Qf(e){Ji=e}let Qi=null;const eh=e=>{Qi=e},th=()=>Qi;let el=null;const tl=e=>{el=e},oh=()=>el;let ol=0;function nh(e={}){const t=Se(e.onWarn)?e.onWarn:Pd,o=K(e.version)?e.version:qf,n=K(e.locale)||Se(e.locale)?e.locale:xo,s=Se(n)?xo:n,r=Te(e.fallbackLocale)||ne(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=ne(e.messages)?e.messages:es(s),i=ne(e.datetimeFormats)?e.datetimeFormats:es(s),l=ne(e.numberFormats)?e.numberFormats:es(s),c=Be(ye(),e.modifiers,Zf()),d=e.pluralRules||ye(),h=Se(e.missing)?e.missing:null,g=ce(e.missingWarn)||Jt(e.missingWarn)?e.missingWarn:!0,k=ce(e.fallbackWarn)||Jt(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,y=!!e.unresolving,O=Se(e.postTranslation)?e.postTranslation:null,F=ne(e.processor)?e.processor:null,b=ce(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,m=Se(e.messageCompiler)?e.messageCompiler:Zi,x=Se(e.messageResolver)?e.messageResolver:Xi||Pf,A=Se(e.localeFallbacker)?e.localeFallbacker:Ji||Bf,T=he(e.fallbackContext)?e.fallbackContext:void 0,U=e,I=he(U.__datetimeFormatters)?U.__datetimeFormatters:new Map,J=he(U.__numberFormatters)?U.__numberFormatters:new Map,ee=he(U.__meta)?U.__meta:{};ol++;const z={version:o,cid:ol,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:d,missing:h,missingWarn:g,fallbackWarn:k,fallbackFormat:E,unresolving:y,postTranslation:O,processor:F,warnHtmlMessage:b,escapeParameter:w,messageCompiler:m,messageResolver:x,localeFallbacker:A,fallbackContext:T,onWarn:t,__meta:ee};return z.datetimeFormats=i,z.numberFormats=l,z.__datetimeFormatters=I,z.__numberFormatters=J,__INTLIFY_PROD_DEVTOOLS__&&jf(z,o,ee),z}const es=e=>({[e]:ye()});function ts(e,t,o,n,s){const{missing:r,onWarn:a}=e;if(r!==null){const i=r(e,o,t,s);return K(i)?i:t}else return t}function on(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function rh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function sh(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nah(o,e)}function ah(e,t){const o=bf(t);if(o==null)throw en(0);if(Xr(o)===1){const r=$f(o);return e.plural(r.reduce((a,i)=>[...a,nl(e,i)],[]))}else return nl(e,o)}function nl(e,t){const o=wf(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=yf(t).reduce((s,r)=>[...s,ns(e,r)],[]);return e.normalize(n)}}function ns(e,t){const o=Xr(t);switch(o){case 3:return Bn(t,o);case 9:return Bn(t,o);case 4:{const n=t;if(bt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(bt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw en(o)}case 5:{const n=t;if(bt(n,"i")&&Ne(n.i))return e.interpolate(e.list(n.i));if(bt(n,"index")&&Ne(n.index))return e.interpolate(e.list(n.index));throw en(o)}case 6:{const n=t,s=vf(n),r=kf(n);return e.linked(ns(e,r),s?ns(e,s):void 0,e.type)}case 7:return Bn(t,o);case 8:return Bn(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ih=e=>e;let Yn=ye();function lh(e,t={}){let o=!1;const n=t.onError||Bd;return t.onError=s=>{o=!0,n(s)},{...mf(e,t),detectError:o}}function ch(e,t){if(K(e)){ce(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||ih)(e),s=Yn[n];if(s)return s;const{ast:r,detectError:a}=lh(e,{...t,location:!1,jit:!0}),i=os(r);return a?i:Yn[n]=i}else{const o=e.cacheKey;if(o){const n=Yn[o];return n||(Yn[o]=os(e))}else return os(e)}}const rl=()=>"",dt=e=>Se(e);function sl(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:r,fallbackLocale:a,messages:i}=e,[l,c]=rs(...t),d=ce(c.missingWarn)?c.missingWarn:e.missingWarn,h=ce(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=ce(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,E=K(c.default)||ce(c.default)?ce(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",y=o||E!=="",O=Jr(e,c);g&&uh(c);let[F,b,w]=k?[l,O,i[O]||ye()]:al(e,l,O,a,h,d),m=F,x=l;if(!k&&!(K(m)||Pt(m)||dt(m))&&y&&(m=E,x=m),!k&&(!(K(m)||Pt(m)||dt(m))||!K(b)))return s?Kn:l;let A=!1;const T=()=>{A=!0},U=dt(m)?m:il(e,l,b,m,x,T);if(A)return m;const I=fh(e,b,w,c),J=zf(I),ee=ph(e,U,J);let z=n?n(ee,l):ee;if(g&&K(z)&&(z=Id(z)),__INTLIFY_PROD_DEVTOOLS__){const ue={timestamp:Date.now(),key:K(l)?l:dt(m)?m.key:"",locale:b||(dt(m)?m.locale:""),format:K(m)?m:dt(m)?m.source:"",message:z};ue.meta=Be({},e.__meta,th()||{}),Vf(ue)}return z}function uh(e){Te(e.list)?e.list=e.list.map(t=>K(t)?vi(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=vi(e.named[t]))})}function al(e,t,o,n,s,r){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,d=c(e,n,o);let h=ye(),g,k=null;const E="translate";for(let y=0;yn;return c.locale=o,c.key=t,c}const l=a(n,dh(e,o,s,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function ph(e,t,o){return t(o)}function rs(...e){const[t,o,n]=e,s=ye();if(!K(t)&&!Ne(t)&&!dt(t)&&!Pt(t))throw Vt(Mt.INVALID_ARGUMENT);const r=Ne(t)?String(t):(dt(t),t);return Ne(o)?s.plural=o:K(o)?s.default=o:ne(o)&&!jn(o)?s.named=o:Te(o)&&(s.list=o),Ne(n)?s.plural=n:K(n)?s.default=n:ne(n)&&Be(s,n),[r,s]}function dh(e,t,o,n,s,r){return{locale:t,key:o,warnHtmlMessage:s,onError:a=>{throw r&&r(a),a},onCacheKey:a=>Md(t,o,a)}}function fh(e,t,o,n){const{modifiers:s,pluralRules:r,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,g={locale:t,modifiers:s,pluralRules:r,messages:k=>{let E=a(o,k);if(E==null&&d){const[,,y]=al(d,k,t,i,l,c);E=a(y,k)}if(K(E)||Pt(E)){let y=!1;const F=il(e,k,t,E,k,()=>{y=!0});return y?rl:F}else return dt(E)?E:rl}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),Ne(n.plural)&&(g.pluralIndex=n.plural),g}function ll(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,d,h]=ss(...t),g=ce(d.missingWarn)?d.missingWarn:e.missingWarn;ce(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const k=!!d.part,E=Jr(e,d),y=a(e,s,E);if(!K(l)||l==="")return new Intl.DateTimeFormat(E,h).format(c);let O={},F,b=null;const w="datetime format";for(let A=0;A{cl.includes(l)?a[l]=o[l]:r[l]=o[l]}),K(n)?r.locale=n:ne(n)&&(a=n),ne(s)&&(a=s),[r.key||"",i,r,a]}function ul(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function pl(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:s,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,d,h]=as(...t),g=ce(d.missingWarn)?d.missingWarn:e.missingWarn;ce(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const k=!!d.part,E=Jr(e,d),y=a(e,s,E);if(!K(l)||l==="")return new Intl.NumberFormat(E,h).format(c);let O={},F,b=null;const w="number format";for(let A=0;A{dl.includes(l)?a[l]=o[l]:r[l]=o[l]}),K(n)?r.locale=n:ne(n)&&(a=n),ne(s)&&(a=s),[r.key||"",i,r,a]}function fl(e,t,o){const n=e;for(const s in o){const r=`${t}__${s}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}gf();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const uh="9.14.5";function ph(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ko().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ko().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}const dh=jf.__EXTEND_POINT__,zt=Dn(dh);zt(),zt(),zt(),zt(),zt(),zt(),zt(),zt(),zt();const pl=Tt.__EXTEND_POINT__,nt=Dn(pl),Ne={UNEXPECTED_RETURN_TYPE:pl,INVALID_ARGUMENT:nt(),MUST_BE_CALL_SETUP_TOP:nt(),NOT_INSTALLED:nt(),NOT_AVAILABLE_IN_LEGACY_MODE:nt(),REQUIRED_VALUE:nt(),INVALID_VALUE:nt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nt(),NOT_INSTALLED_WITH_PROVIDE:nt(),UNEXPECTED_ERROR:nt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nt(),BRIDGE_SUPPORT_VUE_2_ONLY:nt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nt(),__EXTEND_POINT__:nt()};function ze(e,...t){return bo(e,null,void 0)}const rs=Gt("__translateVNode"),ss=Gt("__datetimeParts"),as=Gt("__numberParts"),dl=Gt("__setPluralRules"),fl=Gt("__injectWithOption"),is=Gt("__dispose");function Zo(e){if(!de(e)||At(e))return e;for(const t in e)if(_t(e,t))if(!t.includes("."))de(e[t])&&Zo(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,r=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||ge(),Un(c,a[l])):Un(c,a)}else B(i)&&Un(JSON.parse(i),a)}),s==null&&r)for(const i in a)_t(a,i)&&Zo(a[i]);return a}function hl(e){return e.type}function _l(e,t,o){let n=de(t.messages)?t.messages:ge();"__i18nGlobal"in o&&(n=Gn(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(de(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(de(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function ml(e){return Fe(Do,null,e,0)}const gl="__INTLIFY_META__",bl=()=>[],fh=()=>!1;let $l=0;function wl(e){return(t,o,n,s)=>e(o,n,Ht()||void 0,s)}const hh=()=>{const e=Ht();let t=null;return e&&(t=hl(e)[gl])?{[gl]:t}:null};function ls(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,r=e.flatJson,a=Nn?_e:mr,i=!!e.translateExistCompatible;let l=ie(e.inheritLocale)?e.inheritLocale:!0;const c=a(o&&l?o.locale.value:B(e.locale)?e.locale:yo),p=a(o&&l?o.fallbackLocale.value:B(e.fallbackLocale)||ke(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),_=a(Gn(c.value,e)),m=a(te(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),L=a(te(e.numberFormats)?e.numberFormats:{[c.value]:{}});let T=o?o.missingWarn:ie(e.missingWarn)||Bt(e.missingWarn)?e.missingWarn:!0,S=o?o.fallbackWarn:ie(e.fallbackWarn)||Bt(e.fallbackWarn)?e.fallbackWarn:!0,O=o?o.fallbackRoot:ie(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,k=ye(e.missing)?e.missing:null,v=ye(e.missing)?wl(e.missing):null,$=ye(e.postTranslation)?e.postTranslation:null,P=o?o.warnHtmlMessage:ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const x=o?o.modifiers:te(e.modifiers)?e.modifiers:{};let D=e.pluralRules||o&&o.pluralRules,I;I=(()=>{s&&Ji(null);const h={version:uh,locale:c.value,fallbackLocale:p.value,messages:_.value,modifiers:x,pluralRules:D,missing:v===null?void 0:v,missingWarn:T,fallbackWarn:S,fallbackFormat:C,unresolving:!0,postTranslation:$===null?void 0:$,warnHtmlMessage:P,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};h.datetimeFormats=m.value,h.numberFormats=L.value,h.__datetimeFormatters=te(I)?I.__datetimeFormatters:void 0,h.__numberFormatters=te(I)?I.__numberFormatters:void 0;const y=Qf(h);return s&&Ji(y),y})(),Xo(I,c.value,p.value);function J(){return[c.value,p.value,_.value,m.value,L.value]}const H=De({get:()=>c.value,set:h=>{c.value=h,I.locale=c.value}}),oe=De({get:()=>p.value,set:h=>{p.value=h,I.fallbackLocale=p.value,Xo(I,c.value,h)}}),se=De(()=>_.value),G=De(()=>m.value),z=De(()=>L.value);function K(){return ye($)?$:null}function q(h){$=h,I.postTranslation=h}function be(){return k}function We(h){h!==null&&(v=wl(h)),k=h,I.missing=v}const Se=(h,y,U,X,ue,Ae)=>{J();let le;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=o?Jf():void 0),le=h(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(U!=="translate exists"&&Ce(le)&&le===Wn||U==="translate exists"&&!le){const[Me,ce]=y();return o&&O?X(o):ue(Me)}else{if(Ae(le))return le;throw ze(Ne.UNEXPECTED_RETURN_TYPE)}};function Pe(...h){return Se(y=>Reflect.apply(ol,null,[y,...h]),()=>ts(...h),"translate",y=>Reflect.apply(y.t,y,[...h]),y=>y,y=>B(y))}function Be(...h){const[y,U,X]=h;if(X&&!de(X))throw ze(Ne.INVALID_ARGUMENT);return Pe(y,U,Ve({resolvedMessage:!0},X||{}))}function Qe(...h){return Se(y=>Reflect.apply(sl,null,[y,...h]),()=>os(...h),"datetime format",y=>Reflect.apply(y.d,y,[...h]),()=>Gi,y=>B(y))}function lt(...h){return Se(y=>Reflect.apply(ll,null,[y,...h]),()=>ns(...h),"number format",y=>Reflect.apply(y.n,y,[...h]),()=>Gi,y=>B(y))}function He(h){return h.map(y=>B(y)||Ce(y)||ie(y)?ml(String(y)):y)}const et={normalize:He,interpolate:h=>h,type:"vnode"};function ae(...h){return Se(y=>{let U;const X=y;try{X.processor=et,U=Reflect.apply(ol,null,[X,...h])}finally{X.processor=null}return U},()=>ts(...h),"translate",y=>y[rs](...h),y=>[ml(y)],y=>ke(y))}function re(...h){return Se(y=>Reflect.apply(ll,null,[y,...h]),()=>ns(...h),"number format",y=>y[as](...h),bl,y=>B(y)||ke(y))}function Ie(...h){return Se(y=>Reflect.apply(sl,null,[y,...h]),()=>os(...h),"datetime format",y=>y[ss](...h),bl,y=>B(y)||ke(y))}function f(h){D=h,I.pluralRules=D}function w(h,y){return Se(()=>{if(!h)return!1;const U=B(y)?y:c.value,X=R(U),ue=I.messageResolver(X,h);return i?ue!=null:At(ue)||it(ue)||B(ue)},()=>[h],"translate exists",U=>Reflect.apply(U.te,U,[h,y]),fh,U=>ie(U))}function g(h){let y=null;const U=Wi(I,p.value,c.value);for(let X=0;X{l&&(c.value=h,I.locale=h,Xo(I,c.value,p.value))}),kt(o.fallbackLocale,h=>{l&&(p.value=h,I.fallbackLocale=h,Xo(I,c.value,p.value))}));const b={id:$l,locale:H,fallbackLocale:oe,get inheritLocale(){return l},set inheritLocale(h){l=h,h&&o&&(c.value=o.locale.value,p.value=o.fallbackLocale.value,Xo(I,c.value,p.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:se,get modifiers(){return x},get pluralRules(){return D||{}},get isGlobal(){return s},get missingWarn(){return T},set missingWarn(h){T=h,I.missingWarn=T},get fallbackWarn(){return S},set fallbackWarn(h){S=h,I.fallbackWarn=S},get fallbackRoot(){return O},set fallbackRoot(h){O=h},get fallbackFormat(){return C},set fallbackFormat(h){C=h,I.fallbackFormat=C},get warnHtmlMessage(){return P},set warnHtmlMessage(h){P=h,I.warnHtmlMessage=h},get escapeParameter(){return A},set escapeParameter(h){A=h,I.escapeParameter=h},t:Pe,getLocaleMessage:R,setLocaleMessage:N,mergeLocaleMessage:V,getPostTranslationHandler:K,setPostTranslationHandler:q,getMissingHandler:be,setMissingHandler:We,[dl]:f};return b.datetimeFormats=G,b.numberFormats=z,b.rt=Be,b.te=w,b.tm=M,b.d=Qe,b.n=lt,b.getDateTimeFormat=j,b.setDateTimeFormat=d,b.mergeDateTimeFormat=u,b.getNumberFormat=E,b.setNumberFormat=F,b.mergeNumberFormat=W,b[fl]=n,b[rs]=ae,b[ss]=Ie,b[as]=re,b}function _h(e){const t=B(e.locale)?e.locale:yo,o=B(e.fallbackLocale)||ke(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ye(e.missing)?e.missing:void 0,s=ie(e.silentTranslationWarn)||Bt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=ie(e.silentFallbackWarn)||Bt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=ie(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=te(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,p=ye(e.postTranslation)?e.postTranslation:void 0,_=B(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,L=ie(e.sync)?e.sync:!0;let T=e.messages;if(te(e.sharedMessages)){const A=e.sharedMessages;T=Object.keys(A).reduce((D,I)=>{const Y=D[I]||(D[I]={});return Ve(Y,A[I]),D},T||{})}const{__i18n:S,__root:O,__injectWithOption:C}=e,k=e.datetimeFormats,v=e.numberFormats,$=e.flatJson,P=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:T,flatJson:$,datetimeFormats:k,numberFormats:v,missing:n,missingWarn:s,fallbackWarn:r,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:p,warnHtmlMessage:_,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:L,translateExistCompatible:P,__i18n:S,__root:O,__injectWithOption:C}}function cs(e={},t){{const o=ls(_h(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return ie(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=ie(r)?!r:r},get silentFallbackWarn(){return ie(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=ie(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[a,i,l]=r,c={};let p=null,_=null;if(!B(a))throw ze(Ne.INVALID_ARGUMENT);const m=a;return B(i)?c.locale=i:ke(i)?p=i:te(i)&&(_=i),ke(l)?p=l:te(l)&&(_=l),Reflect.apply(o.t,o,[m,p||_||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[a,i,l]=r,c={plural:1};let p=null,_=null;if(!B(a))throw ze(Ne.INVALID_ARGUMENT);const m=a;return B(i)?c.locale=i:Ce(i)?c.plural=i:ke(i)?p=i:te(i)&&(_=i),B(l)?c.locale=l:ke(l)?p=l:te(l)&&(_=l),Reflect.apply(o.t,o,[m,p||_||{},c])},te(r,a){return o.te(r,a)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,a){o.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){o.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,a){o.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){o.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,a){o.setNumberFormat(r,a)},mergeNumberFormat(r,a){o.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return s.__extender=n,s}}const us={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function mh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===je?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},ge())}function yl(e){return je}const vl=Sn({name:"i18n-t",props:Ve({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ce(e)||!isNaN(e)}},us),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||vo({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(_=>_!=="_"),a=ge();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=B(e.plural)?+e.plural:e.plural);const i=mh(t,r),l=s[rs](e.keypath,i,a),c=Ve(ge(),n),p=B(e.tag)||de(e.tag)?e.tag:yl();return qa(p,c,l)}}});function gh(e){return ke(e)&&!B(e[0])}function kl(e,t,o,n){const{slots:s,attrs:r}=t;return()=>{const a={part:!0};let i=ge();e.locale&&(a.locale=e.locale),B(e.format)?a.key=e.format:de(e.format)&&(B(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((m,L)=>o.includes(L)?Ve(ge(),m,{[L]:e.format[L]}):m,ge()));const l=n(e.value,a,i);let c=[a.key];ke(l)?c=l.map((m,L)=>{const T=s[m.type],S=T?T({[m.type]:m.value,index:L,parts:l}):[m.value];return gh(S)&&(S[0].key=`${m.type}-${L}`),S}):B(l)&&(c=[l]);const p=Ve(ge(),r),_=B(e.tag)||de(e.tag)?e.tag:yl();return qa(_,p,c)}}const Sl=Sn({name:"i18n-n",props:Ve({value:{type:Number,required:!0},format:{type:[String,Object]}},us),setup(e,t){const o=e.i18n||vo({useScope:e.scope,__useComponent:!0});return kl(e,t,cl,(...n)=>o[as](...n))}}),Ll=Sn({name:"i18n-d",props:Ve({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},us),setup(e,t){const o=e.i18n||vo({useScope:e.scope,__useComponent:!0});return kl(e,t,al,(...n)=>o[ss](...n))}});function bh(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function $h(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw ze(Ne.UNEXPECTED_ERROR);const p=bh(e,i.$),_=El(c);return[Reflect.apply(p.t,p,[...Al(_)]),p]};return{created:(a,i)=>{const[l,c]=t(i);Nn&&e.global===c&&(a.__i18nWatcher=kt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Nn&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=El(i);a.textContent=Reflect.apply(l.t,l,[...Al(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function El(e){if(B(e))return{path:e};if(te(e)){if(!("path"in e))throw ze(Ne.REQUIRED_VALUE,"path");return e}else throw ze(Ne.INVALID_VALUE)}function Al(e){const{path:t,locale:o,args:n,choice:s,plural:r}=e,a={},i=n||{};return B(o)&&(a.locale=o),Ce(s)&&(a.plural=s),Ce(r)&&(a.plural=r),[t,i,a]}function wh(e,t,...o){const n=te(o[0])?o[0]:{},s=!!n.useI18nComponentName;(ie(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":vl.name,"I18nT"].forEach(a=>e.component(a,vl)),[Sl.name,"I18nN"].forEach(a=>e.component(a,Sl)),[Ll.name,"I18nD"].forEach(a=>e.component(a,Ll))),e.directive("t",$h(t))}function yh(e,t,o){return{beforeCreate(){const n=Ht();if(!n)throw ze(Ne.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=Tl(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=cs(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Tl(e,s);else{this.$i18n=cs({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&_l(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Ht();if(!n)throw ze(Ne.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Tl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[dl](t.pluralizationRules||e.pluralizationRules);const o=Gn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const vh=Gt("global-vue-i18n");function kh(e={},t){const o=__VUE_I18N_LEGACY_API__&&ie(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ie(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[a,i]=Sh(e,o),l=Gt("");function c(m){return r.get(m)||null}function p(m,L){r.set(m,L)}function _(m){r.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(L,...T){if(L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,m),te(T[0])){const C=T[0];m.__composerExtend=C.__composerExtend,m.__vueI18nExtend=C.__vueI18nExtend}let S=null;!o&&n&&(S=Fh(L,m.global)),__VUE_I18N_FULL_INSTALL__&&wh(L,m,...T),__VUE_I18N_LEGACY_API__&&o&&L.mixin(yh(i,i.__composer,m));const O=L.unmount;L.unmount=()=>{S&&S(),m.dispose(),O()}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:p,__deleteInstance:_};return m}}function vo(e={}){const t=Ht();if(t==null)throw ze(Ne.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ze(Ne.NOT_INSTALLED);const o=Lh(t),n=Ah(o),s=hl(t),r=Eh(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw ze(Ne.NOT_AVAILABLE_IN_LEGACY_MODE);return Mh(t,r,n,e)}if(r==="global")return _l(n,e,s),n;if(r==="parent"){let l=Th(o,t,e.__useComponent);return l==null&&(l=n),l}const a=o;let i=a.__getInstance(t);if(i==null){const l=Ve({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=ls(l),a.__composerExtend&&(i[is]=a.__composerExtend(i)),Ph(a,t,i),a.__setInstance(t,i)}return i}function Sh(e,t,o){const n=Ps();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>cs(e)):n.run(()=>ls(e));if(s==null)throw ze(Ne.UNEXPECTED_ERROR);return[n,s]}}function Lh(e){{const t=ht(e.isCE?vh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ze(e.isCE?Ne.NOT_INSTALLED_WITH_PROVIDE:Ne.UNEXPECTED_ERROR);return t}}function Eh(e,t){return Rn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Ah(e){return e.mode==="composition"?e.global:e.global.__composer}function Th(e,t,o=!1){let n=null;const s=t.root;let r=xh(t,o);for(;r!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[fl]&&(n=null))}if(n!=null||s===r)break;r=r.parent}return n}function xh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ph(e,t,o){to(()=>{},t),Sr(()=>{const n=o;e.__deleteInstance(t);const s=n[is];s&&(s(),delete n[is])},t)}function Mh(e,t,o,n={}){const s=t==="local",r=mr(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ze(Ne.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=ie(n.inheritLocale)?n.inheritLocale:!B(n.locale),i=_e(!s||a?o.locale.value:B(n.locale)?n.locale:yo),l=_e(!s||a?o.fallbackLocale.value:B(n.fallbackLocale)||ke(n.fallbackLocale)||te(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=_e(Gn(i.value,n)),p=_e(te(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),_=_e(te(n.numberFormats)?n.numberFormats:{[i.value]:{}}),m=s?o.missingWarn:ie(n.missingWarn)||Bt(n.missingWarn)?n.missingWarn:!0,L=s?o.fallbackWarn:ie(n.fallbackWarn)||Bt(n.fallbackWarn)?n.fallbackWarn:!0,T=s?o.fallbackRoot:ie(n.fallbackRoot)?n.fallbackRoot:!0,S=!!n.fallbackFormat,O=ye(n.missing)?n.missing:null,C=ye(n.postTranslation)?n.postTranslation:null,k=s?o.warnHtmlMessage:ie(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,$=s?o.modifiers:te(n.modifiers)?n.modifiers:{},P=n.pluralRules||s&&o.pluralRules;function A(){return[i.value,l.value,c.value,p.value,_.value]}const x=De({get:()=>r.value?r.value.locale.value:i.value,set:g=>{r.value&&(r.value.locale.value=g),i.value=g}}),D=De({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:g=>{r.value&&(r.value.fallbackLocale.value=g),l.value=g}}),I=De(()=>r.value?r.value.messages.value:c.value),Y=De(()=>p.value),J=De(()=>_.value);function H(){return r.value?r.value.getPostTranslationHandler():C}function oe(g){r.value&&r.value.setPostTranslationHandler(g)}function se(){return r.value?r.value.getMissingHandler():O}function G(g){r.value&&r.value.setMissingHandler(g)}function z(g){return A(),g()}function K(...g){return r.value?z(()=>Reflect.apply(r.value.t,null,[...g])):z(()=>"")}function q(...g){return r.value?Reflect.apply(r.value.rt,null,[...g]):""}function be(...g){return r.value?z(()=>Reflect.apply(r.value.d,null,[...g])):z(()=>"")}function We(...g){return r.value?z(()=>Reflect.apply(r.value.n,null,[...g])):z(()=>"")}function Se(g){return r.value?r.value.tm(g):{}}function Pe(g,M){return r.value?r.value.te(g,M):!1}function Be(g){return r.value?r.value.getLocaleMessage(g):{}}function Qe(g,M){r.value&&(r.value.setLocaleMessage(g,M),c.value[g]=M)}function lt(g,M){r.value&&r.value.mergeLocaleMessage(g,M)}function He(g){return r.value?r.value.getDateTimeFormat(g):{}}function Ee(g,M){r.value&&(r.value.setDateTimeFormat(g,M),p.value[g]=M)}function et(g,M){r.value&&r.value.mergeDateTimeFormat(g,M)}function ae(g){return r.value?r.value.getNumberFormat(g):{}}function re(g,M){r.value&&(r.value.setNumberFormat(g,M),_.value[g]=M)}function Ie(g,M){r.value&&r.value.mergeNumberFormat(g,M)}const f={get id(){return r.value?r.value.id:-1},locale:x,fallbackLocale:D,messages:I,datetimeFormats:Y,numberFormats:J,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(g){r.value&&(r.value.inheritLocale=g)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:$},get pluralRules(){return r.value?r.value.pluralRules:P},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:m},set missingWarn(g){r.value&&(r.value.missingWarn=g)},get fallbackWarn(){return r.value?r.value.fallbackWarn:L},set fallbackWarn(g){r.value&&(r.value.missingWarn=g)},get fallbackRoot(){return r.value?r.value.fallbackRoot:T},set fallbackRoot(g){r.value&&(r.value.fallbackRoot=g)},get fallbackFormat(){return r.value?r.value.fallbackFormat:S},set fallbackFormat(g){r.value&&(r.value.fallbackFormat=g)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:k},set warnHtmlMessage(g){r.value&&(r.value.warnHtmlMessage=g)},get escapeParameter(){return r.value?r.value.escapeParameter:v},set escapeParameter(g){r.value&&(r.value.escapeParameter=g)},t:K,getPostTranslationHandler:H,setPostTranslationHandler:oe,getMissingHandler:se,setMissingHandler:G,rt:q,d:be,n:We,tm:Se,te:Pe,getLocaleMessage:Be,setLocaleMessage:Qe,mergeLocaleMessage:lt,getDateTimeFormat:He,setDateTimeFormat:Ee,mergeDateTimeFormat:et,getNumberFormat:ae,setNumberFormat:re,mergeNumberFormat:Ie};function w(g){g.locale.value=i.value,g.fallbackLocale.value=l.value,Object.keys(c.value).forEach(M=>{g.mergeLocaleMessage(M,c.value[M])}),Object.keys(p.value).forEach(M=>{g.mergeDateTimeFormat(M,p.value[M])}),Object.keys(_.value).forEach(M=>{g.mergeNumberFormat(M,_.value[M])}),g.escapeParameter=v,g.fallbackFormat=S,g.fallbackRoot=T,g.fallbackWarn=L,g.missingWarn=m,g.warnHtmlMessage=k}return _a(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ze(Ne.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const g=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=g.locale.value,l.value=g.fallbackLocale.value,c.value=g.messages.value,p.value=g.datetimeFormats.value,_.value=g.numberFormats.value):s&&w(g)}),f}const Oh=["locale","fallbackLocale","availableLocales"],xl=["t","rt","d","n","tm","te"];function Fh(e,t){const o=Object.create(null);return Oh.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw ze(Ne.UNEXPECTED_ERROR);const a=Re(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,s,a)}),e.config.globalProperties.$i18n=o,xl.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw ze(Ne.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,xl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(ph(),Kf(sh),Yf(Af),qf(Wi),__INTLIFY_PROD_DEVTOOLS__){const e=Ko();e.__INTLIFY__=!0,Nf(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ch=Object.assign({"./locales/ar/buttons.json":Lp,"./locales/ar/grid.json":Ep,"./locales/ar/mapui.json":Ap,"./locales/ar/poster.json":Tp,"./locales/ar/share.json":xp,"./locales/de/buttons.json":Pp,"./locales/de/grid.json":Mp,"./locales/de/mapui.json":Op,"./locales/de/poster.json":Fp,"./locales/de/share.json":Cp,"./locales/en/buttons.json":Ip,"./locales/en/grid.json":Np,"./locales/en/mapui.json":Rp,"./locales/en/poster.json":Dp,"./locales/en/share.json":zp,"./locales/es/buttons.json":Up,"./locales/es/grid.json":jp,"./locales/es/mapui.json":Vp,"./locales/es/poster.json":Wp,"./locales/es/share.json":Hp,"./locales/fr/buttons.json":Gp,"./locales/fr/grid.json":Bp,"./locales/fr/mapui.json":Kp,"./locales/fr/poster.json":Yp,"./locales/fr/share.json":qp,"./locales/hi/buttons.json":Xp,"./locales/hi/grid.json":Zp,"./locales/hi/mapui.json":Jp,"./locales/hi/poster.json":Qp,"./locales/hi/share.json":ed,"./locales/it/buttons.json":td,"./locales/it/grid.json":od,"./locales/it/mapui.json":nd,"./locales/it/poster.json":rd,"./locales/it/share.json":sd,"./locales/pt/buttons.json":ad,"./locales/pt/grid.json":id,"./locales/pt/mapui.json":ld,"./locales/pt/poster.json":cd,"./locales/pt/share.json":ud,"./locales/ro/buttons.json":pd,"./locales/ro/grid.json":dd,"./locales/ro/mapui.json":fd,"./locales/ro/poster.json":hd,"./locales/ro/share.json":_d,"./locales/ru/buttons.json":md,"./locales/ru/grid.json":gd,"./locales/ru/mapui.json":bd,"./locales/ru/poster.json":$d,"./locales/ru/share.json":wd,"./locales/zh/buttons.json":yd,"./locales/zh/grid.json":vd,"./locales/zh/mapui.json":kd,"./locales/zh/poster.json":Sd,"./locales/zh/share.json":Ld}),ao={};for(const[e,t]of Object.entries(Ch)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;ao[n]??(ao[n]={}),ao[n][s]=t}ao.en;const ps=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],Ih=new Set(["ar"]);function Nh(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Pl(){var n;const e=Nh();if(ps.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return ps.includes(o)?o:"en"}function Rh(){const e=Pl();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,Ih.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=Ps(!0),o=t.run(()=>kh({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:ao,missingWarn:!1,fallbackWarn:!1,pluralRules:jh}));t.run(()=>kt(o.global.locale,s=>Dh(s),{immediate:!0}));const n=o.install.bind(o);return o.install=(s,...r)=>{const a=n(s,...r);s.provide("appI18n",o);const i=s.provide.bind(s);return s.provide=(l,c)=>l==="appI18n"&&c===o?s:i(l,c),a},o}const Ml="__DOXA_PAGE_LOCALE";function Dh(e){const t=String(e||"").split("-")[0].toLowerCase();if(ps.includes(t))try{typeof window<"u"&&(window[Ml]=t)}catch{}}const zh=["zero","one","two","few","many","other"];function Uh(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const s=n.select(e),r=n.resolvedOptions().pluralCategories,a=zh.filter(l=>r.includes(l));let i=a.indexOf(s);if(i<0&&(i=a.indexOf("other")),i>=t){const l=a.indexOf("other");i=l>=0&&l[e,(t,o)=>Uh(t,o,e)]));function Vh(){try{return typeof window<"u"&&window[Ml]||""}catch{return""}}function Bn(e,t){const o=s=>{let r=ao[s];for(const a of String(e).split(".")){if(!r||typeof r!="object")return;r=r[a]}return typeof r=="string"?r:void 0},n=t||Vh()||Pl();return o(n)??o("en")}const ko={mapbox:{global:"mapboxgl",js:Bo.mapboxGlJs.url,css:Bo.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Bo.maplibreGlJs.url,css:Bo.maplibreGlCss.url}},Wh={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function Ol(e,t){const o={};for(const[s,r]of Object.entries(Wh)){const a=Bn(`mapui.${r}`,e);a&&(o[s]=a)}const n=Bn(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function Fl(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const Hh=ko.mapbox.css,Gh="https://tiles.openfreemap.org/styles/liberty",Bh="https://tiles.openfreemap.org/styles/fiord";function ds(e){var o;const t=((o=ko[e])==null?void 0:o.global)||ko.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Cl(e){const t=ko[e]||ko.mapbox;if(ds(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Hr(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(ds(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,s)=>{const r=document.createElement("script");r.src=t.js,Hr(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>s(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function Kh(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=a=>new Promise(i=>setTimeout(i,a)),s=o.querySelector(`link[href="${t}"]`);if(s){if(s.sheet)return;await Promise.race([new Promise(a=>{s.addEventListener("load",a,{once:!0}),s.addEventListener("error",a,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Hr(r,t),await Promise.race([new Promise(a=>{r.addEventListener("load",a,{once:!0}),r.addEventListener("error",a,{once:!0}),o.prepend(r)}),n(2e3)])}function Yh(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Bh:Gh}const qh=85.0511,fs=-2,Xh=0,Zh=-60;function Il(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Jh(e,t,o,n){if(!e||e<=0||!t||t<=0)return Xh;const s=Math.log2(e/512),r=Il(n)-Il(qh),a=Math.log2(t/(512*r)),i=Math.max(s,a);return Math.max(fs,Math.min(i,(o??18)-1))}function Qh({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:s=void 0,center:r=[20,10],zoom:a=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:p=!1,maxZoom:_=18,pitch:m=0,bearing:L=0,renderWorldCopies:T=!0,showEdgeBorders:S=!0,southCutoff:O=Zh,maxBounds:C=void 0}){const k=mr(null),v=_e(!1);let $=null,P=null,A=null,x=null;try{x=ht("profileConfig",null)}catch{}const D=!s&&!_i(x);s=s||wp(x,{token:t});let I=s==="maplibre";typeof document<"u"&&Cl(s).catch(()=>{});let Y=null;try{Y=ht("lang",null)}catch{}const J=()=>{const se=Y&&typeof Y=="object"&&"value"in Y?Y.value:Y;if(typeof se=="string"&&se)return se;const G=x&&typeof x=="object"&&"value"in x?x.value:x;if(G&&(G.locale||G.lang))return String(G.locale||G.lang);try{const z=new URLSearchParams(location.search);return z.get("lang")||z.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function H(){var et;if(D&&!I&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(s="maplibre",I=!0)}const se=fi(o,s),G=se.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const z=()=>!e.value;if(await Cl(s),z())return;const K=ds(s);if(!K){console.error(`[useMapInstance] ${I?"maplibregl":"mapboxgl"} is not available. Add the ${I?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(yp(K),!I){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,z()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await Kh(e.value,I?ko.maplibre.css:Hh),z()||(await new Promise(ae=>requestAnimationFrame(ae)),z()))return;const q=e.value,be=q.clientWidth,We=q.clientHeight;if(be===0||We===0){console.error(`[useMapInstance] Container has ZERO dimensions (${be}×${We}). Map will be invisible. Check that parent elements have CSS sizing.`);let ae=q.parentElement,re=0;for(;ae&&re<5;)ae=ae.parentElement,re++}const Se=t;I||(K.accessToken=Se);const Pe=()=>typeof window<"u"&&window.innerWidth>=1024,Be=(ae,re)=>{if(p)return typeof c=="number"?c:fs;if(!Pe())return fs;const Ie=Jh(ae,re,_,O);return typeof c=="number"?Math.max(c,Ie):Ie},Qe=Be(q.clientWidth,q.clientHeight),lt=se.lightPreset||(()=>{var ae;try{const re=typeof n=="function"?n():n;return(ae=re==null?void 0:re.basemap)==null?void 0:ae.lightPreset}catch{return}})();if(I){k.value=new K.Map({container:e.value,style:Yh(G,lt),locale:Ol(J(),"maplibre"),center:r,zoom:a,minZoom:Qe,maxZoom:_,pitch:m,bearing:L,dragRotate:!1,renderWorldCopies:T,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...C?{maxBounds:C}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Fl(k.value);try{e.value.__doxaMap=k.value}catch{}}else{const ae=typeof n=="function"?n():n;k.value=new K.Map({accessToken:Se,container:e.value,style:G,locale:Ol(J(),"mapbox"),...ae?{config:ae}:{},center:r,zoom:a,minZoom:Qe,maxZoom:_,pitch:m,bearing:L,dragRotate:!1,touchPitch:!1,renderWorldCopies:T,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...C?{maxBounds:C}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Fl(k.value);try{e.value.__doxaMap=k.value}catch{}}try{let ae=!1;k.value.on("error",re=>{var w,g;const Ie=((w=re==null?void 0:re.error)==null?void 0:w.status)??(re==null?void 0:re.status),f=String(((g=re==null?void 0:re.error)==null?void 0:g.url)||(re==null?void 0:re.sourceId)||"");Ie!==401&&Ie!==403||ae||(ae=!0,console.error(`[doxa-maps] Mapbox returned ${Ie} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(f?` First failing request: ${f.slice(0,120)}`:"")))})}catch{}try{k.value.touchZoomRotate.disableRotation()}catch{}A=_p(((et=e.value)==null?void 0:et.parentElement)||null,{enabled:S});let He=Qe,Ee=null;$=()=>{const ae=k.value;if(!ae)return;const re=Be(q.clientWidth,q.clientHeight);re!==He&&(He=re,ae.setMinZoom(re)),ae.getZoom(){Ee=null;const Ie=k.value;if(!Ie)return;const f=Be(q.clientWidth,q.clientHeight);if(Ie.getZoom(){Ee&&(clearTimeout(Ee),Ee=null)},k.value.on("resize",$),typeof window<"u"&&(window.addEventListener("resize",$),window.addEventListener("orientationchange",$)),k.value.on("style.load",()=>{if(k.value&&In(k.value,J()),se.paint&&k.value){const ae=gp(k.value,se.paint);console.info("[useMapInstance] style paint applied ("+s+"):",ae.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var ae;(ae=k.value)==null||ae.resize(),k.value&&k.value.setMinZoom(Be(q.clientWidth,q.clientHeight)),v.value=!0})})}function oe(){if(k.value){if($&&(k.value.off("resize",$),typeof window<"u"&&(window.removeEventListener("resize",$),window.removeEventListener("orientationchange",$)),$=null),P){try{P()}catch{}P=null}A&&(A(),A=null);try{const G=typeof window<"u"?window:null;G&&G.__doxaLogoOwner===k.value&&(G.__doxaLogoOwner=null)}catch{}const se=k.value;k.value.remove();try{e&&e.value&&e.value.__doxaMap===se&&(e.value.__doxaMap=null)}catch{}k.value=null,v.value=!1}}if(Y&&typeof Y=="object"&&"value"in Y)try{kt(Y,()=>{k.value&&v.value&&In(k.value,J())})}catch{}return{map:k,isMapReady:v,initializeMap:H,destroy:oe}}function Kn(e,t){const o=Ht(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:t_(e));to(()=>{var l;if(!o)return;const s=(l=o.proxy)==null?void 0:l.$el;if(!s)return;const r=s.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=e_,r.appendChild(c)}const a=r.querySelector(`style[data-shadow-styles="${n}"]`);if(a){a.textContent!==e&&(a.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const e_=`@media (prefers-reduced-motion: reduce) { + */const hh="9.14.5";function _h(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Qo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Qo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qo().__INTLIFY_PROD_DEVTOOLS__=!1)}const mh=Gf.__EXTEND_POINT__,Wt=Vn(mh);Wt(),Wt(),Wt(),Wt(),Wt(),Wt(),Wt(),Wt(),Wt();const hl=Mt.__EXTEND_POINT__,st=Vn(hl),De={UNEXPECTED_RETURN_TYPE:hl,INVALID_ARGUMENT:st(),MUST_BE_CALL_SETUP_TOP:st(),NOT_INSTALLED:st(),NOT_AVAILABLE_IN_LEGACY_MODE:st(),REQUIRED_VALUE:st(),INVALID_VALUE:st(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:st(),NOT_INSTALLED_WITH_PROVIDE:st(),UNEXPECTED_ERROR:st(),NOT_COMPATIBLE_LEGACY_VUE_I18N:st(),BRIDGE_SUPPORT_VUE_2_ONLY:st(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:st(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:st(),__EXTEND_POINT__:st()};function Ve(e,...t){return So(e,null,void 0)}const is=Xt("__translateVNode"),ls=Xt("__datetimeParts"),cs=Xt("__numberParts"),_l=Xt("__setPluralRules"),ml=Xt("__injectWithOption"),us=Xt("__dispose");function nn(e){if(!he(e)||Pt(e))return e;for(const t in e)if(bt(e,t))if(!t.includes("."))he(e[t])&&nn(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,r=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||ye(),Hn(c,a[l])):Hn(c,a)}else K(i)&&Hn(JSON.parse(i),a)}),s==null&&r)for(const i in a)bt(a,i)&&nn(a[i]);return a}function gl(e){return e.type}function bl(e,t,o){let n=he(t.messages)?t.messages:ye();"__i18nGlobal"in o&&(n=qn(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function $l(e){return Ie(Ho,null,e,0)}const wl="__INTLIFY_META__",yl=()=>[],gh=()=>!1;let vl=0;function kl(e){return(t,o,n,s)=>e(o,n,Zt()||void 0,s)}const bh=()=>{const e=Zt();let t=null;return e&&(t=gl(e)[wl])?{[wl]:t}:null};function ps(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,r=e.flatJson,a=Un?ge:$r,i=!!e.translateExistCompatible;let l=ce(e.inheritLocale)?e.inheritLocale:!0;const c=a(o&&l?o.locale.value:K(e.locale)?e.locale:xo),d=a(o&&l?o.fallbackLocale.value:K(e.fallbackLocale)||Te(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=a(qn(c.value,e)),g=a(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=a(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let E=o?o.missingWarn:ce(e.missingWarn)||Jt(e.missingWarn)?e.missingWarn:!0,y=o?o.fallbackWarn:ce(e.fallbackWarn)||Jt(e.fallbackWarn)?e.fallbackWarn:!0,O=o?o.fallbackRoot:ce(e.fallbackRoot)?e.fallbackRoot:!0,F=!!e.fallbackFormat,b=Se(e.missing)?e.missing:null,w=Se(e.missing)?kl(e.missing):null,m=Se(e.postTranslation)?e.postTranslation:null,x=o?o.warnHtmlMessage:ce(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const T=o?o.modifiers:ne(e.modifiers)?e.modifiers:{};let U=e.pluralRules||o&&o.pluralRules,I;I=(()=>{s&&tl(null);const v={version:hh,locale:c.value,fallbackLocale:d.value,messages:h.value,modifiers:T,pluralRules:U,missing:w===null?void 0:w,missingWarn:E,fallbackWarn:y,fallbackFormat:F,unresolving:!0,postTranslation:m===null?void 0:m,warnHtmlMessage:x,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};v.datetimeFormats=g.value,v.numberFormats=k.value,v.__datetimeFormatters=ne(I)?I.__datetimeFormatters:void 0,v.__numberFormatters=ne(I)?I.__numberFormatters:void 0;const M=nh(v);return s&&tl(M),M})(),on(I,c.value,d.value);function ee(){return[c.value,d.value,h.value,g.value,k.value]}const z=je({get:()=>c.value,set:v=>{c.value=v,I.locale=c.value}}),ue=je({get:()=>d.value,set:v=>{d.value=v,I.fallbackLocale=d.value,on(I,c.value,v)}}),ie=je(()=>h.value),B=je(()=>g.value),V=je(()=>k.value);function q(){return Se(m)?m:null}function Q(v){m=v,I.postTranslation=v}function pe(){return b}function tt(v){v!==null&&(w=kl(v)),b=v,I.missing=w}const Le=(v,M,Z,se,we,L)=>{ee();let D;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=o?oh():void 0),D=v(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(Z!=="translate exists"&&Ne(D)&&D===Kn||Z==="translate exists"&&!D){const[Y,de]=M();return o&&O?se(o):we(Y)}else{if(L(D))return D;throw Ve(De.UNEXPECTED_RETURN_TYPE)}};function Pe(...v){return Le(M=>Reflect.apply(sl,null,[M,...v]),()=>rs(...v),"translate",M=>Reflect.apply(M.t,M,[...v]),M=>M,M=>K(M))}function qe(...v){const[M,Z,se]=v;if(se&&!he(se))throw Ve(De.INVALID_ARGUMENT);return Pe(M,Z,Be({resolvedMessage:!0},se||{}))}function ot(...v){return Le(M=>Reflect.apply(ll,null,[M,...v]),()=>ss(...v),"datetime format",M=>Reflect.apply(M.d,M,[...v]),()=>Yi,M=>K(M))}function ut(...v){return Le(M=>Reflect.apply(pl,null,[M,...v]),()=>as(...v),"number format",M=>Reflect.apply(M.n,M,[...v]),()=>Yi,M=>K(M))}function We(v){return v.map(M=>K(M)||Ne(M)||ce(M)?$l(String(M)):M)}const at={normalize:We,interpolate:v=>v,type:"vnode"};function le(...v){return Le(M=>{let Z;const se=M;try{se.processor=at,Z=Reflect.apply(sl,null,[se,...v])}finally{se.processor=null}return Z},()=>rs(...v),"translate",M=>M[is](...v),M=>[$l(M)],M=>Te(M))}function ae(...v){return Le(M=>Reflect.apply(pl,null,[M,...v]),()=>as(...v),"number format",M=>M[cs](...v),yl,M=>K(M)||Te(M))}function Re(...v){return Le(M=>Reflect.apply(ll,null,[M,...v]),()=>ss(...v),"datetime format",M=>M[ls](...v),yl,M=>K(M)||Te(M))}function f(v){U=v,I.pluralRules=U}function $(v,M){return Le(()=>{if(!v)return!1;const Z=K(M)?M:c.value,se=R(Z),we=I.messageResolver(se,v);return i?we!=null:Pt(we)||dt(we)||K(we)},()=>[v],"translate exists",Z=>Reflect.apply(Z.te,Z,[v,M]),gh,Z=>ce(Z))}function _(v){let M=null;const Z=Bi(I,d.value,c.value);for(let se=0;se{l&&(c.value=v,I.locale=v,on(I,c.value,d.value))}),Et(o.fallbackLocale,v=>{l&&(d.value=v,I.fallbackLocale=v,on(I,c.value,d.value))}));const j={id:vl,locale:z,fallbackLocale:ue,get inheritLocale(){return l},set inheritLocale(v){l=v,v&&o&&(c.value=o.locale.value,d.value=o.fallbackLocale.value,on(I,c.value,d.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:ie,get modifiers(){return T},get pluralRules(){return U||{}},get isGlobal(){return s},get missingWarn(){return E},set missingWarn(v){E=v,I.missingWarn=E},get fallbackWarn(){return y},set fallbackWarn(v){y=v,I.fallbackWarn=y},get fallbackRoot(){return O},set fallbackRoot(v){O=v},get fallbackFormat(){return F},set fallbackFormat(v){F=v,I.fallbackFormat=F},get warnHtmlMessage(){return x},set warnHtmlMessage(v){x=v,I.warnHtmlMessage=v},get escapeParameter(){return A},set escapeParameter(v){A=v,I.escapeParameter=v},t:Pe,getLocaleMessage:R,setLocaleMessage:N,mergeLocaleMessage:H,getPostTranslationHandler:q,setPostTranslationHandler:Q,getMissingHandler:pe,setMissingHandler:tt,[_l]:f};return j.datetimeFormats=B,j.numberFormats=V,j.rt=qe,j.te=$,j.tm=P,j.d=ot,j.n=ut,j.getDateTimeFormat=W,j.setDateTimeFormat=u,j.mergeDateTimeFormat=p,j.getNumberFormat=S,j.setNumberFormat=C,j.mergeNumberFormat=G,j[ml]=n,j[is]=le,j[ls]=Re,j[cs]=ae,j}function $h(e){const t=K(e.locale)?e.locale:xo,o=K(e.fallbackLocale)||Te(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Se(e.missing)?e.missing:void 0,s=ce(e.silentTranslationWarn)||Jt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=ce(e.silentFallbackWarn)||Jt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=ce(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=Se(e.postTranslation)?e.postTranslation:void 0,h=K(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,k=ce(e.sync)?e.sync:!0;let E=e.messages;if(ne(e.sharedMessages)){const A=e.sharedMessages;E=Object.keys(A).reduce((U,I)=>{const J=U[I]||(U[I]={});return Be(J,A[I]),U},E||{})}const{__i18n:y,__root:O,__injectWithOption:F}=e,b=e.datetimeFormats,w=e.numberFormats,m=e.flatJson,x=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:E,flatJson:m,datetimeFormats:b,numberFormats:w,missing:n,missingWarn:s,fallbackWarn:r,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:x,__i18n:y,__root:O,__injectWithOption:F}}function ds(e={},t){{const o=ps($h(e)),{__extender:n}=e,s={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return ce(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=ce(r)?!r:r},get silentFallbackWarn(){return ce(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=ce(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[a,i,l]=r,c={};let d=null,h=null;if(!K(a))throw Ve(De.INVALID_ARGUMENT);const g=a;return K(i)?c.locale=i:Te(i)?d=i:ne(i)&&(h=i),Te(l)?d=l:ne(l)&&(h=l),Reflect.apply(o.t,o,[g,d||h||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[a,i,l]=r,c={plural:1};let d=null,h=null;if(!K(a))throw Ve(De.INVALID_ARGUMENT);const g=a;return K(i)?c.locale=i:Ne(i)?c.plural=i:Te(i)?d=i:ne(i)&&(h=i),K(l)?c.locale=l:Te(l)?d=l:ne(l)&&(h=l),Reflect.apply(o.t,o,[g,d||h||{},c])},te(r,a){return o.te(r,a)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,a){o.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){o.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,a){o.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){o.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,a){o.setNumberFormat(r,a)},mergeNumberFormat(r,a){o.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return s.__extender=n,s}}const fs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function wh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===Ge?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},ye())}function Sl(e){return Ge}const Ll=An({name:"i18n-t",props:Be({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ne(e)||!isNaN(e)}},fs),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||Ao({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(h=>h!=="_"),a=ye();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=K(e.plural)?+e.plural:e.plural);const i=wh(t,r),l=s[is](e.keypath,i,a),c=Be(ye(),n),d=K(e.tag)||he(e.tag)?e.tag:Sl();return Ja(d,c,l)}}});function yh(e){return Te(e)&&!K(e[0])}function El(e,t,o,n){const{slots:s,attrs:r}=t;return()=>{const a={part:!0};let i=ye();e.locale&&(a.locale=e.locale),K(e.format)?a.key=e.format:he(e.format)&&(K(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((g,k)=>o.includes(k)?Be(ye(),g,{[k]:e.format[k]}):g,ye()));const l=n(e.value,a,i);let c=[a.key];Te(l)?c=l.map((g,k)=>{const E=s[g.type],y=E?E({[g.type]:g.value,index:k,parts:l}):[g.value];return yh(y)&&(y[0].key=`${g.type}-${k}`),y}):K(l)&&(c=[l]);const d=Be(ye(),r),h=K(e.tag)||he(e.tag)?e.tag:Sl();return Ja(h,d,c)}}const xl=An({name:"i18n-n",props:Be({value:{type:Number,required:!0},format:{type:[String,Object]}},fs),setup(e,t){const o=e.i18n||Ao({useScope:e.scope,__useComponent:!0});return El(e,t,dl,(...n)=>o[cs](...n))}}),Al=An({name:"i18n-d",props:Be({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fs),setup(e,t){const o=e.i18n||Ao({useScope:e.scope,__useComponent:!0});return El(e,t,cl,(...n)=>o[ls](...n))}});function vh(e,t){const o=e;if(e.mode==="composition")return o.__getInstance(t)||e.global;{const n=o.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function kh(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw Ve(De.UNEXPECTED_ERROR);const d=vh(e,i.$),h=Tl(c);return[Reflect.apply(d.t,d,[...Pl(h)]),d]};return{created:(a,i)=>{const[l,c]=t(i);Un&&e.global===c&&(a.__i18nWatcher=Et(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Un&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=Tl(i);a.textContent=Reflect.apply(l.t,l,[...Pl(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Tl(e){if(K(e))return{path:e};if(ne(e)){if(!("path"in e))throw Ve(De.REQUIRED_VALUE,"path");return e}else throw Ve(De.INVALID_VALUE)}function Pl(e){const{path:t,locale:o,args:n,choice:s,plural:r}=e,a={},i=n||{};return K(o)&&(a.locale=o),Ne(s)&&(a.plural=s),Ne(r)&&(a.plural=r),[t,i,a]}function Sh(e,t,...o){const n=ne(o[0])?o[0]:{},s=!!n.useI18nComponentName;(ce(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Ll.name,"I18nT"].forEach(a=>e.component(a,Ll)),[xl.name,"I18nN"].forEach(a=>e.component(a,xl)),[Al.name,"I18nD"].forEach(a=>e.component(a,Al))),e.directive("t",kh(t))}function Lh(e,t,o){return{beforeCreate(){const n=Zt();if(!n)throw Ve(De.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=Ml(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=ds(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Ml(e,s);else{this.$i18n=ds({__i18n:s.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&bl(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Zt();if(!n)throw Ve(De.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),o.__deleteInstance(n),delete this.$i18n}}}function Ml(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_l](t.pluralizationRules||e.pluralizationRules);const o=qn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(n=>e.mergeLocaleMessage(n,o[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Eh=Xt("global-vue-i18n");function xh(e={},t){const o=__VUE_I18N_LEGACY_API__&&ce(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ce(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[a,i]=Ah(e,o),l=Xt("");function c(g){return r.get(g)||null}function d(g,k){r.set(g,k)}function h(g){r.delete(g)}{const g={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(k,...E){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,g),ne(E[0])){const F=E[0];g.__composerExtend=F.__composerExtend,g.__vueI18nExtend=F.__vueI18nExtend}let y=null;!o&&n&&(y=Rh(k,g.global)),__VUE_I18N_FULL_INSTALL__&&Sh(k,g,...E),__VUE_I18N_LEGACY_API__&&o&&k.mixin(Lh(i,i.__composer,g));const O=k.unmount;k.unmount=()=>{y&&y(),g.dispose(),O()}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:h};return g}}function Ao(e={}){const t=Zt();if(t==null)throw Ve(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ve(De.NOT_INSTALLED);const o=Th(t),n=Mh(o),s=gl(t),r=Ph(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Ve(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Ih(t,r,n,e)}if(r==="global")return bl(n,e,s),n;if(r==="parent"){let l=Oh(o,t,e.__useComponent);return l==null&&(l=n),l}const a=o;let i=a.__getInstance(t);if(i==null){const l=Be({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=ps(l),a.__composerExtend&&(i[us]=a.__composerExtend(i)),Ch(a,t,i),a.__setInstance(t,i)}return i}function Ah(e,t,o){const n=Fs();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ds(e)):n.run(()=>ps(e));if(s==null)throw Ve(De.UNEXPECTED_ERROR);return[n,s]}}function Th(e){{const t=gt(e.isCE?Eh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ve(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function Ph(e,t){return jn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Mh(e){return e.mode==="composition"?e.global:e.global.__composer}function Oh(e,t,o=!1){let n=null;const s=t.root;let r=Fh(t,o);for(;r!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[ml]&&(n=null))}if(n!=null||s===r)break;r=r.parent}return n}function Fh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ch(e,t,o){io(()=>{},t),xr(()=>{const n=o;e.__deleteInstance(t);const s=n[us];s&&(s(),delete n[us])},t)}function Ih(e,t,o,n={}){const s=t==="local",r=$r(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ve(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=ce(n.inheritLocale)?n.inheritLocale:!K(n.locale),i=ge(!s||a?o.locale.value:K(n.locale)?n.locale:xo),l=ge(!s||a?o.fallbackLocale.value:K(n.fallbackLocale)||Te(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ge(qn(i.value,n)),d=ge(ne(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),h=ge(ne(n.numberFormats)?n.numberFormats:{[i.value]:{}}),g=s?o.missingWarn:ce(n.missingWarn)||Jt(n.missingWarn)?n.missingWarn:!0,k=s?o.fallbackWarn:ce(n.fallbackWarn)||Jt(n.fallbackWarn)?n.fallbackWarn:!0,E=s?o.fallbackRoot:ce(n.fallbackRoot)?n.fallbackRoot:!0,y=!!n.fallbackFormat,O=Se(n.missing)?n.missing:null,F=Se(n.postTranslation)?n.postTranslation:null,b=s?o.warnHtmlMessage:ce(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter,m=s?o.modifiers:ne(n.modifiers)?n.modifiers:{},x=n.pluralRules||s&&o.pluralRules;function A(){return[i.value,l.value,c.value,d.value,h.value]}const T=je({get:()=>r.value?r.value.locale.value:i.value,set:_=>{r.value&&(r.value.locale.value=_),i.value=_}}),U=je({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:_=>{r.value&&(r.value.fallbackLocale.value=_),l.value=_}}),I=je(()=>r.value?r.value.messages.value:c.value),J=je(()=>d.value),ee=je(()=>h.value);function z(){return r.value?r.value.getPostTranslationHandler():F}function ue(_){r.value&&r.value.setPostTranslationHandler(_)}function ie(){return r.value?r.value.getMissingHandler():O}function B(_){r.value&&r.value.setMissingHandler(_)}function V(_){return A(),_()}function q(..._){return r.value?V(()=>Reflect.apply(r.value.t,null,[..._])):V(()=>"")}function Q(..._){return r.value?Reflect.apply(r.value.rt,null,[..._]):""}function pe(..._){return r.value?V(()=>Reflect.apply(r.value.d,null,[..._])):V(()=>"")}function tt(..._){return r.value?V(()=>Reflect.apply(r.value.n,null,[..._])):V(()=>"")}function Le(_){return r.value?r.value.tm(_):{}}function Pe(_,P){return r.value?r.value.te(_,P):!1}function qe(_){return r.value?r.value.getLocaleMessage(_):{}}function ot(_,P){r.value&&(r.value.setLocaleMessage(_,P),c.value[_]=P)}function ut(_,P){r.value&&r.value.mergeLocaleMessage(_,P)}function We(_){return r.value?r.value.getDateTimeFormat(_):{}}function Oe(_,P){r.value&&(r.value.setDateTimeFormat(_,P),d.value[_]=P)}function at(_,P){r.value&&r.value.mergeDateTimeFormat(_,P)}function le(_){return r.value?r.value.getNumberFormat(_):{}}function ae(_,P){r.value&&(r.value.setNumberFormat(_,P),h.value[_]=P)}function Re(_,P){r.value&&r.value.mergeNumberFormat(_,P)}const f={get id(){return r.value?r.value.id:-1},locale:T,fallbackLocale:U,messages:I,datetimeFormats:J,numberFormats:ee,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(_){r.value&&(r.value.inheritLocale=_)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:m},get pluralRules(){return r.value?r.value.pluralRules:x},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:g},set missingWarn(_){r.value&&(r.value.missingWarn=_)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(_){r.value&&(r.value.missingWarn=_)},get fallbackRoot(){return r.value?r.value.fallbackRoot:E},set fallbackRoot(_){r.value&&(r.value.fallbackRoot=_)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(_){r.value&&(r.value.fallbackFormat=_)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:b},set warnHtmlMessage(_){r.value&&(r.value.warnHtmlMessage=_)},get escapeParameter(){return r.value?r.value.escapeParameter:w},set escapeParameter(_){r.value&&(r.value.escapeParameter=_)},t:q,getPostTranslationHandler:z,setPostTranslationHandler:ue,getMissingHandler:ie,setMissingHandler:B,rt:Q,d:pe,n:tt,tm:Le,te:Pe,getLocaleMessage:qe,setLocaleMessage:ot,mergeLocaleMessage:ut,getDateTimeFormat:We,setDateTimeFormat:Oe,mergeDateTimeFormat:at,getNumberFormat:le,setNumberFormat:ae,mergeNumberFormat:Re};function $(_){_.locale.value=i.value,_.fallbackLocale.value=l.value,Object.keys(c.value).forEach(P=>{_.mergeLocaleMessage(P,c.value[P])}),Object.keys(d.value).forEach(P=>{_.mergeDateTimeFormat(P,d.value[P])}),Object.keys(h.value).forEach(P=>{_.mergeNumberFormat(P,h.value[P])}),_.escapeParameter=w,_.fallbackFormat=y,_.fallbackRoot=E,_.fallbackWarn=k,_.missingWarn=g,_.warnHtmlMessage=b}return ba(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ve(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const _=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=_.locale.value,l.value=_.fallbackLocale.value,c.value=_.messages.value,d.value=_.datetimeFormats.value,h.value=_.numberFormats.value):s&&$(_)}),f}const Nh=["locale","fallbackLocale","availableLocales"],Ol=["t","rt","d","n","tm","te"];function Rh(e,t){const o=Object.create(null);return Nh.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Ve(De.UNEXPECTED_ERROR);const a=Ue(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,s,a)}),e.config.globalProperties.$i18n=o,Ol.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Ve(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ol.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(_h(),Xf(ch),Jf(Mf),Qf(Bi),__INTLIFY_PROD_DEVTOOLS__){const e=Qo();e.__INTLIFY__=!0,Uf(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Dh=Object.assign({"./locales/ar/buttons.json":Tp,"./locales/ar/grid.json":Pp,"./locales/ar/mapui.json":Mp,"./locales/ar/poster.json":Op,"./locales/ar/share.json":Fp,"./locales/de/buttons.json":Cp,"./locales/de/grid.json":Ip,"./locales/de/mapui.json":Np,"./locales/de/poster.json":Rp,"./locales/de/share.json":Dp,"./locales/en/buttons.json":zp,"./locales/en/grid.json":Up,"./locales/en/mapui.json":jp,"./locales/en/poster.json":Vp,"./locales/en/share.json":Wp,"./locales/es/buttons.json":Hp,"./locales/es/grid.json":Gp,"./locales/es/mapui.json":Bp,"./locales/es/poster.json":Kp,"./locales/es/share.json":Yp,"./locales/fr/buttons.json":qp,"./locales/fr/grid.json":Zp,"./locales/fr/mapui.json":Xp,"./locales/fr/poster.json":Jp,"./locales/fr/share.json":Qp,"./locales/hi/buttons.json":ed,"./locales/hi/grid.json":td,"./locales/hi/mapui.json":od,"./locales/hi/poster.json":nd,"./locales/hi/share.json":rd,"./locales/it/buttons.json":sd,"./locales/it/grid.json":ad,"./locales/it/mapui.json":id,"./locales/it/poster.json":ld,"./locales/it/share.json":cd,"./locales/pt/buttons.json":ud,"./locales/pt/grid.json":pd,"./locales/pt/mapui.json":dd,"./locales/pt/poster.json":fd,"./locales/pt/share.json":hd,"./locales/ro/buttons.json":_d,"./locales/ro/grid.json":md,"./locales/ro/mapui.json":gd,"./locales/ro/poster.json":bd,"./locales/ro/share.json":$d,"./locales/ru/buttons.json":wd,"./locales/ru/grid.json":yd,"./locales/ru/mapui.json":vd,"./locales/ru/poster.json":kd,"./locales/ru/share.json":Sd,"./locales/zh/buttons.json":Ld,"./locales/zh/grid.json":Ed,"./locales/zh/mapui.json":xd,"./locales/zh/poster.json":Ad,"./locales/zh/share.json":Td}),po={};for(const[e,t]of Object.entries(Dh)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;po[n]??(po[n]={}),po[n][s]=t}po.en;const hs=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],zh=new Set(["ar"]);function Uh(){try{const e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("locale")||"").split("-")[0].toLowerCase()}catch{return""}}function Fl(){var n;const e=Uh();if(hs.includes(e))return e;const o=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return hs.includes(o)?o:"en"}function jh(){const e=Fl();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&e&&(document!=null&&document.documentElement)&&(document.documentElement.lang=e,zh.has(e)&&(document.documentElement.dir="rtl"))}catch{}const t=Fs(!0),o=t.run(()=>xh({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:po,missingWarn:!1,fallbackWarn:!1,pluralRules:Gh}));t.run(()=>Et(o.global.locale,s=>Vh(s),{immediate:!0}));const n=o.install.bind(o);return o.install=(s,...r)=>{const a=n(s,...r);s.provide("appI18n",o);const i=s.provide.bind(s);return s.provide=(l,c)=>l==="appI18n"&&c===o?s:i(l,c),a},o}const Cl="__DOXA_PAGE_LOCALE";function Vh(e){const t=String(e||"").split("-")[0].toLowerCase();if(hs.includes(t))try{typeof window<"u"&&(window[Cl]=t)}catch{}}const Wh=["zero","one","two","few","many","other"];function Hh(e,t,o){let n;try{n=new Intl.PluralRules(o)}catch{return e===1?0:1}const s=n.select(e),r=n.resolvedOptions().pluralCategories,a=Wh.filter(l=>r.includes(l));let i=a.indexOf(s);if(i<0&&(i=a.indexOf("other")),i>=t){const l=a.indexOf("other");i=l>=0&&l[e,(t,o)=>Hh(t,o,e)]));function Bh(){try{return typeof window<"u"&&window[Cl]||""}catch{return""}}function Zn(e,t){const o=s=>{let r=po[s];for(const a of String(e).split(".")){if(!r||typeof r!="object")return;r=r[a]}return typeof r=="string"?r:void 0},n=t||Bh()||Fl();return o(n)??o("en")}const To={mapbox:{global:"mapboxgl",js:Jo.mapboxGlJs.url,css:Jo.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Jo.maplibreGlJs.url,css:Jo.maplibreGlCss.url}},Kh={"Map.Title":"map","Marker.Title":"marker","Popup.Close":"closePopup","NavigationControl.ZoomIn":"zoomIn","NavigationControl.ZoomOut":"zoomOut","NavigationControl.ResetBearing":"resetBearing","AttributionControl.ToggleAttribution":"toggleAttribution","AttributionControl.MapFeedback":"mapFeedback","FullscreenControl.Enter":"enterFullscreen","FullscreenControl.Exit":"exitFullscreen","GeolocateControl.FindMyLocation":"findMyLocation","GeolocateControl.LocationNotAvailable":"locationNotAvailable","GlobeControl.Enable":"enableGlobe","GlobeControl.Disable":"disableGlobe","CooperativeGesturesHandler.WindowsHelpText":"ctrlScroll","CooperativeGesturesHandler.MacHelpText":"cmdScroll","CooperativeGesturesHandler.MobileHelpText":"twoFingers","ScrollZoomBlocker.CtrlMessage":"ctrlScroll","ScrollZoomBlocker.CmdMessage":"cmdScroll","TouchPanBlocker.Message":"twoFingers"};function Il(e,t){const o={};for(const[s,r]of Object.entries(Kh)){const a=Zn(`mapui.${r}`,e);a&&(o[s]=a)}const n=Zn(t==="maplibre"?"mapui.maplibreLogo":"mapui.mapboxHomepage",e);return n&&(o["LogoControl.Title"]=n),o}function Nl(e){if(typeof window>"u")return;const t=window,o=()=>{try{const n=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");n&&(n.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",o),o();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const Yh=To.mapbox.css,qh="https://tiles.openfreemap.org/styles/liberty",Zh="https://tiles.openfreemap.org/styles/fiord";function _s(e){var o;const t=((o=To[e])==null?void 0:o.global)||To.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Rl(e){const t=To[e]||To.mapbox;if(_s(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t.css,Kr(n,t.css),document.head.appendChild(n)}const o=document.querySelector(`script[src="${t.js}"]`);if(o){if(_s(e))return;await new Promise(n=>{o.addEventListener("load",n,{once:!0}),o.addEventListener("error",n,{once:!0})});return}await new Promise((n,s)=>{const r=document.createElement("script");r.src=t.js,Kr(r,t.js),r.async=!1,r.addEventListener("load",n,{once:!0}),r.addEventListener("error",()=>s(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(r)})}async function Xh(e,t){if(!e)return;const o=e.getRootNode();if(!(o instanceof ShadowRoot))return;const n=a=>new Promise(i=>setTimeout(i,a)),s=o.querySelector(`link[href="${t}"]`);if(s){if(s.sheet)return;await Promise.race([new Promise(a=>{s.addEventListener("load",a,{once:!0}),s.addEventListener("error",a,{once:!0})}),n(2e3)]);return}const r=document.createElement("link");r.rel="stylesheet",r.href=t,Kr(r,t),await Promise.race([new Promise(a=>{r.addEventListener("load",a,{once:!0}),r.addEventListener("error",a,{once:!0}),o.prepend(r)}),n(2e3)])}function Jh(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Zh:qh}const Qh=85.0511,ms=-2,e_=0,t_=-60;function Dl(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function o_(e,t,o,n){if(!e||e<=0||!t||t<=0)return e_;const s=Math.log2(e/512),r=Dl(n)-Dl(Qh),a=Math.log2(t/(512*r)),i=Math.max(s,a);return Math.max(ms,Math.min(i,(o??18)-1))}function n_({containerRef:e,accessToken:t,style:o,config:n=void 0,provider:s=void 0,center:r=[20,10],zoom:a=2,bounds:i=void 0,fitBoundsOptions:l=void 0,minZoom:c=void 0,skipWorldFloor:d=!1,maxZoom:h=18,pitch:g=0,bearing:k=0,renderWorldCopies:E=!0,showEdgeBorders:y=!0,southCutoff:O=t_,maxBounds:F=void 0}){const b=$r(null),w=ge(!1);let m=null,x=null,A=null,T=null;try{T=gt("profileConfig",null)}catch{}const U=!s&&!bi(T);s=s||Sp(T,{token:t});let I=s==="maplibre";typeof document<"u"&&Rl(s).catch(()=>{});let J=null;try{J=gt("lang",null)}catch{}const ee=()=>{const ie=J&&typeof J=="object"&&"value"in J?J.value:J;if(typeof ie=="string"&&ie)return ie;const B=T&&typeof T=="object"&&"value"in T?T.value:T;if(B&&(B.locale||B.lang))return String(B.locale||B.lang);try{const V=new URLSearchParams(location.search);return V.get("lang")||V.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function z(){var at;if(U&&!I&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(s="maplibre",I=!0)}const ie=mi(o,s),B=ie.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const V=()=>!e.value;if(await Rl(s),V())return;const q=_s(s);if(!q){console.error(`[useMapInstance] ${I?"maplibregl":"mapboxgl"} is not available. Add the ${I?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(Lp(q),!I){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,V()))return;if(!t&&typeof window<"u"&&typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN&&(t=window.MAP_TOKEN),!t){typeof window<"u"&&!window.__doxaNoTokenWarned&&(window.__doxaNoTokenWarned=!0,console.warn('No Mapbox access token provided. Pass "tk" in profile-config JSON or set window.MAP_TOKEN.'));return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}if(await Xh(e.value,I?To.maplibre.css:Yh),V()||(await new Promise(le=>requestAnimationFrame(le)),V()))return;const Q=e.value,pe=Q.clientWidth,tt=Q.clientHeight;if(pe===0||tt===0){console.error(`[useMapInstance] Container has ZERO dimensions (${pe}×${tt}). Map will be invisible. Check that parent elements have CSS sizing.`);let le=Q.parentElement,ae=0;for(;le&&ae<5;)le=le.parentElement,ae++}const Le=t;I||(q.accessToken=Le);const Pe=()=>typeof window<"u"&&window.innerWidth>=1024,qe=(le,ae)=>{if(d)return typeof c=="number"?c:ms;if(!Pe())return ms;const Re=o_(le,ae,h,O);return typeof c=="number"?Math.max(c,Re):Re},ot=qe(Q.clientWidth,Q.clientHeight),ut=ie.lightPreset||(()=>{var le;try{const ae=typeof n=="function"?n():n;return(le=ae==null?void 0:ae.basemap)==null?void 0:le.lightPreset}catch{return}})();if(I){b.value=new q.Map({container:e.value,style:Jh(B,ut),locale:Il(ee(),"maplibre"),center:r,zoom:a,minZoom:ot,maxZoom:h,pitch:g,bearing:k,dragRotate:!1,renderWorldCopies:E,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Nl(b.value);try{e.value.__doxaMap=b.value}catch{}}else{const le=typeof n=="function"?n():n;b.value=new q.Map({accessToken:Le,container:e.value,style:B,locale:Il(ee(),"mapbox"),...le?{config:le}:{},center:r,zoom:a,minZoom:ot,maxZoom:h,pitch:g,bearing:k,dragRotate:!1,touchPitch:!1,renderWorldCopies:E,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...F?{maxBounds:F}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Nl(b.value);try{e.value.__doxaMap=b.value}catch{}}try{let le=!1;b.value.on("error",ae=>{var $,_;const Re=(($=ae==null?void 0:ae.error)==null?void 0:$.status)??(ae==null?void 0:ae.status),f=String(((_=ae==null?void 0:ae.error)==null?void 0:_.url)||(ae==null?void 0:ae.sourceId)||"");Re!==401&&Re!==403||le||(le=!0,console.error(`[doxa-maps] Mapbox returned ${Re} for a TILE request while the style loaded fine. That is a URL RESTRICTION on the access token, not a bad token and not a bug in this map. Add this page's origin (${typeof location<"u"?location.origin:"this origin"}) to the token's URL restrictions in the Mapbox account. The map will keep its data layer and stay blank underneath until then.`+(f?` First failing request: ${f.slice(0,120)}`:"")))})}catch{}try{b.value.touchZoomRotate.disableRotation()}catch{}A=$p(((at=e.value)==null?void 0:at.parentElement)||null,{enabled:y});let We=ot,Oe=null;m=()=>{const le=b.value;if(!le)return;const ae=qe(Q.clientWidth,Q.clientHeight);ae!==We&&(We=ae,le.setMinZoom(ae)),le.getZoom(){Oe=null;const Re=b.value;if(!Re)return;const f=qe(Q.clientWidth,Q.clientHeight);if(Re.getZoom(){Oe&&(clearTimeout(Oe),Oe=null)},b.value.on("resize",m),typeof window<"u"&&(window.addEventListener("resize",m),window.addEventListener("orientationchange",m)),b.value.on("style.load",()=>{if(b.value&&zn(b.value,ee()),ie.paint&&b.value){const le=yp(b.value,ie.paint);console.info("[useMapInstance] style paint applied ("+s+"):",le.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var le;(le=b.value)==null||le.resize(),b.value&&b.value.setMinZoom(qe(Q.clientWidth,Q.clientHeight)),w.value=!0})})}function ue(){if(b.value){if(m&&(b.value.off("resize",m),typeof window<"u"&&(window.removeEventListener("resize",m),window.removeEventListener("orientationchange",m)),m=null),x){try{x()}catch{}x=null}A&&(A(),A=null);try{const B=typeof window<"u"?window:null;B&&B.__doxaLogoOwner===b.value&&(B.__doxaLogoOwner=null)}catch{}const ie=b.value;b.value.remove();try{e&&e.value&&e.value.__doxaMap===ie&&(e.value.__doxaMap=null)}catch{}b.value=null,w.value=!1}}if(J&&typeof J=="object"&&"value"in J)try{Et(J,()=>{b.value&&w.value&&zn(b.value,ee())})}catch{}return{map:b,isMapReady:w,initializeMap:z,destroy:ue}}function Xn(e,t){const o=Zt(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:s_(e));io(()=>{var l;if(!o)return;const s=(l=o.proxy)==null?void 0:l.$el;if(!s)return;const r=s.getRootNode();if(!(r instanceof ShadowRoot))return;if(!r.querySelector('style[data-shadow-styles="reduced-motion"]')){const c=document.createElement("style");c.setAttribute("data-shadow-styles","reduced-motion"),c.textContent=r_,r.appendChild(c)}const a=r.querySelector(`style[data-shadow-styles="${n}"]`);if(a){a.textContent!==e&&(a.textContent=e);return}const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,r.appendChild(i)})}const r_=`@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } -}`;function t_(e){let t=0;for(let o=0;owindow.addEventListener("load",function(){setTimeout(function(){window.focus();window.print()},150)})<\/script>'),n.close();const s=()=>{o.parentNode&&o.remove()};try{o.contentWindow.addEventListener("afterprint",()=>setTimeout(s,0))}catch{}return setTimeout(s,6e4),o.contentWindow}const n_=Xn&&Xn.tagName.toUpperCase()==="SCRIPT"&&Xn.src||new URL("prayer-walk-planner.js",document.baseURI).href,hs=e=>String(e||"").trim().replace(/\/+$/,"");function r_(){try{const t=String(n_||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function s_(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return hs(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return hs(o)}return hs(r_()||"")}function a_({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,s=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const a=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(a){if(/^https?:\/\//i.test(a))return a;if(a.startsWith("/"))return s?window.location.origin+a:a;const i=s_(n),l=a.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return s?window.location.origin+window.location.pathname:""}const i_=["title","aria-label","disabled"],_s={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["click"],setup(e){return Kn(` +}`;function s_(e){let t=0;for(let o=0;owindow.addEventListener("load",function(){setTimeout(function(){window.focus();window.print()},150)})<\/script>'),n.close();const s=()=>{o.parentNode&&o.remove()};try{o.contentWindow.addEventListener("afterprint",()=>setTimeout(s,0))}catch{}return setTimeout(s,6e4),o.contentWindow}const i_=Qn&&Qn.tagName.toUpperCase()==="SCRIPT"&&Qn.src||new URL("prayer-walk-planner.js",document.baseURI).href,gs=e=>String(e||"").trim().replace(/\/+$/,"");function l_(){try{const t=String(i_||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function c_(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return gs(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return gs(o)}return gs(l_()||"")}function u_({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,s=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.trim();const a=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(a){if(/^https?:\/\//i.test(a))return a;if(a.startsWith("/"))return s?window.location.origin+a:a;const i=c_(n),l=a.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return s?window.location.origin+window.location.pathname:""}const p_=["title","aria-label","disabled"],bs={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["click"],setup(e){return Xn(` .mcb{ width:var(--map-btn-size,40px);height:var(--map-btn-size,40px); background:#fff; @@ -72,7 +72,7 @@ @media (prefers-reduced-motion: reduce) { .mcb-btn { transition: none !important; animation: none !important; } } -`,"map-control-button"),(t,o)=>(me(),xe("button",{class:Ke(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[ma(t.$slots,"default")],10,i_))}},l_=["aria-label"],c_={class:"mcm-header"},u_={class:"mcm-title"},p_=["aria-label"],d_={class:"mcm-body"},f_=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",ms="doxa-map-menu-open",h_={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(T,S)=>Bn(T)||S;Kn(` +`,"map-control-button"),(t,o)=>($e(),Me("button",{class:Ke(["mcb",{dark:e.isDark,active:e.active,"mcb--square":e.shape==="square"}]),title:e.title,"aria-label":e.title||void 0,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[$a(t.$slots,"default")],10,p_))}},d_=["aria-label"],f_={class:"mcm-header"},h_={class:"mcm-title"},__=["aria-label"],m_={class:"mcm-body"},g_=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",$s="doxa-map-menu-open",b_={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const o=(E,y)=>Zn(E)||y;Xn(` .mcm{position:absolute;z-index:var(--z-menu,3000);display:flex;flex-direction:column;box-sizing:border-box; background:#161b22;border:1px solid #30363d;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,0.45); color:#e6edf3;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:13px; @@ -91,7 +91,7 @@ @media (prefers-reduced-motion: reduce) { .mcm-menu, .mcm-item { transition: none !important; animation: none !important; } } -`,"map-control-menu");const n=e,s=t,r=ht("mapToolbar",null),a=_e(null),i=_e(null),l=_e({});function c(){var Y;const T=(Y=r==null?void 0:r.el)==null?void 0:Y.value,S=a.value;if(!T||!S){l.value={};return}const O=S.getBoundingClientRect(),C=T.getBoundingClientRect(),k=(C.left+C.right)/2>(O.left+O.right)/2,v=8,$=12,P=k?O.right-C.left+v:C.right-O.left+v,A=Math.max(200,Math.min(n.width,O.width-P-$)),x=Math.max(0,C.top-O.top);let I=S.getAttribute&&S.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-C.top-$):Math.max(120,O.height-x-$);n.matchToolbar&&(I=Math.max(120,Math.min(I,C.height))),n.maxHeight&&(I=Math.min(I,n.maxHeight)),l.value={top:`${Math.round(x)}px`,[k?"right":"left"]:`${Math.round(P)}px`,width:`${Math.round(A)}px`,maxHeight:`${Math.round(I)}px`,...n.height?{height:`${Math.round(Math.min(n.height,I))}px`}:{}}}function p(T){n.open&&T.detail!==i.value&&s("close")}kt(()=>n.open,async T=>{var S;if(T){await wn(),c();try{(S=a.value)==null||S.dispatchEvent(new CustomEvent(ms,{detail:i.value}))}catch{}}});function _(){n.open&&c()}function m(T){T.key==="Escape"&&n.open&&s("close")}function L(T){var O;if(!n.open)return;const S=T.composedPath?T.composedPath():[T.target];i.value&&S.includes(i.value)||(O=r==null?void 0:r.el)!=null&&O.value&&S.includes(r.el.value)||S.some(C=>{var k,v,$,P;return((v=(k=C==null?void 0:C.classList)==null?void 0:k.contains)==null?void 0:v.call(k,"mapboxgl-canvas"))||((P=($=C==null?void 0:C.classList)==null?void 0:$.contains)==null?void 0:P.call($,"maplibregl-canvas"))})&&s("close")}return to(()=>{var S,O;const T=((S=r==null?void 0:r.el)==null?void 0:S.value)||null;a.value=(T==null?void 0:T.closest(f_))||(T==null?void 0:T.offsetParent)||(T==null?void 0:T.parentElement)||null,(O=a.value)==null||O.addEventListener(ms,p),window.addEventListener("resize",_),document.addEventListener("click",L,!0),document.addEventListener("keydown",m)}),An(()=>{var T;(T=a.value)==null||T.removeEventListener(ms,p),window.removeEventListener("resize",_),document.removeEventListener("click",L,!0),document.removeEventListener("keydown",m)}),(T,S)=>(me(),mo(Cc,{to:a.value,disabled:!a.value},[e.open?(me(),xe("div",{key:0,ref_key:"el",ref:i,class:Ke(["mcm",{light:!e.isDark}]),style:ln(l.value),role:"dialog","aria-label":e.title},[Z("div",c_,[Z("span",u_,Le(e.title),1),Z("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:S[0]||(S[0]=O=>s("close"))},[...S[1]||(S[1]=[Z("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[Z("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),Z("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,p_)]),Z("div",d_,[ma(T.$slots,"default")])],14,l_)):no("",!0)],8,["to","disabled"]))}},__={class:"share-steps"},m_={class:"share-tabs"},g_={key:0,class:"share-body"},b_={class:"share-url-box"},$_={class:"share-url-text"},w_={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},y_={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},v_={key:1,class:"share-body"},k_={class:"share-embed-desc"},S_={class:"share-size-pills"},L_=["onClick"],E_={class:"share-code-box"},A_={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},T_={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},x_={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(J,H)=>Bn(J)||H;Kn(` +`,"map-control-menu");const n=e,s=t,r=gt("mapToolbar",null),a=ge(null),i=ge(null),l=ge({});function c(){var J;const E=(J=r==null?void 0:r.el)==null?void 0:J.value,y=a.value;if(!E||!y){l.value={};return}const O=y.getBoundingClientRect(),F=E.getBoundingClientRect(),b=(F.left+F.right)/2>(O.left+O.right)/2,w=8,m=12,x=b?O.right-F.left+w:F.right-O.left+w,A=Math.max(200,Math.min(n.width,O.width-x-m)),T=Math.max(0,F.top-O.top);let I=y.getAttribute&&y.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-F.top-m):Math.max(120,O.height-T-m);n.matchToolbar&&(I=Math.max(120,Math.min(I,F.height))),n.maxHeight&&(I=Math.min(I,n.maxHeight)),l.value={top:`${Math.round(T)}px`,[b?"right":"left"]:`${Math.round(x)}px`,width:`${Math.round(A)}px`,maxHeight:`${Math.round(I)}px`,...n.height?{height:`${Math.round(Math.min(n.height,I))}px`}:{}}}function d(E){n.open&&E.detail!==i.value&&s("close")}Et(()=>n.open,async E=>{var y;if(E){await $o(),c();try{(y=a.value)==null||y.dispatchEvent(new CustomEvent($s,{detail:i.value}))}catch{}}});function h(){n.open&&c()}function g(E){E.key==="Escape"&&n.open&&s("close")}function k(E){var O;if(!n.open)return;const y=E.composedPath?E.composedPath():[E.target];i.value&&y.includes(i.value)||(O=r==null?void 0:r.el)!=null&&O.value&&y.includes(r.el.value)||y.some(F=>{var b,w,m,x;return((w=(b=F==null?void 0:F.classList)==null?void 0:b.contains)==null?void 0:w.call(b,"mapboxgl-canvas"))||((x=(m=F==null?void 0:F.classList)==null?void 0:m.contains)==null?void 0:x.call(m,"maplibregl-canvas"))})&&s("close")}return io(()=>{var y,O;const E=((y=r==null?void 0:r.el)==null?void 0:y.value)||null;a.value=(E==null?void 0:E.closest(g_))||(E==null?void 0:E.offsetParent)||(E==null?void 0:E.parentElement)||null,(O=a.value)==null||O.addEventListener($s,d),window.addEventListener("resize",h),document.addEventListener("click",k,!0),document.addEventListener("keydown",g)}),Mn(()=>{var E;(E=a.value)==null||E.removeEventListener($s,d),window.removeEventListener("resize",h),document.removeEventListener("click",k,!0),document.removeEventListener("keydown",g)}),(E,y)=>($e(),vo(Dc,{to:a.value,disabled:!a.value},[e.open?($e(),Me("div",{key:0,ref_key:"el",ref:i,class:Ke(["mcm",{light:!e.isDark}]),style:fn(l.value),role:"dialog","aria-label":e.title},[X("div",f_,[X("span",h_,Ae(e.title),1),X("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:y[0]||(y[0]=O=>s("close"))},[...y[1]||(y[1]=[X("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[X("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),X("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])],8,__)]),X("div",m_,[$a(E.$slots,"default")])],14,d_)):qt("",!0)],8,["to","disabled"]))}},$_={class:"share-steps"},w_={class:"share-tabs"},y_={key:0,class:"share-body"},v_={class:"share-url-box"},k_={class:"share-url-text"},S_={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},L_={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},E_={key:1,class:"share-body"},x_={class:"share-embed-desc"},A_={class:"share-size-pills"},T_=["onClick"],P_={class:"share-code-box"},M_={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},O_={key:1,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},F_={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(ee,z)=>Zn(ee)||z;Xn(` .share-wrap{position:relative;display:inline-block;border-radius:50%;} .share-wrap::before{content:'';position:absolute;inset:-2px;border-radius:50%;padding:2px;pointer-events:none; background:conic-gradient(#ff6b6b,#ffd166,#6bd67b,#4dabf7,#9775fa,#f783ac,#ff6b6b); @@ -343,4 +343,4 @@ border-color:rgba(46,164,79,0.30); color:#2ea44f; } -`,"share-button");const{t:o,tm:n,rt:s}=vo(),r=e,a=_e(null),i=_e(!1),l=_e(null),c=_e(null),p=_e("link"),_=_e(!1),m=_e(!1),L=_e("medium"),T={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},S=ht("profileConfig",null),O=De(()=>a_({embedPath:r.embedPath,profileConfig:Ot(S)||null})),C=De(()=>{const J=T[L.value].height;return''});function k(){i.value=!i.value,i.value&&(p.value="link",_.value=!1,m.value=!1)}function v(){i.value=!1}async function $(J){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(J),!0}catch{}try{const H=document.createElement("textarea");H.value=J,H.setAttribute("readonly",""),H.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(H),H.select();const oe=document.execCommand("copy");return document.body.removeChild(H),oe}catch{return!1}}async function P(){await $(O.value)&&(_.value=!0,setTimeout(()=>{_.value=!1},2e3))}async function A(){await $(C.value)&&(m.value=!0,setTimeout(()=>{m.value=!1},2e3))}const x=ht("mapToolbar",null),D=_e(null);ra("mapToolbar",x||{el:D});const I=!x;function Y(J){if(a.value=J||null,!I||!J){J||(D.value=null);return}const H=J.offsetParent||J.parentElement;H&&!H.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&H.setAttribute("data-map-area","share-fallback"),D.value=J}return(J,H)=>(me(),xe("div",{ref:Y,class:"share-wrap","data-share-root":""},[Fe(_s,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:Ot(o)("buttons.share"),onClick:k},{default:Fo(()=>[...H[2]||(H[2]=[Z("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[Z("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),Z("polyline",{points:"16 6 12 2 8 6"}),Z("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),Fe(h_,{open:i.value,title:Ot(o)("buttons.share"),"is-dark":e.isDark,onClose:v},{default:Fo(()=>[Z("div",{ref_key:"popoverEl",ref:l,class:Ke(["share-pop",{light:!e.isDark}])},[Z("ul",__,[(me(!0),xe(je,null,Lr(Ot(n)("buttons.shareSteps"),(oe,se)=>(me(),xe("li",{key:se},Le(Ot(s)(oe)),1))),128))]),Z("div",m_,[Z("button",{class:Ke(["share-tab",{active:p.value==="link"}]),onClick:H[0]||(H[0]=oe=>p.value="link")},Le(t("share.embed_link","Embed link")),3),Z("button",{class:Ke(["share-tab",{active:p.value==="embed"}]),onClick:H[1]||(H[1]=oe=>p.value="embed")},Le(t("share.add_to_website","Add to Your Website")),3)]),p.value==="link"?(me(),xe("div",g_,[Z("div",b_,[Z("div",$_,Le(O.value),1)]),Z("button",{class:Ke(["share-primary-btn",{copied:_.value}]),onClick:P},[_.value?(me(),xe("svg",y_,[...H[4]||(H[4]=[Z("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(me(),xe("svg",w_,[...H[3]||(H[3]=[Z("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),Z("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Rr(" "+Le(_.value?"Copied!":"Copy Link"),1)],2)])):no("",!0),p.value==="embed"?(me(),xe("div",v_,[Z("div",k_,Le(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),Z("div",S_,[(me(),xe(je,null,Lr(T,(oe,se)=>Z("button",{key:se,class:Ke(["share-size-pill",{active:L.value===se}]),onClick:G=>L.value=se},Le(oe.label),11,L_)),64))]),Z("div",E_,Le(C.value),1),Z("button",{class:Ke(["share-secondary-btn",{copied:m.value}]),onClick:A},[m.value?(me(),xe("svg",T_,[...H[6]||(H[6]=[Z("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(me(),xe("svg",A_,[...H[5]||(H[5]=[Z("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),Z("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Rr(" "+Le(m.value?"Copied!":"Copy Code"),1)],2)])):no("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},P_={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},M_={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},O_={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=vo(),n=e,s=t,r=_e(!1);let a=null,i=null,l=null,c=null,p=null,_=null,m=null,L=null,T=null,S=null,O=null,C=0,k=0,v=null,$=null;function P(){if(typeof document>"u")return!1;const G=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(G)||G.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function A(){var G,z,K;return((K=(z=(G=n.mapContainer)==null?void 0:G.getRootNode)==null?void 0:z.call(G))==null?void 0:K.host)??null}function x(){var z,K;const G=(K=(z=n.mapContainer)==null?void 0:z.getRootNode)==null?void 0:K.call(z);return document.fullscreenElement||document.webkitFullscreenElement||(G&&G instanceof ShadowRoot?G.fullscreenElement:null)||null}function D(G){const z=G.requestFullscreen||G.webkitRequestFullscreen;if(!z)return Promise.reject(new Error("Fullscreen API unavailable"));const K=z.call(G);return K&&typeof K.then=="function"?K:Promise.resolve()}function I(){const G=document.exitFullscreen||document.webkitExitFullscreen;if(!G)return Promise.reject(new Error("Fullscreen API unavailable"));const z=G.call(document);return z&&typeof z.then=="function"?z:Promise.resolve()}function Y(){const G=A();if(!G)return!1;if(l=G,i=G.style.cssText,G.style.position="fixed",G.style.top="0",G.style.left="0",G.style.right="0",G.style.bottom="0",G.style.width="100vw",G.style.height="100vh",G.style.height="100dvh",G.style.zIndex="2147483647",G.style.margin="0",G.style.borderRadius="0",G.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){C=window.scrollY||window.pageYOffset||0,k=window.scrollX||window.pageXOffset||0;const z=document.body,K=document.documentElement;c=z?z.style.overflow:null,p=K?K.style.overflow:null,_=z?z.style.position:null,m=z?z.style.top:null,L=z?z.style.left:null,T=z?z.style.width:null,S=z?z.style.touchAction:null,O=K?K.style.touchAction:null,K&&(K.style.overflow="hidden",K.style.touchAction="none"),z&&(z.style.overflow="hidden",z.style.position="fixed",z.style.top=`-${C}px`,z.style.left=`-${k}px`,z.style.width="100%",z.style.touchAction="none"),v=q=>{if(!l)return;const be=q.target;be&&(be===l||l.contains&&l.contains(be))||q.cancelable&&q.preventDefault()},$=q=>{if(!l)return;const be=q.target;be&&(be===l||l.contains&&l.contains(be))||q.cancelable&&q.preventDefault()},document.addEventListener("touchmove",v,{passive:!1,capture:!0}),document.addEventListener("wheel",$,{passive:!1,capture:!0})}return!0}function J(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const G=document.body,z=document.documentElement;G&&(G.style.overflow=c??"",G.style.position=_??"",G.style.top=m??"",G.style.left=L??"",G.style.width=T??"",G.style.touchAction=S??""),z&&(z.style.overflow=p??"",z.style.touchAction=O??""),v&&(document.removeEventListener("touchmove",v,{capture:!0}),v=null),$&&(document.removeEventListener("wheel",$,{capture:!0}),$=null),typeof window<"u"&&(C||k)&&window.scrollTo(k,C)}c=null,p=null,_=null,m=null,L=null,T=null,S=null,O=null,C=0,k=0}}function H(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function oe(){if(!P()){r.value?(J(),r.value=!1,s("change",!1)):Y()&&(r.value=!0,s("change",!0)),H();return}if(x())I().then(()=>{r.value=!1,s("change",!1)}).catch(()=>{});else{const z=A()??document.documentElement;D(z).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{D(document.documentElement).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{})})}}function se(){r.value=!!x(),s("change",r.value)}return to(()=>{var z,K;document.addEventListener("fullscreenchange",se),document.addEventListener("webkitfullscreenchange",se);const G=(K=(z=n.mapContainer)==null?void 0:z.getRootNode)==null?void 0:K.call(z);G instanceof ShadowRoot&&(a=G,G.addEventListener("fullscreenchange",se),G.addEventListener("webkitfullscreenchange",se))}),An(()=>{document.removeEventListener("fullscreenchange",se),document.removeEventListener("webkitfullscreenchange",se),a&&(a.removeEventListener("fullscreenchange",se),a.removeEventListener("webkitfullscreenchange",se),a=null),l&&J()}),(G,z)=>(me(),mo(_s,{"data-control":"fullscreen","is-dark":e.isDark,active:r.value,title:Ot(o)("buttons.toggleFullscreen"),onClick:oe},{default:Fo(()=>[r.value?(me(),xe("svg",M_,[...z[1]||(z[1]=[Z("path",{d:"M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z"},null,-1)])])):(me(),xe("svg",P_,[...z[0]||(z[0]=[Z("path",{d:"M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z"},null,-1)])]))]),_:1},8,["is-dark","active","title"]))}};function F_(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-help"))return!0;return!1}function C_(e){e&&e.dispatchEvent&&e.dispatchEvent(new CustomEvent("doxa:help",{bubbles:!0,composed:!0}))}function I_(){const e=Ht(),t=_e(!1);return to(()=>{t.value=F_(e&&e.proxy&&e.proxy.$el)}),{hosted:t,askForHelp:o=>C_(o||e&&e.proxy&&e.proxy.$el)}}const N_={__name:"HelpButton",props:{isDark:{type:Boolean,default:!1},hosted:{type:Boolean,default:!1}},emits:["open-help"],setup(e,{emit:t}){const{t:o}=vo(),n=e,s=t,{hosted:r,askForHelp:a}=I_(),i=De(()=>!n.hosted||r.value);function l(){s("open-help"),a()}return(c,p)=>i.value?(me(),mo(_s,{key:0,"data-control":"help","is-dark":e.isDark,title:Ot(o)("buttons.aboutThisMap"),onClick:l},{default:Fo(()=>[...p[0]||(p[0]=[Z("span",{style:{"font-size":"15px","font-weight":"700","font-family":"serif","line-height":"1"}},"?",-1)])]),_:1},8,["is-dark","title"])):no("",!0)}},Yn={en:{draw:"Draw polygon",drawing:"Drawing… (click map)",finish:"Finish polygon ({n} pts)",deleteSelected:"Delete selected",deleteSelectedAria:"Delete selected polygons",more:"More",selectAll:"Select all",clearSelection:"Clear selection",countSelected:"{n} / {total} selected",printSelected:"Print selected",printAria:"Print selected prayer-walking zones",emptyList:"No zones yet — draw a polygon on the map to start a prayer-walking plan.",delete:"Delete",deleteAria:"Delete {title}",zone:"Zone {n}",clickToPlace:"Click to place points. Double-click (or Finish) to close the polygon.",need3:"Need at least 3 points to make a polygon.",added:"Polygon added.",selectOne:"Select at least one polygon to print.",printUnavailable:"Print frame unavailable in this host.",preparing:"Preparing the print map…",shareScope:"This link shares the planner. Your drawn zones stay on this device.",mapFailed:"Map failed to load (no WebGL?) — drawing needs the map, but your saved zones and Print still work.",kicker:"Prayer walking map · centre {c}",charge:"Walk the streets of this zone and pray for the people who live, work and worship along them.",corners:"Zone corners",mapAlt:"Walking map of {title}",footer:"Prayer Walk Planner · generated {date} · Map © OpenFreeMap · Data © OpenStreetMap contributors",docTitleOne:"Prayer Walking Plan — 1 zone",docTitleMany:"Prayer Walking Plan — {n} zones"},es:{draw:"Dibujar polígono",drawing:"Dibujando… (haz clic en el mapa)",finish:"Terminar polígono ({n} puntos)",deleteSelected:"Eliminar selección",deleteSelectedAria:"Eliminar los polígonos seleccionados",more:"Más",selectAll:"Seleccionar todo",clearSelection:"Quitar selección",countSelected:"{n} / {total} seleccionadas",printSelected:"Imprimir selección",printAria:"Imprimir las zonas de caminata de oración seleccionadas",emptyList:"Aún no hay zonas: dibuja un polígono en el mapa para empezar un plan de caminata de oración.",delete:"Eliminar",deleteAria:"Eliminar {title}",zone:"Zona {n}",clickToPlace:"Haz clic para colocar puntos. Doble clic (o Terminar) para cerrar el polígono.",need3:"Se necesitan al menos 3 puntos para formar un polígono.",added:"Polígono añadido.",selectOne:"Selecciona al menos un polígono para imprimir.",printUnavailable:"La impresión no está disponible en esta página.",preparing:"Preparando el mapa para imprimir…",shareScope:"Este enlace comparte el planificador. Tus zonas dibujadas se quedan en este dispositivo.",mapFailed:"No se pudo cargar el mapa (¿sin WebGL?). Para dibujar hace falta el mapa, pero tus zonas guardadas y la impresión siguen funcionando.",kicker:"Mapa de caminata de oración · centro {c}",charge:"Recorre las calles de esta zona y ora por las personas que viven, trabajan y adoran en ellas.",corners:"Esquinas de la zona",mapAlt:"Mapa para caminar de {title}",footer:"Planificador de caminatas de oración · generado el {date} · Mapa © OpenFreeMap · Datos © colaboradores de OpenStreetMap",docTitleOne:"Plan de caminata de oración — 1 zona",docTitleMany:"Plan de caminata de oración — {n} zonas"},fr:{draw:"Dessiner un polygone",drawing:"Dessin en cours… (cliquez sur la carte)",finish:"Terminer le polygone ({n} points)",deleteSelected:"Supprimer la sélection",deleteSelectedAria:"Supprimer les polygones sélectionnés",more:"Plus",selectAll:"Tout sélectionner",clearSelection:"Effacer la sélection",countSelected:"{n} / {total} sélectionnées",printSelected:"Imprimer la sélection",printAria:"Imprimer les zones de marche de prière sélectionnées",emptyList:"Aucune zone pour l’instant — dessinez un polygone sur la carte pour commencer un plan de marche de prière.",delete:"Supprimer",deleteAria:"Supprimer {title}",zone:"Zone {n}",clickToPlace:"Cliquez pour placer des points. Double-cliquez (ou Terminer) pour fermer le polygone.",need3:"Il faut au moins 3 points pour former un polygone.",added:"Polygone ajouté.",selectOne:"Sélectionnez au moins un polygone à imprimer.",printUnavailable:"L’impression n’est pas disponible sur cette page.",preparing:"Préparation de la carte à imprimer…",shareScope:"Ce lien partage le planificateur. Vos zones dessinées restent sur cet appareil.",mapFailed:"La carte n’a pas pu se charger (pas de WebGL ?). Le dessin nécessite la carte, mais vos zones enregistrées et l’impression fonctionnent toujours.",kicker:"Carte de marche de prière · centre {c}",charge:"Parcourez les rues de cette zone et priez pour les personnes qui y vivent, y travaillent et y adorent.",corners:"Coins de la zone",mapAlt:"Carte de marche de {title}",footer:"Planificateur de marches de prière · généré le {date} · Carte © OpenFreeMap · Données © contributeurs OpenStreetMap",docTitleOne:"Plan de marche de prière — 1 zone",docTitleMany:"Plan de marche de prière — {n} zones"},de:{draw:"Polygon zeichnen",drawing:"Zeichnen… (auf die Karte klicken)",finish:"Polygon abschließen ({n} Punkte)",deleteSelected:"Auswahl löschen",deleteSelectedAria:"Ausgewählte Polygone löschen",more:"Mehr",selectAll:"Alle auswählen",clearSelection:"Auswahl aufheben",countSelected:"{n} / {total} ausgewählt",printSelected:"Auswahl drucken",printAria:"Ausgewählte Gebetsspaziergang-Zonen drucken",emptyList:"Noch keine Zonen — zeichnen Sie ein Polygon auf der Karte, um einen Gebetsspaziergang zu planen.",delete:"Löschen",deleteAria:"{title} löschen",zone:"Zone {n}",clickToPlace:"Klicken, um Punkte zu setzen. Doppelklick (oder Abschließen) schließt das Polygon.",need3:"Für ein Polygon sind mindestens 3 Punkte nötig.",added:"Polygon hinzugefügt.",selectOne:"Wählen Sie mindestens ein Polygon zum Drucken aus.",printUnavailable:"Drucken ist auf dieser Seite nicht verfügbar.",preparing:"Druckkarte wird vorbereitet…",shareScope:"Dieser Link teilt den Planer. Ihre gezeichneten Zonen bleiben auf diesem Gerät.",mapFailed:"Die Karte konnte nicht geladen werden (kein WebGL?). Zum Zeichnen wird die Karte benötigt, aber gespeicherte Zonen und Drucken funktionieren weiterhin.",kicker:"Karte für den Gebetsspaziergang · Mitte {c}",charge:"Gehen Sie durch die Straßen dieser Zone und beten Sie für die Menschen, die hier leben, arbeiten und Gott anbeten.",corners:"Eckpunkte der Zone",mapAlt:"Spaziergangskarte von {title}",footer:"Gebetsspaziergang-Planer · erstellt am {date} · Karte © OpenFreeMap · Daten © OpenStreetMap-Mitwirkende",docTitleOne:"Gebetsspaziergang-Plan — 1 Zone",docTitleMany:"Gebetsspaziergang-Plan — {n} Zonen"},pt:{draw:"Desenhar polígono",drawing:"Desenhando… (clique no mapa)",finish:"Concluir polígono ({n} pontos)",deleteSelected:"Excluir seleção",deleteSelectedAria:"Excluir os polígonos selecionados",more:"Mais",selectAll:"Selecionar tudo",clearSelection:"Limpar seleção",countSelected:"{n} / {total} selecionadas",printSelected:"Imprimir seleção",printAria:"Imprimir as zonas de caminhada de oração selecionadas",emptyList:"Ainda não há zonas — desenhe um polígono no mapa para começar um plano de caminhada de oração.",delete:"Excluir",deleteAria:"Excluir {title}",zone:"Zona {n}",clickToPlace:"Clique para marcar pontos. Clique duas vezes (ou Concluir) para fechar o polígono.",need3:"São necessários pelo menos 3 pontos para formar um polígono.",added:"Polígono adicionado.",selectOne:"Selecione pelo menos um polígono para imprimir.",printUnavailable:"A impressão não está disponível nesta página.",preparing:"Preparando o mapa para impressão…",shareScope:"Este link compartilha o planejador. Suas zonas desenhadas ficam neste dispositivo.",mapFailed:"O mapa não carregou (sem WebGL?). Desenhar exige o mapa, mas suas zonas salvas e a impressão continuam funcionando.",kicker:"Mapa de caminhada de oração · centro {c}",charge:"Caminhe pelas ruas desta zona e ore pelas pessoas que vivem, trabalham e adoram nelas.",corners:"Cantos da zona",mapAlt:"Mapa de caminhada de {title}",footer:"Planejador de caminhadas de oração · gerado em {date} · Mapa © OpenFreeMap · Dados © colaboradores do OpenStreetMap",docTitleOne:"Plano de caminhada de oração — 1 zona",docTitleMany:"Plano de caminhada de oração — {n} zonas"},it:{draw:"Disegna poligono",drawing:"Disegno in corso… (clicca sulla mappa)",finish:"Completa poligono ({n} punti)",deleteSelected:"Elimina selezionati",deleteSelectedAria:"Elimina i poligoni selezionati",more:"Altro",selectAll:"Seleziona tutto",clearSelection:"Deseleziona",countSelected:"{n} / {total} selezionate",printSelected:"Stampa selezionate",printAria:"Stampa le zone di passeggiata di preghiera selezionate",emptyList:"Ancora nessuna zona — disegna un poligono sulla mappa per iniziare un piano di passeggiata di preghiera.",delete:"Elimina",deleteAria:"Elimina {title}",zone:"Zona {n}",clickToPlace:"Clicca per posizionare i punti. Doppio clic (o Completa) per chiudere il poligono.",need3:"Servono almeno 3 punti per formare un poligono.",added:"Poligono aggiunto.",selectOne:"Seleziona almeno un poligono da stampare.",printUnavailable:"La stampa non è disponibile in questa pagina.",preparing:"Preparazione della mappa di stampa…",shareScope:"Questo link condivide il pianificatore. Le zone che hai disegnato restano su questo dispositivo.",mapFailed:"Impossibile caricare la mappa (niente WebGL?). Per disegnare serve la mappa, ma le zone salvate e la stampa funzionano ancora.",kicker:"Mappa della passeggiata di preghiera · centro {c}",charge:"Percorri le strade di questa zona e prega per le persone che vi abitano, vi lavorano e vi adorano.",corners:"Vertici della zona",mapAlt:"Mappa della passeggiata di {title}",footer:"Pianificatore di passeggiate di preghiera · generato il {date} · Mappa © OpenFreeMap · Dati © contributori OpenStreetMap",docTitleOne:"Piano di passeggiata di preghiera — 1 zona",docTitleMany:"Piano di passeggiata di preghiera — {n} zone"},ro:{draw:"Desenează poligon",drawing:"Se desenează… (dă clic pe hartă)",finish:"Finalizează poligonul ({n} puncte)",deleteSelected:"Șterge selecția",deleteSelectedAria:"Șterge poligoanele selectate",more:"Mai mult",selectAll:"Selectează tot",clearSelection:"Anulează selecția",countSelected:"{n} / {total} selectate",printSelected:"Tipărește selecția",printAria:"Tipărește zonele de plimbare de rugăciune selectate",emptyList:"Încă nu există zone — desenează un poligon pe hartă pentru a începe un plan de plimbare de rugăciune.",delete:"Șterge",deleteAria:"Șterge {title}",zone:"Zona {n}",clickToPlace:"Dă clic pentru a plasa puncte. Dublu clic (sau Finalizează) pentru a închide poligonul.",need3:"Sunt necesare cel puțin 3 puncte pentru un poligon.",added:"Poligon adăugat.",selectOne:"Selectează cel puțin un poligon de tipărit.",printUnavailable:"Tipărirea nu este disponibilă pe această pagină.",preparing:"Se pregătește harta de tipărit…",shareScope:"Acest link partajează planificatorul. Zonele desenate rămân pe acest dispozitiv.",mapFailed:"Harta nu s-a încărcat (fără WebGL?). Desenarea are nevoie de hartă, dar zonele salvate și tipărirea funcționează în continuare.",kicker:"Hartă pentru plimbarea de rugăciune · centru {c}",charge:"Plimbă-te pe străzile acestei zone și roagă-te pentru oamenii care locuiesc, lucrează și se închină aici.",corners:"Colțurile zonei",mapAlt:"Harta de plimbare pentru {title}",footer:"Planificator de plimbări de rugăciune · generat pe {date} · Hartă © OpenFreeMap · Date © contribuitorii OpenStreetMap",docTitleOne:"Plan de plimbare de rugăciune — 1 zonă",docTitleMany:"Plan de plimbare de rugăciune — {n} zone"},ru:{draw:"Нарисовать область",drawing:"Рисование… (щёлкайте по карте)",finish:"Завершить область (точек: {n})",deleteSelected:"Удалить выбранные",deleteSelectedAria:"Удалить выбранные области",more:"Ещё",selectAll:"Выбрать все",clearSelection:"Снять выбор",countSelected:"Выбрано: {n} из {total}",printSelected:"Печать выбранных",printAria:"Печать выбранных зон молитвенной прогулки",emptyList:"Зон пока нет — нарисуйте область на карте, чтобы начать план молитвенной прогулки.",delete:"Удалить",deleteAria:"Удалить: {title}",zone:"Зона {n}",clickToPlace:"Щёлкайте, чтобы ставить точки. Двойной щелчок (или «Завершить») замыкает область.",need3:"Для области нужно не менее 3 точек.",added:"Область добавлена.",selectOne:"Выберите хотя бы одну область для печати.",printUnavailable:"Печать недоступна на этой странице.",preparing:"Подготовка карты для печати…",shareScope:"Эта ссылка открывает планировщик. Нарисованные зоны остаются на этом устройстве.",mapFailed:"Не удалось загрузить карту (нет WebGL?). Для рисования нужна карта, но сохранённые зоны и печать по-прежнему работают.",kicker:"Карта молитвенной прогулки · центр {c}",charge:"Пройдите по улицам этой зоны и помолитесь о людях, которые здесь живут, работают и поклоняются.",corners:"Углы зоны",mapAlt:"Карта прогулки: {title}",footer:"Планировщик молитвенных прогулок · создано {date} · Карта © OpenFreeMap · Данные © участники OpenStreetMap",docTitleOne:"План молитвенной прогулки — 1 зона",docTitleMany:"План молитвенной прогулки — зон: {n}"},ar:{draw:"ارسم مضلّعًا",drawing:"جارٍ الرسم… (انقر على الخريطة)",finish:"إنهاء المضلّع ({n} نقاط)",deleteSelected:"حذف المحدد",deleteSelectedAria:"حذف المضلّعات المحددة",more:"المزيد",selectAll:"تحديد الكل",clearSelection:"إلغاء التحديد",countSelected:"{n} / {total} محدد",printSelected:"طباعة المحدد",printAria:"طباعة مناطق جولات الصلاة المحددة",emptyList:"لا توجد مناطق بعد — ارسم مضلّعًا على الخريطة لتبدأ خطة جولة صلاة.",delete:"حذف",deleteAria:"حذف {title}",zone:"المنطقة {n}",clickToPlace:"انقر لوضع النقاط. انقر نقرًا مزدوجًا (أو «إنهاء») لإغلاق المضلّع.",need3:"يلزم 3 نقاط على الأقل لتكوين مضلّع.",added:"أُضيف المضلّع.",selectOne:"حدّد مضلّعًا واحدًا على الأقل للطباعة.",printUnavailable:"الطباعة غير متاحة في هذه الصفحة.",preparing:"جارٍ تجهيز خريطة الطباعة…",shareScope:"يشارك هذا الرابط المخطِّط. تبقى المناطق التي رسمتها على هذا الجهاز.",mapFailed:"تعذّر تحميل الخريطة (لا يوجد WebGL؟). الرسم يحتاج إلى الخريطة، لكن مناطقك المحفوظة والطباعة ما زالت تعمل.",kicker:"خريطة جولة الصلاة · المركز {c}",charge:"امشِ في شوارع هذه المنطقة وصلِّ من أجل الناس الذين يسكنون ويعملون ويعبدون فيها.",corners:"زوايا المنطقة",mapAlt:"خريطة جولة {title}",footer:"مخطِّط جولات الصلاة · أُنشئت في {date} · الخريطة © OpenFreeMap · البيانات © مساهمو OpenStreetMap",docTitleOne:"خطة جولة الصلاة — منطقة واحدة",docTitleMany:"خطة جولة الصلاة — عدد المناطق: {n}"},hi:{draw:"बहुभुज बनाएँ",drawing:"बनाया जा रहा है… (मानचित्र पर क्लिक करें)",finish:"बहुभुज पूरा करें ({n} बिंदु)",deleteSelected:"चयनित हटाएँ",deleteSelectedAria:"चयनित बहुभुज हटाएँ",more:"और",selectAll:"सभी चुनें",clearSelection:"चयन हटाएँ",countSelected:"{n} / {total} चयनित",printSelected:"चयनित प्रिंट करें",printAria:"चयनित प्रार्थना पदयात्रा क्षेत्र प्रिंट करें",emptyList:"अभी कोई क्षेत्र नहीं — प्रार्थना पदयात्रा की योजना शुरू करने के लिए मानचित्र पर बहुभुज बनाएँ।",delete:"हटाएँ",deleteAria:"{title} हटाएँ",zone:"क्षेत्र {n}",clickToPlace:"बिंदु लगाने के लिए क्लिक करें। बहुभुज बंद करने के लिए डबल-क्लिक करें (या पूरा करें)।",need3:"बहुभुज बनाने के लिए कम से कम 3 बिंदु चाहिए।",added:"बहुभुज जोड़ा गया।",selectOne:"प्रिंट करने के लिए कम से कम एक बहुभुज चुनें।",printUnavailable:"इस पेज पर प्रिंट उपलब्ध नहीं है।",preparing:"प्रिंट मानचित्र तैयार हो रहा है…",shareScope:"यह लिंक योजनाकार साझा करता है। आपके बनाए क्षेत्र इसी डिवाइस पर रहते हैं।",mapFailed:"मानचित्र लोड नहीं हुआ (WebGL नहीं?)। बनाने के लिए मानचित्र चाहिए, पर आपके सहेजे क्षेत्र और प्रिंट अब भी काम करते हैं।",kicker:"प्रार्थना पदयात्रा मानचित्र · केंद्र {c}",charge:"इस क्षेत्र की गलियों में चलें और यहाँ रहने, काम करने और आराधना करने वाले लोगों के लिए प्रार्थना करें।",corners:"क्षेत्र के कोने",mapAlt:"{title} का पदयात्रा मानचित्र",footer:"प्रार्थना पदयात्रा योजनाकार · {date} को बनाया गया · मानचित्र © OpenFreeMap · डेटा © OpenStreetMap योगदानकर्ता",docTitleOne:"प्रार्थना पदयात्रा योजना — 1 क्षेत्र",docTitleMany:"प्रार्थना पदयात्रा योजना — {n} क्षेत्र"},zh:{draw:"绘制多边形",drawing:"正在绘制…(点击地图)",finish:"完成多边形({n} 个点)",deleteSelected:"删除所选",deleteSelectedAria:"删除所选多边形",more:"更多",selectAll:"全选",clearSelection:"清除选择",countSelected:"已选 {n} / {total}",printSelected:"打印所选",printAria:"打印所选的祷告行走区域",emptyList:"还没有区域——在地图上绘制一个多边形,开始制定祷告行走计划。",delete:"删除",deleteAria:"删除{title}",zone:"区域 {n}",clickToPlace:"点击放置顶点。双击(或点“完成”)闭合多边形。",need3:"多边形至少需要 3 个点。",added:"已添加多边形。",selectOne:"请至少选择一个要打印的多边形。",printUnavailable:"此页面无法打印。",preparing:"正在准备打印地图…",shareScope:"此链接分享的是规划工具。您绘制的区域保留在本设备上。",mapFailed:"地图加载失败(没有 WebGL?)。绘制需要地图,但已保存的区域和打印仍可使用。",kicker:"祷告行走地图 · 中心 {c}",charge:"走遍这个区域的街道,为在这里生活、工作和敬拜的人祷告。",corners:"区域顶点",mapAlt:"{title}的行走地图",footer:"祷告行走规划 · 生成于 {date} · 地图 © OpenFreeMap · 数据 © OpenStreetMap 贡献者",docTitleOne:"祷告行走计划 — 1 个区域",docTitleMany:"祷告行走计划 — {n} 个区域"}},Nl=Object.keys(Yn);function R_(e,t,o){let s=(Yn[e]||Yn.en)[t]??Yn.en[t]??t;if(o)for(const r in o)s=s.split("{"+r+"}").join(String(o[r]));return s}const D_=["dir","lang"],z_={class:"pwp-toolbar"},U_=["aria-pressed"],j_=["disabled"],V_=["aria-expanded"],W_=["disabled","aria-label"],H_=["disabled"],G_=["disabled"],B_={class:"pwp-count"},K_=["disabled","aria-busy","aria-label"],Y_={key:0,class:"pwp-status"},q_={class:"pwp-body"},X_={class:"pwp-map"},Z_={class:"pwp-map-controls"},J_={class:"pwp-list"},Q_={key:0,class:"pwp-list-empty"},em=["onClick"],tm=["value","onKeydown","onBlur"],om=["onDblclick","title"],nm=["onClick","aria-label"],rm="prayer-walk-planner/prayer-walk-planner/index.html",Jo="pwp-draw",Qo="pwp-polygons",Rl=1200,sm=1344,am=2,im=op(Object.assign({inheritAttrs:!1},{__name:"prayer-walk-planner",props:{instanceId:{type:String,default:""},profileConfig:{type:[String,Object],default:""},language:{type:String,default:""}},setup(e,{expose:t}){const o=e,n=De(()=>{let b=o.profileConfig;if(typeof b=="string")try{b=b?JSON.parse(b):{}}catch{b={}}return b&&typeof b=="object"?b:{}});function s(){try{const b=new URLSearchParams(location.search),h=(b.get("lang")||b.get("locale")||"").split("-")[0].toLowerCase();if(Nl.includes(h))return h}catch{}try{return(document.documentElement.lang||"").split("-")[0].toLowerCase()}catch{return""}}const r=De(()=>{const b=String(o.language||n.value.locale||n.value.lang||s()||"en").split("-")[0].toLowerCase();return Nl.includes(b)?b:"en"}),a=De(()=>r.value==="ar"?"rtl":"ltr"),i=(b,h)=>R_(r.value,b,h),l=_e(!1),c=ht("appI18n",null);kt(r,b=>{try{c&&c.global&&(typeof c.global.locale=="object"?c.global.locale.value=b:c.global.locale=b)}catch{}},{immediate:!0});const p=o.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),_="prayer-walk-planner:v1:"+p,m=hn([]),L=_e(!1),T=_e([]),S=_e(""),O=_e(null);function C(){const b=i("shareScope");S.value=b,setTimeout(()=>{S.value===b&&(S.value="")},6e3)}const k=De(()=>m.filter(b=>b.selected).length);function v(){try{const b=window.localStorage.getItem(_);if(!b)return;const h=JSON.parse(b);Array.isArray(h)&&m.splice(0,m.length,...h.map(y=>({...y,selected:!1})))}catch(b){console.error("[prayer-walk-planner] failed to load localStorage:",b)}}function $(){try{const b=m.map(({selected:h,...y})=>y);window.localStorage.setItem(_,JSON.stringify(b))}catch(b){console.error("[prayer-walk-planner] failed to save localStorage:",b)}}const P=_e(null),{map:A,isMapReady:x,initializeMap:D,destroy:I}=Qh({containerRef:P,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function Y(b){if(b.length<3)return b;const[h,y]=b[0],[U,X]=b[b.length-1];return h===U&&y===X?b:[...b,b[0]]}function J(){return{type:"FeatureCollection",features:m.map(b=>({type:"Feature",id:b.id,properties:{id:b.id,title:b.title,selected:!!b.selected},geometry:{type:"Polygon",coordinates:[Y(b.coords)]}}))}}function H(){const b=T.value;if(b.length===0)return{type:"FeatureCollection",features:[]};const h=[];return h.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:b},properties:{}}),b.length>=2&&h.push({type:"Feature",geometry:{type:"LineString",coordinates:b},properties:{}}),b.length>=3&&h.push({type:"Feature",geometry:{type:"Polygon",coordinates:[Y(b)]},properties:{preview:!0}}),{type:"FeatureCollection",features:h}}function oe(){if(!A.value||!x.value)return;const b=A.value.getSource(Qo);b&&b.setData(J());const h=A.value.getSource(Jo);h&&h.setData(H())}function se(){A.value&&(A.value.addSource(Qo,{type:"geojson",data:J()}),A.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:Qo,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),A.value.addLayer({id:"pwp-polygons-line",type:"line",source:Qo,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),A.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:Qo,layout:{...fp(A.value),"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),A.value.addSource(Jo,{type:"geojson",data:H()}),A.value.addLayer({id:"pwp-draw-fill",type:"fill",source:Jo,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),A.value.addLayer({id:"pwp-draw-line",type:"line",source:Jo,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),A.value.addLayer({id:"pwp-draw-points",type:"circle",source:Jo,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),A.value.on("click","pwp-polygons-fill",b=>{var y,U,X;if(L.value)return;const h=(X=(U=(y=b.features)==null?void 0:y[0])==null?void 0:U.properties)==null?void 0:X.id;h!=null&&We(String(h))}),A.value.on("click",b=>{L.value&&(T.value=[...T.value,[b.lngLat.lng,b.lngLat.lat]],oe())}),A.value.on("dblclick",()=>{L.value&&K()}))}function G(){L.value||(L.value=!0,T.value=[],S.value=i("clickToPlace"),A.value&&(A.value.getCanvas().style.cursor="crosshair"))}function z(){L.value=!1,T.value=[],S.value="",A.value&&(A.value.getCanvas().style.cursor=""),oe()}function K(){if(T.value.length<3){S.value=i("need3");return}const b=Y(T.value),h=i("zone",{n:m.length+1});q(b,h),L.value=!1,T.value=[],A.value&&(A.value.getCanvas().style.cursor="");const y=i("added");S.value=y,setTimeout(()=>{S.value===y&&(S.value="")},2e3)}function q(b,h){if(!Array.isArray(b)||b.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const y="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return m.push({id:y,title:h||i("zone",{n:m.length+1}),coords:Y(b),createdAt:new Date().toISOString(),selected:!1}),$(),oe(),y}function be(b){const h=m.findIndex(y=>y.id===b);return h===-1?!1:(m.splice(h,1),$(),oe(),!0)}function We(b,h){const y=m.find(U=>U.id===b);return y?(y.selected=h===void 0?!y.selected:!!h,oe(),!0):!1}function Se(){m.forEach(b=>{b.selected=!1}),oe()}function Pe(b){let h=0,y=0;const U=b.length;for(const[X,ue]of b)h+=X,y+=ue;return[h/U,y/U]}function Be(b,h){const y=h>=0?"N":"S",U=b>=0?"E":"W";return Math.abs(h).toFixed(5)+"°"+y+", "+Math.abs(b).toFixed(5)+"°"+U}async function Qe(b){const h=typeof window<"u"&&window.maplibregl;if(!h)return null;await vp(h);let y=1/0,U=1/0,X=-1/0,ue=-1/0;for(const[Me,ce]of b.coords)MeX&&(X=Me),ceue&&(ue=ce);const Ae=document.createElement("div");Ae.setAttribute("aria-hidden","true"),Ae.style.cssText=`position:fixed;left:-${Rl*3}px;top:0;width:${Rl}px;height:${sm}px;pointer-events:none;`,document.body.appendChild(Ae);let le=null;try{return le=new h.Map({container:Ae,style:fi("daylight","maplibre").style,bounds:[[y,U],[X,ue]],fitBoundsOptions:{padding:90,maxZoom:18},pixelRatio:am,interactive:!1,attributionControl:!1,fadeDuration:0,canvasContextAttributes:{preserveDrawingBuffer:!0},preserveDrawingBuffer:!0}),await new Promise((Me,ce)=>{le.once("load",Me),le.once("error",Te=>ce(Te&&Te.error||Te)),setTimeout(()=>ce(new Error("style load timeout")),3e4)}),In(le,r.value),le.addSource("pwp-print-zone",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[Y(b.coords)]}}}),le.addLayer({id:"pwp-print-fill",type:"fill",source:"pwp-print-zone",paint:{"fill-color":"#92b195","fill-opacity":.12}}),le.addLayer({id:"pwp-print-casing",type:"line",source:"pwp-print-zone",paint:{"line-color":"#ffffff","line-width":9}}),le.addLayer({id:"pwp-print-line",type:"line",source:"pwp-print-zone",paint:{"line-color":"#1f5f3a","line-width":5}}),await new Promise(Me=>{const ce=()=>{le.loaded()&&le.areTilesLoaded()?Me():le.once("idle",ce)};le.once("idle",ce),setTimeout(Me,25e3)}),await new Promise(Me=>{le.once("render",()=>{try{Me(le.getCanvas().toDataURL("image/png"))}catch{Me(null)}}),le.triggerRepaint()})}finally{try{le&&le.remove()}catch{}Ae.remove()}}async function lt(b){const h=b&&b.length?m.filter(ce=>b.includes(ce.id)):m.filter(ce=>ce.selected);if(h.length===0)return S.value=i("selectOne"),{opened:!1,count:0};const y=ce=>String(ce??"").replace(/[<>&]/g,Te=>({"<":"<",">":">","&":"&"})[Te]);S.value=i("preparing");const U={};for(const ce of h){try{U[ce.id]=await Qe(ce)}catch(Te){console.error("[prayer-walk-planner] print map failed for",ce.title,Te)}U[ce.id]||delete U[ce.id]}S.value===i("preparing")&&(S.value="");const X=y(new Date().toLocaleDateString(r.value)),ue=ce=>''+y(ce)+"",Ae=h.map(ce=>{const[Te,ct]=Pe(ce.coords),qn=ce.coords.slice(0,-1).map(([lm,cm])=>ue(Be(lm,cm))).join("  ·  "),en=U[ce.id];return'

'+y(ce.title)+'

'+y(i("kicker",{c:"\0"})).replace("\0",ue(Be(Te,ct)))+"

"+(en?'
'+y(i(
':"")+'

'+y(i("charge"))+'

'+y(i("corners"))+": "+qn+'

"}).join(""),le=h.length===1?i("docTitleOne"):i("docTitleMany",{n:h.length});return o_(''+y(le)+''+Ae+"",{autoprint:!0})?{opened:!0,count:h.length}:(S.value=i("printUnavailable"),{opened:!1,count:0})}function He(b,h){return q(b,h)}function Ee(b){return be(b)}function et(b,h=!0){return We(b,h)}function ae(){Se()}function re(){return m.map(b=>({...b}))}function Ie(b){const h=m.find(y=>y.id===b);return h?{...h}:null}function f(b=null){return lt(b)}async function w(b){const h=m.find(y=>y.id===b);return h?Qe(h):null}t({addPolygon:He,deletePolygon:Ee,selectPolygon:et,clearSelection:ae,listPolygons:re,getPolygon:Ie,print:f,renderZoneMap:w,startDrawing:G,stopDrawing:z,resolvedInstanceId:p});function g(){if(typeof window>"u")return;const b={addPolygon:He,deletePolygon:Ee,selectPolygon:et,clearSelection:ae,listPolygons:re,getPolygon:Ie,print:f,renderZoneMap:w,startDrawing:G,stopDrawing:z,instanceId:p};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[p]=b,window.PrayerWalkPlanner.first=()=>{const h=Object.keys(window.PrayerWalkPlanner.instances);return h.length?window.PrayerWalkPlanner.instances[h[0]]:null}}function M(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[p]}function R(){L.value?z():G()}function N(){K()}function V(){m.filter(h=>h.selected).map(h=>h.id).forEach(h=>be(h))}function j(){m.forEach(b=>{b.selected=!0}),oe()}function d(){Se()}const u=_e(!1);async function E(){if(!u.value){u.value=!0;try{await lt(null)}finally{u.value=!1}}}function F(b){O.value=b}function W(b,h){const y=m.find(U=>U.id===b);y&&(y.title=(h||"").trim()||y.title,$(),oe()),O.value=null}return to(async()=>{v(),g(),await wn();try{await D(),A.value&&A.value.on("load",()=>{In(A.value,r.value),se(),oe()})}catch(b){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",b),S.value=i("mapFailed")}}),An(()=>{M(),I()}),Kn(":host{display:block;position:relative;width:100%;height:100%;min-height:420px}.pwp{position:absolute;inset:0;display:flex;flex-direction:column;background:#f3f3f1;color:#3b463d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pwp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #d1d4cd;z-index:5}.pwp-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;border:1px solid #d1d4cd;background:#fff;color:#3b463d;font-size:13px;font-weight:600;cursor:pointer}.pwp-btn:hover{border-color:#92b195}.pwp-btn.is-active{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent:hover{opacity:.9}.pwp-btn.busy{cursor:progress;opacity:.75}.pwp-btn.busy::after{content:'';display:inline-block;width:.8em;height:.8em;margin-inline-start:.5em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pwp-spin .8s linear infinite}@keyframes pwp-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pwp-btn.busy::after{animation:none}}.pwp-btn:disabled{opacity:.45;cursor:not-allowed}.pwp-btn.is-danger{color:#8a3b3b;border-color:#e0c4c4}.pwp-spacer{flex:1}.pwp-more-btn{display:none}.pwp-listops{display:contents}.pwp-count{font-size:12px;color:#6d766e}.pwp-status{padding:6px 12px;font-size:12px;color:#6d766e;background:#fff;border-bottom:1px solid #d1d4cd}.pwp-body{position:relative;flex:1;min-height:0;display:flex}.pwp-map{position:relative;flex:1;min-width:0}.pwp-map-el{position:absolute;inset:0}.pwp-map-controls{position:absolute;top:10px;right:10px;z-index:4;display:flex;flex-direction:column;gap:8px}.pwp[dir=rtl] .pwp-map-controls{right:auto;left:10px}.pwp-list{width:260px;flex-shrink:0;overflow-y:auto;background:#fff;border-left:1px solid #d1d4cd;padding:8px}.pwp-list-empty{padding:16px 10px;font-size:12px;color:#6d766e}.pwp-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;margin-bottom:4px;border:1px solid transparent;cursor:pointer}.pwp-item:hover{background:#f3f3f1}.pwp-item.is-selected{background:rgba(146,177,149,.18);border-color:#92b195}.pwp-item-title{flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwp-item-title-input{flex:1;font-size:13px;font-weight:600;padding:2px 4px;border:1px solid #92b195;border-radius:4px}.pwp-item-del{border:none;background:transparent;color:#8a3b3b;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px}.pwp-item-del:hover{background:rgba(138,59,59,.12)}@media (max-width:640px){.pwp-list{display:none}}@media (max-width:640px){.pwp-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 10px;gap:6px}.pwp-toolbar::-webkit-scrollbar{display:none}.pwp-toolbar>*{flex:0 0 auto}.pwp-btn{white-space:nowrap;padding:8px 12px}.pwp-spacer{display:none}.pwp-draw{order:-2}.pwp-print{order:-1}.pwp-toolbar{flex-wrap:wrap;overflow:visible}.pwp-more-btn{display:inline-flex}.pwp-listops{display:none;flex-basis:100%;flex-wrap:wrap;gap:6px}.pwp-listops.is-open{display:flex}}"),(b,h)=>(me(),xe("div",{class:"pwp",dir:a.value,lang:r.value},[Z("div",z_,[Z("button",{type:"button",class:Ke(["pwp-btn pwp-draw",{"is-active":L.value}]),"aria-pressed":L.value,onClick:R},Le(L.value?i("drawing"):i("draw")),11,U_),L.value?(me(),xe("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:T.value.length<3,onClick:N},Le(i("finish",{n:T.value.length})),9,j_)):no("",!0),Z("button",{type:"button",class:"pwp-btn pwp-more-btn","aria-expanded":l.value?"true":"false",onClick:h[0]||(h[0]=y=>l.value=!l.value)},"⋯ "+Le(i("more")),9,V_),Z("div",{class:Ke(["pwp-listops",{"is-open":l.value}]),onClick:h[1]||(h[1]=y=>l.value=!1)},[Z("button",{type:"button",class:"pwp-btn is-danger",disabled:k.value===0,onClick:V,"aria-label":i("deleteSelectedAria")},Le(i("deleteSelected")),9,W_),Z("button",{type:"button",class:"pwp-btn",disabled:m.length===0,onClick:j},Le(i("selectAll")),9,H_),Z("button",{type:"button",class:"pwp-btn",disabled:k.value===0,onClick:d},Le(i("clearSelection")),9,G_)],2),h[3]||(h[3]=Z("div",{class:"pwp-spacer"},null,-1)),Z("span",B_,Le(i("countSelected",{n:k.value,total:m.length})),1),Z("button",{type:"button",class:Ke(["pwp-btn is-accent pwp-print",{busy:u.value}]),disabled:k.value===0||u.value,"aria-busy":u.value?"true":"false",onClick:E,"aria-label":i("printAria")},Le(i("printSelected")),11,K_),Fe(x_,{"is-dark":!1,"embed-path":rm,onClick:C})]),S.value?(me(),xe("div",Y_,Le(S.value),1)):no("",!0),Z("div",q_,[Z("div",X_,[Z("div",{ref_key:"mapContainer",ref:P,class:"pwp-map-el"},null,512),Z("div",Z_,[Fe(O_,{"map-container":P.value},null,8,["map-container"]),Fe(N_,{hosted:""})])]),Z("div",J_,[m.length===0?(me(),xe("div",Q_,Le(i("emptyList")),1)):no("",!0),(me(!0),xe(je,null,Lr(m,y=>(me(),xe("div",{key:y.id,class:Ke(["pwp-item",{"is-selected":y.selected}]),onClick:U=>We(y.id)},[O.value===y.id?(me(),xe("input",{key:0,class:"pwp-item-title-input",type:"text",value:y.title,onClick:h[2]||(h[2]=Wr(()=>{},["stop"])),onKeydown:ip(U=>W(y.id,U.target.value),["enter"]),onBlur:U=>W(y.id,U.target.value),autofocus:""},null,40,tm)):(me(),xe("span",{key:1,class:"pwp-item-title",onDblclick:Wr(U=>F(y.id),["stop"]),title:y.title},Le(y.title),41,om)),Z("button",{type:"button",class:"pwp-item-del",onClick:Wr(U=>be(y.id),["stop"]),"aria-label":i("deleteAria",{title:y.title})},Le(i("delete")),9,nm)],10,em))),128))])])],8,D_))}}),{configureApp(e){const t=Rh();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",im)})(); +`,"share-button");const{t:o,tm:n,rt:s}=Ao(),r=e,a=ge(null),i=ge(!1),l=ge(null),c=ge(null),d=ge("link"),h=ge(!1),g=ge(!1),k=ge("medium"),E={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},y=gt("profileConfig",null),O=je(()=>u_({embedPath:r.embedPath,profileConfig:Nt(y)||null})),F=je(()=>{const ee=E[k.value].height;return''});function b(){i.value=!i.value,i.value&&(d.value="link",h.value=!1,g.value=!1)}function w(){i.value=!1}async function m(ee){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(ee),!0}catch{}try{const z=document.createElement("textarea");z.value=ee,z.setAttribute("readonly",""),z.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(z),z.select();const ue=document.execCommand("copy");return document.body.removeChild(z),ue}catch{return!1}}async function x(){await m(O.value)&&(h.value=!0,setTimeout(()=>{h.value=!1},2e3))}async function A(){await m(F.value)&&(g.value=!0,setTimeout(()=>{g.value=!1},2e3))}const T=gt("mapToolbar",null),U=ge(null);ia("mapToolbar",T||{el:U});const I=!T;function J(ee){if(a.value=ee||null,!I||!ee){ee||(U.value=null);return}const z=ee.offsetParent||ee.parentElement;z&&!z.closest(".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]")&&z.setAttribute("data-map-area","share-fallback"),U.value=ee}return(ee,z)=>($e(),Me("div",{ref:J,class:"share-wrap","data-share-root":""},[Ie(bs,{ref_key:"btnEl",ref:c,"data-control":"share","is-dark":e.isDark,active:i.value,title:Nt(o)("buttons.share"),onClick:b},{default:zo(()=>[...z[2]||(z[2]=[X("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[X("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),X("polyline",{points:"16 6 12 2 8 6"}),X("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),Ie(b_,{open:i.value,title:Nt(o)("buttons.share"),"is-dark":e.isDark,onClose:w},{default:zo(()=>[X("div",{ref_key:"popoverEl",ref:l,class:Ke(["share-pop",{light:!e.isDark}])},[X("ul",$_,[($e(!0),Me(Ge,null,Ar(Nt(n)("buttons.shareSteps"),(ue,ie)=>($e(),Me("li",{key:ie},Ae(Nt(s)(ue)),1))),128))]),X("div",w_,[X("button",{class:Ke(["share-tab",{active:d.value==="link"}]),onClick:z[0]||(z[0]=ue=>d.value="link")},Ae(t("share.embed_link","Embed link")),3),X("button",{class:Ke(["share-tab",{active:d.value==="embed"}]),onClick:z[1]||(z[1]=ue=>d.value="embed")},Ae(t("share.add_to_website","Add to Your Website")),3)]),d.value==="link"?($e(),Me("div",y_,[X("div",v_,[X("div",k_,Ae(O.value),1)]),X("button",{class:Ke(["share-primary-btn",{copied:h.value}]),onClick:x},[h.value?($e(),Me("svg",L_,[...z[4]||(z[4]=[X("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):($e(),Me("svg",S_,[...z[3]||(z[3]=[X("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),X("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Ur(" "+Ae(h.value?"Copied!":"Copy Link"),1)],2)])):qt("",!0),d.value==="embed"?($e(),Me("div",E_,[X("div",x_,Ae(t("share.embed_paste_hint","Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets).")),1),X("div",A_,[($e(),Me(Ge,null,Ar(E,(ue,ie)=>X("button",{key:ie,class:Ke(["share-size-pill",{active:k.value===ie}]),onClick:B=>k.value=ie},Ae(ue.label),11,T_)),64))]),X("div",P_,Ae(F.value),1),X("button",{class:Ke(["share-secondary-btn",{copied:g.value}]),onClick:A},[g.value?($e(),Me("svg",O_,[...z[6]||(z[6]=[X("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):($e(),Me("svg",M_,[...z[5]||(z[5]=[X("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),X("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),Ur(" "+Ae(g.value?"Copied!":"Copy Code"),1)],2)])):qt("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},C_={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},I_={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},N_={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=Ao(),n=e,s=t,r=ge(!1);let a=null,i=null,l=null,c=null,d=null,h=null,g=null,k=null,E=null,y=null,O=null,F=0,b=0,w=null,m=null;function x(){if(typeof document>"u")return!1;const B=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(B)||B.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function A(){var B,V,q;return((q=(V=(B=n.mapContainer)==null?void 0:B.getRootNode)==null?void 0:V.call(B))==null?void 0:q.host)??null}function T(){var V,q;const B=(q=(V=n.mapContainer)==null?void 0:V.getRootNode)==null?void 0:q.call(V);return document.fullscreenElement||document.webkitFullscreenElement||(B&&B instanceof ShadowRoot?B.fullscreenElement:null)||null}function U(B){const V=B.requestFullscreen||B.webkitRequestFullscreen;if(!V)return Promise.reject(new Error("Fullscreen API unavailable"));const q=V.call(B);return q&&typeof q.then=="function"?q:Promise.resolve()}function I(){const B=document.exitFullscreen||document.webkitExitFullscreen;if(!B)return Promise.reject(new Error("Fullscreen API unavailable"));const V=B.call(document);return V&&typeof V.then=="function"?V:Promise.resolve()}function J(){const B=A();if(!B)return!1;if(l=B,i=B.style.cssText,B.style.position="fixed",B.style.top="0",B.style.left="0",B.style.right="0",B.style.bottom="0",B.style.width="100vw",B.style.height="100vh",B.style.height="100dvh",B.style.zIndex="2147483647",B.style.margin="0",B.style.borderRadius="0",B.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){F=window.scrollY||window.pageYOffset||0,b=window.scrollX||window.pageXOffset||0;const V=document.body,q=document.documentElement;c=V?V.style.overflow:null,d=q?q.style.overflow:null,h=V?V.style.position:null,g=V?V.style.top:null,k=V?V.style.left:null,E=V?V.style.width:null,y=V?V.style.touchAction:null,O=q?q.style.touchAction:null,q&&(q.style.overflow="hidden",q.style.touchAction="none"),V&&(V.style.overflow="hidden",V.style.position="fixed",V.style.top=`-${F}px`,V.style.left=`-${b}px`,V.style.width="100%",V.style.touchAction="none"),w=Q=>{if(!l)return;const pe=Q.target;pe&&(pe===l||l.contains&&l.contains(pe))||Q.cancelable&&Q.preventDefault()},m=Q=>{if(!l)return;const pe=Q.target;pe&&(pe===l||l.contains&&l.contains(pe))||Q.cancelable&&Q.preventDefault()},document.addEventListener("touchmove",w,{passive:!1,capture:!0}),document.addEventListener("wheel",m,{passive:!1,capture:!0})}return!0}function ee(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const B=document.body,V=document.documentElement;B&&(B.style.overflow=c??"",B.style.position=h??"",B.style.top=g??"",B.style.left=k??"",B.style.width=E??"",B.style.touchAction=y??""),V&&(V.style.overflow=d??"",V.style.touchAction=O??""),w&&(document.removeEventListener("touchmove",w,{capture:!0}),w=null),m&&(document.removeEventListener("wheel",m,{capture:!0}),m=null),typeof window<"u"&&(F||b)&&window.scrollTo(b,F)}c=null,d=null,h=null,g=null,k=null,E=null,y=null,O=null,F=0,b=0}}function z(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function ue(){if(!x()){r.value?(ee(),r.value=!1,s("change",!1)):J()&&(r.value=!0,s("change",!0)),z();return}if(T())I().then(()=>{r.value=!1,s("change",!1)}).catch(()=>{});else{const V=A()??document.documentElement;U(V).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{U(document.documentElement).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{})})}}function ie(){r.value=!!T(),s("change",r.value)}return io(()=>{var V,q;document.addEventListener("fullscreenchange",ie),document.addEventListener("webkitfullscreenchange",ie);const B=(q=(V=n.mapContainer)==null?void 0:V.getRootNode)==null?void 0:q.call(V);B instanceof ShadowRoot&&(a=B,B.addEventListener("fullscreenchange",ie),B.addEventListener("webkitfullscreenchange",ie))}),Mn(()=>{document.removeEventListener("fullscreenchange",ie),document.removeEventListener("webkitfullscreenchange",ie),a&&(a.removeEventListener("fullscreenchange",ie),a.removeEventListener("webkitfullscreenchange",ie),a=null),l&&ee()}),(B,V)=>($e(),vo(bs,{"data-control":"fullscreen","is-dark":e.isDark,active:r.value,title:Nt(o)("buttons.toggleFullscreen"),onClick:ue},{default:zo(()=>[r.value?($e(),Me("svg",I_,[...V[1]||(V[1]=[X("path",{d:"M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z"},null,-1)])])):($e(),Me("svg",C_,[...V[0]||(V[0]=[X("path",{d:"M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z"},null,-1)])]))]),_:1},8,["is-dark","active","title"]))}};function R_(e){for(let t=e;t;t=t.parentNode||t.host)if(t.nodeType===1&&t.hasAttribute("data-doxa-help"))return!0;return!1}function D_(e){e&&e.dispatchEvent&&e.dispatchEvent(new CustomEvent("doxa:help",{bubbles:!0,composed:!0}))}function z_(){const e=Zt(),t=ge(!1);return io(()=>{t.value=R_(e&&e.proxy&&e.proxy.$el)}),{hosted:t,askForHelp:o=>D_(o||e&&e.proxy&&e.proxy.$el)}}const U_={__name:"HelpButton",props:{isDark:{type:Boolean,default:!1},hosted:{type:Boolean,default:!1}},emits:["open-help"],setup(e,{emit:t}){const{t:o}=Ao(),n=e,s=t,{hosted:r,askForHelp:a}=z_(),i=je(()=>!n.hosted||r.value);function l(){s("open-help"),a()}return(c,d)=>i.value?($e(),vo(bs,{key:0,"data-control":"help","is-dark":e.isDark,title:Nt(o)("buttons.aboutThisMap"),onClick:l},{default:zo(()=>[...d[0]||(d[0]=[X("span",{style:{"font-size":"15px","font-weight":"700","font-family":"serif","line-height":"1"}},"?",-1)])]),_:1},8,["is-dark","title"])):qt("",!0)}},Jn={en:{draw:"Draw polygon",drawing:"Drawing… (click map)",finish:"Finish polygon ({n} pts)",deleteSelected:"Delete selected",deleteSelectedAria:"Delete selected polygons",more:"More",zones:"Zones ({n})",closeZones:"Close the zone list",selectAll:"Select all",clearSelection:"Clear selection",countSelected:"{n} / {total} selected",printSelected:"Print selected",printAria:"Print selected prayer-walking zones",emptyList:"No zones yet — draw a polygon on the map to start a prayer-walking plan.",delete:"Delete",deleteAria:"Delete {title}",zone:"Zone {n}",clickToPlace:"Click to place points. Double-click (or Finish) to close the polygon.",need3:"Need at least 3 points to make a polygon.",added:"Polygon added.",selectOne:"Select at least one polygon to print.",printUnavailable:"Print frame unavailable in this host.",preparing:"Preparing the print map…",shareScope:"This link shares the planner. Your drawn zones stay on this device.",mapFailed:"Map failed to load (no WebGL?) — drawing needs the map, but your saved zones and Print still work.",kicker:"Prayer walking map · centre {c}",charge:"Walk the streets of this zone and pray for the people who live, work and worship along them.",corners:"Zone corners",mapAlt:"Walking map of {title}",footer:"Prayer Walk Planner · generated {date} · Map © OpenFreeMap · Data © OpenStreetMap contributors",docTitleOne:"Prayer Walking Plan — 1 zone",docTitleMany:"Prayer Walking Plan — {n} zones"},es:{draw:"Dibujar polígono",drawing:"Dibujando… (haz clic en el mapa)",finish:"Terminar polígono ({n} puntos)",deleteSelected:"Eliminar selección",deleteSelectedAria:"Eliminar los polígonos seleccionados",more:"Más",zones:"Zonas ({n})",closeZones:"Cerrar la lista de zonas",selectAll:"Seleccionar todo",clearSelection:"Quitar selección",countSelected:"{n} / {total} seleccionadas",printSelected:"Imprimir selección",printAria:"Imprimir las zonas de caminata de oración seleccionadas",emptyList:"Aún no hay zonas: dibuja un polígono en el mapa para empezar un plan de caminata de oración.",delete:"Eliminar",deleteAria:"Eliminar {title}",zone:"Zona {n}",clickToPlace:"Haz clic para colocar puntos. Doble clic (o Terminar) para cerrar el polígono.",need3:"Se necesitan al menos 3 puntos para formar un polígono.",added:"Polígono añadido.",selectOne:"Selecciona al menos un polígono para imprimir.",printUnavailable:"La impresión no está disponible en esta página.",preparing:"Preparando el mapa para imprimir…",shareScope:"Este enlace comparte el planificador. Tus zonas dibujadas se quedan en este dispositivo.",mapFailed:"No se pudo cargar el mapa (¿sin WebGL?). Para dibujar hace falta el mapa, pero tus zonas guardadas y la impresión siguen funcionando.",kicker:"Mapa de caminata de oración · centro {c}",charge:"Recorre las calles de esta zona y ora por las personas que viven, trabajan y adoran en ellas.",corners:"Esquinas de la zona",mapAlt:"Mapa para caminar de {title}",footer:"Planificador de caminatas de oración · generado el {date} · Mapa © OpenFreeMap · Datos © colaboradores de OpenStreetMap",docTitleOne:"Plan de caminata de oración — 1 zona",docTitleMany:"Plan de caminata de oración — {n} zonas"},fr:{draw:"Dessiner un polygone",drawing:"Dessin en cours… (cliquez sur la carte)",finish:"Terminer le polygone ({n} points)",deleteSelected:"Supprimer la sélection",deleteSelectedAria:"Supprimer les polygones sélectionnés",more:"Plus",zones:"Zones ({n})",closeZones:"Fermer la liste des zones",selectAll:"Tout sélectionner",clearSelection:"Effacer la sélection",countSelected:"{n} / {total} sélectionnées",printSelected:"Imprimer la sélection",printAria:"Imprimer les zones de marche de prière sélectionnées",emptyList:"Aucune zone pour l’instant — dessinez un polygone sur la carte pour commencer un plan de marche de prière.",delete:"Supprimer",deleteAria:"Supprimer {title}",zone:"Zone {n}",clickToPlace:"Cliquez pour placer des points. Double-cliquez (ou Terminer) pour fermer le polygone.",need3:"Il faut au moins 3 points pour former un polygone.",added:"Polygone ajouté.",selectOne:"Sélectionnez au moins un polygone à imprimer.",printUnavailable:"L’impression n’est pas disponible sur cette page.",preparing:"Préparation de la carte à imprimer…",shareScope:"Ce lien partage le planificateur. Vos zones dessinées restent sur cet appareil.",mapFailed:"La carte n’a pas pu se charger (pas de WebGL ?). Le dessin nécessite la carte, mais vos zones enregistrées et l’impression fonctionnent toujours.",kicker:"Carte de marche de prière · centre {c}",charge:"Parcourez les rues de cette zone et priez pour les personnes qui y vivent, y travaillent et y adorent.",corners:"Coins de la zone",mapAlt:"Carte de marche de {title}",footer:"Planificateur de marches de prière · généré le {date} · Carte © OpenFreeMap · Données © contributeurs OpenStreetMap",docTitleOne:"Plan de marche de prière — 1 zone",docTitleMany:"Plan de marche de prière — {n} zones"},de:{draw:"Polygon zeichnen",drawing:"Zeichnen… (auf die Karte klicken)",finish:"Polygon abschließen ({n} Punkte)",deleteSelected:"Auswahl löschen",deleteSelectedAria:"Ausgewählte Polygone löschen",more:"Mehr",zones:"Zonen ({n})",closeZones:"Zonenliste schließen",selectAll:"Alle auswählen",clearSelection:"Auswahl aufheben",countSelected:"{n} / {total} ausgewählt",printSelected:"Auswahl drucken",printAria:"Ausgewählte Gebetsspaziergang-Zonen drucken",emptyList:"Noch keine Zonen — zeichnen Sie ein Polygon auf der Karte, um einen Gebetsspaziergang zu planen.",delete:"Löschen",deleteAria:"{title} löschen",zone:"Zone {n}",clickToPlace:"Klicken, um Punkte zu setzen. Doppelklick (oder Abschließen) schließt das Polygon.",need3:"Für ein Polygon sind mindestens 3 Punkte nötig.",added:"Polygon hinzugefügt.",selectOne:"Wählen Sie mindestens ein Polygon zum Drucken aus.",printUnavailable:"Drucken ist auf dieser Seite nicht verfügbar.",preparing:"Druckkarte wird vorbereitet…",shareScope:"Dieser Link teilt den Planer. Ihre gezeichneten Zonen bleiben auf diesem Gerät.",mapFailed:"Die Karte konnte nicht geladen werden (kein WebGL?). Zum Zeichnen wird die Karte benötigt, aber gespeicherte Zonen und Drucken funktionieren weiterhin.",kicker:"Karte für den Gebetsspaziergang · Mitte {c}",charge:"Gehen Sie durch die Straßen dieser Zone und beten Sie für die Menschen, die hier leben, arbeiten und Gott anbeten.",corners:"Eckpunkte der Zone",mapAlt:"Spaziergangskarte von {title}",footer:"Gebetsspaziergang-Planer · erstellt am {date} · Karte © OpenFreeMap · Daten © OpenStreetMap-Mitwirkende",docTitleOne:"Gebetsspaziergang-Plan — 1 Zone",docTitleMany:"Gebetsspaziergang-Plan — {n} Zonen"},pt:{draw:"Desenhar polígono",drawing:"Desenhando… (clique no mapa)",finish:"Concluir polígono ({n} pontos)",deleteSelected:"Excluir seleção",deleteSelectedAria:"Excluir os polígonos selecionados",more:"Mais",zones:"Zonas ({n})",closeZones:"Fechar a lista de zonas",selectAll:"Selecionar tudo",clearSelection:"Limpar seleção",countSelected:"{n} / {total} selecionadas",printSelected:"Imprimir seleção",printAria:"Imprimir as zonas de caminhada de oração selecionadas",emptyList:"Ainda não há zonas — desenhe um polígono no mapa para começar um plano de caminhada de oração.",delete:"Excluir",deleteAria:"Excluir {title}",zone:"Zona {n}",clickToPlace:"Clique para marcar pontos. Clique duas vezes (ou Concluir) para fechar o polígono.",need3:"São necessários pelo menos 3 pontos para formar um polígono.",added:"Polígono adicionado.",selectOne:"Selecione pelo menos um polígono para imprimir.",printUnavailable:"A impressão não está disponível nesta página.",preparing:"Preparando o mapa para impressão…",shareScope:"Este link compartilha o planejador. Suas zonas desenhadas ficam neste dispositivo.",mapFailed:"O mapa não carregou (sem WebGL?). Desenhar exige o mapa, mas suas zonas salvas e a impressão continuam funcionando.",kicker:"Mapa de caminhada de oração · centro {c}",charge:"Caminhe pelas ruas desta zona e ore pelas pessoas que vivem, trabalham e adoram nelas.",corners:"Cantos da zona",mapAlt:"Mapa de caminhada de {title}",footer:"Planejador de caminhadas de oração · gerado em {date} · Mapa © OpenFreeMap · Dados © colaboradores do OpenStreetMap",docTitleOne:"Plano de caminhada de oração — 1 zona",docTitleMany:"Plano de caminhada de oração — {n} zonas"},it:{draw:"Disegna poligono",drawing:"Disegno in corso… (clicca sulla mappa)",finish:"Completa poligono ({n} punti)",deleteSelected:"Elimina selezionati",deleteSelectedAria:"Elimina i poligoni selezionati",more:"Altro",zones:"Zone ({n})",closeZones:"Chiudi l’elenco delle zone",selectAll:"Seleziona tutto",clearSelection:"Deseleziona",countSelected:"{n} / {total} selezionate",printSelected:"Stampa selezionate",printAria:"Stampa le zone di passeggiata di preghiera selezionate",emptyList:"Ancora nessuna zona — disegna un poligono sulla mappa per iniziare un piano di passeggiata di preghiera.",delete:"Elimina",deleteAria:"Elimina {title}",zone:"Zona {n}",clickToPlace:"Clicca per posizionare i punti. Doppio clic (o Completa) per chiudere il poligono.",need3:"Servono almeno 3 punti per formare un poligono.",added:"Poligono aggiunto.",selectOne:"Seleziona almeno un poligono da stampare.",printUnavailable:"La stampa non è disponibile in questa pagina.",preparing:"Preparazione della mappa di stampa…",shareScope:"Questo link condivide il pianificatore. Le zone che hai disegnato restano su questo dispositivo.",mapFailed:"Impossibile caricare la mappa (niente WebGL?). Per disegnare serve la mappa, ma le zone salvate e la stampa funzionano ancora.",kicker:"Mappa della passeggiata di preghiera · centro {c}",charge:"Percorri le strade di questa zona e prega per le persone che vi abitano, vi lavorano e vi adorano.",corners:"Vertici della zona",mapAlt:"Mappa della passeggiata di {title}",footer:"Pianificatore di passeggiate di preghiera · generato il {date} · Mappa © OpenFreeMap · Dati © contributori OpenStreetMap",docTitleOne:"Piano di passeggiata di preghiera — 1 zona",docTitleMany:"Piano di passeggiata di preghiera — {n} zone"},ro:{draw:"Desenează poligon",drawing:"Se desenează… (dă clic pe hartă)",finish:"Finalizează poligonul ({n} puncte)",deleteSelected:"Șterge selecția",deleteSelectedAria:"Șterge poligoanele selectate",more:"Mai mult",zones:"Zone ({n})",closeZones:"Închideți lista zonelor",selectAll:"Selectează tot",clearSelection:"Anulează selecția",countSelected:"{n} / {total} selectate",printSelected:"Tipărește selecția",printAria:"Tipărește zonele de plimbare de rugăciune selectate",emptyList:"Încă nu există zone — desenează un poligon pe hartă pentru a începe un plan de plimbare de rugăciune.",delete:"Șterge",deleteAria:"Șterge {title}",zone:"Zona {n}",clickToPlace:"Dă clic pentru a plasa puncte. Dublu clic (sau Finalizează) pentru a închide poligonul.",need3:"Sunt necesare cel puțin 3 puncte pentru un poligon.",added:"Poligon adăugat.",selectOne:"Selectează cel puțin un poligon de tipărit.",printUnavailable:"Tipărirea nu este disponibilă pe această pagină.",preparing:"Se pregătește harta de tipărit…",shareScope:"Acest link partajează planificatorul. Zonele desenate rămân pe acest dispozitiv.",mapFailed:"Harta nu s-a încărcat (fără WebGL?). Desenarea are nevoie de hartă, dar zonele salvate și tipărirea funcționează în continuare.",kicker:"Hartă pentru plimbarea de rugăciune · centru {c}",charge:"Plimbă-te pe străzile acestei zone și roagă-te pentru oamenii care locuiesc, lucrează și se închină aici.",corners:"Colțurile zonei",mapAlt:"Harta de plimbare pentru {title}",footer:"Planificator de plimbări de rugăciune · generat pe {date} · Hartă © OpenFreeMap · Date © contribuitorii OpenStreetMap",docTitleOne:"Plan de plimbare de rugăciune — 1 zonă",docTitleMany:"Plan de plimbare de rugăciune — {n} zone"},ru:{draw:"Нарисовать область",drawing:"Рисование… (щёлкайте по карте)",finish:"Завершить область (точек: {n})",deleteSelected:"Удалить выбранные",deleteSelectedAria:"Удалить выбранные области",more:"Ещё",zones:"Зоны ({n})",closeZones:"Закрыть список зон",selectAll:"Выбрать все",clearSelection:"Снять выбор",countSelected:"Выбрано: {n} из {total}",printSelected:"Печать выбранных",printAria:"Печать выбранных зон молитвенной прогулки",emptyList:"Зон пока нет — нарисуйте область на карте, чтобы начать план молитвенной прогулки.",delete:"Удалить",deleteAria:"Удалить: {title}",zone:"Зона {n}",clickToPlace:"Щёлкайте, чтобы ставить точки. Двойной щелчок (или «Завершить») замыкает область.",need3:"Для области нужно не менее 3 точек.",added:"Область добавлена.",selectOne:"Выберите хотя бы одну область для печати.",printUnavailable:"Печать недоступна на этой странице.",preparing:"Подготовка карты для печати…",shareScope:"Эта ссылка открывает планировщик. Нарисованные зоны остаются на этом устройстве.",mapFailed:"Не удалось загрузить карту (нет WebGL?). Для рисования нужна карта, но сохранённые зоны и печать по-прежнему работают.",kicker:"Карта молитвенной прогулки · центр {c}",charge:"Пройдите по улицам этой зоны и помолитесь о людях, которые здесь живут, работают и поклоняются.",corners:"Углы зоны",mapAlt:"Карта прогулки: {title}",footer:"Планировщик молитвенных прогулок · создано {date} · Карта © OpenFreeMap · Данные © участники OpenStreetMap",docTitleOne:"План молитвенной прогулки — 1 зона",docTitleMany:"План молитвенной прогулки — зон: {n}"},ar:{draw:"ارسم مضلّعًا",drawing:"جارٍ الرسم… (انقر على الخريطة)",finish:"إنهاء المضلّع ({n} نقاط)",deleteSelected:"حذف المحدد",deleteSelectedAria:"حذف المضلّعات المحددة",more:"المزيد",zones:"المناطق ({n})",closeZones:"إغلاق قائمة المناطق",selectAll:"تحديد الكل",clearSelection:"إلغاء التحديد",countSelected:"{n} / {total} محدد",printSelected:"طباعة المحدد",printAria:"طباعة مناطق جولات الصلاة المحددة",emptyList:"لا توجد مناطق بعد — ارسم مضلّعًا على الخريطة لتبدأ خطة جولة صلاة.",delete:"حذف",deleteAria:"حذف {title}",zone:"المنطقة {n}",clickToPlace:"انقر لوضع النقاط. انقر نقرًا مزدوجًا (أو «إنهاء») لإغلاق المضلّع.",need3:"يلزم 3 نقاط على الأقل لتكوين مضلّع.",added:"أُضيف المضلّع.",selectOne:"حدّد مضلّعًا واحدًا على الأقل للطباعة.",printUnavailable:"الطباعة غير متاحة في هذه الصفحة.",preparing:"جارٍ تجهيز خريطة الطباعة…",shareScope:"يشارك هذا الرابط المخطِّط. تبقى المناطق التي رسمتها على هذا الجهاز.",mapFailed:"تعذّر تحميل الخريطة (لا يوجد WebGL؟). الرسم يحتاج إلى الخريطة، لكن مناطقك المحفوظة والطباعة ما زالت تعمل.",kicker:"خريطة جولة الصلاة · المركز {c}",charge:"امشِ في شوارع هذه المنطقة وصلِّ من أجل الناس الذين يسكنون ويعملون ويعبدون فيها.",corners:"زوايا المنطقة",mapAlt:"خريطة جولة {title}",footer:"مخطِّط جولات الصلاة · أُنشئت في {date} · الخريطة © OpenFreeMap · البيانات © مساهمو OpenStreetMap",docTitleOne:"خطة جولة الصلاة — منطقة واحدة",docTitleMany:"خطة جولة الصلاة — عدد المناطق: {n}"},hi:{draw:"बहुभुज बनाएँ",drawing:"बनाया जा रहा है… (मानचित्र पर क्लिक करें)",finish:"बहुभुज पूरा करें ({n} बिंदु)",deleteSelected:"चयनित हटाएँ",deleteSelectedAria:"चयनित बहुभुज हटाएँ",more:"और",zones:"क्षेत्र ({n})",closeZones:"क्षेत्रों की सूची बंद करें",selectAll:"सभी चुनें",clearSelection:"चयन हटाएँ",countSelected:"{n} / {total} चयनित",printSelected:"चयनित प्रिंट करें",printAria:"चयनित प्रार्थना पदयात्रा क्षेत्र प्रिंट करें",emptyList:"अभी कोई क्षेत्र नहीं — प्रार्थना पदयात्रा की योजना शुरू करने के लिए मानचित्र पर बहुभुज बनाएँ।",delete:"हटाएँ",deleteAria:"{title} हटाएँ",zone:"क्षेत्र {n}",clickToPlace:"बिंदु लगाने के लिए क्लिक करें। बहुभुज बंद करने के लिए डबल-क्लिक करें (या पूरा करें)।",need3:"बहुभुज बनाने के लिए कम से कम 3 बिंदु चाहिए।",added:"बहुभुज जोड़ा गया।",selectOne:"प्रिंट करने के लिए कम से कम एक बहुभुज चुनें।",printUnavailable:"इस पेज पर प्रिंट उपलब्ध नहीं है।",preparing:"प्रिंट मानचित्र तैयार हो रहा है…",shareScope:"यह लिंक योजनाकार साझा करता है। आपके बनाए क्षेत्र इसी डिवाइस पर रहते हैं।",mapFailed:"मानचित्र लोड नहीं हुआ (WebGL नहीं?)। बनाने के लिए मानचित्र चाहिए, पर आपके सहेजे क्षेत्र और प्रिंट अब भी काम करते हैं।",kicker:"प्रार्थना पदयात्रा मानचित्र · केंद्र {c}",charge:"इस क्षेत्र की गलियों में चलें और यहाँ रहने, काम करने और आराधना करने वाले लोगों के लिए प्रार्थना करें।",corners:"क्षेत्र के कोने",mapAlt:"{title} का पदयात्रा मानचित्र",footer:"प्रार्थना पदयात्रा योजनाकार · {date} को बनाया गया · मानचित्र © OpenFreeMap · डेटा © OpenStreetMap योगदानकर्ता",docTitleOne:"प्रार्थना पदयात्रा योजना — 1 क्षेत्र",docTitleMany:"प्रार्थना पदयात्रा योजना — {n} क्षेत्र"},zh:{draw:"绘制多边形",drawing:"正在绘制…(点击地图)",finish:"完成多边形({n} 个点)",deleteSelected:"删除所选",deleteSelectedAria:"删除所选多边形",more:"更多",zones:"区域({n})",closeZones:"关闭区域列表",selectAll:"全选",clearSelection:"清除选择",countSelected:"已选 {n} / {total}",printSelected:"打印所选",printAria:"打印所选的祷告行走区域",emptyList:"还没有区域——在地图上绘制一个多边形,开始制定祷告行走计划。",delete:"删除",deleteAria:"删除{title}",zone:"区域 {n}",clickToPlace:"点击放置顶点。双击(或点“完成”)闭合多边形。",need3:"多边形至少需要 3 个点。",added:"已添加多边形。",selectOne:"请至少选择一个要打印的多边形。",printUnavailable:"此页面无法打印。",preparing:"正在准备打印地图…",shareScope:"此链接分享的是规划工具。您绘制的区域保留在本设备上。",mapFailed:"地图加载失败(没有 WebGL?)。绘制需要地图,但已保存的区域和打印仍可使用。",kicker:"祷告行走地图 · 中心 {c}",charge:"走遍这个区域的街道,为在这里生活、工作和敬拜的人祷告。",corners:"区域顶点",mapAlt:"{title}的行走地图",footer:"祷告行走规划 · 生成于 {date} · 地图 © OpenFreeMap · 数据 © OpenStreetMap 贡献者",docTitleOne:"祷告行走计划 — 1 个区域",docTitleMany:"祷告行走计划 — {n} 个区域"}},zl=Object.keys(Jn);function j_(e,t,o){let s=(Jn[e]||Jn.en)[t]??Jn.en[t]??t;if(o)for(const r in o)s=s.split("{"+r+"}").join(String(o[r]));return s}const V_=["dir","lang"],W_={class:"pwp-toolbar"},H_=["aria-expanded"],G_=["aria-pressed"],B_=["disabled"],K_=["aria-expanded"],Y_=["disabled","aria-label"],q_=["disabled"],Z_=["disabled"],X_={class:"pwp-count"},J_=["disabled","aria-busy","aria-label"],Q_={key:0,class:"pwp-status"},em={class:"pwp-body"},tm={class:"pwp-map"},om={class:"pwp-map-controls"},nm={class:"pwp-list-head"},rm=["aria-label"],sm={key:0,class:"pwp-list-empty"},am=["onClick"],im=["value","onKeydown","onBlur"],lm=["onDblclick","title"],cm=["onClick","aria-label"],um="prayer-walk-planner/prayer-walk-planner/index.html",rn="pwp-draw",sn="pwp-polygons",Ul=1200,pm=1344,dm=2,fm=ap(Object.assign({inheritAttrs:!1},{__name:"prayer-walk-planner",props:{instanceId:{type:String,default:""},profileConfig:{type:[String,Object],default:""},language:{type:String,default:""}},setup(e,{expose:t}){const o=e,n=je(()=>{let L=o.profileConfig;if(typeof L=="string")try{L=L?JSON.parse(L):{}}catch{L={}}return L&&typeof L=="object"?L:{}});function s(){try{const L=new URLSearchParams(location.search),D=(L.get("lang")||L.get("locale")||"").split("-")[0].toLowerCase();if(zl.includes(D))return D}catch{}try{return(document.documentElement.lang||"").split("-")[0].toLowerCase()}catch{return""}}const r=je(()=>{const L=String(o.language||n.value.locale||n.value.lang||s()||"en").split("-")[0].toLowerCase();return zl.includes(L)?L:"en"}),a=je(()=>r.value==="ar"?"rtl":"ltr"),i=(L,D)=>j_(r.value,L,D),l=ge(!1),c=ge(!1),d=ge(null),h=ge(null);function g(){c.value=!0,$o(()=>{var L,D;return(D=(L=h.value)==null?void 0:L.focus)==null?void 0:D.call(L)})}function k(){c.value=!1,$o(()=>{var L,D;return(D=(L=d.value)==null?void 0:L.focus)==null?void 0:D.call(L)})}function E(L){L.key==="Escape"&&c.value&&(L.preventDefault(),L.stopPropagation(),k())}const y=gt("appI18n",null);Et(r,L=>{try{y&&y.global&&(typeof y.global.locale=="object"?y.global.locale.value=L:y.global.locale=L)}catch{}},{immediate:!0});const O=o.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),F="prayer-walk-planner:v1:"+O,b=$n([]),w=ge(!1),m=ge([]),x=ge(""),A=ge(null);function T(){const L=i("shareScope");x.value=L,setTimeout(()=>{x.value===L&&(x.value="")},6e3)}const U=je(()=>b.filter(L=>L.selected).length);function I(){try{const L=window.localStorage.getItem(F);if(!L)return;const D=JSON.parse(L);Array.isArray(D)&&b.splice(0,b.length,...D.map(Y=>({...Y,selected:!1})))}catch(L){console.error("[prayer-walk-planner] failed to load localStorage:",L)}}function J(){try{const L=b.map(({selected:D,...Y})=>Y);window.localStorage.setItem(F,JSON.stringify(L))}catch(L){console.error("[prayer-walk-planner] failed to save localStorage:",L)}}const ee=ge(null),{map:z,isMapReady:ue,initializeMap:ie,destroy:B}=n_({containerRef:ee,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function V(L){if(L.length<3)return L;const[D,Y]=L[0],[de,Ee]=L[L.length-1];return D===de&&Y===Ee?L:[...L,L[0]]}function q(){return{type:"FeatureCollection",features:b.map(L=>({type:"Feature",id:L.id,properties:{id:L.id,title:L.title,selected:!!L.selected},geometry:{type:"Polygon",coordinates:[V(L.coords)]}}))}}function Q(){const L=m.value;if(L.length===0)return{type:"FeatureCollection",features:[]};const D=[];return D.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:L},properties:{}}),L.length>=2&&D.push({type:"Feature",geometry:{type:"LineString",coordinates:L},properties:{}}),L.length>=3&&D.push({type:"Feature",geometry:{type:"Polygon",coordinates:[V(L)]},properties:{preview:!0}}),{type:"FeatureCollection",features:D}}function pe(){if(!z.value||!ue.value)return;const L=z.value.getSource(sn);L&&L.setData(q());const D=z.value.getSource(rn);D&&D.setData(Q())}function tt(){z.value&&(z.value.addSource(sn,{type:"geojson",data:q()}),z.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:sn,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),z.value.addLayer({id:"pwp-polygons-line",type:"line",source:sn,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),z.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:sn,layout:{...gp(z.value),"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),z.value.addSource(rn,{type:"geojson",data:Q()}),z.value.addLayer({id:"pwp-draw-fill",type:"fill",source:rn,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),z.value.addLayer({id:"pwp-draw-line",type:"line",source:rn,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),z.value.addLayer({id:"pwp-draw-points",type:"circle",source:rn,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),z.value.on("click","pwp-polygons-fill",L=>{var Y,de,Ee;if(w.value)return;const D=(Ee=(de=(Y=L.features)==null?void 0:Y[0])==null?void 0:de.properties)==null?void 0:Ee.id;D!=null&&We(String(D))}),z.value.on("click",L=>{w.value&&(m.value=[...m.value,[L.lngLat.lng,L.lngLat.lat]],pe())}),z.value.on("dblclick",()=>{w.value&&qe()}))}function Le(){w.value||(w.value=!0,m.value=[],x.value=i("clickToPlace"),z.value&&(z.value.getCanvas().style.cursor="crosshair"))}function Pe(){w.value=!1,m.value=[],x.value="",z.value&&(z.value.getCanvas().style.cursor=""),pe()}function qe(){if(m.value.length<3){x.value=i("need3");return}const L=V(m.value),D=i("zone",{n:b.length+1});ot(L,D),w.value=!1,m.value=[],z.value&&(z.value.getCanvas().style.cursor="");const Y=i("added");x.value=Y,setTimeout(()=>{x.value===Y&&(x.value="")},2e3)}function ot(L,D){if(!Array.isArray(L)||L.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const Y="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return b.push({id:Y,title:D||i("zone",{n:b.length+1}),coords:V(L),createdAt:new Date().toISOString(),selected:!1}),J(),pe(),Y}function ut(L){const D=b.findIndex(Y=>Y.id===L);return D===-1?!1:(b.splice(D,1),J(),pe(),!0)}function We(L,D){const Y=b.find(de=>de.id===L);return Y?(Y.selected=D===void 0?!Y.selected:!!D,pe(),!0):!1}function Oe(){b.forEach(L=>{L.selected=!1}),pe()}function at(L){let D=0,Y=0;const de=L.length;for(const[Ee,ze]of L)D+=Ee,Y+=ze;return[D/de,Y/de]}function le(L,D){const Y=D>=0?"N":"S",de=L>=0?"E":"W";return Math.abs(D).toFixed(5)+"°"+Y+", "+Math.abs(L).toFixed(5)+"°"+de}async function ae(L){const D=typeof window<"u"&&window.maplibregl;if(!D)return null;await Ep(D);let Y=1/0,de=1/0,Ee=-1/0,ze=-1/0;for(const[it,_e]of L.coords)itEe&&(Ee=it),_eze&&(ze=_e);const Ot=document.createElement("div");Ot.setAttribute("aria-hidden","true"),Ot.style.cssText=`position:fixed;left:-${Ul*3}px;top:0;width:${Ul}px;height:${pm}px;pointer-events:none;`,document.body.appendChild(Ot);let Fe=null;try{return Fe=new D.Map({container:Ot,style:mi("daylight","maplibre").style,bounds:[[Y,de],[Ee,ze]],fitBoundsOptions:{padding:90,maxZoom:18},pixelRatio:dm,interactive:!1,attributionControl:!1,fadeDuration:0,canvasContextAttributes:{preserveDrawingBuffer:!0},preserveDrawingBuffer:!0}),await new Promise((it,_e)=>{Fe.once("load",it),Fe.once("error",Ht=>_e(Ht&&Ht.error||Ht)),setTimeout(()=>_e(new Error("style load timeout")),3e4)}),zn(Fe,r.value),Fe.addSource("pwp-print-zone",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[V(L.coords)]}}}),Fe.addLayer({id:"pwp-print-fill",type:"fill",source:"pwp-print-zone",paint:{"fill-color":"#92b195","fill-opacity":.12}}),Fe.addLayer({id:"pwp-print-casing",type:"line",source:"pwp-print-zone",paint:{"line-color":"#ffffff","line-width":9}}),Fe.addLayer({id:"pwp-print-line",type:"line",source:"pwp-print-zone",paint:{"line-color":"#1f5f3a","line-width":5}}),await new Promise(it=>{const _e=()=>{Fe.loaded()&&Fe.areTilesLoaded()?it():Fe.once("idle",_e)};Fe.once("idle",_e),setTimeout(it,25e3)}),await new Promise(it=>{Fe.once("render",()=>{try{it(Fe.getCanvas().toDataURL("image/png"))}catch{it(null)}}),Fe.triggerRepaint()})}finally{try{Fe&&Fe.remove()}catch{}Ot.remove()}}async function Re(L){const D=L&&L.length?b.filter(_e=>L.includes(_e.id)):b.filter(_e=>_e.selected);if(D.length===0)return x.value=i("selectOne"),{opened:!1,count:0};const Y=_e=>String(_e??"").replace(/[<>&]/g,Ht=>({"<":"<",">":">","&":"&"})[Ht]);x.value=i("preparing");const de={};for(const _e of D){try{de[_e.id]=await ae(_e)}catch(Ht){console.error("[prayer-walk-planner] print map failed for",_e.title,Ht)}de[_e.id]||delete de[_e.id]}x.value===i("preparing")&&(x.value="");const Ee=Y(new Date().toLocaleDateString(r.value)),ze=_e=>''+Y(_e)+"",Ot=D.map(_e=>{const[Ht,hm]=at(_e.coords),_m=_e.coords.slice(0,-1).map(([mm,gm])=>ze(le(mm,gm))).join("  ·  "),jl=de[_e.id];return'

'+Y(_e.title)+'

'+Y(i("kicker",{c:"\0"})).replace("\0",ze(le(Ht,hm)))+"

"+(jl?'
'+Y(i(
':"")+'

'+Y(i("charge"))+'

'+Y(i("corners"))+": "+_m+'

"}).join(""),Fe=D.length===1?i("docTitleOne"):i("docTitleMany",{n:D.length});return a_(''+Y(Fe)+''+Ot+"",{autoprint:!0})?{opened:!0,count:D.length}:(x.value=i("printUnavailable"),{opened:!1,count:0})}function f(L,D){return ot(L,D)}function $(L){return ut(L)}function _(L,D=!0){return We(L,D)}function P(){Oe()}function R(){return b.map(L=>({...L}))}function N(L){const D=b.find(Y=>Y.id===L);return D?{...D}:null}function H(L=null){return Re(L)}async function W(L){const D=b.find(Y=>Y.id===L);return D?ae(D):null}t({addPolygon:f,deletePolygon:$,selectPolygon:_,clearSelection:P,listPolygons:R,getPolygon:N,print:H,renderZoneMap:W,startDrawing:Le,stopDrawing:Pe,resolvedInstanceId:O});function u(){if(typeof window>"u")return;const L={addPolygon:f,deletePolygon:$,selectPolygon:_,clearSelection:P,listPolygons:R,getPolygon:N,print:H,renderZoneMap:W,startDrawing:Le,stopDrawing:Pe,instanceId:O};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[O]=L,window.PrayerWalkPlanner.first=()=>{const D=Object.keys(window.PrayerWalkPlanner.instances);return D.length?window.PrayerWalkPlanner.instances[D[0]]:null}}function p(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[O]}function S(){w.value?Pe():Le()}function C(){qe()}function G(){b.filter(D=>D.selected).map(D=>D.id).forEach(D=>ut(D))}function j(){b.forEach(L=>{L.selected=!0}),pe()}function v(){Oe()}const M=ge(!1);async function Z(){if(!M.value){M.value=!0;try{await Re(null)}finally{M.value=!1}}}function se(L){A.value=L}function we(L,D){const Y=b.find(de=>de.id===L);Y&&(Y.title=(D||"").trim()||Y.title,J(),pe()),A.value=null}return io(async()=>{I(),u(),await $o();try{await ie(),z.value&&z.value.on("load",()=>{zn(z.value,r.value),tt(),pe()})}catch(L){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",L),x.value=i("mapFailed")}}),Mn(()=>{p(),B()}),Xn(":host{display:block;position:relative;width:100%;height:100%;min-height:420px}.pwp{position:absolute;inset:0;display:flex;flex-direction:column;background:#f3f3f1;color:#3b463d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pwp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #d1d4cd;z-index:5}.pwp-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;border:1px solid #d1d4cd;background:#fff;color:#3b463d;font-size:13px;font-weight:600;cursor:pointer}.pwp-btn:hover{border-color:#92b195}.pwp-btn.is-active{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent{background:#92b195;border-color:#92b195;color:#fff}.pwp-btn.is-accent:hover{opacity:.9}.pwp-btn.busy{cursor:progress;opacity:.75}.pwp-btn.busy::after{content:'';display:inline-block;width:.8em;height:.8em;margin-inline-start:.5em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pwp-spin .8s linear infinite}@keyframes pwp-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pwp-btn.busy::after{animation:none}}.pwp-btn:disabled{opacity:.45;cursor:not-allowed}.pwp-btn.is-danger{color:#8a3b3b;border-color:#e0c4c4}.pwp-spacer{flex:1}.pwp-more-btn{display:none}.pwp-listops{display:contents}.pwp-count{font-size:12px;color:#6d766e}.pwp-status{padding:6px 12px;font-size:12px;color:#6d766e;background:#fff;border-bottom:1px solid #d1d4cd}.pwp-body{position:relative;flex:1;min-height:0;display:flex}.pwp-map{position:relative;flex:1;min-width:0}.pwp-map-el{position:absolute;inset:0}.pwp-map-controls{position:absolute;top:10px;right:10px;z-index:4;display:flex;flex-direction:column;gap:8px}.pwp[dir=rtl] .pwp-map-controls{right:auto;left:10px}.pwp-list{width:260px;flex-shrink:0;overflow-y:auto;background:#fff;border-inline-start:1px solid #d1d4cd;padding:8px}.pwp-zones-btn,.pwp-list-head,.pwp-backdrop{display:none}.pwp-list-empty{padding:16px 10px;font-size:12px;color:#6d766e}.pwp-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;margin-bottom:4px;border:1px solid transparent;cursor:pointer}.pwp-item:hover{background:#f3f3f1}.pwp-item.is-selected{background:rgba(146,177,149,.18);border-color:#92b195}.pwp-item-title{flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwp-item-title-input{flex:1;font-size:13px;font-weight:600;padding:2px 4px;border:1px solid #92b195;border-radius:4px}.pwp-item-del{border:none;background:transparent;color:#8a3b3b;cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px}.pwp-item-del:hover{background:rgba(138,59,59,.12)}@media (max-width:640px){.pwp-list{display:none;position:absolute;inset-block:0;inset-inline-end:0;width:min(300px,86%);z-index:7;box-shadow:0 0 24px rgba(0,0,0,.22);border-inline-start:none}.pwp-list.is-open{display:block}.pwp-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 2px 8px;margin-bottom:6px;border-bottom:1px solid #eceee9;font-size:13px;font-weight:700}.pwp-list-x{border:none;background:transparent;font-size:20px;line-height:1;cursor:pointer;color:#6d766e;min-width:36px;min-height:36px;border-radius:6px}.pwp-backdrop{display:block;position:absolute;inset:0;z-index:6;background:rgba(20,28,22,.28)}.pwp-zones-btn{display:inline-flex;order:-3}}@media (max-width:640px){.pwp-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 10px;gap:6px}.pwp-toolbar::-webkit-scrollbar{display:none}.pwp-toolbar>*{flex:0 0 auto}.pwp-btn{white-space:nowrap;padding:8px 12px}.pwp-spacer{display:none}.pwp-draw{order:-2}.pwp-print{order:-1}.pwp-toolbar{flex-wrap:wrap;overflow:visible}.pwp-more-btn{display:inline-flex}.pwp-listops{display:none;flex-basis:100%;flex-wrap:wrap;gap:6px}.pwp-listops.is-open{display:flex}}"),(L,D)=>($e(),Me("div",{class:"pwp",dir:a.value,lang:r.value},[X("div",W_,[X("button",{ref_key:"zonesBtn",ref:d,type:"button",class:"pwp-btn pwp-zones-btn","aria-expanded":c.value?"true":"false","aria-controls":"pwp-zone-list",onClick:D[0]||(D[0]=Y=>c.value?k():g())},"☰ "+Ae(i("zones",{n:b.length})),9,H_),X("button",{type:"button",class:Ke(["pwp-btn pwp-draw",{"is-active":w.value}]),"aria-pressed":w.value,onClick:S},Ae(w.value?i("drawing"):i("draw")),11,G_),w.value?($e(),Me("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:m.value.length<3,onClick:C},Ae(i("finish",{n:m.value.length})),9,B_)):qt("",!0),X("button",{type:"button",class:"pwp-btn pwp-more-btn","aria-expanded":l.value?"true":"false",onClick:D[1]||(D[1]=Y=>l.value=!l.value)},"⋯ "+Ae(i("more")),9,K_),X("div",{class:Ke(["pwp-listops",{"is-open":l.value}]),onClick:D[2]||(D[2]=Y=>l.value=!1)},[X("button",{type:"button",class:"pwp-btn is-danger",disabled:U.value===0,onClick:G,"aria-label":i("deleteSelectedAria")},Ae(i("deleteSelected")),9,Y_),X("button",{type:"button",class:"pwp-btn",disabled:b.length===0,onClick:j},Ae(i("selectAll")),9,q_),X("button",{type:"button",class:"pwp-btn",disabled:U.value===0,onClick:v},Ae(i("clearSelection")),9,Z_)],2),D[4]||(D[4]=X("div",{class:"pwp-spacer"},null,-1)),X("span",X_,Ae(i("countSelected",{n:U.value,total:b.length})),1),X("button",{type:"button",class:Ke(["pwp-btn is-accent pwp-print",{busy:M.value}]),disabled:U.value===0||M.value,"aria-busy":M.value?"true":"false",onClick:Z,"aria-label":i("printAria")},Ae(i("printSelected")),11,J_),Ie(F_,{"is-dark":!1,"embed-path":um,onClick:T})]),x.value?($e(),Me("div",Q_,Ae(x.value),1)):qt("",!0),X("div",em,[X("div",tm,[X("div",{ref_key:"mapContainer",ref:ee,class:"pwp-map-el"},null,512),X("div",om,[Ie(N_,{"map-container":ee.value},null,8,["map-container"]),Ie(U_,{hosted:""})])]),c.value?($e(),Me("div",{key:0,class:"pwp-backdrop",onClick:k})):qt("",!0),X("div",{id:"pwp-zone-list",class:Ke(["pwp-list",{"is-open":c.value}]),onKeydown:E},[X("div",nm,[X("span",null,Ae(i("zones",{n:b.length})),1),X("button",{ref_key:"zonesClose",ref:h,type:"button",class:"pwp-list-x","aria-label":i("closeZones"),onClick:k},"×",8,rm)]),b.length===0?($e(),Me("div",sm,Ae(i("emptyList")),1)):qt("",!0),($e(!0),Me(Ge,null,Ar(b,Y=>($e(),Me("div",{key:Y.id,class:Ke(["pwp-item",{"is-selected":Y.selected}]),onClick:de=>We(Y.id)},[A.value===Y.id?($e(),Me("input",{key:0,class:"pwp-item-title-input",type:"text",value:Y.title,onClick:D[3]||(D[3]=Br(()=>{},["stop"])),onKeydown:pp(de=>we(Y.id,de.target.value),["enter"]),onBlur:de=>we(Y.id,de.target.value),autofocus:""},null,40,im)):($e(),Me("span",{key:1,class:"pwp-item-title",onDblclick:Br(de=>se(Y.id),["stop"]),title:Y.title},Ae(Y.title),41,lm)),X("button",{type:"button",class:"pwp-item-del",onClick:Br(de=>ut(Y.id),["stop"]),"aria-label":i("deleteAria",{title:Y.title})},Ae(i("delete")),9,cm)],10,am))),128))],34)])],8,V_))}}),{configureApp(e){const t=jh();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",fm)})(); diff --git a/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html b/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html index 66976bb9a..997125dcc 100644 --- a/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html +++ b/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html @@ -65,7 +65,7 @@ - +