340 lines
264 KiB
JavaScript
340 lines
264 KiB
JavaScript
(function(){"use strict";var Xn=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={},so=[],_t=()=>{},gs=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),tn=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Jn=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},zl=Object.prototype.hasOwnProperty,he=(e,t)=>zl.call(e,t),ee=Array.isArray,zt=e=>vo(e)==="[object Map]",on=e=>vo(e)==="[object Set]",_s=e=>vo(e)==="[object Date]",ne=e=>typeof e=="function",Se=e=>typeof e=="string",ut=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",bs=e=>(me(e)||ne(e))&&ne(e.then)&&ne(e.catch),$s=Object.prototype.toString,vo=e=>$s.call(e),Ul=e=>vo(e).slice(8,-1),nn=e=>vo(e)==="[object Object]",Qn=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,So=Zn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rn=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},jl=/-\w/g,Qe=rn(e=>e.replace(jl,t=>t.slice(1).toUpperCase())),Wl=/\B([A-Z])/g,nt=rn(e=>e.replace(Wl,"-$1").toLowerCase()),ws=rn(e=>e.charAt(0).toUpperCase()+e.slice(1)),er=rn(e=>e?`on${ws(e)}`:""),bt=(e,t)=>!Object.is(e,t),tr=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},ys=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Hl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vs=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ss;const sn=()=>Ss||(Ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function an(e){if(ee(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],s=Se(n)?Kl(n):an(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(Se(e)||me(e))return e}const Vl=/;(?![^(]*\))/g,Gl=/:([^]+)/,Bl=/\/\*[^]*?\*\//g;function Kl(e){const t={};return e.replace(Bl,"").split(Vl).forEach(o=>{if(o){const n=o.split(Gl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function et(e){let t="";if(Se(e))t=e;else if(ee(e))for(let o=0;o<e.length;o++){const n=et(e[o]);n&&(t+=n+" ")}else if(me(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const Yl=Zn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Es(e){return!!e||e===""}function ql(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=ln(e[n],t[n]);return o}function Ls(e,t){if(e.size!==t.size)return!1;const o=Array.from(t),n=new Uint8Array(o.length);for(const s of e){let r=-1;for(let a=0;a<o.length;a++)if(!n[a]&&ln(s,o[a])){r=a;break}if(r<0)return!1;n[r]=1}return!0}function ln(e,t){if(e===t)return!0;let o=_s(e),n=_s(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=ut(e),n=ut(t),o||n)return e===t;if(o=ee(e),n=ee(t),o||n)return o&&n?ql(e,t):!1;if(o=me(e),n=me(t),o||n){if(!o||!n)return!1;if(o=zt(e),n=zt(t),o||n||(o=on(e),n=on(t),o||n))return o&&n?Ls(e,t):!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!ln(e[a],t[a]))return!1}}return String(e)===String(t)}const Ts=e=>!!(e&&e.__v_isRef===!0),Te=e=>Se(e)?e:e==null?"":ee(e)||me(e)&&(e.toString===$s||!ne(e.toString))?Ts(e)?Te(e.value):JSON.stringify(e,ks,2):String(e),ks=(e,t)=>Ts(t)?ks(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[or(n,r)+" =>"]=s,o),{})}:on(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>or(o))}:ut(t)?or(t):me(t)&&!ee(t)&&!nn(t)?String(t):t,or=(e,t="")=>{var o;return ut(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 Re;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&&Re&&(Re.active?(this.parent=Re,this.index=(Re.scopes||(Re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t<o;t++)n[t].pause()}for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes){const s=this.scopes.slice();for(t=0,o=s.length;t<o;t++)s[t].resume()}const n=this.effects.slice();for(t=0,o=n.length;t<o;t++)n[t].resume()}}run(t){if(this._active){const o=Re;try{return Re=this,t()}finally{Re=o}}}on(){++this._on===1&&(this.prevScope=Re,Re=this)}off(){if(this._on>0&&--this._on===0){if(Re===this)Re=this.prevScope;else{let t=Re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(o=0,n=s.length;o<n;o++)s[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Ms(e){return new xs(e)}function Xl(){return Re}let we;const nr=new WeakSet;class Ps{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Re&&(Re.active?Re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,nr.has(this)&&(nr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Os(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Rs(this),Fs(this);const t=we,o=pt;we=this,pt=!0;try{return this.fn()}finally{Cs(this),we=t,pt=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ir(t);this.deps=this.depsTail=void 0,Rs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ar(this)&&this.run()}get dirty(){return ar(this)}}let As=0,Eo,Lo;function Os(e,t=!1){if(e.flags|=8,t){e.next=Lo,Lo=e;return}e.next=Eo,Eo=e}function rr(){As++}function sr(){if(--As>0)return;if(Lo){let t=Lo;for(Lo=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 Fs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Cs(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),ir(n),Zl(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&&(Is(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Is(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{Fs(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,Cs(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 Zl(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 Ns=[];function $t(){Ns.push(pt),pt=!1}function wt(){const e=Ns.pop();pt=e===void 0?!0:e}function Rs(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 Jl{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 Jl(we,this),we.deps?(o.prevDep=we.depsTail,we.depsTail.nextDep=o,we.depsTail=o):we.deps=we.depsTail=o,Ds(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 Ds(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)Ds(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const cr=new WeakMap,qt=Symbol(""),ur=Symbol(""),ko=Symbol("");function He(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 Mt(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 d=Number(n);a.forEach((h,m)=>{(m==="length"||m===ko||!ut(m)&&m>=d)&&i(h)})}else switch((o!==void 0||a.has(void 0))&&i(a.get(o)),c&&i(a.get(ko)),t){case"add":l?c&&i(a.get("length")):(i(a.get(qt)),zt(e)&&i(a.get(ur)));break;case"delete":l||(i(a.get(qt)),zt(e)&&i(a.get(ur)));break;case"set":zt(e)&&i(a.get(qt));break}}sr()}function ao(e){const t=pe(e);return t===e?t:(He(t,"iterate",ko),at(e)?t:t.map(dt))}function cn(e){return He(e=pe(e),"iterate",ko),e}function yt(e,t){return At(e)?io(Xt(e)?dt(t):t):dt(t)}const Ql={__proto__:null,[Symbol.iterator](){return pr(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return ao(this).concat(...e.map(t=>ee(t)?ao(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 ao(this).join(e)},lastIndexOf(...e){return dr(this,"lastIndexOf",e)},map(e,t){return Pt(this,"map",e,t,void 0,arguments)},pop(){return xo(this,"pop")},push(...e){return xo(this,"push",e)},reduce(e,...t){return zs(this,"reduce",e,t)},reduceRight(e,...t){return zs(this,"reduceRight",e,t)},shift(){return xo(this,"shift")},some(e,t){return Pt(this,"some",e,t,void 0,arguments)},splice(...e){return xo(this,"splice",e)},toReversed(){return ao(this).toReversed()},toSorted(e){return ao(this).toSorted(e)},toSpliced(...e){return ao(this).toSpliced(...e)},unshift(...e){return xo(this,"unshift",e)},values(){return pr(this,"values",e=>yt(this,e))}};function pr(e,t,o){const n=cn(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 ec=Array.prototype;function Pt(e,t,o,n,s,r){const a=cn(e),i=a!==e&&!at(e),l=a[t];if(l!==ec[t]){const h=l.apply(e,r);return i?dt(h):h}let c=o;a!==e&&(i?c=function(h,m){return o.call(this,yt(e,h),m,e)}:o.length>2&&(c=function(h,m){return o.call(this,h,m,e)}));const d=l.call(a,c,n);return i&&s?s(d):d}function zs(e,t,o,n){const s=cn(e),r=s!==e&&!at(e);let a=o,i=!1;s!==e&&(r?(i=n.length===0,a=function(c,d,h){return i&&(i=!1,c=yt(e,c)),o.call(this,c,yt(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?yt(e,l):l}function dr(e,t,o){const n=pe(e);He(n,"iterate",ko);const s=n[t](...o);return(s===-1||s===!1)&&mr(o[0])?(o[0]=pe(o[0]),n[t](...o)):s}function xo(e,t,o=[]){$t(),rr();const n=pe(e)[t].apply(e,o);return sr(),wt(),n}const tc=Zn("__proto__,__v_isRef,__isVue"),Us=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut));function oc(e){ut(e)||(e=String(e));const t=pe(this);return He(t,"has",e),t.hasOwnProperty(e)}class js{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?Ks:Bs:r?Gs:Vs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=ee(t);if(!s){let l;if(a&&(l=Ql[o]))return l;if(o==="hasOwnProperty")return oc}const i=Reflect.get(t,o,Ie(t)?t:n);if((ut(o)?Us.has(o):tc(o))||(s||He(t,"get",o),r))return i;if(Ie(i)){const l=a&&Qn(o)?i:i.value;return s&&me(l)?hr(l):l}return me(i)?s?hr(i):fn(i):i}}class Ws extends js{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=At(r);if(!at(n)&&!At(n)&&(r=pe(r),n=pe(n)),!a&&Ie(r)&&!Ie(n))return c||(r.value=n),!0}const i=a?Number(o)<t.length:he(t,o),l=Reflect.set(t,o,n,Ie(t)?t:s);return t===pe(s)&&l&&(i?bt(n,r)&&Mt(t,"set",o,n):Mt(t,"add",o,n)),l}deleteProperty(t,o){const n=he(t,o);t[o];const s=Reflect.deleteProperty(t,o);return s&&n&&Mt(t,"delete",o,void 0),s}has(t,o){const n=Reflect.has(t,o);return(!ut(o)||!Us.has(o))&&He(t,"has",o),n}ownKeys(t){return He(t,"iterate",ee(t)?"length":qt),Reflect.ownKeys(t)}}class Hs extends js{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const nc=new Ws,rc=new Hs,sc=new Ws(!0),ac=new Hs(!0),fr=e=>e,un=e=>Reflect.getPrototypeOf(e);function ic(e,t,o){return function(...n){const s=this.__v_raw,r=pe(s),a=zt(r),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...n),d=o?fr:t?io:dt;return!t&&He(r,"iterate",l?ur:qt),Pe(Object.create(c),{next(){const{value:h,done:m}=c.next();return m?{value:h,done:m}:{value:i?[d(h[0]),d(h[1])]:d(h),done:m}}})}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function lc(e,t){const o={get(s){const r=this.__v_raw,a=pe(r),i=pe(s);e||(bt(s,i)&&He(a,"get",s),He(a,"get",i));const{has:l}=un(a),c=t?fr:e?io: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&&He(pe(s),"iterate",qt),s.size},has(s){const r=this.__v_raw,a=pe(r),i=pe(s);return e||(bt(s,i)&&He(a,"has",s),He(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?io:dt;return!e&&He(l,"iterate",qt),i.forEach((d,h)=>s.call(r,c(d),c(h),a))}};return Pe(o,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(s){const r=pe(this),a=un(r),i=pe(s),l=!t&&!at(s)&&!At(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),Mt(r,"add",l,l)),this},set(s,r){!t&&!at(r)&&!At(r)&&(r=pe(r));const a=pe(this),{has:i,get:l}=un(a);let c=i.call(a,s);c||(s=pe(s),c=i.call(a,s));const d=l.call(a,s);return a.set(s,r),c?bt(r,d)&&Mt(a,"set",s,r):Mt(a,"add",s,r),this},delete(s){const r=pe(this),{has:a,get:i}=un(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&&Mt(r,"delete",s,void 0),c},clear(){const s=pe(this),r=s.size!==0,a=s.clear();return r&&Mt(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=ic(s,e,t)}),o}function dn(e,t){const o=lc(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(he(o,s)&&s in n?o:n,s,r)}const cc={get:dn(!1,!1)},uc={get:dn(!1,!0)},pc={get:dn(!0,!1)},dc={get:dn(!0,!0)},Vs=new WeakMap,Gs=new WeakMap,Bs=new WeakMap,Ks=new WeakMap;function fc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fn(e){return At(e)?e:hn(e,!1,nc,cc,Vs)}function hc(e){return hn(e,!1,sc,uc,Gs)}function hr(e){return hn(e,!0,rc,pc,Bs)}function rg(e){return hn(e,!0,ac,dc,Ks)}function hn(e,t,o,n,s){if(!me(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=fc(Ul(e));if(a===0)return e;const i=new Proxy(e,a===2?n:o);return s.set(e,i),i}function Xt(e){return At(e)?Xt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function at(e){return!!(e&&e.__v_isShallow)}function mr(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function mc(e){return!he(e,"__v_skip")&&Object.isExtensible(e)&&ys(e,"__v_skip",!0),e}const dt=e=>me(e)?fn(e):e,io=e=>me(e)?hr(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ye(e){return Ys(e,!1)}function gr(e){return Ys(e,!0)}function Ys(e,t){return Ie(e)?e:new gc(e,t)}class gc{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)||At(t);t=n?t:pe(t),bt(t,o)&&(this._rawValue=t,this._value=n?t:dt(t),this.dep.trigger())}}function Ut(e){return Ie(e)?e.value:e}const _c={get:(e,t,o)=>t==="__v_raw"?e:Ut(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Ie(s)&&!Ie(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function qs(e){return Xt(e)?e:new Proxy(e,_c)}class bc{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 Os(this,!0),!0}get value(){const t=this.dep.track();return Is(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $c(e,t,o=!1){let n,s;return ne(e)?n=e:(n=e.get,s=e.set),new bc(n,s,o)}const mn={},gn=new WeakMap;let Zt;function wc(e,t=!1,o=Zt){if(o){let n=gn.get(o);n||gn.set(o,n=[]),n.push(e)}}function yc(e,t,o=$e){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=o,c=b=>s?b:at(b)||s===!1||s===0?jt(b,1):jt(b);let d,h,m,L,M=!1,S=!1;if(Ie(e)?(h=()=>e.value,M=at(e)):Xt(e)?(h=()=>c(e),M=!0):ee(e)?(S=!0,M=e.some(b=>Xt(b)||at(b)),h=()=>e.map(b=>{if(Ie(b))return b.value;if(Xt(b))return c(b);if(ne(b))return l?l(b,2):b()})):ne(e)?t?h=l?()=>l(e,2):e:h=()=>{if(m){$t();try{m()}finally{wt()}}const b=Zt;Zt=d;try{return l?l(e,3,[L]):e(L)}finally{Zt=b}}:h=_t,t&&s){const b=h,A=s===!0?1/0:s;h=()=>jt(b(),A)}const C=Xl(),I=()=>{d.stop(),C&&C.active&&Jn(C.effects,d)};if(r&&t){const b=t;t=(...A)=>{const k=b(...A);return I(),k}}let v=S?new Array(e.length).fill(mn):mn;const y=b=>{if(!(!(d.flags&1)||!d.dirty&&!b))if(t){const A=d.run();if(b||s||M||(S?A.some((k,P)=>bt(k,v[P])):bt(A,v))){m&&m();const k=Zt;Zt=d;try{const P=[A,v===mn?void 0:S&&v[0]===mn?[]:v,L];v=A,l?l(t,3,P):t(...P)}finally{Zt=k}}}else d.run()};return i&&i(y),d=new Ps(h),d.scheduler=a?()=>a(y,!1):y,L=b=>wc(b,!1,d),m=d.onStop=()=>{const b=gn.get(d);if(b){if(l)l(b,4);else for(const A of b)A();gn.delete(d)}},t?n?y(!0):v=d.run():a?a(y.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function jt(e,t=1/0,o){if(t<=0||!me(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ie(e))jt(e.value,t,o);else if(ee(e))for(let n=0;n<e.length;n++)jt(e[n],t,o);else if(on(e)||zt(e))e.forEach(n=>{jt(n,t,o)});else if(nn(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}/**
|
||
* @vue/runtime-core v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Mo=[];let _r=!1;function sg(e,...t){if(_r)return;_r=!0,$t();const o=Mo.length?Mo[Mo.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=vc();if(n)lo(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 <${Ka(o,r.type)}>`).join(`
|
||
`),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(`
|
||
`,...Sc(s)),console.warn(...r)}wt(),_r=!1}function vc(){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 Sc(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
|
||
`],...Ec(o))}),t}function Ec({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Ka(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...Lc(e.props),r]:[s+r]}function Lc(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Xs(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Xs(e,t,o){return Se(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ie(t)?(t=Xs(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 lo(e,t,o,n){try{return n?e(...n):e()}catch(s){_n(s,t,o)}}function ft(e,t,o,n){if(ne(e)){const s=lo(e,t,o,n);return s&&bs(s)&&s.catch(r=>{_n(r,t,o)}),s}if(ee(e)){const s=[];for(let r=0;r<e.length;r++)s.push(ft(e[r],t,o,n));return s}}function _n(e,t,o,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||$e;if(t){let i=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${o}`;for(;i;){const d=i.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,l,c)===!1)return}i=i.parent}if(r){$t(),lo(r,null,10,[e,l,c]),wt();return}}Tc(e,o,s,n,a)}function Tc(e,t,o,n=!0,s=!1){if(s)throw e;console.error(e)}const Ge=[];let vt=-1;const co=[];let Wt=null,uo=0;const Zs=Promise.resolve();let bn=null;function $n(e){const t=bn||Zs;return e?t.then(this?e.bind(this):e):t}function kc(e){let t=vt+1,o=Ge.length;for(;t<o;){const n=t+o>>>1,s=Ge[n],r=Po(s);r<e||r===e&&s.flags&2?t=n+1:o=n}return t}function br(e){if(!(e.flags&1)){const t=Po(e),o=Ge[Ge.length-1];!o||!(e.flags&2)&&t>=Po(o)?Ge.push(e):Ge.splice(kc(t),0,e),e.flags|=1,Js()}}function Js(){bn||(bn=Zs.then(ta))}function xc(e){if(!ee(e))Wt&&e.id===-1?Wt.splice(uo+1,0,e):e.flags&1||(co.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)co.push(e[t]);Js()}function Qs(e,t,o=vt+1){for(;o<Ge.length;o++){const n=Ge[o];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ge.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ea(e){if(co.length){const t=[...new Set(co)].sort((o,n)=>Po(o)-Po(n));if(co.length=0,Wt){for(let o=0;o<t.length;o++)Wt.push(t[o]);return}for(Wt=t,uo=0;uo<Wt.length;uo++){const o=Wt[uo];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Wt=null,uo=0}}const Po=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ta(e){try{for(vt=0;vt<Ge.length;vt++){const t=Ge[vt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),lo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;vt<Ge.length;vt++){const t=Ge[vt];t&&(t.flags&=-2)}vt=-1,Ge.length=0,ea(),bn=null,(Ge.length||co.length)&&ta()}}let tt=null,oa=null;function wn(e){const t=tt;return tt=e,oa=e&&e.type.__scopeId||null,t}function yn(e,t=tt,o){if(!t||e._n)return e;const n=(...s)=>{n._d&&Pn(-1);const r=wn(t),a=Ft.length;let i;try{i=e(...s)}finally{for(let l=Ft.length;l>a;l--)Nr();wn(r),n._d&&Pn(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Jt(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&($t(),ft(l,o,8,[e.el,i,e,t]),wt())}}function na(e,t){if(Ye){let o=Ye.provides;const n=Ye.parent&&Ye.parent.provides;n===o&&(o=Ye.provides=Object.create(n)),o[e]=t}}function ht(e,t,o=!1){const n=to();if(n||ho){let s=ho?ho._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return o&&ne(t)?t.call(n&&n.proxy):t}}const Mc=Symbol.for("v-scx"),Pc=()=>ht(Mc);function St(e,t,o){return ra(e,t,o)}function ra(e,t,o=$e){const{immediate:n,deep:s,flush:r,once:a}=o,i=Pe({},o),l=t&&n||!t&&r!=="post";let c;if(Wo){if(r==="sync"){const L=Pc();c=L.__watcherHandles||(L.__watcherHandles=[])}else if(!l){const L=()=>{};return L.stop=_t,L.resume=_t,L.pause=_t,L}}const d=Ye;i.call=(L,M,S)=>ft(L,d,M,S);let h=!1;r==="post"?i.scheduler=L=>{Ke(L,d&&d.suspense)}:r!=="sync"&&(h=!0,i.scheduler=(L,M)=>{M?L():br(L)}),i.augmentJob=L=>{t&&(L.flags|=4),h&&(L.flags|=2,d&&(L.id=d.uid,L.i=d))};const m=yc(e,t,i);return Wo&&(c?c.push(m):l&&m()),m}function Ac(e,t,o){const n=this.proxy,s=Se(e)?e.includes(".")?sa(n,e):()=>n[e]:e.bind(n,n);let r;ne(t)?r=t:(r=t.handler,o=t);const a=jo(this),i=ra(s,r.bind(n),o);return a(),i}function sa(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;s<o.length&&n;s++)n=n[o[s]];return n}}const Ht=new WeakMap,aa=Symbol("_vte"),vn=e=>e.__isTeleport,Qt=e=>e&&(e.disabled||e.disabled===""),Oc=e=>e&&(e.defer||e.defer===""),ia=e=>typeof SVGElement<"u"&&e instanceof SVGElement,la=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,$r=(e,t)=>{const o=e&&e.to;return Se(o)?t?t(o):null:o},Fc={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,a,i,l,c){const{mc:d,pc:h,pbc:m,o:{insert:L,querySelector:M,createText:S,createComment:C,parentNode:I}}=c,v=Qt(t.props);let{dynamicChildren:y}=t;const b=(P,z,N)=>{P.shapeFlag&16&&d(P.children,z,N,s,r,a,i,l)},A=(P=t)=>{const z=Qt(P.props),N=P.target=$r(P.props,M),Y=wr(N,P,S,L);N&&(a!=="svg"&&ia(N)?a="svg":a!=="mathml"&&la(N)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(N),z||(b(P,N,Y),Ao(P,!1)))},k=P=>{const z=()=>{if(Ht.get(P)===z){if(Ht.delete(P),Qt(P.props)){const N=I(P.el)||o;b(P,N,P.anchor),Ao(P,!0)}A(P)}};Ht.set(P,z),Ke(z,r)};if(e==null){const P=t.el=S(""),z=t.anchor=S("");if(L(P,o,n),L(z,o,n),Oc(t.props)||r&&r.pendingBranch){k(t);return}v&&(b(t,o,z),Ao(t,!0)),A()}else{t.el=e.el;const P=t.anchor=e.anchor,z=Ht.get(e);if(z){z.flags|=8,Ht.delete(e),k(t);return}t.targetStart=e.targetStart;const N=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,J=Qt(e.props),H=J?o:N,oe=J?P:Y;if(a==="svg"||ia(N)?a="svg":(a==="mathml"||la(N))&&(a="mathml"),y?(m(e.dynamicChildren,y,H,s,r,a,i),Cr(e,t,!0)):l||h(e,t,H,oe,s,r,a,i,!1),v)J?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sn(t,o,P,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=$r(t.props,M);se&&(t.target=se,Sn(t,se,null,c,0))}else J&&Sn(t,N,Y,c,1);Ao(t,v)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:a,children:i,anchor:l,targetStart:c,targetAnchor:d,target:h,props:m}=e,L=Qt(m),M=r||!L,S=Ht.get(e);if(S&&(S.flags|=8,Ht.delete(e)),h&&(s(c),s(d)),r&&s(l),!S&&(L||h)&&a&16)for(let C=0;C<i.length;C++){const I=i[C];n(I,t,o,M,!!I.dynamicChildren)}},move:Sn,hydrate:Cc};function Sn(e,t,o,{o:{insert:n},m:s},r=2){r===0&&n(e.targetAnchor,t,o);const{el:a,anchor:i,shapeFlag:l,children:c,props:d}=e,h=r===2;if(h&&n(a,t,o),!Ht.has(e)&&(!h||Qt(d))&&l&16)for(let m=0;m<c.length;m++)s(c[m],t,o,2);h&&n(i,t,o)}function Cc(e,t,o,n,s,r,{o:{nextSibling:a,parentNode:i,querySelector:l,insert:c,createText:d}},h){function m(C,I){let v=I;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,C._lpa=t.targetAnchor&&a(t.targetAnchor);break}}v=a(v)}}function L(C,I){I.anchor=h(a(C),I,i(C),o,n,s,r)}const M=t.target=$r(t.props,l),S=Qt(t.props);if(M){const C=M._lpa||M.firstChild;t.shapeFlag&16&&(S?(L(e,t),m(M,C),t.targetAnchor||wr(M,t,d,c,i(e)===M?e:null)):(t.anchor=a(e),m(M,C),t.targetAnchor||wr(M,t,d,c),h(C&&a(C),t,M,o,n,s,r))),Ao(t,S)}else S&&t.shapeFlag&16&&(L(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const Ic=Fc;function Ao(e,t){const o=e.ctx;if(o&&o.ut){let n,s;for(t?(n=e.el,s=e.anchor):(n=e.targetStart,s=e.targetAnchor);n&&n!==s;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function wr(e,t,o,n,s=null){const r=t.targetStart=o(""),a=t.targetAnchor=o("");return r[aa]=a,e&&(n(r,e,s),n(a,e,s)),a}const yr=Symbol("_leaveCb");function Nc(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Et){t=o;break}}return t}function ca(e){if(!Sr(e))return vn(e.type)&&e.children?Nc(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)&&ca(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 En(e,t){return ne(e)?Pe({name:e.name},t,{setup:e}):e}function ua(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function pa(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ln=new WeakMap;function Oo(e,t,o,n,s=!1){if(ee(e)){e.forEach((S,C)=>Oo(S,t&&(ee(t)?t[C]:t),o,n,s));return}if(po(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Oo(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,d=i.refs===$e?i.refs={}:i.refs,h=i.setupState,m=pe(h),L=h===$e?gs:S=>pa(d,S)?!1:he(m,S),M=(S,C)=>!(C&&pa(d,C));if(c!=null&&c!==l){if(da(t),Se(c))d[c]=null,L(c)&&(h[c]=null);else if(Ie(c)){const S=t;M(c,S.k)&&(c.value=null),S.k&&(d[S.k]=null)}}if(ne(l))lo(l,i,12,[a,d]);else{const S=Se(l),C=Ie(l);if(S||C){const I=()=>{if(e.f){const v=S?L(l)?h[l]:d[l]:M()||!e.k?l.value:d[e.k];if(s)ee(v)&&Jn(v,r);else if(ee(v))v.includes(r)||v.push(r);else if(S)d[l]=[r],L(l)&&(h[l]=d[l]);else{const y=[r];M(l,e.k)&&(l.value=y),e.k&&(d[e.k]=y)}}else S?(d[l]=a,L(l)&&(h[l]=a)):C&&(M(l,e.k)&&(l.value=a),e.k&&(d[e.k]=a))};if(a){const v=()=>{I(),Ln.delete(e)};v.id=-1,Ln.set(e,v),Ke(v,o)}else da(e),I()}}}function da(e){const t=Ln.get(e);t&&(t.flags|=8,Ln.delete(e))}sn().requestIdleCallback,sn().cancelIdleCallback;const po=e=>!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function Rc(e,t){fa(e,"a",t)}function Dc(e,t){fa(e,"da",t)}function fa(e,t,o=Ye){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Tn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Sr(s.parent.vnode)&&zc(n,t,o,s),s=s.parent}}function zc(e,t,o,n){const s=Tn(t,e,n,!0);Er(()=>{Jn(n[t],s)},o)}function Tn(e,t,o=Ye,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...a)=>{$t();const i=jo(o),l=ft(t,o,e,a);return i(),wt(),l});return n?s.unshift(r):s.push(r),r}}const Ot=e=>(t,o=Ye)=>{(!Wo||e==="sp")&&Tn(e,(...n)=>t(...n),o)},ha=Ot("bm"),fo=Ot("m"),Uc=Ot("bu"),jc=Ot("u"),kn=Ot("bum"),Er=Ot("um"),Wc=Ot("sp"),Hc=Ot("rtg"),Vc=Ot("rtc");function Gc(e,t=Ye){Tn("ec",e,t)}const Bc=Symbol.for("v-ndc");function Lr(e,t,o,n){let s;const r=o,a=ee(e);if(a||Se(e)){const i=a&&Xt(e);let l=!1,c=!1;i&&(l=!at(e),c=At(e),e=cn(e)),s=new Array(e.length);for(let d=0,h=e.length;d<h;d++)s[d]=t(l?c?io(dt(e[d])):dt(e[d]):e[d],d,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,r)}else if(me(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const d=i[l];s[l]=t(e[d],d,l,r)}}else s=[];return s}function ma(e,t,o,n,s,r){if(o==null&&(o={}),tt.ce||tt.parent&&po(tt.parent)&&tt.parent.ce){const c=o,d=Object.keys(c).length>0;return be(),Ro(De,null,[Fe("slot",c,n)],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=Ft.length;be();let l;try{const c=a&&ga(a(o)),d=o.key||r||c&&c.key;l=Ro(De,{key:(d&&!ut(d)?d:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let d=Ft.length;d>i;d--)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=>Do(t)?!(t.type===Et||t.type===De&&!ga(t.children)):!0)?e:null}const Tr=e=>e?Va(e)?Dr(e):Tr(e.parent):null,Fo=Pe(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=>wa(e),$forceUpdate:e=>e.f||(e.f=()=>{br(e.update)}),$nextTick:e=>e.n||(e.n=$n.bind(e.proxy)),$watch:e=>Ac.bind(e)}),kr=(e,t)=>e!==$e&&!e.__isScriptSetup&&he(e,t),Kc={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(kr(n,t))return a[t]=1,n[t];if(s!==$e&&he(s,t))return a[t]=2,s[t];if(he(r,t))return a[t]=3,r[t];if(o!==$e&&he(o,t))return a[t]=4,o[t];xr&&(a[t]=0)}}const c=Fo[t];let d,h;if(c)return t==="$attrs"&&He(e.attrs,"get",""),c(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(o!==$e&&he(o,t))return a[t]=4,o[t];if(h=l.config.globalProperties,he(h,t))return h[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return kr(s,t)?(s[t]=o,!0):n!==$e&&he(n,t)?(n[t]=o,!0):he(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]!=="$"&&he(e,i)||kr(t,i)||he(r,i)||he(n,i)||he(Fo,i)||he(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:he(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function _a(e){return ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let xr=!0;function Yc(e){const t=wa(e),o=e.proxy,n=e.ctx;xr=!1,t.beforeCreate&&ba(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:d,beforeMount:h,mounted:m,beforeUpdate:L,updated:M,activated:S,deactivated:C,beforeDestroy:I,beforeUnmount:v,destroyed:y,unmounted:b,render:A,renderTracked:k,renderTriggered:P,errorCaptured:z,serverPrefetch:N,expose:Y,inheritAttrs:J,components:H,directives:oe,filters:se}=t;if(c&&qc(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);me(K)&&(e.data=fn(K))}if(xr=!0,r)for(const K in r){const q=r[K],_e=ne(q)?q.bind(o,o):ne(q.get)?q.get.bind(o,o):_t,je=!ne(q)&&ne(q.set)?q.set.bind(o):_t,Le=ze({get:_e,set:je});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>Le.value,set:Me=>Le.value=Me})}if(i)for(const K in i)$a(i[K],n,o,K);if(l){const K=ne(l)?l.call(o):l;Reflect.ownKeys(K).forEach(q=>{na(q,K[q])})}d&&ba(d,e,"c");function U(K,q){ee(q)?q.forEach(_e=>K(_e.bind(o))):q&&K(q.bind(o))}if(U(ha,h),U(fo,m),U(Uc,L),U(jc,M),U(Rc,S),U(Dc,C),U(Gc,z),U(Vc,k),U(Hc,P),U(kn,v),U(Er,b),U(Wc,N),ee(Y))if(Y.length){const K=e.exposed||(e.exposed={});Y.forEach(q=>{Object.defineProperty(K,q,{get:()=>o[q],set:_e=>o[q]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===_t&&(e.render=A),J!=null&&(e.inheritAttrs=J),H&&(e.components=H),oe&&(e.directives=oe),N&&ua(e)}function qc(e,t,o=_t){ee(e)&&(e=Mr(e));for(const n in e){const s=e[n];let r;me(s)?"default"in s?r=ht(s.from||n,s.default,!0):r=ht(s.from||n):r=ht(s),Ie(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r}}function ba(e,t,o){ft(ee(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function $a(e,t,o,n){let s=n.includes(".")?sa(o,n):()=>o[n];if(Se(e)){const r=t[e];ne(r)&&St(s,r)}else if(ne(e))St(s,e.bind(o));else if(me(e))if(ee(e))e.forEach(r=>$a(r,t,o,n));else{const r=ne(e.handler)?e.handler.bind(o):t[e.handler];ne(r)&&St(s,r,e)}}function wa(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=>xn(l,c,a,!0)),xn(l,t,a)),me(t)&&r.set(t,l),l}function xn(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&xn(e,r,o,!0),s&&s.forEach(a=>xn(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const i=Xc[a]||o&&o[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const Xc={data:ya,props:va,emits:va,methods:Co,computed:Co,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Co,directives:Co,watch:Jc,provide:ya,inject:Zc};function ya(e,t){return t?e?function(){return Pe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Zc(e,t){return Co(Mr(e),Mr(t))}function Mr(e){if(ee(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Co(e,t){return e?Pe(Object.create(null),e,t):t}function va(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Pe(Object.create(null),_a(e),_a(t??{})):t}function Jc(e,t){if(!e)return t;if(!t)return e;const o=Pe(Object.create(null),e);for(const n in t)o[n]=Be(e[n],t[n]);return o}function Sa(){return{app:null,config:{isNativeTag:gs,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qc=0;function eu(e,t){return function(n,s=null){ne(n)||(n=Pe({},n)),s!=null&&!me(s)&&(s=null);const r=Sa(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Qc++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Fu,get config(){return r.config},set config(d){},use(d,...h){return a.has(d)||(d&&ne(d.install)?(a.add(d),d.install(c,...h)):ne(d)&&(a.add(d),d(c,...h))),c},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),c},component(d,h){return h?(r.components[d]=h,c):r.components[d]},directive(d,h){return h?(r.directives[d]=h,c):r.directives[d]},mount(d,h,m){if(!l){const L=c._ceVNode||Fe(n,s);return L.appContext=r,m===!0?m="svg":m===!1&&(m=void 0),e(L,d,m),l=!0,c._container=d,d.__vue_app__=c,Dr(L.component)}},onUnmount(d){i.push(d)},unmount(){l&&(ft(i,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,h){return r.provides[d]=h,c},runWithContext(d){const h=ho;ho=c;try{return d()}finally{ho=h}}};return c}}let ho=null;const tu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${nt(t)}Modifiers`];function ou(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||$e;let s=o;const r=t.startsWith("update:"),a=r&&tu(n,t.slice(7));a&&(a.trim&&(s=o.map(d=>Se(d)?d.trim():d)),a.number&&(s=s.map(Hl)));let i,l=n[i=er(t)]||n[i=er(Qe(t))];!l&&r&&(l=n[i=er(nt(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 nu=new WeakMap;function Ea(e,t,o=!1){const n=o?nu: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 d=Ea(c,t,!0);d&&(i=!0,Pe(a,d))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(me(e)&&n.set(e,null),null):(ee(r)?r.forEach(l=>a[l]=null):Pe(a,r),me(e)&&n.set(e,a),a)}function Mn(e,t){return!e||!en(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,nt(t))||he(e,t))}function ag(){}function La(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:m,setupState:L,ctx:M,inheritAttrs:S}=e,C=wn(e);let I,v;try{if(o.shapeFlag&4){const b=s||n,A=b;I=Lt(c.call(A,b,d,h,L,m,M)),v=i}else{const b=t;I=Lt(b.length>1?b(h,{attrs:i,slots:a,emit:l}):b(h,null)),v=t.props?i:ru(i)}}catch(b){Ft.length=0,_n(b,e,1),I=Fe(Et)}let y=I;if(v&&S!==!1){const b=Object.keys(v),{shapeFlag:A}=y;b.length&&A&7&&(r&&b.some(tn)&&(v=su(v,r)),y=mo(y,v,!1,!0))}if(o.dirs&&(y=mo(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(o.dirs):o.dirs),o.transition){const b=vn(y.type)&&ca(y)||y;vr(b,o.transition)}return I=y,wn(C),I}const ru=e=>{let t;for(const o in e)(o==="class"||o==="style"||en(o))&&((t||(t={}))[o]=e[o]);return t},su=(e,t)=>{const o={};for(const n in e)(!tn(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function au(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?Ta(n,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const m=d[h];if(ka(a,n,m)&&!Mn(c,m))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?Ta(n,a,c):!0:!!a;return!1}function Ta(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(ka(t,e,r)&&!Mn(o,r))return!0}return!1}function ka(e,t,o){const n=e[o],s=t[o];return o==="style"&&me(n)&&me(s)?!ln(n,s):n!==s}function iu({vnode:e,parent:t,suspense:o},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=n,e=s),s===e)(e=t.vnode).el=n,t=t.parent;else break}o&&o.activeBranch===e&&(o.vnode.el=n)}const xa={},Ma=()=>Object.create(xa),Pa=e=>Object.getPrototypeOf(e)===xa;function lu(e,t,o,n=!1){const s={},r=Ma();e.propsDefaults=Object.create(null),Aa(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:hc(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function cu(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 d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let m=d[h];if(Mn(e.emitsOptions,m))continue;const L=t[m];if(l)if(he(r,m))L!==r[m]&&(r[m]=L,c=!0);else{const M=Qe(m);s[M]=Pr(l,i,M,L,e,!1)}else L!==r[m]&&(r[m]=L,c=!0)}}}else{Aa(e,t,s,r)&&(c=!0);let d;for(const h in i)(!t||!he(t,h)&&((d=nt(h))===h||!he(t,d)))&&(l?o&&(o[h]!==void 0||o[d]!==void 0)&&(s[h]=Pr(l,i,h,void 0,e,!0)):delete s[h]);if(r!==i)for(const h in r)(!t||!he(t,h))&&(delete r[h],c=!0)}c&&Mt(e.attrs,"set","")}function Aa(e,t,o,n){const[s,r]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(So(l))continue;const c=t[l];let d;s&&he(s,d=Qe(l))?!r||!r.includes(d)?o[d]=c:(i||(i={}))[d]=c:Mn(e.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=pe(o),c=i||$e;for(let d=0;d<r.length;d++){const h=r[d];o[h]=Pr(s,l,h,c[h],e,!he(c,h))}}return a}function Pr(e,t,o,n,s,r){const a=e[o];if(a!=null){const i=he(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&ne(l)){const{propsDefaults:c}=s;if(o in c)n=c[o];else{const d=jo(s);n=c[o]=l.call(null,t),d()}}else n=l;s.ce&&s.ce._setProp(o,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===nt(o))&&(n=!0))}return n}const uu=new WeakMap;function Oa(e,t,o=!1){const n=o?uu:t.propsCache,s=n.get(e);if(s)return s;const r=e.props,a={},i=[];let l=!1;if(!ne(e)){const d=h=>{l=!0;const[m,L]=Oa(h,t,!0);Pe(a,m),L&&i.push(...L)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!l)return me(e)&&n.set(e,so),so;if(ee(r))for(let d=0;d<r.length;d++){const h=Qe(r[d]);Fa(h)&&(a[h]=$e)}else if(r)for(const d in r){const h=Qe(d);if(Fa(h)){const m=r[d],L=a[h]=ee(m)||ne(m)?{type:m}:Pe({},m),M=L.type;let S=!1,C=!0;if(ee(M))for(let I=0;I<M.length;++I){const v=M[I],y=ne(v)&&v.name;if(y==="Boolean"){S=!0;break}else y==="String"&&(C=!1)}else S=ne(M)&&M.name==="Boolean";L[0]=S,L[1]=C,(S||he(L,"default"))&&i.push(h)}}const c=[a,i];return me(e)&&n.set(e,c),c}function Fa(e){return e[0]!=="$"&&!So(e)}const Ar=e=>e==="_"||e==="_ctx"||e==="$stable",Or=e=>ee(e)?e.map(Lt):[Lt(e)],pu=(e,t,o)=>{if(t._n)return t;const n=yn((...s)=>Or(t(...s)),o);return n._c=!1,n},Ca=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Ar(s))continue;const r=e[s];if(ne(r))t[s]=pu(s,r,n);else if(r!=null){const a=Or(r);t[s]=()=>a}}},Ia=(e,t)=>{const o=Or(t);e.slots.default=()=>o},Na=(e,t,o)=>{for(const n in t)(o||!Ar(n))&&(e[n]=t[n])},du=(e,t,o)=>{const n=e.slots=Ma();if(e.vnode.shapeFlag&32){const s=t._;s?(Na(n,t,o),o&&ys(n,"_",s,!0)):Ca(t,n)}else t&&Ia(e,t)},fu=(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:Na(s,t,o):(r=!t.$stable,Ca(t,s)),a=t}else t&&(Ia(e,t),a={default:1});if(r)for(const i in s)!Ar(i)&&a[i]==null&&delete s[i]},Ke=bu;function hu(e){return mu(e)}function mu(e,t){const o=sn();o.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:m,setScopeId:L=_t,insertStaticContent:M}=e,S=(f,$,_,O=null,D=null,R=null,W=void 0,j=null,u=!!$.dynamicChildren)=>{if(f===$)return;f&&!zo(f,$)&&(O=ke(f),Me(f,D,R,!0),f=null),$.patchFlag===-2&&(u=!1,$.dynamicChildren=null);const{type:p,ref:T,shapeFlag:F}=$;switch(p){case Io:C(f,$,_,O);break;case Et:I(f,$,_,O);break;case Ir:f==null&&v($,_,O,W);break;case De:H(f,$,_,O,D,R,W,j,u);break;default:F&1?A(f,$,_,O,D,R,W,j,u):F&6?oe(f,$,_,O,D,R,W,j,u):(F&64||F&128)&&p.process(f,$,_,O,D,R,W,j,u,re)}T!=null&&D?Oo(T,f&&f.ref,R,$||f,!$):T==null&&f&&f.ref!=null&&Oo(f.ref,null,R,f,!0)},C=(f,$,_,O)=>{if(f==null)n($.el=i($.children),_,O);else{const D=$.el=f.el;$.children!==f.children&&c(D,$.children)}},I=(f,$,_,O)=>{f==null?n($.el=l($.children||""),_,O):$.el=f.el},v=(f,$,_,O)=>{[f.el,f.anchor]=M(f.children,$,_,O,f.el,f.anchor)},y=({el:f,anchor:$},_,O)=>{let D;for(;f&&f!==$;)D=m(f),n(f,_,O),f=D;n($,_,O)},b=({el:f,anchor:$})=>{let _;for(;f&&f!==$;)_=m(f),s(f),f=_;s($)},A=(f,$,_,O,D,R,W,j,u)=>{if($.type==="svg"?W="svg":$.type==="math"&&(W="mathml"),f==null)k($,_,O,D,R,W,j,u);else{const p=f.el&&f.el._isVueCE?f.el:null;try{p&&p._beginPatch(),N(f,$,D,R,W,j,u)}finally{p&&p._endPatch()}}},k=(f,$,_,O,D,R,W,j)=>{let u,p;const{props:T,shapeFlag:F,transition:w,dirs:E}=f;if(u=f.el=a(f.type,R,T&&T.is,T),F&8?d(u,f.children):F&16&&z(f.children,u,null,O,D,Fr(f,R),W,j),E&&Jt(f,null,O,"created"),P(u,f,f.scopeId,W,O),T){for(const x in T)x!=="value"&&!So(x)&&r(u,x,null,T[x],R,O);"value"in T&&r(u,"value",null,T.value,R),(p=T.onVnodeBeforeMount)&&Tt(p,O,f)}E&&Jt(f,null,O,"beforeMount");const g=gu(D,w);g&&w.beforeEnter(u),n(u,$,_),((p=T&&T.onVnodeMounted)||g||E)&&Ke(()=>{try{p&&Tt(p,O,f),g&&w.enter(u),E&&Jt(f,null,O,"mounted")}finally{}},D)},P=(f,$,_,O,D)=>{if(_&&L(f,_),O)for(let R=0;R<O.length;R++)L(f,O[R]);if(D){let R=D.subTree;if($===R||Ua(R.type)&&(R.ssContent===$||R.ssFallback===$)){const W=D.vnode;P(f,W,W.scopeId,W.slotScopeIds,D.parent)}}},z=(f,$,_,O,D,R,W,j,u=0)=>{for(let p=u;p<f.length;p++){const T=f[p]=j?Ct(f[p]):Lt(f[p]);S(null,T,$,_,O,D,R,W,j)}},N=(f,$,_,O,D,R,W)=>{const j=$.el=f.el;let{patchFlag:u,dynamicChildren:p,dirs:T}=$;u|=f.patchFlag&16;const F=f.props||$e,w=$.props||$e;let E;if(_&&eo(_,!1),(E=w.onVnodeBeforeUpdate)&&Tt(E,_,$,f),T&&Jt($,f,_,"beforeUpdate"),_&&eo(_,!0),p&&(!f.dynamicChildren||f.dynamicChildren.length!==p.length)&&(u=0,W=!1,p=null),(F.innerHTML&&w.innerHTML==null||F.textContent&&w.textContent==null)&&d(j,""),p?Y(f.dynamicChildren,p,j,_,O,Fr($,D),R):W||q(f,$,j,null,_,O,Fr($,D),R,!1),u>0){if(u&16)J(j,F,w,_,D);else if(u&2&&F.class!==w.class&&r(j,"class",null,w.class,D),u&4&&r(j,"style",F.style,w.style,D),u&8){const g=$.dynamicProps;for(let x=0;x<g.length;x++){const B=g[x],X=F[B],ue=w[B];(ue!==X||B==="value")&&r(j,B,X,ue,D,_)}}u&1&&f.children!==$.children&&d(j,$.children)}else!W&&p==null&&J(j,F,w,_,D);((E=w.onVnodeUpdated)||T)&&Ke(()=>{E&&Tt(E,_,$,f),T&&Jt($,f,_,"updated")},O)},Y=(f,$,_,O,D,R,W)=>{for(let j=0;j<$.length;j++){const u=f[j],p=$[j],T=u.el&&(u.type===De||!zo(u,p)||u.shapeFlag&198)?h(u.el):_;S(u,p,T,null,O,D,R,W,!0)}},J=(f,$,_,O,D)=>{if($!==_){if($!==$e)for(const R in $)!So(R)&&!(R in _)&&r(f,R,$[R],null,D,O);for(const R in _){if(So(R))continue;const W=_[R],j=$[R];W!==j&&R!=="value"&&r(f,R,j,W,D,O)}"value"in _&&r(f,"value",$.value,_.value,D)}},H=(f,$,_,O,D,R,W,j,u)=>{const p=$.el=f?f.el:i(""),T=$.anchor=f?f.anchor:i("");let{patchFlag:F,dynamicChildren:w,slotScopeIds:E}=$;E&&(j=j?j.concat(E):E),f==null?(n(p,_,O),n(T,_,O),z($.children||[],_,T,D,R,W,j,u)):F>0&&F&64&&w&&f.dynamicChildren&&f.dynamicChildren.length===w.length?(Y(f.dynamicChildren,w,_,D,R,W,j),($.key!=null||D&&$===D.subTree)&&Cr(f,$,!0)):q(f,$,_,T,D,R,W,j,u)},oe=(f,$,_,O,D,R,W,j,u)=>{$.slotScopeIds=j,f==null?$.shapeFlag&512?D.ctx.activate($,_,O,W,u):se($,_,O,D,R,W,u):G(f,$,u)},se=(f,$,_,O,D,R,W)=>{const j=f.component=Eu(f,O,D);if(Sr(f)&&(j.ctx.renderer=re),Lu(j,!1,W),j.asyncDep){if(D&&D.registerDep(j,U,W),!f.el){const u=j.subTree=Fe(Et);I(null,u,$,_),f.placeholder=u.el}}else U(j,f,$,_,D,R,W)},G=(f,$,_)=>{const O=$.component=f.component;if(au(f,$,_))if(O.asyncDep&&!O.asyncResolved){K(O,$,_);return}else O.next=$,O.update();else $.el=f.el,O.vnode=$},U=(f,$,_,O,D,R,W)=>{const j=()=>{if(f.isMounted){let{next:F,bu:w,u:E,parent:g,vnode:x}=f;{const fe=Ra(f);if(fe){F&&(F.el=x.el,K(f,F,W)),fe.asyncDep.then(()=>{Ke(()=>{f.isUnmounted||p()},D)});return}}let B=F,X;eo(f,!1),F?(F.el=x.el,K(f,F,W)):F=x,w&&tr(w),(X=F.props&&F.props.onVnodeBeforeUpdate)&&Tt(X,g,F,x),eo(f,!0);const ue=La(f),ce=f.subTree;f.subTree=ue,S(ce,ue,h(ce.el),ke(ce),f,D,R),F.el=ue.el,B===null&&iu(f,ue.el),E&&Ke(E,D),(X=F.props&&F.props.onVnodeUpdated)&&Ke(()=>Tt(X,g,F,x),D)}else{let F;const{el:w,props:E}=$,{bm:g,m:x,parent:B,root:X,type:ue}=f,ce=po($);eo(f,!1),g&&tr(g),!ce&&(F=E&&E.onVnodeBeforeMount)&&Tt(F,B,$),eo(f,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(ue,f.parent?f.parent.type:void 0);const fe=f.subTree=La(f);S(null,fe,_,O,f,D,R),$.el=fe.el}if(x&&Ke(x,D),!ce&&(F=E&&E.onVnodeMounted)){const fe=$;Ke(()=>Tt(F,B,fe),D)}($.shapeFlag&256||B&&po(B.vnode)&&B.vnode.shapeFlag&256)&&f.a&&Ke(f.a,D),f.isMounted=!0,$=_=O=null}};f.scope.on();const u=f.effect=new Ps(j);f.scope.off();const p=f.update=u.run.bind(u),T=f.job=u.runIfDirty.bind(u);T.i=f,T.id=f.uid,u.scheduler=()=>br(T),eo(f,!0),p()},K=(f,$,_)=>{$.component=f;const O=f.vnode.props;f.vnode=$,f.next=null,cu(f,$.props,O,_),fu(f,$.children,_),$t(),Qs(f),wt()},q=(f,$,_,O,D,R,W,j,u=!1)=>{const p=f&&f.children,T=f?f.shapeFlag:0,F=$.children,{patchFlag:w,shapeFlag:E}=$;if(w>0){if(w&128){je(p,F,_,O,D,R,W,j,u);return}else if(w&256){_e(p,F,_,O,D,R,W,j,u);return}}E&8?(T&16&&We(p,D,R),F!==p&&d(_,F)):T&16?E&16?je(p,F,_,O,D,R,W,j,u):We(p,D,R,!0):(T&8&&d(_,""),E&16&&z(F,_,O,D,R,W,j,u))},_e=(f,$,_,O,D,R,W,j,u)=>{f=f||so,$=$||so;const p=f.length,T=$.length,F=Math.min(p,T);let w;for(w=0;w<F;w++){const E=$[w]=u?Ct($[w]):Lt($[w]);S(f[w],E,_,null,D,R,W,j,u)}p>T?We(f,D,R,!0,!1,F):z($,_,O,D,R,W,j,u,F)},je=(f,$,_,O,D,R,W,j,u)=>{let p=0;const T=$.length;let F=f.length-1,w=T-1;for(;p<=F&&p<=w;){const E=f[p],g=$[p]=u?Ct($[p]):Lt($[p]);if(zo(E,g))S(E,g,_,null,D,R,W,j,u);else break;p++}for(;p<=F&&p<=w;){const E=f[F],g=$[w]=u?Ct($[w]):Lt($[w]);if(zo(E,g))S(E,g,_,null,D,R,W,j,u);else break;F--,w--}if(p>F){if(p<=w){const E=w+1,g=E<T?$[E].el:O;for(;p<=w;)S(null,$[p]=u?Ct($[p]):Lt($[p]),_,g,D,R,W,j,u),p++}}else if(p>w)for(;p<=F;)Me(f[p],D,R,!0),p++;else{const E=p,g=p,x=new Map;for(p=g;p<=w;p++){const Je=$[p]=u?Ct($[p]):Lt($[p]);Je.key!=null&&x.set(Je.key,p)}let B,X=0;const ue=w-g+1;let ce=!1,fe=0;const ie=new Array(ue);for(p=0;p<ue;p++)ie[p]=0;for(p=E;p<=F;p++){const Je=f[p];if(X>=ue){Me(Je,D,R,!0);continue}let ct;if(Je.key!=null)ct=x.get(Je.key);else for(B=g;B<=w;B++)if(ie[B-g]===0&&zo(Je,$[B])){ct=B;break}ct===void 0?Me(Je,D,R,!0):(ie[ct-g]=p+1,ct>=fe?fe=ct:ce=!0,S(Je,$[ct],_,null,D,R,W,j,u),X++)}const st=ce?_u(ie):so;for(B=st.length-1,p=ue-1;p>=0;p--){const Je=g+p,ct=$[Je],Qo=$[Je+1],qn=Je+1<T?Qo.el||za(Qo):O;ie[p]===0?S(null,ct,_,qn,D,R,W,j,u):ce&&(B<0||p!==st[B]?Le(ct,_,qn,2):B--)}}},Le=(f,$,_,O,D=null)=>{const{el:R,type:W,transition:j,children:u,shapeFlag:p}=f;if(p&6){Le(f.component.subTree,$,_,O);return}if(p&128){f.suspense.move($,_,O);return}if(p&64){W.move(f,$,_,re);return}if(W===De){n(R,$,_);for(let F=0;F<u.length;F++)Le(u[F],$,_,O);n(f.anchor,$,_);return}if(W===Ir){y(f,$,_);return}if(O!==2&&p&1&&j)if(O===0)j.persisted&&!R[yr]?n(R,$,_):(j.beforeEnter(R),n(R,$,_),Ke(()=>j.enter(R),D));else{const{leave:F,delayLeave:w,afterLeave:E}=j,g=()=>{f.ctx.isUnmounted?s(R):n(R,$,_)},x=()=>{const B=R._isLeaving||!!R[yr];R._isLeaving&&R[yr](!0),j.persisted&&!B?g():F(R,()=>{g(),E&&E()})};w?w(R,g,x):x()}else n(R,$,_)},Me=(f,$,_,O=!1,D=!1)=>{const{type:R,props:W,ref:j,children:u,dynamicChildren:p,shapeFlag:T,patchFlag:F,dirs:w,cacheIndex:E,memo:g}=f;if(F===-2&&(D=!1),j!=null&&($t(),Oo(j,null,_,f,!0),wt()),E!=null&&($.renderCache[E]=void 0),T&256){$.ctx.deactivate(f);return}const x=T&1&&w,B=!po(f);let X;if(B&&(X=W&&W.onVnodeBeforeUnmount)&&Tt(X,$,f),T&6)lt(f.component,_,O);else{if(T&128){f.suspense.unmount(_,O);return}x&&Jt(f,null,$,"beforeUnmount"),T&64?f.type.remove(f,$,_,re,O):p&&!p.hasOnce&&(R!==De||F>0&&F&64)?We(p,$,_,!1,!0):(R===De&&F&384||!D&&T&16)&&We(u,$,_),O&&Ve(f)}const ue=g!=null&&E==null;(B&&(X=W&&W.onVnodeUnmounted)||x||ue)&&Ke(()=>{X&&Tt(X,$,f),x&&Jt(f,null,$,"unmounted"),ue&&(f.el=null)},_)},Ve=f=>{const{type:$,el:_,anchor:O,transition:D}=f;if($===De){Xe(_,O);return}if($===Ir){b(f);return}const R=()=>{s(_),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(f.shapeFlag&1&&D&&!D.persisted){const{leave:W,delayLeave:j}=D,u=()=>W(_,R);j?j(f.el,R,u):u()}else R()},Xe=(f,$)=>{let _;for(;f!==$;)_=m(f),s(f),f=_;s($)},lt=(f,$,_)=>{const{bum:O,scope:D,job:R,subTree:W,um:j,m:u,a:p}=f;Da(u),Da(p),O&&tr(O),D.stop(),R&&(R.flags|=8,Me(W,f,$,_)),j&&Ke(j,$),Ke(()=>{f.isUnmounted=!0},$)},We=(f,$,_,O=!1,D=!1,R=0)=>{for(let W=R;W<f.length;W++)Me(f[W],$,_,O,D)},ke=f=>{if(f.shapeFlag&6)return ke(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const $=m(f.anchor||f.el),_=$&&$[aa];return _?m(_):$};let Ze=!1;const ae=(f,$,_)=>{let O;f==null?$._vnode&&(Me($._vnode,null,null,!0),O=$._vnode.component):S($._vnode||null,f,$,null,null,null,_),$._vnode=f,Ze||(Ze=!0,Qs(O),ea(),Ze=!1)},re={p:S,um:Me,m:Le,r:Ve,mt:se,mc:z,pc:q,pbc:Y,n:ke,o:e};return{render:ae,hydrate:void 0,createApp:eu(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 eo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function gu(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<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=Ct(s[r]),i.el=a.el),!o&&i.patchFlag!==-2&&Cr(a,i)),i.type===Io&&(i.patchFlag===-1&&(i=s[r]=Ct(i)),i.el=a.el),i.type===Et&&!i.el&&(i.el=a.el)}}function _u(e){const t=e.slice(),o=[0];let n,s,r,a,i;const l=e.length;for(n=0;n<l;n++){const c=e[n];if(c!==0){if(s=o[o.length-1],e[s]<c){t[n]=s,o.push(n);continue}for(r=0,a=o.length-1;r<a;)i=r+a>>1,e[o[i]]<c?r=i+1:a=i;c<e[o[r]]&&(r>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 Ra(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ra(t)}function Da(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function za(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?za(t.subTree):null}const Ua=e=>e.__isSuspense;function bu(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):xc(e)}const De=Symbol.for("v-fgt"),Io=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),Ft=[];let rt=null;function be(e=!1){Ft.push(rt=e?null:[])}function Nr(){Ft.pop(),rt=Ft[Ft.length-1]||null}let No=1;function Pn(e,t=!1){No+=e,e<0&&rt&&t&&(rt.hasOnce=!0)}function ja(e){return e.dynamicChildren=No>0?rt||so:null,Nr(),No>0&&rt&&rt.push(e),e}function xe(e,t,o,n,s,r){return ja(Z(e,t,o,n,s,r,!0))}function Ro(e,t,o,n,s){return ja(Fe(e,t,o,n,s,!0))}function Do(e){return e?e.__v_isVNode===!0:!1}function zo(e,t){return e.type===t.type&&e.key===t.key}const Wa=({key:e})=>e??null,An=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Ie(e)||ne(e)?{i:tt,r:e,k:t,f:!!o}:e:null);function Z(e,t=null,o=null,n=0,s=null,r=e===De?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wa(t),ref:t&&An(t),scopeId:oa,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:tt};return i?(On(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=Se(o)?8:16),No>0&&!a&&rt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&rt.push(l),l}const Fe=$u;function $u(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===Bc)&&(e=Et),Do(e)){const i=mo(e,t,!0);return o&&On(i,o),No>0&&!r&&rt&&(i.shapeFlag&6?rt[rt.indexOf(e)]=i:rt.push(i)),i.patchFlag=-2,i}if(Ou(e)&&(e=e.__vccOpts),t){t=wu(t);let{class:i,style:l}=t;i&&!Se(i)&&(t.class=et(i)),me(l)&&(mr(l)&&!ee(l)&&(l=Pe({},l)),t.style=an(l))}const a=Se(e)?1:Ua(e)?128:vn(e)?64:me(e)?4:ne(e)?2:0;return Z(e,t,o,n,s,a,r,!0)}function wu(e){return e?mr(e)||Pa(e)?Pe({},e):e:null}function mo(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=e,c=t?yu(s||{},t):s,d={__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(An(t)):[r,An(t)]:An(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!==De?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&&mo(e.ssContent),ssFallback:e.ssFallback&&mo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&vr(d,l.clone(d)),d}function Rr(e=" ",t=0){return Fe(Io,null,e,t)}function go(e="",t=!1){return t?(be(),Ro(Et,null,e)):Fe(Et,null,e)}function Lt(e){return e==null||typeof e=="boolean"?Fe(Et):ee(e)?Fe(De,null,e.slice()):Do(e)?Ct(e):Fe(Io,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mo(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&&!Pa(t)?t._ctx=tt:s===3&&tt&&(tt.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:tt},o=32}else t=String(t),n&64?(o=16,t=[Rr(t)]):o=8;e.children=t,e.shapeFlag|=o}function yu(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=et([t.class,n.class]));else if(s==="style")t.style=an([t.style,n.style]);else if(en(s)){const r=t[s],a=n[s];a&&r!==a&&!(ee(r)&&r.includes(a))?t[s]=r?[].concat(r,a):a:a==null&&r==null&&!tn(s)&&(t[s]=a)}else s!==""&&(t[s]=n[s])}return t}function Tt(e,t,o,n=null){ft(e,t,7,[o,n])}const vu=Sa();let Su=0;function Eu(e,t,o){const n=e.type,s=(t?t.appContext:e.appContext)||vu,r={uid:Su++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xs(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oa(n,s),emitsOptions:Ea(n,s),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:n.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=ou.bind(null,r),e.ce&&e.ce(r),r}let Ye=null;const to=()=>Ye||tt;let Fn,Uo;{const e=sn(),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=>Ye=o),Uo=t("__VUE_SSR_SETTERS__",o=>Wo=o)}const jo=e=>{const t=Ye;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ha=()=>{Ye&&Ye.scope.off(),Fn(null)};function Va(e){return e.vnode.shapeFlag&4}let Wo=!1;function Lu(e,t=!1,o=!1){t&&Uo(t);const{props:n,children:s}=e.vnode,r=Va(e);lu(e,n,r,t),du(e,s,o||t);const a=r?Tu(e,t):void 0;return t&&Uo(!1),a}function Tu(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kc);const{setup:n}=o;if(n){$t();const s=e.setupContext=n.length>1?xu(e):null,r=jo(e),a=lo(n,e,0,[e.props,s]),i=bs(a);if(wt(),r(),(i||e.sp)&&!po(e)&&ua(e),i){if(a.then(Ha,Ha),t)return a.then(l=>{Uo(!0);try{Ga(e,l,t)}finally{Uo(!1)}}).catch(l=>{_n(l,e,0)});e.asyncDep=a}else Ga(e,a)}else Ba(e)}function Ga(e,t,o){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=qs(t)),Ba(e)}function Ba(e,t,o){const n=e.type;e.render||(e.render=n.render||_t);{const s=jo(e);$t();try{Yc(e)}finally{wt(),s()}}}const ku={get(e,t){return He(e,"get",""),e[t]}};function xu(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,ku),slots:e.slots,emit:e.emit,expose:t}}function Dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(qs(mc(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Fo)return Fo[o](e)},has(t,o){return o in t||o in Fo}})):e.proxy}const Mu=/(?:^|[-_])\w/g,Pu=e=>e.replace(Mu,t=>t.toUpperCase()).replace(/[-_]/g,"");function Au(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Ka(e,t,o=!1){let n=Au(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?Pu(n):o?"App":"Anonymous"}function Ou(e){return ne(e)&&"__vccOpts"in e}const ze=(e,t)=>$c(e,t,Wo);function Ya(e,t,o){try{Pn(-1);const n=arguments.length;return n===2?me(t)&&!ee(t)?Do(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Do(o)&&(o=[o]),Fe(e,t,o))}finally{Pn(1)}}const Fu="3.5.42";/**
|
||
* @vue/runtime-dom v3.5.42
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let zr;const qa=typeof window<"u"&&window.trustedTypes;if(qa)try{zr=qa.createPolicy("vue",{createHTML:e=>e})}catch{}const Xa=zr?e=>zr.createHTML(e):e=>e,Cu="http://www.w3.org/2000/svg",Iu="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,Za=It&&It.createElement("template"),Nu={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"?It.createElementNS(Cu,e):t==="mathml"?It.createElementNS(Iu,e):o?It.createElement(e,{is:o}):It.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.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{Za.innerHTML=Xa(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const i=Za.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]}},Ru=Symbol("_vtc");function Du(e,t,o){const n=e[Ru];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Ja=Symbol("_vod"),zu=Symbol("_vsh"),Uu=Symbol(""),ju=/(?:^|;)\s*display\s*:/;function Wu(e,t,o){const n=e.style,s=Se(o);let r=!1;if(o&&!s){if(t)if(Se(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();o[i]==null&&Ho(n,i,"")}else for(const a in t)o[a]==null&&Ho(n,a,"");for(const a in o){a==="display"&&(r=!0);const i=o[a];i!=null?Vu(e,a,!Se(t)&&t?t[a]:void 0,i)||Ho(n,a,i):Ho(n,a,"")}}else if(s){if(t!==o){const a=n[Uu];a&&(o+=";"+a),n.cssText=o,r=ju.test(o)}}else t&&e.removeAttribute("style");Ja in e&&(e[Ja]=r?n.display:"",e[zu]&&(n.display="none"))}const Cn=/\s*!important$/;function Ho(e,t,o){if(ee(o))o.forEach(n=>Ho(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=Hu(e,t);Cn.test(o)?e.setProperty(nt(n),o.replace(Cn,""),"important"):e[n]=o}}const Qa=["Webkit","Moz","ms"],Ur={};function Hu(e,t){const o=Ur[t];if(o)return o;let n=Qe(t);if(n!=="filter"&&n in e)return Ur[t]=n;n=ws(n);for(let s=0;s<Qa.length;s++){const r=Qa[s]+n;if(r in e)return Ur[t]=r}return t}function Vu(e,t,o,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Se(n)&&o===n}const ei="http://www.w3.org/1999/xlink";function ti(e,t,o,n,s,r=Yl(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(ei,t.slice(6,t.length)):e.setAttributeNS(ei,t,o):o==null||r&&!Es(o)?e.removeAttribute(t):e.setAttribute(t,r?"":ut(o)?String(o):o)}function oi(e,t,o,n,s){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Xa(o):o);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?e.getAttribute("value")||"":e.value,l=o==null?e.type==="checkbox"?"on":"":String(o);(i!==l||!("_value"in e))&&(e.value=l),o==null&&e.removeAttribute(t),e._value=o;return}let a=!1;if(o===""||o==null){const i=typeof e[t];i==="boolean"?o=Es(o):o==null&&i==="string"?(o="",a=!0):i==="number"&&(o=0,a=!0)}try{e[t]=o}catch{}a&&e.removeAttribute(s||t)}function Gu(e,t,o,n){e.addEventListener(t,o,n)}function Bu(e,t,o,n){e.removeEventListener(t,o,n)}const ni=Symbol("_vei");function Ku(e,t,o,n,s=null){const r=e[ni]||(e[ni]={}),a=r[t];if(n&&a)a.value=n;else{const[i,l]=Xu(t);if(n){const c=r[t]=Qu(n,s);Gu(e,i,c,l)}else a&&(Bu(e,i,a,l),r[t]=void 0)}}const Yu=/(Once|Passive|Capture)$/,qu=/^on:?(?:Once|Passive|Capture)$/;function Xu(e){let t,o;for(;(o=e.match(Yu))&&!qu.test(e);)t||(t={}),e=e.slice(0,e.length-o[1].length),t[o[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):nt(e.slice(2)),t]}let jr=0;const Zu=Promise.resolve(),Ju=()=>jr||(Zu.then(()=>jr=0),jr=Date.now());function Qu(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;l<a.length&&!n._stopped;l++){const c=a[l];c&&ft(c,t,5,i)}}else ft(s,t,5,[n])};return o.value=e,o.attached=Ju(),o}const ri=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ep=(e,t,o,n,s,r)=>{const a=s==="svg";t==="class"?Du(e,n,a):t==="style"?Wu(e,o,n):en(t)?tn(t)||Ku(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):tp(e,t,n,a))?(oi(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ti(e,t,n,a,r,t!=="value")):e._isVueCE&&(op(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Se(n)))?oi(e,Qe(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ti(e,t,n,a))};function tp(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ri(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 ri(t)&&Se(o)?!1:t in e}function op(e,t){const o=e._def.props;if(!o)return!1;const n=Qe(t);return Array.isArray(o)?o.some(s=>Qe(s)===n):Object.keys(o).some(s=>Qe(s)===n)}const si={};function np(e,t,o){let n=En(e,t);nn(n)&&(n=Pe({},n,t));class s extends Wr{constructor(a){super(n,a,o)}}return s.def=n,s}const rp=typeof HTMLElement<"u"?HTMLElement:class{};class Wr extends rp{constructor(t,o={},n=li){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!==li?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Pe({},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 Wr){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,$n(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props: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]=vs(this._props[l])),(i||(i=Object.create(null)))[Qe(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)he(this,n)||Object.defineProperty(this,n,{get:()=>Ut(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(Qe))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):si;const s=Qe(t);o&&this._numberProps&&this._numberProps[s]&&(n=vs(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===si?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(nt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(nt(t),o+""):o||this.removeAttribute(nt(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),up(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Fe(this._def,Pe(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,nn(a[0])?Pe({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),nt(r)!==r&&s(nt(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;o<t.childNodes.length;o++){const n=t.childNodes[o];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=this._getSlots(),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(o&&l.nodeType===1){const c=o+"-s",d=document.createTreeWalker(l,1);l.setAttribute(c,"");let h;for(;h=d.nextNode();)h.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const s=n.querySelectorAll("slot");for(let r=0;r<s.length;r++)o.add(s[r])}return Array.from(o)}_injectChildStyle(t,o){this._applyStyles(t.styles,t,o)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const sp=["ctrl","shift","alt","meta"],ap={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>sp.some(o=>e[`${o}Key`]&&!t.includes(o))},Hr=(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<t.length;a++){const i=ap[t[a]];if(i&&i(s,t))return}return e(s,...r)})},ip={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lp=(e,t)=>{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=s=>{if(!("key"in s))return;const r=nt(s.key);if(t.some(a=>a===r||ip[a]===r))return e(s)})},cp=Pe({patchProp:ep},Nu);let ai;function ii(){return ai||(ai=hu(cp))}const up=(...e)=>{ii().render(...e)},li=(...e)=>{const t=ii().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=dp(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,pp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function pp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function dp(e){return Se(e)?document.querySelector(e):e}const ci={regular:"Noto Sans Regular",medium:"Noto Sans Bold",bold:"Noto Sans Bold"};function fp(e){return typeof window<"u"&&!!window.maplibregl&&e instanceof window.maplibregl.Map}function hp(e,{weight:t="regular",mapbox:o}={}){return fp(e)?{"text-font":[ci[t]||ci.regular]}:Array.isArray(o)&&o.length?{"text-font":o}:{}}const mp="rgba(120, 128, 134, 0.28)",ui="36px",pi=()=>{};function gp(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return pi;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return pi;const s=v=>v.classList.contains("map-scroll-edge--left");for(const v of n)v.style.background=`linear-gradient(${s(v)?"to right":"to left"}, ${mp} ${ui}, transparent ${ui})`,v.style.opacity="0",v.style.transition="opacity 0.16s ease",v.style.userSelect="none",v.style.webkitUserSelect="none";const r=v=>{v.style.opacity="1"},a=v=>{v.style.opacity="0"},i=()=>n.find(v=>!s(v))||null,l=new Set;let c=!1,d=null;const h=()=>{for(const v of n)l.has(v)||a(v)},m=()=>{const v=i();v&&(r(v),d&&clearTimeout(d),d=setTimeout(h,250))},L=()=>m(),M=v=>{if(!(v.touches&&v.touches.length===1))return;const y=v.target;y&&y.classList&&y.classList.contains("map-scroll-edge")||m()},S=()=>{d&&clearTimeout(d),h()};e.addEventListener("wheel",L,{passive:!0}),e.addEventListener("touchmove",M,{passive:!0}),e.addEventListener("touchend",S,{passive:!0}),e.addEventListener("touchcancel",S,{passive:!0});const C=()=>{c||m()};typeof window<"u"&&window.addEventListener("scroll",C,{passive:!0});const I=[];for(const v of n){const y=()=>{l.add(v),r(v)},b=()=>{l.delete(v),a(v)},A=()=>{c=!0,r(v)},k=()=>{c=!1,a(v)};v.addEventListener("mouseenter",y),v.addEventListener("mouseleave",b),v.addEventListener("touchstart",A,{passive:!0}),v.addEventListener("touchend",k,{passive:!0}),I.push(()=>{v.removeEventListener("mouseenter",y),v.removeEventListener("mouseleave",b),v.removeEventListener("touchstart",A),v.removeEventListener("touchend",k)})}return function(){d&&(clearTimeout(d),d=null),e.removeEventListener("wheel",L),e.removeEventListener("touchmove",M),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S),typeof window<"u"&&window.removeEventListener("scroll",C);for(const y of I)y();for(const y of n)a(y)}}const _p=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 di(e,t="mapbox"){const o=_p[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 bp(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 $p=["mapbox","maplibre"],wp="auto";function fi(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function hi(e){const t=o=>typeof o=="string"&&!!o.trim()&&!/^YOUR_/.test(o.trim());return t(e==null?void 0:e.tk)||/^https?:\/\//i.test(String((e==null?void 0:e.tokenUrl)||""))?!0:typeof window>"u"?!1:t(window.MAP_TOKEN)||t(window.__doxaMapToken)||!!window.__doxaMapTokenPending}function yp(e,{token:t}={}){const o=fi(e);return mi(o)||(hi(o)||hi({tk:t})?"mapbox":"maplibre")}function mi(e){const t=fi(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||wp).toLowerCase().trim();return $p.includes(r)?r:""}const Vo={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 Vr(e,t){const o=Object.values(Vo).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 gi(e){return!!e&&typeof window<"u"&&e===window.maplibregl}function vp(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(gi(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 Sp(e){if(!(!e||!gi(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 Ep=/\[\s*"get"\s*,\s*"name(?::latin|:nonlatin|:en|_en|_int)?"\s*\]|\{name(?::latin|:nonlatin|:en|_en|_int)?\}/,_i=new WeakMap;function Lp(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(!Lp(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=_i.get(e);s||(s=new Map,_i.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(!Ep.test(l))continue;s.set(a.id,i)}const c=["coalesce",["get","name:"+o],["get","name:latin"],["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:"الملصقات في كل صف"},kp={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:"ابحث عن الشعوب أو الدول…"},xp={map:"الخريطة",marker:"علامة على الخريطة",closePopup:"إغلاق النافذة المنبثقة",zoomIn:"تكبير",zoomOut:"تصغير",resetBearing:"اسحب لتدوير الخريطة، وانقر لإعادة الشمال",toggleAttribution:"إظهار/إخفاء المصادر",mapFeedback:"ملاحظات على الخريطة",enterFullscreen:"ملء الشاشة",exitFullscreen:"الخروج من ملء الشاشة",findMyLocation:"تحديد موقعي",locationNotAvailable:"الموقع غير متاح",enableGlobe:"تفعيل الكرة الأرضية",disableGlobe:"إيقاف الكرة الأرضية",ctrlScroll:"استخدم Ctrl مع التمرير لتكبير الخريطة",cmdScroll:"استخدم ⌘ مع التمرير لتكبير الخريطة",twoFingers:"استخدم إصبعين لتحريك الخريطة",mapboxHomepage:"الصفحة الرئيسية لـ Mapbox",maplibreLogo:"شعار MapLibre"},Mp={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:"المعاينة غير متاحة"},Pp={embed_link:"رابط التضمين",add_to_website:"أضِفها إلى موقعك",embed_paste_hint:"الصق هذا الرمز في أداة إنشاء موقعك (WordPress أو Squarespace أو Wix أو أي موقع يقبل أدوات HTML)."},Ap={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"},Op={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…"},Fp={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"},Cp={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"},Ip={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)."},Np={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",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"},Rp={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…"},Dp={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"},zp={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"},Up={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)."},jp={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"},Wp={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…"},Hp={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"},Vp={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"},Gp={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)."},Bp={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"},Kp={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…"},Yp={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"},qp={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"},Xp={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)."},Zp={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:"प्रति पंक्ति पोस्टर"},Jp={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:"जनसमूह या देश खोजें…"},Qp={map:"मानचित्र",marker:"मानचित्र चिह्न",closePopup:"पॉपअप बंद करें",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",resetBearing:"मानचित्र घुमाने के लिए खींचें, उत्तर पर लौटने के लिए क्लिक करें",toggleAttribution:"श्रेय दिखाएँ/छिपाएँ",mapFeedback:"मानचित्र पर प्रतिक्रिया",enterFullscreen:"पूर्ण स्क्रीन",exitFullscreen:"पूर्ण स्क्रीन से बाहर निकलें",findMyLocation:"मेरा स्थान खोजें",locationNotAvailable:"स्थान उपलब्ध नहीं",enableGlobe:"ग्लोब चालू करें",disableGlobe:"ग्लोब बंद करें",ctrlScroll:"मानचित्र ज़ूम करने के लिए Ctrl + स्क्रॉल करें",cmdScroll:"मानचित्र ज़ूम करने के लिए ⌘ + स्क्रॉल करें",twoFingers:"मानचित्र हिलाने के लिए दो उँगलियों का उपयोग करें",mapboxHomepage:"Mapbox मुखपृष्ठ",maplibreLogo:"MapLibre लोगो"},ed={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:"पूर्वावलोकन उपलब्ध नहीं"},td={embed_link:"एम्बेड लिंक",add_to_website:"अपनी वेबसाइट में जोड़ें",embed_paste_hint:"इस कोड को अपने वेबसाइट बिल्डर में पेस्ट करें (WordPress, Squarespace, Wix, या कोई भी साइट जो HTML विजेट स्वीकार करती है)।"},od={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"},nd={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…"},rd={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"},sd={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"},ad={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)."},id={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"},ld={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…"},cd={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"},ud={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"},pd={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)."},dd={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"},fd={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…"},hd={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"},md={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ă"},gd={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)."},_d={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:"Плакатов в ряду"},bd={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:"Поиск народов или стран…"},$d={map:"Карта",marker:"Метка на карте",closePopup:"Закрыть окно",zoomIn:"Приблизить",zoomOut:"Отдалить",resetBearing:"Перетащите, чтобы повернуть карту; нажмите, чтобы вернуть север",toggleAttribution:"Показать/скрыть источники",mapFeedback:"Отзыв о карте",enterFullscreen:"Во весь экран",exitFullscreen:"Выйти из полноэкранного режима",findMyLocation:"Найти моё местоположение",locationNotAvailable:"Местоположение недоступно",enableGlobe:"Включить глобус",disableGlobe:"Выключить глобус",ctrlScroll:"Используйте Ctrl + прокрутку для масштабирования карты",cmdScroll:"Используйте ⌘ + прокрутку для масштабирования карты",twoFingers:"Используйте два пальца, чтобы перемещать карту",mapboxHomepage:"Главная страница Mapbox",maplibreLogo:"Логотип MapLibre"},wd={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:"предпросмотр недоступен"},yd={embed_link:"Ссылка для встраивания",add_to_website:"Добавить на ваш сайт",embed_paste_hint:"Вставьте этот код в конструктор вашего сайта (WordPress, Squarespace, Wix или любой сайт, принимающий HTML-виджеты)."},vd={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:"每行海报数"},Sd={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:"搜索民族或国家…"},Ed={map:"地图",marker:"地图标记",closePopup:"关闭弹窗",zoomIn:"放大",zoomOut:"缩小",resetBearing:"拖动以旋转地图,点击以恢复正北",toggleAttribution:"显示/隐藏数据来源",mapFeedback:"地图反馈",enterFullscreen:"全屏",exitFullscreen:"退出全屏",findMyLocation:"查找我的位置",locationNotAvailable:"无法获取位置",enableGlobe:"启用地球仪",disableGlobe:"停用地球仪",ctrlScroll:"使用 Ctrl + 滚轮缩放地图",cmdScroll:"使用 ⌘ + 滚轮缩放地图",twoFingers:"使用两根手指移动地图",mapboxHomepage:"Mapbox 主页",maplibreLogo:"MapLibre 标志"},Ld={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:"预览不可用"},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 kd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Nn=typeof window<"u",Vt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),xd=(e,t,o)=>Md({l:e,k:t,s:o}),Md=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ae=e=>typeof e=="number"&&isFinite(e),Pd=e=>vi(e)==="[object Date]",Gt=e=>vi(e)==="[object RegExp]",Rn=e=>te(e)&&Object.keys(e).length===0,Ue=Object.assign,Ad=Object.create,ge=(e=null)=>Ad(e);let bi;const Go=()=>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,"/").replace(/=/g,"=")}function wi(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Od(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 Fd=Object.prototype.hasOwnProperty;function mt(e,t){return Fd.call(e,t)}const Ee=Array.isArray,ve=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",de=e=>e!==null&&typeof e=="object",Cd=e=>de(e)&&ve(e.then)&&ve(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},Id=e=>e==null?"":Ee(e)||te(e)&&e.toString===yi?JSON.stringify(e,null,2):String(e);function Nd(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)||Ee(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]}))})}}/*!
|
||
* message-compiler v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Rd(e,t,o){return{line:e,column:t,offset:o}}function jn(e,t,o){return{start:e,end:t}}const Dd=/\{([0-9a-zA-Z]+)\}/g;function Si(e,...t){return t.length===1&&zd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Dd,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const Ei=Object.assign,Li=e=>typeof e=="string",zd=e=>e!==null&&typeof e=="object";function Ti(e,t=""){return e.reduce((o,n,s)=>s===0?o+n:o+t+n,"")}const Br={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Ud={[Br.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function jd(e,t,...o){const n=Si(Ud[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},Wd={[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 _o(e,t,o={}){const{domain:n,messages:s,args:r}=o,a=Si((s||Wd)[e]||"",...r||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=n,i}function Hd(e){throw e}const Nt=" ",Vd="\r",qe=`
|
||
`,Gd="\u2028",Bd="\u2029";function Kd(e){const t=e;let o=0,n=1,s=1,r=0;const a=P=>t[P]===Vd&&t[P+1]===qe,i=P=>t[P]===qe,l=P=>t[P]===Bd,c=P=>t[P]===Gd,d=P=>a(P)||i(P)||l(P)||c(P),h=()=>o,m=()=>n,L=()=>s,M=()=>r,S=P=>a(P)||l(P)||c(P)?qe:t[P],C=()=>S(o),I=()=>S(o+r);function v(){return r=0,d(o)&&(n++,s=0),a(o)&&o++,o++,s++,t[o]}function y(){return a(o+r)&&r++,r++,t[o+r]}function b(){o=0,n=1,s=1,r=0}function A(P=0){r=P}function k(){const P=o+r;for(;P!==o;)v();r=0}return{index:h,line:m,column:L,peekOffset:M,charAt:S,currentChar:C,currentPeek:I,next:v,peek:y,reset:b,resetPeek:A,skipToPeek:k}}const Bt=void 0,Yd=".",ki="'",qd="tokenizer";function Xd(e,t={}){const o=t.location!==!1,n=Kd(e),s=()=>n.index(),r=()=>Rd(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,T,...F){const w=c();if(p.column+=T,p.offset+=T,d){const E=o?jn(w.startLoc,p):null,g=_o(u,E,{domain:qd,args:F});d(g)}}function m(u,p,T){u.endLoc=r(),u.currentType=p;const F={type:p};return o&&(F.loc=jn(u.startLoc,u.endLoc)),T!=null&&(F.value=T),F}const L=u=>m(u,14);function M(u,p){return u.currentChar()===p?(u.next(),p):(h(Q.EXPECTED_TOKEN,r(),0,p),"")}function S(u){let p="";for(;u.currentPeek()===Nt||u.currentPeek()===qe;)p+=u.currentPeek(),u.peek();return p}function C(u){const p=S(u);return u.skipToPeek(),p}function I(u){if(u===Bt)return!1;const p=u.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function v(u){if(u===Bt)return!1;const p=u.charCodeAt(0);return p>=48&&p<=57}function y(u,p){const{currentType:T}=p;if(T!==2)return!1;S(u);const F=I(u.currentPeek());return u.resetPeek(),F}function b(u,p){const{currentType:T}=p;if(T!==2)return!1;S(u);const F=u.currentPeek()==="-"?u.peek():u.currentPeek(),w=v(F);return u.resetPeek(),w}function A(u,p){const{currentType:T}=p;if(T!==2)return!1;S(u);const F=u.currentPeek()===ki;return u.resetPeek(),F}function k(u,p){const{currentType:T}=p;if(T!==8)return!1;S(u);const F=u.currentPeek()===".";return u.resetPeek(),F}function P(u,p){const{currentType:T}=p;if(T!==9)return!1;S(u);const F=I(u.currentPeek());return u.resetPeek(),F}function z(u,p){const{currentType:T}=p;if(!(T===8||T===12))return!1;S(u);const F=u.currentPeek()===":";return u.resetPeek(),F}function N(u,p){const{currentType:T}=p;if(T!==10)return!1;const F=()=>{const E=u.currentPeek();return E==="{"?I(u.peek()):E==="@"||E==="%"||E==="|"||E===":"||E==="."||E===Nt||!E?!1:E===qe?(u.peek(),F()):H(u,!1)},w=F();return u.resetPeek(),w}function Y(u){S(u);const p=u.currentPeek()==="|";return u.resetPeek(),p}function J(u){const p=S(u),T=u.currentPeek()==="%"&&u.peek()==="{";return u.resetPeek(),{isModulo:T,hasSpace:p.length>0}}function H(u,p=!0){const T=(w=!1,E="",g=!1)=>{const x=u.currentPeek();return x==="{"?E==="%"?!1:w:x==="@"||!x?E==="%"?!0:w:x==="%"?(u.peek(),T(w,"%",!0)):x==="|"?E==="%"||g?!0:!(E===Nt||E===qe):x===Nt?(u.peek(),T(!0,Nt,g)):x===qe?(u.peek(),T(!0,qe,g)):!0},F=T();return p&&u.resetPeek(),F}function oe(u,p){const T=u.currentChar();return T===Bt?Bt:p(T)?(u.next(),T):null}function se(u){const p=u.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function G(u){return oe(u,se)}function U(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 K(u){return oe(u,U)}function q(u){const p=u.charCodeAt(0);return p>=48&&p<=57}function _e(u){return oe(u,q)}function je(u){const p=u.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function Le(u){return oe(u,je)}function Me(u){let p="",T="";for(;p=_e(u);)T+=p;return T}function Ve(u){C(u);const p=u.currentChar();return p!=="%"&&h(Q.EXPECTED_TOKEN,r(),0,p),u.next(),"%"}function Xe(u){let p="";for(;;){const T=u.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(H(u))p+=T,u.next();else break;else if(T===Nt||T===qe)if(H(u))p+=T,u.next();else{if(Y(u))break;p+=T,u.next()}else p+=T,u.next()}return p}function lt(u){C(u);let p="",T="";for(;p=K(u);)T+=p;return u.currentChar()===Bt&&h(Q.UNTERMINATED_CLOSING_BRACE,r(),0),T}function We(u){C(u);let p="";return u.currentChar()==="-"?(u.next(),p+=`-${Me(u)}`):p+=Me(u),u.currentChar()===Bt&&h(Q.UNTERMINATED_CLOSING_BRACE,r(),0),p}function ke(u){return u!==ki&&u!==qe}function Ze(u){C(u),M(u,"'");let p="",T="";for(;p=oe(u,ke);)p==="\\"?T+=ae(u):T+=p;const F=u.currentChar();return F===qe||F===Bt?(h(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),F===qe&&(u.next(),M(u,"'")),T):(M(u,"'"),T)}function ae(u){const p=u.currentChar();switch(p){case"\\":case"'":return u.next(),`\\${p}`;case"u":return re(u,p,4);case"U":return re(u,p,6);default:return h(Q.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function re(u,p,T){M(u,p);let F="";for(let w=0;w<T;w++){const E=Le(u);if(!E){h(Q.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${p}${F}${u.currentChar()}`);break}F+=E}return`\\${p}${F}`}function Oe(u){return u!=="{"&&u!=="}"&&u!==Nt&&u!==qe}function f(u){C(u);let p="",T="";for(;p=oe(u,Oe);)T+=p;return T}function $(u){let p="",T="";for(;p=G(u);)T+=p;return T}function _(u){const p=T=>{const F=u.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===Nt?T:(T+=F,u.next(),p(T))};return p("")}function O(u){C(u);const p=M(u,"|");return C(u),p}function D(u,p){let T=null;switch(u.currentChar()){case"{":return p.braceNest>=1&&h(Q.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),u.next(),T=m(p,2,"{"),C(u),p.braceNest++,T;case"}":return p.braceNest>0&&p.currentType===2&&h(Q.EMPTY_PLACEHOLDER,r(),0),u.next(),T=m(p,3,"}"),p.braceNest--,p.braceNest>0&&C(u),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),T;case"@":return p.braceNest>0&&h(Q.UNTERMINATED_CLOSING_BRACE,r(),0),T=R(u,p)||L(p),p.braceNest=0,T;default:{let w=!0,E=!0,g=!0;if(Y(u))return p.braceNest>0&&h(Q.UNTERMINATED_CLOSING_BRACE,r(),0),T=m(p,1,O(u)),p.braceNest=0,p.inLinked=!1,T;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return h(Q.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,W(u,p);if(w=y(u,p))return T=m(p,5,lt(u)),C(u),T;if(E=b(u,p))return T=m(p,6,We(u)),C(u),T;if(g=A(u,p))return T=m(p,7,Ze(u)),C(u),T;if(!w&&!E&&!g)return T=m(p,13,f(u)),h(Q.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,T.value),C(u),T;break}}return T}function R(u,p){const{currentType:T}=p;let F=null;const w=u.currentChar();switch((T===8||T===9||T===12||T===10)&&(w===qe||w===Nt)&&h(Q.INVALID_LINKED_FORMAT,r(),0),w){case"@":return u.next(),F=m(p,8,"@"),p.inLinked=!0,F;case".":return C(u),u.next(),m(p,9,".");case":":return C(u),u.next(),m(p,10,":");default:return Y(u)?(F=m(p,1,O(u)),p.braceNest=0,p.inLinked=!1,F):k(u,p)||z(u,p)?(C(u),R(u,p)):P(u,p)?(C(u),m(p,12,$(u))):N(u,p)?(C(u),w==="{"?D(u,p)||F:m(p,11,_(u))):(T===8&&h(Q.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,W(u,p))}}function W(u,p){let T={type:14};if(p.braceNest>0)return D(u,p)||L(p);if(p.inLinked)return R(u,p)||L(p);switch(u.currentChar()){case"{":return D(u,p)||L(p);case"}":return h(Q.UNBALANCED_CLOSING_BRACE,r(),0),u.next(),m(p,3,"}");case"@":return R(u,p)||L(p);default:{if(Y(u))return T=m(p,1,O(u)),p.braceNest=0,p.inLinked=!1,T;const{isModulo:w,hasSpace:E}=J(u);if(w)return E?m(p,0,Xe(u)):m(p,4,Ve(u));if(H(u))return m(p,0,Xe(u));break}}return T}function j(){const{currentType:u,offset:p,startLoc:T,endLoc:F}=l;return l.lastType=u,l.lastOffset=p,l.lastStartLoc=T,l.lastEndLoc=F,l.offset=s(),l.startLoc=r(),n.currentChar()===Bt?m(l,14):W(n,l)}return{nextToken:j,currentOffset:s,currentPosition:r,context:c}}const Zd="parser",Jd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Qd(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"<22>"}}}function ef(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function s(y,b,A,k,...P){const z=y.currentPosition();if(z.offset+=k,z.column+=k,o){const N=t?jn(A,z):null,Y=_o(b,N,{domain:Zd,args:P});o(Y)}}function r(y,b,A,k,...P){const z=y.currentPosition();if(z.offset+=k,z.column+=k,n){const N=t?jn(A,z):null;n(jd(b,N,P))}}function a(y,b,A){const k={type:y};return t&&(k.start=b,k.end=b,k.loc={start:A,end:A}),k}function i(y,b,A,k){t&&(y.end=b,y.loc&&(y.loc.end=A))}function l(y,b){const A=y.context(),k=a(3,A.offset,A.startLoc);return k.value=b,i(k,y.currentOffset(),y.currentPosition()),k}function c(y,b){const A=y.context(),{lastOffset:k,lastStartLoc:P}=A,z=a(5,k,P);return z.index=parseInt(b,10),y.nextToken(),i(z,y.currentOffset(),y.currentPosition()),z}function d(y,b,A){const k=y.context(),{lastOffset:P,lastStartLoc:z}=k,N=a(4,P,z);return N.key=b,A===!0&&(N.modulo=!0),y.nextToken(),i(N,y.currentOffset(),y.currentPosition()),N}function h(y,b){const A=y.context(),{lastOffset:k,lastStartLoc:P}=A,z=a(9,k,P);return z.value=b.replace(Jd,Qd),y.nextToken(),i(z,y.currentOffset(),y.currentPosition()),z}function m(y){const b=y.nextToken(),A=y.context(),{lastOffset:k,lastStartLoc:P}=A,z=a(8,k,P);return b.type!==12?(s(y,Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),z.value="",i(z,k,P),{nextConsumeToken:b,node:z}):(b.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,gt(b)),z.value=b.value||"",i(z,y.currentOffset(),y.currentPosition()),{node:z})}function L(y,b){const A=y.context(),k=a(7,A.offset,A.startLoc);return k.value=b,i(k,y.currentOffset(),y.currentPosition()),k}function M(y){const b=y.context(),A=a(6,b.offset,b.startLoc);let k=y.nextToken();if(k.type===9){const P=m(y);A.modifier=P.node,k=P.nextConsumeToken||y.nextToken()}switch(k.type!==10&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(k)),k=y.nextToken(),k.type===2&&(k=y.nextToken()),k.type){case 11:k.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(k)),A.key=L(y,k.value||"");break;case 5:k.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(k)),A.key=d(y,k.value||"");break;case 6:k.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(k)),A.key=c(y,k.value||"");break;case 7:k.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(k)),A.key=h(y,k.value||"");break;default:{s(y,Q.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const P=y.context(),z=a(7,P.offset,P.startLoc);return z.value="",i(z,P.offset,P.startLoc),A.key=z,i(A,P.offset,P.startLoc),{nextConsumeToken:k,node:A}}}return i(A,y.currentOffset(),y.currentPosition()),{node:A}}function S(y){const b=y.context(),A=b.currentType===1?y.currentOffset():b.offset,k=b.currentType===1?b.endLoc:b.startLoc,P=a(2,A,k);P.items=[];let z=null,N=null;do{const H=z||y.nextToken();switch(z=null,H.type){case 0:H.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(H)),P.items.push(l(y,H.value||""));break;case 6:H.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(H)),P.items.push(c(y,H.value||""));break;case 4:N=!0;break;case 5:H.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(H)),P.items.push(d(y,H.value||"",!!N)),N&&(r(y,Br.USE_MODULO_SYNTAX,b.lastStartLoc,0,gt(H)),N=null);break;case 7:H.value==null&&s(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,gt(H)),P.items.push(h(y,H.value||""));break;case 8:{const oe=M(y);P.items.push(oe.node),z=oe.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const Y=b.currentType===1?b.lastOffset:y.currentOffset(),J=b.currentType===1?b.lastEndLoc:y.currentPosition();return i(P,Y,J),P}function C(y,b,A,k){const P=y.context();let z=k.items.length===0;const N=a(1,b,A);N.cases=[],N.cases.push(k);do{const Y=S(y);z||(z=Y.items.length===0),N.cases.push(Y)}while(P.currentType!==14);return z&&s(y,Q.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),i(N,y.currentOffset(),y.currentPosition()),N}function I(y){const b=y.context(),{offset:A,startLoc:k}=b,P=S(y);return b.currentType===14?P:C(y,A,k,P)}function v(y){const b=Xd(y,Ei({},e)),A=b.context(),k=a(0,A.offset,A.startLoc);return t&&k.loc&&(k.loc.source=y),k.body=I(b),e.onCacheKey&&(k.cacheKey=e.onCacheKey(y)),A.currentType!==14&&s(b,Q.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,y[A.offset]||""),i(k,b.currentOffset(),b.currentPosition()),k}return{parse:v}}function gt(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 tf(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function xi(e,t){for(let o=0;o<e.length;o++)Kr(e[o],t)}function Kr(e,t){switch(e.type){case 1:xi(e.cases,t),t.helper("plural");break;case 2:xi(e.items,t);break;case 6:{Kr(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function of(e,t={}){const o=tf(e);o.helper("normalize"),e.body&&Kr(e.body,o);const n=o.context();e.helpers=Array.from(n.helpers)}function nf(e){const t=e.body;return t.type===2?Mi(t):t.cases.forEach(o=>Mi(o)),e}function Mi(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;o<e.items.length;o++){const n=e.items[o];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=Ti(t);for(let o=0;o<e.items.length;o++){const n=e.items[o];(n.type===3||n.type===9)&&delete n.value}}}}const rf="minifier";function bo(e){switch(e.t=e.type,e.type){case 0:{const t=e;bo(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,o=t.cases;for(let n=0;n<o.length;n++)bo(o[n]);t.c=o,delete t.cases;break}case 2:{const t=e,o=t.items;for(let n=0;n<o.length;n++)bo(o[n]);t.i=o,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;bo(t.key),t.k=t.key,delete t.key,t.modifier&&(bo(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw _o(Q.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:rf,args:[e.type]})}delete e.type}const sf="parser";function af(e,t){const{filename:o,breakLineCode:n,needIndent:s}=t,r=t.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:s,indentLevel:0};r&&e.loc&&(a.source=e.loc.source);const i=()=>a;function l(S,C){a.code+=S}function c(S,C=!0){const I=C?n:"";l(s?I+" ".repeat(S):I)}function d(S=!0){const C=++a.indentLevel;S&&c(C)}function h(S=!0){const C=--a.indentLevel;S&&c(C)}function m(){c(a.indentLevel)}return{context:i,push:l,indent:d,deindent:h,newline:m,helper:S=>`_${S}`,needIndent:()=>a.needIndent}}function lf(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),$o(e,t.key),t.modifier?(e.push(", "),$o(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function cf(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const s=t.items.length;for(let r=0;r<s&&($o(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(n()),e.push("])")}function uf(e,t){const{helper:o,needIndent:n}=e;if(t.cases.length>1){e.push(`${o("plural")}([`),e.indent(n());const s=t.cases.length;for(let r=0;r<s&&($o(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(n()),e.push("])")}}function pf(e,t){t.body?$o(e,t.body):e.push("null")}function $o(e,t){const{helper:o}=e;switch(t.type){case 0:pf(e,t);break;case 1:uf(e,t);break;case 2:cf(e,t);break;case 6:lf(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${t.index}))`,t);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw _o(Q.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:sf,args:[t.type]})}}const df=(e,t={})=>{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=af(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 "),$o(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 ff(e,t={}){const o=Ei({},t),n=!!o.jit,s=!!o.minify,r=o.optimize==null?!0:o.optimize,i=ef(o).parse(e);return n?(r&&nf(i),s&&bo(i),{ast:i,code:""}):(of(i,o),df(i,o))}/*!
|
||
* core-base v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function hf(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Go().__INTLIFY_PROD_DEVTOOLS__=!1)}function kt(e){return de(e)&&Yr(e)===0&&(mt(e,"b")||mt(e,"body"))}const Pi=["b","body"];function mf(e){return Kt(e,Pi)}const Ai=["c","cases"];function gf(e){return Kt(e,Ai,[])}const Oi=["s","static"];function _f(e){return Kt(e,Oi)}const Fi=["i","items"];function bf(e){return Kt(e,Fi,[])}const Ci=["t","type"];function Yr(e){return Kt(e,Ci)}const Ii=["v","value"];function Wn(e,t){const o=Kt(e,Ii);if(o!=null)return o;throw Bo(t)}const Ni=["m","modifier"];function $f(e){return Kt(e,Ni)}const Ri=["k","key"];function wf(e){const t=Kt(e,Ri);if(t)return t;throw Bo(6)}function Kt(e,t,o){for(let n=0;n<t.length;n++){const s=t[n];if(mt(e,s)&&e[s]!=null)return e[s]}return o}const Di=[...Pi,...Ai,...Oi,...Fi,...Ri,...Ni,...Ii,...Ci];function Bo(e){return new Error(`unhandled node type: ${e}`)}const Yt=[];Yt[0]={w:[0],i:[3,0],"[":[4],o:[7]},Yt[1]={w:[1],".":[2],"[":[4],o:[7]},Yt[2]={w:[2],i:[3,0],0:[3,0]},Yt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Yt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Yt[5]={"'":[4,0],o:8,l:[5,0]},Yt[6]={'"':[4,0],o:8,l:[6,0]};const yf=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function vf(e){return yf.test(e)}function Sf(e){const t=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return t===o&&(t===34||t===39)?e.slice(1,-1):e}function Ef(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Lf(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:vf(t)?Sf(t):"*"+t}function Tf(e){const t=[];let o=-1,n=0,s=0,r,a,i,l,c,d,h;const m=[];m[0]=()=>{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=Lf(a),a===!1))return!1;m[1]()}};function L(){const M=e[o+1];if(n===5&&M==="'"||n===6&&M==='"')return o++,i="\\"+M,m[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&L())){if(l=Ef(r),h=Yt[n],c=h[l]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(i=r,d()===!1))))return;if(n===7)return t}}const zi=new Map;function kf(e,t){return de(e)?e[t]:null}function xf(e,t){if(!de(e))return null;let o=zi.get(t);if(o||(o=Tf(t),o&&zi.set(t,o)),!o)return null;const n=o.length;let s=e,r=0;for(;r<n;){const a=o[r];if(Di.includes(a)&&kt(s))return null;const i=s[a];if(i===void 0||ve(s))return null;s=i,r++}return s}const Mf=e=>e,Pf=e=>"",Af="text",Of=e=>e.length===0?"":Nd(e),Ff=Id;function Ui(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Cf(e){const t=Ae(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ae(e.named.count)||Ae(e.named.n))?Ae(e.named.count)?e.named.count:Ae(e.named.n)?e.named.n:t:t}function If(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Nf(e={}){const t=e.locale,o=Cf(e),n=de(e.pluralRules)&&V(t)&&ve(e.pluralRules[t])?e.pluralRules[t]:Ui,s=de(e.pluralRules)&&V(t)&&ve(e.pluralRules[t])?Ui:void 0,r=I=>I[n(o,I.length,s)],a=e.list||[],i=I=>a[I],l=e.named||ge();Ae(e.pluralIndex)&&If(o,l);const c=I=>l[I];function d(I){const v=ve(e.messages)?e.messages(I):de(e.messages)?e.messages[I]:!1;return v||(e.parent?e.parent.message(I):Pf)}const h=I=>e.modifiers?e.modifiers[I]:Mf,m=te(e.processor)&&ve(e.processor.normalize)?e.processor.normalize:Of,L=te(e.processor)&&ve(e.processor.interpolate)?e.processor.interpolate:Ff,M=te(e.processor)&&V(e.processor.type)?e.processor.type:Af,C={list:i,named:c,plural:r,linked:(I,...v)=>{const[y,b]=v;let A="text",k="";v.length===1?de(y)?(k=y.modifier||k,A=y.type||A):V(y)&&(k=y||k):v.length===2&&(V(y)&&(k=y||k),V(b)&&(A=b||A));const P=d(I)(C),z=A==="vnode"&&Ee(P)&&k?P[0]:P;return k?h(k)(z,A):z},message:d,type:M,interpolate:L,normalize:m,values:Ue(ge(),a,l)};return C}let Ko=null;function Rf(e){Ko=e}function Df(e,t,o){Ko&&Ko.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const zf=Uf("function:translate");function Uf(e){return t=>Ko&&Ko.emit(e,t)}const jf=Br.__EXTEND_POINT__,oo=Dn(jf),Wf={FALLBACK_TO_TRANSLATE:oo(),CANNOT_FORMAT_NUMBER:oo(),FALLBACK_TO_NUMBER_FORMAT:oo(),CANNOT_FORMAT_DATE:oo(),FALLBACK_TO_DATE_FORMAT:oo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:oo(),__EXTEND_POINT__:oo()},ji=Q.__EXTEND_POINT__,no=Dn(ji),xt={INVALID_ARGUMENT:ji,INVALID_DATE_ARGUMENT:no(),INVALID_ISO_DATE_ARGUMENT:no(),NOT_SUPPORT_NON_STRING_MESSAGE:no(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:no(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:no(),NOT_SUPPORT_LOCALE_TYPE:no(),__EXTEND_POINT__:no()};function Rt(e){return _o(e,null,void 0)}function qr(e,t){return t.locale!=null?Wi(t.locale):Wi(e.locale)}let Xr;function Wi(e){if(V(e))return e;if(ve(e)){if(e.resolvedOnce&&Xr!=null)return Xr;if(e.constructor.name==="Function"){const t=e();if(Cd(t))throw Rt(xt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Xr=t}else throw Rt(xt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Rt(xt.NOT_SUPPORT_LOCALE_TYPE)}function Hf(e,t,o){return[...new Set([o,...Ee(t)?t:de(t)?Object.keys(t):V(t)?[t]:[o]])]}function Hi(e,t,o){const n=V(o)?o:wo,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(n);if(!r){r=[];let a=[o];for(;Ee(a);)a=Vi(r,a,t);const i=Ee(t)||!te(t)?t:t.default?t.default:null;a=V(i)?[i]:i,Ee(a)&&Vi(r,a,!1),s.__localeChainCache.set(n,r)}return r}function Vi(e,t,o){let n=!0;for(let s=0;s<t.length&&le(n);s++){const r=t[s];V(r)&&(n=Vf(e,t[s],o))}return n}function Vf(e,t,o){let n;const s=t.split("-");do{const r=s.join("-");n=Gf(e,r,o),s.splice(-1,1)}while(s.length&&n===!0);return n}function Gf(e,t,o){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Ee(o)||te(o))&&o[s]&&(n=o[s])}return n}const Bf="9.14.5",Hn=-1,wo="en-US",Gi="",Bi=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Kf(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?Bi(e):t==="vnode"&&de(e)&&"__v_isVNode"in e?Bi(e.children):e}}let Ki;function Yf(e){Ki=e}let Yi;function qf(e){Yi=e}let qi;function Xf(e){qi=e}let Xi=null;const Zf=e=>{Xi=e},Jf=()=>Xi;let Zi=null;const Ji=e=>{Zi=e},Qf=()=>Zi;let Qi=0;function eh(e={}){const t=ve(e.onWarn)?e.onWarn:kd,o=V(e.version)?e.version:Bf,n=V(e.locale)||ve(e.locale)?e.locale:wo,s=ve(n)?wo:n,r=Ee(e.fallbackLocale)||te(e.fallbackLocale)||V(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=Ue(ge(),e.modifiers,Kf()),d=e.pluralRules||ge(),h=ve(e.missing)?e.missing:null,m=le(e.missingWarn)||Gt(e.missingWarn)?e.missingWarn:!0,L=le(e.fallbackWarn)||Gt(e.fallbackWarn)?e.fallbackWarn:!0,M=!!e.fallbackFormat,S=!!e.unresolving,C=ve(e.postTranslation)?e.postTranslation:null,I=te(e.processor)?e.processor:null,v=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=ve(e.messageCompiler)?e.messageCompiler:Ki,A=ve(e.messageResolver)?e.messageResolver:Yi||kf,k=ve(e.localeFallbacker)?e.localeFallbacker:qi||Hf,P=de(e.fallbackContext)?e.fallbackContext:void 0,z=e,N=de(z.__datetimeFormatters)?z.__datetimeFormatters:new Map,Y=de(z.__numberFormatters)?z.__numberFormatters:new Map,J=de(z.__meta)?z.__meta:{};Qi++;const H={version:o,cid:Qi,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:d,missing:h,missingWarn:m,fallbackWarn:L,fallbackFormat:M,unresolving:S,postTranslation:C,processor:I,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:A,localeFallbacker:k,fallbackContext:P,onWarn:t,__meta:J};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=N,H.__numberFormatters=Y,__INTLIFY_PROD_DEVTOOLS__&&Df(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 V(i)?i:t}else return t}function Yo(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function th(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function oh(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;n<t.length;n++)if(th(e,t[n]))return!0;return!1}function Qr(e){return o=>nh(o,e)}function nh(e,t){const o=mf(t);if(o==null)throw Bo(0);if(Yr(o)===1){const r=gf(o);return e.plural(r.reduce((a,i)=>[...a,el(e,i)],[]))}else return el(e,o)}function el(e,t){const o=_f(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=bf(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 Wn(t,o);case 9:return Wn(t,o);case 4:{const n=t;if(mt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(mt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Bo(o)}case 5:{const n=t;if(mt(n,"i")&&Ae(n.i))return e.interpolate(e.list(n.i));if(mt(n,"index")&&Ae(n.index))return e.interpolate(e.list(n.index));throw Bo(o)}case 6:{const n=t,s=$f(n),r=wf(n);return e.linked(es(e,r),s?es(e,s):void 0,e.type)}case 7:return Wn(t,o);case 8:return Wn(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const rh=e=>e;let Vn=ge();function sh(e,t={}){let o=!1;const n=t.onError||Hd;return t.onError=s=>{o=!0,n(s)},{...ff(e,t),detectError:o}}function ah(e,t){if(V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||rh)(e),s=Vn[n];if(s)return s;const{ast:r,detectError:a}=sh(e,{...t,location:!1,jit:!0}),i=Qr(r);return a?i:Vn[n]=i}else{const o=e.cacheKey;if(o){const n=Vn[o];return n||(Vn[o]=Qr(e))}else return Qr(e)}}const tl=()=>"",it=e=>ve(e);function ol(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:s,messageCompiler:r,fallbackLocale:a,messages:i}=e,[l,c]=ts(...t),d=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,L=!!c.resolvedMessage,M=V(c.default)||le(c.default)?le(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",S=o||M!=="",C=qr(e,c);m&&ih(c);let[I,v,y]=L?[l,C,i[C]||ge()]:nl(e,l,C,a,h,d),b=I,A=l;if(!L&&!(V(b)||kt(b)||it(b))&&S&&(b=M,A=b),!L&&(!(V(b)||kt(b)||it(b))||!V(v)))return s?Hn:l;let k=!1;const P=()=>{k=!0},z=it(b)?b:rl(e,l,v,b,A,P);if(k)return b;const N=uh(e,v,y,c),Y=Nf(N),J=lh(e,z,Y);let H=n?n(J,l):J;if(m&&V(H)&&(H=Od(H)),__INTLIFY_PROD_DEVTOOLS__){const oe={timestamp:Date.now(),key:V(l)?l:it(b)?b.key:"",locale:v||(it(b)?b.locale:""),format:V(b)?b:it(b)?b.source:"",message:H};oe.meta=Ue({},e.__meta,Jf()||{}),zf(oe)}return H}function ih(e){Ee(e.list)?e.list=e.list.map(t=>V(t)?$i(t):t):de(e.named)&&Object.keys(e.named).forEach(t=>{V(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,d=c(e,n,o);let h=ge(),m,L=null;const M="translate";for(let S=0;S<d.length&&(m=d[S],h=a[m]||ge(),(L=l(h,t))===null&&(L=h[t]),!(V(L)||kt(L)||it(L)));S++)if(!oh(m,d)){const C=Jr(e,t,m,r,M);C!==t&&(L=C)}return[L,m,h]}function rl(e,t,o,n,s,r){const{messageCompiler:a,warnHtmlMessage:i}=e;if(it(n)){const c=n;return c.locale=c.locale||o,c.key=c.key||t,c}if(a==null){const c=()=>n;return c.locale=o,c.key=t,c}const l=a(n,ch(e,o,s,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function lh(e,t,o){return t(o)}function ts(...e){const[t,o,n]=e,s=ge();if(!V(t)&&!Ae(t)&&!it(t)&&!kt(t))throw Rt(xt.INVALID_ARGUMENT);const r=Ae(t)?String(t):(it(t),t);return Ae(o)?s.plural=o:V(o)?s.default=o:te(o)&&!Rn(o)?s.named=o:Ee(o)&&(s.list=o),Ae(n)?s.plural=n:V(n)?s.default=n:te(n)&&Ue(s,n),[r,s]}function ch(e,t,o,n,s,r){return{locale:t,key:o,warnHtmlMessage:s,onError:a=>{throw r&&r(a),a},onCacheKey:a=>xd(t,o,a)}}function uh(e,t,o,n){const{modifiers:s,pluralRules:r,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,m={locale:t,modifiers:s,pluralRules:r,messages:L=>{let M=a(o,L);if(M==null&&d){const[,,S]=nl(d,L,t,i,l,c);M=a(S,L)}if(V(M)||kt(M)){let S=!1;const I=rl(e,L,t,M,L,()=>{S=!0});return S?tl:I}else return it(M)?M:tl}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),Ae(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,d,h]=os(...t),m=le(d.missingWarn)?d.missingWarn:e.missingWarn;le(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const L=!!d.part,M=qr(e,d),S=a(e,s,M);if(!V(l)||l==="")return new Intl.DateTimeFormat(M,h).format(c);let C={},I,v=null;const y="datetime format";for(let k=0;k<S.length&&(I=S[k],C=o[I]||{},v=C[l],!te(v));k++)Jr(e,l,I,m,y);if(!te(v)||!V(I))return n?Hn:l;let b=`${I}__${l}`;Rn(h)||(b=`${b}__${JSON.stringify(h)}`);let A=i.get(b);return A||(A=new Intl.DateTimeFormat(I,Ue({},v,h)),i.set(b,A)),L?A.formatToParts(c):A.format(c)}const al=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function os(...e){const[t,o,n,s]=e,r=ge();let a=ge(),i;if(V(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Rt(xt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Rt(xt.INVALID_ISO_DATE_ARGUMENT)}}else if(Pd(t)){if(isNaN(t.getTime()))throw Rt(xt.INVALID_DATE_ARGUMENT);i=t}else if(Ae(t))i=t;else throw Rt(xt.INVALID_ARGUMENT);return V(o)?r.key=o:te(o)&&Object.keys(o).forEach(l=>{al.includes(l)?a[l]=o[l]:r[l]=o[l]}),V(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,d,h]=ns(...t),m=le(d.missingWarn)?d.missingWarn:e.missingWarn;le(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const L=!!d.part,M=qr(e,d),S=a(e,s,M);if(!V(l)||l==="")return new Intl.NumberFormat(M,h).format(c);let C={},I,v=null;const y="number format";for(let k=0;k<S.length&&(I=S[k],C=o[I]||{},v=C[l],!te(v));k++)Jr(e,l,I,m,y);if(!te(v)||!V(I))return n?Hn:l;let b=`${I}__${l}`;Rn(h)||(b=`${b}__${JSON.stringify(h)}`);let A=i.get(b);return A||(A=new Intl.NumberFormat(I,Ue({},v,h)),i.set(b,A)),L?A.formatToParts(c):A.format(c)}const cl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ns(...e){const[t,o,n,s]=e,r=ge();let a=ge();if(!Ae(t))throw Rt(xt.INVALID_ARGUMENT);const i=t;return V(o)?r.key=o:te(o)&&Object.keys(o).forEach(l=>{cl.includes(l)?a[l]=o[l]:r[l]=o[l]}),V(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)}}hf();/*!
|
||
* vue-i18n v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const ph="9.14.5";function dh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Go().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Go().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Go().__INTLIFY_PROD_DEVTOOLS__=!1)}const fh=Wf.__EXTEND_POINT__,Dt=Dn(fh);Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt();const pl=xt.__EXTEND_POINT__,ot=Dn(pl),Ce={UNEXPECTED_RETURN_TYPE:pl,INVALID_ARGUMENT:ot(),MUST_BE_CALL_SETUP_TOP:ot(),NOT_INSTALLED:ot(),NOT_AVAILABLE_IN_LEGACY_MODE:ot(),REQUIRED_VALUE:ot(),INVALID_VALUE:ot(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ot(),NOT_INSTALLED_WITH_PROVIDE:ot(),UNEXPECTED_ERROR:ot(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ot(),BRIDGE_SUPPORT_VUE_2_ONLY:ot(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ot(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ot(),__EXTEND_POINT__:ot()};function Ne(e,...t){return _o(e,null,void 0)}const rs=Vt("__translateVNode"),ss=Vt("__datetimeParts"),as=Vt("__numberParts"),dl=Vt("__setPluralRules"),fl=Vt("__injectWithOption"),is=Vt("__dispose");function qo(e){if(!de(e)||kt(e))return e;for(const t in e)if(mt(e,t))if(!t.includes("."))de(e[t])&&qo(e[t]);else{const o=t.split("."),n=o.length-1;let s=e,r=!1;for(let a=0;a<n;a++){if(o[a]==="__proto__")throw new Error(`unsafe key: ${o[a]}`);if(o[a]in s||(s[o[a]]=ge()),!de(s[o[a]])){r=!0;break}s=s[o[a]]}if(r||(kt(s)?Di.includes(o[n])||delete e[t]:(s[o[n]]=e[t],delete e[t])),!kt(s)){const a=s[o[n]];de(a)&&qo(a)}}return e}function Gn(e,t){const{messages:o,__i18n:n,messageResolver:s,flatJson:r}=t,a=te(o)?o:Ee(n)?ge():{[e]:ge()};if(Ee(n)&&n.forEach(i=>{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 V(i)&&Un(JSON.parse(i),a)}),s==null&&r)for(const i in a)mt(a,i)&&qo(a[i]);return a}function hl(e){return e.type}function ml(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 gl(e){return Fe(Io,null,e,0)}const _l="__INTLIFY_META__",bl=()=>[],hh=()=>!1;let $l=0;function wl(e){return(t,o,n,s)=>e(o,n,to()||void 0,s)}const mh=()=>{const e=to();let t=null;return e&&(t=hl(e)[_l])?{[_l]:t}:null};function ls(e={},t){const{__root:o,__injectWithOption:n}=e,s=o===void 0,r=e.flatJson,a=Nn?ye:gr,i=!!e.translateExistCompatible;let l=le(e.inheritLocale)?e.inheritLocale:!0;const c=a(o&&l?o.locale.value:V(e.locale)?e.locale:wo),d=a(o&&l?o.fallbackLocale.value:V(e.fallbackLocale)||Ee(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=a(Gn(c.value,e)),m=a(te(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),L=a(te(e.numberFormats)?e.numberFormats:{[c.value]:{}});let M=o?o.missingWarn:le(e.missingWarn)||Gt(e.missingWarn)?e.missingWarn:!0,S=o?o.fallbackWarn:le(e.fallbackWarn)||Gt(e.fallbackWarn)?e.fallbackWarn:!0,C=o?o.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,I=!!e.fallbackFormat,v=ve(e.missing)?e.missing:null,y=ve(e.missing)?wl(e.missing):null,b=ve(e.postTranslation)?e.postTranslation:null,A=o?o.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const P=o?o.modifiers:te(e.modifiers)?e.modifiers:{};let z=e.pluralRules||o&&o.pluralRules,N;N=(()=>{s&&Ji(null);const g={version:ph,locale:c.value,fallbackLocale:d.value,messages:h.value,modifiers:P,pluralRules:z,missing:y===null?void 0:y,missingWarn:M,fallbackWarn:S,fallbackFormat:I,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:A,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};g.datetimeFormats=m.value,g.numberFormats=L.value,g.__datetimeFormatters=te(N)?N.__datetimeFormatters:void 0,g.__numberFormatters=te(N)?N.__numberFormatters:void 0;const x=eh(g);return s&&Ji(x),x})(),Yo(N,c.value,d.value);function J(){return[c.value,d.value,h.value,m.value,L.value]}const H=ze({get:()=>c.value,set:g=>{c.value=g,N.locale=c.value}}),oe=ze({get:()=>d.value,set:g=>{d.value=g,N.fallbackLocale=d.value,Yo(N,c.value,g)}}),se=ze(()=>h.value),G=ze(()=>m.value),U=ze(()=>L.value);function K(){return ve(b)?b:null}function q(g){b=g,N.postTranslation=g}function _e(){return v}function je(g){g!==null&&(y=wl(g)),v=g,N.missing=y}const Le=(g,x,B,X,ue,ce)=>{J();let fe;try{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=o?Qf():void 0),fe=g(N)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=void 0)}if(B!=="translate exists"&&Ae(fe)&&fe===Hn||B==="translate exists"&&!fe){const[ie,st]=x();return o&&C?X(o):ue(ie)}else{if(ce(fe))return fe;throw Ne(Ce.UNEXPECTED_RETURN_TYPE)}};function Me(...g){return Le(x=>Reflect.apply(ol,null,[x,...g]),()=>ts(...g),"translate",x=>Reflect.apply(x.t,x,[...g]),x=>x,x=>V(x))}function Ve(...g){const[x,B,X]=g;if(X&&!de(X))throw Ne(Ce.INVALID_ARGUMENT);return Me(x,B,Ue({resolvedMessage:!0},X||{}))}function Xe(...g){return Le(x=>Reflect.apply(sl,null,[x,...g]),()=>os(...g),"datetime format",x=>Reflect.apply(x.d,x,[...g]),()=>Gi,x=>V(x))}function lt(...g){return Le(x=>Reflect.apply(ll,null,[x,...g]),()=>ns(...g),"number format",x=>Reflect.apply(x.n,x,[...g]),()=>Gi,x=>V(x))}function We(g){return g.map(x=>V(x)||Ae(x)||le(x)?gl(String(x)):x)}const Ze={normalize:We,interpolate:g=>g,type:"vnode"};function ae(...g){return Le(x=>{let B;const X=x;try{X.processor=Ze,B=Reflect.apply(ol,null,[X,...g])}finally{X.processor=null}return B},()=>ts(...g),"translate",x=>x[rs](...g),x=>[gl(x)],x=>Ee(x))}function re(...g){return Le(x=>Reflect.apply(ll,null,[x,...g]),()=>ns(...g),"number format",x=>x[as](...g),bl,x=>V(x)||Ee(x))}function Oe(...g){return Le(x=>Reflect.apply(sl,null,[x,...g]),()=>os(...g),"datetime format",x=>x[ss](...g),bl,x=>V(x)||Ee(x))}function f(g){z=g,N.pluralRules=z}function $(g,x){return Le(()=>{if(!g)return!1;const B=V(x)?x:c.value,X=D(B),ue=N.messageResolver(X,g);return i?ue!=null:kt(ue)||it(ue)||V(ue)},()=>[g],"translate exists",B=>Reflect.apply(B.te,B,[g,x]),hh,B=>le(B))}function _(g){let x=null;const B=Hi(N,d.value,c.value);for(let X=0;X<B.length;X++){const ue=h.value[B[X]]||{},ce=N.messageResolver(ue,g);if(ce!=null){x=ce;break}}return x}function O(g){const x=_(g);return x??(o?o.tm(g)||{}:{})}function D(g){return h.value[g]||{}}function R(g,x){if(r){const B={[g]:x};for(const X in B)mt(B,X)&&qo(B[X]);x=B[g]}h.value[g]=x,N.messages=h.value}function W(g,x){h.value[g]=h.value[g]||{};const B={[g]:x};if(r)for(const X in B)mt(B,X)&&qo(B[X]);x=B[g],Un(x,h.value[g]),N.messages=h.value}function j(g){return m.value[g]||{}}function u(g,x){m.value[g]=x,N.datetimeFormats=m.value,il(N,g,x)}function p(g,x){m.value[g]=Ue(m.value[g]||{},x),N.datetimeFormats=m.value,il(N,g,x)}function T(g){return L.value[g]||{}}function F(g,x){L.value[g]=x,N.numberFormats=L.value,ul(N,g,x)}function w(g,x){L.value[g]=Ue(L.value[g]||{},x),N.numberFormats=L.value,ul(N,g,x)}$l++,o&&Nn&&(St(o.locale,g=>{l&&(c.value=g,N.locale=g,Yo(N,c.value,d.value))}),St(o.fallbackLocale,g=>{l&&(d.value=g,N.fallbackLocale=g,Yo(N,c.value,d.value))}));const E={id:$l,locale:H,fallbackLocale:oe,get inheritLocale(){return l},set inheritLocale(g){l=g,g&&o&&(c.value=o.locale.value,d.value=o.fallbackLocale.value,Yo(N,c.value,d.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:se,get modifiers(){return P},get pluralRules(){return z||{}},get isGlobal(){return s},get missingWarn(){return M},set missingWarn(g){M=g,N.missingWarn=M},get fallbackWarn(){return S},set fallbackWarn(g){S=g,N.fallbackWarn=S},get fallbackRoot(){return C},set fallbackRoot(g){C=g},get fallbackFormat(){return I},set fallbackFormat(g){I=g,N.fallbackFormat=I},get warnHtmlMessage(){return A},set warnHtmlMessage(g){A=g,N.warnHtmlMessage=g},get escapeParameter(){return k},set escapeParameter(g){k=g,N.escapeParameter=g},t:Me,getLocaleMessage:D,setLocaleMessage:R,mergeLocaleMessage:W,getPostTranslationHandler:K,setPostTranslationHandler:q,getMissingHandler:_e,setMissingHandler:je,[dl]:f};return E.datetimeFormats=G,E.numberFormats=U,E.rt=Ve,E.te=$,E.tm=O,E.d=Xe,E.n=lt,E.getDateTimeFormat=j,E.setDateTimeFormat=u,E.mergeDateTimeFormat=p,E.getNumberFormat=T,E.setNumberFormat=F,E.mergeNumberFormat=w,E[fl]=n,E[rs]=ae,E[ss]=Oe,E[as]=re,E}function gh(e){const t=V(e.locale)?e.locale:wo,o=V(e.fallbackLocale)||Ee(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ve(e.missing)?e.missing:void 0,s=le(e.silentTranslationWarn)||Gt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=le(e.silentFallbackWarn)||Gt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=le(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=te(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=ve(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,L=le(e.sync)?e.sync:!0;let M=e.messages;if(te(e.sharedMessages)){const k=e.sharedMessages;M=Object.keys(k).reduce((z,N)=>{const Y=z[N]||(z[N]={});return Ue(Y,k[N]),z},M||{})}const{__i18n:S,__root:C,__injectWithOption:I}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson,A=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:M,flatJson:b,datetimeFormats:v,numberFormats:y,missing:n,missingWarn:s,fallbackWarn:r,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:L,translateExistCompatible:A,__i18n:S,__root:C,__injectWithOption:I}}function cs(e={},t){{const o=ls(gh(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 le(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=le(r)?!r:r},get silentFallbackWarn(){return le(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=le(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(!V(a))throw Ne(Ce.INVALID_ARGUMENT);const m=a;return V(i)?c.locale=i:Ee(i)?d=i:te(i)&&(h=i),Ee(l)?d=l:te(l)&&(h=l),Reflect.apply(o.t,o,[m,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(!V(a))throw Ne(Ce.INVALID_ARGUMENT);const m=a;return V(i)?c.locale=i:Ae(i)?c.plural=i:Ee(i)?d=i:te(i)&&(h=i),V(l)?c.locale=l:Ee(l)?d=l:te(l)&&(h=l),Reflect.apply(o.t,o,[m,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 us={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _h({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,s)=>[...n,...s.type===De?s.children:[s]],[]):t.reduce((o,n)=>{const s=e[n];return s&&(o[n]=s()),o},ge())}function yl(e){return De}const vl=En({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ae(e)||!isNaN(e)}},us),setup(e,t){const{slots:o,attrs:n}=t,s=e.i18n||Xo({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(h=>h!=="_"),a=ge();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=V(e.plural)?+e.plural:e.plural);const i=_h(t,r),l=s[rs](e.keypath,i,a),c=Ue(ge(),n),d=V(e.tag)||de(e.tag)?e.tag:yl();return Ya(d,c,l)}}});function bh(e){return Ee(e)&&!V(e[0])}function Sl(e,t,o,n){const{slots:s,attrs:r}=t;return()=>{const a={part:!0};let i=ge();e.locale&&(a.locale=e.locale),V(e.format)?a.key=e.format:de(e.format)&&(V(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((m,L)=>o.includes(L)?Ue(ge(),m,{[L]:e.format[L]}):m,ge()));const l=n(e.value,a,i);let c=[a.key];Ee(l)?c=l.map((m,L)=>{const M=s[m.type],S=M?M({[m.type]:m.value,index:L,parts:l}):[m.value];return bh(S)&&(S[0].key=`${m.type}-${L}`),S}):V(l)&&(c=[l]);const d=Ue(ge(),r),h=V(e.tag)||de(e.tag)?e.tag:yl();return Ya(h,d,c)}}const El=En({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},us),setup(e,t){const o=e.i18n||Xo({useScope:e.scope,__useComponent:!0});return Sl(e,t,cl,(...n)=>o[as](...n))}}),Ll=En({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},us),setup(e,t){const o=e.i18n||Xo({useScope:e.scope,__useComponent:!0});return Sl(e,t,al,(...n)=>o[ss](...n))}});function $h(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 wh(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw Ne(Ce.UNEXPECTED_ERROR);const d=$h(e,i.$),h=Tl(c);return[Reflect.apply(d.t,d,[...kl(h)]),d]};return{created:(a,i)=>{const[l,c]=t(i);Nn&&e.global===c&&(a.__i18nWatcher=St(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=Tl(i);a.textContent=Reflect.apply(l.t,l,[...kl(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Tl(e){if(V(e))return{path:e};if(te(e)){if(!("path"in e))throw Ne(Ce.REQUIRED_VALUE,"path");return e}else throw Ne(Ce.INVALID_VALUE)}function kl(e){const{path:t,locale:o,args:n,choice:s,plural:r}=e,a={},i=n||{};return V(o)&&(a.locale=o),Ae(s)&&(a.plural=s),Ae(r)&&(a.plural=r),[t,i,a]}function yh(e,t,...o){const n=te(o[0])?o[0]:{},s=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":vl.name,"I18nT"].forEach(a=>e.component(a,vl)),[El.name,"I18nN"].forEach(a=>e.component(a,El)),[Ll.name,"I18nD"].forEach(a=>e.component(a,Ll))),e.directive("t",wh(t))}function vh(e,t,o){return{beforeCreate(){const n=to();if(!n)throw Ne(Ce.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=xl(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=xl(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&&ml(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=to();if(!n)throw Ne(Ce.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 xl(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 Sh=Vt("global-vue-i18n");function Eh(e={},t){const o=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[a,i]=Lh(e,o),l=Vt("");function c(m){return r.get(m)||null}function d(m,L){r.set(m,L)}function h(m){r.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return s},async install(L,...M){if(L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,m),te(M[0])){const I=M[0];m.__composerExtend=I.__composerExtend,m.__vueI18nExtend=I.__vueI18nExtend}let S=null;!o&&n&&(S=Ch(L,m.global)),__VUE_I18N_FULL_INSTALL__&&yh(L,m,...M),__VUE_I18N_LEGACY_API__&&o&&L.mixin(vh(i,i.__composer,m));const C=L.unmount;L.unmount=()=>{S&&S(),m.dispose(),C()}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:h};return m}}function Xo(e={}){const t=to();if(t==null)throw Ne(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ne(Ce.NOT_INSTALLED);const o=Th(t),n=xh(o),s=hl(t),r=kh(e,s);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw Ne(Ce.NOT_AVAILABLE_IN_LEGACY_MODE);return Oh(t,r,n,e)}if(r==="global")return ml(n,e,s),n;if(r==="parent"){let l=Mh(o,t,e.__useComponent);return l==null&&(l=n),l}const a=o;let i=a.__getInstance(t);if(i==null){const l=Ue({},e);"__i18n"in s&&(l.__i18n=s.__i18n),n&&(l.__root=n),i=ls(l),a.__composerExtend&&(i[is]=a.__composerExtend(i)),Ah(a,t,i),a.__setInstance(t,i)}return i}function Lh(e,t,o){const n=Ms();{const s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>cs(e)):n.run(()=>ls(e));if(s==null)throw Ne(Ce.UNEXPECTED_ERROR);return[n,s]}}function Th(e){{const t=ht(e.isCE?Sh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ne(e.isCE?Ce.NOT_INSTALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}}function kh(e,t){return Rn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function xh(e){return e.mode==="composition"?e.global:e.global.__composer}function Mh(e,t,o=!1){let n=null;const s=t.root;let r=Ph(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 Ph(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ah(e,t,o){fo(()=>{},t),Er(()=>{const n=o;e.__deleteInstance(t);const s=n[is];s&&(s(),delete n[is])},t)}function Oh(e,t,o,n={}){const s=t==="local",r=gr(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ne(Ce.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),i=ye(!s||a?o.locale.value:V(n.locale)?n.locale:wo),l=ye(!s||a?o.fallbackLocale.value:V(n.fallbackLocale)||Ee(n.fallbackLocale)||te(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ye(Gn(i.value,n)),d=ye(te(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),h=ye(te(n.numberFormats)?n.numberFormats:{[i.value]:{}}),m=s?o.missingWarn:le(n.missingWarn)||Gt(n.missingWarn)?n.missingWarn:!0,L=s?o.fallbackWarn:le(n.fallbackWarn)||Gt(n.fallbackWarn)?n.fallbackWarn:!0,M=s?o.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,S=!!n.fallbackFormat,C=ve(n.missing)?n.missing:null,I=ve(n.postTranslation)?n.postTranslation:null,v=s?o.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,y=!!n.escapeParameter,b=s?o.modifiers:te(n.modifiers)?n.modifiers:{},A=n.pluralRules||s&&o.pluralRules;function k(){return[i.value,l.value,c.value,d.value,h.value]}const P=ze({get:()=>r.value?r.value.locale.value:i.value,set:_=>{r.value&&(r.value.locale.value=_),i.value=_}}),z=ze({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:_=>{r.value&&(r.value.fallbackLocale.value=_),l.value=_}}),N=ze(()=>r.value?r.value.messages.value:c.value),Y=ze(()=>d.value),J=ze(()=>h.value);function H(){return r.value?r.value.getPostTranslationHandler():I}function oe(_){r.value&&r.value.setPostTranslationHandler(_)}function se(){return r.value?r.value.getMissingHandler():C}function G(_){r.value&&r.value.setMissingHandler(_)}function U(_){return k(),_()}function K(..._){return r.value?U(()=>Reflect.apply(r.value.t,null,[..._])):U(()=>"")}function q(..._){return r.value?Reflect.apply(r.value.rt,null,[..._]):""}function _e(..._){return r.value?U(()=>Reflect.apply(r.value.d,null,[..._])):U(()=>"")}function je(..._){return r.value?U(()=>Reflect.apply(r.value.n,null,[..._])):U(()=>"")}function Le(_){return r.value?r.value.tm(_):{}}function Me(_,O){return r.value?r.value.te(_,O):!1}function Ve(_){return r.value?r.value.getLocaleMessage(_):{}}function Xe(_,O){r.value&&(r.value.setLocaleMessage(_,O),c.value[_]=O)}function lt(_,O){r.value&&r.value.mergeLocaleMessage(_,O)}function We(_){return r.value?r.value.getDateTimeFormat(_):{}}function ke(_,O){r.value&&(r.value.setDateTimeFormat(_,O),d.value[_]=O)}function Ze(_,O){r.value&&r.value.mergeDateTimeFormat(_,O)}function ae(_){return r.value?r.value.getNumberFormat(_):{}}function re(_,O){r.value&&(r.value.setNumberFormat(_,O),h.value[_]=O)}function Oe(_,O){r.value&&r.value.mergeNumberFormat(_,O)}const f={get id(){return r.value?r.value.id:-1},locale:P,fallbackLocale:z,messages:N,datetimeFormats:Y,numberFormats:J,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:b},get pluralRules(){return r.value?r.value.pluralRules:A},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:m},set missingWarn(_){r.value&&(r.value.missingWarn=_)},get fallbackWarn(){return r.value?r.value.fallbackWarn:L},set fallbackWarn(_){r.value&&(r.value.missingWarn=_)},get fallbackRoot(){return r.value?r.value.fallbackRoot:M},set fallbackRoot(_){r.value&&(r.value.fallbackRoot=_)},get fallbackFormat(){return r.value?r.value.fallbackFormat:S},set fallbackFormat(_){r.value&&(r.value.fallbackFormat=_)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:v},set warnHtmlMessage(_){r.value&&(r.value.warnHtmlMessage=_)},get escapeParameter(){return r.value?r.value.escapeParameter:y},set escapeParameter(_){r.value&&(r.value.escapeParameter=_)},t:K,getPostTranslationHandler:H,setPostTranslationHandler:oe,getMissingHandler:se,setMissingHandler:G,rt:q,d:_e,n:je,tm:Le,te:Me,getLocaleMessage:Ve,setLocaleMessage:Xe,mergeLocaleMessage:lt,getDateTimeFormat:We,setDateTimeFormat:ke,mergeDateTimeFormat:Ze,getNumberFormat:ae,setNumberFormat:re,mergeNumberFormat:Oe};function $(_){_.locale.value=i.value,_.fallbackLocale.value=l.value,Object.keys(c.value).forEach(O=>{_.mergeLocaleMessage(O,c.value[O])}),Object.keys(d.value).forEach(O=>{_.mergeDateTimeFormat(O,d.value[O])}),Object.keys(h.value).forEach(O=>{_.mergeNumberFormat(O,h.value[O])}),_.escapeParameter=y,_.fallbackFormat=S,_.fallbackRoot=M,_.fallbackWarn=L,_.missingWarn=m,_.warnHtmlMessage=v}return ha(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ne(Ce.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 Fh=["locale","fallbackLocale","availableLocales"],Ml=["t","rt","d","n","tm","te"];function Ch(e,t){const o=Object.create(null);return Fh.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Ne(Ce.UNEXPECTED_ERROR);const a=Ie(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,Ml.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Ne(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ml.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(dh(),Yf(ah),qf(xf),Xf(Hi),__INTLIFY_PROD_DEVTOOLS__){const e=Go();e.__INTLIFY__=!0,Rf(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ih=Object.assign({"./locales/ar/buttons.json":Tp,"./locales/ar/grid.json":kp,"./locales/ar/mapui.json":xp,"./locales/ar/poster.json":Mp,"./locales/ar/share.json":Pp,"./locales/de/buttons.json":Ap,"./locales/de/grid.json":Op,"./locales/de/mapui.json":Fp,"./locales/de/poster.json":Cp,"./locales/de/share.json":Ip,"./locales/en/buttons.json":Np,"./locales/en/grid.json":Rp,"./locales/en/mapui.json":Dp,"./locales/en/poster.json":zp,"./locales/en/share.json":Up,"./locales/es/buttons.json":jp,"./locales/es/grid.json":Wp,"./locales/es/mapui.json":Hp,"./locales/es/poster.json":Vp,"./locales/es/share.json":Gp,"./locales/fr/buttons.json":Bp,"./locales/fr/grid.json":Kp,"./locales/fr/mapui.json":Yp,"./locales/fr/poster.json":qp,"./locales/fr/share.json":Xp,"./locales/hi/buttons.json":Zp,"./locales/hi/grid.json":Jp,"./locales/hi/mapui.json":Qp,"./locales/hi/poster.json":ed,"./locales/hi/share.json":td,"./locales/it/buttons.json":od,"./locales/it/grid.json":nd,"./locales/it/mapui.json":rd,"./locales/it/poster.json":sd,"./locales/it/share.json":ad,"./locales/pt/buttons.json":id,"./locales/pt/grid.json":ld,"./locales/pt/mapui.json":cd,"./locales/pt/poster.json":ud,"./locales/pt/share.json":pd,"./locales/ro/buttons.json":dd,"./locales/ro/grid.json":fd,"./locales/ro/mapui.json":hd,"./locales/ro/poster.json":md,"./locales/ro/share.json":gd,"./locales/ru/buttons.json":_d,"./locales/ru/grid.json":bd,"./locales/ru/mapui.json":$d,"./locales/ru/poster.json":wd,"./locales/ru/share.json":yd,"./locales/zh/buttons.json":vd,"./locales/zh/grid.json":Sd,"./locales/zh/mapui.json":Ed,"./locales/zh/poster.json":Ld,"./locales/zh/share.json":Td}),ro={};for(const[e,t]of Object.entries(Ih)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,s]=o;ro[n]??(ro[n]={}),ro[n][s]=t}ro.en;const ps=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"],Nh=new Set(["ar"]);function Rh(){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=Rh();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 Dh(){const e=Pl();try{typeof window<"u"&&window.MAP_OWNS_PAGE===!0&&Nh.has(e)&&(document!=null&&document.documentElement)&&(document.documentElement.dir="rtl")}catch{}const t=Ms(!0),o=t.run(()=>Eh({legacy:!1,globalInjection:!0,locale:e,fallbackLocale:"en",messages:ro,missingWarn:!1,fallbackWarn:!1}));t.run(()=>St(o.global.locale,s=>zh(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 Al="__DOXA_PAGE_LOCALE";function zh(e){const t=String(e||"").split("-")[0].toLowerCase();if(ps.includes(t))try{typeof window<"u"&&(window[Al]=t)}catch{}}function Uh(){try{return typeof window<"u"&&window[Al]||""}catch{return""}}function Bn(e,t){const o=s=>{let r=ro[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||Uh()||Pl();return o(n)??o("en")}const yo={mapbox:{global:"mapboxgl",js:Vo.mapboxGlJs.url,css:Vo.mapboxGlCss.url},maplibre:{global:"maplibregl",js:Vo.maplibreGlJs.url,css:Vo.maplibreGlCss.url}},jh={"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(jh)){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 Wh=yo.mapbox.css,Hh="https://tiles.openfreemap.org/styles/liberty",Vh="https://tiles.openfreemap.org/styles/fiord";function ds(e){var o;const t=((o=yo[e])==null?void 0:o.global)||yo.mapbox.global;return typeof window<"u"?window[t]:void 0}async function Cl(e){const t=yo[e]||yo.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,Vr(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,Vr(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 Gh(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,Vr(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 Bh(e,t){return typeof e=="string"&&/^https?:\/\//.test(e)?e:t==="night"||t==="dusk"?Vh:Hh}const Kh=85.0511,fs=-2,Yh=0,qh=-60;function Il(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Xh(e,t,o,n){if(!e||e<=0||!t||t<=0)return Yh;const s=Math.log2(e/512),r=Il(n)-Il(Kh),a=Math.log2(t/(512*r)),i=Math.max(s,a);return Math.max(fs,Math.min(i,(o??18)-1))}function Zh({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:m=0,bearing:L=0,renderWorldCopies:M=!0,showEdgeBorders:S=!0,southCutoff:C=qh,maxBounds:I=void 0}){const v=gr(null),y=ye(!1);let b=null,A=null,k=null,P=null;try{P=ht("profileConfig",null)}catch{}const z=!s&&!mi(P);s=s||yp(P,{token:t});let N=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=P&&typeof P=="object"&&"value"in P?P.value:P;if(G&&(G.locale||G.lang))return String(G.locale||G.lang);try{const U=new URLSearchParams(location.search);return U.get("lang")||U.get("locale")||document.documentElement.lang||"en"}catch{return"en"}};async function H(){var Ze;if(z&&!N&&!t&&typeof window<"u"&&window.__doxaMapTokenPending){if(await window.__doxaMapTokenPending,!e.value)return;typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN||(s="maplibre",N=!0)}const se=di(o,s),G=se.style||o;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}const U=()=>!e.value;if(await Cl(s),U())return;const K=ds(s);if(!K){console.error(`[useMapInstance] ${N?"maplibregl":"mapboxgl"} is not available. Add the ${N?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(vp(K),!N){if(!t&&typeof window<"u"&&window.__doxaMapTokenPending&&(await window.__doxaMapTokenPending,U()))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 Gh(e.value,N?yo.maplibre.css:Wh),U()||(await new Promise(ae=>requestAnimationFrame(ae)),U()))return;const q=e.value,_e=q.clientWidth,je=q.clientHeight;if(_e===0||je===0){console.error(`[useMapInstance] Container has ZERO dimensions (${_e}×${je}). 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 Le=t;N||(K.accessToken=Le);const Me=()=>typeof window<"u"&&window.innerWidth>=1024,Ve=(ae,re)=>{if(d)return typeof c=="number"?c:fs;if(!Me())return fs;const Oe=Xh(ae,re,h,C);return typeof c=="number"?Math.max(c,Oe):Oe},Xe=Ve(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(N){v.value=new K.Map({container:e.value,style:Bh(G,lt),locale:Ol(J(),"maplibre"),center:r,zoom:a,minZoom:Xe,maxZoom:h,pitch:m,bearing:L,dragRotate:!1,renderWorldCopies:M,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...I?{maxBounds:I}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Fl(v.value);try{e.value.__doxaMap=v.value}catch{}}else{const ae=typeof n=="function"?n():n;v.value=new K.Map({accessToken:Le,container:e.value,style:G,locale:Ol(J(),"mapbox"),...ae?{config:ae}:{},center:r,zoom:a,minZoom:Xe,maxZoom:h,pitch:m,bearing:L,dragRotate:!1,touchPitch:!1,renderWorldCopies:M,...i?{bounds:i,...l?{fitBoundsOptions:l}:{}}:{},...I?{maxBounds:I}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),Fl(v.value);try{e.value.__doxaMap=v.value}catch{}}try{let ae=!1;v.value.on("error",re=>{var $,_;const Oe=(($=re==null?void 0:re.error)==null?void 0:$.status)??(re==null?void 0:re.status),f=String(((_=re==null?void 0:re.error)==null?void 0:_.url)||(re==null?void 0:re.sourceId)||"");Oe!==401&&Oe!==403||ae||(ae=!0,console.error(`[doxa-maps] Mapbox returned ${Oe} 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{v.value.touchZoomRotate.disableRotation()}catch{}k=gp(((Ze=e.value)==null?void 0:Ze.parentElement)||null,{enabled:S});let We=Xe,ke=null;b=()=>{const ae=v.value;if(!ae)return;const re=Ve(q.clientWidth,q.clientHeight);re!==We&&(We=re,ae.setMinZoom(re)),ae.getZoom()<re?(ke&&clearTimeout(ke),ke=setTimeout(()=>{ke=null;const Oe=v.value;if(!Oe)return;const f=Ve(q.clientWidth,q.clientHeight);if(Oe.getZoom()<f)try{Oe.jumpTo({zoom:f})}catch{Oe.setZoom(f)}},150)):ke&&(clearTimeout(ke),ke=null)},A=()=>{ke&&(clearTimeout(ke),ke=null)},v.value.on("resize",b),typeof window<"u"&&(window.addEventListener("resize",b),window.addEventListener("orientationchange",b)),v.value.on("style.load",()=>{if(v.value&&In(v.value,J()),se.paint&&v.value){const ae=bp(v.value,se.paint);console.info("[useMapInstance] style paint applied ("+s+"):",ae.join(", ")||"NONE MATCHED")}requestAnimationFrame(()=>{var ae;(ae=v.value)==null||ae.resize(),v.value&&v.value.setMinZoom(Ve(q.clientWidth,q.clientHeight)),y.value=!0})})}function oe(){if(v.value){if(b&&(v.value.off("resize",b),typeof window<"u"&&(window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b)),b=null),A){try{A()}catch{}A=null}k&&(k(),k=null),v.value.remove(),v.value=null,y.value=!1}}if(Y&&typeof Y=="object"&&"value"in Y)try{St(Y,()=>{v.value&&y.value&&In(v.value,J())})}catch{}return{map:v,isMapReady:y,initializeMap:H,destroy:oe}}function Kn(e,t){const o=to(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Qh(e));fo(()=>{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=Jh,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 Jh=`@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 Qh(e){let t=0;for(let o=0;o<e.length;o++)t=(t<<5)-t+e.charCodeAt(o),t|=0;return"s"+Math.abs(t).toString(36)}function em(e,{autoprint:t=!1}={}){const o=document.createElement("iframe");o.setAttribute("aria-hidden","true"),o.style.cssText="position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0",document.body.appendChild(o);const n=o.contentDocument;if(!n)return o.remove(),null;n.open(),n.write(e),t&&n.write('<script>window.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 tm=Xn&&Xn.tagName.toUpperCase()==="SCRIPT"&&Xn.src||new URL("prayer-walk-planner.js",document.baseURI).href,hs=e=>String(e||"").trim().replace(/\/+$/,"");function om(){try{const t=String(tm||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function nm(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(om()||"")}function rm({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=nm(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 sm=["title","aria-label","disabled"],Nl={__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(`
|
||
.mcb{
|
||
width:var(--map-btn-size,40px);height:var(--map-btn-size,40px);
|
||
background:#fff;
|
||
border:none;
|
||
border-radius:50%;
|
||
cursor:pointer;
|
||
user-select:none;-webkit-user-select:none;
|
||
display:flex;align-items:center;justify-content:center;
|
||
box-shadow:0 1px 3px rgba(0,0,0,0.18);
|
||
transition:background-color 0.2s,box-shadow 0.2s,transform 0.1s;
|
||
color:#333;
|
||
flex-shrink:0;
|
||
outline:none;
|
||
-webkit-tap-highlight-color:transparent;
|
||
}
|
||
.mcb:hover:not(:disabled){background:#f0f0f0;box-shadow:0 2px 8px rgba(0,0,0,0.18),0 4px 16px rgba(0,0,0,0.12);}
|
||
.mcb:active:not(:disabled){transform:scale(0.93);}
|
||
.mcb:disabled{opacity:0.4;cursor:not-allowed;}
|
||
.mcb:focus-visible{outline:2px solid #1a73e8;outline-offset:2px;}
|
||
.mcb.dark:focus-visible{outline:2px solid #92b195;outline-offset:2px;}
|
||
.mcb.active{background:#e8f0fe;color:#1a73e8;}
|
||
.mcb.dark{background:#3b463d;color:#F3F3F1;border:1px solid rgba(255,255,255,0.14);box-shadow:0 1px 4px rgba(0,0,0,0.4);}
|
||
.mcb.dark:hover:not(:disabled){background:#4e594f;box-shadow:0 2px 8px rgba(0,0,0,0.5);}
|
||
.mcb.dark.active{background:#4e594f;color:#92b195;}
|
||
@media(max-width:767px){.mcb{width:36px;height:36px;}}
|
||
.mcb--square{ border-radius:4px; }
|
||
`,"map-control-button"),(t,o)=>(be(),xe("button",{class:et(["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,sm))}},am=["aria-label"],im={class:"mcm-header"},lm={class:"mcm-title"},cm=["aria-label"],um={class:"mcm-body"},pm=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",ms="doxa-map-menu-open",dm={__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=(M,S)=>Bn(M)||S;Kn(`
|
||
.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;
|
||
overflow:hidden;opacity:0;transform:translateY(-4px) scale(0.98);animation:mcm-in 0.18s ease-out forwards;}
|
||
@keyframes mcm-in{to{opacity:1;transform:translateY(0) scale(1);}}
|
||
.mcm.light{background:#ffffff;border-color:#d8dee4;box-shadow:0 6px 24px rgba(0,0,0,0.16);color:#1f2328;}
|
||
.mcm-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;min-height:32px;flex:0 0 auto;border-bottom:1px solid #21262d;}
|
||
.mcm.light .mcm-header{border-bottom-color:#d8dee4;}
|
||
.mcm-title{font:600 10px ui-monospace,monospace;color:#73A17F;text-transform:uppercase;letter-spacing:0.07em;}
|
||
.mcm.light .mcm-title{color:#3b463d;}
|
||
.mcm-close{width:22px;height:20px;border:1px solid #30363d;background:rgba(110,118,129,0.12);border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#8b949e;padding:0;transition:color 0.1s,background 0.1s,border-color 0.1s;}
|
||
.mcm-close:hover{color:#c9d1d9;background:rgba(59,70,61,0.18);border-color:#73A17F;}
|
||
.mcm.light .mcm-close{background:rgba(208,215,222,0.4);border-color:#d0d7de;color:#57606a;}
|
||
.mcm.light .mcm-close:hover{color:#3b463d;background:rgba(59,70,61,0.12);border-color:#3b463d;}
|
||
.mcm-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;}
|
||
`,"map-control-menu");const n=e,s=t,r=ht("mapToolbar",null),a=ye(null),i=ye(null),l=ye({});function c(){var Y;const M=(Y=r==null?void 0:r.el)==null?void 0:Y.value,S=a.value;if(!M||!S){l.value={};return}const C=S.getBoundingClientRect(),I=M.getBoundingClientRect(),v=(I.left+I.right)/2>(C.left+C.right)/2,y=8,b=12,A=v?C.right-I.left+y:I.right-C.left+y,k=Math.max(200,Math.min(n.width,C.width-A-b)),P=Math.max(0,I.top-C.top);let N=S.getAttribute&&S.getAttribute("data-map-area")==="share-fallback"?Math.max(120,(window.innerHeight||900)-I.top-b):Math.max(120,C.height-P-b);n.matchToolbar&&(N=Math.max(120,Math.min(N,I.height))),n.maxHeight&&(N=Math.min(N,n.maxHeight)),l.value={top:`${Math.round(P)}px`,[v?"right":"left"]:`${Math.round(A)}px`,width:`${Math.round(k)}px`,maxHeight:`${Math.round(N)}px`,...n.height?{height:`${Math.round(Math.min(n.height,N))}px`}:{}}}function d(M){n.open&&M.detail!==i.value&&s("close")}St(()=>n.open,async M=>{var S;if(M){await $n(),c();try{(S=a.value)==null||S.dispatchEvent(new CustomEvent(ms,{detail:i.value}))}catch{}}});function h(){n.open&&c()}function m(M){M.key==="Escape"&&n.open&&s("close")}function L(M){var C;if(!n.open)return;const S=M.composedPath?M.composedPath():[M.target];i.value&&S.includes(i.value)||(C=r==null?void 0:r.el)!=null&&C.value&&S.includes(r.el.value)||S.some(I=>{var v,y,b,A;return((y=(v=I==null?void 0:I.classList)==null?void 0:v.contains)==null?void 0:y.call(v,"mapboxgl-canvas"))||((A=(b=I==null?void 0:I.classList)==null?void 0:b.contains)==null?void 0:A.call(b,"maplibregl-canvas"))})&&s("close")}return fo(()=>{var M,S,C;a.value=((S=(M=r==null?void 0:r.el)==null?void 0:M.value)==null?void 0:S.closest(pm))||null,(C=a.value)==null||C.addEventListener(ms,d),window.addEventListener("resize",h),document.addEventListener("click",L,!0),document.addEventListener("keydown",m)}),kn(()=>{var M;(M=a.value)==null||M.removeEventListener(ms,d),window.removeEventListener("resize",h),document.removeEventListener("click",L,!0),document.removeEventListener("keydown",m)}),(M,S)=>(be(),Ro(Ic,{to:a.value,disabled:!a.value},[e.open?(be(),xe("div",{key:0,ref_key:"el",ref:i,class:et(["mcm",{light:!e.isDark}]),style:an(l.value),role:"dialog","aria-label":e.title},[Z("div",im,[Z("span",lm,Te(e.title),1),Z("button",{class:"mcm-close",type:"button","aria-label":o("buttons.close","Close"),onClick:S[0]||(S[0]=C=>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,cm)]),Z("div",um,[ma(M.$slots,"default")])],14,am)):go("",!0)],8,["to","disabled"]))}},fm={class:"share-steps"},hm={class:"share-tabs"},mm={key:0,class:"share-body"},gm={class:"share-url-box"},_m={class:"share-url-text"},bm={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},$m={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"},wm={key:1,class:"share-body"},ym={class:"share-embed-desc"},vm={class:"share-size-pills"},Sm=["onClick"],Em={class:"share-code-box"},Lm={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Tm={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"},km={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){const t=(J,H)=>Bn(J)||H;Kn(`
|
||
.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);
|
||
-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
|
||
opacity:0.6;animation:share-ring-turn 5s linear infinite;}
|
||
.share-wrap:hover::before{opacity:0.95;}
|
||
@keyframes share-ring-turn{to{transform:rotate(360deg);}}
|
||
@media(prefers-reduced-motion:reduce){.share-wrap::before{animation:none;}}
|
||
.share-steps{margin:10px 14px 6px;padding:0 0 0 15px;list-style:'- ';font:14px/1.55 system-ui,sans-serif;color:#c9d1d9;}
|
||
.share-steps li{margin:0 0 3px;padding-left:3px;}
|
||
.share-steps li:last-child{font-weight:600;color:#92b195;}
|
||
.share-pop.light .share-steps{color:#3b463d;}
|
||
.share-pop.light .share-steps li:last-child{color:#3b463d;}
|
||
.share-pop{
|
||
font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
|
||
font-size:13px;
|
||
color:#e6edf3;
|
||
}
|
||
.share-pop.light{color:#1f2328;}
|
||
.share-tabs{
|
||
display:flex;
|
||
gap:0;
|
||
padding:0 16px;
|
||
margin-top:8px;
|
||
border-bottom:1px solid rgba(255,255,255,0.08);
|
||
}
|
||
.share-pop.light .share-tabs{border-bottom:1px solid rgba(0,0,0,0.08);}
|
||
.share-tab{
|
||
padding:6px 0;
|
||
margin-right:20px;
|
||
font-size:12.5px;
|
||
font-weight:600;
|
||
background:none;border:none;
|
||
color:inherit;opacity:0.5;
|
||
cursor:pointer;
|
||
border-bottom:2px solid transparent;
|
||
transition:opacity 0.15s,border-color 0.2s;
|
||
font-family:inherit;
|
||
white-space:nowrap;
|
||
}
|
||
.share-tab:hover{opacity:0.75;}
|
||
.share-tab.active{
|
||
opacity:1;
|
||
border-bottom-color:#4a90d9;
|
||
}
|
||
.share-pop.light .share-tab.active{
|
||
border-bottom-color:#1a73e8;
|
||
}
|
||
.share-body{
|
||
padding:12px 16px 14px 16px;
|
||
}
|
||
.share-url-box{
|
||
display:flex;
|
||
align-items:center;
|
||
gap:0;
|
||
background:rgba(0,0,0,0.22);
|
||
border:1px solid rgba(255,255,255,0.08);
|
||
border-radius:10px;
|
||
overflow:hidden;
|
||
}
|
||
.share-pop.light .share-url-box{
|
||
background:rgba(0,0,0,0.035);
|
||
border:1px solid rgba(0,0,0,0.10);
|
||
}
|
||
.share-url-text{
|
||
flex:1;
|
||
padding:11px 14px;
|
||
font-size:13px;
|
||
color:#b0b8c8;
|
||
overflow:hidden;
|
||
text-overflow:ellipsis;
|
||
white-space:nowrap;
|
||
-webkit-user-select:all;
|
||
user-select:all;
|
||
}
|
||
.share-pop.light .share-url-text{color:#555;}
|
||
.share-primary-btn{
|
||
display:flex;
|
||
align-items:center;
|
||
justify-content:center;
|
||
gap:8px;
|
||
width:100%;
|
||
padding:12px 0;
|
||
margin-top:14px;
|
||
background:#4a90d9;
|
||
border:none;
|
||
border-radius:10px;
|
||
color:#fff;
|
||
font-size:14.5px;
|
||
font-weight:600;
|
||
cursor:pointer;
|
||
transition:background 0.15s,transform 0.1s;
|
||
font-family:inherit;
|
||
}
|
||
.share-primary-btn:hover{background:#3d7ec5;}
|
||
.share-primary-btn:active{transform:scale(0.98);}
|
||
.share-primary-btn.copied{
|
||
background:#2ea44f;
|
||
}
|
||
.share-pop.light .share-primary-btn{
|
||
background:#1a73e8;
|
||
}
|
||
.share-pop.light .share-primary-btn:hover{
|
||
background:#1565c0;
|
||
}
|
||
.share-pop.light .share-primary-btn.copied{
|
||
background:#2ea44f;
|
||
}
|
||
.share-social-row{
|
||
display:flex;
|
||
align-items:center;
|
||
gap:10px;
|
||
margin-top:16px;
|
||
padding-top:14px;
|
||
border-top:1px solid rgba(255,255,255,0.06);
|
||
}
|
||
.share-pop.light .share-social-row{
|
||
border-top:1px solid rgba(0,0,0,0.06);
|
||
}
|
||
.share-social-label{
|
||
font-size:12px;
|
||
opacity:0.45;
|
||
font-weight:500;
|
||
margin-right:auto;
|
||
white-space:nowrap;
|
||
}
|
||
.share-social-btn{
|
||
width:36px;height:36px;
|
||
border-radius:50%;
|
||
border:1px solid rgba(255,255,255,0.10);
|
||
background:rgba(255,255,255,0.06);
|
||
display:flex;align-items:center;justify-content:center;
|
||
cursor:pointer;
|
||
color:inherit;
|
||
transition:background 0.15s,border-color 0.15s;
|
||
}
|
||
.share-social-btn:hover{
|
||
background:rgba(255,255,255,0.12);
|
||
border-color:rgba(255,255,255,0.18);
|
||
}
|
||
.share-pop.light .share-social-btn{
|
||
border:1px solid rgba(0,0,0,0.10);
|
||
background:rgba(0,0,0,0.03);
|
||
}
|
||
.share-pop.light .share-social-btn:hover{
|
||
background:rgba(0,0,0,0.07);
|
||
border-color:rgba(0,0,0,0.16);
|
||
}
|
||
.share-embed-desc{
|
||
font-size:13.5px;
|
||
line-height:1.55;
|
||
opacity:0.72;
|
||
margin-bottom:16px;
|
||
}
|
||
.share-size-pills{
|
||
display:flex;
|
||
gap:8px;
|
||
margin-bottom:14px;
|
||
}
|
||
.share-size-pill{
|
||
padding:6px 14px;
|
||
border-radius:20px;
|
||
border:1px solid rgba(255,255,255,0.12);
|
||
background:transparent;
|
||
color:inherit;
|
||
font-size:12.5px;
|
||
font-weight:500;
|
||
cursor:pointer;
|
||
transition:background 0.15s,border-color 0.15s;
|
||
font-family:inherit;
|
||
}
|
||
.share-size-pill:hover{
|
||
background:rgba(255,255,255,0.06);
|
||
}
|
||
.share-size-pill.active{
|
||
background:rgba(74,144,217,0.18);
|
||
border-color:rgba(74,144,217,0.45);
|
||
color:#7ab8f5;
|
||
}
|
||
.share-pop.light .share-size-pill{
|
||
border:1px solid rgba(0,0,0,0.12);
|
||
}
|
||
.share-pop.light .share-size-pill:hover{
|
||
background:rgba(0,0,0,0.04);
|
||
}
|
||
.share-pop.light .share-size-pill.active{
|
||
background:rgba(26,115,232,0.10);
|
||
border-color:rgba(26,115,232,0.40);
|
||
color:#1a73e8;
|
||
}
|
||
.share-code-box{
|
||
background:rgba(0,0,0,0.28);
|
||
border:1px solid rgba(255,255,255,0.06);
|
||
border-radius:10px;
|
||
padding:12px 14px;
|
||
font-family:'SF Mono',SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;
|
||
font-size:11.5px;
|
||
line-height:1.5;
|
||
color:#a0aab8;
|
||
word-break:break-all;
|
||
white-space:pre-wrap;
|
||
height:auto;
|
||
-webkit-user-select:all;
|
||
user-select:all;
|
||
}
|
||
.share-pop.light .share-code-box{
|
||
background:rgba(0,0,0,0.035);
|
||
border:1px solid rgba(0,0,0,0.08);
|
||
color:#444;
|
||
}
|
||
.share-secondary-btn{
|
||
display:flex;
|
||
align-items:center;
|
||
justify-content:center;
|
||
gap:8px;
|
||
width:100%;
|
||
padding:11px 0;
|
||
margin-top:12px;
|
||
background:rgba(255,255,255,0.08);
|
||
border:1px solid rgba(255,255,255,0.12);
|
||
border-radius:10px;
|
||
color:#e0e4ec;
|
||
font-size:14px;
|
||
font-weight:600;
|
||
cursor:pointer;
|
||
transition:background 0.15s,border-color 0.15s,transform 0.1s;
|
||
font-family:inherit;
|
||
}
|
||
.share-secondary-btn:hover{
|
||
background:rgba(255,255,255,0.13);
|
||
border-color:rgba(255,255,255,0.18);
|
||
}
|
||
.share-secondary-btn:active{transform:scale(0.98);}
|
||
.share-secondary-btn.copied{
|
||
background:rgba(46,164,79,0.16);
|
||
border-color:rgba(46,164,79,0.35);
|
||
color:#5cd680;
|
||
}
|
||
.share-pop.light .share-secondary-btn{
|
||
background:rgba(0,0,0,0.04);
|
||
border:1px solid rgba(0,0,0,0.12);
|
||
color:#333;
|
||
}
|
||
.share-pop.light .share-secondary-btn:hover{
|
||
background:rgba(0,0,0,0.07);
|
||
}
|
||
.share-pop.light .share-secondary-btn.copied{
|
||
background:rgba(46,164,79,0.10);
|
||
border-color:rgba(46,164,79,0.30);
|
||
color:#2ea44f;
|
||
}
|
||
`,"share-button");const{t:o,tm:n,rt:s}=Xo(),r=e,a=ye(null),i=ye(!1),l=ye(null),c=ye(null),d=ye("link"),h=ye(!1),m=ye(!1),L=ye("medium"),M={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},S=ht("profileConfig",null),C=ze(()=>rm({embedPath:r.embedPath,profileConfig:Ut(S)||null})),I=ze(()=>{const J=M[L.value].height;return'<iframe src="'+C.value+'" width="100%" height="'+J+'" style="border:none; border-radius:12px;" allowfullscreen></iframe>'});function v(){i.value=!i.value,i.value&&(d.value="link",h.value=!1,m.value=!1)}function y(){i.value=!1}async function b(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 A(){await b(C.value)&&(h.value=!0,setTimeout(()=>{h.value=!1},2e3))}async function k(){await b(I.value)&&(m.value=!0,setTimeout(()=>{m.value=!1},2e3))}const P=ht("mapToolbar",null),z=ye(null);na("mapToolbar",P||{el:z});const N=!P;function Y(J){if(a.value=J||null,!N||!J){J||(z.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"),z.value=J}return(J,H)=>(be(),xe("div",{ref:Y,class:"share-wrap","data-share-root":""},[Fe(Nl,{ref_key:"btnEl",ref:c,"is-dark":e.isDark,active:i.value,title:Ut(o)("buttons.share"),onClick:v},{default:yn(()=>[...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(dm,{open:i.value,title:Ut(o)("buttons.share"),"is-dark":e.isDark,onClose:y},{default:yn(()=>[Z("div",{ref_key:"popoverEl",ref:l,class:et(["share-pop",{light:!e.isDark}])},[Z("ul",fm,[(be(!0),xe(De,null,Lr(Ut(n)("buttons.shareSteps"),(oe,se)=>(be(),xe("li",{key:se},Te(Ut(s)(oe)),1))),128))]),Z("div",hm,[Z("button",{class:et(["share-tab",{active:d.value==="link"}]),onClick:H[0]||(H[0]=oe=>d.value="link")},Te(t("share.embed_link","Embed link")),3),Z("button",{class:et(["share-tab",{active:d.value==="embed"}]),onClick:H[1]||(H[1]=oe=>d.value="embed")},Te(t("share.add_to_website","Add to Your Website")),3)]),d.value==="link"?(be(),xe("div",mm,[Z("div",gm,[Z("div",_m,Te(C.value),1)]),Z("button",{class:et(["share-primary-btn",{copied:h.value}]),onClick:A},[h.value?(be(),xe("svg",$m,[...H[4]||(H[4]=[Z("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(be(),xe("svg",bm,[...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(" "+Te(h.value?"Copied!":"Copy Link"),1)],2)])):go("",!0),d.value==="embed"?(be(),xe("div",wm,[Z("div",ym,Te(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",vm,[(be(),xe(De,null,Lr(M,(oe,se)=>Z("button",{key:se,class:et(["share-size-pill",{active:L.value===se}]),onClick:G=>L.value=se},Te(oe.label),11,Sm)),64))]),Z("div",Em,Te(I.value),1),Z("button",{class:et(["share-secondary-btn",{copied:m.value}]),onClick:k},[m.value?(be(),xe("svg",Tm,[...H[6]||(H[6]=[Z("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(be(),xe("svg",Lm,[...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(" "+Te(m.value?"Copied!":"Copy Code"),1)],2)])):go("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},xm={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Mm={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Pm={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=Xo(),n=e,s=t,r=ye(!1);let a=null,i=null,l=null,c=null,d=null,h=null,m=null,L=null,M=null,S=null,C=null,I=0,v=0,y=null,b=null;function A(){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 k(){var G,U,K;return((K=(U=(G=n.mapContainer)==null?void 0:G.getRootNode)==null?void 0:U.call(G))==null?void 0:K.host)??null}function P(){var U,K;const G=(K=(U=n.mapContainer)==null?void 0:U.getRootNode)==null?void 0:K.call(U);return document.fullscreenElement||document.webkitFullscreenElement||(G&&G instanceof ShadowRoot?G.fullscreenElement:null)||null}function z(G){const U=G.requestFullscreen||G.webkitRequestFullscreen;if(!U)return Promise.reject(new Error("Fullscreen API unavailable"));const K=U.call(G);return K&&typeof K.then=="function"?K:Promise.resolve()}function N(){const G=document.exitFullscreen||document.webkitExitFullscreen;if(!G)return Promise.reject(new Error("Fullscreen API unavailable"));const U=G.call(document);return U&&typeof U.then=="function"?U:Promise.resolve()}function Y(){const G=k();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"){I=window.scrollY||window.pageYOffset||0,v=window.scrollX||window.pageXOffset||0;const U=document.body,K=document.documentElement;c=U?U.style.overflow:null,d=K?K.style.overflow:null,h=U?U.style.position:null,m=U?U.style.top:null,L=U?U.style.left:null,M=U?U.style.width:null,S=U?U.style.touchAction:null,C=K?K.style.touchAction:null,K&&(K.style.overflow="hidden",K.style.touchAction="none"),U&&(U.style.overflow="hidden",U.style.position="fixed",U.style.top=`-${I}px`,U.style.left=`-${v}px`,U.style.width="100%",U.style.touchAction="none"),y=q=>{if(!l)return;const _e=q.target;_e&&(_e===l||l.contains&&l.contains(_e))||q.cancelable&&q.preventDefault()},b=q=>{if(!l)return;const _e=q.target;_e&&(_e===l||l.contains&&l.contains(_e))||q.cancelable&&q.preventDefault()},document.addEventListener("touchmove",y,{passive:!1,capture:!0}),document.addEventListener("wheel",b,{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,U=document.documentElement;G&&(G.style.overflow=c??"",G.style.position=h??"",G.style.top=m??"",G.style.left=L??"",G.style.width=M??"",G.style.touchAction=S??""),U&&(U.style.overflow=d??"",U.style.touchAction=C??""),y&&(document.removeEventListener("touchmove",y,{capture:!0}),y=null),b&&(document.removeEventListener("wheel",b,{capture:!0}),b=null),typeof window<"u"&&(I||v)&&window.scrollTo(v,I)}c=null,d=null,h=null,m=null,L=null,M=null,S=null,C=null,I=0,v=0}}function H(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function oe(){if(!A()){r.value?(J(),r.value=!1,s("change",!1)):Y()&&(r.value=!0,s("change",!0)),H();return}if(P())N().then(()=>{r.value=!1,s("change",!1)}).catch(()=>{});else{const U=k()??document.documentElement;z(U).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{z(document.documentElement).then(()=>{r.value=!0,s("change",!0)}).catch(()=>{})})}}function se(){r.value=!!P(),s("change",r.value)}return fo(()=>{var U,K;document.addEventListener("fullscreenchange",se),document.addEventListener("webkitfullscreenchange",se);const G=(K=(U=n.mapContainer)==null?void 0:U.getRootNode)==null?void 0:K.call(U);G instanceof ShadowRoot&&(a=G,G.addEventListener("fullscreenchange",se),G.addEventListener("webkitfullscreenchange",se))}),kn(()=>{document.removeEventListener("fullscreenchange",se),document.removeEventListener("webkitfullscreenchange",se),a&&(a.removeEventListener("fullscreenchange",se),a.removeEventListener("webkitfullscreenchange",se),a=null),l&&J()}),(G,U)=>(be(),Ro(Nl,{"is-dark":e.isDark,active:r.value,title:Ut(o)("buttons.toggleFullscreen"),onClick:oe},{default:yn(()=>[r.value?(be(),xe("svg",Mm,[...U[1]||(U[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)])])):(be(),xe("svg",xm,[...U[0]||(U[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"]))}},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} 个区域"}},Rl=Object.keys(Yn);function Am(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 Om=["dir","lang"],Fm={class:"pwp-toolbar"},Cm=["aria-pressed"],Im=["disabled"],Nm=["aria-expanded"],Rm=["disabled","aria-label"],Dm=["disabled"],zm=["disabled"],Um={class:"pwp-count"},jm=["disabled","aria-label"],Wm={key:0,class:"pwp-status"},Hm={class:"pwp-body"},Vm={class:"pwp-map"},Gm={class:"pwp-map-controls"},Bm={class:"pwp-list"},Km={key:0,class:"pwp-list-empty"},Ym=["onClick"],qm=["value","onKeydown","onBlur"],Xm=["onDblclick","title"],Zm=["onClick","aria-label"],Jm="prayer-walk-planner/prayer-walk-planner/index.html",Zo="pwp-draw",Jo="pwp-polygons",Dl=1200,Qm=1344,eg=2,tg=np(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=ze(()=>{let w=o.profileConfig;if(typeof w=="string")try{w=w?JSON.parse(w):{}}catch{w={}}return w&&typeof w=="object"?w:{}});function s(){try{const w=new URLSearchParams(location.search),E=(w.get("lang")||w.get("locale")||"").split("-")[0].toLowerCase();if(Rl.includes(E))return E}catch{}try{return(document.documentElement.lang||"").split("-")[0].toLowerCase()}catch{return""}}const r=ze(()=>{const w=String(o.language||n.value.locale||n.value.lang||s()||"en").split("-")[0].toLowerCase();return Rl.includes(w)?w:"en"}),a=ze(()=>r.value==="ar"?"rtl":"ltr"),i=(w,E)=>Am(r.value,w,E),l=ye(!1),c=ht("appI18n",null);St(r,w=>{try{c&&c.global&&(typeof c.global.locale=="object"?c.global.locale.value=w:c.global.locale=w)}catch{}},{immediate:!0});const d=o.instanceId||"pwp-"+Math.random().toString(36).slice(2,10),h="prayer-walk-planner:v1:"+d,m=fn([]),L=ye(!1),M=ye([]),S=ye(""),C=ye(null);function I(){const w=i("shareScope");S.value=w,setTimeout(()=>{S.value===w&&(S.value="")},6e3)}const v=ze(()=>m.filter(w=>w.selected).length);function y(){try{const w=window.localStorage.getItem(h);if(!w)return;const E=JSON.parse(w);Array.isArray(E)&&m.splice(0,m.length,...E.map(g=>({...g,selected:!1})))}catch(w){console.error("[prayer-walk-planner] failed to load localStorage:",w)}}function b(){try{const w=m.map(({selected:E,...g})=>g);window.localStorage.setItem(h,JSON.stringify(w))}catch(w){console.error("[prayer-walk-planner] failed to save localStorage:",w)}}const A=ye(null),{map:k,isMapReady:P,initializeMap:z,destroy:N}=Zh({containerRef:A,provider:"maplibre",style:"daylight",center:[0,20],zoom:2,showEdgeBorders:!1});function Y(w){if(w.length<3)return w;const[E,g]=w[0],[x,B]=w[w.length-1];return E===x&&g===B?w:[...w,w[0]]}function J(){return{type:"FeatureCollection",features:m.map(w=>({type:"Feature",id:w.id,properties:{id:w.id,title:w.title,selected:!!w.selected},geometry:{type:"Polygon",coordinates:[Y(w.coords)]}}))}}function H(){const w=M.value;if(w.length===0)return{type:"FeatureCollection",features:[]};const E=[];return E.push({type:"Feature",geometry:{type:"MultiPoint",coordinates:w},properties:{}}),w.length>=2&&E.push({type:"Feature",geometry:{type:"LineString",coordinates:w},properties:{}}),w.length>=3&&E.push({type:"Feature",geometry:{type:"Polygon",coordinates:[Y(w)]},properties:{preview:!0}}),{type:"FeatureCollection",features:E}}function oe(){if(!k.value||!P.value)return;const w=k.value.getSource(Jo);w&&w.setData(J());const E=k.value.getSource(Zo);E&&E.setData(H())}function se(){k.value&&(k.value.addSource(Jo,{type:"geojson",data:J()}),k.value.addLayer({id:"pwp-polygons-fill",type:"fill",source:Jo,paint:{"fill-color":["case",["get","selected"],"#92b195","#6d766e"],"fill-opacity":["case",["get","selected"],.35,.18]}}),k.value.addLayer({id:"pwp-polygons-line",type:"line",source:Jo,paint:{"line-color":["case",["get","selected"],"#3b463d","#92b195"],"line-width":["case",["get","selected"],3,2]}}),k.value.addLayer({id:"pwp-polygons-label",type:"symbol",source:Jo,layout:{...hp(k.value),"text-field":["get","title"],"text-size":12,"text-anchor":"center"},paint:{"text-color":"#3b463d","text-halo-color":"#ffffff","text-halo-width":1.5}}),k.value.addSource(Zo,{type:"geojson",data:H()}),k.value.addLayer({id:"pwp-draw-fill",type:"fill",source:Zo,filter:["==","$type","Polygon"],paint:{"fill-color":"#92b195","fill-opacity":.25}}),k.value.addLayer({id:"pwp-draw-line",type:"line",source:Zo,filter:["==","$type","LineString"],paint:{"line-color":"#3b463d","line-width":2,"line-dasharray":[2,1]}}),k.value.addLayer({id:"pwp-draw-points",type:"circle",source:Zo,filter:["==","$type","Point"],paint:{"circle-radius":5,"circle-color":"#3b463d","circle-stroke-color":"#fff","circle-stroke-width":2}}),k.value.on("click","pwp-polygons-fill",w=>{var g,x,B;if(L.value)return;const E=(B=(x=(g=w.features)==null?void 0:g[0])==null?void 0:x.properties)==null?void 0:B.id;E!=null&&je(String(E))}),k.value.on("click",w=>{L.value&&(M.value=[...M.value,[w.lngLat.lng,w.lngLat.lat]],oe())}),k.value.on("dblclick",()=>{L.value&&K()}))}function G(){L.value||(L.value=!0,M.value=[],S.value=i("clickToPlace"),k.value&&(k.value.getCanvas().style.cursor="crosshair"))}function U(){L.value=!1,M.value=[],S.value="",k.value&&(k.value.getCanvas().style.cursor=""),oe()}function K(){if(M.value.length<3){S.value=i("need3");return}const w=Y(M.value),E=i("zone",{n:m.length+1});q(w,E),L.value=!1,M.value=[],k.value&&(k.value.getCanvas().style.cursor="");const g=i("added");S.value=g,setTimeout(()=>{S.value===g&&(S.value="")},2e3)}function q(w,E){if(!Array.isArray(w)||w.length<3)throw new Error("[prayer-walk-planner] addPolygon needs at least 3 [lng,lat] points");const g="zone-"+Date.now().toString(36)+"-"+Math.random().toString(36).slice(2,7);return m.push({id:g,title:E||i("zone",{n:m.length+1}),coords:Y(w),createdAt:new Date().toISOString(),selected:!1}),b(),oe(),g}function _e(w){const E=m.findIndex(g=>g.id===w);return E===-1?!1:(m.splice(E,1),b(),oe(),!0)}function je(w,E){const g=m.find(x=>x.id===w);return g?(g.selected=E===void 0?!g.selected:!!E,oe(),!0):!1}function Le(){m.forEach(w=>{w.selected=!1}),oe()}function Me(w){let E=0,g=0;const x=w.length;for(const[B,X]of w)E+=B,g+=X;return[E/x,g/x]}function Ve(w,E){const g=E>=0?"N":"S",x=w>=0?"E":"W";return Math.abs(E).toFixed(5)+"°"+g+", "+Math.abs(w).toFixed(5)+"°"+x}async function Xe(w){const E=typeof window<"u"&&window.maplibregl;if(!E)return null;await Sp(E);let g=1/0,x=1/0,B=-1/0,X=-1/0;for(const[fe,ie]of w.coords)fe<g&&(g=fe),fe>B&&(B=fe),ie<x&&(x=ie),ie>X&&(X=ie);const ue=document.createElement("div");ue.setAttribute("aria-hidden","true"),ue.style.cssText=`position:fixed;left:-${Dl*3}px;top:0;width:${Dl}px;height:${Qm}px;pointer-events:none;`,document.body.appendChild(ue);let ce=null;try{return ce=new E.Map({container:ue,style:di("daylight","maplibre").style,bounds:[[g,x],[B,X]],fitBoundsOptions:{padding:90,maxZoom:18},pixelRatio:eg,interactive:!1,attributionControl:!1,fadeDuration:0,canvasContextAttributes:{preserveDrawingBuffer:!0},preserveDrawingBuffer:!0}),await new Promise((fe,ie)=>{ce.once("load",fe),ce.once("error",st=>ie(st&&st.error||st)),setTimeout(()=>ie(new Error("style load timeout")),3e4)}),In(ce,r.value),ce.addSource("pwp-print-zone",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[Y(w.coords)]}}}),ce.addLayer({id:"pwp-print-fill",type:"fill",source:"pwp-print-zone",paint:{"fill-color":"#92b195","fill-opacity":.12}}),ce.addLayer({id:"pwp-print-casing",type:"line",source:"pwp-print-zone",paint:{"line-color":"#ffffff","line-width":9}}),ce.addLayer({id:"pwp-print-line",type:"line",source:"pwp-print-zone",paint:{"line-color":"#1f5f3a","line-width":5}}),await new Promise(fe=>{const ie=()=>{ce.loaded()&&ce.areTilesLoaded()?fe():ce.once("idle",ie)};ce.once("idle",ie),setTimeout(fe,25e3)}),await new Promise(fe=>{ce.once("render",()=>{try{fe(ce.getCanvas().toDataURL("image/png"))}catch{fe(null)}}),ce.triggerRepaint()})}finally{try{ce&&ce.remove()}catch{}ue.remove()}}async function lt(w){const E=w&&w.length?m.filter(ie=>w.includes(ie.id)):m.filter(ie=>ie.selected);if(E.length===0)return S.value=i("selectOne"),{opened:!1,count:0};const g=ie=>String(ie??"").replace(/[<>&]/g,st=>({"<":"<",">":">","&":"&"})[st]);S.value=i("preparing");const x={};for(const ie of E){try{x[ie.id]=await Xe(ie)}catch(st){console.error("[prayer-walk-planner] print map failed for",ie.title,st)}x[ie.id]||delete x[ie.id]}S.value===i("preparing")&&(S.value="");const B=g(new Date().toLocaleDateString(r.value)),X=ie=>'<bdi dir="ltr">'+g(ie)+"</bdi>",ue=E.map(ie=>{const[st,Je]=Me(ie.coords),ct=ie.coords.slice(0,-1).map(([qn,og])=>X(Ve(qn,og))).join(" · "),Qo=x[ie.id];return'<section class="zone-page"><header class="band"><h1>'+g(ie.title)+'</h1><p class="kicker">'+g(i("kicker",{c:"\0"})).replace("\0",X(Ve(st,Je)))+"</p></header>"+(Qo?'<figure class="mapframe"><img class="snapshot" src="'+Qo+'" alt="'+g(i("mapAlt",{title:ie.title}))+'"></figure>':"")+'<p class="charge">'+g(i("charge"))+'</p><p class="points"><b>'+g(i("corners"))+":</b> "+ct+'</p><p class="footer">'+g(i("footer",{date:"\0"})).replace("\0",B)+"</p></section>"}).join(""),ce=E.length===1?i("docTitleOne"):i("docTitleMany",{n:E.length});return em('<!DOCTYPE html><html lang="'+r.value+'" dir="'+a.value+'"><head><meta charset="utf-8"><title>'+g(ce)+'</title><style>@page{size:letter portrait;margin:12mm}html,body{margin:0;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#3b463d}.zone-page{page-break-after:always;break-inside:avoid;margin:0 auto}.zone-page:last-child{page-break-after:auto}.band{background:#3b463d;color:#fff;border-radius:6px;padding:8px 14px;margin:0 0 6px;-webkit-print-color-adjust:exact;print-color-adjust:exact}h1{font-size:20px;margin:0;letter-spacing:-0.01em}.kicker{margin:2px 0 0;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#d1d4cd}.mapframe{margin:0;border:1px solid #d1d4cd;border-radius:4px;overflow:hidden}.snapshot{display:block;width:100%;height:8.4in;object-fit:cover}.charge{font-size:12px;line-height:1.45;color:#3b463d;margin:6px 0 0}.points{font-size:9.5px;line-height:1.5;color:#6d766e;margin:4px 0 0}.footer{margin-top:4px;font-size:9px;color:#6d766e;border-top:1px solid #d1d4cd;padding-top:4px}</style></head><body>'+ue+"</body></html>",{autoprint:!0})?{opened:!0,count:E.length}:(S.value=i("printUnavailable"),{opened:!1,count:0})}function We(w,E){return q(w,E)}function ke(w){return _e(w)}function Ze(w,E=!0){return je(w,E)}function ae(){Le()}function re(){return m.map(w=>({...w}))}function Oe(w){const E=m.find(g=>g.id===w);return E?{...E}:null}function f(w=null){return lt(w)}async function $(w){const E=m.find(g=>g.id===w);return E?Xe(E):null}t({addPolygon:We,deletePolygon:ke,selectPolygon:Ze,clearSelection:ae,listPolygons:re,getPolygon:Oe,print:f,renderZoneMap:$,startDrawing:G,stopDrawing:U,resolvedInstanceId:d});function _(){if(typeof window>"u")return;const w={addPolygon:We,deletePolygon:ke,selectPolygon:Ze,clearSelection:ae,listPolygons:re,getPolygon:Oe,print:f,renderZoneMap:$,startDrawing:G,stopDrawing:U,instanceId:d};window.PrayerWalkPlanner=window.PrayerWalkPlanner||{instances:{}},window.PrayerWalkPlanner.instances[d]=w,window.PrayerWalkPlanner.first=()=>{const E=Object.keys(window.PrayerWalkPlanner.instances);return E.length?window.PrayerWalkPlanner.instances[E[0]]:null}}function O(){typeof window>"u"||!window.PrayerWalkPlanner||delete window.PrayerWalkPlanner.instances[d]}function D(){L.value?U():G()}function R(){K()}function W(){m.filter(E=>E.selected).map(E=>E.id).forEach(E=>_e(E))}function j(){m.forEach(w=>{w.selected=!0}),oe()}function u(){Le()}function p(){lt(null)}function T(w){C.value=w}function F(w,E){const g=m.find(x=>x.id===w);g&&(g.title=(E||"").trim()||g.title,b(),oe()),C.value=null}return fo(async()=>{y(),_(),await $n();try{await z(),k.value&&k.value.on("load",()=>{In(k.value,r.value),se(),oe()})}catch(w){console.error("[prayer-walk-planner] map failed to initialize — polygon list, localStorage and print still work:",w),S.value=i("mapFailed")}}),kn(()=>{O(),N()}),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: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}.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}}"),(w,E)=>(be(),xe("div",{class:"pwp",dir:a.value,lang:r.value},[Z("div",Fm,[Z("button",{type:"button",class:et(["pwp-btn pwp-draw",{"is-active":L.value}]),"aria-pressed":L.value,onClick:D},Te(L.value?i("drawing"):i("draw")),11,Cm),L.value?(be(),xe("button",{key:0,type:"button",class:"pwp-btn is-accent",disabled:M.value.length<3,onClick:R},Te(i("finish",{n:M.value.length})),9,Im)):go("",!0),Z("button",{type:"button",class:"pwp-btn pwp-more-btn","aria-expanded":l.value?"true":"false",onClick:E[0]||(E[0]=g=>l.value=!l.value)},"⋯ "+Te(i("more")),9,Nm),Z("div",{class:et(["pwp-listops",{"is-open":l.value}]),onClick:E[1]||(E[1]=g=>l.value=!1)},[Z("button",{type:"button",class:"pwp-btn is-danger",disabled:v.value===0,onClick:W,"aria-label":i("deleteSelectedAria")},Te(i("deleteSelected")),9,Rm),Z("button",{type:"button",class:"pwp-btn",disabled:m.length===0,onClick:j},Te(i("selectAll")),9,Dm),Z("button",{type:"button",class:"pwp-btn",disabled:v.value===0,onClick:u},Te(i("clearSelection")),9,zm)],2),E[3]||(E[3]=Z("div",{class:"pwp-spacer"},null,-1)),Z("span",Um,Te(i("countSelected",{n:v.value,total:m.length})),1),Z("button",{type:"button",class:"pwp-btn is-accent pwp-print",disabled:v.value===0,onClick:p,"aria-label":i("printAria")},Te(i("printSelected")),9,jm),Fe(km,{"is-dark":!1,"embed-path":Jm,onClick:I})]),S.value?(be(),xe("div",Wm,Te(S.value),1)):go("",!0),Z("div",Hm,[Z("div",Vm,[Z("div",{ref_key:"mapContainer",ref:A,class:"pwp-map-el"},null,512),Z("div",Gm,[Fe(Pm,{"map-container":A.value},null,8,["map-container"])])]),Z("div",Bm,[m.length===0?(be(),xe("div",Km,Te(i("emptyList")),1)):go("",!0),(be(!0),xe(De,null,Lr(m,g=>(be(),xe("div",{key:g.id,class:et(["pwp-item",{"is-selected":g.selected}]),onClick:x=>je(g.id)},[C.value===g.id?(be(),xe("input",{key:0,class:"pwp-item-title-input",type:"text",value:g.title,onClick:E[2]||(E[2]=Hr(()=>{},["stop"])),onKeydown:lp(x=>F(g.id,x.target.value),["enter"]),onBlur:x=>F(g.id,x.target.value),autofocus:""},null,40,qm)):(be(),xe("span",{key:1,class:"pwp-item-title",onDblclick:Hr(x=>T(g.id),["stop"]),title:g.title},Te(g.title),41,Xm)),Z("button",{type:"button",class:"pwp-item-del",onClick:Hr(x=>_e(g.id),["stop"]),"aria-label":i("deleteAria",{title:g.title})},Te(i("delete")),9,Zm)],10,Ym))),128))])])],8,Om))}}),{configureApp(e){const t=Dh();e.use(t),e.provide("appI18n",t)}});typeof customElements<"u"&&!customElements.get("prayer-walk-planner")&&customElements.define("prayer-walk-planner",tg)})();
|