diff --git a/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js b/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js index a324a438..18d27636 100644 --- a/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js +++ b/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js @@ -3,44 +3,44 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function ta(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me={},un=[],rt=()=>{},Cs=()=>!1,oo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ao=e=>e.startsWith("onUpdate:"),ke=Object.assign,na=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_c=Object.prototype.hasOwnProperty,le=(e,t)=>_c.call(e,t),Z=Array.isArray,Ot=e=>Ln(e)==="[object Map]",so=e=>Ln(e)==="[object Set]",Ns=e=>Ln(e)==="[object Date]",te=e=>typeof e=="function",Ae=e=>typeof e=="string",Ve=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",ws=e=>(ce(e)||te(e))&&te(e.then)&&te(e.catch),Ps=Object.prototype.toString,Ln=e=>Ps.call(e),yc=e=>Ln(e).slice(8,-1),io=e=>Ln(e)==="[object Object]",ro=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=ta(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ac=/-\w/g,Ce=lo(e=>e.replace(Ac,t=>t.slice(1).toUpperCase())),Sc=/\B([A-Z])/g,We=lo(e=>e.replace(Sc,"-$1").toLowerCase()),co=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),oa=lo(e=>e?`on${co(e)}`:""),lt=(e,t)=>!Object.is(e,t),aa=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},vc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ms=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Rs;const uo=()=>Rs||(Rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function go(e){if(Z(e)){const t={};for(let n=0;n{if(n){const o=n.split(Tc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Nn(e){let t="";if(Ae(e))t=e;else if(Z(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Xt=e=>Ae(e)?e:e==null?"":Z(e)||ce(e)&&(e.toString===Ps||!te(e.toString))?Os(e)?Xt(e.value):JSON.stringify(e,xs,2):String(e),xs=(e,t)=>Os(t)?xs(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,a],s)=>(n[sa(o,s)+" =>"]=a,n),{})}:so(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>sa(n))}:Ve(t)?sa(t):ce(t)&&!Z(t)&&!io(t)?String(t):t,sa=(e,t="")=>{var n;return Ve(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function ta(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me={},un=[],rt=()=>{},Cs=()=>!1,oo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ao=e=>e.startsWith("onUpdate:"),ke=Object.assign,na=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_c=Object.prototype.hasOwnProperty,le=(e,t)=>_c.call(e,t),Z=Array.isArray,Ot=e=>Ln(e)==="[object Map]",so=e=>Ln(e)==="[object Set]",Ns=e=>Ln(e)==="[object Date]",te=e=>typeof e=="function",Ae=e=>typeof e=="string",Ve=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",ws=e=>(ce(e)||te(e))&&te(e.then)&&te(e.catch),Ps=Object.prototype.toString,Ln=e=>Ps.call(e),yc=e=>Ln(e).slice(8,-1),io=e=>Ln(e)==="[object Object]",ro=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=ta(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ac=/-\w/g,Ce=lo(e=>e.replace(Ac,t=>t.slice(1).toUpperCase())),Sc=/\B([A-Z])/g,We=lo(e=>e.replace(Sc,"-$1").toLowerCase()),co=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),oa=lo(e=>e?`on${co(e)}`:""),lt=(e,t)=>!Object.is(e,t),aa=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},vc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ms=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Rs;const uo=()=>Rs||(Rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function go(e){if(Z(e)){const t={};for(let n=0;n{if(n){const o=n.split(Tc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Nn(e){let t="";if(Ae(e))t=e;else if(Z(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Xt=e=>Ae(e)?e:e==null?"":Z(e)||ce(e)&&(e.toString===Ps||!te(e.toString))?Os(e)?Xt(e.value):JSON.stringify(e,xs,2):String(e),xs=(e,t)=>Os(t)?xs(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,a],s)=>(n[sa(o,s)+" =>"]=a,n),{})}:so(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>sa(n))}:Ve(t)?sa(t):ce(t)&&!Z(t)&&!io(t)?String(t):t,sa=(e,t="")=>{var n;return Ve(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ee;class js{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&&Ee&&(Ee.active?(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t0&&--this._on===0){if(Ee===this)Ee=this.prevScope;else{let t=Ee;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 n,o;for(n=0,o=this.effects.length;n0)return;if(Pn){let t=Pn;for(Pn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wn;){let t=wn;for(wn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function zs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qs(e){let t,n=e.depsTail,o=n;for(;o;){const a=o.prevDep;o.version===-1?(o===n&&(n=a),ga(o),wc(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}e.deps=t,e.depsTail=n}function ua(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ua(e))))return;e.flags|=2;const t=e.dep,n=be,o=Qe;be=e,Qe=!0;try{zs(e);const a=e.fn(e._value);(t.version===0||lt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{be=n,Qe=o,qs(e),e.flags&=-3}}function ga(e,t=!1){const{dep:n,prevSub:o,nextSub:a}=e;if(o&&(o.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)ga(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Qe=!0;const Vs=[];function ct(){Vs.push(Qe),Qe=!1}function ut(){const e=Vs.pop();Qe=e===void 0?!0:e}function Ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let In=0;class Pc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class da{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(!be||!Qe||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new Pc(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Ys(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=o)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){la();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ca()}}}function Ys(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Ys(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const po=new WeakMap,Zt=Symbol(""),fa=Symbol(""),Mn=Symbol("");function Re(e,t,n){if(Qe&&be){let o=po.get(e);o||po.set(e,o=new Map);let a=o.get(n);a||(o.set(n,a=new da),a.map=o,a.key=n),a.track()}}function yt(e,t,n,o,a,s){const i=po.get(e);if(!i){In++;return}const r=l=>{l&&l.trigger()};if(la(),t==="clear")i.forEach(r);else{const l=Z(e),c=l&&ro(n);if(l&&n==="length"){const u=Number(o);i.forEach((f,b)=>{(b==="length"||b===Mn||!Ve(b)&&b>=u)&&r(f)})}else switch((n!==void 0||i.has(void 0))&&r(i.get(n)),c&&r(i.get(Mn)),t){case"add":l?c&&r(i.get("length")):(r(i.get(Zt)),Ot(e)&&r(i.get(fa)));break;case"delete":l||(r(i.get(Zt)),Ot(e)&&r(i.get(fa)));break;case"set":Ot(e)&&r(i.get(Zt));break}}ca()}function Ic(e,t){const n=po.get(e);return n&&n.get(t)}function gn(e){const t=ie(e);return t===e?t:(Re(t,"iterate",Mn),Ge(e)?t:t.map(et))}function ho(e){return Re(e=ie(e),"iterate",Mn),e}function gt(e,t){return vt(e)?dn(St(e)?et(t):t):et(t)}const Mc={__proto__:null,[Symbol.iterator](){return pa(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return gn(this).concat(...e.map(t=>Z(t)?gn(t):t))},entries(){return pa(this,"entries",e=>(e[1]=gt(this,e[1]),e))},every(e,t){return At(this,"every",e,t,void 0,arguments)},filter(e,t){return At(this,"filter",e,t,n=>n.map(o=>gt(this,o)),arguments)},find(e,t){return At(this,"find",e,t,n=>gt(this,n),arguments)},findIndex(e,t){return At(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return At(this,"findLast",e,t,n=>gt(this,n),arguments)},findLastIndex(e,t){return At(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return At(this,"forEach",e,t,void 0,arguments)},includes(...e){return ha(this,"includes",e)},indexOf(...e){return ha(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return ha(this,"lastIndexOf",e)},map(e,t){return At(this,"map",e,t,void 0,arguments)},pop(){return Rn(this,"pop")},push(...e){return Rn(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return Rn(this,"shift")},some(e,t){return At(this,"some",e,t,void 0,arguments)},splice(...e){return Rn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return Rn(this,"unshift",e)},values(){return pa(this,"values",e=>gt(this,e))}};function pa(e,t,n){const o=ho(e),a=o[t]();return o!==e&&!Ge(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=n(s.value)),s}),a}const Rc=Array.prototype;function At(e,t,n,o,a,s){const i=ho(e),r=i!==e&&!Ge(e),l=i[t];if(l!==Rc[t]){const f=l.apply(e,s);return r?et(f):f}let c=n;i!==e&&(r?c=function(f,b){return n.call(this,gt(e,f),b,e)}:n.length>2&&(c=function(f,b){return n.call(this,f,b,e)}));const u=l.call(i,c,o);return r&&a?a(u):u}function Js(e,t,n,o){const a=ho(e),s=a!==e&&!Ge(e);let i=n,r=!1;a!==e&&(s?(r=o.length===0,i=function(c,u,f){return r&&(r=!1,c=gt(e,c)),n.call(this,c,gt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=a[t](i,...o);return r?gt(e,l):l}function ha(e,t,n){const o=ie(e);Re(o,"iterate",Mn);const a=o[t](...n);return(a===-1||a===!1)&&So(n[0])?(n[0]=ie(n[0]),o[t](...n)):a}function Rn(e,t,n=[]){ct(),la();const o=ie(e)[t].apply(e,n);return ca(),ut(),o}const Dc=ta("__proto__,__v_isRef,__isVue"),Xs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ve));function Fc(e){Ve(e)||(e=String(e));const t=ie(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Zs{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(a?s?ai:oi:s?ni:ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=Z(t);if(!a){let l;if(i&&(l=Mc[n]))return l;if(n==="hasOwnProperty")return Fc}const r=Reflect.get(t,n,ve(t)?t:o);if((Ve(n)?Xs.has(n):Dc(n))||(a||Re(t,"get",n),s))return r;if(ve(r)){const l=i&&ro(n)?r:r.value;return a&&ce(l)?ba(l):l}return ce(r)?a?ba(r):yo(r):r}}class Qs extends Zs{constructor(t=!1){super(!1,t)}set(t,n,o,a){let s=t[n];const i=Z(t)&&ro(n);if(!this._isShallow){const c=vt(s);if(!Ge(o)&&!vt(o)&&(s=ie(s),o=ie(o)),!i&&ve(s)&&!ve(o))return c||(s.value=o),!0}const r=i?Number(n)e,mo=e=>Reflect.getPrototypeOf(e);function Kc(e,t,n){return function(...o){const a=this.__v_raw,s=ie(a),i=Ot(s),r=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=a[e](...o),u=n?ma:t?dn:et;return!t&&Re(s,"iterate",l?fa:Zt),ke(Object.create(c),{next(){const{value:f,done:b}=c.next();return b?{value:f,done:b}:{value:r?[u(f[0]),u(f[1])]:u(f),done:b}}})}}function bo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Uc(e,t){const n={get(a){const s=this.__v_raw,i=ie(s),r=ie(a);e||(lt(a,r)&&Re(i,"get",a),Re(i,"get",r));const{has:l}=mo(i),c=t?ma:e?dn:et;if(l.call(i,a))return c(s.get(a));if(l.call(i,r))return c(s.get(r));s!==i&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Re(ie(a),"iterate",Zt),a.size},has(a){const s=this.__v_raw,i=ie(s),r=ie(a);return e||(lt(a,r)&&Re(i,"has",a),Re(i,"has",r)),a===r?s.has(a):s.has(a)||s.has(r)},forEach(a,s){const i=this,r=i.__v_raw,l=ie(r),c=t?ma:e?dn:et;return!e&&Re(l,"iterate",Zt),r.forEach((u,f)=>a.call(s,c(u),c(f),i))}};return ke(n,e?{add:bo("add"),set:bo("set"),delete:bo("delete"),clear:bo("clear")}:{add(a){const s=ie(this),i=mo(s),r=ie(a),l=!t&&!Ge(a)&&!vt(a)?r:a;return i.has.call(s,l)||lt(a,l)&&i.has.call(s,a)||lt(r,l)&&i.has.call(s,r)||(s.add(l),yt(s,"add",l,l)),this},set(a,s){!t&&!Ge(s)&&!vt(s)&&(s=ie(s));const i=ie(this),{has:r,get:l}=mo(i);let c=r.call(i,a);c||(a=ie(a),c=r.call(i,a));const u=l.call(i,a);return i.set(a,s),c?lt(s,u)&&yt(i,"set",a,s):yt(i,"add",a,s),this},delete(a){const s=ie(this),{has:i,get:r}=mo(s);let l=i.call(s,a);l||(a=ie(a),l=i.call(s,a)),r&&r.call(s,a);const c=s.delete(a);return l&&yt(s,"delete",a,void 0),c},clear(){const a=ie(this),s=a.size!==0,i=a.clear();return s&&yt(a,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=Kc(a,e,t)}),n}function _o(e,t){const n=Uc(e,t);return(o,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?o:Reflect.get(le(n,a)&&a in o?n:o,a,s)}const Gc={get:_o(!1,!1)},zc={get:_o(!1,!0)},qc={get:_o(!0,!1)},Hc={get:_o(!0,!0)},ti=new WeakMap,ni=new WeakMap,oi=new WeakMap,ai=new WeakMap;function Vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yo(e){return vt(e)?e:Ao(e,!1,Oc,Gc,ti)}function Wc(e){return Ao(e,!1,jc,zc,ni)}function ba(e){return Ao(e,!0,xc,qc,oi)}function pb(e){return Ao(e,!0,Bc,Hc,ai)}function Ao(e,t,n,o,a){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const i=Vc(yc(e));if(i===0)return e;const r=new Proxy(e,i===2?o:n);return a.set(e,r),r}function St(e){return vt(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function So(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Dn(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&Is(e,"__v_skip",!0),e}const et=e=>ce(e)?yo(e):e,dn=e=>ce(e)?ba(e):e;function ve(e){return e?e.__v_isRef===!0:!1}function pe(e){return si(e,!1)}function _a(e){return si(e,!0)}function si(e,t){return ve(e)?e:new Yc(e,t)}class Yc{constructor(t,n){this.dep=new da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Ge(t)||vt(t);t=o?t:ie(t),lt(t,n)&&(this._rawValue=t,this._value=o?t:et(t),this.dep.trigger())}}function vo(e){return ve(e)?e.value:e}const Jc={get:(e,t,n)=>t==="__v_raw"?e:vo(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return ve(a)&&!ve(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function ii(e){return St(e)?e:new Proxy(e,Jc)}function Xc(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Qc(e,n);return t}class Zc{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Ve(n)?n:String(n),this._raw=ie(t);let a=!0,s=t;if(!Z(t)||Ve(this._key)||!ro(this._key))do a=!So(s)||Ge(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=vo(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ve(this._raw[this._key])){const n=this._object[this._key];if(ve(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ic(this._raw,this._key)}}function Qc(e,t,n){return new Zc(e,t,n)}class eu{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Gs(this,!0),!0}get value(){const t=this.dep.track();return Hs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tu(e,t,n=!1){let o,a;return te(e)?o=e:(o=e.get,a=e.set),new eu(o,a,n)}const ko={},To=new WeakMap;let Qt;function nu(e,t=!1,n=Qt){if(n){let o=To.get(n);o||To.set(n,o=[]),o.push(e)}}function ou(e,t,n=me){const{immediate:o,deep:a,once:s,scheduler:i,augmentJob:r,call:l}=n,c=h=>a?h:Ge(h)||a===!1||a===0?xt(h,1):xt(h);let u,f,b,v,$=!1,A=!1;if(ve(e)?(f=()=>e.value,$=Ge(e)):St(e)?(f=()=>c(e),$=!0):Z(e)?(A=!0,$=e.some(h=>St(h)||Ge(h)),f=()=>e.map(h=>{if(ve(h))return h.value;if(St(h))return c(h);if(te(h))return l?l(h,2):h()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(b){ct();try{b()}finally{ut()}}const h=Qt;Qt=u;try{return l?l(e,3,[v]):e(v)}finally{Qt=h}}:f=rt,t&&a){const h=f,T=a===!0?1/0:a;f=()=>xt(h(),T)}const R=Bs(),M=()=>{u.stop(),R&&R.active&&na(R.effects,u)};if(s&&t){const h=t;t=(...T)=>{const C=h(...T);return M(),C}}let L=A?new Array(e.length).fill(ko):ko;const y=h=>{if(!(!(u.flags&1)||!u.dirty&&!h))if(t){const T=u.run();if(h||a||$||(A?T.some((C,I)=>lt(C,L[I])):lt(T,L))){b&&b();const C=Qt;Qt=u;try{const I=[T,L===ko?void 0:A&&L[0]===ko?[]:L,v];L=T,l?l(t,3,I):t(...I)}finally{Qt=C}}}else u.run()};return r&&r(y),u=new Ks(f),u.scheduler=i?()=>i(y,!1):y,v=h=>nu(h,!1,u),b=u.onStop=()=>{const h=To.get(u);if(h){if(l)l(h,4);else for(const T of h)T();To.delete(u)}},t?o?y(!0):L=u.run():i?i(y.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function xt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ve(e))xt(e.value,t,n);else if(Z(e))for(let o=0;o{xt(o,t,n)});else if(io(e)){for(const o in e)xt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&xt(e[o],t,n)}return e}/** +**/let $e;class js{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&&$e&&($e.active?(this.parent=$e,this.index=($e.scopes||($e.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t0&&--this._on===0){if($e===this)$e=this.prevScope;else{let t=$e;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 n,o;for(n=0,o=this.effects.length;n0)return;if(Pn){let t=Pn;for(Pn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wn;){let t=wn;for(wn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function zs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qs(e){let t,n=e.depsTail,o=n;for(;o;){const a=o.prevDep;o.version===-1?(o===n&&(n=a),ga(o),wc(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}e.deps=t,e.depsTail=n}function ua(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ua(e))))return;e.flags|=2;const t=e.dep,n=be,o=Qe;be=e,Qe=!0;try{zs(e);const a=e.fn(e._value);(t.version===0||lt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{be=n,Qe=o,qs(e),e.flags&=-3}}function ga(e,t=!1){const{dep:n,prevSub:o,nextSub:a}=e;if(o&&(o.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)ga(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Qe=!0;const Vs=[];function ct(){Vs.push(Qe),Qe=!1}function ut(){const e=Vs.pop();Qe=e===void 0?!0:e}function Ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let In=0;class Pc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class da{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(!be||!Qe||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new Pc(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Ys(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=o)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){la();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ca()}}}function Ys(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Ys(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const po=new WeakMap,Zt=Symbol(""),fa=Symbol(""),Mn=Symbol("");function Re(e,t,n){if(Qe&&be){let o=po.get(e);o||po.set(e,o=new Map);let a=o.get(n);a||(o.set(n,a=new da),a.map=o,a.key=n),a.track()}}function yt(e,t,n,o,a,s){const i=po.get(e);if(!i){In++;return}const r=l=>{l&&l.trigger()};if(la(),t==="clear")i.forEach(r);else{const l=Z(e),c=l&&ro(n);if(l&&n==="length"){const u=Number(o);i.forEach((f,b)=>{(b==="length"||b===Mn||!Ve(b)&&b>=u)&&r(f)})}else switch((n!==void 0||i.has(void 0))&&r(i.get(n)),c&&r(i.get(Mn)),t){case"add":l?c&&r(i.get("length")):(r(i.get(Zt)),Ot(e)&&r(i.get(fa)));break;case"delete":l||(r(i.get(Zt)),Ot(e)&&r(i.get(fa)));break;case"set":Ot(e)&&r(i.get(Zt));break}}ca()}function Ic(e,t){const n=po.get(e);return n&&n.get(t)}function gn(e){const t=ie(e);return t===e?t:(Re(t,"iterate",Mn),Ge(e)?t:t.map(et))}function ho(e){return Re(e=ie(e),"iterate",Mn),e}function gt(e,t){return vt(e)?dn(St(e)?et(t):t):et(t)}const Mc={__proto__:null,[Symbol.iterator](){return pa(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return gn(this).concat(...e.map(t=>Z(t)?gn(t):t))},entries(){return pa(this,"entries",e=>(e[1]=gt(this,e[1]),e))},every(e,t){return At(this,"every",e,t,void 0,arguments)},filter(e,t){return At(this,"filter",e,t,n=>n.map(o=>gt(this,o)),arguments)},find(e,t){return At(this,"find",e,t,n=>gt(this,n),arguments)},findIndex(e,t){return At(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return At(this,"findLast",e,t,n=>gt(this,n),arguments)},findLastIndex(e,t){return At(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return At(this,"forEach",e,t,void 0,arguments)},includes(...e){return ha(this,"includes",e)},indexOf(...e){return ha(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return ha(this,"lastIndexOf",e)},map(e,t){return At(this,"map",e,t,void 0,arguments)},pop(){return Rn(this,"pop")},push(...e){return Rn(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return Rn(this,"shift")},some(e,t){return At(this,"some",e,t,void 0,arguments)},splice(...e){return Rn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return Rn(this,"unshift",e)},values(){return pa(this,"values",e=>gt(this,e))}};function pa(e,t,n){const o=ho(e),a=o[t]();return o!==e&&!Ge(e)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.done||(s.value=n(s.value)),s}),a}const Rc=Array.prototype;function At(e,t,n,o,a,s){const i=ho(e),r=i!==e&&!Ge(e),l=i[t];if(l!==Rc[t]){const f=l.apply(e,s);return r?et(f):f}let c=n;i!==e&&(r?c=function(f,b){return n.call(this,gt(e,f),b,e)}:n.length>2&&(c=function(f,b){return n.call(this,f,b,e)}));const u=l.call(i,c,o);return r&&a?a(u):u}function Js(e,t,n,o){const a=ho(e),s=a!==e&&!Ge(e);let i=n,r=!1;a!==e&&(s?(r=o.length===0,i=function(c,u,f){return r&&(r=!1,c=gt(e,c)),n.call(this,c,gt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=a[t](i,...o);return r?gt(e,l):l}function ha(e,t,n){const o=ie(e);Re(o,"iterate",Mn);const a=o[t](...n);return(a===-1||a===!1)&&So(n[0])?(n[0]=ie(n[0]),o[t](...n)):a}function Rn(e,t,n=[]){ct(),la();const o=ie(e)[t].apply(e,n);return ca(),ut(),o}const Dc=ta("__proto__,__v_isRef,__isVue"),Xs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ve));function Fc(e){Ve(e)||(e=String(e));const t=ie(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Zs{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(a?s?ai:oi:s?ni:ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=Z(t);if(!a){let l;if(i&&(l=Mc[n]))return l;if(n==="hasOwnProperty")return Fc}const r=Reflect.get(t,n,ve(t)?t:o);if((Ve(n)?Xs.has(n):Dc(n))||(a||Re(t,"get",n),s))return r;if(ve(r)){const l=i&&ro(n)?r:r.value;return a&&ce(l)?ba(l):l}return ce(r)?a?ba(r):yo(r):r}}class Qs extends Zs{constructor(t=!1){super(!1,t)}set(t,n,o,a){let s=t[n];const i=Z(t)&&ro(n);if(!this._isShallow){const c=vt(s);if(!Ge(o)&&!vt(o)&&(s=ie(s),o=ie(o)),!i&&ve(s)&&!ve(o))return c||(s.value=o),!0}const r=i?Number(n)e,mo=e=>Reflect.getPrototypeOf(e);function Kc(e,t,n){return function(...o){const a=this.__v_raw,s=ie(a),i=Ot(s),r=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=a[e](...o),u=n?ma:t?dn:et;return!t&&Re(s,"iterate",l?fa:Zt),ke(Object.create(c),{next(){const{value:f,done:b}=c.next();return b?{value:f,done:b}:{value:r?[u(f[0]),u(f[1])]:u(f),done:b}}})}}function bo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Uc(e,t){const n={get(a){const s=this.__v_raw,i=ie(s),r=ie(a);e||(lt(a,r)&&Re(i,"get",a),Re(i,"get",r));const{has:l}=mo(i),c=t?ma:e?dn:et;if(l.call(i,a))return c(s.get(a));if(l.call(i,r))return c(s.get(r));s!==i&&s.get(a)},get size(){const a=this.__v_raw;return!e&&Re(ie(a),"iterate",Zt),a.size},has(a){const s=this.__v_raw,i=ie(s),r=ie(a);return e||(lt(a,r)&&Re(i,"has",a),Re(i,"has",r)),a===r?s.has(a):s.has(a)||s.has(r)},forEach(a,s){const i=this,r=i.__v_raw,l=ie(r),c=t?ma:e?dn:et;return!e&&Re(l,"iterate",Zt),r.forEach((u,f)=>a.call(s,c(u),c(f),i))}};return ke(n,e?{add:bo("add"),set:bo("set"),delete:bo("delete"),clear:bo("clear")}:{add(a){const s=ie(this),i=mo(s),r=ie(a),l=!t&&!Ge(a)&&!vt(a)?r:a;return i.has.call(s,l)||lt(a,l)&&i.has.call(s,a)||lt(r,l)&&i.has.call(s,r)||(s.add(l),yt(s,"add",l,l)),this},set(a,s){!t&&!Ge(s)&&!vt(s)&&(s=ie(s));const i=ie(this),{has:r,get:l}=mo(i);let c=r.call(i,a);c||(a=ie(a),c=r.call(i,a));const u=l.call(i,a);return i.set(a,s),c?lt(s,u)&&yt(i,"set",a,s):yt(i,"add",a,s),this},delete(a){const s=ie(this),{has:i,get:r}=mo(s);let l=i.call(s,a);l||(a=ie(a),l=i.call(s,a)),r&&r.call(s,a);const c=s.delete(a);return l&&yt(s,"delete",a,void 0),c},clear(){const a=ie(this),s=a.size!==0,i=a.clear();return s&&yt(a,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=Kc(a,e,t)}),n}function _o(e,t){const n=Uc(e,t);return(o,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?o:Reflect.get(le(n,a)&&a in o?n:o,a,s)}const Gc={get:_o(!1,!1)},zc={get:_o(!1,!0)},qc={get:_o(!0,!1)},Hc={get:_o(!0,!0)},ti=new WeakMap,ni=new WeakMap,oi=new WeakMap,ai=new WeakMap;function Vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yo(e){return vt(e)?e:Ao(e,!1,Oc,Gc,ti)}function Wc(e){return Ao(e,!1,jc,zc,ni)}function ba(e){return Ao(e,!0,xc,qc,oi)}function pb(e){return Ao(e,!0,Bc,Hc,ai)}function Ao(e,t,n,o,a){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=a.get(e);if(s)return s;const i=Vc(yc(e));if(i===0)return e;const r=new Proxy(e,i===2?o:n);return a.set(e,r),r}function St(e){return vt(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function So(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Dn(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&Is(e,"__v_skip",!0),e}const et=e=>ce(e)?yo(e):e,dn=e=>ce(e)?ba(e):e;function ve(e){return e?e.__v_isRef===!0:!1}function pe(e){return si(e,!1)}function _a(e){return si(e,!0)}function si(e,t){return ve(e)?e:new Yc(e,t)}class Yc{constructor(t,n){this.dep=new da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Ge(t)||vt(t);t=o?t:ie(t),lt(t,n)&&(this._rawValue=t,this._value=o?t:et(t),this.dep.trigger())}}function vo(e){return ve(e)?e.value:e}const Jc={get:(e,t,n)=>t==="__v_raw"?e:vo(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return ve(a)&&!ve(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function ii(e){return St(e)?e:new Proxy(e,Jc)}function Xc(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Qc(e,n);return t}class Zc{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Ve(n)?n:String(n),this._raw=ie(t);let a=!0,s=t;if(!Z(t)||Ve(this._key)||!ro(this._key))do a=!So(s)||Ge(s);while(a&&(s=s.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=vo(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ve(this._raw[this._key])){const n=this._object[this._key];if(ve(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ic(this._raw,this._key)}}function Qc(e,t,n){return new Zc(e,t,n)}class eu{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Gs(this,!0),!0}get value(){const t=this.dep.track();return Hs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tu(e,t,n=!1){let o,a;return te(e)?o=e:(o=e.get,a=e.set),new eu(o,a,n)}const ko={},To=new WeakMap;let Qt;function nu(e,t=!1,n=Qt){if(n){let o=To.get(n);o||To.set(n,o=[]),o.push(e)}}function ou(e,t,n=me){const{immediate:o,deep:a,once:s,scheduler:i,augmentJob:r,call:l}=n,c=h=>a?h:Ge(h)||a===!1||a===0?xt(h,1):xt(h);let u,f,b,v,E=!1,A=!1;if(ve(e)?(f=()=>e.value,E=Ge(e)):St(e)?(f=()=>c(e),E=!0):Z(e)?(A=!0,E=e.some(h=>St(h)||Ge(h)),f=()=>e.map(h=>{if(ve(h))return h.value;if(St(h))return c(h);if(te(h))return l?l(h,2):h()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(b){ct();try{b()}finally{ut()}}const h=Qt;Qt=u;try{return l?l(e,3,[v]):e(v)}finally{Qt=h}}:f=rt,t&&a){const h=f,T=a===!0?1/0:a;f=()=>xt(h(),T)}const R=Bs(),M=()=>{u.stop(),R&&R.active&&na(R.effects,u)};if(s&&t){const h=t;t=(...T)=>{const C=h(...T);return M(),C}}let L=A?new Array(e.length).fill(ko):ko;const y=h=>{if(!(!(u.flags&1)||!u.dirty&&!h))if(t){const T=u.run();if(h||a||E||(A?T.some((C,I)=>lt(C,L[I])):lt(T,L))){b&&b();const C=Qt;Qt=u;try{const I=[T,L===ko?void 0:A&&L[0]===ko?[]:L,v];L=T,l?l(t,3,I):t(...I)}finally{Qt=C}}}else u.run()};return r&&r(y),u=new Ks(f),u.scheduler=i?()=>i(y,!1):y,v=h=>nu(h,!1,u),b=u.onStop=()=>{const h=To.get(u);if(h){if(l)l(h,4);else for(const T of h)T();To.delete(u)}},t?o?y(!0):L=u.run():i?i(y.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function xt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ve(e))xt(e.value,t,n);else if(Z(e))for(let o=0;o{xt(o,t,n)});else if(io(e)){for(const o in e)xt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&xt(e[o],t,n)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Fn=[];let ya=!1;function hb(e,...t){if(ya)return;ya=!0,ct();const n=Fn.length?Fn[Fn.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=au();if(o)fn(o,n,11,[e+t.map(s=>{var i,r;return(r=(i=s.toString)==null?void 0:i.call(s))!=null?r:JSON.stringify(s)}).join(""),n&&n.proxy,a.map(({vnode:s})=>`at <${or(n,s.type)}>`).join(` `),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push(` `,...su(a)),console.warn(...s)}ut(),ya=!1}function au(){let e=Fn[Fn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function su(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` -`],...iu(n))}),t}function iu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,a=` at <${or(e.component,e.type,o)}`,s=">"+n;return e.props?[a,...ru(e.props),s]:[a+s]}function ru(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...ri(o,e[o]))}),n.length>3&&t.push(" ..."),t}function ri(e,t,n){return Ae(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ve(t)?(t=ri(e,ie(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):te(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ie(t),n?t:[`${e}=`,t])}function fn(e,t,n,o){try{return o?e(...o):e()}catch(a){On(a,t,n)}}function tt(e,t,n,o){if(te(e)){const a=fn(e,t,n,o);return a&&ws(a)&&a.catch(s=>{On(s,t,n)}),a}if(Z(e)){const a=[];for(let s=0;s>>1,a=De[o],s=xn(a);s=xn(n)?De.push(e):De.splice(cu(t),0,e),e.flags|=1,ci()}}function ci(){Eo||(Eo=li.then(di))}function uu(e){if(!Z(e))jt&&e.id===-1?jt.splice(hn+1,0,e):e.flags&1||(pn.push(e),e.flags|=1);else for(let t=0;txn(n)-xn(o));if(pn.length=0,jt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function di(e){try{for(dt=0;dt{o._d&&Do(-1);const s=$o(t),i=an.length;let r;try{r=e(...a)}finally{for(let l=an.length;l>i;l--)Yi();$o(s),o._d&&Do(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function en(e,t,n,o){const a=e.dirs,s=t&&t.dirs;for(let i=0;i1)return n&&te(t)?t.call(o&&o.proxy):t}}function du(){return!!(Ct()||nn)}const fu=Symbol.for("v-scx"),pu=()=>Fe(fu);function hu(e,t){return va(e,null,t)}function tn(e,t,n){return va(e,t,n)}function va(e,t,n=me){const{immediate:o,deep:a,flush:s,once:i}=n,r=ke({},n),l=t&&o||!t&&s!=="post";let c;if(_n){if(s==="sync"){const v=pu();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=rt,v.resume=rt,v.pause=rt,v}}const u=Pe;r.call=(v,$,A)=>tt(v,u,$,A);let f=!1;s==="post"?r.scheduler=v=>{Ke(v,u&&u.suspense)}:s!=="sync"&&(f=!0,r.scheduler=(v,$)=>{$?v():Sa(v)}),r.augmentJob=v=>{t&&(v.flags|=4),f&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const b=ou(e,t,r);return _n&&(c?c.push(b):l&&b()),b}function mu(e,t,n){const o=this.proxy,a=Ae(e)?e.includes(".")?pi(o,e):()=>o[e]:e.bind(o,o);let s;te(t)?s=t:(s=t.handler,n=t);const i=Yn(this),r=va(a,s.bind(o),n);return i(),r}function pi(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;ae.__isTeleport,ka=Symbol("_leaveCb");function _u(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Tt){t=n;break}}return t}function hi(e){if(!wo(e))return Lo(e.type)&&e.children?_u(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function Ta(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Ta(Lo(n.type)&&hi(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function jn(e,t){return te(e)?ke({name:e.name},t,{setup:e}):e}function Ea(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mi(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Co=new WeakMap;function Bn(e,t,n,o,a=!1){if(Z(e)){e.forEach((A,R)=>Bn(A,t&&(Z(t)?t[R]:t),n,o,a));return}if(Kn(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Bn(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?Fa(o.component):o.el,i=a?null:s,{i:r,r:l}=e,c=t&&t.r,u=r.refs===me?r.refs={}:r.refs,f=r.setupState,b=ie(f),v=f===me?Cs:A=>mi(u,A)?!1:le(b,A),$=(A,R)=>!(R&&mi(u,R));if(c!=null&&c!==l){if(bi(t),Ae(c))u[c]=null,v(c)&&(f[c]=null);else if(ve(c)){const A=t;$(c,A.k)&&(c.value=null),A.k&&(u[A.k]=null)}}if(te(l))fn(l,r,12,[i,u]);else{const A=Ae(l),R=ve(l);if(A||R){const M=()=>{if(e.f){const L=A?v(l)?f[l]:u[l]:$()||!e.k?l.value:u[e.k];if(a)Z(L)&&na(L,s);else if(Z(L))L.includes(s)||L.push(s);else if(A)u[l]=[s],v(l)&&(f[l]=u[l]);else{const y=[s];$(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else A?(u[l]=i,v(l)&&(f[l]=i)):R&&($(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const L=()=>{M(),Co.delete(e)};L.id=-1,Co.set(e,L),Ke(L,n)}else bi(e),M()}}}function bi(e){const t=Co.get(e);t&&(t.flags|=8,Co.delete(e))}const _i=e=>e.nodeType===8;uo().requestIdleCallback,uo().cancelIdleCallback;function yu(e,t){if(_i(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(_i(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Kn=e=>!!e.type.__asyncLoader;function Au(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:a=200,hydrate:s,timeout:i,suspensible:r=!0,onError:l}=e;let c=null,u,f=0;const b=()=>(f++,c=null,v()),v=()=>{let $;return c||($=c=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),l)return new Promise((R,M)=>{l(A,()=>R(b()),()=>M(A),f+1)});throw A}).then(A=>$!==c&&c?c:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),u=A,A)))};return jn({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate($,A,R){const M=$.isConnected;let L=!1;(A.bu||(A.bu=[])).push(()=>L=!0);const y=()=>{L||!$.parentNode||M&&!$.isConnected||R()},h=s?()=>{const T=s(y,C=>yu($,C));T&&(A.bum||(A.bum=[])).push(T)}:y;u?h():v().then(()=>!A.isUnmounted&&h())},get __asyncResolved(){return u},setup(){const $=Pe;if(Ea($),u)return()=>No(u,$);const A=T=>{c=null,On(T,$,13,!o)};if(r&&$.suspense||_n)return v().then(T=>()=>No(T,$)).catch(T=>(A(T),()=>o?Ne(o,{error:T}):null));const R=pe(!1),M=pe(),L=pe(!!a);let y,h;return Io(()=>{y!=null&&clearTimeout(y),h!=null&&clearTimeout(h)}),a&&(h=setTimeout(()=>{$.isUnmounted||(L.value=!1)},a)),i!=null&&(y=setTimeout(()=>{if(!$.isUnmounted&&!R.value&&!M.value){const T=new Error(`Async component timed out after ${i}ms.`);A(T),M.value=T}},i)),v().then(()=>{$.isUnmounted||(R.value=!0,$.parent&&wo($.parent.vnode)&&$.parent.update())}).catch(T=>{if($.isUnmounted){c=null;return}A(T),M.value=T}),()=>{if(R.value&&u)return No(u,$);if(M.value&&o)return Ne(o,{error:M.value});if(n&&!L.value)return No(n,$)}}})}function No(e,t){const{ref:n,props:o,children:a,ce:s}=t.vnode,i=Ne(e,o,a);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const wo=e=>e.type.__isKeepAlive;function Su(e,t){yi(e,"a",t)}function vu(e,t){yi(e,"da",t)}function yi(e,t,n=Pe){const o=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Po(t,o,n),n){let a=n.parent;for(;a&&a.parent;)wo(a.parent.vnode)&&ku(o,t,n,a),a=a.parent}}function ku(e,t,n,o){const a=Po(t,e,o,!0);Io(()=>{na(o[t],a)},n)}function Po(e,t,n=Pe,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ct();const r=Yn(n),l=tt(t,n,e,i);return r(),ut(),l});return o?a.unshift(s):a.push(s),s}}const kt=e=>(t,n=Pe)=>{(!_n||e==="sp")&&Po(e,(...o)=>t(...o),n)},Ai=kt("bm"),Un=kt("m"),Tu=kt("bu"),Eu=kt("u"),$a=kt("bum"),Io=kt("um"),$u=kt("sp"),Lu=kt("rtg"),Cu=kt("rtc");function Nu(e,t=Pe){Po("ec",e,t)}const wu="components",Si=Symbol.for("v-ndc");function vi(e){return Ae(e)?Pu(wu,e,!1)||e:e||Si}function Pu(e,t,n=!0,o=!1){const a=nt||Pe;if(a){const s=a.type;{const r=nr(s,!1);if(r&&(r===t||r===Ce(t)||r===co(Ce(t))))return s}const i=ki(a[e]||s[e],t)||ki(a.appContext[e],t);return!i&&o?s:i}}function ki(e,t){return e&&(e[t]||e[Ce(t)]||e[co(Ce(t))])}function Iu(e,t,n,o){let a;const s=n,i=Z(e);if(i||Ae(e)){const r=i&&St(e);let l=!1,c=!1;r&&(l=!Ge(e),c=vt(e),e=ho(e)),a=new Array(e.length);for(let u=0,f=e.length;ut(r,l,void 0,s));else{const r=Object.keys(e);a=new Array(r.length);for(let l=0,c=r.length;le?Qi(e)?Fa(e):La(e.parent):null,Gn=ke(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=>La(e.parent),$root:e=>La(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Li(e),$forceUpdate:e=>e.f||(e.f=()=>{Sa(e.update)}),$nextTick:e=>e.n||(e.n=Aa.bind(e.proxy)),$watch:e=>mu.bind(e)}),Ca=(e,t)=>e!==me&&!e.__isScriptSetup&&le(e,t),Mu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:a,props:s,accessCache:i,type:r,appContext:l}=e;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(Ca(o,t))return i[t]=1,o[t];if(a!==me&&le(a,t))return i[t]=2,a[t];if(le(s,t))return i[t]=3,s[t];if(n!==me&&le(n,t))return i[t]=4,n[t];Na&&(i[t]=0)}}const c=Gn[t];let u,f;if(c)return t==="$attrs"&&Re(e.attrs,"get",""),c(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(n!==me&&le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,le(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:a,ctx:s}=e;return Ca(a,t)?(a[t]=n,!0):o!==me&&le(o,t)?(o[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,props:s,type:i}},r){let l;return!!(n[r]||e!==me&&r[0]!=="$"&&le(e,r)||Ca(t,r)||le(s,r)||le(o,r)||le(Gn,r)||le(a.config.globalProperties,r)||(l=i.__cssModules)&&l[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ti(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Na=!0;function Ru(e){const t=Li(e),n=e.proxy,o=e.ctx;Na=!1,t.beforeCreate&&Ei(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:i,watch:r,provide:l,inject:c,created:u,beforeMount:f,mounted:b,beforeUpdate:v,updated:$,activated:A,deactivated:R,beforeDestroy:M,beforeUnmount:L,destroyed:y,unmounted:h,render:T,renderTracked:C,renderTriggered:I,errorCaptured:F,serverPrefetch:S,expose:W,inheritAttrs:ae,components:H,directives:ee,filters:Y}=t;if(c&&Du(c,o,null),i)for(const B in i){const V=i[B];te(V)&&(o[B]=V.bind(n))}if(a){const B=a.call(n,n);ce(B)&&(e.data=yo(B))}if(Na=!0,s)for(const B in s){const V=s[B],X=te(V)?V.bind(n,n):te(V.get)?V.get.bind(n,n):rt,ue=!te(V)&&te(V.set)?V.set.bind(n):rt,de=he({get:X,set:ue});Object.defineProperty(o,B,{enumerable:!0,configurable:!0,get:()=>de.value,set:fe=>de.value=fe})}if(r)for(const B in r)$i(r[B],o,n,B);if(l){const B=te(l)?l.call(n):l;Reflect.ownKeys(B).forEach(V=>{ft(V,B[V])})}u&&Ei(u,e,"c");function j(B,V){Z(V)?V.forEach(X=>B(X.bind(n))):V&&B(V.bind(n))}if(j(Ai,f),j(Un,b),j(Tu,v),j(Eu,$),j(Su,A),j(vu,R),j(Nu,F),j(Cu,C),j(Lu,I),j($a,L),j(Io,h),j($u,S),Z(W))if(W.length){const B=e.exposed||(e.exposed={});W.forEach(V=>{Object.defineProperty(B,V,{get:()=>n[V],set:X=>n[V]=X,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===rt&&(e.render=T),ae!=null&&(e.inheritAttrs=ae),H&&(e.components=H),ee&&(e.directives=ee),S&&Ea(e)}function Du(e,t,n=rt){Z(e)&&(e=wa(e));for(const o in e){const a=e[o];let s;ce(a)?"default"in a?s=Fe(a.from||o,a.default,!0):s=Fe(a.from||o):s=Fe(a),ve(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Ei(e,t,n){tt(Z(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function $i(e,t,n,o){let a=o.includes(".")?pi(n,o):()=>n[o];if(Ae(e)){const s=t[e];te(s)&&tn(a,s)}else if(te(e))tn(a,e.bind(n));else if(ce(e))if(Z(e))e.forEach(s=>$i(s,t,n,o));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&tn(a,s,e)}}function Li(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,r=s.get(t);let l;return r?l=r:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(c=>Mo(l,c,i,!0)),Mo(l,t,i)),ce(t)&&s.set(t,l),l}function Mo(e,t,n,o=!1){const{mixins:a,extends:s}=t;s&&Mo(e,s,n,!0),a&&a.forEach(i=>Mo(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const r=Fu[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Fu={data:Ci,props:Ni,emits:Ni,methods:zn,computed:zn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:zn,directives:zn,watch:xu,provide:Ci,inject:Ou};function Ci(e,t){return t?e?function(){return ke(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Ou(e,t){return zn(wa(e),wa(t))}function wa(e){if(Z(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${We(t)}Modifiers`];function Uu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||me;let a=n;const s=t.startsWith("update:"),i=s&&Ku(o,t.slice(7));i&&(i.trim&&(a=n.map(u=>Ae(u)?u.trim():u)),i.number&&(a=a.map(vc)));let r,l=o[r=oa(t)]||o[r=oa(Ce(t))];!l&&s&&(l=o[r=oa(We(t))]),l&&tt(l,e,6,a);const c=o[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,tt(c,e,6,a)}}const Gu=new WeakMap;function Pi(e,t,n=!1){const o=n?Gu:t.emitsCache,a=o.get(e);if(a!==void 0)return a;const s=e.emits;let i={},r=!1;if(!te(e)){const l=c=>{const u=Pi(c,t,!0);u&&(r=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!r?(ce(e)&&o.set(e,null),null):(Z(s)?s.forEach(l=>i[l]=null):ke(i,s),ce(e)&&o.set(e,i),i)}function Ro(e,t){return!e||!oo(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,We(t))||le(e,t))}function mb(){}function Ii(e){const{type:t,vnode:n,proxy:o,withProxy:a,propsOptions:[s],slots:i,attrs:r,emit:l,render:c,renderCache:u,props:f,data:b,setupState:v,ctx:$,inheritAttrs:A}=e,R=$o(e);let M,L;try{if(n.shapeFlag&4){const h=a||o,T=h;M=pt(c.call(T,h,u,f,v,b,$)),L=r}else{const h=t;M=pt(h.length>1?h(f,{attrs:r,slots:i,emit:l}):h(f,null)),L=t.props?r:zu(r)}}catch(h){an.length=0,On(h,e,1),M=Ne(Tt)}let y=M;if(L&&A!==!1){const h=Object.keys(L),{shapeFlag:T}=y;h.length&&T&7&&(s&&h.some(ao)&&(L=qu(L,s)),y=mn(y,L,!1,!0))}if(n.dirs&&(y=mn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition){const h=Lo(y.type)&&hi(y)||y;Ta(h,n.transition)}return M=y,$o(R),M}const zu=e=>{let t;for(const n in e)(n==="class"||n==="style"||oo(n))&&((t||(t={}))[n]=e[n]);return t},qu=(e,t)=>{const n={};for(const o in e)(!ao(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Hu(e,t,n){const{props:o,children:a,component:s}=e,{props:i,children:r,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Mi(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fObject.create(Di),Oi=e=>Object.getPrototypeOf(e)===Di;function Wu(e,t,n,o=!1){const a={},s=Fi();e.propsDefaults=Object.create(null),xi(e,t,a,s);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=o?a:Wc(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Yu(e,t,n,o){const{props:a,attrs:s,vnode:{patchFlag:i}}=e,r=ie(a),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[b,v]=ji(f,t,!0);ke(i,b),v&&r.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return ce(e)&&o.set(e,un),un;if(Z(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ma=e=>Z(e)?e.map(pt):[pt(e)],Xu=(e,t,n)=>{if(t._n)return t;const o=gu((...a)=>Ma(t(...a)),n);return o._c=!1,o},Ki=(e,t,n)=>{const o=e._ctx;for(const a in e){if(Ia(a))continue;const s=e[a];if(te(s))t[a]=Xu(a,s,o);else if(s!=null){const i=Ma(s);t[a]=()=>i}}},Ui=(e,t)=>{const n=Ma(t);e.slots.default=()=>n},Gi=(e,t,n)=>{for(const o in t)(n||!Ia(o))&&(e[o]=t[o])},Zu=(e,t,n)=>{const o=e.slots=Fi();if(e.vnode.shapeFlag&32){const a=t._;a?(Gi(o,t,n),n&&Is(o,"_",a,!0)):Ki(t,o)}else t&&Ui(e,t)},Qu=(e,t,n)=>{const{vnode:o,slots:a}=e;let s=!0,i=me;if(o.shapeFlag&32){const r=t._;r?n&&r===1?s=!1:Gi(a,t,n):(s=!t.$stable,Ki(t,a)),i=t}else t&&(Ui(e,t),i={default:1});if(s)for(const r in a)!Ia(r)&&i[r]==null&&delete a[r]},Ke=ag;function eg(e){return tg(e)}function tg(e,t){const n=uo();n.__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:i,createText:r,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:b,setScopeId:v=rt,insertStaticContent:$}=e,A=(p,_,m,N=null,x=null,O=null,G=void 0,U=null,g=!!_.dynamicChildren)=>{if(p===_)return;p&&!Vn(p,_)&&(N=Dt(p),fe(p,x,O,!0),p=null),_.patchFlag===-2&&(g=!1,_.dynamicChildren=null);const{type:d,ref:E,shapeFlag:w}=_;switch(d){case qn:R(p,_,m,N);break;case Tt:M(p,_,m,N);break;case Da:p==null&&L(_,m,N,G);break;case Ye:H(p,_,m,N,x,O,G,U,g);break;default:w&1?T(p,_,m,N,x,O,G,U,g):w&6?ee(p,_,m,N,x,O,G,U,g):(w&64||w&128)&&d.process(p,_,m,N,x,O,G,U,g,Ze)}E!=null&&x?Bn(E,p&&p.ref,O,_||p,!_):E==null&&p&&p.ref!=null&&Bn(p.ref,null,O,p,!0)},R=(p,_,m,N)=>{if(p==null)o(_.el=r(_.children),m,N);else{const x=_.el=p.el;_.children!==p.children&&c(x,_.children)}},M=(p,_,m,N)=>{p==null?o(_.el=l(_.children||""),m,N):_.el=p.el},L=(p,_,m,N)=>{[p.el,p.anchor]=$(p.children,_,m,N,p.el,p.anchor)},y=({el:p,anchor:_},m,N)=>{let x;for(;p&&p!==_;)x=b(p),o(p,m,N),p=x;o(_,m,N)},h=({el:p,anchor:_})=>{let m;for(;p&&p!==_;)m=b(p),a(p),p=m;a(_)},T=(p,_,m,N,x,O,G,U,g)=>{if(_.type==="svg"?G="svg":_.type==="math"&&(G="mathml"),p==null)C(_,m,N,x,O,G,U,g);else{const d=p.el&&p.el._isVueCE?p.el:null;try{d&&d._beginPatch(),S(p,_,x,O,G,U,g)}finally{d&&d._endPatch()}}},C=(p,_,m,N,x,O,G,U)=>{let g,d;const{props:E,shapeFlag:w,transition:z,dirs:K}=p;if(g=p.el=i(p.type,O,E&&E.is,E),w&8?u(g,p.children):w&16&&F(p.children,g,null,N,x,Ra(p,O),G,U),K&&en(p,null,N,"created"),I(g,p,p.scopeId,G,N),E){for(const P in E)P!=="value"&&!Cn(P)&&s(g,P,null,E[P],O,N);"value"in E&&s(g,"value",null,E.value,O),(d=E.onVnodeBeforeMount)&&ht(d,N,p)}K&&en(p,null,N,"beforeMount");const k=ng(x,z);k&&z.beforeEnter(g),o(g,_,m),((d=E&&E.onVnodeMounted)||k||K)&&Ke(()=>{try{d&&ht(d,N,p),k&&z.enter(g),K&&en(p,null,N,"mounted")}finally{}},x)},I=(p,_,m,N,x)=>{if(m&&v(p,m),N)for(let O=0;O{for(let d=g;d{const U=_.el=p.el;let{patchFlag:g,dynamicChildren:d,dirs:E}=_;g|=p.patchFlag&16;const w=p.props||me,z=_.props||me;let K;if(m&&on(m,!1),(K=z.onVnodeBeforeUpdate)&&ht(K,m,_,p),E&&en(_,p,m,"beforeUpdate"),m&&on(m,!0),d&&(!p.dynamicChildren||p.dynamicChildren.length!==d.length)&&(g=0,G=!1,d=null),(w.innerHTML&&z.innerHTML==null||w.textContent&&z.textContent==null)&&u(U,""),d?W(p.dynamicChildren,d,U,m,N,Ra(_,x),O):G||V(p,_,U,null,m,N,Ra(_,x),O,!1),g>0){if(g&16)ae(U,w,z,m,x);else if(g&2&&w.class!==z.class&&s(U,"class",null,z.class,x),g&4&&s(U,"style",w.style,z.style,x),g&8){const k=_.dynamicProps;for(let P=0;P{K&&ht(K,m,_,p),E&&en(_,p,m,"updated")},N)},W=(p,_,m,N,x,O,G)=>{for(let U=0;U<_.length;U++){const g=p[U],d=_[U],E=g.el&&(g.type===Ye||!Vn(g,d)||g.shapeFlag&198)?f(g.el):m;A(g,d,E,null,N,x,O,G,!0)}},ae=(p,_,m,N,x)=>{if(_!==m){if(_!==me)for(const O in _)!Cn(O)&&!(O in m)&&s(p,O,_[O],null,x,N);for(const O in m){if(Cn(O))continue;const G=m[O],U=_[O];G!==U&&O!=="value"&&s(p,O,U,G,x,N)}"value"in m&&s(p,"value",_.value,m.value,x)}},H=(p,_,m,N,x,O,G,U,g)=>{const d=_.el=p?p.el:r(""),E=_.anchor=p?p.anchor:r("");let{patchFlag:w,dynamicChildren:z,slotScopeIds:K}=_;K&&(U=U?U.concat(K):K),p==null?(o(d,m,N),o(E,m,N),F(_.children||[],m,E,x,O,G,U,g)):w>0&&w&64&&z&&p.dynamicChildren&&p.dynamicChildren.length===z.length?(W(p.dynamicChildren,z,m,x,O,G,U),(_.key!=null||x&&_===x.subTree)&&zi(p,_,!0)):V(p,_,m,E,x,O,G,U,g)},ee=(p,_,m,N,x,O,G,U,g)=>{_.slotScopeIds=U,p==null?_.shapeFlag&512?x.ctx.activate(_,m,N,G,g):Y(_,m,N,x,O,G,g):D(p,_,g)},Y=(p,_,m,N,x,O,G)=>{const U=p.component=ug(p,N,x);if(wo(p)&&(U.ctx.renderer=Ze),gg(U,!1,G),U.asyncDep){if(x&&x.registerDep(U,j,G),!p.el){const g=U.subTree=Ne(Tt);M(null,g,_,m),p.placeholder=g.el}}else j(U,p,_,m,x,O,G)},D=(p,_,m)=>{const N=_.component=p.component;if(Hu(p,_,m))if(N.asyncDep&&!N.asyncResolved){B(N,_,m);return}else N.next=_,N.update();else _.el=p.el,N.vnode=_},j=(p,_,m,N,x,O,G)=>{const U=()=>{if(p.isMounted){let{next:w,bu:z,u:K,parent:k,vnode:P}=p;{const Me=qi(p);if(Me){w&&(w.el=P.el,B(p,w,G)),Me.asyncDep.then(()=>{Ke(()=>{p.isUnmounted||d()},x)});return}}let J=w,oe;on(p,!1),w?(w.el=P.el,B(p,w,G)):w=P,z&&aa(z),(oe=w.props&&w.props.onVnodeBeforeUpdate)&&ht(oe,k,w,P),on(p,!0);const ye=Ii(p),Be=p.subTree;p.subTree=ye,A(Be,ye,f(Be.el),Dt(Be),p,x,O),w.el=ye.el,J===null&&Vu(p,ye.el),K&&Ke(K,x),(oe=w.props&&w.props.onVnodeUpdated)&&Ke(()=>ht(oe,k,w,P),x)}else{let w;const{el:z,props:K}=_,{bm:k,m:P,parent:J,root:oe,type:ye}=p,Be=Kn(_);on(p,!1),k&&aa(k),!Be&&(w=K&&K.onVnodeBeforeMount)&&ht(w,J,_),on(p,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(ye,p.parent?p.parent.type:void 0);const Me=p.subTree=Ii(p);A(null,Me,m,N,p,x,O),_.el=Me.el}if(P&&Ke(P,x),!Be&&(w=K&&K.onVnodeMounted)){const Me=_;Ke(()=>ht(w,J,Me),x)}(_.shapeFlag&256||J&&Kn(J.vnode)&&J.vnode.shapeFlag&256)&&p.a&&Ke(p.a,x),p.isMounted=!0,_=m=N=null}};p.scope.on();const g=p.effect=new Ks(U);p.scope.off();const d=p.update=g.run.bind(g),E=p.job=g.runIfDirty.bind(g);E.i=p,E.id=p.uid,g.scheduler=()=>Sa(E),on(p,!0),d()},B=(p,_,m)=>{_.component=p;const N=p.vnode.props;p.vnode=_,p.next=null,Yu(p,_.props,N,m),Qu(p,_.children,m),ct(),ui(p),ut()},V=(p,_,m,N,x,O,G,U,g=!1)=>{const d=p&&p.children,E=p?p.shapeFlag:0,w=_.children,{patchFlag:z,shapeFlag:K}=_;if(z>0){if(z&128){ue(d,w,m,N,x,O,G,U,g);return}else if(z&256){X(d,w,m,N,x,O,G,U,g);return}}K&8?(E&16&&it(d,x,O),w!==d&&u(m,w)):E&16?K&16?ue(d,w,m,N,x,O,G,U,g):it(d,x,O,!0):(E&8&&u(m,""),K&16&&F(w,m,N,x,O,G,U,g))},X=(p,_,m,N,x,O,G,U,g)=>{p=p||un,_=_||un;const d=p.length,E=_.length,w=Math.min(d,E);let z;for(z=0;zE?it(p,x,O,!0,!1,w):F(_,m,N,x,O,G,U,g,w)},ue=(p,_,m,N,x,O,G,U,g)=>{let d=0;const E=_.length;let w=p.length-1,z=E-1;for(;d<=w&&d<=z;){const K=p[d],k=_[d]=g?Lt(_[d]):pt(_[d]);if(Vn(K,k))A(K,k,m,null,x,O,G,U,g);else break;d++}for(;d<=w&&d<=z;){const K=p[w],k=_[z]=g?Lt(_[z]):pt(_[z]);if(Vn(K,k))A(K,k,m,null,x,O,G,U,g);else break;w--,z--}if(d>w){if(d<=z){const K=z+1,k=Kz)for(;d<=w;)fe(p[d],x,O,!0),d++;else{const K=d,k=d,P=new Map;for(d=k;d<=z;d++){const He=_[d]=g?Lt(_[d]):pt(_[d]);He.key!=null&&P.set(He.key,d)}let J,oe=0;const ye=z-k+1;let Be=!1,Me=0;const cn=new Array(ye);for(d=0;d=ye){fe(He,x,O,!0);continue}let _t;if(He.key!=null)_t=P.get(He.key);else for(J=k;J<=z;J++)if(cn[J-k]===0&&Vn(He,_[J])){_t=J;break}_t===void 0?fe(He,x,O,!0):(cn[_t-k]=d+1,_t>=Me?Me=_t:Be=!0,A(He,_[_t],m,null,x,O,G,U,g),oe++)}const Ls=Be?og(cn):un;for(J=Ls.length-1,d=ye-1;d>=0;d--){const He=k+d,_t=_[He],hc=_[He+1],mc=He+1{const{el:O,type:G,transition:U,children:g,shapeFlag:d}=p;if(d&6){de(p.component.subTree,_,m,N);return}if(d&128){p.suspense.move(_,m,N);return}if(d&64){G.move(p,_,m,Ze);return}if(G===Ye){o(O,_,m);for(let w=0;wU.enter(O),x));else{const{leave:w,delayLeave:z,afterLeave:K}=U,k=()=>{p.ctx.isUnmounted?a(O):o(O,_,m)},P=()=>{const J=O._isLeaving||!!O[ka];O._isLeaving&&O[ka](!0),U.persisted&&!J?k():w(O,()=>{k(),K&&K()})};z?z(O,k,P):P()}else o(O,_,m)},fe=(p,_,m,N=!1,x=!1)=>{const{type:O,props:G,ref:U,children:g,dynamicChildren:d,shapeFlag:E,patchFlag:w,dirs:z,cacheIndex:K,memo:k}=p;if(w===-2&&(x=!1),U!=null&&(ct(),Bn(U,null,m,p,!0),ut()),K!=null&&(_.renderCache[K]=void 0),E&256){_.ctx.deactivate(p);return}const P=E&1&&z,J=!Kn(p);let oe;if(J&&(oe=G&&G.onVnodeBeforeUnmount)&&ht(oe,_,p),E&6)ln(p.component,m,N);else{if(E&128){p.suspense.unmount(m,N);return}P&&en(p,null,_,"beforeUnmount"),E&64?p.type.remove(p,_,m,Ze,N):d&&!d.hasOnce&&(O!==Ye||w>0&&w&64)?it(d,_,m,!1,!0):(O===Ye&&w&384||!x&&E&16)&&it(g,_,m),N&&je(p)}const ye=k!=null&&K==null;(J&&(oe=G&&G.onVnodeUnmounted)||P||ye)&&Ke(()=>{oe&&ht(oe,_,p),P&&en(p,null,_,"unmounted"),ye&&(p.el=null)},m)},je=p=>{const{type:_,el:m,anchor:N,transition:x}=p;if(_===Ye){Yt(m,N);return}if(_===Da){h(p);return}const O=()=>{a(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:G,delayLeave:U}=x,g=()=>G(m,O);U?U(p.el,O,g):g()}else O()},Yt=(p,_)=>{let m;for(;p!==_;)m=b(p),a(p),p=m;a(_)},ln=(p,_,m)=>{const{bum:N,scope:x,job:O,subTree:G,um:U,m:g,a:d}=p;Hi(g),Hi(d),N&&aa(N),x.stop(),O&&(O.flags|=8,fe(G,p,_,m)),U&&Ke(U,_),Ke(()=>{p.isUnmounted=!0},_)},it=(p,_,m,N=!1,x=!1,O=0)=>{for(let G=O;G{if(p.shapeFlag&6)return Dt(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const _=b(p.anchor||p.el),m=_&&_[bu];return m?b(m):_};let Ft=!1;const Jt=(p,_,m)=>{let N;p==null?_._vnode&&(fe(_._vnode,null,null,!0),N=_._vnode.component):A(_._vnode||null,p,_,null,null,null,m),_._vnode=p,Ft||(Ft=!0,ui(N),gi(),Ft=!1)},Ze={p:A,um:fe,m:de,r:je,mt:Y,mc:F,pc:V,pbc:W,n:Dt,o:e};return{render:Jt,hydrate:void 0,createApp:Bu(Jt)}}function Ra({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function on({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ng(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function zi(e,t,n=!1){const o=e.children,a=t.children;if(Z(o)&&Z(a))for(let s=0;s>1,e[n[r]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function qi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qi(t)}function Hi(e){if(e)for(let t=0;te.__isSuspense;function ag(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):uu(e)}const Ye=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),Da=Symbol.for("v-stc"),an=[];let ze=null;function qe(e=!1){an.push(ze=e?null:[])}function Yi(){an.pop(),ze=an[an.length-1]||null}let Hn=1;function Do(e,t=!1){Hn+=e,e<0&&ze&&t&&(ze.hasOnce=!0)}function Ji(e){return e.dynamicChildren=Hn>0?ze||un:null,Yi(),Hn>0&&ze&&ze.push(e),e}function Et(e,t,n,o,a,s){return Ji($e(e,t,n,o,a,s,!0))}function Fo(e,t,n,o,a){return Ji(Ne(e,t,n,o,a,!0))}function Oo(e){return e?e.__v_isVNode===!0:!1}function Vn(e,t){return e.type===t.type&&e.key===t.key}const Xi=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||ve(e)||te(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function $e(e,t=null,n=null,o=0,a=null,s=e===Ye?0:1,i=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xi(t),ref:t&&xo(t),scopeId:fi,slotScopeIds:null,children:n,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:s,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:nt};return r?(jo(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ae(n)?8:16),Hn>0&&!i&&ze&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ze.push(l),l}const Ne=sg;function sg(e,t=null,n=null,o=0,a=null,s=!1){if((!e||e===Si)&&(e=Tt),Oo(e)){const r=mn(e,t,!0);return n&&jo(r,n),Hn>0&&!s&&ze&&(r.shapeFlag&6?ze[ze.indexOf(e)]=r:ze.push(r)),r.patchFlag=-2,r}if(bg(e)&&(e=e.__vccOpts),t){t=ig(t);let{class:r,style:l}=t;r&&!Ae(r)&&(t.class=Nn(r)),ce(l)&&(So(l)&&!Z(l)&&(l=ke({},l)),t.style=go(l))}const i=Ae(e)?1:Wi(e)?128:Lo(e)?64:ce(e)?4:te(e)?2:0;return $e(e,t,n,o,a,i,s,!0)}function ig(e){return e?So(e)||Oi(e)?ke({},e):e:null}function mn(e,t,n=!1,o=!1){const{props:a,ref:s,patchFlag:i,children:r,transition:l}=e,c=t?rg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xi(c),ref:t&&t.ref?n&&s?Z(s)?s.concat(xo(t)):[s,xo(t)]:xo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Ta(u,l.clone(u)),u}function $t(e=" ",t=0){return Ne(qn,null,e,t)}function bn(e="",t=!1){return t?(qe(),Fo(Tt,null,e)):Ne(Tt,null,e)}function pt(e){return e==null||typeof e=="boolean"?Ne(Tt):Z(e)?Ne(Ye,null,e.slice()):Oo(e)?Lt(e):Ne(qn,null,String(e))}function Lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function jo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(o&65){const a=t.default;a&&(a._c&&(a._d=!1),jo(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Oi(t)?t._ctx=nt:a===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(te(t)){if(o&65){jo(e,{default:t});return}t={default:t,_ctx:nt},n=32}else t=String(t),o&64?(n=16,t=[$t(t)]):n=8;e.children=t,e.shapeFlag|=n}function rg(...e){const t={};for(let n=0;nPe||nt;let Bo,Wn;{const e=uo(),t=(n,o)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(o),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};Bo=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),Wn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const Yn=e=>{const t=Pe;return Bo(e),e.scope.on(),()=>{e.scope.off(),Bo(t)}},Zi=()=>{Pe&&Pe.scope.off(),Bo(null)};function Qi(e){return e.vnode.shapeFlag&4}let _n=!1;function gg(e,t=!1,n=!1){t&&Wn(t);const{props:o,children:a}=e.vnode,s=Qi(e);Wu(e,o,s,t),Zu(e,a,n||t);const i=s?dg(e,t):void 0;return t&&Wn(!1),i}function dg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Mu);const{setup:o}=n;if(o){ct();const a=e.setupContext=o.length>1?pg(e):null,s=Yn(e),i=fn(o,e,0,[e.props,a]),r=ws(i);if(ut(),s(),(r||e.sp)&&!Kn(e)&&Ea(e),r){if(i.then(Zi,Zi),t)return i.then(l=>{Wn(!0);try{er(e,l,t)}finally{Wn(!1)}}).catch(l=>{On(l,e,0)});e.asyncDep=i}else er(e,i)}else tr(e)}function er(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=ii(t)),tr(e)}function tr(e,t,n){const o=e.type;e.render||(e.render=o.render||rt);{const a=Yn(e);ct();try{Ru(e)}finally{ut(),a()}}}const fg={get(e,t){return Re(e,"get",""),e[t]}};function pg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fg),slots:e.slots,emit:e.emit,expose:t}}function Fa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ii(Dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gn)return Gn[n](e)},has(t,n){return n in t||n in Gn}})):e.proxy}const hg=/(?:^|[-_])\w/g,mg=e=>e.replace(hg,t=>t.toUpperCase()).replace(/[-_]/g,"");function nr(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function or(e,t,n=!1){let o=nr(t);if(!o&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(o=a[1])}if(!o&&e){const a=s=>{for(const i in s)if(s[i]===t)return i};o=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return o?mg(o):n?"App":"Anonymous"}function bg(e){return te(e)&&"__vccOpts"in e}const he=(e,t)=>tu(e,t,_n);function ar(e,t,n){try{Do(-1);const o=arguments.length;return o===2?ce(t)&&!Z(t)?Oo(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Oo(n)&&(n=[n]),Ne(e,t,n))}finally{Do(1)}}const _g="3.5.42";/** +`],...iu(n))}),t}function iu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,a=` at <${or(e.component,e.type,o)}`,s=">"+n;return e.props?[a,...ru(e.props),s]:[a+s]}function ru(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...ri(o,e[o]))}),n.length>3&&t.push(" ..."),t}function ri(e,t,n){return Ae(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ve(t)?(t=ri(e,ie(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):te(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ie(t),n?t:[`${e}=`,t])}function fn(e,t,n,o){try{return o?e(...o):e()}catch(a){On(a,t,n)}}function tt(e,t,n,o){if(te(e)){const a=fn(e,t,n,o);return a&&ws(a)&&a.catch(s=>{On(s,t,n)}),a}if(Z(e)){const a=[];for(let s=0;s>>1,a=De[o],s=xn(a);s=xn(n)?De.push(e):De.splice(cu(t),0,e),e.flags|=1,ci()}}function ci(){$o||($o=li.then(di))}function uu(e){if(!Z(e))jt&&e.id===-1?jt.splice(hn+1,0,e):e.flags&1||(pn.push(e),e.flags|=1);else for(let t=0;txn(n)-xn(o));if(pn.length=0,jt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function di(e){try{for(dt=0;dt{o._d&&Do(-1);const s=Eo(t),i=an.length;let r;try{r=e(...a)}finally{for(let l=an.length;l>i;l--)Yi();Eo(s),o._d&&Do(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function en(e,t,n,o){const a=e.dirs,s=t&&t.dirs;for(let i=0;i1)return n&&te(t)?t.call(o&&o.proxy):t}}function du(){return!!(Ct()||nn)}const fu=Symbol.for("v-scx"),pu=()=>Fe(fu);function hu(e,t){return va(e,null,t)}function tn(e,t,n){return va(e,t,n)}function va(e,t,n=me){const{immediate:o,deep:a,flush:s,once:i}=n,r=ke({},n),l=t&&o||!t&&s!=="post";let c;if(_n){if(s==="sync"){const v=pu();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=rt,v.resume=rt,v.pause=rt,v}}const u=Pe;r.call=(v,E,A)=>tt(v,u,E,A);let f=!1;s==="post"?r.scheduler=v=>{Ke(v,u&&u.suspense)}:s!=="sync"&&(f=!0,r.scheduler=(v,E)=>{E?v():Sa(v)}),r.augmentJob=v=>{t&&(v.flags|=4),f&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const b=ou(e,t,r);return _n&&(c?c.push(b):l&&b()),b}function mu(e,t,n){const o=this.proxy,a=Ae(e)?e.includes(".")?pi(o,e):()=>o[e]:e.bind(o,o);let s;te(t)?s=t:(s=t.handler,n=t);const i=Yn(this),r=va(a,s.bind(o),n);return i(),r}function pi(e,t){const n=t.split(".");return()=>{let o=e;for(let a=0;ae.__isTeleport,ka=Symbol("_leaveCb");function _u(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Tt){t=n;break}}return t}function hi(e){if(!wo(e))return Lo(e.type)&&e.children?_u(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function Ta(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Ta(Lo(n.type)&&hi(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function jn(e,t){return te(e)?ke({name:e.name},t,{setup:e}):e}function $a(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mi(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Co=new WeakMap;function Bn(e,t,n,o,a=!1){if(Z(e)){e.forEach((A,R)=>Bn(A,t&&(Z(t)?t[R]:t),n,o,a));return}if(Kn(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Bn(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?Fa(o.component):o.el,i=a?null:s,{i:r,r:l}=e,c=t&&t.r,u=r.refs===me?r.refs={}:r.refs,f=r.setupState,b=ie(f),v=f===me?Cs:A=>mi(u,A)?!1:le(b,A),E=(A,R)=>!(R&&mi(u,R));if(c!=null&&c!==l){if(bi(t),Ae(c))u[c]=null,v(c)&&(f[c]=null);else if(ve(c)){const A=t;E(c,A.k)&&(c.value=null),A.k&&(u[A.k]=null)}}if(te(l))fn(l,r,12,[i,u]);else{const A=Ae(l),R=ve(l);if(A||R){const M=()=>{if(e.f){const L=A?v(l)?f[l]:u[l]:E()||!e.k?l.value:u[e.k];if(a)Z(L)&&na(L,s);else if(Z(L))L.includes(s)||L.push(s);else if(A)u[l]=[s],v(l)&&(f[l]=u[l]);else{const y=[s];E(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else A?(u[l]=i,v(l)&&(f[l]=i)):R&&(E(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const L=()=>{M(),Co.delete(e)};L.id=-1,Co.set(e,L),Ke(L,n)}else bi(e),M()}}}function bi(e){const t=Co.get(e);t&&(t.flags|=8,Co.delete(e))}const _i=e=>e.nodeType===8;uo().requestIdleCallback,uo().cancelIdleCallback;function yu(e,t){if(_i(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(_i(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Kn=e=>!!e.type.__asyncLoader;function Au(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:a=200,hydrate:s,timeout:i,suspensible:r=!0,onError:l}=e;let c=null,u,f=0;const b=()=>(f++,c=null,v()),v=()=>{let E;return c||(E=c=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),l)return new Promise((R,M)=>{l(A,()=>R(b()),()=>M(A),f+1)});throw A}).then(A=>E!==c&&c?c:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),u=A,A)))};return jn({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(E,A,R){const M=E.isConnected;let L=!1;(A.bu||(A.bu=[])).push(()=>L=!0);const y=()=>{L||!E.parentNode||M&&!E.isConnected||R()},h=s?()=>{const T=s(y,C=>yu(E,C));T&&(A.bum||(A.bum=[])).push(T)}:y;u?h():v().then(()=>!A.isUnmounted&&h())},get __asyncResolved(){return u},setup(){const E=Pe;if($a(E),u)return()=>No(u,E);const A=T=>{c=null,On(T,E,13,!o)};if(r&&E.suspense||_n)return v().then(T=>()=>No(T,E)).catch(T=>(A(T),()=>o?Ne(o,{error:T}):null));const R=pe(!1),M=pe(),L=pe(!!a);let y,h;return Io(()=>{y!=null&&clearTimeout(y),h!=null&&clearTimeout(h)}),a&&(h=setTimeout(()=>{E.isUnmounted||(L.value=!1)},a)),i!=null&&(y=setTimeout(()=>{if(!E.isUnmounted&&!R.value&&!M.value){const T=new Error(`Async component timed out after ${i}ms.`);A(T),M.value=T}},i)),v().then(()=>{E.isUnmounted||(R.value=!0,E.parent&&wo(E.parent.vnode)&&E.parent.update())}).catch(T=>{if(E.isUnmounted){c=null;return}A(T),M.value=T}),()=>{if(R.value&&u)return No(u,E);if(M.value&&o)return Ne(o,{error:M.value});if(n&&!L.value)return No(n,E)}}})}function No(e,t){const{ref:n,props:o,children:a,ce:s}=t.vnode,i=Ne(e,o,a);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const wo=e=>e.type.__isKeepAlive;function Su(e,t){yi(e,"a",t)}function vu(e,t){yi(e,"da",t)}function yi(e,t,n=Pe){const o=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Po(t,o,n),n){let a=n.parent;for(;a&&a.parent;)wo(a.parent.vnode)&&ku(o,t,n,a),a=a.parent}}function ku(e,t,n,o){const a=Po(t,e,o,!0);Io(()=>{na(o[t],a)},n)}function Po(e,t,n=Pe,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ct();const r=Yn(n),l=tt(t,n,e,i);return r(),ut(),l});return o?a.unshift(s):a.push(s),s}}const kt=e=>(t,n=Pe)=>{(!_n||e==="sp")&&Po(e,(...o)=>t(...o),n)},Ai=kt("bm"),Un=kt("m"),Tu=kt("bu"),$u=kt("u"),Ea=kt("bum"),Io=kt("um"),Eu=kt("sp"),Lu=kt("rtg"),Cu=kt("rtc");function Nu(e,t=Pe){Po("ec",e,t)}const wu="components",Si=Symbol.for("v-ndc");function vi(e){return Ae(e)?Pu(wu,e,!1)||e:e||Si}function Pu(e,t,n=!0,o=!1){const a=nt||Pe;if(a){const s=a.type;{const r=nr(s,!1);if(r&&(r===t||r===Ce(t)||r===co(Ce(t))))return s}const i=ki(a[e]||s[e],t)||ki(a.appContext[e],t);return!i&&o?s:i}}function ki(e,t){return e&&(e[t]||e[Ce(t)]||e[co(Ce(t))])}function Iu(e,t,n,o){let a;const s=n,i=Z(e);if(i||Ae(e)){const r=i&&St(e);let l=!1,c=!1;r&&(l=!Ge(e),c=vt(e),e=ho(e)),a=new Array(e.length);for(let u=0,f=e.length;ut(r,l,void 0,s));else{const r=Object.keys(e);a=new Array(r.length);for(let l=0,c=r.length;le?Qi(e)?Fa(e):La(e.parent):null,Gn=ke(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=>La(e.parent),$root:e=>La(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Li(e),$forceUpdate:e=>e.f||(e.f=()=>{Sa(e.update)}),$nextTick:e=>e.n||(e.n=Aa.bind(e.proxy)),$watch:e=>mu.bind(e)}),Ca=(e,t)=>e!==me&&!e.__isScriptSetup&&le(e,t),Mu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:a,props:s,accessCache:i,type:r,appContext:l}=e;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(Ca(o,t))return i[t]=1,o[t];if(a!==me&&le(a,t))return i[t]=2,a[t];if(le(s,t))return i[t]=3,s[t];if(n!==me&&le(n,t))return i[t]=4,n[t];Na&&(i[t]=0)}}const c=Gn[t];let u,f;if(c)return t==="$attrs"&&Re(e.attrs,"get",""),c(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(n!==me&&le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,le(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:a,ctx:s}=e;return Ca(a,t)?(a[t]=n,!0):o!==me&&le(o,t)?(o[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,props:s,type:i}},r){let l;return!!(n[r]||e!==me&&r[0]!=="$"&&le(e,r)||Ca(t,r)||le(s,r)||le(o,r)||le(Gn,r)||le(a.config.globalProperties,r)||(l=i.__cssModules)&&l[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ti(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Na=!0;function Ru(e){const t=Li(e),n=e.proxy,o=e.ctx;Na=!1,t.beforeCreate&&$i(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:i,watch:r,provide:l,inject:c,created:u,beforeMount:f,mounted:b,beforeUpdate:v,updated:E,activated:A,deactivated:R,beforeDestroy:M,beforeUnmount:L,destroyed:y,unmounted:h,render:T,renderTracked:C,renderTriggered:I,errorCaptured:F,serverPrefetch:S,expose:W,inheritAttrs:ae,components:H,directives:ee,filters:Y}=t;if(c&&Du(c,o,null),i)for(const B in i){const V=i[B];te(V)&&(o[B]=V.bind(n))}if(a){const B=a.call(n,n);ce(B)&&(e.data=yo(B))}if(Na=!0,s)for(const B in s){const V=s[B],X=te(V)?V.bind(n,n):te(V.get)?V.get.bind(n,n):rt,ue=!te(V)&&te(V.set)?V.set.bind(n):rt,de=he({get:X,set:ue});Object.defineProperty(o,B,{enumerable:!0,configurable:!0,get:()=>de.value,set:fe=>de.value=fe})}if(r)for(const B in r)Ei(r[B],o,n,B);if(l){const B=te(l)?l.call(n):l;Reflect.ownKeys(B).forEach(V=>{ft(V,B[V])})}u&&$i(u,e,"c");function j(B,V){Z(V)?V.forEach(X=>B(X.bind(n))):V&&B(V.bind(n))}if(j(Ai,f),j(Un,b),j(Tu,v),j($u,E),j(Su,A),j(vu,R),j(Nu,F),j(Cu,C),j(Lu,I),j(Ea,L),j(Io,h),j(Eu,S),Z(W))if(W.length){const B=e.exposed||(e.exposed={});W.forEach(V=>{Object.defineProperty(B,V,{get:()=>n[V],set:X=>n[V]=X,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===rt&&(e.render=T),ae!=null&&(e.inheritAttrs=ae),H&&(e.components=H),ee&&(e.directives=ee),S&&$a(e)}function Du(e,t,n=rt){Z(e)&&(e=wa(e));for(const o in e){const a=e[o];let s;ce(a)?"default"in a?s=Fe(a.from||o,a.default,!0):s=Fe(a.from||o):s=Fe(a),ve(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function $i(e,t,n){tt(Z(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ei(e,t,n,o){let a=o.includes(".")?pi(n,o):()=>n[o];if(Ae(e)){const s=t[e];te(s)&&tn(a,s)}else if(te(e))tn(a,e.bind(n));else if(ce(e))if(Z(e))e.forEach(s=>Ei(s,t,n,o));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&tn(a,s,e)}}function Li(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,r=s.get(t);let l;return r?l=r:!a.length&&!n&&!o?l=t:(l={},a.length&&a.forEach(c=>Mo(l,c,i,!0)),Mo(l,t,i)),ce(t)&&s.set(t,l),l}function Mo(e,t,n,o=!1){const{mixins:a,extends:s}=t;s&&Mo(e,s,n,!0),a&&a.forEach(i=>Mo(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const r=Fu[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Fu={data:Ci,props:Ni,emits:Ni,methods:zn,computed:zn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:zn,directives:zn,watch:xu,provide:Ci,inject:Ou};function Ci(e,t){return t?e?function(){return ke(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Ou(e,t){return zn(wa(e),wa(t))}function wa(e){if(Z(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${We(t)}Modifiers`];function Uu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||me;let a=n;const s=t.startsWith("update:"),i=s&&Ku(o,t.slice(7));i&&(i.trim&&(a=n.map(u=>Ae(u)?u.trim():u)),i.number&&(a=a.map(vc)));let r,l=o[r=oa(t)]||o[r=oa(Ce(t))];!l&&s&&(l=o[r=oa(We(t))]),l&&tt(l,e,6,a);const c=o[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,tt(c,e,6,a)}}const Gu=new WeakMap;function Pi(e,t,n=!1){const o=n?Gu:t.emitsCache,a=o.get(e);if(a!==void 0)return a;const s=e.emits;let i={},r=!1;if(!te(e)){const l=c=>{const u=Pi(c,t,!0);u&&(r=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!r?(ce(e)&&o.set(e,null),null):(Z(s)?s.forEach(l=>i[l]=null):ke(i,s),ce(e)&&o.set(e,i),i)}function Ro(e,t){return!e||!oo(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,We(t))||le(e,t))}function mb(){}function Ii(e){const{type:t,vnode:n,proxy:o,withProxy:a,propsOptions:[s],slots:i,attrs:r,emit:l,render:c,renderCache:u,props:f,data:b,setupState:v,ctx:E,inheritAttrs:A}=e,R=Eo(e);let M,L;try{if(n.shapeFlag&4){const h=a||o,T=h;M=pt(c.call(T,h,u,f,v,b,E)),L=r}else{const h=t;M=pt(h.length>1?h(f,{attrs:r,slots:i,emit:l}):h(f,null)),L=t.props?r:zu(r)}}catch(h){an.length=0,On(h,e,1),M=Ne(Tt)}let y=M;if(L&&A!==!1){const h=Object.keys(L),{shapeFlag:T}=y;h.length&&T&7&&(s&&h.some(ao)&&(L=qu(L,s)),y=mn(y,L,!1,!0))}if(n.dirs&&(y=mn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition){const h=Lo(y.type)&&hi(y)||y;Ta(h,n.transition)}return M=y,Eo(R),M}const zu=e=>{let t;for(const n in e)(n==="class"||n==="style"||oo(n))&&((t||(t={}))[n]=e[n]);return t},qu=(e,t)=>{const n={};for(const o in e)(!ao(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Hu(e,t,n){const{props:o,children:a,component:s}=e,{props:i,children:r,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Mi(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fObject.create(Di),Oi=e=>Object.getPrototypeOf(e)===Di;function Wu(e,t,n,o=!1){const a={},s=Fi();e.propsDefaults=Object.create(null),xi(e,t,a,s);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=o?a:Wc(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function Yu(e,t,n,o){const{props:a,attrs:s,vnode:{patchFlag:i}}=e,r=ie(a),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[b,v]=ji(f,t,!0);ke(i,b),v&&r.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return ce(e)&&o.set(e,un),un;if(Z(s))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ma=e=>Z(e)?e.map(pt):[pt(e)],Xu=(e,t,n)=>{if(t._n)return t;const o=gu((...a)=>Ma(t(...a)),n);return o._c=!1,o},Ki=(e,t,n)=>{const o=e._ctx;for(const a in e){if(Ia(a))continue;const s=e[a];if(te(s))t[a]=Xu(a,s,o);else if(s!=null){const i=Ma(s);t[a]=()=>i}}},Ui=(e,t)=>{const n=Ma(t);e.slots.default=()=>n},Gi=(e,t,n)=>{for(const o in t)(n||!Ia(o))&&(e[o]=t[o])},Zu=(e,t,n)=>{const o=e.slots=Fi();if(e.vnode.shapeFlag&32){const a=t._;a?(Gi(o,t,n),n&&Is(o,"_",a,!0)):Ki(t,o)}else t&&Ui(e,t)},Qu=(e,t,n)=>{const{vnode:o,slots:a}=e;let s=!0,i=me;if(o.shapeFlag&32){const r=t._;r?n&&r===1?s=!1:Gi(a,t,n):(s=!t.$stable,Ki(t,a)),i=t}else t&&(Ui(e,t),i={default:1});if(s)for(const r in a)!Ia(r)&&i[r]==null&&delete a[r]},Ke=ag;function eg(e){return tg(e)}function tg(e,t){const n=uo();n.__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:i,createText:r,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:b,setScopeId:v=rt,insertStaticContent:E}=e,A=(p,_,m,N=null,x=null,O=null,G=void 0,U=null,g=!!_.dynamicChildren)=>{if(p===_)return;p&&!Vn(p,_)&&(N=Dt(p),fe(p,x,O,!0),p=null),_.patchFlag===-2&&(g=!1,_.dynamicChildren=null);const{type:d,ref:$,shapeFlag:w}=_;switch(d){case qn:R(p,_,m,N);break;case Tt:M(p,_,m,N);break;case Da:p==null&&L(_,m,N,G);break;case Ye:H(p,_,m,N,x,O,G,U,g);break;default:w&1?T(p,_,m,N,x,O,G,U,g):w&6?ee(p,_,m,N,x,O,G,U,g):(w&64||w&128)&&d.process(p,_,m,N,x,O,G,U,g,Ze)}$!=null&&x?Bn($,p&&p.ref,O,_||p,!_):$==null&&p&&p.ref!=null&&Bn(p.ref,null,O,p,!0)},R=(p,_,m,N)=>{if(p==null)o(_.el=r(_.children),m,N);else{const x=_.el=p.el;_.children!==p.children&&c(x,_.children)}},M=(p,_,m,N)=>{p==null?o(_.el=l(_.children||""),m,N):_.el=p.el},L=(p,_,m,N)=>{[p.el,p.anchor]=E(p.children,_,m,N,p.el,p.anchor)},y=({el:p,anchor:_},m,N)=>{let x;for(;p&&p!==_;)x=b(p),o(p,m,N),p=x;o(_,m,N)},h=({el:p,anchor:_})=>{let m;for(;p&&p!==_;)m=b(p),a(p),p=m;a(_)},T=(p,_,m,N,x,O,G,U,g)=>{if(_.type==="svg"?G="svg":_.type==="math"&&(G="mathml"),p==null)C(_,m,N,x,O,G,U,g);else{const d=p.el&&p.el._isVueCE?p.el:null;try{d&&d._beginPatch(),S(p,_,x,O,G,U,g)}finally{d&&d._endPatch()}}},C=(p,_,m,N,x,O,G,U)=>{let g,d;const{props:$,shapeFlag:w,transition:z,dirs:K}=p;if(g=p.el=i(p.type,O,$&&$.is,$),w&8?u(g,p.children):w&16&&F(p.children,g,null,N,x,Ra(p,O),G,U),K&&en(p,null,N,"created"),I(g,p,p.scopeId,G,N),$){for(const P in $)P!=="value"&&!Cn(P)&&s(g,P,null,$[P],O,N);"value"in $&&s(g,"value",null,$.value,O),(d=$.onVnodeBeforeMount)&&ht(d,N,p)}K&&en(p,null,N,"beforeMount");const k=ng(x,z);k&&z.beforeEnter(g),o(g,_,m),((d=$&&$.onVnodeMounted)||k||K)&&Ke(()=>{try{d&&ht(d,N,p),k&&z.enter(g),K&&en(p,null,N,"mounted")}finally{}},x)},I=(p,_,m,N,x)=>{if(m&&v(p,m),N)for(let O=0;O{for(let d=g;d{const U=_.el=p.el;let{patchFlag:g,dynamicChildren:d,dirs:$}=_;g|=p.patchFlag&16;const w=p.props||me,z=_.props||me;let K;if(m&&on(m,!1),(K=z.onVnodeBeforeUpdate)&&ht(K,m,_,p),$&&en(_,p,m,"beforeUpdate"),m&&on(m,!0),d&&(!p.dynamicChildren||p.dynamicChildren.length!==d.length)&&(g=0,G=!1,d=null),(w.innerHTML&&z.innerHTML==null||w.textContent&&z.textContent==null)&&u(U,""),d?W(p.dynamicChildren,d,U,m,N,Ra(_,x),O):G||V(p,_,U,null,m,N,Ra(_,x),O,!1),g>0){if(g&16)ae(U,w,z,m,x);else if(g&2&&w.class!==z.class&&s(U,"class",null,z.class,x),g&4&&s(U,"style",w.style,z.style,x),g&8){const k=_.dynamicProps;for(let P=0;P{K&&ht(K,m,_,p),$&&en(_,p,m,"updated")},N)},W=(p,_,m,N,x,O,G)=>{for(let U=0;U<_.length;U++){const g=p[U],d=_[U],$=g.el&&(g.type===Ye||!Vn(g,d)||g.shapeFlag&198)?f(g.el):m;A(g,d,$,null,N,x,O,G,!0)}},ae=(p,_,m,N,x)=>{if(_!==m){if(_!==me)for(const O in _)!Cn(O)&&!(O in m)&&s(p,O,_[O],null,x,N);for(const O in m){if(Cn(O))continue;const G=m[O],U=_[O];G!==U&&O!=="value"&&s(p,O,U,G,x,N)}"value"in m&&s(p,"value",_.value,m.value,x)}},H=(p,_,m,N,x,O,G,U,g)=>{const d=_.el=p?p.el:r(""),$=_.anchor=p?p.anchor:r("");let{patchFlag:w,dynamicChildren:z,slotScopeIds:K}=_;K&&(U=U?U.concat(K):K),p==null?(o(d,m,N),o($,m,N),F(_.children||[],m,$,x,O,G,U,g)):w>0&&w&64&&z&&p.dynamicChildren&&p.dynamicChildren.length===z.length?(W(p.dynamicChildren,z,m,x,O,G,U),(_.key!=null||x&&_===x.subTree)&&zi(p,_,!0)):V(p,_,m,$,x,O,G,U,g)},ee=(p,_,m,N,x,O,G,U,g)=>{_.slotScopeIds=U,p==null?_.shapeFlag&512?x.ctx.activate(_,m,N,G,g):Y(_,m,N,x,O,G,g):D(p,_,g)},Y=(p,_,m,N,x,O,G)=>{const U=p.component=ug(p,N,x);if(wo(p)&&(U.ctx.renderer=Ze),gg(U,!1,G),U.asyncDep){if(x&&x.registerDep(U,j,G),!p.el){const g=U.subTree=Ne(Tt);M(null,g,_,m),p.placeholder=g.el}}else j(U,p,_,m,x,O,G)},D=(p,_,m)=>{const N=_.component=p.component;if(Hu(p,_,m))if(N.asyncDep&&!N.asyncResolved){B(N,_,m);return}else N.next=_,N.update();else _.el=p.el,N.vnode=_},j=(p,_,m,N,x,O,G)=>{const U=()=>{if(p.isMounted){let{next:w,bu:z,u:K,parent:k,vnode:P}=p;{const Me=qi(p);if(Me){w&&(w.el=P.el,B(p,w,G)),Me.asyncDep.then(()=>{Ke(()=>{p.isUnmounted||d()},x)});return}}let J=w,oe;on(p,!1),w?(w.el=P.el,B(p,w,G)):w=P,z&&aa(z),(oe=w.props&&w.props.onVnodeBeforeUpdate)&&ht(oe,k,w,P),on(p,!0);const ye=Ii(p),Be=p.subTree;p.subTree=ye,A(Be,ye,f(Be.el),Dt(Be),p,x,O),w.el=ye.el,J===null&&Vu(p,ye.el),K&&Ke(K,x),(oe=w.props&&w.props.onVnodeUpdated)&&Ke(()=>ht(oe,k,w,P),x)}else{let w;const{el:z,props:K}=_,{bm:k,m:P,parent:J,root:oe,type:ye}=p,Be=Kn(_);on(p,!1),k&&aa(k),!Be&&(w=K&&K.onVnodeBeforeMount)&&ht(w,J,_),on(p,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(ye,p.parent?p.parent.type:void 0);const Me=p.subTree=Ii(p);A(null,Me,m,N,p,x,O),_.el=Me.el}if(P&&Ke(P,x),!Be&&(w=K&&K.onVnodeMounted)){const Me=_;Ke(()=>ht(w,J,Me),x)}(_.shapeFlag&256||J&&Kn(J.vnode)&&J.vnode.shapeFlag&256)&&p.a&&Ke(p.a,x),p.isMounted=!0,_=m=N=null}};p.scope.on();const g=p.effect=new Ks(U);p.scope.off();const d=p.update=g.run.bind(g),$=p.job=g.runIfDirty.bind(g);$.i=p,$.id=p.uid,g.scheduler=()=>Sa($),on(p,!0),d()},B=(p,_,m)=>{_.component=p;const N=p.vnode.props;p.vnode=_,p.next=null,Yu(p,_.props,N,m),Qu(p,_.children,m),ct(),ui(p),ut()},V=(p,_,m,N,x,O,G,U,g=!1)=>{const d=p&&p.children,$=p?p.shapeFlag:0,w=_.children,{patchFlag:z,shapeFlag:K}=_;if(z>0){if(z&128){ue(d,w,m,N,x,O,G,U,g);return}else if(z&256){X(d,w,m,N,x,O,G,U,g);return}}K&8?($&16&&it(d,x,O),w!==d&&u(m,w)):$&16?K&16?ue(d,w,m,N,x,O,G,U,g):it(d,x,O,!0):($&8&&u(m,""),K&16&&F(w,m,N,x,O,G,U,g))},X=(p,_,m,N,x,O,G,U,g)=>{p=p||un,_=_||un;const d=p.length,$=_.length,w=Math.min(d,$);let z;for(z=0;z$?it(p,x,O,!0,!1,w):F(_,m,N,x,O,G,U,g,w)},ue=(p,_,m,N,x,O,G,U,g)=>{let d=0;const $=_.length;let w=p.length-1,z=$-1;for(;d<=w&&d<=z;){const K=p[d],k=_[d]=g?Lt(_[d]):pt(_[d]);if(Vn(K,k))A(K,k,m,null,x,O,G,U,g);else break;d++}for(;d<=w&&d<=z;){const K=p[w],k=_[z]=g?Lt(_[z]):pt(_[z]);if(Vn(K,k))A(K,k,m,null,x,O,G,U,g);else break;w--,z--}if(d>w){if(d<=z){const K=z+1,k=K<$?_[K].el:N;for(;d<=z;)A(null,_[d]=g?Lt(_[d]):pt(_[d]),m,k,x,O,G,U,g),d++}}else if(d>z)for(;d<=w;)fe(p[d],x,O,!0),d++;else{const K=d,k=d,P=new Map;for(d=k;d<=z;d++){const He=_[d]=g?Lt(_[d]):pt(_[d]);He.key!=null&&P.set(He.key,d)}let J,oe=0;const ye=z-k+1;let Be=!1,Me=0;const cn=new Array(ye);for(d=0;d=ye){fe(He,x,O,!0);continue}let _t;if(He.key!=null)_t=P.get(He.key);else for(J=k;J<=z;J++)if(cn[J-k]===0&&Vn(He,_[J])){_t=J;break}_t===void 0?fe(He,x,O,!0):(cn[_t-k]=d+1,_t>=Me?Me=_t:Be=!0,A(He,_[_t],m,null,x,O,G,U,g),oe++)}const Ls=Be?og(cn):un;for(J=Ls.length-1,d=ye-1;d>=0;d--){const He=k+d,_t=_[He],hc=_[He+1],mc=He+1<$?hc.el||Vi(hc):N;cn[d]===0?A(null,_t,m,mc,x,O,G,U,g):Be&&(J<0||d!==Ls[J]?de(_t,m,mc,2):J--)}}},de=(p,_,m,N,x=null)=>{const{el:O,type:G,transition:U,children:g,shapeFlag:d}=p;if(d&6){de(p.component.subTree,_,m,N);return}if(d&128){p.suspense.move(_,m,N);return}if(d&64){G.move(p,_,m,Ze);return}if(G===Ye){o(O,_,m);for(let w=0;wU.enter(O),x));else{const{leave:w,delayLeave:z,afterLeave:K}=U,k=()=>{p.ctx.isUnmounted?a(O):o(O,_,m)},P=()=>{const J=O._isLeaving||!!O[ka];O._isLeaving&&O[ka](!0),U.persisted&&!J?k():w(O,()=>{k(),K&&K()})};z?z(O,k,P):P()}else o(O,_,m)},fe=(p,_,m,N=!1,x=!1)=>{const{type:O,props:G,ref:U,children:g,dynamicChildren:d,shapeFlag:$,patchFlag:w,dirs:z,cacheIndex:K,memo:k}=p;if(w===-2&&(x=!1),U!=null&&(ct(),Bn(U,null,m,p,!0),ut()),K!=null&&(_.renderCache[K]=void 0),$&256){_.ctx.deactivate(p);return}const P=$&1&&z,J=!Kn(p);let oe;if(J&&(oe=G&&G.onVnodeBeforeUnmount)&&ht(oe,_,p),$&6)ln(p.component,m,N);else{if($&128){p.suspense.unmount(m,N);return}P&&en(p,null,_,"beforeUnmount"),$&64?p.type.remove(p,_,m,Ze,N):d&&!d.hasOnce&&(O!==Ye||w>0&&w&64)?it(d,_,m,!1,!0):(O===Ye&&w&384||!x&&$&16)&&it(g,_,m),N&&je(p)}const ye=k!=null&&K==null;(J&&(oe=G&&G.onVnodeUnmounted)||P||ye)&&Ke(()=>{oe&&ht(oe,_,p),P&&en(p,null,_,"unmounted"),ye&&(p.el=null)},m)},je=p=>{const{type:_,el:m,anchor:N,transition:x}=p;if(_===Ye){Yt(m,N);return}if(_===Da){h(p);return}const O=()=>{a(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:G,delayLeave:U}=x,g=()=>G(m,O);U?U(p.el,O,g):g()}else O()},Yt=(p,_)=>{let m;for(;p!==_;)m=b(p),a(p),p=m;a(_)},ln=(p,_,m)=>{const{bum:N,scope:x,job:O,subTree:G,um:U,m:g,a:d}=p;Hi(g),Hi(d),N&&aa(N),x.stop(),O&&(O.flags|=8,fe(G,p,_,m)),U&&Ke(U,_),Ke(()=>{p.isUnmounted=!0},_)},it=(p,_,m,N=!1,x=!1,O=0)=>{for(let G=O;G{if(p.shapeFlag&6)return Dt(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const _=b(p.anchor||p.el),m=_&&_[bu];return m?b(m):_};let Ft=!1;const Jt=(p,_,m)=>{let N;p==null?_._vnode&&(fe(_._vnode,null,null,!0),N=_._vnode.component):A(_._vnode||null,p,_,null,null,null,m),_._vnode=p,Ft||(Ft=!0,ui(N),gi(),Ft=!1)},Ze={p:A,um:fe,m:de,r:je,mt:Y,mc:F,pc:V,pbc:W,n:Dt,o:e};return{render:Jt,hydrate:void 0,createApp:Bu(Jt)}}function Ra({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function on({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ng(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function zi(e,t,n=!1){const o=e.children,a=t.children;if(Z(o)&&Z(a))for(let s=0;s>1,e[n[r]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function qi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qi(t)}function Hi(e){if(e)for(let t=0;te.__isSuspense;function ag(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):uu(e)}const Ye=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),Da=Symbol.for("v-stc"),an=[];let ze=null;function qe(e=!1){an.push(ze=e?null:[])}function Yi(){an.pop(),ze=an[an.length-1]||null}let Hn=1;function Do(e,t=!1){Hn+=e,e<0&&ze&&t&&(ze.hasOnce=!0)}function Ji(e){return e.dynamicChildren=Hn>0?ze||un:null,Yi(),Hn>0&&ze&&ze.push(e),e}function $t(e,t,n,o,a,s){return Ji(Ee(e,t,n,o,a,s,!0))}function Fo(e,t,n,o,a){return Ji(Ne(e,t,n,o,a,!0))}function Oo(e){return e?e.__v_isVNode===!0:!1}function Vn(e,t){return e.type===t.type&&e.key===t.key}const Xi=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||ve(e)||te(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function Ee(e,t=null,n=null,o=0,a=null,s=e===Ye?0:1,i=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xi(t),ref:t&&xo(t),scopeId:fi,slotScopeIds:null,children:n,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:s,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:nt};return r?(jo(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ae(n)?8:16),Hn>0&&!i&&ze&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ze.push(l),l}const Ne=sg;function sg(e,t=null,n=null,o=0,a=null,s=!1){if((!e||e===Si)&&(e=Tt),Oo(e)){const r=mn(e,t,!0);return n&&jo(r,n),Hn>0&&!s&&ze&&(r.shapeFlag&6?ze[ze.indexOf(e)]=r:ze.push(r)),r.patchFlag=-2,r}if(bg(e)&&(e=e.__vccOpts),t){t=ig(t);let{class:r,style:l}=t;r&&!Ae(r)&&(t.class=Nn(r)),ce(l)&&(So(l)&&!Z(l)&&(l=ke({},l)),t.style=go(l))}const i=Ae(e)?1:Wi(e)?128:Lo(e)?64:ce(e)?4:te(e)?2:0;return Ee(e,t,n,o,a,i,s,!0)}function ig(e){return e?So(e)||Oi(e)?ke({},e):e:null}function mn(e,t,n=!1,o=!1){const{props:a,ref:s,patchFlag:i,children:r,transition:l}=e,c=t?rg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xi(c),ref:t&&t.ref?n&&s?Z(s)?s.concat(xo(t)):[s,xo(t)]:xo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Ta(u,l.clone(u)),u}function Et(e=" ",t=0){return Ne(qn,null,e,t)}function bn(e="",t=!1){return t?(qe(),Fo(Tt,null,e)):Ne(Tt,null,e)}function pt(e){return e==null||typeof e=="boolean"?Ne(Tt):Z(e)?Ne(Ye,null,e.slice()):Oo(e)?Lt(e):Ne(qn,null,String(e))}function Lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function jo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(o&65){const a=t.default;a&&(a._c&&(a._d=!1),jo(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Oi(t)?t._ctx=nt:a===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(te(t)){if(o&65){jo(e,{default:t});return}t={default:t,_ctx:nt},n=32}else t=String(t),o&64?(n=16,t=[Et(t)]):n=8;e.children=t,e.shapeFlag|=n}function rg(...e){const t={};for(let n=0;nPe||nt;let Bo,Wn;{const e=uo(),t=(n,o)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(o),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};Bo=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),Wn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const Yn=e=>{const t=Pe;return Bo(e),e.scope.on(),()=>{e.scope.off(),Bo(t)}},Zi=()=>{Pe&&Pe.scope.off(),Bo(null)};function Qi(e){return e.vnode.shapeFlag&4}let _n=!1;function gg(e,t=!1,n=!1){t&&Wn(t);const{props:o,children:a}=e.vnode,s=Qi(e);Wu(e,o,s,t),Zu(e,a,n||t);const i=s?dg(e,t):void 0;return t&&Wn(!1),i}function dg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Mu);const{setup:o}=n;if(o){ct();const a=e.setupContext=o.length>1?pg(e):null,s=Yn(e),i=fn(o,e,0,[e.props,a]),r=ws(i);if(ut(),s(),(r||e.sp)&&!Kn(e)&&$a(e),r){if(i.then(Zi,Zi),t)return i.then(l=>{Wn(!0);try{er(e,l,t)}finally{Wn(!1)}}).catch(l=>{On(l,e,0)});e.asyncDep=i}else er(e,i)}else tr(e)}function er(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=ii(t)),tr(e)}function tr(e,t,n){const o=e.type;e.render||(e.render=o.render||rt);{const a=Yn(e);ct();try{Ru(e)}finally{ut(),a()}}}const fg={get(e,t){return Re(e,"get",""),e[t]}};function pg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fg),slots:e.slots,emit:e.emit,expose:t}}function Fa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ii(Dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gn)return Gn[n](e)},has(t,n){return n in t||n in Gn}})):e.proxy}const hg=/(?:^|[-_])\w/g,mg=e=>e.replace(hg,t=>t.toUpperCase()).replace(/[-_]/g,"");function nr(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function or(e,t,n=!1){let o=nr(t);if(!o&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(o=a[1])}if(!o&&e){const a=s=>{for(const i in s)if(s[i]===t)return i};o=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return o?mg(o):n?"App":"Anonymous"}function bg(e){return te(e)&&"__vccOpts"in e}const he=(e,t)=>tu(e,t,_n);function ar(e,t,n){try{Do(-1);const o=arguments.length;return o===2?ce(t)&&!Z(t)?Oo(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Oo(n)&&(n=[n]),Ne(e,t,n))}finally{Do(1)}}const _g="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Oa;const sr=typeof window<"u"&&window.trustedTypes;if(sr)try{Oa=sr.createPolicy("vue",{createHTML:e=>e})}catch{}const ir=Oa?e=>Oa.createHTML(e):e=>e,yg="http://www.w3.org/2000/svg",Ag="http://www.w3.org/1998/Math/MathML",Nt=typeof document<"u"?document:null,rr=Nt&&Nt.createElement("template"),Sg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const a=t==="svg"?Nt.createElementNS(yg,e):t==="mathml"?Nt.createElementNS(Ag,e):n?Nt.createElement(e,{is:n}):Nt.createElement(e);return e==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:e=>Nt.createTextNode(e),createComment:e=>Nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,a,s){const i=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{rr.innerHTML=ir(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const r=rr.content;if(o==="svg"||o==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vg=Symbol("_vtc");function kg(e,t,n){const o=e[vg];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const lr=Symbol("_vod"),Tg=Symbol("_vsh"),Eg=Symbol(""),$g=/(?:^|;)\s*display\s*:/;function Lg(e,t,n){const o=e.style,a=Ae(n);let s=!1;if(n&&!a){if(t)if(Ae(t))for(const i of t.split(";")){const r=i.slice(0,i.indexOf(":")).trim();n[r]==null&&Jn(o,r,"")}else for(const i in t)n[i]==null&&Jn(o,i,"");for(const i in n){i==="display"&&(s=!0);const r=n[i];r!=null?Ng(e,i,!Ae(t)&&t?t[i]:void 0,r)||Jn(o,i,r):Jn(o,i,"")}}else if(a){if(t!==n){const i=o[Eg];i&&(n+=";"+i),o.cssText=n,s=$g.test(n)}}else t&&e.removeAttribute("style");lr in e&&(e[lr]=s?o.display:"",e[Tg]&&(o.display="none"))}const Ko=/\s*!important$/;function Jn(e,t,n){if(Z(n))n.forEach(o=>Jn(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))Ko.test(n)?e.setProperty(t,n.replace(Ko,""),"important"):e.setProperty(t,n);else{const o=Cg(e,t);Ko.test(n)?e.setProperty(We(o),n.replace(Ko,""),"important"):e[o]=n}}const cr=["Webkit","Moz","ms"],xa={};function Cg(e,t){const n=xa[t];if(n)return n;let o=Ce(t);if(o!=="filter"&&o in e)return xa[t]=o;o=co(o);for(let a=0;aja||(Fg.then(()=>ja=0),ja=Date.now());function xg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const a=n.value;if(Z(a)){const s=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{s.call(o),o._stopped=!0};const i=a.slice(),r=[o];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jg=(e,t,n,o,a,s)=>{const i=a==="svg";t==="class"?kg(e,o,i):t==="style"?Lg(e,n,o):oo(t)?ao(t)||Ig(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bg(e,t,o,i))?(dr(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gr(e,t,o,i,s,t!=="value")):e._isVueCE&&(Kg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ae(o)))?dr(e,Ce(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),gr(e,t,o,i))};function Bg(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&pr(t)&&te(n));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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return pr(t)&&Ae(n)?!1:t in e}function Kg(e,t){const n=e._def.props;if(!n)return!1;const o=Ce(t);return Array.isArray(n)?n.some(a=>Ce(a)===o):Object.keys(n).some(a=>Ce(a)===o)}const hr={};function Ug(e,t,n){let o=jn(e,t);io(o)&&(o=ke({},o,t));class a extends Ba{constructor(i){super(o,i,n)}}return a.def=o,a}const Gg=typeof HTMLElement<"u"?HTMLElement:class{};class Ba extends Gg{constructor(t,n={},o=_r){super(),this._def=t,this._props=n,this._createApp=o,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&&o!==_r?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ke({},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 Ba){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,Aa(()=>{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 n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=o;let r;if(s&&!Z(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ms(this._props[l])),(r||(r=Object.create(null)))[Ce(l)]=!0)}this._numberProps=r,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!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 n=this._instance&&this._instance.exposed;if(n)for(const o in n)le(this,o)||Object.defineProperty(this,o,{get:()=>vo(n[o])})}_resolveProps(t){const{props:n}=t,o=Z(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&o.includes(a)&&this._setProp(a,this[a]);for(const a of o.map(Ce))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let o=n?this.getAttribute(t):hr;const a=Ce(t);n&&this._numberProps&&this._numberProps[a]&&(o=Ms(o)),this._setProp(a,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,a=!1){if(n!==this._props[t]&&(this._dirty=!0,n===hr?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),o)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(We(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(We(t),n+""):n||this.removeAttribute(We(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),qg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Ne(this._def,ke(t,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const a=(s,i)=>{this.dispatchEvent(new CustomEvent(s,io(i[0])?ke({detail:i},i[0]):{detail:i}))};o.emit=(s,...i)=>{a(s,i),We(s)!==s&&a(We(s),i)},this._setParent()}),n}_applyStyles(t,n,o){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const a=this._nonce,s=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);let r=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],s.insertBefore(c,r||i),r=c,l===0&&(o||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n{br().render(...e)},_r=(...e)=>{const t=br().createApp(...e),{mount:n}=t;return t.mount=o=>{const a=Vg(o);if(!a)return;const s=t._component;!te(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,Hg(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t};function Hg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vg(e){return Ae(e)?document.querySelector(e):e}/*! +**/let Oa;const sr=typeof window<"u"&&window.trustedTypes;if(sr)try{Oa=sr.createPolicy("vue",{createHTML:e=>e})}catch{}const ir=Oa?e=>Oa.createHTML(e):e=>e,yg="http://www.w3.org/2000/svg",Ag="http://www.w3.org/1998/Math/MathML",Nt=typeof document<"u"?document:null,rr=Nt&&Nt.createElement("template"),Sg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const a=t==="svg"?Nt.createElementNS(yg,e):t==="mathml"?Nt.createElementNS(Ag,e):n?Nt.createElement(e,{is:n}):Nt.createElement(e);return e==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:e=>Nt.createTextNode(e),createComment:e=>Nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,a,s){const i=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{rr.innerHTML=ir(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const r=rr.content;if(o==="svg"||o==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vg=Symbol("_vtc");function kg(e,t,n){const o=e[vg];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const lr=Symbol("_vod"),Tg=Symbol("_vsh"),$g=Symbol(""),Eg=/(?:^|;)\s*display\s*:/;function Lg(e,t,n){const o=e.style,a=Ae(n);let s=!1;if(n&&!a){if(t)if(Ae(t))for(const i of t.split(";")){const r=i.slice(0,i.indexOf(":")).trim();n[r]==null&&Jn(o,r,"")}else for(const i in t)n[i]==null&&Jn(o,i,"");for(const i in n){i==="display"&&(s=!0);const r=n[i];r!=null?Ng(e,i,!Ae(t)&&t?t[i]:void 0,r)||Jn(o,i,r):Jn(o,i,"")}}else if(a){if(t!==n){const i=o[$g];i&&(n+=";"+i),o.cssText=n,s=Eg.test(n)}}else t&&e.removeAttribute("style");lr in e&&(e[lr]=s?o.display:"",e[Tg]&&(o.display="none"))}const Ko=/\s*!important$/;function Jn(e,t,n){if(Z(n))n.forEach(o=>Jn(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))Ko.test(n)?e.setProperty(t,n.replace(Ko,""),"important"):e.setProperty(t,n);else{const o=Cg(e,t);Ko.test(n)?e.setProperty(We(o),n.replace(Ko,""),"important"):e[o]=n}}const cr=["Webkit","Moz","ms"],xa={};function Cg(e,t){const n=xa[t];if(n)return n;let o=Ce(t);if(o!=="filter"&&o in e)return xa[t]=o;o=co(o);for(let a=0;aja||(Fg.then(()=>ja=0),ja=Date.now());function xg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const a=n.value;if(Z(a)){const s=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{s.call(o),o._stopped=!0};const i=a.slice(),r=[o];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jg=(e,t,n,o,a,s)=>{const i=a==="svg";t==="class"?kg(e,o,i):t==="style"?Lg(e,n,o):oo(t)?ao(t)||Ig(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bg(e,t,o,i))?(dr(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gr(e,t,o,i,s,t!=="value")):e._isVueCE&&(Kg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ae(o)))?dr(e,Ce(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),gr(e,t,o,i))};function Bg(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&pr(t)&&te(n));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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return pr(t)&&Ae(n)?!1:t in e}function Kg(e,t){const n=e._def.props;if(!n)return!1;const o=Ce(t);return Array.isArray(n)?n.some(a=>Ce(a)===o):Object.keys(n).some(a=>Ce(a)===o)}const hr={};function Ug(e,t,n){let o=jn(e,t);io(o)&&(o=ke({},o,t));class a extends Ba{constructor(i){super(o,i,n)}}return a.def=o,a}const Gg=typeof HTMLElement<"u"?HTMLElement:class{};class Ba extends Gg{constructor(t,n={},o=_r){super(),this._def=t,this._props=n,this._createApp=o,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&&o!==_r?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ke({},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 Ba){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,Aa(()=>{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 n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=o;let r;if(s&&!Z(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ms(this._props[l])),(r||(r=Object.create(null)))[Ce(l)]=!0)}this._numberProps=r,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!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 n=this._instance&&this._instance.exposed;if(n)for(const o in n)le(this,o)||Object.defineProperty(this,o,{get:()=>vo(n[o])})}_resolveProps(t){const{props:n}=t,o=Z(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&o.includes(a)&&this._setProp(a,this[a]);for(const a of o.map(Ce))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(s){this._setProp(a,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let o=n?this.getAttribute(t):hr;const a=Ce(t);n&&this._numberProps&&this._numberProps[a]&&(o=Ms(o)),this._setProp(a,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,a=!1){if(n!==this._props[t]&&(this._dirty=!0,n===hr?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),o)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(We(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(We(t),n+""):n||this.removeAttribute(We(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),qg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Ne(this._def,ke(t,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const a=(s,i)=>{this.dispatchEvent(new CustomEvent(s,io(i[0])?ke({detail:i},i[0]):{detail:i}))};o.emit=(s,...i)=>{a(s,i),We(s)!==s&&a(We(s),i)},this._setParent()}),n}_applyStyles(t,n,o){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const a=this._nonce,s=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);let r=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");a&&c.setAttribute("nonce",a),c.textContent=t[l],s.insertBefore(c,r||i),r=c,l===0&&(o||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n{br().render(...e)},_r=(...e)=>{const t=br().createApp(...e),{mount:n}=t;return t.mount=o=>{const a=Vg(o);if(!a)return;const s=t._component;!te(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,Hg(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t};function Hg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vg(e){return Ae(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let yr;const Uo=e=>yr=e,Ar=Symbol();function Ka(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function Wg(){const e=ia(!0),t=e.run(()=>pe({}));let n=[],o=[];const a=Dn({install(s){Uo(a),a._a=s,s.provide(Ar,a),s.config.globalProperties.$pinia=a,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const Sr=()=>{};function vr(e,t,n,o=Sr){e.push(t);const a=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&Bs()&&Nc(a),a}function yn(e,...t){e.slice().forEach(n=>{n(...t)})}const Yg=e=>e(),kr=Symbol(),Ua=Symbol();function Ga(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],a=e[n];Ka(a)&&Ka(o)&&e.hasOwnProperty(n)&&!ve(o)&&!St(o)?e[n]=Ga(a,o):e[n]=o}return e}const Jg=Symbol();function Xg(e){return!Ka(e)||!e.hasOwnProperty(Jg)}const{assign:Bt}=Object;function Zg(e){return!!(ve(e)&&e.effect)}function Qg(e,t,n,o){const{state:a,actions:s,getters:i}=t,r=n.state.value[e];let l;function c(){r||(n.state.value[e]=a?a():{});const u=Xc(n.state.value[e]);return Bt(u,s,Object.keys(i||{}).reduce((f,b)=>(f[b]=Dn(he(()=>{Uo(n);const v=n._s.get(e);return i[b].call(v,v)})),f),{}))}return l=Tr(e,c,t,n,o,!0),l}function Tr(e,t,n={},o,a,s){let i;const r=Bt({actions:{}},n),l={deep:!0};let c,u,f=[],b=[],v;const $=o.state.value[e];!s&&!$&&(o.state.value[e]={});let A;function R(F){let S;c=u=!1,typeof F=="function"?(F(o.state.value[e]),S={type:Xn.patchFunction,storeId:e,events:v}):(Ga(o.state.value[e],F),S={type:Xn.patchObject,payload:F,storeId:e,events:v});const W=A=Symbol();Aa().then(()=>{A===W&&(c=!0)}),u=!0,yn(f,S,o.state.value[e])}const M=s?function(){const{state:S}=n,W=S?S():{};this.$patch(ae=>{Bt(ae,W)})}:Sr;function L(){i.stop(),f=[],b=[],o._s.delete(e)}const y=(F,S="")=>{if(kr in F)return F[Ua]=S,F;const W=function(){Uo(o);const ae=Array.from(arguments),H=[],ee=[];function Y(B){H.push(B)}function D(B){ee.push(B)}yn(b,{args:ae,name:W[Ua],store:T,after:Y,onError:D});let j;try{j=F.apply(this&&this.$id===e?this:T,ae)}catch(B){throw yn(ee,B),B}return j instanceof Promise?j.then(B=>(yn(H,B),B)).catch(B=>(yn(ee,B),Promise.reject(B))):(yn(H,j),j)};return W[kr]=!0,W[Ua]=S,W},h={_p:o,$id:e,$onAction:vr.bind(null,b),$patch:R,$reset:M,$subscribe(F,S={}){const W=vr(f,F,S.detached,()=>ae()),ae=i.run(()=>tn(()=>o.state.value[e],H=>{(S.flush==="sync"?u:c)&&F({storeId:e,type:Xn.direct,events:v},H)},Bt({},l,S)));return W},$dispose:L},T=yo(h);o._s.set(e,T);const I=(o._a&&o._a.runWithContext||Yg)(()=>o._e.run(()=>(i=ia()).run(()=>t({action:y}))));for(const F in I){const S=I[F];if(ve(S)&&!Zg(S)||St(S))s||($&&Xg(S)&&(ve(S)?S.value=$[F]:Ga(S,$[F])),o.state.value[e][F]=S);else if(typeof S=="function"){const W=y(S,F);I[F]=W,r.actions[F]=S}}return Bt(T,I),Bt(ie(T),I),Object.defineProperty(T,"$state",{get:()=>o.state.value[e],set:F=>{R(S=>{Bt(S,F)})}}),o._p.forEach(F=>{Bt(T,i.run(()=>F({store:T,app:o._a,pinia:o,options:r})))}),$&&s&&n.hydrate&&n.hydrate(T.$state,$),c=!0,u=!0,T}/*! #__NO_SIDE_EFFECTS__ */function za(e,t,n){let o,a;const s=typeof t=="function";typeof e=="string"?(o=e,a=s?n:t):(a=e,o=e.id);function i(r,l){const c=du();return r=r||(c?Fe(Ar,null):null),r&&Uo(r),r=yr,r._s.has(o)||(s?Tr(o,t,a,r):Qg(o,a,r)),r._s.get(o)}return i.$id=o,i}const ed={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},td={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},nd={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},od={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",doxaRegions:"مناطق Doxa",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},ad={menuComingSoon:"القائمة قادمة قريباً"},sd={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},id={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},rd={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},ld={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},cd={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},ud={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"},gd={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},dd={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",doxaRegions:"Doxa-Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},fd={menuComingSoon:"Menü folgt in Kürze"},pd={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},hd={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},md={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},bd={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},_d={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},yd={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"},Ad={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Sd={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",doxaRegions:"Doxa Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},vd={menuComingSoon:"Menu coming soon"},kd={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Td={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Ed={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},$d={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"}},Ld={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},Cd={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Nd={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"},wd={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},Pd={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",doxaRegions:"Regiones Doxa",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Id={menuComingSoon:"Menú próximamente"},Md={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Rd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Dd={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"}},Fd={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País"},Od={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},xd={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"},jd={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Bd={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",doxaRegions:"Régions Doxa",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},Kd={menuComingSoon:"Menu bientôt disponible"},Ud={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Gd={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},zd={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},qd={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},Hd={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},Vd={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},Wd={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},Yd={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Jd={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Xd={menuComingSoon:"मेनू शीघ्र आ रहा है"},Zd={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Qd={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},ef={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},tf={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},nf={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"},of={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},af={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",doxaRegions:"Regioni Doxa",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},sf={menuComingSoon:"Menu in arrivo"},rf={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},lf={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},cf={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},uf={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},gf={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"},df={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},ff={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",doxaRegions:"Regiões Doxa",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},pf={menuComingSoon:"Menu em breve"},hf={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},mf={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},bf={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},_f={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},yf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Af={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ă"},Sf={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},vf={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",doxaRegions:"Regiuni Doxa",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},kf={menuComingSoon:"Meniu în curând"},Tf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Ef={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},$f={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Lf={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Cf={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Nf={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},wf={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Pf={menuComingSoon:"Меню скоро появится"},If={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Mf={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Rf={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Df={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Ff={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Of={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},xf={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},jf={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",doxaRegions:"Doxa 区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},Bf={menuComingSoon:"菜单即将推出"},Kf={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Uf={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Gf={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let yr;const Uo=e=>yr=e,Ar=Symbol();function Ka(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xn||(Xn={}));function Wg(){const e=ia(!0),t=e.run(()=>pe({}));let n=[],o=[];const a=Dn({install(s){Uo(a),a._a=s,s.provide(Ar,a),s.config.globalProperties.$pinia=a,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const Sr=()=>{};function vr(e,t,n,o=Sr){e.push(t);const a=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&Bs()&&Nc(a),a}function yn(e,...t){e.slice().forEach(n=>{n(...t)})}const Yg=e=>e(),kr=Symbol(),Ua=Symbol();function Ga(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],a=e[n];Ka(a)&&Ka(o)&&e.hasOwnProperty(n)&&!ve(o)&&!St(o)?e[n]=Ga(a,o):e[n]=o}return e}const Jg=Symbol();function Xg(e){return!Ka(e)||!e.hasOwnProperty(Jg)}const{assign:Bt}=Object;function Zg(e){return!!(ve(e)&&e.effect)}function Qg(e,t,n,o){const{state:a,actions:s,getters:i}=t,r=n.state.value[e];let l;function c(){r||(n.state.value[e]=a?a():{});const u=Xc(n.state.value[e]);return Bt(u,s,Object.keys(i||{}).reduce((f,b)=>(f[b]=Dn(he(()=>{Uo(n);const v=n._s.get(e);return i[b].call(v,v)})),f),{}))}return l=Tr(e,c,t,n,o,!0),l}function Tr(e,t,n={},o,a,s){let i;const r=Bt({actions:{}},n),l={deep:!0};let c,u,f=[],b=[],v;const E=o.state.value[e];!s&&!E&&(o.state.value[e]={});let A;function R(F){let S;c=u=!1,typeof F=="function"?(F(o.state.value[e]),S={type:Xn.patchFunction,storeId:e,events:v}):(Ga(o.state.value[e],F),S={type:Xn.patchObject,payload:F,storeId:e,events:v});const W=A=Symbol();Aa().then(()=>{A===W&&(c=!0)}),u=!0,yn(f,S,o.state.value[e])}const M=s?function(){const{state:S}=n,W=S?S():{};this.$patch(ae=>{Bt(ae,W)})}:Sr;function L(){i.stop(),f=[],b=[],o._s.delete(e)}const y=(F,S="")=>{if(kr in F)return F[Ua]=S,F;const W=function(){Uo(o);const ae=Array.from(arguments),H=[],ee=[];function Y(B){H.push(B)}function D(B){ee.push(B)}yn(b,{args:ae,name:W[Ua],store:T,after:Y,onError:D});let j;try{j=F.apply(this&&this.$id===e?this:T,ae)}catch(B){throw yn(ee,B),B}return j instanceof Promise?j.then(B=>(yn(H,B),B)).catch(B=>(yn(ee,B),Promise.reject(B))):(yn(H,j),j)};return W[kr]=!0,W[Ua]=S,W},h={_p:o,$id:e,$onAction:vr.bind(null,b),$patch:R,$reset:M,$subscribe(F,S={}){const W=vr(f,F,S.detached,()=>ae()),ae=i.run(()=>tn(()=>o.state.value[e],H=>{(S.flush==="sync"?u:c)&&F({storeId:e,type:Xn.direct,events:v},H)},Bt({},l,S)));return W},$dispose:L},T=yo(h);o._s.set(e,T);const I=(o._a&&o._a.runWithContext||Yg)(()=>o._e.run(()=>(i=ia()).run(()=>t({action:y}))));for(const F in I){const S=I[F];if(ve(S)&&!Zg(S)||St(S))s||(E&&Xg(S)&&(ve(S)?S.value=E[F]:Ga(S,E[F])),o.state.value[e][F]=S);else if(typeof S=="function"){const W=y(S,F);I[F]=W,r.actions[F]=S}}return Bt(T,I),Bt(ie(T),I),Object.defineProperty(T,"$state",{get:()=>o.state.value[e],set:F=>{R(S=>{Bt(S,F)})}}),o._p.forEach(F=>{Bt(T,i.run(()=>F({store:T,app:o._a,pinia:o,options:r})))}),E&&s&&n.hydrate&&n.hydrate(T.$state,E),c=!0,u=!0,T}/*! #__NO_SIDE_EFFECTS__ */function za(e,t,n){let o,a;const s=typeof t=="function";typeof e=="string"?(o=e,a=s?n:t):(a=e,o=e.id);function i(r,l){const c=du();return r=r||(c?Fe(Ar,null):null),r&&Uo(r),r=yr,r._s.has(o)||(s?Tr(o,t,a,r):Qg(o,a,r)),r._s.get(o)}return i.$id=o,i}const ed={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},td={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},nd={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},od={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",doxaRegions:"مناطق Doxa",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},progress:{title:"التقدم",covered:"{covered} من {total} مجموعة شعبية مغطاة بالصلاة · {pct}%",short:"{covered} من {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},ad={menuComingSoon:"القائمة قادمة قريباً"},sd={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},id={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},rd={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},ld={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},cd={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},ud={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"},gd={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},dd={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",doxaRegions:"Doxa-Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},progress:{title:"Fortschritt",covered:"{covered} von {total} Volksgruppen im Gebet abgedeckt · {pct}%",short:"{covered} von {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},fd={menuComingSoon:"Menü folgt in Kürze"},pd={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},hd={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},md={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},bd={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},_d={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},yd={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"},Ad={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Sd={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",doxaRegions:"Doxa Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},progress:{title:"Progress",covered:"{covered} of {total} people groups covered in prayer · {pct}%",short:"{covered} of {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},vd={menuComingSoon:"Menu coming soon"},kd={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Td={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},$d={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Ed={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"}},Ld={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},Cd={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Nd={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"},wd={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},Pd={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",doxaRegions:"Regiones Doxa",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},progress:{title:"Progreso",covered:"{covered} de {total} grupos de personas cubiertos en oración · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Id={menuComingSoon:"Menú próximamente"},Md={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Rd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Dd={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"}},Fd={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País"},Od={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},xd={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"},jd={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Bd={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",doxaRegions:"Régions Doxa",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},progress:{title:"Progression",covered:"{covered} sur {total} groupes de personnes couverts par la prière · {pct}%",short:"{covered} sur {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},Kd={menuComingSoon:"Menu bientôt disponible"},Ud={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Gd={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},zd={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},qd={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},Hd={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},Vd={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},Wd={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},Yd={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Jd={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},progress:{title:"प्रगति",covered:"{total} में से {covered} जनजाति समूह प्रार्थना में कवर · {pct}%",short:"{total} में से {covered} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Xd={menuComingSoon:"मेनू शीघ्र आ रहा है"},Zd={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Qd={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},ef={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},tf={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},nf={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"},of={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},af={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",doxaRegions:"Regioni Doxa",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},progress:{title:"Avanzamento",covered:"{covered} di {total} gruppi di persone coperti dalla preghiera · {pct}%",short:"{covered} di {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},sf={menuComingSoon:"Menu in arrivo"},rf={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},lf={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},cf={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},uf={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},gf={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"},df={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},ff={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",doxaRegions:"Regiões Doxa",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},progress:{title:"Progresso",covered:"{covered} de {total} grupos de pessoas cobertos em oração · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},pf={menuComingSoon:"Menu em breve"},hf={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},mf={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},bf={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},_f={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},yf={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Af={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ă"},Sf={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},vf={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",doxaRegions:"Regiuni Doxa",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},progress:{title:"Progres",covered:"{covered} din {total} grupuri de popoare acoperite în rugăciune · {pct}%",short:"{covered} din {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},kf={menuComingSoon:"Meniu în curând"},Tf={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},$f={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Ef={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Lf={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Cf={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Nf={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},wf={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Pf={menuComingSoon:"Меню скоро появится"},If={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Mf={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Rf={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Df={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Ff={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Of={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},xf={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},jf={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",doxaRegions:"Doxa 区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},progress:{title:"进度",covered:"{total} 个民族群体中已有 {covered} 个被祷告覆盖 · {pct}%",short:"{covered} / {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},Bf={menuComingSoon:"菜单即将推出"},Kf={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Uf={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Gf={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function zf(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Go=typeof window<"u",Kt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),qf=(e,t,n)=>Hf({l:e,k:t,s:n}),Hf=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Te=e=>typeof e=="number"&&isFinite(e),Vf=e=>Nr(e)==="[object Date]",Ut=e=>Nr(e)==="[object RegExp]",zo=e=>ne(e)&&Object.keys(e).length===0,Ie=Object.assign,Wf=Object.create,ge=(e=null)=>Wf(e);let Er;const wt=()=>Er||(Er=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ge());function $r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Lr(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Yf(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,a,s)=>`${a}="${Lr(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,a,s)=>`${a}='${Lr(s)}'`),/\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(o=>{e=e.replace(o,"$1javascript:")}),e}const Jf=Object.prototype.hasOwnProperty;function ot(e,t){return Jf.call(e,t)}const Se=Array.isArray,_e=e=>typeof e=="function",q=e=>typeof e=="string",se=e=>typeof e=="boolean",re=e=>e!==null&&typeof e=="object",Xf=e=>re(e)&&_e(e.then)&&_e(e.catch),Cr=Object.prototype.toString,Nr=e=>Cr.call(e),ne=e=>{if(!re(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Zf=e=>e==null?"":Se(e)||ne(e)&&e.toString===Cr?JSON.stringify(e,null,2):String(e);function Qf(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}function qo(e){let t=e;return()=>++t}const Ho=e=>!re(e)||Se(e);function Vo(e,t){if(Ho(e)||Ho(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:a}=n.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(re(o[s])&&!re(a[s])&&(a[s]=Array.isArray(o[s])?[]:ge()),Ho(a[s])||Ho(o[s])?a[s]=o[s]:n.push({src:o[s],des:a[s]}))})}}/*! + */function zf(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Go=typeof window<"u",Kt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),qf=(e,t,n)=>Hf({l:e,k:t,s:n}),Hf=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Te=e=>typeof e=="number"&&isFinite(e),Vf=e=>Nr(e)==="[object Date]",Ut=e=>Nr(e)==="[object RegExp]",zo=e=>ne(e)&&Object.keys(e).length===0,Ie=Object.assign,Wf=Object.create,ge=(e=null)=>Wf(e);let $r;const wt=()=>$r||($r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ge());function Er(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Lr(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Yf(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,a,s)=>`${a}="${Lr(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,a,s)=>`${a}='${Lr(s)}'`),/\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(o=>{e=e.replace(o,"$1javascript:")}),e}const Jf=Object.prototype.hasOwnProperty;function ot(e,t){return Jf.call(e,t)}const Se=Array.isArray,_e=e=>typeof e=="function",q=e=>typeof e=="string",se=e=>typeof e=="boolean",re=e=>e!==null&&typeof e=="object",Xf=e=>re(e)&&_e(e.then)&&_e(e.catch),Cr=Object.prototype.toString,Nr=e=>Cr.call(e),ne=e=>{if(!re(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Zf=e=>e==null?"":Se(e)||ne(e)&&e.toString===Cr?JSON.stringify(e,null,2):String(e);function Qf(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}function qo(e){let t=e;return()=>++t}const Ho=e=>!re(e)||Se(e);function Vo(e,t){if(Ho(e)||Ho(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:a}=n.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(re(o[s])&&!re(a[s])&&(a[s]=Array.isArray(o[s])?[]:ge()),Ho(a[s])||Ho(o[s])?a[s]=o[s]:n.push({src:o[s],des:a[s]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function ep(e,t,n){return{line:e,column:t,offset:n}}function Wo(e,t,n){return{start:e,end:t}}const tp=/\{([0-9a-zA-Z]+)\}/g;function wr(e,...t){return t.length===1&&np(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(tp,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Pr=Object.assign,Ir=e=>typeof e=="string",np=e=>e!==null&&typeof e=="object";function Mr(e,t=""){return e.reduce((n,o,a)=>a===0?n+o:n+t+o,"")}const qa={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},op={[qa.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ap(e,t,...n){const o=wr(op[e],...n||[]),a={message:String(o),code:e};return t&&(a.location=t),a}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},sp={[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 An(e,t,n={}){const{domain:o,messages:a,args:s}=n,i=wr((a||sp)[e]||"",...s||[]),r=new SyntaxError(String(i));return r.code=e,t&&(r.location=t),r.domain=o,r}function ip(e){throw e}const Pt=" ",rp="\r",xe=` -`,lp="\u2028",cp="\u2029";function up(e){const t=e;let n=0,o=1,a=1,s=0;const i=I=>t[I]===rp&&t[I+1]===xe,r=I=>t[I]===xe,l=I=>t[I]===cp,c=I=>t[I]===lp,u=I=>i(I)||r(I)||l(I)||c(I),f=()=>n,b=()=>o,v=()=>a,$=()=>s,A=I=>i(I)||l(I)||c(I)?xe:t[I],R=()=>A(n),M=()=>A(n+s);function L(){return s=0,u(n)&&(o++,a=0),i(n)&&n++,n++,a++,t[n]}function y(){return i(n+s)&&s++,s++,t[n+s]}function h(){n=0,o=1,a=1,s=0}function T(I=0){s=I}function C(){const I=n+s;for(;I!==n;)L();s=0}return{index:f,line:b,column:v,peekOffset:$,charAt:A,currentChar:R,currentPeek:M,next:L,peek:y,reset:h,resetPeek:T,skipToPeek:C}}const Gt=void 0,gp=".",Rr="'",dp="tokenizer";function fp(e,t={}){const n=t.location!==!1,o=up(e),a=()=>o.index(),s=()=>ep(o.line(),o.column(),o.index()),i=s(),r=a(),l={currentType:14,offset:r,startLoc:i,endLoc:i,lastType:14,lastOffset:r,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(g,d,E,...w){const z=c();if(d.column+=E,d.offset+=E,u){const K=n?Wo(z.startLoc,d):null,k=An(g,K,{domain:dp,args:w});u(k)}}function b(g,d,E){g.endLoc=s(),g.currentType=d;const w={type:d};return n&&(w.loc=Wo(g.startLoc,g.endLoc)),E!=null&&(w.value=E),w}const v=g=>b(g,14);function $(g,d){return g.currentChar()===d?(g.next(),d):(f(Q.EXPECTED_TOKEN,s(),0,d),"")}function A(g){let d="";for(;g.currentPeek()===Pt||g.currentPeek()===xe;)d+=g.currentPeek(),g.peek();return d}function R(g){const d=A(g);return g.skipToPeek(),d}function M(g){if(g===Gt)return!1;const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function L(g){if(g===Gt)return!1;const d=g.charCodeAt(0);return d>=48&&d<=57}function y(g,d){const{currentType:E}=d;if(E!==2)return!1;A(g);const w=M(g.currentPeek());return g.resetPeek(),w}function h(g,d){const{currentType:E}=d;if(E!==2)return!1;A(g);const w=g.currentPeek()==="-"?g.peek():g.currentPeek(),z=L(w);return g.resetPeek(),z}function T(g,d){const{currentType:E}=d;if(E!==2)return!1;A(g);const w=g.currentPeek()===Rr;return g.resetPeek(),w}function C(g,d){const{currentType:E}=d;if(E!==8)return!1;A(g);const w=g.currentPeek()===".";return g.resetPeek(),w}function I(g,d){const{currentType:E}=d;if(E!==9)return!1;A(g);const w=M(g.currentPeek());return g.resetPeek(),w}function F(g,d){const{currentType:E}=d;if(!(E===8||E===12))return!1;A(g);const w=g.currentPeek()===":";return g.resetPeek(),w}function S(g,d){const{currentType:E}=d;if(E!==10)return!1;const w=()=>{const K=g.currentPeek();return K==="{"?M(g.peek()):K==="@"||K==="%"||K==="|"||K===":"||K==="."||K===Pt||!K?!1:K===xe?(g.peek(),w()):H(g,!1)},z=w();return g.resetPeek(),z}function W(g){A(g);const d=g.currentPeek()==="|";return g.resetPeek(),d}function ae(g){const d=A(g),E=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:E,hasSpace:d.length>0}}function H(g,d=!0){const E=(z=!1,K="",k=!1)=>{const P=g.currentPeek();return P==="{"?K==="%"?!1:z:P==="@"||!P?K==="%"?!0:z:P==="%"?(g.peek(),E(z,"%",!0)):P==="|"?K==="%"||k?!0:!(K===Pt||K===xe):P===Pt?(g.peek(),E(!0,Pt,k)):P===xe?(g.peek(),E(!0,xe,k)):!0},w=E();return d&&g.resetPeek(),w}function ee(g,d){const E=g.currentChar();return E===Gt?Gt:d(E)?(g.next(),E):null}function Y(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function D(g){return ee(g,Y)}function j(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function B(g){return ee(g,j)}function V(g){const d=g.charCodeAt(0);return d>=48&&d<=57}function X(g){return ee(g,V)}function ue(g){const d=g.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function de(g){return ee(g,ue)}function fe(g){let d="",E="";for(;d=X(g);)E+=d;return E}function je(g){R(g);const d=g.currentChar();return d!=="%"&&f(Q.EXPECTED_TOKEN,s(),0,d),g.next(),"%"}function Yt(g){let d="";for(;;){const E=g.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(H(g))d+=E,g.next();else break;else if(E===Pt||E===xe)if(H(g))d+=E,g.next();else{if(W(g))break;d+=E,g.next()}else d+=E,g.next()}return d}function ln(g){R(g);let d="",E="";for(;d=B(g);)E+=d;return g.currentChar()===Gt&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),E}function it(g){R(g);let d="";return g.currentChar()==="-"?(g.next(),d+=`-${fe(g)}`):d+=fe(g),g.currentChar()===Gt&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d}function Dt(g){return g!==Rr&&g!==xe}function Ft(g){R(g),$(g,"'");let d="",E="";for(;d=ee(g,Dt);)d==="\\"?E+=Jt(g):E+=d;const w=g.currentChar();return w===xe||w===Gt?(f(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),w===xe&&(g.next(),$(g,"'")),E):($(g,"'"),E)}function Jt(g){const d=g.currentChar();switch(d){case"\\":case"'":return g.next(),`\\${d}`;case"u":return Ze(g,d,4);case"U":return Ze(g,d,6);default:return f(Q.UNKNOWN_ESCAPE_SEQUENCE,s(),0,d),""}}function Ze(g,d,E){$(g,d);let w="";for(let z=0;z{const w=g.currentChar();return w==="{"||w==="%"||w==="@"||w==="|"||w==="("||w===")"||!w||w===Pt?E:(E+=w,g.next(),d(E))};return d("")}function N(g){R(g);const d=$(g,"|");return R(g),d}function x(g,d){let E=null;switch(g.currentChar()){case"{":return d.braceNest>=1&&f(Q.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),g.next(),E=b(d,2,"{"),R(g),d.braceNest++,E;case"}":return d.braceNest>0&&d.currentType===2&&f(Q.EMPTY_PLACEHOLDER,s(),0),g.next(),E=b(d,3,"}"),d.braceNest--,d.braceNest>0&&R(g),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),E;case"@":return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),E=O(g,d)||v(d),d.braceNest=0,E;default:{let z=!0,K=!0,k=!0;if(W(g))return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),E=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,E;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d.braceNest=0,G(g,d);if(z=y(g,d))return E=b(d,5,ln(g)),R(g),E;if(K=h(g,d))return E=b(d,6,it(g)),R(g),E;if(k=T(g,d))return E=b(d,7,Ft(g)),R(g),E;if(!z&&!K&&!k)return E=b(d,13,p(g)),f(Q.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,E.value),R(g),E;break}}return E}function O(g,d){const{currentType:E}=d;let w=null;const z=g.currentChar();switch((E===8||E===9||E===12||E===10)&&(z===xe||z===Pt)&&f(Q.INVALID_LINKED_FORMAT,s(),0),z){case"@":return g.next(),w=b(d,8,"@"),d.inLinked=!0,w;case".":return R(g),g.next(),b(d,9,".");case":":return R(g),g.next(),b(d,10,":");default:return W(g)?(w=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,w):C(g,d)||F(g,d)?(R(g),O(g,d)):I(g,d)?(R(g),b(d,12,_(g))):S(g,d)?(R(g),z==="{"?x(g,d)||w:b(d,11,m(g))):(E===8&&f(Q.INVALID_LINKED_FORMAT,s(),0),d.braceNest=0,d.inLinked=!1,G(g,d))}}function G(g,d){let E={type:14};if(d.braceNest>0)return x(g,d)||v(d);if(d.inLinked)return O(g,d)||v(d);switch(g.currentChar()){case"{":return x(g,d)||v(d);case"}":return f(Q.UNBALANCED_CLOSING_BRACE,s(),0),g.next(),b(d,3,"}");case"@":return O(g,d)||v(d);default:{if(W(g))return E=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,E;const{isModulo:z,hasSpace:K}=ae(g);if(z)return K?b(d,0,Yt(g)):b(d,4,je(g));if(H(g))return b(d,0,Yt(g));break}}return E}function U(){const{currentType:g,offset:d,startLoc:E,endLoc:w}=l;return l.lastType=g,l.lastOffset=d,l.lastStartLoc=E,l.lastEndLoc=w,l.offset=a(),l.startLoc=s(),o.currentChar()===Gt?b(l,14):G(o,l)}return{nextToken:U,currentOffset:a,currentPosition:s,context:c}}const pp="parser",hp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function mp(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function bp(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function a(y,h,T,C,...I){const F=y.currentPosition();if(F.offset+=C,F.column+=C,n){const S=t?Wo(T,F):null,W=An(h,S,{domain:pp,args:I});n(W)}}function s(y,h,T,C,...I){const F=y.currentPosition();if(F.offset+=C,F.column+=C,o){const S=t?Wo(T,F):null;o(ap(h,S,I))}}function i(y,h,T){const C={type:y};return t&&(C.start=h,C.end=h,C.loc={start:T,end:T}),C}function r(y,h,T,C){t&&(y.end=h,y.loc&&(y.loc.end=T))}function l(y,h){const T=y.context(),C=i(3,T.offset,T.startLoc);return C.value=h,r(C,y.currentOffset(),y.currentPosition()),C}function c(y,h){const T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(5,C,I);return F.index=parseInt(h,10),y.nextToken(),r(F,y.currentOffset(),y.currentPosition()),F}function u(y,h,T){const C=y.context(),{lastOffset:I,lastStartLoc:F}=C,S=i(4,I,F);return S.key=h,T===!0&&(S.modulo=!0),y.nextToken(),r(S,y.currentOffset(),y.currentPosition()),S}function f(y,h){const T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(9,C,I);return F.value=h.replace(hp,mp),y.nextToken(),r(F,y.currentOffset(),y.currentPosition()),F}function b(y){const h=y.nextToken(),T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(8,C,I);return h.type!==12?(a(y,Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),F.value="",r(F,C,I),{nextConsumeToken:h,node:F}):(h.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,at(h)),F.value=h.value||"",r(F,y.currentOffset(),y.currentPosition()),{node:F})}function v(y,h){const T=y.context(),C=i(7,T.offset,T.startLoc);return C.value=h,r(C,y.currentOffset(),y.currentPosition()),C}function $(y){const h=y.context(),T=i(6,h.offset,h.startLoc);let C=y.nextToken();if(C.type===9){const I=b(y);T.modifier=I.node,C=I.nextConsumeToken||y.nextToken()}switch(C.type!==10&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),C=y.nextToken(),C.type===2&&(C=y.nextToken()),C.type){case 11:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=v(y,C.value||"");break;case 5:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=u(y,C.value||"");break;case 6:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=c(y,C.value||"");break;case 7:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=f(y,C.value||"");break;default:{a(y,Q.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const I=y.context(),F=i(7,I.offset,I.startLoc);return F.value="",r(F,I.offset,I.startLoc),T.key=F,r(T,I.offset,I.startLoc),{nextConsumeToken:C,node:T}}}return r(T,y.currentOffset(),y.currentPosition()),{node:T}}function A(y){const h=y.context(),T=h.currentType===1?y.currentOffset():h.offset,C=h.currentType===1?h.endLoc:h.startLoc,I=i(2,T,C);I.items=[];let F=null,S=null;do{const H=F||y.nextToken();switch(F=null,H.type){case 0:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(l(y,H.value||""));break;case 6:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(c(y,H.value||""));break;case 4:S=!0;break;case 5:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(u(y,H.value||"",!!S)),S&&(s(y,qa.USE_MODULO_SYNTAX,h.lastStartLoc,0,at(H)),S=null);break;case 7:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(f(y,H.value||""));break;case 8:{const ee=$(y);I.items.push(ee.node),F=ee.nextConsumeToken||null;break}}}while(h.currentType!==14&&h.currentType!==1);const W=h.currentType===1?h.lastOffset:y.currentOffset(),ae=h.currentType===1?h.lastEndLoc:y.currentPosition();return r(I,W,ae),I}function R(y,h,T,C){const I=y.context();let F=C.items.length===0;const S=i(1,h,T);S.cases=[],S.cases.push(C);do{const W=A(y);F||(F=W.items.length===0),S.cases.push(W)}while(I.currentType!==14);return F&&a(y,Q.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),r(S,y.currentOffset(),y.currentPosition()),S}function M(y){const h=y.context(),{offset:T,startLoc:C}=h,I=A(y);return h.currentType===14?I:R(y,T,C,I)}function L(y){const h=fp(y,Pr({},e)),T=h.context(),C=i(0,T.offset,T.startLoc);return t&&C.loc&&(C.loc.source=y),C.body=M(h),e.onCacheKey&&(C.cacheKey=e.onCacheKey(y)),T.currentType!==14&&a(h,Q.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,y[T.offset]||""),r(C,h.currentOffset(),h.currentPosition()),C}return{parse:L}}function at(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 _p(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Dr(e,t){for(let n=0;nFr(n)),e}function Fr(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 n=0;ni;function l(A,R){i.code+=A}function c(A,R=!0){const M=R?o:"";l(a?M+" ".repeat(A):M)}function u(A=!0){const R=++i.indentLevel;A&&c(R)}function f(A=!0){const R=--i.indentLevel;A&&c(R)}function b(){c(i.indentLevel)}return{context:r,push:l,indent:u,deindent:f,newline:b,helper:A=>`_${A}`,needIndent:()=>i.needIndent}}function Tp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),vn(e,t.key),t.modifier?(e.push(", "),vn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ep(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const a=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const a=t.cases.length;for(let s=0;s{const n=Ir(t.mode)?t.mode:"normal",o=Ir(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,lp="\u2028",cp="\u2029";function up(e){const t=e;let n=0,o=1,a=1,s=0;const i=I=>t[I]===rp&&t[I+1]===xe,r=I=>t[I]===xe,l=I=>t[I]===cp,c=I=>t[I]===lp,u=I=>i(I)||r(I)||l(I)||c(I),f=()=>n,b=()=>o,v=()=>a,E=()=>s,A=I=>i(I)||l(I)||c(I)?xe:t[I],R=()=>A(n),M=()=>A(n+s);function L(){return s=0,u(n)&&(o++,a=0),i(n)&&n++,n++,a++,t[n]}function y(){return i(n+s)&&s++,s++,t[n+s]}function h(){n=0,o=1,a=1,s=0}function T(I=0){s=I}function C(){const I=n+s;for(;I!==n;)L();s=0}return{index:f,line:b,column:v,peekOffset:E,charAt:A,currentChar:R,currentPeek:M,next:L,peek:y,reset:h,resetPeek:T,skipToPeek:C}}const Gt=void 0,gp=".",Rr="'",dp="tokenizer";function fp(e,t={}){const n=t.location!==!1,o=up(e),a=()=>o.index(),s=()=>ep(o.line(),o.column(),o.index()),i=s(),r=a(),l={currentType:14,offset:r,startLoc:i,endLoc:i,lastType:14,lastOffset:r,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(g,d,$,...w){const z=c();if(d.column+=$,d.offset+=$,u){const K=n?Wo(z.startLoc,d):null,k=An(g,K,{domain:dp,args:w});u(k)}}function b(g,d,$){g.endLoc=s(),g.currentType=d;const w={type:d};return n&&(w.loc=Wo(g.startLoc,g.endLoc)),$!=null&&(w.value=$),w}const v=g=>b(g,14);function E(g,d){return g.currentChar()===d?(g.next(),d):(f(Q.EXPECTED_TOKEN,s(),0,d),"")}function A(g){let d="";for(;g.currentPeek()===Pt||g.currentPeek()===xe;)d+=g.currentPeek(),g.peek();return d}function R(g){const d=A(g);return g.skipToPeek(),d}function M(g){if(g===Gt)return!1;const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function L(g){if(g===Gt)return!1;const d=g.charCodeAt(0);return d>=48&&d<=57}function y(g,d){const{currentType:$}=d;if($!==2)return!1;A(g);const w=M(g.currentPeek());return g.resetPeek(),w}function h(g,d){const{currentType:$}=d;if($!==2)return!1;A(g);const w=g.currentPeek()==="-"?g.peek():g.currentPeek(),z=L(w);return g.resetPeek(),z}function T(g,d){const{currentType:$}=d;if($!==2)return!1;A(g);const w=g.currentPeek()===Rr;return g.resetPeek(),w}function C(g,d){const{currentType:$}=d;if($!==8)return!1;A(g);const w=g.currentPeek()===".";return g.resetPeek(),w}function I(g,d){const{currentType:$}=d;if($!==9)return!1;A(g);const w=M(g.currentPeek());return g.resetPeek(),w}function F(g,d){const{currentType:$}=d;if(!($===8||$===12))return!1;A(g);const w=g.currentPeek()===":";return g.resetPeek(),w}function S(g,d){const{currentType:$}=d;if($!==10)return!1;const w=()=>{const K=g.currentPeek();return K==="{"?M(g.peek()):K==="@"||K==="%"||K==="|"||K===":"||K==="."||K===Pt||!K?!1:K===xe?(g.peek(),w()):H(g,!1)},z=w();return g.resetPeek(),z}function W(g){A(g);const d=g.currentPeek()==="|";return g.resetPeek(),d}function ae(g){const d=A(g),$=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:$,hasSpace:d.length>0}}function H(g,d=!0){const $=(z=!1,K="",k=!1)=>{const P=g.currentPeek();return P==="{"?K==="%"?!1:z:P==="@"||!P?K==="%"?!0:z:P==="%"?(g.peek(),$(z,"%",!0)):P==="|"?K==="%"||k?!0:!(K===Pt||K===xe):P===Pt?(g.peek(),$(!0,Pt,k)):P===xe?(g.peek(),$(!0,xe,k)):!0},w=$();return d&&g.resetPeek(),w}function ee(g,d){const $=g.currentChar();return $===Gt?Gt:d($)?(g.next(),$):null}function Y(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function D(g){return ee(g,Y)}function j(g){const d=g.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function B(g){return ee(g,j)}function V(g){const d=g.charCodeAt(0);return d>=48&&d<=57}function X(g){return ee(g,V)}function ue(g){const d=g.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function de(g){return ee(g,ue)}function fe(g){let d="",$="";for(;d=X(g);)$+=d;return $}function je(g){R(g);const d=g.currentChar();return d!=="%"&&f(Q.EXPECTED_TOKEN,s(),0,d),g.next(),"%"}function Yt(g){let d="";for(;;){const $=g.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%")if(H(g))d+=$,g.next();else break;else if($===Pt||$===xe)if(H(g))d+=$,g.next();else{if(W(g))break;d+=$,g.next()}else d+=$,g.next()}return d}function ln(g){R(g);let d="",$="";for(;d=B(g);)$+=d;return g.currentChar()===Gt&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),$}function it(g){R(g);let d="";return g.currentChar()==="-"?(g.next(),d+=`-${fe(g)}`):d+=fe(g),g.currentChar()===Gt&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d}function Dt(g){return g!==Rr&&g!==xe}function Ft(g){R(g),E(g,"'");let d="",$="";for(;d=ee(g,Dt);)d==="\\"?$+=Jt(g):$+=d;const w=g.currentChar();return w===xe||w===Gt?(f(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),w===xe&&(g.next(),E(g,"'")),$):(E(g,"'"),$)}function Jt(g){const d=g.currentChar();switch(d){case"\\":case"'":return g.next(),`\\${d}`;case"u":return Ze(g,d,4);case"U":return Ze(g,d,6);default:return f(Q.UNKNOWN_ESCAPE_SEQUENCE,s(),0,d),""}}function Ze(g,d,$){E(g,d);let w="";for(let z=0;z<$;z++){const K=de(g);if(!K){f(Q.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${d}${w}${g.currentChar()}`);break}w+=K}return`\\${d}${w}`}function En(g){return g!=="{"&&g!=="}"&&g!==Pt&&g!==xe}function p(g){R(g);let d="",$="";for(;d=ee(g,En);)$+=d;return $}function _(g){let d="",$="";for(;d=D(g);)$+=d;return $}function m(g){const d=$=>{const w=g.currentChar();return w==="{"||w==="%"||w==="@"||w==="|"||w==="("||w===")"||!w||w===Pt?$:($+=w,g.next(),d($))};return d("")}function N(g){R(g);const d=E(g,"|");return R(g),d}function x(g,d){let $=null;switch(g.currentChar()){case"{":return d.braceNest>=1&&f(Q.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),g.next(),$=b(d,2,"{"),R(g),d.braceNest++,$;case"}":return d.braceNest>0&&d.currentType===2&&f(Q.EMPTY_PLACEHOLDER,s(),0),g.next(),$=b(d,3,"}"),d.braceNest--,d.braceNest>0&&R(g),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),$;case"@":return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),$=O(g,d)||v(d),d.braceNest=0,$;default:{let z=!0,K=!0,k=!0;if(W(g))return d.braceNest>0&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),$=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,$;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),d.braceNest=0,G(g,d);if(z=y(g,d))return $=b(d,5,ln(g)),R(g),$;if(K=h(g,d))return $=b(d,6,it(g)),R(g),$;if(k=T(g,d))return $=b(d,7,Ft(g)),R(g),$;if(!z&&!K&&!k)return $=b(d,13,p(g)),f(Q.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,$.value),R(g),$;break}}return $}function O(g,d){const{currentType:$}=d;let w=null;const z=g.currentChar();switch(($===8||$===9||$===12||$===10)&&(z===xe||z===Pt)&&f(Q.INVALID_LINKED_FORMAT,s(),0),z){case"@":return g.next(),w=b(d,8,"@"),d.inLinked=!0,w;case".":return R(g),g.next(),b(d,9,".");case":":return R(g),g.next(),b(d,10,":");default:return W(g)?(w=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,w):C(g,d)||F(g,d)?(R(g),O(g,d)):I(g,d)?(R(g),b(d,12,_(g))):S(g,d)?(R(g),z==="{"?x(g,d)||w:b(d,11,m(g))):($===8&&f(Q.INVALID_LINKED_FORMAT,s(),0),d.braceNest=0,d.inLinked=!1,G(g,d))}}function G(g,d){let $={type:14};if(d.braceNest>0)return x(g,d)||v(d);if(d.inLinked)return O(g,d)||v(d);switch(g.currentChar()){case"{":return x(g,d)||v(d);case"}":return f(Q.UNBALANCED_CLOSING_BRACE,s(),0),g.next(),b(d,3,"}");case"@":return O(g,d)||v(d);default:{if(W(g))return $=b(d,1,N(g)),d.braceNest=0,d.inLinked=!1,$;const{isModulo:z,hasSpace:K}=ae(g);if(z)return K?b(d,0,Yt(g)):b(d,4,je(g));if(H(g))return b(d,0,Yt(g));break}}return $}function U(){const{currentType:g,offset:d,startLoc:$,endLoc:w}=l;return l.lastType=g,l.lastOffset=d,l.lastStartLoc=$,l.lastEndLoc=w,l.offset=a(),l.startLoc=s(),o.currentChar()===Gt?b(l,14):G(o,l)}return{nextToken:U,currentOffset:a,currentPosition:s,context:c}}const pp="parser",hp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function mp(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function bp(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function a(y,h,T,C,...I){const F=y.currentPosition();if(F.offset+=C,F.column+=C,n){const S=t?Wo(T,F):null,W=An(h,S,{domain:pp,args:I});n(W)}}function s(y,h,T,C,...I){const F=y.currentPosition();if(F.offset+=C,F.column+=C,o){const S=t?Wo(T,F):null;o(ap(h,S,I))}}function i(y,h,T){const C={type:y};return t&&(C.start=h,C.end=h,C.loc={start:T,end:T}),C}function r(y,h,T,C){t&&(y.end=h,y.loc&&(y.loc.end=T))}function l(y,h){const T=y.context(),C=i(3,T.offset,T.startLoc);return C.value=h,r(C,y.currentOffset(),y.currentPosition()),C}function c(y,h){const T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(5,C,I);return F.index=parseInt(h,10),y.nextToken(),r(F,y.currentOffset(),y.currentPosition()),F}function u(y,h,T){const C=y.context(),{lastOffset:I,lastStartLoc:F}=C,S=i(4,I,F);return S.key=h,T===!0&&(S.modulo=!0),y.nextToken(),r(S,y.currentOffset(),y.currentPosition()),S}function f(y,h){const T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(9,C,I);return F.value=h.replace(hp,mp),y.nextToken(),r(F,y.currentOffset(),y.currentPosition()),F}function b(y){const h=y.nextToken(),T=y.context(),{lastOffset:C,lastStartLoc:I}=T,F=i(8,C,I);return h.type!==12?(a(y,Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),F.value="",r(F,C,I),{nextConsumeToken:h,node:F}):(h.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,at(h)),F.value=h.value||"",r(F,y.currentOffset(),y.currentPosition()),{node:F})}function v(y,h){const T=y.context(),C=i(7,T.offset,T.startLoc);return C.value=h,r(C,y.currentOffset(),y.currentPosition()),C}function E(y){const h=y.context(),T=i(6,h.offset,h.startLoc);let C=y.nextToken();if(C.type===9){const I=b(y);T.modifier=I.node,C=I.nextConsumeToken||y.nextToken()}switch(C.type!==10&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),C=y.nextToken(),C.type===2&&(C=y.nextToken()),C.type){case 11:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=v(y,C.value||"");break;case 5:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=u(y,C.value||"");break;case 6:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=c(y,C.value||"");break;case 7:C.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(C)),T.key=f(y,C.value||"");break;default:{a(y,Q.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const I=y.context(),F=i(7,I.offset,I.startLoc);return F.value="",r(F,I.offset,I.startLoc),T.key=F,r(T,I.offset,I.startLoc),{nextConsumeToken:C,node:T}}}return r(T,y.currentOffset(),y.currentPosition()),{node:T}}function A(y){const h=y.context(),T=h.currentType===1?y.currentOffset():h.offset,C=h.currentType===1?h.endLoc:h.startLoc,I=i(2,T,C);I.items=[];let F=null,S=null;do{const H=F||y.nextToken();switch(F=null,H.type){case 0:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(l(y,H.value||""));break;case 6:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(c(y,H.value||""));break;case 4:S=!0;break;case 5:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(u(y,H.value||"",!!S)),S&&(s(y,qa.USE_MODULO_SYNTAX,h.lastStartLoc,0,at(H)),S=null);break;case 7:H.value==null&&a(y,Q.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,at(H)),I.items.push(f(y,H.value||""));break;case 8:{const ee=E(y);I.items.push(ee.node),F=ee.nextConsumeToken||null;break}}}while(h.currentType!==14&&h.currentType!==1);const W=h.currentType===1?h.lastOffset:y.currentOffset(),ae=h.currentType===1?h.lastEndLoc:y.currentPosition();return r(I,W,ae),I}function R(y,h,T,C){const I=y.context();let F=C.items.length===0;const S=i(1,h,T);S.cases=[],S.cases.push(C);do{const W=A(y);F||(F=W.items.length===0),S.cases.push(W)}while(I.currentType!==14);return F&&a(y,Q.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),r(S,y.currentOffset(),y.currentPosition()),S}function M(y){const h=y.context(),{offset:T,startLoc:C}=h,I=A(y);return h.currentType===14?I:R(y,T,C,I)}function L(y){const h=fp(y,Pr({},e)),T=h.context(),C=i(0,T.offset,T.startLoc);return t&&C.loc&&(C.loc.source=y),C.body=M(h),e.onCacheKey&&(C.cacheKey=e.onCacheKey(y)),T.currentType!==14&&a(h,Q.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,y[T.offset]||""),r(C,h.currentOffset(),h.currentPosition()),C}return{parse:L}}function at(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 _p(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Dr(e,t){for(let n=0;nFr(n)),e}function Fr(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 n=0;ni;function l(A,R){i.code+=A}function c(A,R=!0){const M=R?o:"";l(a?M+" ".repeat(A):M)}function u(A=!0){const R=++i.indentLevel;A&&c(R)}function f(A=!0){const R=--i.indentLevel;A&&c(R)}function b(){c(i.indentLevel)}return{context:r,push:l,indent:u,deindent:f,newline:b,helper:A=>`_${A}`,needIndent:()=>i.needIndent}}function Tp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),vn(e,t.key),t.modifier?(e.push(", "),vn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $p(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const a=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const a=t.cases.length;for(let s=0;s{const n=Ir(t.mode)?t.mode:"normal",o=Ir(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],r=kp(e,{filename:o,breakLineCode:a,needIndent:s});r.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),r.indent(s),i.length>0&&(r.push(`const { ${Mr(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),r.newline()),r.push("return "),vn(r,e),r.deindent(s),r.push("}"),delete e.helpers;const{code:l,map:c}=r.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Np(e,t={}){const n=Pr({},t),o=!!n.jit,a=!!n.minify,s=n.optimize==null?!0:n.optimize,r=bp(n).parse(e);return o?(s&&Ap(r),a&&Sn(r),{ast:r,code:""}):(yp(r,n),Cp(r,n))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function wp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function mt(e){return re(e)&&Va(e)===0&&(ot(e,"b")||ot(e,"body"))}const Or=["b","body"];function Pp(e){return zt(e,Or)}const xr=["c","cases"];function Ip(e){return zt(e,xr,[])}const jr=["s","static"];function Mp(e){return zt(e,jr)}const Br=["i","items"];function Rp(e){return zt(e,Br,[])}const Kr=["t","type"];function Va(e){return zt(e,Kr)}const Ur=["v","value"];function Yo(e,t){const n=zt(e,Ur);if(n!=null)return n;throw Zn(t)}const Gr=["m","modifier"];function Dp(e){return zt(e,Gr)}const zr=["k","key"];function Fp(e){const t=zt(e,zr);if(t)return t;throw Zn(6)}function zt(e,t,n){for(let o=0;o{i===void 0?i=r:i+=r},b[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},b[2]=()=>{b[0](),a++},b[3]=()=>{if(a>0)a--,o=4,b[0]();else{if(a=0,i===void 0||(i=Kp(i),i===!1))return!1;b[1]()}};function v(){const $=e[n+1];if(o===5&&$==="'"||o===6&&$==='"')return n++,r="\\"+$,b[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&v())){if(l=Bp(s),f=qt[o],c=f[l]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=b[c[1]],u&&(r=s,u()===!1))))return;if(o===7)return t}}const Hr=new Map;function Gp(e,t){return re(e)?e[t]:null}function zp(e,t){if(!re(e))return null;let n=Hr.get(t);if(n||(n=Up(t),n&&Hr.set(t,n)),!n)return null;const o=n.length;let a=e,s=0;for(;se,Hp=e=>"",Vp="text",Wp=e=>e.length===0?"":Qf(e),Yp=Zf;function Vr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Jp(e){const t=Te(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Te(e.named.count)||Te(e.named.n))?Te(e.named.count)?e.named.count:Te(e.named.n)?e.named.n:t:t}function Xp(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Zp(e={}){const t=e.locale,n=Jp(e),o=re(e.pluralRules)&&q(t)&&_e(e.pluralRules[t])?e.pluralRules[t]:Vr,a=re(e.pluralRules)&&q(t)&&_e(e.pluralRules[t])?Vr:void 0,s=M=>M[o(n,M.length,a)],i=e.list||[],r=M=>i[M],l=e.named||ge();Te(e.pluralIndex)&&Xp(n,l);const c=M=>l[M];function u(M){const L=_e(e.messages)?e.messages(M):re(e.messages)?e.messages[M]:!1;return L||(e.parent?e.parent.message(M):Hp)}const f=M=>e.modifiers?e.modifiers[M]:qp,b=ne(e.processor)&&_e(e.processor.normalize)?e.processor.normalize:Wp,v=ne(e.processor)&&_e(e.processor.interpolate)?e.processor.interpolate:Yp,$=ne(e.processor)&&q(e.processor.type)?e.processor.type:Vp,R={list:r,named:c,plural:s,linked:(M,...L)=>{const[y,h]=L;let T="text",C="";L.length===1?re(y)?(C=y.modifier||C,T=y.type||T):q(y)&&(C=y||C):L.length===2&&(q(y)&&(C=y||C),q(h)&&(T=h||T));const I=u(M)(R),F=T==="vnode"&&Se(I)&&C?I[0]:I;return C?f(C)(F,T):F},message:u,type:$,interpolate:v,normalize:b,values:Ie(ge(),i,l)};return R}let Qn=null;function Qp(e){Qn=e}function eh(e,t,n){Qn&&Qn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const th=nh("function:translate");function nh(e){return t=>Qn&&Qn.emit(e,t)}const oh=qa.__EXTEND_POINT__,sn=qo(oh),ah={FALLBACK_TO_TRANSLATE:sn(),CANNOT_FORMAT_NUMBER:sn(),FALLBACK_TO_NUMBER_FORMAT:sn(),CANNOT_FORMAT_DATE:sn(),FALLBACK_TO_DATE_FORMAT:sn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:sn(),__EXTEND_POINT__:sn()},Wr=Q.__EXTEND_POINT__,rn=qo(Wr),st={INVALID_ARGUMENT:Wr,INVALID_DATE_ARGUMENT:rn(),INVALID_ISO_DATE_ARGUMENT:rn(),NOT_SUPPORT_NON_STRING_MESSAGE:rn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:rn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:rn(),NOT_SUPPORT_LOCALE_TYPE:rn(),__EXTEND_POINT__:rn()};function bt(e){return An(e,null,void 0)}function Wa(e,t){return t.locale!=null?Yr(t.locale):Yr(e.locale)}let Ya;function Yr(e){if(q(e))return e;if(_e(e)){if(e.resolvedOnce&&Ya!=null)return Ya;if(e.constructor.name==="Function"){const t=e();if(Xf(t))throw bt(st.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ya=t}else throw bt(st.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bt(st.NOT_SUPPORT_LOCALE_TYPE)}function sh(e,t,n){return[...new Set([n,...Se(t)?t:re(t)?Object.keys(t):q(t)?[t]:[n]])]}function Jr(e,t,n){const o=q(n)?n:kn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(o);if(!s){s=[];let i=[n];for(;Se(i);)i=Xr(s,i,t);const r=Se(t)||!ne(t)?t:t.default?t.default:null;i=q(r)?[r]:r,Se(i)&&Xr(s,i,!1),a.__localeChainCache.set(o,s)}return s}function Xr(e,t,n){let o=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ch(){return{upper:(e,t)=>t==="text"&&q(e)?e.toUpperCase():t==="vnode"&&re(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&q(e)?e.toLowerCase():t==="vnode"&&re(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&q(e)?Qr(e):t==="vnode"&&re(e)&&"__v_isVNode"in e?Qr(e.children):e}}let el;function tl(e){el=e}let nl;function uh(e){nl=e}let ol;function gh(e){ol=e}let al=null;const dh=e=>{al=e},fh=()=>al;let sl=null;const il=e=>{sl=e},ph=()=>sl;let rl=0;function hh(e={}){const t=_e(e.onWarn)?e.onWarn:zf,n=q(e.version)?e.version:lh,o=q(e.locale)||_e(e.locale)?e.locale:kn,a=_e(o)?kn:o,s=Se(e.fallbackLocale)||ne(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=ne(e.messages)?e.messages:Ja(a),r=ne(e.datetimeFormats)?e.datetimeFormats:Ja(a),l=ne(e.numberFormats)?e.numberFormats:Ja(a),c=Ie(ge(),e.modifiers,ch()),u=e.pluralRules||ge(),f=_e(e.missing)?e.missing:null,b=se(e.missingWarn)||Ut(e.missingWarn)?e.missingWarn:!0,v=se(e.fallbackWarn)||Ut(e.fallbackWarn)?e.fallbackWarn:!0,$=!!e.fallbackFormat,A=!!e.unresolving,R=_e(e.postTranslation)?e.postTranslation:null,M=ne(e.processor)?e.processor:null,L=se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,h=_e(e.messageCompiler)?e.messageCompiler:el,T=_e(e.messageResolver)?e.messageResolver:nl||Gp,C=_e(e.localeFallbacker)?e.localeFallbacker:ol||sh,I=re(e.fallbackContext)?e.fallbackContext:void 0,F=e,S=re(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,W=re(F.__numberFormatters)?F.__numberFormatters:new Map,ae=re(F.__meta)?F.__meta:{};rl++;const H={version:n,cid:rl,locale:o,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:b,fallbackWarn:v,fallbackFormat:$,unresolving:A,postTranslation:R,processor:M,warnHtmlMessage:L,escapeParameter:y,messageCompiler:h,messageResolver:T,localeFallbacker:C,fallbackContext:I,onWarn:t,__meta:ae};return H.datetimeFormats=r,H.numberFormats=l,H.__datetimeFormatters=S,H.__numberFormatters=W,__INTLIFY_PROD_DEVTOOLS__&&eh(H,n,ae),H}const Ja=e=>({[e]:ge()});function Xa(e,t,n,o,a){const{missing:s,onWarn:i}=e;if(s!==null){const r=s(e,n,t,a);return q(r)?r:t}else return t}function eo(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function mh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function bh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o_h(n,e)}function _h(e,t){const n=Pp(t);if(n==null)throw Zn(0);if(Va(n)===1){const s=Ip(n);return e.plural(s.reduce((i,r)=>[...i,ll(e,r)],[]))}else return ll(e,n)}function ll(e,t){const n=Mp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=Rp(t).reduce((a,s)=>[...a,Qa(e,s)],[]);return e.normalize(o)}}function Qa(e,t){const n=Va(t);switch(n){case 3:return Yo(t,n);case 9:return Yo(t,n);case 4:{const o=t;if(ot(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(ot(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Zn(n)}case 5:{const o=t;if(ot(o,"i")&&Te(o.i))return e.interpolate(e.list(o.i));if(ot(o,"index")&&Te(o.index))return e.interpolate(e.list(o.index));throw Zn(n)}case 6:{const o=t,a=Dp(o),s=Fp(o);return e.linked(Qa(e,s),a?Qa(e,a):void 0,e.type)}case 7:return Yo(t,n);case 8:return Yo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const cl=e=>e;let Tn=ge();function ul(e,t={}){let n=!1;const o=t.onError||ip;return t.onError=a=>{n=!0,o(a)},{...Np(e,t),detectError:n}}const yh=(e,t)=>{if(!q(e))throw bt(st.NOT_SUPPORT_NON_STRING_MESSAGE);{se(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||cl)(e),a=Tn[o];if(a)return a;const{code:s,detectError:i}=ul(e,t),r=new Function(`return ${s}`)();return i?r:Tn[o]=r}};function Ah(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&q(e)){se(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||cl)(e),a=Tn[o];if(a)return a;const{ast:s,detectError:i}=ul(e,{...t,location:!1,jit:!0}),r=Za(s);return i?r:Tn[o]=r}else{const n=e.cacheKey;if(n){const o=Tn[n];return o||(Tn[n]=Za(e))}else return Za(e)}}const gl=()=>"",Je=e=>_e(e);function dl(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:a,messageCompiler:s,fallbackLocale:i,messages:r}=e,[l,c]=es(...t),u=se(c.missingWarn)?c.missingWarn:e.missingWarn,f=se(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,b=se(c.escapeParameter)?c.escapeParameter:e.escapeParameter,v=!!c.resolvedMessage,$=q(c.default)||se(c.default)?se(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",A=n||$!=="",R=Wa(e,c);b&&Sh(c);let[M,L,y]=v?[l,R,r[R]||ge()]:fl(e,l,R,i,f,u),h=M,T=l;if(!v&&!(q(h)||mt(h)||Je(h))&&A&&(h=$,T=h),!v&&(!(q(h)||mt(h)||Je(h))||!q(L)))return a?Jo:l;let C=!1;const I=()=>{C=!0},F=Je(h)?h:pl(e,l,L,h,T,I);if(C)return h;const S=Th(e,L,y,c),W=Zp(S),ae=vh(e,F,W);let H=o?o(ae,l):ae;if(b&&q(H)&&(H=Yf(H)),__INTLIFY_PROD_DEVTOOLS__){const ee={timestamp:Date.now(),key:q(l)?l:Je(h)?h.key:"",locale:L||(Je(h)?h.locale:""),format:q(h)?h:Je(h)?h.source:"",message:H};ee.meta=Ie({},e.__meta,fh()||{}),th(ee)}return H}function Sh(e){Se(e.list)?e.list=e.list.map(t=>q(t)?$r(t):t):re(e.named)&&Object.keys(e.named).forEach(t=>{q(e.named[t])&&(e.named[t]=$r(e.named[t]))})}function fl(e,t,n,o,a,s){const{messages:i,onWarn:r,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let f=ge(),b,v=null;const $="translate";for(let A=0;Ao;return c.locale=n,c.key=t,c}const l=i(o,kh(e,n,a,o,r,s));return l.locale=n,l.key=t,l.source=o,l}function vh(e,t,n){return t(n)}function es(...e){const[t,n,o]=e,a=ge();if(!q(t)&&!Te(t)&&!Je(t)&&!mt(t))throw bt(st.INVALID_ARGUMENT);const s=Te(t)?String(t):(Je(t),t);return Te(n)?a.plural=n:q(n)?a.default=n:ne(n)&&!zo(n)?a.named=n:Se(n)&&(a.list=n),Te(o)?a.plural=o:q(o)?a.default=o:ne(o)&&Ie(a,o),[s,a]}function kh(e,t,n,o,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw s&&s(i),i},onCacheKey:i=>qf(t,n,i)}}function Th(e,t,n,o){const{modifiers:a,pluralRules:s,messageResolver:i,fallbackLocale:r,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,b={locale:t,modifiers:a,pluralRules:s,messages:v=>{let $=i(n,v);if($==null&&u){const[,,A]=fl(u,v,t,r,l,c);$=i(A,v)}if(q($)||mt($)){let A=!1;const M=pl(e,v,t,$,v,()=>{A=!0});return A?gl:M}else return Je($)?$:gl}};return e.processor&&(b.processor=e.processor),o.list&&(b.list=o.list),o.named&&(b.named=o.named),Te(o.plural)&&(b.pluralIndex=o.plural),b}function hl(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:r}=e,[l,c,u,f]=ts(...t),b=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const v=!!u.part,$=Wa(e,u),A=i(e,a,$);if(!q(l)||l==="")return new Intl.DateTimeFormat($,f).format(c);let R={},M,L=null;const y="datetime format";for(let C=0;C{ml.includes(l)?i[l]=n[l]:s[l]=n[l]}),q(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function bl(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function _l(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:r}=e,[l,c,u,f]=ns(...t),b=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const v=!!u.part,$=Wa(e,u),A=i(e,a,$);if(!q(l)||l==="")return new Intl.NumberFormat($,f).format(c);let R={},M,L=null;const y="number format";for(let C=0;C{yl.includes(l)?i[l]=n[l]:s[l]=n[l]}),q(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function Al(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}wp();/*! + */function wp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function mt(e){return re(e)&&Va(e)===0&&(ot(e,"b")||ot(e,"body"))}const Or=["b","body"];function Pp(e){return zt(e,Or)}const xr=["c","cases"];function Ip(e){return zt(e,xr,[])}const jr=["s","static"];function Mp(e){return zt(e,jr)}const Br=["i","items"];function Rp(e){return zt(e,Br,[])}const Kr=["t","type"];function Va(e){return zt(e,Kr)}const Ur=["v","value"];function Yo(e,t){const n=zt(e,Ur);if(n!=null)return n;throw Zn(t)}const Gr=["m","modifier"];function Dp(e){return zt(e,Gr)}const zr=["k","key"];function Fp(e){const t=zt(e,zr);if(t)return t;throw Zn(6)}function zt(e,t,n){for(let o=0;o{i===void 0?i=r:i+=r},b[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},b[2]=()=>{b[0](),a++},b[3]=()=>{if(a>0)a--,o=4,b[0]();else{if(a=0,i===void 0||(i=Kp(i),i===!1))return!1;b[1]()}};function v(){const E=e[n+1];if(o===5&&E==="'"||o===6&&E==='"')return n++,r="\\"+E,b[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&v())){if(l=Bp(s),f=qt[o],c=f[l]||f.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=b[c[1]],u&&(r=s,u()===!1))))return;if(o===7)return t}}const Hr=new Map;function Gp(e,t){return re(e)?e[t]:null}function zp(e,t){if(!re(e))return null;let n=Hr.get(t);if(n||(n=Up(t),n&&Hr.set(t,n)),!n)return null;const o=n.length;let a=e,s=0;for(;se,Hp=e=>"",Vp="text",Wp=e=>e.length===0?"":Qf(e),Yp=Zf;function Vr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Jp(e){const t=Te(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Te(e.named.count)||Te(e.named.n))?Te(e.named.count)?e.named.count:Te(e.named.n)?e.named.n:t:t}function Xp(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Zp(e={}){const t=e.locale,n=Jp(e),o=re(e.pluralRules)&&q(t)&&_e(e.pluralRules[t])?e.pluralRules[t]:Vr,a=re(e.pluralRules)&&q(t)&&_e(e.pluralRules[t])?Vr:void 0,s=M=>M[o(n,M.length,a)],i=e.list||[],r=M=>i[M],l=e.named||ge();Te(e.pluralIndex)&&Xp(n,l);const c=M=>l[M];function u(M){const L=_e(e.messages)?e.messages(M):re(e.messages)?e.messages[M]:!1;return L||(e.parent?e.parent.message(M):Hp)}const f=M=>e.modifiers?e.modifiers[M]:qp,b=ne(e.processor)&&_e(e.processor.normalize)?e.processor.normalize:Wp,v=ne(e.processor)&&_e(e.processor.interpolate)?e.processor.interpolate:Yp,E=ne(e.processor)&&q(e.processor.type)?e.processor.type:Vp,R={list:r,named:c,plural:s,linked:(M,...L)=>{const[y,h]=L;let T="text",C="";L.length===1?re(y)?(C=y.modifier||C,T=y.type||T):q(y)&&(C=y||C):L.length===2&&(q(y)&&(C=y||C),q(h)&&(T=h||T));const I=u(M)(R),F=T==="vnode"&&Se(I)&&C?I[0]:I;return C?f(C)(F,T):F},message:u,type:E,interpolate:v,normalize:b,values:Ie(ge(),i,l)};return R}let Qn=null;function Qp(e){Qn=e}function eh(e,t,n){Qn&&Qn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const th=nh("function:translate");function nh(e){return t=>Qn&&Qn.emit(e,t)}const oh=qa.__EXTEND_POINT__,sn=qo(oh),ah={FALLBACK_TO_TRANSLATE:sn(),CANNOT_FORMAT_NUMBER:sn(),FALLBACK_TO_NUMBER_FORMAT:sn(),CANNOT_FORMAT_DATE:sn(),FALLBACK_TO_DATE_FORMAT:sn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:sn(),__EXTEND_POINT__:sn()},Wr=Q.__EXTEND_POINT__,rn=qo(Wr),st={INVALID_ARGUMENT:Wr,INVALID_DATE_ARGUMENT:rn(),INVALID_ISO_DATE_ARGUMENT:rn(),NOT_SUPPORT_NON_STRING_MESSAGE:rn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:rn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:rn(),NOT_SUPPORT_LOCALE_TYPE:rn(),__EXTEND_POINT__:rn()};function bt(e){return An(e,null,void 0)}function Wa(e,t){return t.locale!=null?Yr(t.locale):Yr(e.locale)}let Ya;function Yr(e){if(q(e))return e;if(_e(e)){if(e.resolvedOnce&&Ya!=null)return Ya;if(e.constructor.name==="Function"){const t=e();if(Xf(t))throw bt(st.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ya=t}else throw bt(st.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bt(st.NOT_SUPPORT_LOCALE_TYPE)}function sh(e,t,n){return[...new Set([n,...Se(t)?t:re(t)?Object.keys(t):q(t)?[t]:[n]])]}function Jr(e,t,n){const o=q(n)?n:kn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(o);if(!s){s=[];let i=[n];for(;Se(i);)i=Xr(s,i,t);const r=Se(t)||!ne(t)?t:t.default?t.default:null;i=q(r)?[r]:r,Se(i)&&Xr(s,i,!1),a.__localeChainCache.set(o,s)}return s}function Xr(e,t,n){let o=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ch(){return{upper:(e,t)=>t==="text"&&q(e)?e.toUpperCase():t==="vnode"&&re(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&q(e)?e.toLowerCase():t==="vnode"&&re(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&q(e)?Qr(e):t==="vnode"&&re(e)&&"__v_isVNode"in e?Qr(e.children):e}}let el;function tl(e){el=e}let nl;function uh(e){nl=e}let ol;function gh(e){ol=e}let al=null;const dh=e=>{al=e},fh=()=>al;let sl=null;const il=e=>{sl=e},ph=()=>sl;let rl=0;function hh(e={}){const t=_e(e.onWarn)?e.onWarn:zf,n=q(e.version)?e.version:lh,o=q(e.locale)||_e(e.locale)?e.locale:kn,a=_e(o)?kn:o,s=Se(e.fallbackLocale)||ne(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=ne(e.messages)?e.messages:Ja(a),r=ne(e.datetimeFormats)?e.datetimeFormats:Ja(a),l=ne(e.numberFormats)?e.numberFormats:Ja(a),c=Ie(ge(),e.modifiers,ch()),u=e.pluralRules||ge(),f=_e(e.missing)?e.missing:null,b=se(e.missingWarn)||Ut(e.missingWarn)?e.missingWarn:!0,v=se(e.fallbackWarn)||Ut(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,A=!!e.unresolving,R=_e(e.postTranslation)?e.postTranslation:null,M=ne(e.processor)?e.processor:null,L=se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,h=_e(e.messageCompiler)?e.messageCompiler:el,T=_e(e.messageResolver)?e.messageResolver:nl||Gp,C=_e(e.localeFallbacker)?e.localeFallbacker:ol||sh,I=re(e.fallbackContext)?e.fallbackContext:void 0,F=e,S=re(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,W=re(F.__numberFormatters)?F.__numberFormatters:new Map,ae=re(F.__meta)?F.__meta:{};rl++;const H={version:n,cid:rl,locale:o,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:b,fallbackWarn:v,fallbackFormat:E,unresolving:A,postTranslation:R,processor:M,warnHtmlMessage:L,escapeParameter:y,messageCompiler:h,messageResolver:T,localeFallbacker:C,fallbackContext:I,onWarn:t,__meta:ae};return H.datetimeFormats=r,H.numberFormats=l,H.__datetimeFormatters=S,H.__numberFormatters=W,__INTLIFY_PROD_DEVTOOLS__&&eh(H,n,ae),H}const Ja=e=>({[e]:ge()});function Xa(e,t,n,o,a){const{missing:s,onWarn:i}=e;if(s!==null){const r=s(e,n,t,a);return q(r)?r:t}else return t}function eo(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function mh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function bh(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o_h(n,e)}function _h(e,t){const n=Pp(t);if(n==null)throw Zn(0);if(Va(n)===1){const s=Ip(n);return e.plural(s.reduce((i,r)=>[...i,ll(e,r)],[]))}else return ll(e,n)}function ll(e,t){const n=Mp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=Rp(t).reduce((a,s)=>[...a,Qa(e,s)],[]);return e.normalize(o)}}function Qa(e,t){const n=Va(t);switch(n){case 3:return Yo(t,n);case 9:return Yo(t,n);case 4:{const o=t;if(ot(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(ot(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Zn(n)}case 5:{const o=t;if(ot(o,"i")&&Te(o.i))return e.interpolate(e.list(o.i));if(ot(o,"index")&&Te(o.index))return e.interpolate(e.list(o.index));throw Zn(n)}case 6:{const o=t,a=Dp(o),s=Fp(o);return e.linked(Qa(e,s),a?Qa(e,a):void 0,e.type)}case 7:return Yo(t,n);case 8:return Yo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const cl=e=>e;let Tn=ge();function ul(e,t={}){let n=!1;const o=t.onError||ip;return t.onError=a=>{n=!0,o(a)},{...Np(e,t),detectError:n}}const yh=(e,t)=>{if(!q(e))throw bt(st.NOT_SUPPORT_NON_STRING_MESSAGE);{se(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||cl)(e),a=Tn[o];if(a)return a;const{code:s,detectError:i}=ul(e,t),r=new Function(`return ${s}`)();return i?r:Tn[o]=r}};function Ah(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&q(e)){se(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||cl)(e),a=Tn[o];if(a)return a;const{ast:s,detectError:i}=ul(e,{...t,location:!1,jit:!0}),r=Za(s);return i?r:Tn[o]=r}else{const n=e.cacheKey;if(n){const o=Tn[n];return o||(Tn[n]=Za(e))}else return Za(e)}}const gl=()=>"",Je=e=>_e(e);function dl(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:a,messageCompiler:s,fallbackLocale:i,messages:r}=e,[l,c]=es(...t),u=se(c.missingWarn)?c.missingWarn:e.missingWarn,f=se(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,b=se(c.escapeParameter)?c.escapeParameter:e.escapeParameter,v=!!c.resolvedMessage,E=q(c.default)||se(c.default)?se(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",A=n||E!=="",R=Wa(e,c);b&&Sh(c);let[M,L,y]=v?[l,R,r[R]||ge()]:fl(e,l,R,i,f,u),h=M,T=l;if(!v&&!(q(h)||mt(h)||Je(h))&&A&&(h=E,T=h),!v&&(!(q(h)||mt(h)||Je(h))||!q(L)))return a?Jo:l;let C=!1;const I=()=>{C=!0},F=Je(h)?h:pl(e,l,L,h,T,I);if(C)return h;const S=Th(e,L,y,c),W=Zp(S),ae=vh(e,F,W);let H=o?o(ae,l):ae;if(b&&q(H)&&(H=Yf(H)),__INTLIFY_PROD_DEVTOOLS__){const ee={timestamp:Date.now(),key:q(l)?l:Je(h)?h.key:"",locale:L||(Je(h)?h.locale:""),format:q(h)?h:Je(h)?h.source:"",message:H};ee.meta=Ie({},e.__meta,fh()||{}),th(ee)}return H}function Sh(e){Se(e.list)?e.list=e.list.map(t=>q(t)?Er(t):t):re(e.named)&&Object.keys(e.named).forEach(t=>{q(e.named[t])&&(e.named[t]=Er(e.named[t]))})}function fl(e,t,n,o,a,s){const{messages:i,onWarn:r,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let f=ge(),b,v=null;const E="translate";for(let A=0;Ao;return c.locale=n,c.key=t,c}const l=i(o,kh(e,n,a,o,r,s));return l.locale=n,l.key=t,l.source=o,l}function vh(e,t,n){return t(n)}function es(...e){const[t,n,o]=e,a=ge();if(!q(t)&&!Te(t)&&!Je(t)&&!mt(t))throw bt(st.INVALID_ARGUMENT);const s=Te(t)?String(t):(Je(t),t);return Te(n)?a.plural=n:q(n)?a.default=n:ne(n)&&!zo(n)?a.named=n:Se(n)&&(a.list=n),Te(o)?a.plural=o:q(o)?a.default=o:ne(o)&&Ie(a,o),[s,a]}function kh(e,t,n,o,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw s&&s(i),i},onCacheKey:i=>qf(t,n,i)}}function Th(e,t,n,o){const{modifiers:a,pluralRules:s,messageResolver:i,fallbackLocale:r,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,b={locale:t,modifiers:a,pluralRules:s,messages:v=>{let E=i(n,v);if(E==null&&u){const[,,A]=fl(u,v,t,r,l,c);E=i(A,v)}if(q(E)||mt(E)){let A=!1;const M=pl(e,v,t,E,v,()=>{A=!0});return A?gl:M}else return Je(E)?E:gl}};return e.processor&&(b.processor=e.processor),o.list&&(b.list=o.list),o.named&&(b.named=o.named),Te(o.plural)&&(b.pluralIndex=o.plural),b}function hl(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:r}=e,[l,c,u,f]=ts(...t),b=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const v=!!u.part,E=Wa(e,u),A=i(e,a,E);if(!q(l)||l==="")return new Intl.DateTimeFormat(E,f).format(c);let R={},M,L=null;const y="datetime format";for(let C=0;C{ml.includes(l)?i[l]=n[l]:s[l]=n[l]}),q(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function bl(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function _l(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:r}=e,[l,c,u,f]=ns(...t),b=se(u.missingWarn)?u.missingWarn:e.missingWarn;se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const v=!!u.part,E=Wa(e,u),A=i(e,a,E);if(!q(l)||l==="")return new Intl.NumberFormat(E,f).format(c);let R={},M,L=null;const y="number format";for(let C=0;C{yl.includes(l)?i[l]=n[l]:s[l]=n[l]}),q(o)?s.locale=o:ne(o)&&(i=o),ne(a)&&(i=a),[s.key||"",r,s,i]}function Al(e,t,n){const o=e;for(const a in n){const s=`${t}__${a}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}wp();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const Eh="9.14.5";function $h(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Lh=ah.__EXTEND_POINT__,It=qo(Lh);It(),It(),It(),It(),It(),It(),It(),It(),It();const Sl=st.__EXTEND_POINT__,Ue=qo(Sl),Le={UNEXPECTED_RETURN_TYPE:Sl,INVALID_ARGUMENT:Ue(),MUST_BE_CALL_SETUP_TOP:Ue(),NOT_INSTALLED:Ue(),NOT_AVAILABLE_IN_LEGACY_MODE:Ue(),REQUIRED_VALUE:Ue(),INVALID_VALUE:Ue(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ue(),NOT_INSTALLED_WITH_PROVIDE:Ue(),UNEXPECTED_ERROR:Ue(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ue(),BRIDGE_SUPPORT_VUE_2_ONLY:Ue(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ue(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ue(),__EXTEND_POINT__:Ue()};function we(e,...t){return An(e,null,void 0)}const os=Kt("__translateVNode"),as=Kt("__datetimeParts"),ss=Kt("__numberParts"),vl=Kt("__setPluralRules"),kl=Kt("__injectWithOption"),is=Kt("__dispose");function to(e){if(!re(e)||mt(e))return e;for(const t in e)if(ot(e,t))if(!t.includes("."))re(e[t])&&to(e[t]);else{const n=t.split("."),o=n.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in r&&"resource"in r){const{locale:l,resource:c}=r;l?(i[l]=i[l]||ge(),Vo(c,i[l])):Vo(c,i)}else q(r)&&Vo(JSON.parse(r),i)}),a==null&&s)for(const r in i)ot(i,r)&&to(i[r]);return i}function Tl(e){return e.type}function El(e,t,n){let o=re(t.messages)?t.messages:ge();"__i18nGlobal"in n&&(o=Xo(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const a=Object.keys(o);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(re(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(re(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function $l(e){return Ne(qn,null,e,0)}const Ll="__INTLIFY_META__",Cl=()=>[],Ch=()=>!1;let Nl=0;function wl(e){return(t,n,o,a)=>e(n,o,Ct()||void 0,a)}const Nh=()=>{const e=Ct();let t=null;return e&&(t=Tl(e)[Ll])?{[Ll]:t}:null};function rs(e={},t){const{__root:n,__injectWithOption:o}=e,a=n===void 0,s=e.flatJson,i=Go?pe:_a,r=!!e.translateExistCompatible;let l=se(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:q(e.locale)?e.locale:kn),u=i(n&&l?n.fallbackLocale.value:q(e.fallbackLocale)||Se(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i(Xo(c.value,e)),b=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),v=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let $=n?n.missingWarn:se(e.missingWarn)||Ut(e.missingWarn)?e.missingWarn:!0,A=n?n.fallbackWarn:se(e.fallbackWarn)||Ut(e.fallbackWarn)?e.fallbackWarn:!0,R=n?n.fallbackRoot:se(e.fallbackRoot)?e.fallbackRoot:!0,M=!!e.fallbackFormat,L=_e(e.missing)?e.missing:null,y=_e(e.missing)?wl(e.missing):null,h=_e(e.postTranslation)?e.postTranslation:null,T=n?n.warnHtmlMessage:se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const I=n?n.modifiers:ne(e.modifiers)?e.modifiers:{};let F=e.pluralRules||n&&n.pluralRules,S;S=(()=>{a&&il(null);const k={version:Eh,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:I,pluralRules:F,missing:y===null?void 0:y,missingWarn:$,fallbackWarn:A,fallbackFormat:M,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:T,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=b.value,k.numberFormats=v.value,k.__datetimeFormatters=ne(S)?S.__datetimeFormatters:void 0,k.__numberFormatters=ne(S)?S.__numberFormatters:void 0;const P=hh(k);return a&&il(P),P})(),eo(S,c.value,u.value);function ae(){return[c.value,u.value,f.value,b.value,v.value]}const H=he({get:()=>c.value,set:k=>{c.value=k,S.locale=c.value}}),ee=he({get:()=>u.value,set:k=>{u.value=k,S.fallbackLocale=u.value,eo(S,c.value,k)}}),Y=he(()=>f.value),D=he(()=>b.value),j=he(()=>v.value);function B(){return _e(h)?h:null}function V(k){h=k,S.postTranslation=k}function X(){return L}function ue(k){k!==null&&(y=wl(k)),L=k,S.missing=y}const de=(k,P,J,oe,ye,Be)=>{ae();let Me;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=n?ph():void 0),Me=k(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(J!=="translate exists"&&Te(Me)&&Me===Jo||J==="translate exists"&&!Me){const[cn,Ls]=P();return n&&R?oe(n):ye(cn)}else{if(Be(Me))return Me;throw we(Le.UNEXPECTED_RETURN_TYPE)}};function fe(...k){return de(P=>Reflect.apply(dl,null,[P,...k]),()=>es(...k),"translate",P=>Reflect.apply(P.t,P,[...k]),P=>P,P=>q(P))}function je(...k){const[P,J,oe]=k;if(oe&&!re(oe))throw we(Le.INVALID_ARGUMENT);return fe(P,J,Ie({resolvedMessage:!0},oe||{}))}function Yt(...k){return de(P=>Reflect.apply(hl,null,[P,...k]),()=>ts(...k),"datetime format",P=>Reflect.apply(P.d,P,[...k]),()=>Zr,P=>q(P))}function ln(...k){return de(P=>Reflect.apply(_l,null,[P,...k]),()=>ns(...k),"number format",P=>Reflect.apply(P.n,P,[...k]),()=>Zr,P=>q(P))}function it(k){return k.map(P=>q(P)||Te(P)||se(P)?$l(String(P)):P)}const Ft={normalize:it,interpolate:k=>k,type:"vnode"};function Jt(...k){return de(P=>{let J;const oe=P;try{oe.processor=Ft,J=Reflect.apply(dl,null,[oe,...k])}finally{oe.processor=null}return J},()=>es(...k),"translate",P=>P[os](...k),P=>[$l(P)],P=>Se(P))}function Ze(...k){return de(P=>Reflect.apply(_l,null,[P,...k]),()=>ns(...k),"number format",P=>P[ss](...k),Cl,P=>q(P)||Se(P))}function $n(...k){return de(P=>Reflect.apply(hl,null,[P,...k]),()=>ts(...k),"datetime format",P=>P[as](...k),Cl,P=>q(P)||Se(P))}function p(k){F=k,S.pluralRules=F}function _(k,P){return de(()=>{if(!k)return!1;const J=q(P)?P:c.value,oe=x(J),ye=S.messageResolver(oe,k);return r?ye!=null:mt(ye)||Je(ye)||q(ye)},()=>[k],"translate exists",J=>Reflect.apply(J.te,J,[k,P]),Ch,J=>se(J))}function m(k){let P=null;const J=Jr(S,u.value,c.value);for(let oe=0;oe{l&&(c.value=k,S.locale=k,eo(S,c.value,u.value))}),tn(n.fallbackLocale,k=>{l&&(u.value=k,S.fallbackLocale=k,eo(S,c.value,u.value))}));const K={id:Nl,locale:H,fallbackLocale:ee,get inheritLocale(){return l},set inheritLocale(k){l=k,k&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,eo(S,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return I},get pluralRules(){return F||{}},get isGlobal(){return a},get missingWarn(){return $},set missingWarn(k){$=k,S.missingWarn=$},get fallbackWarn(){return A},set fallbackWarn(k){A=k,S.fallbackWarn=A},get fallbackRoot(){return R},set fallbackRoot(k){R=k},get fallbackFormat(){return M},set fallbackFormat(k){M=k,S.fallbackFormat=M},get warnHtmlMessage(){return T},set warnHtmlMessage(k){T=k,S.warnHtmlMessage=k},get escapeParameter(){return C},set escapeParameter(k){C=k,S.escapeParameter=k},t:fe,getLocaleMessage:x,setLocaleMessage:O,mergeLocaleMessage:G,getPostTranslationHandler:B,setPostTranslationHandler:V,getMissingHandler:X,setMissingHandler:ue,[vl]:p};return K.datetimeFormats=D,K.numberFormats=j,K.rt=je,K.te=_,K.tm=N,K.d=Yt,K.n=ln,K.getDateTimeFormat=U,K.setDateTimeFormat=g,K.mergeDateTimeFormat=d,K.getNumberFormat=E,K.setNumberFormat=w,K.mergeNumberFormat=z,K[kl]=o,K[os]=Jt,K[as]=$n,K[ss]=Ze,K}function wh(e){const t=q(e.locale)?e.locale:kn,n=q(e.fallbackLocale)||Se(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=_e(e.missing)?e.missing:void 0,a=se(e.silentTranslationWarn)||Ut(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=se(e.silentFallbackWarn)||Ut(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=se(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,l=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=_e(e.postTranslation)?e.postTranslation:void 0,f=q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,b=!!e.escapeParameterHtml,v=se(e.sync)?e.sync:!0;let $=e.messages;if(ne(e.sharedMessages)){const C=e.sharedMessages;$=Object.keys(C).reduce((F,S)=>{const W=F[S]||(F[S]={});return Ie(W,C[S]),F},$||{})}const{__i18n:A,__root:R,__injectWithOption:M}=e,L=e.datetimeFormats,y=e.numberFormats,h=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:$,flatJson:h,datetimeFormats:L,numberFormats:y,missing:o,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:r,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:T,__i18n:A,__root:R,__injectWithOption:M}}function ls(e={},t){{const n=rs(wh(e)),{__extender:o}=e,a={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return se(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=se(s)?!s:s},get silentFallbackWarn(){return se(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=se(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[i,r,l]=s,c={};let u=null,f=null;if(!q(i))throw we(Le.INVALID_ARGUMENT);const b=i;return q(r)?c.locale=r:Se(r)?u=r:ne(r)&&(f=r),Se(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[b,u||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[i,r,l]=s,c={plural:1};let u=null,f=null;if(!q(i))throw we(Le.INVALID_ARGUMENT);const b=i;return q(r)?c.locale=r:Te(r)?c.plural=r:Se(r)?u=r:ne(r)&&(f=r),q(l)?c.locale=l:Se(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[b,u||f||{},c])},te(s,i){return n.te(s,i)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,i){n.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){n.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,i){n.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){n.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,i){n.setNumberFormat(s,i)},mergeNumberFormat(s,i){n.mergeNumberFormat(s,i)},getChoiceIndex(s,i){return-1}};return a.__extender=o,a}}const cs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ph({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,a)=>[...o,...a.type===Ye?a.children:[a]],[]):t.reduce((n,o)=>{const a=e[o];return a&&(n[o]=a()),n},ge())}function Pl(e){return Ye}const Il=jn({name:"i18n-t",props:Ie({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},cs),setup(e,t){const{slots:n,attrs:o}=t,a=e.i18n||us({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),i=ge();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=q(e.plural)?+e.plural:e.plural);const r=Ph(t,s),l=a[os](e.keypath,r,i),c=Ie(ge(),o),u=q(e.tag)||re(e.tag)?e.tag:Pl();return ar(u,c,l)}}});function Ih(e){return Se(e)&&!q(e[0])}function Ml(e,t,n,o){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let r=ge();e.locale&&(i.locale=e.locale),q(e.format)?i.key=e.format:re(e.format)&&(q(e.format.key)&&(i.key=e.format.key),r=Object.keys(e.format).reduce((b,v)=>n.includes(v)?Ie(ge(),b,{[v]:e.format[v]}):b,ge()));const l=o(e.value,i,r);let c=[i.key];Se(l)?c=l.map((b,v)=>{const $=a[b.type],A=$?$({[b.type]:b.value,index:v,parts:l}):[b.value];return Ih(A)&&(A[0].key=`${b.type}-${v}`),A}):q(l)&&(c=[l]);const u=Ie(ge(),s),f=q(e.tag)||re(e.tag)?e.tag:Pl();return ar(f,u,c)}}const Rl=jn({name:"i18n-n",props:Ie({value:{type:Number,required:!0},format:{type:[String,Object]}},cs),setup(e,t){const n=e.i18n||us({useScope:e.scope,__useComponent:!0});return Ml(e,t,yl,(...o)=>n[ss](...o))}}),Dl=jn({name:"i18n-d",props:Ie({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cs),setup(e,t){const n=e.i18n||us({useScope:e.scope,__useComponent:!0});return Ml(e,t,ml,(...o)=>n[as](...o))}});function Mh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Rh(e){const t=i=>{const{instance:r,modifiers:l,value:c}=i;if(!r||!r.$)throw we(Le.UNEXPECTED_ERROR);const u=Mh(e,r.$),f=Fl(c);return[Reflect.apply(u.t,u,[...Ol(f)]),u]};return{created:(i,r)=>{const[l,c]=t(r);Go&&e.global===c&&(i.__i18nWatcher=tn(c.locale,()=>{r.instance&&r.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Go&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:r})=>{if(i.__composer){const l=i.__composer,c=Fl(r);i.textContent=Reflect.apply(l.t,l,[...Ol(c)])}},getSSRProps:i=>{const[r]=t(i);return{textContent:r}}}}function Fl(e){if(q(e))return{path:e};if(ne(e)){if(!("path"in e))throw we(Le.REQUIRED_VALUE,"path");return e}else throw we(Le.INVALID_VALUE)}function Ol(e){const{path:t,locale:n,args:o,choice:a,plural:s}=e,i={},r=o||{};return q(n)&&(i.locale=n),Te(a)&&(i.plural=a),Te(s)&&(i.plural=s),[t,r,i]}function Dh(e,t,...n){const o=ne(n[0])?n[0]:{},a=!!o.useI18nComponentName;(se(o.globalInstall)?o.globalInstall:!0)&&([a?"i18n":Il.name,"I18nT"].forEach(i=>e.component(i,Il)),[Rl.name,"I18nN"].forEach(i=>e.component(i,Rl)),[Dl.name,"I18nD"].forEach(i=>e.component(i,Dl))),e.directive("t",Rh(t))}function Fh(e,t,n){return{beforeCreate(){const o=Ct();if(!o)throw we(Le.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=xl(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=ls(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=xl(e,a);else{this.$i18n=ls({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&El(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Ct();if(!o)throw we(Le.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(o),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[vl](t.pluralizationRules||e.pluralizationRules);const n=Xo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Oh=Kt("global-vue-i18n");function xh(e={},t){const n=__VUE_I18N_LEGACY_API__&&se(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=se(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[i,r]=jh(e,n),l=Kt("");function c(b){return s.get(b)||null}function u(b,v){s.set(b,v)}function f(b){s.delete(b)}{const b={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(v,...$){if(v.__VUE_I18N_SYMBOL__=l,v.provide(v.__VUE_I18N_SYMBOL__,b),ne($[0])){const M=$[0];b.__composerExtend=M.__composerExtend,b.__vueI18nExtend=M.__vueI18nExtend}let A=null;!n&&o&&(A=Wh(v,b.global)),__VUE_I18N_FULL_INSTALL__&&Dh(v,b,...$),__VUE_I18N_LEGACY_API__&&n&&v.mixin(Fh(r,r.__composer,b));const R=v.unmount;v.unmount=()=>{A&&A(),b.dispose(),R()}},get global(){return r},dispose(){i.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return b}}function us(e={}){const t=Ct();if(t==null)throw we(Le.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw we(Le.NOT_INSTALLED);const n=Bh(t),o=Uh(n),a=Tl(t),s=Kh(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw we(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return Hh(t,s,o,e)}if(s==="global")return El(o,e,a),o;if(s==="parent"){let l=Gh(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let r=i.__getInstance(t);if(r==null){const l=Ie({},e);"__i18n"in a&&(l.__i18n=a.__i18n),o&&(l.__root=o),r=rs(l),i.__composerExtend&&(r[is]=i.__composerExtend(r)),qh(i,t,r),i.__setInstance(t,r)}return r}function jh(e,t,n){const o=ia();{const a=__VUE_I18N_LEGACY_API__&&t?o.run(()=>ls(e)):o.run(()=>rs(e));if(a==null)throw we(Le.UNEXPECTED_ERROR);return[o,a]}}function Bh(e){{const t=Fe(e.isCE?Oh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw we(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return t}}function Kh(e,t){return zo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Uh(e){return e.mode==="composition"?e.global:e.global.__composer}function Gh(e,t,n=!1){let o=null;const a=t.root;let s=zh(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const r=i.__getInstance(s);r!=null&&(o=r.__composer,n&&o&&!o[kl]&&(o=null))}if(o!=null||a===s)break;s=s.parent}return o}function zh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function qh(e,t,n){Un(()=>{},t),Io(()=>{const o=n;e.__deleteInstance(t);const a=o[is];a&&(a(),delete o[is])},t)}function Hh(e,t,n,o={}){const a=t==="local",s=_a(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw we(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=se(o.inheritLocale)?o.inheritLocale:!q(o.locale),r=pe(!a||i?n.locale.value:q(o.locale)?o.locale:kn),l=pe(!a||i?n.fallbackLocale.value:q(o.fallbackLocale)||Se(o.fallbackLocale)||ne(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:r.value),c=pe(Xo(r.value,o)),u=pe(ne(o.datetimeFormats)?o.datetimeFormats:{[r.value]:{}}),f=pe(ne(o.numberFormats)?o.numberFormats:{[r.value]:{}}),b=a?n.missingWarn:se(o.missingWarn)||Ut(o.missingWarn)?o.missingWarn:!0,v=a?n.fallbackWarn:se(o.fallbackWarn)||Ut(o.fallbackWarn)?o.fallbackWarn:!0,$=a?n.fallbackRoot:se(o.fallbackRoot)?o.fallbackRoot:!0,A=!!o.fallbackFormat,R=_e(o.missing)?o.missing:null,M=_e(o.postTranslation)?o.postTranslation:null,L=a?n.warnHtmlMessage:se(o.warnHtmlMessage)?o.warnHtmlMessage:!0,y=!!o.escapeParameter,h=a?n.modifiers:ne(o.modifiers)?o.modifiers:{},T=o.pluralRules||a&&n.pluralRules;function C(){return[r.value,l.value,c.value,u.value,f.value]}const I=he({get:()=>s.value?s.value.locale.value:r.value,set:m=>{s.value&&(s.value.locale.value=m),r.value=m}}),F=he({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:m=>{s.value&&(s.value.fallbackLocale.value=m),l.value=m}}),S=he(()=>s.value?s.value.messages.value:c.value),W=he(()=>u.value),ae=he(()=>f.value);function H(){return s.value?s.value.getPostTranslationHandler():M}function ee(m){s.value&&s.value.setPostTranslationHandler(m)}function Y(){return s.value?s.value.getMissingHandler():R}function D(m){s.value&&s.value.setMissingHandler(m)}function j(m){return C(),m()}function B(...m){return s.value?j(()=>Reflect.apply(s.value.t,null,[...m])):j(()=>"")}function V(...m){return s.value?Reflect.apply(s.value.rt,null,[...m]):""}function X(...m){return s.value?j(()=>Reflect.apply(s.value.d,null,[...m])):j(()=>"")}function ue(...m){return s.value?j(()=>Reflect.apply(s.value.n,null,[...m])):j(()=>"")}function de(m){return s.value?s.value.tm(m):{}}function fe(m,N){return s.value?s.value.te(m,N):!1}function je(m){return s.value?s.value.getLocaleMessage(m):{}}function Yt(m,N){s.value&&(s.value.setLocaleMessage(m,N),c.value[m]=N)}function ln(m,N){s.value&&s.value.mergeLocaleMessage(m,N)}function it(m){return s.value?s.value.getDateTimeFormat(m):{}}function Dt(m,N){s.value&&(s.value.setDateTimeFormat(m,N),u.value[m]=N)}function Ft(m,N){s.value&&s.value.mergeDateTimeFormat(m,N)}function Jt(m){return s.value?s.value.getNumberFormat(m):{}}function Ze(m,N){s.value&&(s.value.setNumberFormat(m,N),f.value[m]=N)}function $n(m,N){s.value&&s.value.mergeNumberFormat(m,N)}const p={get id(){return s.value?s.value.id:-1},locale:I,fallbackLocale:F,messages:S,datetimeFormats:W,numberFormats:ae,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(m){s.value&&(s.value.inheritLocale=m)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:h},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:b},set missingWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackWarn(){return s.value?s.value.fallbackWarn:v},set fallbackWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackRoot(){return s.value?s.value.fallbackRoot:$},set fallbackRoot(m){s.value&&(s.value.fallbackRoot=m)},get fallbackFormat(){return s.value?s.value.fallbackFormat:A},set fallbackFormat(m){s.value&&(s.value.fallbackFormat=m)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(m){s.value&&(s.value.warnHtmlMessage=m)},get escapeParameter(){return s.value?s.value.escapeParameter:y},set escapeParameter(m){s.value&&(s.value.escapeParameter=m)},t:B,getPostTranslationHandler:H,setPostTranslationHandler:ee,getMissingHandler:Y,setMissingHandler:D,rt:V,d:X,n:ue,tm:de,te:fe,getLocaleMessage:je,setLocaleMessage:Yt,mergeLocaleMessage:ln,getDateTimeFormat:it,setDateTimeFormat:Dt,mergeDateTimeFormat:Ft,getNumberFormat:Jt,setNumberFormat:Ze,mergeNumberFormat:$n};function _(m){m.locale.value=r.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(N=>{m.mergeLocaleMessage(N,c.value[N])}),Object.keys(u.value).forEach(N=>{m.mergeDateTimeFormat(N,u.value[N])}),Object.keys(f.value).forEach(N=>{m.mergeNumberFormat(N,f.value[N])}),m.escapeParameter=y,m.fallbackFormat=A,m.fallbackRoot=$,m.fallbackWarn=v,m.missingWarn=b,m.warnHtmlMessage=L}return Ai(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw we(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=s.value=e.proxy.$i18n.__composer;t==="global"?(r.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,u.value=m.datetimeFormats.value,f.value=m.numberFormats.value):a&&_(m)}),p}const Vh=["locale","fallbackLocale","availableLocales"],jl=["t","rt","d","n","tm","te"];function Wh(e,t){const n=Object.create(null);return Vh.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw we(Le.UNEXPECTED_ERROR);const i=ve(s.value)?{get(){return s.value.value},set(r){s.value.value=r}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,jl.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw we(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,jl.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if($h(),__INTLIFY_JIT_COMPILATION__?tl(Ah):tl(yh),uh(zp),gh(Jr),__INTLIFY_PROD_DEVTOOLS__){const e=wt();e.__INTLIFY__=!0,Qp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Yh=Object.assign({"./locales/ar/aria.json":ed,"./locales/ar/buttons.json":td,"./locales/ar/detail.json":nd,"./locales/ar/legend.json":od,"./locales/ar/messages.json":ad,"./locales/ar/options.json":sd,"./locales/ar/prayerLaps.json":id,"./locales/ar/search.json":rd,"./locales/ar/tabs.json":ld,"./locales/de/aria.json":cd,"./locales/de/buttons.json":ud,"./locales/de/detail.json":gd,"./locales/de/legend.json":dd,"./locales/de/messages.json":fd,"./locales/de/options.json":pd,"./locales/de/prayerLaps.json":hd,"./locales/de/search.json":md,"./locales/de/tabs.json":bd,"./locales/en/aria.json":_d,"./locales/en/buttons.json":yd,"./locales/en/detail.json":Ad,"./locales/en/legend.json":Sd,"./locales/en/messages.json":vd,"./locales/en/options.json":kd,"./locales/en/popup.json":Td,"./locales/en/prayerLaps.json":Ed,"./locales/en/search.json":$d,"./locales/en/tabs.json":Ld,"./locales/es/aria.json":Cd,"./locales/es/buttons.json":Nd,"./locales/es/detail.json":wd,"./locales/es/legend.json":Pd,"./locales/es/messages.json":Id,"./locales/es/options.json":Md,"./locales/es/prayerLaps.json":Rd,"./locales/es/search.json":Dd,"./locales/es/tabs.json":Fd,"./locales/fr/aria.json":Od,"./locales/fr/buttons.json":xd,"./locales/fr/detail.json":jd,"./locales/fr/legend.json":Bd,"./locales/fr/messages.json":Kd,"./locales/fr/options.json":Ud,"./locales/fr/popup.json":Gd,"./locales/fr/prayerLaps.json":zd,"./locales/fr/search.json":qd,"./locales/fr/tabs.json":Hd,"./locales/hi/aria.json":Vd,"./locales/hi/buttons.json":Wd,"./locales/hi/detail.json":Yd,"./locales/hi/legend.json":Jd,"./locales/hi/messages.json":Xd,"./locales/hi/options.json":Zd,"./locales/hi/prayerLaps.json":Qd,"./locales/hi/search.json":ef,"./locales/it/aria.json":tf,"./locales/it/buttons.json":nf,"./locales/it/detail.json":of,"./locales/it/legend.json":af,"./locales/it/messages.json":sf,"./locales/it/options.json":rf,"./locales/it/prayerLaps.json":lf,"./locales/it/search.json":cf,"./locales/pt/aria.json":uf,"./locales/pt/buttons.json":gf,"./locales/pt/detail.json":df,"./locales/pt/legend.json":ff,"./locales/pt/messages.json":pf,"./locales/pt/options.json":hf,"./locales/pt/prayerLaps.json":mf,"./locales/pt/search.json":bf,"./locales/pt/tabs.json":_f,"./locales/ro/aria.json":yf,"./locales/ro/buttons.json":Af,"./locales/ro/detail.json":Sf,"./locales/ro/legend.json":vf,"./locales/ro/messages.json":kf,"./locales/ro/options.json":Tf,"./locales/ro/prayerLaps.json":Ef,"./locales/ro/search.json":$f,"./locales/ru/aria.json":Lf,"./locales/ru/buttons.json":Cf,"./locales/ru/detail.json":Nf,"./locales/ru/legend.json":wf,"./locales/ru/messages.json":Pf,"./locales/ru/options.json":If,"./locales/ru/prayerLaps.json":Mf,"./locales/ru/search.json":Rf,"./locales/ru/tabs.json":Df,"./locales/zh/aria.json":Ff,"./locales/zh/buttons.json":Of,"./locales/zh/detail.json":xf,"./locales/zh/legend.json":jf,"./locales/zh/messages.json":Bf,"./locales/zh/options.json":Kf,"./locales/zh/prayerLaps.json":Uf,"./locales/zh/search.json":Gf}),no={};for(const[e,t]of Object.entries(Yh)){const n=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!n)continue;const[,o,a]=n;no[o]??(no[o]={}),no[o][a]=t}const Bl=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Jh(){var n;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Bl.includes(t)?t:"en"}function Xh(){return xh({legacy:!1,globalInjection:!0,locale:Jh(),fallbackLocale:"en",messages:no,missingWarn:!1,fallbackWarn:!1})}function Kl(e,t){const n=t||Zh(e);Un(()=>{var r;const o=Ct();if(!o)return;const a=(r=o.proxy)==null?void 0:r.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${n}"]`))return;const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,s.appendChild(i)})}function Zh(e){let t=0;for(let n=0;n(t==null?void 0:t.theme)==="dark"),a=he(()=>{var $;return(($=n==null?void 0:n.value)==null?void 0:$.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),s=pe(!1);let i=null,r=null,l=null;function c(){return"doxa-pin-hint-seen"}function u(){try{return sessionStorage.getItem(c())==="1"}catch{return!1}}function f(){try{sessionStorage.setItem(c(),"1")}catch{}}function b(){s.value&&(s.value=!1,f(),l&&(l.removeEventListener("pointerdown",v,!0),l=null),i&&(clearTimeout(i),i=null))}function v(){b()}return Un(()=>{var M,L,y;if(u())return;const $=Ct(),A=(y=(L=(M=$==null?void 0:$.proxy)==null?void 0:M.$el)==null?void 0:L.getRootNode)==null?void 0:y.call(L);if(!A||typeof A.querySelector!="function")return;let R=0;r=setInterval(()=>{R++,A.querySelector("canvas")?(clearInterval(r),r=null,s.value=!0,l=A,A.addEventListener("pointerdown",v,!0),i=setTimeout(b,14e3)):R>40&&(clearInterval(r),r=null)},300)}),$a(()=>{r&&clearInterval(r),i&&clearTimeout(i),l&&l.removeEventListener("pointerdown",v,!0)}),Kl(` + */const $h="9.14.5";function Eh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Lh=ah.__EXTEND_POINT__,It=qo(Lh);It(),It(),It(),It(),It(),It(),It(),It(),It();const Sl=st.__EXTEND_POINT__,Ue=qo(Sl),Le={UNEXPECTED_RETURN_TYPE:Sl,INVALID_ARGUMENT:Ue(),MUST_BE_CALL_SETUP_TOP:Ue(),NOT_INSTALLED:Ue(),NOT_AVAILABLE_IN_LEGACY_MODE:Ue(),REQUIRED_VALUE:Ue(),INVALID_VALUE:Ue(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ue(),NOT_INSTALLED_WITH_PROVIDE:Ue(),UNEXPECTED_ERROR:Ue(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ue(),BRIDGE_SUPPORT_VUE_2_ONLY:Ue(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ue(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ue(),__EXTEND_POINT__:Ue()};function we(e,...t){return An(e,null,void 0)}const os=Kt("__translateVNode"),as=Kt("__datetimeParts"),ss=Kt("__numberParts"),vl=Kt("__setPluralRules"),kl=Kt("__injectWithOption"),is=Kt("__dispose");function to(e){if(!re(e)||mt(e))return e;for(const t in e)if(ot(e,t))if(!t.includes("."))re(e[t])&&to(e[t]);else{const n=t.split("."),o=n.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in r&&"resource"in r){const{locale:l,resource:c}=r;l?(i[l]=i[l]||ge(),Vo(c,i[l])):Vo(c,i)}else q(r)&&Vo(JSON.parse(r),i)}),a==null&&s)for(const r in i)ot(i,r)&&to(i[r]);return i}function Tl(e){return e.type}function $l(e,t,n){let o=re(t.messages)?t.messages:ge();"__i18nGlobal"in n&&(o=Xo(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const a=Object.keys(o);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(re(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(re(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function El(e){return Ne(qn,null,e,0)}const Ll="__INTLIFY_META__",Cl=()=>[],Ch=()=>!1;let Nl=0;function wl(e){return(t,n,o,a)=>e(n,o,Ct()||void 0,a)}const Nh=()=>{const e=Ct();let t=null;return e&&(t=Tl(e)[Ll])?{[Ll]:t}:null};function rs(e={},t){const{__root:n,__injectWithOption:o}=e,a=n===void 0,s=e.flatJson,i=Go?pe:_a,r=!!e.translateExistCompatible;let l=se(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:q(e.locale)?e.locale:kn),u=i(n&&l?n.fallbackLocale.value:q(e.fallbackLocale)||Se(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i(Xo(c.value,e)),b=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),v=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let E=n?n.missingWarn:se(e.missingWarn)||Ut(e.missingWarn)?e.missingWarn:!0,A=n?n.fallbackWarn:se(e.fallbackWarn)||Ut(e.fallbackWarn)?e.fallbackWarn:!0,R=n?n.fallbackRoot:se(e.fallbackRoot)?e.fallbackRoot:!0,M=!!e.fallbackFormat,L=_e(e.missing)?e.missing:null,y=_e(e.missing)?wl(e.missing):null,h=_e(e.postTranslation)?e.postTranslation:null,T=n?n.warnHtmlMessage:se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const I=n?n.modifiers:ne(e.modifiers)?e.modifiers:{};let F=e.pluralRules||n&&n.pluralRules,S;S=(()=>{a&&il(null);const k={version:$h,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:I,pluralRules:F,missing:y===null?void 0:y,missingWarn:E,fallbackWarn:A,fallbackFormat:M,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:T,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=b.value,k.numberFormats=v.value,k.__datetimeFormatters=ne(S)?S.__datetimeFormatters:void 0,k.__numberFormatters=ne(S)?S.__numberFormatters:void 0;const P=hh(k);return a&&il(P),P})(),eo(S,c.value,u.value);function ae(){return[c.value,u.value,f.value,b.value,v.value]}const H=he({get:()=>c.value,set:k=>{c.value=k,S.locale=c.value}}),ee=he({get:()=>u.value,set:k=>{u.value=k,S.fallbackLocale=u.value,eo(S,c.value,k)}}),Y=he(()=>f.value),D=he(()=>b.value),j=he(()=>v.value);function B(){return _e(h)?h:null}function V(k){h=k,S.postTranslation=k}function X(){return L}function ue(k){k!==null&&(y=wl(k)),L=k,S.missing=y}const de=(k,P,J,oe,ye,Be)=>{ae();let Me;try{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=n?ph():void 0),Me=k(S)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(J!=="translate exists"&&Te(Me)&&Me===Jo||J==="translate exists"&&!Me){const[cn,Ls]=P();return n&&R?oe(n):ye(cn)}else{if(Be(Me))return Me;throw we(Le.UNEXPECTED_RETURN_TYPE)}};function fe(...k){return de(P=>Reflect.apply(dl,null,[P,...k]),()=>es(...k),"translate",P=>Reflect.apply(P.t,P,[...k]),P=>P,P=>q(P))}function je(...k){const[P,J,oe]=k;if(oe&&!re(oe))throw we(Le.INVALID_ARGUMENT);return fe(P,J,Ie({resolvedMessage:!0},oe||{}))}function Yt(...k){return de(P=>Reflect.apply(hl,null,[P,...k]),()=>ts(...k),"datetime format",P=>Reflect.apply(P.d,P,[...k]),()=>Zr,P=>q(P))}function ln(...k){return de(P=>Reflect.apply(_l,null,[P,...k]),()=>ns(...k),"number format",P=>Reflect.apply(P.n,P,[...k]),()=>Zr,P=>q(P))}function it(k){return k.map(P=>q(P)||Te(P)||se(P)?El(String(P)):P)}const Ft={normalize:it,interpolate:k=>k,type:"vnode"};function Jt(...k){return de(P=>{let J;const oe=P;try{oe.processor=Ft,J=Reflect.apply(dl,null,[oe,...k])}finally{oe.processor=null}return J},()=>es(...k),"translate",P=>P[os](...k),P=>[El(P)],P=>Se(P))}function Ze(...k){return de(P=>Reflect.apply(_l,null,[P,...k]),()=>ns(...k),"number format",P=>P[ss](...k),Cl,P=>q(P)||Se(P))}function En(...k){return de(P=>Reflect.apply(hl,null,[P,...k]),()=>ts(...k),"datetime format",P=>P[as](...k),Cl,P=>q(P)||Se(P))}function p(k){F=k,S.pluralRules=F}function _(k,P){return de(()=>{if(!k)return!1;const J=q(P)?P:c.value,oe=x(J),ye=S.messageResolver(oe,k);return r?ye!=null:mt(ye)||Je(ye)||q(ye)},()=>[k],"translate exists",J=>Reflect.apply(J.te,J,[k,P]),Ch,J=>se(J))}function m(k){let P=null;const J=Jr(S,u.value,c.value);for(let oe=0;oe{l&&(c.value=k,S.locale=k,eo(S,c.value,u.value))}),tn(n.fallbackLocale,k=>{l&&(u.value=k,S.fallbackLocale=k,eo(S,c.value,u.value))}));const K={id:Nl,locale:H,fallbackLocale:ee,get inheritLocale(){return l},set inheritLocale(k){l=k,k&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,eo(S,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return I},get pluralRules(){return F||{}},get isGlobal(){return a},get missingWarn(){return E},set missingWarn(k){E=k,S.missingWarn=E},get fallbackWarn(){return A},set fallbackWarn(k){A=k,S.fallbackWarn=A},get fallbackRoot(){return R},set fallbackRoot(k){R=k},get fallbackFormat(){return M},set fallbackFormat(k){M=k,S.fallbackFormat=M},get warnHtmlMessage(){return T},set warnHtmlMessage(k){T=k,S.warnHtmlMessage=k},get escapeParameter(){return C},set escapeParameter(k){C=k,S.escapeParameter=k},t:fe,getLocaleMessage:x,setLocaleMessage:O,mergeLocaleMessage:G,getPostTranslationHandler:B,setPostTranslationHandler:V,getMissingHandler:X,setMissingHandler:ue,[vl]:p};return K.datetimeFormats=D,K.numberFormats=j,K.rt=je,K.te=_,K.tm=N,K.d=Yt,K.n=ln,K.getDateTimeFormat=U,K.setDateTimeFormat=g,K.mergeDateTimeFormat=d,K.getNumberFormat=$,K.setNumberFormat=w,K.mergeNumberFormat=z,K[kl]=o,K[os]=Jt,K[as]=En,K[ss]=Ze,K}function wh(e){const t=q(e.locale)?e.locale:kn,n=q(e.fallbackLocale)||Se(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=_e(e.missing)?e.missing:void 0,a=se(e.silentTranslationWarn)||Ut(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=se(e.silentFallbackWarn)||Ut(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=se(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,l=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=_e(e.postTranslation)?e.postTranslation:void 0,f=q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,b=!!e.escapeParameterHtml,v=se(e.sync)?e.sync:!0;let E=e.messages;if(ne(e.sharedMessages)){const C=e.sharedMessages;E=Object.keys(C).reduce((F,S)=>{const W=F[S]||(F[S]={});return Ie(W,C[S]),F},E||{})}const{__i18n:A,__root:R,__injectWithOption:M}=e,L=e.datetimeFormats,y=e.numberFormats,h=e.flatJson,T=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:E,flatJson:h,datetimeFormats:L,numberFormats:y,missing:o,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:r,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:v,translateExistCompatible:T,__i18n:A,__root:R,__injectWithOption:M}}function ls(e={},t){{const n=rs(wh(e)),{__extender:o}=e,a={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return se(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=se(s)?!s:s},get silentFallbackWarn(){return se(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=se(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[i,r,l]=s,c={};let u=null,f=null;if(!q(i))throw we(Le.INVALID_ARGUMENT);const b=i;return q(r)?c.locale=r:Se(r)?u=r:ne(r)&&(f=r),Se(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[b,u||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[i,r,l]=s,c={plural:1};let u=null,f=null;if(!q(i))throw we(Le.INVALID_ARGUMENT);const b=i;return q(r)?c.locale=r:Te(r)?c.plural=r:Se(r)?u=r:ne(r)&&(f=r),q(l)?c.locale=l:Se(l)?u=l:ne(l)&&(f=l),Reflect.apply(n.t,n,[b,u||f||{},c])},te(s,i){return n.te(s,i)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,i){n.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){n.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,i){n.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){n.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,i){n.setNumberFormat(s,i)},mergeNumberFormat(s,i){n.mergeNumberFormat(s,i)},getChoiceIndex(s,i){return-1}};return a.__extender=o,a}}const cs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ph({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,a)=>[...o,...a.type===Ye?a.children:[a]],[]):t.reduce((n,o)=>{const a=e[o];return a&&(n[o]=a()),n},ge())}function Pl(e){return Ye}const Il=jn({name:"i18n-t",props:Ie({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},cs),setup(e,t){const{slots:n,attrs:o}=t,a=e.i18n||us({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),i=ge();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=q(e.plural)?+e.plural:e.plural);const r=Ph(t,s),l=a[os](e.keypath,r,i),c=Ie(ge(),o),u=q(e.tag)||re(e.tag)?e.tag:Pl();return ar(u,c,l)}}});function Ih(e){return Se(e)&&!q(e[0])}function Ml(e,t,n,o){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let r=ge();e.locale&&(i.locale=e.locale),q(e.format)?i.key=e.format:re(e.format)&&(q(e.format.key)&&(i.key=e.format.key),r=Object.keys(e.format).reduce((b,v)=>n.includes(v)?Ie(ge(),b,{[v]:e.format[v]}):b,ge()));const l=o(e.value,i,r);let c=[i.key];Se(l)?c=l.map((b,v)=>{const E=a[b.type],A=E?E({[b.type]:b.value,index:v,parts:l}):[b.value];return Ih(A)&&(A[0].key=`${b.type}-${v}`),A}):q(l)&&(c=[l]);const u=Ie(ge(),s),f=q(e.tag)||re(e.tag)?e.tag:Pl();return ar(f,u,c)}}const Rl=jn({name:"i18n-n",props:Ie({value:{type:Number,required:!0},format:{type:[String,Object]}},cs),setup(e,t){const n=e.i18n||us({useScope:e.scope,__useComponent:!0});return Ml(e,t,yl,(...o)=>n[ss](...o))}}),Dl=jn({name:"i18n-d",props:Ie({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cs),setup(e,t){const n=e.i18n||us({useScope:e.scope,__useComponent:!0});return Ml(e,t,ml,(...o)=>n[as](...o))}});function Mh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Rh(e){const t=i=>{const{instance:r,modifiers:l,value:c}=i;if(!r||!r.$)throw we(Le.UNEXPECTED_ERROR);const u=Mh(e,r.$),f=Fl(c);return[Reflect.apply(u.t,u,[...Ol(f)]),u]};return{created:(i,r)=>{const[l,c]=t(r);Go&&e.global===c&&(i.__i18nWatcher=tn(c.locale,()=>{r.instance&&r.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Go&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:r})=>{if(i.__composer){const l=i.__composer,c=Fl(r);i.textContent=Reflect.apply(l.t,l,[...Ol(c)])}},getSSRProps:i=>{const[r]=t(i);return{textContent:r}}}}function Fl(e){if(q(e))return{path:e};if(ne(e)){if(!("path"in e))throw we(Le.REQUIRED_VALUE,"path");return e}else throw we(Le.INVALID_VALUE)}function Ol(e){const{path:t,locale:n,args:o,choice:a,plural:s}=e,i={},r=o||{};return q(n)&&(i.locale=n),Te(a)&&(i.plural=a),Te(s)&&(i.plural=s),[t,r,i]}function Dh(e,t,...n){const o=ne(n[0])?n[0]:{},a=!!o.useI18nComponentName;(se(o.globalInstall)?o.globalInstall:!0)&&([a?"i18n":Il.name,"I18nT"].forEach(i=>e.component(i,Il)),[Rl.name,"I18nN"].forEach(i=>e.component(i,Rl)),[Dl.name,"I18nD"].forEach(i=>e.component(i,Dl))),e.directive("t",Rh(t))}function Fh(e,t,n){return{beforeCreate(){const o=Ct();if(!o)throw we(Le.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=xl(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=ls(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=xl(e,a);else{this.$i18n=ls({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&$l(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Ct();if(!o)throw we(Le.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(o),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[vl](t.pluralizationRules||e.pluralizationRules);const n=Xo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Oh=Kt("global-vue-i18n");function xh(e={},t){const n=__VUE_I18N_LEGACY_API__&&se(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=se(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[i,r]=jh(e,n),l=Kt("");function c(b){return s.get(b)||null}function u(b,v){s.set(b,v)}function f(b){s.delete(b)}{const b={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(v,...E){if(v.__VUE_I18N_SYMBOL__=l,v.provide(v.__VUE_I18N_SYMBOL__,b),ne(E[0])){const M=E[0];b.__composerExtend=M.__composerExtend,b.__vueI18nExtend=M.__vueI18nExtend}let A=null;!n&&o&&(A=Wh(v,b.global)),__VUE_I18N_FULL_INSTALL__&&Dh(v,b,...E),__VUE_I18N_LEGACY_API__&&n&&v.mixin(Fh(r,r.__composer,b));const R=v.unmount;v.unmount=()=>{A&&A(),b.dispose(),R()}},get global(){return r},dispose(){i.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return b}}function us(e={}){const t=Ct();if(t==null)throw we(Le.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw we(Le.NOT_INSTALLED);const n=Bh(t),o=Uh(n),a=Tl(t),s=Kh(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw we(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return Hh(t,s,o,e)}if(s==="global")return $l(o,e,a),o;if(s==="parent"){let l=Gh(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let r=i.__getInstance(t);if(r==null){const l=Ie({},e);"__i18n"in a&&(l.__i18n=a.__i18n),o&&(l.__root=o),r=rs(l),i.__composerExtend&&(r[is]=i.__composerExtend(r)),qh(i,t,r),i.__setInstance(t,r)}return r}function jh(e,t,n){const o=ia();{const a=__VUE_I18N_LEGACY_API__&&t?o.run(()=>ls(e)):o.run(()=>rs(e));if(a==null)throw we(Le.UNEXPECTED_ERROR);return[o,a]}}function Bh(e){{const t=Fe(e.isCE?Oh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw we(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return t}}function Kh(e,t){return zo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Uh(e){return e.mode==="composition"?e.global:e.global.__composer}function Gh(e,t,n=!1){let o=null;const a=t.root;let s=zh(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const r=i.__getInstance(s);r!=null&&(o=r.__composer,n&&o&&!o[kl]&&(o=null))}if(o!=null||a===s)break;s=s.parent}return o}function zh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function qh(e,t,n){Un(()=>{},t),Io(()=>{const o=n;e.__deleteInstance(t);const a=o[is];a&&(a(),delete o[is])},t)}function Hh(e,t,n,o={}){const a=t==="local",s=_a(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw we(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=se(o.inheritLocale)?o.inheritLocale:!q(o.locale),r=pe(!a||i?n.locale.value:q(o.locale)?o.locale:kn),l=pe(!a||i?n.fallbackLocale.value:q(o.fallbackLocale)||Se(o.fallbackLocale)||ne(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:r.value),c=pe(Xo(r.value,o)),u=pe(ne(o.datetimeFormats)?o.datetimeFormats:{[r.value]:{}}),f=pe(ne(o.numberFormats)?o.numberFormats:{[r.value]:{}}),b=a?n.missingWarn:se(o.missingWarn)||Ut(o.missingWarn)?o.missingWarn:!0,v=a?n.fallbackWarn:se(o.fallbackWarn)||Ut(o.fallbackWarn)?o.fallbackWarn:!0,E=a?n.fallbackRoot:se(o.fallbackRoot)?o.fallbackRoot:!0,A=!!o.fallbackFormat,R=_e(o.missing)?o.missing:null,M=_e(o.postTranslation)?o.postTranslation:null,L=a?n.warnHtmlMessage:se(o.warnHtmlMessage)?o.warnHtmlMessage:!0,y=!!o.escapeParameter,h=a?n.modifiers:ne(o.modifiers)?o.modifiers:{},T=o.pluralRules||a&&n.pluralRules;function C(){return[r.value,l.value,c.value,u.value,f.value]}const I=he({get:()=>s.value?s.value.locale.value:r.value,set:m=>{s.value&&(s.value.locale.value=m),r.value=m}}),F=he({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:m=>{s.value&&(s.value.fallbackLocale.value=m),l.value=m}}),S=he(()=>s.value?s.value.messages.value:c.value),W=he(()=>u.value),ae=he(()=>f.value);function H(){return s.value?s.value.getPostTranslationHandler():M}function ee(m){s.value&&s.value.setPostTranslationHandler(m)}function Y(){return s.value?s.value.getMissingHandler():R}function D(m){s.value&&s.value.setMissingHandler(m)}function j(m){return C(),m()}function B(...m){return s.value?j(()=>Reflect.apply(s.value.t,null,[...m])):j(()=>"")}function V(...m){return s.value?Reflect.apply(s.value.rt,null,[...m]):""}function X(...m){return s.value?j(()=>Reflect.apply(s.value.d,null,[...m])):j(()=>"")}function ue(...m){return s.value?j(()=>Reflect.apply(s.value.n,null,[...m])):j(()=>"")}function de(m){return s.value?s.value.tm(m):{}}function fe(m,N){return s.value?s.value.te(m,N):!1}function je(m){return s.value?s.value.getLocaleMessage(m):{}}function Yt(m,N){s.value&&(s.value.setLocaleMessage(m,N),c.value[m]=N)}function ln(m,N){s.value&&s.value.mergeLocaleMessage(m,N)}function it(m){return s.value?s.value.getDateTimeFormat(m):{}}function Dt(m,N){s.value&&(s.value.setDateTimeFormat(m,N),u.value[m]=N)}function Ft(m,N){s.value&&s.value.mergeDateTimeFormat(m,N)}function Jt(m){return s.value?s.value.getNumberFormat(m):{}}function Ze(m,N){s.value&&(s.value.setNumberFormat(m,N),f.value[m]=N)}function En(m,N){s.value&&s.value.mergeNumberFormat(m,N)}const p={get id(){return s.value?s.value.id:-1},locale:I,fallbackLocale:F,messages:S,datetimeFormats:W,numberFormats:ae,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(m){s.value&&(s.value.inheritLocale=m)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:h},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:b},set missingWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackWarn(){return s.value?s.value.fallbackWarn:v},set fallbackWarn(m){s.value&&(s.value.missingWarn=m)},get fallbackRoot(){return s.value?s.value.fallbackRoot:E},set fallbackRoot(m){s.value&&(s.value.fallbackRoot=m)},get fallbackFormat(){return s.value?s.value.fallbackFormat:A},set fallbackFormat(m){s.value&&(s.value.fallbackFormat=m)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(m){s.value&&(s.value.warnHtmlMessage=m)},get escapeParameter(){return s.value?s.value.escapeParameter:y},set escapeParameter(m){s.value&&(s.value.escapeParameter=m)},t:B,getPostTranslationHandler:H,setPostTranslationHandler:ee,getMissingHandler:Y,setMissingHandler:D,rt:V,d:X,n:ue,tm:de,te:fe,getLocaleMessage:je,setLocaleMessage:Yt,mergeLocaleMessage:ln,getDateTimeFormat:it,setDateTimeFormat:Dt,mergeDateTimeFormat:Ft,getNumberFormat:Jt,setNumberFormat:Ze,mergeNumberFormat:En};function _(m){m.locale.value=r.value,m.fallbackLocale.value=l.value,Object.keys(c.value).forEach(N=>{m.mergeLocaleMessage(N,c.value[N])}),Object.keys(u.value).forEach(N=>{m.mergeDateTimeFormat(N,u.value[N])}),Object.keys(f.value).forEach(N=>{m.mergeNumberFormat(N,f.value[N])}),m.escapeParameter=y,m.fallbackFormat=A,m.fallbackRoot=E,m.fallbackWarn=v,m.missingWarn=b,m.warnHtmlMessage=L}return Ai(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw we(Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const m=s.value=e.proxy.$i18n.__composer;t==="global"?(r.value=m.locale.value,l.value=m.fallbackLocale.value,c.value=m.messages.value,u.value=m.datetimeFormats.value,f.value=m.numberFormats.value):a&&_(m)}),p}const Vh=["locale","fallbackLocale","availableLocales"],jl=["t","rt","d","n","tm","te"];function Wh(e,t){const n=Object.create(null);return Vh.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw we(Le.UNEXPECTED_ERROR);const i=ve(s.value)?{get(){return s.value.value},set(r){s.value.value=r}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,jl.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw we(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,jl.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Eh(),__INTLIFY_JIT_COMPILATION__?tl(Ah):tl(yh),uh(zp),gh(Jr),__INTLIFY_PROD_DEVTOOLS__){const e=wt();e.__INTLIFY__=!0,Qp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Yh=Object.assign({"./locales/ar/aria.json":ed,"./locales/ar/buttons.json":td,"./locales/ar/detail.json":nd,"./locales/ar/legend.json":od,"./locales/ar/messages.json":ad,"./locales/ar/options.json":sd,"./locales/ar/prayerLaps.json":id,"./locales/ar/search.json":rd,"./locales/ar/tabs.json":ld,"./locales/de/aria.json":cd,"./locales/de/buttons.json":ud,"./locales/de/detail.json":gd,"./locales/de/legend.json":dd,"./locales/de/messages.json":fd,"./locales/de/options.json":pd,"./locales/de/prayerLaps.json":hd,"./locales/de/search.json":md,"./locales/de/tabs.json":bd,"./locales/en/aria.json":_d,"./locales/en/buttons.json":yd,"./locales/en/detail.json":Ad,"./locales/en/legend.json":Sd,"./locales/en/messages.json":vd,"./locales/en/options.json":kd,"./locales/en/popup.json":Td,"./locales/en/prayerLaps.json":$d,"./locales/en/search.json":Ed,"./locales/en/tabs.json":Ld,"./locales/es/aria.json":Cd,"./locales/es/buttons.json":Nd,"./locales/es/detail.json":wd,"./locales/es/legend.json":Pd,"./locales/es/messages.json":Id,"./locales/es/options.json":Md,"./locales/es/prayerLaps.json":Rd,"./locales/es/search.json":Dd,"./locales/es/tabs.json":Fd,"./locales/fr/aria.json":Od,"./locales/fr/buttons.json":xd,"./locales/fr/detail.json":jd,"./locales/fr/legend.json":Bd,"./locales/fr/messages.json":Kd,"./locales/fr/options.json":Ud,"./locales/fr/popup.json":Gd,"./locales/fr/prayerLaps.json":zd,"./locales/fr/search.json":qd,"./locales/fr/tabs.json":Hd,"./locales/hi/aria.json":Vd,"./locales/hi/buttons.json":Wd,"./locales/hi/detail.json":Yd,"./locales/hi/legend.json":Jd,"./locales/hi/messages.json":Xd,"./locales/hi/options.json":Zd,"./locales/hi/prayerLaps.json":Qd,"./locales/hi/search.json":ef,"./locales/it/aria.json":tf,"./locales/it/buttons.json":nf,"./locales/it/detail.json":of,"./locales/it/legend.json":af,"./locales/it/messages.json":sf,"./locales/it/options.json":rf,"./locales/it/prayerLaps.json":lf,"./locales/it/search.json":cf,"./locales/pt/aria.json":uf,"./locales/pt/buttons.json":gf,"./locales/pt/detail.json":df,"./locales/pt/legend.json":ff,"./locales/pt/messages.json":pf,"./locales/pt/options.json":hf,"./locales/pt/prayerLaps.json":mf,"./locales/pt/search.json":bf,"./locales/pt/tabs.json":_f,"./locales/ro/aria.json":yf,"./locales/ro/buttons.json":Af,"./locales/ro/detail.json":Sf,"./locales/ro/legend.json":vf,"./locales/ro/messages.json":kf,"./locales/ro/options.json":Tf,"./locales/ro/prayerLaps.json":$f,"./locales/ro/search.json":Ef,"./locales/ru/aria.json":Lf,"./locales/ru/buttons.json":Cf,"./locales/ru/detail.json":Nf,"./locales/ru/legend.json":wf,"./locales/ru/messages.json":Pf,"./locales/ru/options.json":If,"./locales/ru/prayerLaps.json":Mf,"./locales/ru/search.json":Rf,"./locales/ru/tabs.json":Df,"./locales/zh/aria.json":Ff,"./locales/zh/buttons.json":Of,"./locales/zh/detail.json":xf,"./locales/zh/legend.json":jf,"./locales/zh/messages.json":Bf,"./locales/zh/options.json":Kf,"./locales/zh/prayerLaps.json":Uf,"./locales/zh/search.json":Gf}),no={};for(const[e,t]of Object.entries(Yh)){const n=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!n)continue;const[,o,a]=n;no[o]??(no[o]={}),no[o][a]=t}const Bl=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Jh(){var n;const t=(((n=document==null?void 0:document.documentElement)==null?void 0:n.lang)||"").split("-")[0].toLowerCase();return Bl.includes(t)?t:"en"}function Xh(){return xh({legacy:!1,globalInjection:!0,locale:Jh(),fallbackLocale:"en",messages:no,missingWarn:!1,fallbackWarn:!1})}function Kl(e,t){const n=t||Zh(e);Un(()=>{var r;const o=Ct();if(!o)return;const a=(r=o.proxy)==null?void 0:r.$el;if(!a)return;const s=a.getRootNode();if(!(s instanceof ShadowRoot)||s.querySelector(`style[data-shadow-styles="${n}"]`))return;const i=document.createElement("style");i.setAttribute("data-shadow-styles",n),i.textContent=e,s.appendChild(i)})}function Zh(e){let t=0;for(let n=0;n(t==null?void 0:t.theme)==="dark"),a=he(()=>{var E;return((E=n==null?void 0:n.value)==null?void 0:E.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),s=pe(!1);let i=null,r=null,l=null;function c(){return"doxa-pin-hint-seen"}function u(){try{return sessionStorage.getItem(c())==="1"}catch{return!1}}function f(){try{sessionStorage.setItem(c(),"1")}catch{}}function b(){s.value&&(s.value=!1,f(),l&&(l.removeEventListener("pointerdown",v,!0),l=null),i&&(clearTimeout(i),i=null))}function v(){b()}return Un(()=>{var M,L,y;if(u())return;const E=Ct(),A=(y=(L=(M=E==null?void 0:E.proxy)==null?void 0:M.$el)==null?void 0:L.getRootNode)==null?void 0:y.call(L);if(!A||typeof A.querySelector!="function")return;let R=0;r=setInterval(()=>{R++,A.querySelector("canvas")?(clearInterval(r),r=null,s.value=!0,l=A,A.addEventListener("pointerdown",v,!0),i=setTimeout(b,14e3)):R>40&&(clearInterval(r),r=null)},300)}),Ea(()=>{r&&clearInterval(r),i&&clearTimeout(i),l&&l.removeEventListener("pointerdown",v,!0)}),Kl(` .pin-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2147482000; pointer-events: none; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; @@ -67,7 +67,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),($,A)=>s.value?(qe(),Et("div",{key:0,class:Nn(["pin-hint",{dark:o.value}]),role:"status"},[$e("span",Qh,[A[0]||(A[0]=$e("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),$t(" "+Xt(a.value)+" ",1),$e("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:b},"×")])],2)):bn("",!0)}};let tm=0;const nm=za("ui",{state:()=>({_storeInstanceId:++tm,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(n=>n.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const n=this.isDarkTheme;document.documentElement.setAttribute("data-theme",n?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:n="info",duration:o=this.toastDuration,action:a=null,persistent:s=!1}=e,i={id:this.nextToastId++,message:t,type:n,duration:o,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(i),!s&&o>0&&setTimeout(()=>{this.removeToast(i.id)},o),i.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(n=>n.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(n=>{for(const o of n)this.updateWindowSize(o.contentRect.width,o.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",n=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",n.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",n=>{this.reducedMotion=n.matches,document.documentElement.setAttribute("data-reduced-motion",n.matches)}))}}}),om=za("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,n={}){let o=1.5;n.zoom!==void 0?o=n.zoom:t&&typeof t.getZoom=="function"&&(o=t.getZoom());let a=[0,0];if(n.center)a=n.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:n,isReady:!1,zoom:o,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const n=this.maps[e];n&&Object.assign(n,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),am=za("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const n=await t();this.sources[e]=Dn({features:n,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(n){console.error(`[dataStore] Failed to load source "${e}":`,n),this.loadingStates[e]={isLoading:!1,error:n}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Dn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var n;return((n=e.sources[t])==null?void 0:n.features)??null},isLoading:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.isLoading)??!1},getError:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.error)??null}}}),Ul={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},sm=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n},im={class:"profile-loader"},rm={key:0,class:"profile-error"},lm={key:1,class:"profile-error"},cm=sm({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var y;const n=e,o=he(()=>{if(!n.profileConfig)return null;try{return JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}}),a=he(()=>{var h;return((h=o.value)==null?void 0:h.profile)||null}),s=he(()=>{var h;return((h=o.value)==null?void 0:h.tk)||""}),i=he(()=>{var h;return((h=o.value)==null?void 0:h.dataSource)||Ul.activeSource||"doxa-csv"}),r=he(()=>{var h;return((h=o.value)==null?void 0:h.colorSet)||"default"}),l=he(()=>!1),c=he(()=>{var h;return((h=o.value)==null?void 0:h.pinHint)!==!1}),u=he(()=>{var T,C;const h=(((T=o.value)==null?void 0:T.locale)||((C=o.value)==null?void 0:C.lang)||"").split("-")[0].toLowerCase();return Bl.includes(h)?h:""}),f=Fe("appI18n",null);hu(()=>{u.value&&f&&(f.global.locale.value=u.value)});const b=he(()=>{var h,T;return u.value||((T=(h=f==null?void 0:f.global)==null?void 0:h.locale)==null?void 0:T.value)||"en"}),v=he(()=>{var h;return((h=o.value)==null?void 0:h.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),$=Fe("profileModules",null);if(!$)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const A=he(()=>{if(!a.value)return null;const h=`./${a.value}.vue`;return $[h]?Au($[h]):(console.error(`[ProfileLoader] Profile not found: "${a.value}". Available:`,Object.keys($)),null)});ft("mapboxToken",s),ft("dataSource",i),ft("colorSet",r),ft("profileConfig",o),ft("instanceId",v),ft("lang",b);const R=nm(),M=om(),L=am();try{const h=typeof localStorage<"u"?localStorage.getItem("theme"):null;h&&((y=R.setTheme)==null||y.call(R,h))}catch{}return ft("uiStore",R),ft("mapStore",M),ft("dataStore",L),(h,T)=>(qe(),Et("div",im,[o.value?A.value?(qe(),Fo(vi(A.value),{key:2})):(qe(),Et("div",lm,[$e("p",null,[T[1]||(T[1]=$t("⚠️ Profile ",-1)),$e("strong",null,'"'+Xt(a.value)+'"',1),T[2]||(T[2]=$t(" not found.",-1))])])):(qe(),Et("div",rm,[...T[0]||(T[0]=[$e("p",null,[$t("⚠️ "),$e("strong",null,"doxa-map"),$t(": missing or invalid "),$e("code",null,"profile-config"),$t(" prop.")],-1),$e("p",null,[$t("Example: "),$e("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),A.value&&l.value?(qe(),Fo(vi(vo(null)),{key:3})):bn("",!0),A.value&&c.value?(qe(),Fo(em,{key:4})):bn("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),um=Object.assign({"./all-people-groups.vue":()=>bc(()=>Promise.resolve().then(()=>cb),void 0)}),gm=Ug(cm,{configureApp(e){e.use(Wg());const t=Xh();e.use(t),e.provide("appI18n",t),e.provide("profileModules",um)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",gm);const dm="rgba(120, 128, 134, 0.28)",Gl="36px",zl=()=>{};function fm(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return zl;const o=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!o.length)return zl;const a=L=>L.classList.contains("map-scroll-edge--left");for(const L of o)L.style.background=`linear-gradient(${a(L)?"to right":"to left"}, ${dm} ${Gl}, transparent ${Gl})`,L.style.opacity="0",L.style.transition="opacity 0.16s ease",L.style.userSelect="none",L.style.webkitUserSelect="none";const s=L=>{L.style.opacity="1"},i=L=>{L.style.opacity="0"},r=()=>o.find(L=>!a(L))||null,l=new Set;let c=!1,u=null;const f=()=>{for(const L of o)l.has(L)||i(L)},b=()=>{const L=r();L&&(s(L),u&&clearTimeout(u),u=setTimeout(f,250))},v=()=>b(),$=L=>{if(!(L.touches&&L.touches.length===1))return;const y=L.target;y&&y.classList&&y.classList.contains("map-scroll-edge")||b()},A=()=>{u&&clearTimeout(u),f()};e.addEventListener("wheel",v,{passive:!0}),e.addEventListener("touchmove",$,{passive:!0}),e.addEventListener("touchend",A,{passive:!0}),e.addEventListener("touchcancel",A,{passive:!0});const R=()=>{c||b()};typeof window<"u"&&window.addEventListener("scroll",R,{passive:!0});const M=[];for(const L of o){const y=()=>{l.add(L),s(L)},h=()=>{l.delete(L),i(L)},T=()=>{c=!0,s(L)},C=()=>{c=!1,i(L)};L.addEventListener("mouseenter",y),L.addEventListener("mouseleave",h),L.addEventListener("touchstart",T,{passive:!0}),L.addEventListener("touchend",C,{passive:!0}),M.push(()=>{L.removeEventListener("mouseenter",y),L.removeEventListener("mouseleave",h),L.removeEventListener("touchstart",T),L.removeEventListener("touchend",C)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",v),e.removeEventListener("touchmove",$),e.removeEventListener("touchend",A),e.removeEventListener("touchcancel",A),typeof window<"u"&&window.removeEventListener("scroll",R);for(const y of M)y();for(const y of o)i(y)}}const pm=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://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/positron-gl-style/style.json",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",bestFor:["research-dashboard"]}].map(e=>[e.id,e]));function hm(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0};const n=pm[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0}:{style:n.mapbox,lightPreset:n.lightPreset}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0}:{style:void 0,lightPreset:void 0}}const En={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function ql(e){if(typeof window>"u")return;const t=window,n=()=>{try{const o=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");o&&(o.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const mm=En.mapbox.css,bm="https://tiles.openfreemap.org/styles/liberty";function gs(e){var n;const t=((n=En[e])==null?void 0:n.global)||En.mapbox.global;return typeof window<"u"?window[t]:void 0}async function _m(e){const t=En[e]||En.mapbox;if(gs(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const o=document.createElement("link");o.rel="stylesheet",o.href=t.css,document.head.appendChild(o)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(gs(e))return;await new Promise(o=>{n.addEventListener("load",o,{once:!0}),n.addEventListener("error",o,{once:!0})});return}await new Promise((o,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",o,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function ym(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const o=i=>new Promise(r=>setTimeout(r,i)),a=n.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(i=>{a.addEventListener("load",i,{once:!0}),a.addEventListener("error",i,{once:!0})}),o(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(i=>{s.addEventListener("load",i,{once:!0}),s.addEventListener("error",i,{once:!0}),n.prepend(s)}),o(2e3)])}function Am(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:bm}const Sm=85.0511,Hl=-2,vm=0,km=-60;function Vl(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Tm(e,t,n,o){if(!e||e<=0||!t||t<=0)return vm;const a=Math.log2(e/512),s=Vl(o)-Vl(Sm),i=Math.log2(t/(512*s)),r=Math.max(a,i);return Math.max(Hl,Math.min(r,(n??18)-1))}function Em({containerRef:e,accessToken:t,style:n,config:o=void 0,provider:a="mapbox",center:s=[20,10],zoom:i=2,minZoom:r=void 0,maxZoom:l=18,pitch:c=0,bearing:u=0,renderWorldCopies:f=!0,showEdgeBorders:b=!0,southCutoff:v=km,maxBounds:$=void 0}){const A=_a(null),R=pe(!1);let M=null,L=null;const y=a==="maplibre";async function h(){var j;const I=hm(n,a).style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await _m(a);const F=gs(a);if(!F){console.error(`[useMapInstance] ${y?"maplibregl":"mapboxgl"} is not available. Add the ${y?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!y){if(!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await ym(e.value,y?En.maplibre.css:mm),await new Promise(B=>requestAnimationFrame(B));const S=e.value,W=S.clientWidth,ae=S.clientHeight;if(W===0||ae===0){console.error(`[useMapInstance] Container has ZERO dimensions (${W}×${ae}). Map will be invisible. Check that parent elements have CSS sizing.`);let B=S.parentElement,V=0;for(;B&&V<5;)B=B.parentElement,V++}const H=t;y||(F.accessToken=H);const ee=()=>typeof window<"u"&&window.innerWidth>=1024,Y=(B,V)=>{if(!ee())return Hl;const X=Tm(B,V,l,v);return typeof r=="number"?Math.max(r,X):X},D=Y(S.clientWidth,S.clientHeight);if(y)A.value=new F.Map({container:e.value,style:Am(I),center:s,zoom:i,minZoom:D,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,renderWorldCopies:f,...$?{maxBounds:$}:{},attributionControl:!1}),ql(A.value);else{const B=typeof o=="function"?o():o;A.value=new F.Map({accessToken:H,container:e.value,style:I,...B?{config:B}:{},center:s,zoom:i,minZoom:D,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,touchPitch:!1,renderWorldCopies:f,...$?{maxBounds:$}:{},attributionControl:!1}),ql(A.value)}try{A.value.touchZoomRotate.disableRotation()}catch{}L=fm(((j=e.value)==null?void 0:j.parentElement)||null,{enabled:b}),M=()=>{const B=A.value;if(!B)return;const V=Y(S.clientWidth,S.clientHeight);B.setMinZoom(V),B.getZoom(){requestAnimationFrame(()=>{var B;(B=A.value)==null||B.resize(),A.value&&A.value.setMinZoom(Y(S.clientWidth,S.clientHeight)),R.value=!0})})}function T(){A.value&&(M&&(A.value.off("resize",M),typeof window<"u"&&(window.removeEventListener("resize",M),window.removeEventListener("orientationchange",M)),M=null),L&&(L(),L=null),A.value.remove(),A.value=null,R.value=!1)}return{map:A,isMapReady:R,initializeMap:h,destroy:T}}const $m=["mapbox","maplibre"],Wl="mapbox";function Lm(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Cm(e){const t=Lm(e),n=t==null?void 0:t.provider,o=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(n||o||a||Wl).toLowerCase().trim();return $m.includes(s)?s:Wl}const Yl="doxa-prayed-local",Nm=7*24*60*60*1e3;function wm(){try{const e=localStorage.getItem(Yl);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Pm(e){try{localStorage.setItem(Yl,JSON.stringify(e))}catch{}}function Im(){const e=Date.now(),t=wm();let n=!1;for(const[o,a]of Object.entries(t))(typeof a!="number"||e-a>Nm)&&(delete t[o],n=!0);return n&&Pm(t),new Set(Object.keys(t))}function Mm(e){const t=Im();return!t.size||!Array.isArray(e)?e:e.map(n=>(Number(n&&n.peoplePraying)||0)>0||!n||!t.has(n.slug)?n:{...n,peoplePraying:1})}const Ht={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},Jl={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},ds="languageFamily",Rm="#000000",Vt={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Dm=Vt;function fs(e){return Vt[e]||Rm}const Fm=(()=>{const e=n=>String(n||"").toLowerCase().trim(),t={};for(const n of Object.keys(Vt))t[e(n)]=n;return t})();function ps(e){if(!e)return"Unknown";const t=String(e).trim();return Fm[t.toLowerCase()]||t}function Xl(e){var t;return fs(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function hs(){const e=["match",["get",ds]];return Object.entries(Vt).forEach(([t,n])=>{e.push(t,n)}),e.push("#95a5a6"),e}const Zl=hs,Om=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Dm,PALETTE:Vt,PROPERTY_KEY:ds,applyColor:hs,buildColorExpression:Zl,canonicalFamilyName:ps,default:{name:"Language Family",propertyKey:ds,palette:Vt,colors:Vt,getColor:Xl,applyColor:hs,buildColorExpression:Zl,getLanguageFamilyColor:fs,canonicalFamilyName:ps},defaultFamilyColor:"#95a5a6",getColor:Xl,getLanguageFamilyColor:fs,languageFamilyColors:Vt},Symbol.toStringTag,{value:"Module"})),Ql="adoptionStatus",Mt={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},xm=Mt,ms={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},jm=ms;function ec(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Mt.hasAdoption:Mt.notAdopted}function bs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Mt.hasAdoption,["==",t,1],Mt.hasAdoption,Mt.notAdopted]}const tc=bs,Bm=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:xm,ADOPTION_LABELS:jm,LABELS:ms,PALETTE:Mt,PROPERTY_KEY:Ql,applyColor:bs,buildColorExpression:tc,default:{name:"Adoption Progress",propertyKey:Ql,palette:Mt,colors:Mt,labels:ms,getColor:ec,applyColor:bs,buildColorExpression:tc},getColor:ec},Symbol.toStringTag,{value:"Module"})),nc="engagementStatus",Rt={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Km=Rt,_s={notEngaged:"Unengaged",hasEngagement:"Engaged"},Um=_s;function oc(e){var o;const t=e.engagementStatus??((o=e._raw)==null?void 0:o.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Rt.hasEngagement:Rt.notEngaged}function ys({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Rt.hasEngagement,["==",t,1],Rt.hasEngagement,Rt.notEngaged]}const ac=ys,Gm=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Km,ENGAGEMENT_LABELS:Um,LABELS:_s,PALETTE:Rt,PROPERTY_KEY:nc,applyColor:ys,buildColorExpression:ac,default:{name:"Engagement Progress",propertyKey:nc,palette:Rt,colors:Rt,labels:_s,getColor:oc,applyColor:ys,buildColorExpression:ac},getColor:oc},Symbol.toStringTag,{value:"Module"})),sc="peoplePraying",Zo=144,Wt={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},zm=Wt,As={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},qm=As;function Qo(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null,n=Number(t)||0;return n>=Zo?"fullPrayer":n>0?"hasPrayer":"noPrayer"}function Ss(e){return Wt[Qo(e)]}function ic(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null;return t!==null&&t>0}function rc(e){return Qo(e)==="fullPrayer"}function lc(e){return Ss(e)}function vs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Zo],Wt.fullPrayer,[">",t,0],Wt.hasPrayer,Wt.noPrayer]}const cc=vs,Hm=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Zo,LABELS:As,PALETTE:Wt,PRAYER_COLORS:zm,PRAYER_LABELS:qm,PROPERTY_KEY:sc,applyColor:vs,buildColorExpression:cc,checkHasFullPrayer:rc,checkHasPrayer:ic,default:{name:"Prayer Progress",propertyKey:sc,palette:Wt,colors:Wt,labels:As,threshold:Zo,getColor:lc,applyColor:vs,buildColorExpression:cc,getPrayerLevel:Qo,getPrayerColor:Ss,checkHasPrayer:ic,checkHasFullPrayer:rc},getColor:lc,getPrayerColor:Ss,getPrayerLevel:Qo},Symbol.toStringTag,{value:"Module"})),uc="religion",ks="#94a3b8",Ts={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Xe={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function gc(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Ts[t]?t:"U"}function dc(e){var n,o,a;const t=(e==null?void 0:e.religion)||((o=(n=e==null?void 0:e._raw)==null?void 0:n.religion)==null?void 0:o.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Xe[gc(t)]||ks}function Es(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Xe.C,"M",Xe.M,"H",Xe.H,"B",Xe.B,"E",Xe.E,"J",Xe.J,"S",Xe.S,"N",Xe.N,"O",Xe.O,ks]}const fc=Es,Vm=Object.assign({"./adoption.js":Bm,"./engagement.js":Gm,"./language-family.js":Om,"./prayer-progress.js":Hm,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Xe,PROPERTY_KEY:uc,RELIGION_FAMILIES:Ts,applyColor:Es,buildColorExpression:fc,default:{name:"Religion",propertyKey:uc,palette:Xe,families:Ts,getColor:dc,applyColor:Es,buildColorExpression:fc,fallback:ks},getColor:dc,getReligionFamily:gc},Symbol.toStringTag,{value:"Module"}))}),Wm=e=>e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase()),Ym=e=>e.replace(/-/g,"_").toUpperCase(),Jm={...{STATUS:"status",CUSTOM:"custom"}};function Xm(e){for(const t of Object.keys(e).sort()){const n=t.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!e[t].default)continue;const a=Wm(n);Jm[Ym(n)]=a}}Xm(Vm);function $s(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const Zm=[[/ sign language$/i,"Sign Language"]];function Qm(e){var r,l;const t=$s(e.languageFamily);if(t)return t;const n=String(((l=(r=e._raw)==null?void 0:r.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(n&&Jl[n])return Jl[n];const o=$s(e.language||e.primary_language);if(!o||typeof o!="string")return"";const a=o.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(Ht[c])return Ht[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(Ht[u])return Ht[u]}}if(Ht[a])return Ht[a];const i=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(i!==a&&Ht[i])return Ht[i];for(const[c,u]of Zm)if(c.test(a))return u;return""}function eb(e){const{mapId:t="unknown",dataSourceId:n="doxa-csv",dataSourceManager:o=null,dataStore:a=null,markRaw:s=I=>I}=e;o||console.error("useMapData: dataSourceManager is required!");const i=pe(!1),r=pe(null),l=pe(!1),c=pe([]),u=pe([]),f=pe(null),b=pe([]),v=pe([]),$=pe([]),A=pe(null);async function R(){if(!o)throw new Error("dataSourceManager is required for useMapData");i.value=!0,r.value=null;try{if(await o.init(),a&&a.hasSourceData&&a.hasSourceData(n)){const D=a.getSourceData(n);u.value=s(D.normalizedData||[])}else{const D=await o.setActiveSource(n);for(const j of D){const B=$s(j.language||j.primary_language);B&&(j.language=B);const V=Qm(j);j.languageFamily=ps(V)}u.value=s(D),a&&a.cacheSourceData&&a.cacheSourceData(n,{normalizedData:D,timestamp:Date.now()})}c.value=s(Mm(u.value.map(D=>({id:D.uniqueId,slug:D.slug||"",rop3:D.peopleGroupId,peopleId3:D.peopleId3,name:D.name,language:D.language,languageFamily:D.languageFamily,country:D.country,population:D.population,status:D.engagementStatus||D.status,latitude:D.latitude,longitude:D.longitude,lng:D.longitude,lat:D.latitude,description:D.description,imageUrl:D.imageUrl,doxaRegion:D.doxaRegion||D.wagfRegion||"",peoplePraying:D.peoplePraying??null,_normalized:D}))));const I=o.getDataByLanguageFamily();b.value=Object.entries(I).map(([D,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:D,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((D,j)=>j.count-D.count);const F=o.getDataByRegion();v.value=Object.entries(F).map(([D,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:D,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((D,j)=>D.name.localeCompare(j.name));const S={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(D=>{const j=parseInt(D.population)||0;let B=!1;D.bible==="Available"&&(S.bible.count++,S.bible.population+=j,S.bible.groups.push(D),B=!0),D.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=j,S.jesusFilm.groups.push(D),B=!0),D.radio==="Available"&&(S.radio.count++,S.radio.population+=j,S.radio.groups.push(D),B=!0),D.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=j,S.gospel.groups.push(D),B=!0),D.audio==="Available"&&(S.audio.count++,S.audio.population+=j,S.audio.groups.push(D),B=!0),D.stories==="Available"&&(S.stories.count++,S.stories.population+=j,S.stories.groups.push(D),B=!0),B?(S.hasResources.count++,S.hasResources.population+=j,S.hasResources.groups.push(D)):(S.noResources.count++,S.noResources.population+=j,S.noResources.groups.push(D))});const W=u.value.length,ae=u.value.reduce((D,j)=>D+(parseInt(j.population)||0),0),H={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},ee={bible:{count:W-S.bible.count,population:ae-S.bible.population},jesusFilm:{count:W-S.jesusFilm.count,population:ae-S.jesusFilm.population},radio:{count:W-S.radio.count,population:ae-S.radio.population},gospel:{count:W-S.gospel.count,population:ae-S.gospel.population},audio:{count:W-S.audio.count,population:ae-S.audio.population},stories:{count:W-S.stories.count,population:ae-S.stories.population}},Y="#2c3e50";return $.value=[{name:H.bible,key:"bible",count:S.bible.count,population:S.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:ee.bible.count,population:ee.bible.population,color:Y}]},{name:H.jesusFilm,key:"jesusFilm",count:S.jesusFilm.count,population:S.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:ee.jesusFilm.count,population:ee.jesusFilm.population,color:Y}]},{name:H.radio,key:"radio",count:S.radio.count,population:S.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:ee.radio.count,population:ee.radio.population,color:Y}]},{name:H.gospel,key:"gospel",count:S.gospel.count,population:S.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:ee.gospel.count,population:ee.gospel.population,color:Y}]},{name:H.audio,key:"audio",count:S.audio.count,population:S.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:ee.audio.count,population:ee.audio.population,color:Y}]},{name:H.stories,key:"stories",count:S.stories.count,population:S.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:ee.stories.count,population:ee.stories.population,color:Y}]},{name:H.hasResources,key:"hasResources",count:S.hasResources.count,population:S.hasResources.population,isParent:!0,children:[{name:H.noResources,key:"noResources",count:S.noResources.count,population:S.noResources.population,color:Y}]}],A.value=o.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:b.value,doxaRegionsData:v.value,resourcesData:$.value,stats:A.value}}catch(I){throw console.error(`Failed to load data for map "${t}":`,I),r.value=I.message||"Failed to load data",I}finally{i.value=!1}}async function M(){var I,F,S;try{const W={},ae=u.value||[];for(const H of ae){const ee=H.countryIso||((F=(I=H._raw)==null?void 0:I.country_code)==null?void 0:F.value)||"",Y=(S=H._raw)==null?void 0:S.wagf_region,D=H.doxaRegion||H.wagfRegion||(Y&&typeof Y=="object"?Y.value:"")||"";ee&&D&&!W[ee]&&(W[ee]=D)}return f.value={isoToRegion:W},f.value}catch(W){throw console.error(`Error building regions data for map "${t}":`,W),r.value=W.message||"Failed to build regions",W}}function L(){return o?o.getDataByLanguageFamily():{}}function y(){return o?o.getDataByRegion():{}}function h(I){return L()[I]||[]}function T(I){return y()[I]||[]}function C(){c.value=[],u.value=[],f.value=null,b.value=[],v.value=[],$.value=[],A.value=null,l.value=!1,r.value=null}return{isLoading:i,isInitialized:l,error:r,peopleGroups:c,normalizedPeopleGroups:u,regionsData:f,languageFamiliesData:b,doxaRegionsData:v,resourcesData:$,stats:A,loadData:R,loadRegionsData:M,getDataByLanguageFamily:L,getDataByRegion:y,getPeopleGroupsByFamily:h,getPeopleGroupsByRegion:T,clearData:C}}function tb(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:ea&&ea.tagName.toUpperCase()==="SCRIPT"&&ea.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}class pc{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Ul,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var n,o;return(o=(n=this.sourcesConfig)==null?void 0:n.sources)==null?void 0:o[t]}async setActiveSource(t){const n=this.getSourceConfig(t);if(!n)throw new Error(`Source not found: ${t}`);if(this.activeSource=n,this.cacheEnabled&&this.cache.has(t)){const o=this.cache.get(t);return this.normalizedData=o.normalizedData,this.dataByUniqueId=o.dataByUniqueId,this.normalizedData}return n.type==="csv"?await this.loadCSVData(n):n.type==="api"?await this.loadAPIData(n):n.type==="rest-api"&&await this.loadRestApiData(n),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const n=[],o=[];let a="",s=!1,i=[],r=!0;for(let l=0;ls.value?(qe(),$t("div",{key:0,class:Nn(["pin-hint",{dark:o.value}]),role:"status"},[Ee("span",Qh,[A[0]||(A[0]=Ee("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),Et(" "+Xt(a.value)+" ",1),Ee("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:b},"×")])],2)):bn("",!0)}};let tm=0;const nm=za("ui",{state:()=>({_storeInstanceId:++tm,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(n=>n.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const n=this.isDarkTheme;document.documentElement.setAttribute("data-theme",n?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:n="info",duration:o=this.toastDuration,action:a=null,persistent:s=!1}=e,i={id:this.nextToastId++,message:t,type:n,duration:o,action:a,persistent:s,createdAt:Date.now()};return this.toasts.push(i),!s&&o>0&&setTimeout(()=>{this.removeToast(i.id)},o),i.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(n=>n.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(n=>{for(const o of n)this.updateWindowSize(o.contentRect.width,o.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",n=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",n.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",n=>{this.reducedMotion=n.matches,document.documentElement.setAttribute("data-reduced-motion",n.matches)}))}}}),om=za("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,n={}){let o=1.5;n.zoom!==void 0?o=n.zoom:t&&typeof t.getZoom=="function"&&(o=t.getZoom());let a=[0,0];if(n.center)a=n.center;else if(t&&typeof t.getCenter=="function"){const s=t.getCenter();s&&(a=[s.lng,s.lat])}this.maps[e]={instance:t,config:n,isReady:!1,zoom:o,center:a,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const n=this.maps[e];n&&Object.assign(n,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),am=za("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const n=await t();this.sources[e]=Dn({features:n,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(n){console.error(`[dataStore] Failed to load source "${e}":`,n),this.loadingStates[e]={isLoading:!1,error:n}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Dn({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var n;return((n=e.sources[t])==null?void 0:n.features)??null},isLoading:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.isLoading)??!1},getError:e=>t=>{var n;return((n=e.loadingStates[t])==null?void 0:n.error)??null}}}),Ul={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},sm=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n},im={class:"profile-loader"},rm={key:0,class:"profile-error"},lm={key:1,class:"profile-error"},cm=sm({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var y;const n=e,o=he(()=>{if(!n.profileConfig)return null;try{return JSON.parse(n.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",n.profileConfig),null}}),a=he(()=>{var h;return((h=o.value)==null?void 0:h.profile)||null}),s=he(()=>{var h;return((h=o.value)==null?void 0:h.tk)||""}),i=he(()=>{var h;return((h=o.value)==null?void 0:h.dataSource)||Ul.activeSource||"doxa-csv"}),r=he(()=>{var h;return((h=o.value)==null?void 0:h.colorSet)||"default"}),l=he(()=>!1),c=he(()=>{var h;return((h=o.value)==null?void 0:h.pinHint)!==!1}),u=he(()=>{var T,C;const h=(((T=o.value)==null?void 0:T.locale)||((C=o.value)==null?void 0:C.lang)||"").split("-")[0].toLowerCase();return Bl.includes(h)?h:""}),f=Fe("appI18n",null);hu(()=>{u.value&&f&&(f.global.locale.value=u.value)});const b=he(()=>{var h,T;return u.value||((T=(h=f==null?void 0:f.global)==null?void 0:h.locale)==null?void 0:T.value)||"en"}),v=he(()=>{var h;return((h=o.value)==null?void 0:h.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),E=Fe("profileModules",null);if(!E)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const A=he(()=>{if(!a.value)return null;const h=`./${a.value}.vue`;return E[h]?Au(E[h]):(console.error(`[ProfileLoader] Profile not found: "${a.value}". Available:`,Object.keys(E)),null)});ft("mapboxToken",s),ft("dataSource",i),ft("colorSet",r),ft("profileConfig",o),ft("instanceId",v),ft("lang",b);const R=nm(),M=om(),L=am();try{const h=typeof localStorage<"u"?localStorage.getItem("theme"):null;h&&((y=R.setTheme)==null||y.call(R,h))}catch{}return ft("uiStore",R),ft("mapStore",M),ft("dataStore",L),(h,T)=>(qe(),$t("div",im,[o.value?A.value?(qe(),Fo(vi(A.value),{key:2})):(qe(),$t("div",lm,[Ee("p",null,[T[1]||(T[1]=Et("⚠️ Profile ",-1)),Ee("strong",null,'"'+Xt(a.value)+'"',1),T[2]||(T[2]=Et(" not found.",-1))])])):(qe(),$t("div",rm,[...T[0]||(T[0]=[Ee("p",null,[Et("⚠️ "),Ee("strong",null,"doxa-map"),Et(": missing or invalid "),Ee("code",null,"profile-config"),Et(" prop.")],-1),Ee("p",null,[Et("Example: "),Ee("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),A.value&&l.value?(qe(),Fo(vi(vo(null)),{key:3})):bn("",!0),A.value&&c.value?(qe(),Fo(em,{key:4})):bn("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),um=Object.assign({"./all-people-groups.vue":()=>bc(()=>Promise.resolve().then(()=>cb),void 0)}),gm=Ug(cm,{configureApp(e){e.use(Wg());const t=Xh();e.use(t),e.provide("appI18n",t),e.provide("profileModules",um)}});typeof customElements<"u"&&!customElements.get("all-people-groups")&&customElements.define("all-people-groups",gm);const dm="rgba(120, 128, 134, 0.28)",Gl="36px",zl=()=>{};function fm(e,t={}){const{enabled:n=!0}=t;if(!n||!e)return zl;const o=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!o.length)return zl;const a=L=>L.classList.contains("map-scroll-edge--left");for(const L of o)L.style.background=`linear-gradient(${a(L)?"to right":"to left"}, ${dm} ${Gl}, transparent ${Gl})`,L.style.opacity="0",L.style.transition="opacity 0.16s ease",L.style.userSelect="none",L.style.webkitUserSelect="none";const s=L=>{L.style.opacity="1"},i=L=>{L.style.opacity="0"},r=()=>o.find(L=>!a(L))||null,l=new Set;let c=!1,u=null;const f=()=>{for(const L of o)l.has(L)||i(L)},b=()=>{const L=r();L&&(s(L),u&&clearTimeout(u),u=setTimeout(f,250))},v=()=>b(),E=L=>{if(!(L.touches&&L.touches.length===1))return;const y=L.target;y&&y.classList&&y.classList.contains("map-scroll-edge")||b()},A=()=>{u&&clearTimeout(u),f()};e.addEventListener("wheel",v,{passive:!0}),e.addEventListener("touchmove",E,{passive:!0}),e.addEventListener("touchend",A,{passive:!0}),e.addEventListener("touchcancel",A,{passive:!0});const R=()=>{c||b()};typeof window<"u"&&window.addEventListener("scroll",R,{passive:!0});const M=[];for(const L of o){const y=()=>{l.add(L),s(L)},h=()=>{l.delete(L),i(L)},T=()=>{c=!0,s(L)},C=()=>{c=!1,i(L)};L.addEventListener("mouseenter",y),L.addEventListener("mouseleave",h),L.addEventListener("touchstart",T,{passive:!0}),L.addEventListener("touchend",C,{passive:!0}),M.push(()=>{L.removeEventListener("mouseenter",y),L.removeEventListener("mouseleave",h),L.removeEventListener("touchstart",T),L.removeEventListener("touchend",C)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",v),e.removeEventListener("touchmove",E),e.removeEventListener("touchend",A),e.removeEventListener("touchcancel",A),typeof window<"u"&&window.removeEventListener("scroll",R);for(const y of M)y();for(const y of o)i(y)}}const pm=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://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/positron-gl-style/style.json",bestFor:["research-dashboard","cities-internet"]},{id:"ink",label:"Ink",mood:"near-black minimal — maximum pin contrast",mapbox:"mapbox://styles/mapbox/dark-v11",maplibre:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",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://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["country-posters"]},{id:"hybrid",label:"Hybrid",mood:"imagery + labels — orientation without losing ground truth",mapbox:"mapbox://styles/mapbox/satellite-streets-v12",maplibre:"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["key-cities"]},{id:"wayfinder-day",label:"Wayfinder Day",mood:"high-legibility navigation palette",mapbox:"mapbox://styles/mapbox/navigation-day-v1",maplibre:"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",bestFor:["gospel-resources"]},{id:"wayfinder-night",label:"Wayfinder Night",mood:"dark navigation — dashboards at night",mapbox:"mapbox://styles/mapbox/navigation-night-v1",maplibre:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",bestFor:["research-dashboard"]}].map(e=>[e.id,e]));function hm(e,t="mapbox"){if(typeof e!="string"||!e)return{style:void 0,lightPreset:void 0};const n=pm[e];return n?t==="maplibre"?{style:n.maplibre,lightPreset:void 0}:{style:n.mapbox,lightPreset:n.lightPreset}:/^(mapbox:\/\/|https?:\/\/)/.test(e)?{style:e,lightPreset:void 0}:{style:void 0,lightPreset:void 0}}const $n={mapbox:{global:"mapboxgl",js:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js",css:"https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css"},maplibre:{global:"maplibregl",js:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.js",css:"https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css"}};function ql(e){if(typeof window>"u")return;const t=window,n=()=>{try{const o=e.getContainer().querySelector(".mapboxgl-ctrl-logo, .maplibregl-ctrl-logo");o&&(o.style.display="none")}catch{}};if(t.__doxaLogoOwner&&t.__doxaLogoOwner!==e){e.once("load",n),n();return}t.__doxaLogoOwner=e,e.once("remove",()=>{t.__doxaLogoOwner===e&&(t.__doxaLogoOwner=null)})}const mm=$n.mapbox.css,bm="https://tiles.openfreemap.org/styles/liberty";function gs(e){var n;const t=((n=$n[e])==null?void 0:n.global)||$n.mapbox.global;return typeof window<"u"?window[t]:void 0}async function _m(e){const t=$n[e]||$n.mapbox;if(gs(e)||typeof document>"u")return;if(!document.querySelector(`link[href="${t.css}"]`)){const o=document.createElement("link");o.rel="stylesheet",o.href=t.css,document.head.appendChild(o)}const n=document.querySelector(`script[src="${t.js}"]`);if(n){if(gs(e))return;await new Promise(o=>{n.addEventListener("load",o,{once:!0}),n.addEventListener("error",o,{once:!0})});return}await new Promise((o,a)=>{const s=document.createElement("script");s.src=t.js,s.async=!1,s.addEventListener("load",o,{once:!0}),s.addEventListener("error",()=>a(new Error(`[useMapInstance] Failed to load ${e} engine script`)),{once:!0}),document.head.appendChild(s)})}async function ym(e,t){const n=e.getRootNode();if(!(n instanceof ShadowRoot))return;const o=i=>new Promise(r=>setTimeout(r,i)),a=n.querySelector(`link[href="${t}"]`);if(a){if(a.sheet)return;await Promise.race([new Promise(i=>{a.addEventListener("load",i,{once:!0}),a.addEventListener("error",i,{once:!0})}),o(2e3)]);return}const s=document.createElement("link");s.rel="stylesheet",s.href=t,await Promise.race([new Promise(i=>{s.addEventListener("load",i,{once:!0}),s.addEventListener("error",i,{once:!0}),n.prepend(s)}),o(2e3)])}function Am(e){return typeof e=="string"&&/^https?:\/\//.test(e)?e:bm}const Sm=85.0511,Hl=-2,vm=0,km=-60;function Vl(e){return(1-Math.log(Math.tan(Math.PI/4+e*Math.PI/180/2))/Math.PI)/2}function Tm(e,t,n,o){if(!e||e<=0||!t||t<=0)return vm;const a=Math.log2(e/512),s=Vl(o)-Vl(Sm),i=Math.log2(t/(512*s)),r=Math.max(a,i);return Math.max(Hl,Math.min(r,(n??18)-1))}function $m({containerRef:e,accessToken:t,style:n,config:o=void 0,provider:a="mapbox",center:s=[20,10],zoom:i=2,minZoom:r=void 0,maxZoom:l=18,pitch:c=0,bearing:u=0,renderWorldCopies:f=!0,showEdgeBorders:b=!0,southCutoff:v=km,maxBounds:E=void 0}){const A=_a(null),R=pe(!1);let M=null,L=null;const y=a==="maplibre";async function h(){var j;const I=hm(n,a).style||n;if(!e.value){console.error("containerRef.value is null — call initializeMap() inside onMounted()");return}await _m(a);const F=gs(a);if(!F){console.error(`[useMapInstance] ${y?"maplibregl":"mapboxgl"} is not available. Add the ${y?"MapLibre":"Mapbox"} GL JS script to your page.`);return}if(!y){if(!t){console.error('No Mapbox access token provided. Pass "tk" in profile-config JSON.');return}if(!t.startsWith("pk.")){console.error('Mapbox token looks invalid (expected "pk." prefix). Got:',t.slice(0,10)+"...");return}}await ym(e.value,y?$n.maplibre.css:mm),await new Promise(B=>requestAnimationFrame(B));const S=e.value,W=S.clientWidth,ae=S.clientHeight;if(W===0||ae===0){console.error(`[useMapInstance] Container has ZERO dimensions (${W}×${ae}). Map will be invisible. Check that parent elements have CSS sizing.`);let B=S.parentElement,V=0;for(;B&&V<5;)B=B.parentElement,V++}const H=t;y||(F.accessToken=H);const ee=()=>typeof window<"u"&&window.innerWidth>=1024,Y=(B,V)=>{if(!ee())return Hl;const X=Tm(B,V,l,v);return typeof r=="number"?Math.max(r,X):X},D=Y(S.clientWidth,S.clientHeight);if(y)A.value=new F.Map({container:e.value,style:Am(I),center:s,zoom:i,minZoom:D,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,renderWorldCopies:f,...E?{maxBounds:E}:{},attributionControl:!1}),ql(A.value);else{const B=typeof o=="function"?o():o;A.value=new F.Map({accessToken:H,container:e.value,style:I,...B?{config:B}:{},center:s,zoom:i,minZoom:D,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,touchPitch:!1,renderWorldCopies:f,...E?{maxBounds:E}:{},attributionControl:!1}),ql(A.value)}try{A.value.touchZoomRotate.disableRotation()}catch{}L=fm(((j=e.value)==null?void 0:j.parentElement)||null,{enabled:b}),M=()=>{const B=A.value;if(!B)return;const V=Y(S.clientWidth,S.clientHeight);B.setMinZoom(V),B.getZoom(){requestAnimationFrame(()=>{var B;(B=A.value)==null||B.resize(),A.value&&A.value.setMinZoom(Y(S.clientWidth,S.clientHeight)),R.value=!0})})}function T(){A.value&&(M&&(A.value.off("resize",M),typeof window<"u"&&(window.removeEventListener("resize",M),window.removeEventListener("orientationchange",M)),M=null),L&&(L(),L=null),A.value.remove(),A.value=null,R.value=!1)}return{map:A,isMapReady:R,initializeMap:h,destroy:T}}const Em=["mapbox","maplibre"],Wl="mapbox";function Lm(e){return e&&typeof e=="object"&&"value"in e&&!("provider"in e)&&!("profile"in e)?e.value:e}function Cm(e){const t=Lm(e),n=t==null?void 0:t.provider,o=typeof location<"u"?new URLSearchParams(location.search).get("provider"):void 0,a=typeof window<"u"?window.MAP_PROVIDER:void 0,s=String(n||o||a||Wl).toLowerCase().trim();return Em.includes(s)?s:Wl}const Yl="doxa-prayed-local",Nm=7*24*60*60*1e3;function wm(){try{const e=localStorage.getItem(Yl);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Pm(e){try{localStorage.setItem(Yl,JSON.stringify(e))}catch{}}function Im(){const e=Date.now(),t=wm();let n=!1;for(const[o,a]of Object.entries(t))(typeof a!="number"||e-a>Nm)&&(delete t[o],n=!0);return n&&Pm(t),new Set(Object.keys(t))}function Mm(e){const t=Im();return!t.size||!Array.isArray(e)?e:e.map(n=>(Number(n&&n.peoplePraying)||0)>0||!n||!t.has(n.slug)?n:{...n,peoplePraying:1})}const Ht={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"},Jl={aar:"Afro-Asiatic",abf:"Austronesian",abl:"Austronesian",abv:"Afro-Asiatic",acm:"Afro-Asiatic",acq:"Afro-Asiatic",acw:"Afro-Asiatic",acx:"Afro-Asiatic",adh:"Nilo-Saharan",adi:"Sino-Tibetan",adw:"Tupian",adx:"Sino-Tibetan",aen:"Sign Language",afb:"Afro-Asiatic",afg:"Sign Language",afr:"Indo-European",aft:"Nilo-Saharan",agx:"Nakh-Daghestanian",ahk:"Sino-Tibetan",aib:"Turkic",aih:"Kra-Dai",aio:"Kra-Dai",ajp:"Afro-Asiatic",aju:"Afro-Asiatic",aks:"Niger-Congo",akv:"Nakh-Daghestanian",alk:"Austro-Asiatic",alo:"Austronesian",alw:"Afro-Asiatic",amc:"Panoan",amh:"Afro-Asiatic",amr:"Harákmbut",amv:"Austronesian",ani:"Nakh-Daghestanian",anp:"Indo-European",anq:"Andamanese",aoc:"Cariban",apc:"Afro-Asiatic",apd:"Afro-Asiatic",arb:"Afro-Asiatic",arq:"Afro-Asiatic",arr:"Tupian",ars:"Afro-Asiatic",arv:"Afro-Asiatic",ary:"Afro-Asiatic",ase:"Sign Language",asl:"Austronesian",asm:"Indo-European",asn:"Tupian",asp:"Sign Language",atr:"Cariban",avd:"Indo-European",avl:"Afro-Asiatic",avv:"Tupian",awe:"Tupian",awt:"Tupian",ayh:"Afro-Asiatic",ayl:"Afro-Asiatic",ayn:"Afro-Asiatic",azb:"Turkic",bao:"Tucanoan",bbh:"Austro-Asiatic",bcc:"Indo-European",bcz:"Niger-Congo",bdg:"Austronesian",bdi:"Nilo-Saharan",bdj:"Niger-Congo",bdm:"Afro-Asiatic",bdo:"Nilo-Saharan",bee:"Sino-Tibetan",bej:"Afro-Asiatic",bem:"Niger-Congo",ben:"Indo-European",bfi:"Sign Language",bfu:"Sino-Tibetan",bfw:"Austro-Asiatic",bfy:"Indo-European",bgc:"Indo-European",bgg:"Sino-Tibetan",bgk:"Austro-Asiatic",bgl:"Austro-Asiatic",bgn:"Indo-European",bgp:"Indo-European",bgq:"Indo-European",bho:"Indo-European",bhu:"Indo-European",bid:"Afro-Asiatic",bjj:"Indo-European",bkk:"Indo-European",blf:"Austronesian",blm:"Nilo-Saharan",blo:"Niger-Congo",bls:"Austronesian",blt:"Kra-Dai",bly:"Niger-Congo",bma:"Niger-Congo",bmr:"Witotoan",bna:"Austronesian",bns:"Indo-European",bor:"Bororoan",bos:"Indo-European",bph:"Nakh-Daghestanian",bqg:"Niger-Congo",bqj:"Niger-Congo",bqk:"Niger-Congo",bqn:"Sign Language",bqx:"Niger-Congo",bra:"Indo-European",brb:"Austro-Asiatic",bro:"Sino-Tibetan",brx:"Sino-Tibetan",bsb:"Austronesian",bsg:"Indo-European",bsk:"Language isolate",bsy:"Austronesian",btd:"Austronesian",btf:"Afro-Asiatic",btv:"Indo-European",btx:"Austronesian",btz:"Austronesian",bub:"Niger-Congo",buh:"Hmong-Mien",bva:"Afro-Asiatic",bvf:"Afro-Asiatic",bvi:"Niger-Congo",bvo:"Niger-Congo",bwi:"Maipurean",bwn:"Hmong-Mien",bwx:"Hmong-Mien",bxr:"Mongolic",bxu:"Mongolic",bxw:"Niger-Congo",byn:"Afro-Asiatic",byo:"Sino-Tibetan",bze:"Niger-Congo",bzx:"Niger-Congo",cat:"Indo-European",cbb:"Maipurean",cbc:"Tucanoan",cbi:"Barbacoan",cbn:"Austro-Asiatic",cby:"Unclassified",cdh:"Indo-European",cdn:"Sino-Tibetan",cdz:"Austro-Asiatic",ceg:"Zamucoan",cgk:"Sino-Tibetan",che:"Nakh-Daghestanian",cib:"Niger-Congo",cji:"Nakh-Daghestanian",ckh:"Sino-Tibetan",ckq:"Afro-Asiatic",clk:"Sino-Tibetan",cmn:"Sino-Tibetan",cnq:"Niger-Congo",cnu:"Afro-Asiatic",coa:"Creole",cog:"Austro-Asiatic",cpu:"Maipurean",cqd:"Hmong-Mien",csf:"Sign Language",csx:"Sign language",cub:"Tucanoan",cui:"Guajiboan",cuu:"Kra-Dai",daa:"Afro-Asiatic",daj:"Nilo-Saharan",dar:"Nakh-Daghestanian",dau:"Nilo-Saharan",dba:"Language isolate",dbb:"Afro-Asiatic",dbp:"Afro-Asiatic",dbr:"Afro-Asiatic",ddn:"Nilo-Saharan",deg:"Niger-Congo",dek:"Niger-Congo",des:"Tucanoan",dgo:"Indo-European",dgs:"Niger-Congo",dhd:"Indo-European",dhi:"Sino-Tibetan",dhm:"Niger-Congo",dil:"Nilo-Saharan",diu:"Niger-Congo",div:"Indo-European",djc:"Nilo-Saharan",dkg:"Niger-Congo",dln:"Sino-Tibetan",dml:"Indo-European",dms:"Austronesian",dnu:"Austro-Asiatic",doc:"Kra-Dai",dok:"Austronesian",dox:"Afro-Asiatic",dru:"Austronesian",dse:"Sign Language",dsh:"Afro-Asiatic",dsl:"Sign Language",dsq:"Nilo-Saharan",dta:"Mongolic",dtp:"Austronesian",dyu:"Niger-Congo",dzg:"Nilo-Saharan",dzl:"Sino-Tibetan",eng:"Indo-European",enn:"Niger-Congo",epi:"Niger-Congo",ers:"Sino-Tibetan",esl:"Sign Language",evn:"Tungusic",fin:"Uralic",fni:"Niger-Congo",fod:"Niger-Congo",fra:"Indo-European",fsl:"Sign Language",fub:"Niger-Congo",fuc:"Niger-Congo",fuf:"Niger-Congo",fuj:"Niger-Congo",fvr:"Nilo-Saharan",fwe:"Niger-Congo",gax:"Afro-Asiatic",gaz:"Afro-Asiatic",gbk:"Indo-European",gbm:"Indo-European",gbn:"Nilo-Saharan",gdq:"Afro-Asiatic",gea:"Afro-Asiatic",ges:"Austronesian",gex:"Afro-Asiatic",ghl:"Nilo-Saharan",giq:"Kra-Dai",giw:"Kra-Dai",gju:"Indo-European",glc:"Niger-Congo",goe:"Sino-Tibetan",gow:"Afro-Asiatic",gqu:"Kra-Dai",grr:"Afro-Asiatic",gsg:"Sign Language",gss:"Sign Language",guj:"Indo-European",gus:"Sign Language",gvp:"Jean",gwb:"Niger-Congo",gwc:"Indo-European",gwd:"Afro-Asiatic",gwf:"Indo-European",gya:"Niger-Congo",gyo:"Sino-Tibetan",gzn:"Austronesian",hae:"Afro-Asiatic",hal:"Austro-Asiatic",hau:"Afro-Asiatic",hca:"Creole",hea:"Hmong-Mien",heb:"Afro-Asiatic",her:"Niger-Congo",hik:"Austronesian",hin:"Indo-European",hks:"Sign Language",hlb:"Indo-European",hld:"Austro-Asiatic",hmb:"Nilo-Saharan",hmh:"Hmong-Mien",hml:"Hmong-Mien",hmm:"Hmong-Mien",hne:"Indo-European",hni:"Sino-Tibetan",hnu:"Austro-Asiatic",hoh:"Afro-Asiatic",hoj:"Indo-European",hoz:"Afro-Asiatic",hsn:"Sino-Tibetan",hss:"Afro-Asiatic",htu:"Austronesian",hug:"Harákmbut",huo:"Austro-Asiatic",iba:"Austronesian",ibr:"Niger-Congo",icl:"Sign Language",iii:"Sino-Tibetan",ind:"Austronesian",irr:"Austro-Asiatic",ise:"Sign Language",isk:"Indo-European",isr:"Sign Language",ium:"Hmong-Mien",jbn:"Afro-Asiatic",jeu:"Afro-Asiatic",jia:"Afro-Asiatic",jii:"Afro-Asiatic",jio:"Kra-Dai",jit:"Niger-Congo",jiu:"Sino-Tibetan",jle:"Niger-Congo",jls:"Sign Language",jmi:"Afro-Asiatic",jnl:"Sino-Tibetan",jos:"Sign Language",jpn:"Japonic",jup:"Puinavean",kaf:"Sino-Tibetan",kan:"Dravidian",kas:"Indo-European",kay:"Tupian",kaz:"Turkic",kbg:"Sino-Tibetan",kbo:"Nilo-Saharan",kbp:"Niger-Congo",kby:"Nilo-Saharan",kcf:"Niger-Congo",kcn:"Creole",kcp:"Nilo-Saharan",kcu:"Niger-Congo",kcy:"Nilo-Saharan",kcz:"Niger-Congo",kdh:"Niger-Congo",kdn:"Niger-Congo",kdt:"Austro-Asiatic",kdu:"Nilo-Saharan",kec:"Nilo-Saharan",kfa:"Dravidian",kfd:"Dravidian",kfe:"Dravidian",kfg:"Dravidian",kfm:"Indo-European",kfr:"Indo-European",kfs:"Indo-European",kfy:"Indo-European",kgn:"Indo-European",khb:"Kra-Dai",khf:"Austro-Asiatic",khv:"Nakh-Daghestanian",kia:"Niger-Congo",kib:"Niger-Congo",kie:"Nilo-Saharan",kil:"Afro-Asiatic",kir:"Turkic",kjc:"Austronesian",kjg:"Austro-Asiatic",kjk:"Austronesian",kke:"Niger-Congo",kkh:"Kra-Dai",kkn:"Austro-Asiatic",kko:"Nilo-Saharan",kks:"Afro-Asiatic",klf:"Nilo-Saharan",kmc:"Kra-Dai",kmq:"Nilo-Saharan",kmr:"Indo-European",kmz:"Turkic",knc:"Nilo-Saharan",knf:"Niger-Congo",knk:"Niger-Congo",knm:"Maipurean",knn:"Indo-European",kns:"Austro-Asiatic",knz:"Niger-Congo",kou:"Niger-Congo",kpa:"Afro-Asiatic",kpc:"Maipurean",kpj:"Karajá",kpt:"Nakh-Daghestanian",kqg:"Niger-Congo",kqm:"Niger-Congo",krn:"Niger-Congo",krs:"Nilo-Saharan",kth:"Nilo-Saharan",kuf:"Austro-Asiatic",kui:"Cariban",kuj:"Niger-Congo",kva:"Nakh-Daghestanian",kvf:"Afro-Asiatic",kvh:"Austronesian",kvp:"Austronesian",kwn:"Niger-Congo",kwv:"Nilo-Saharan",kxd:"Austronesian",kxh:"Afro-Asiatic",kxj:"Nilo-Saharan",kyi:"Austronesian",kyp:"Kra-Dai",kyw:"Indo-European",kzq:"Sino-Tibetan",lae:"Sino-Tibetan",lan:"Niger-Congo",lao:"Kra-Dai",laq:"Kra-Dai",lbj:"Sino-Tibetan",lbn:"Austro-Asiatic",lbo:"Austro-Asiatic",lbs:"Sign Language",lbt:"Kra-Dai",lcd:"Austronesian",lcq:"Austronesian",lgn:"Nilo-Saharan",lgs:"Sign Language",lha:"Kra-Dai",lhn:"Austronesian",lhp:"Sino-Tibetan",lic:"Kra-Dai",liq:"Afro-Asiatic",liu:"Nilo-Saharan",lkc:"Sino-Tibetan",lkh:"Sino-Tibetan",lki:"Indo-European",lkr:"Nilo-Saharan",lma:"Niger-Congo",loh:"Nilo-Saharan",lop:"Niger-Congo",lsd:"Afro-Asiatic",lso:"Sign Language",lss:"Indo-European",lsy:"Sign Language",luk:"Sino-Tibetan",lul:"Nilo-Saharan",mag:"Indo-European",mai:"Indo-European",mal:"Dravidian",mar:"Indo-European",mbd:"Austronesian",mbn:"Guajiboan",mcd:"Panoan",mdl:"Sign Language",mdy:"Afro-Asiatic",mei:"Nilo-Saharan",men:"Niger-Congo",mes:"Afro-Asiatic",mew:"Afro-Asiatic",mey:"Afro-Asiatic",mgb:"Nilo-Saharan",mgd:"Nilo-Saharan",mge:"Nilo-Saharan",mgh:"Niger-Congo",mhr:"Uralic",mhu:"Sino-Tibetan",mhw:"Niger-Congo",mjp:"Dravidian",mkg:"Kra-Dai",mmh:"Maipurean",mml:"Austro-Asiatic",mmy:"Afro-Asiatic",mne:"Nilo-Saharan",mni:"Sino-Tibetan",mnj:"Indo-European",mnk:"Niger-Congo",mnq:"Austro-Asiatic",mns:"Uralic",mot:"Chibchan",mou:"Afro-Asiatic",moy:"Afro-Asiatic",moz:"Afro-Asiatic",mpe:"Nilo-Saharan",mpz:"Sino-Tibetan",mqi:"Austronesian",mqn:"Austronesian",mra:"Austro-Asiatic",mrj:"Uralic",msc:"Niger-Congo",msv:"Afro-Asiatic",msw:"Niger-Congo",mtr:"Indo-European",mub:"Afro-Asiatic",mup:"Indo-European",muq:"Hmong-Mien",muv:"Dravidian",mvf:"Mongolic",mvu:"Nilo-Saharan",mvy:"Indo-European",mwn:"Niger-Congo",mxj:"Sino-Tibetan",myp:"Muran",myy:"Tucanoan",mzb:"Afro-Asiatic",mzy:"Sign Language",naq:"Khoe-Kwadi",nbt:"Sino-Tibetan",nbw:"Niger-Congo",ndg:"Niger-Congo",ndp:"Nilo-Saharan",ndt:"Niger-Congo",neb:"Niger-Congo",neh:"Sino-Tibetan",nev:"Austro-Asiatic",ngt:"Austro-Asiatic",njl:"Nilo-Saharan",nkd:"Sino-Tibetan",nld:"Indo-European",nmd:"Niger-Congo",nmi:"Afro-Asiatic",nml:"Niger-Congo",nmy:"Sino-Tibetan",nnj:"Nilo-Saharan",nod:"Kra-Dai",noe:"Indo-European",nos:"Sino-Tibetan",npb:"Sino-Tibetan",npi:"Indo-European",nrb:"Nilo-Saharan",nru:"Sino-Tibetan",nsl:"Sign Language",nuo:"Austro-Asiatic",nus:"Nilo-Saharan",nwm:"Nilo-Saharan",nxq:"Sino-Tibetan",nye:"Niger-Congo",nyn:"Niger-Congo",nyr:"Niger-Congo",nyw:"Kra-Dai",nzs:"Sign Language",okn:"Japonic",ole:"Sino-Tibetan",oog:"Austro-Asiatic",oon:"Andamanese",opa:"Niger-Congo",ort:"Indo-European",ory:"Indo-European",ost:"Niger-Congo",oyb:"Austro-Asiatic",oym:"Tupian",pac:"Austro-Asiatic",pah:"Tupian",pbp:"Niger-Congo",peh:"Mongolic",pes:"Indo-European",pga:"Creole",pgg:"Indo-European",pgz:"Sign language",pha:"Hmong-Mien",phh:"Sino-Tibetan",phj:"Sino-Tibetan",phk:"Kra-Dai",phl:"Indo-European",pho:"Sino-Tibetan",phq:"Sino-Tibetan",phr:"Indo-European",pht:"Kra-Dai",pil:"Niger-Congo",pir:"Tucanoan",pkb:"Niger-Congo",pks:"Sign Language",pkt:"Austro-Asiatic",pll:"Austro-Asiatic",pnq:"Niger-Congo",pnx:"Austro-Asiatic",por:"Indo-European",prc:"Indo-European",prs:"Indo-European",prt:"Austro-Asiatic",psc:"Sign Language",pse:"Austronesian",pto:"Tupian",pum:"Sino-Tibetan",puo:"Austro-Asiatic",qae:"Sign Language",qao:"Sign Language",qbh:"Sign Language",qbj:"Sign Language",qbn:"Sign Language",qbt:"Sign Language",qcd:"Sign Language",qcm:"Sign Language",qcy:"Sign Language",qer:"Sign Language",qfa:"Sign Language",qfj:"Sign Language",qga:"Sign Language",qge:"Sign Language",qgm:"Sign Language",qiq:"Sign Language",qki:"Sign Language",qkm:"Sign Language",qkp:"Sign Language",qkw:"Sign Language",qmv:"Sign Language",qnh:"Sign Language",qns:"Sign Language",qom:"Sign Language",qqa:"Sign Language",qry:"Sign Language",qsm:"Sign Language",qso:"Sign Language",qsr:"Sign Language",qsz:"Sign Language",qtp:"Sign Language",qvz:"Quechuan",ras:"Niger-Congo",rbb:"Austro-Asiatic",ren:"Austro-Asiatic",rji:"Sino-Tibetan",rmt:"Indo-European",rmy:"Indo-European",rob:"Austronesian",rsl:"Sign Language",rui:"Niger-Congo",rus:"Indo-European",rwm:"Niger-Congo",rwr:"Indo-European",rys:"Japonic",saa:"Afro-Asiatic",sbf:"Unclassified",sbj:"Nilo-Saharan",sbs:"Niger-Congo",scb:"Austro-Asiatic",sck:"Indo-European",scl:"Indo-European",sdb:"Indo-European",sdg:"Indo-European",sdl:"Sign Language",sdp:"Sino-Tibetan",seq:"Niger-Congo",sgh:"Indo-European",sgy:"Indo-European",she:"Afro-Asiatic",shm:"Indo-European",shn:"Kra-Dai",sho:"Niger-Congo",shp:"Panoan",shu:"Afro-Asiatic",shv:"Afro-Asiatic",shz:"Niger-Congo",siy:"Indo-European",siz:"Afro-Asiatic",sjg:"Nilo-Saharan",sjo:"Tungusic",skq:"Niger-Congo",sle:"Dravidian",slt:"Sino-Tibetan",sml:"Austronesian",smy:"Indo-European",snd:"Indo-European",snn:"Tucanoan",soj:"Indo-European",sok:"Afro-Asiatic",soy:"Niger-Congo",spa:"Indo-European",spu:"Austro-Asiatic",sqk:"Sign Language",sqq:"Austro-Asiatic",sqs:"Sign Language",sqt:"Afro-Asiatic",srh:"Indo-European",sri:"Tucanoan",srp:"Indo-European",ssh:"Afro-Asiatic",ssn:"Afro-Asiatic",sss:"Austro-Asiatic",ssy:"Afro-Asiatic",std:"Andamanese",sts:"Indo-European",suq:"Nilo-Saharan",suv:"Sino-Tibetan",suy:"Jean",suz:"Sino-Tibetan",swh:"Niger-Congo",swi:"Kra-Dai",swl:"Sign Language",swv:"Indo-European",swx:"Arauan",sxg:"Sino-Tibetan",sze:"Afro-Asiatic",szn:"Austronesian",szs:"Sign Language",tag:"Niger-Congo",tam:"Dravidian",taz:"Niger-Congo",tbm:"Niger-Congo",tbn:"Chibchan",tbr:"Nilo-Saharan",tct:"Kra-Dai",tcy:"Dravidian",tda:"Mixed language",tdb:"Indo-European",tdd:"Kra-Dai",tdf:"Austro-Asiatic",tdj:"Austronesian",tel:"Dravidian",teq:"Nilo-Saharan",tgf:"Sino-Tibetan",tgk:"Indo-European",tgr:"Austro-Asiatic",thk:"Niger-Congo",thm:"Austro-Asiatic",thu:"Nilo-Saharan",thv:"Afro-Asiatic",tig:"Afro-Asiatic",tin:"Nakh-Daghestanian",tiz:"Kra-Dai",tkn:"Japonic",tlq:"Austro-Asiatic",tly:"Indo-European",tma:"Nilo-Saharan",tnb:"Chibchan",toi:"Niger-Congo",toq:"Nilo-Saharan",tou:"Austro-Asiatic",tqq:"Afro-Asiatic",tri:"Cariban",trj:"Afro-Asiatic",tsb:"Afro-Asiatic",tsc:"Niger-Congo",tsj:"Sino-Tibetan",tsk:"Sino-Tibetan",tsl:"Kra-Dai",tsm:"Sign Language",ttg:"Austronesian",tth:"Austro-Asiatic",ttl:"Niger-Congo",tts:"Kra-Dai",tue:"Tucanoan",tum:"Niger-Congo",tuo:"Tucanoan",tur:"Turkic",twm:"Sino-Tibetan",txi:"Cariban",txm:"Austronesian",tyh:"Austro-Asiatic",tyj:"Kra-Dai",tyr:"Kra-Dai",tyv:"Turkic",tyy:"Niger-Congo",tzm:"Afro-Asiatic",uan:"Kra-Dai",udj:"Austronesian",une:"Niger-Congo",unk:"Maipurean",urd:"Indo-European",urp:"Tupian",urz:"Tupian",ush:"Indo-European",usi:"Sino-Tibetan",uuu:"Austro-Asiatic",uzn:"Turkic",vai:"Niger-Congo",vgr:"Indo-European",vie:"Austro-Asiatic",vkj:"Unclassified",vkn:"Niger-Congo",vkz:"Niger-Congo",vmk:"Niger-Congo",vut:"Niger-Congo",wau:"Maipurean",waw:"Cariban",wbj:"Afro-Asiatic",wbl:"Indo-European",wbr:"Indo-European",wlc:"Niger-Congo",wll:"Nilo-Saharan",wmd:"Nambikwara",wmg:"Sino-Tibetan",wne:"Indo-European",wni:"Niger-Congo",wol:"Niger-Congo",wrn:"Niger-Congo",wti:"Nilo-Saharan",wuh:"Mixed language",wwa:"Niger-Congo",xal:"Mongolic",xan:"Afro-Asiatic",xdq:"Nakh-Daghestanian",xhv:"Austro-Asiatic",xka:"Indo-European",xkz:"Sino-Tibetan",xma:"Niger-Congo",xmj:"Afro-Asiatic",xmo:"Tupian",xms:"Sign Language",xnr:"Indo-European",xns:"Sino-Tibetan",xom:"Nilo-Saharan",xor:"Panoan",xsm:"Niger-Congo",xsr:"Sino-Tibetan",xwg:"Nilo-Saharan",yaa:"Panoan",yad:"Yaguan",yao:"Niger-Congo",yax:"Niger-Congo",ybh:"Sino-Tibetan",ycl:"Sino-Tibetan",ydd:"Indo-European",ydg:"Indo-European",yea:"Dravidian",yhd:"Afro-Asiatic",yig:"Sino-Tibetan",yix:"Sino-Tibetan",ymm:"Afro-Asiatic",ymx:"Sino-Tibetan",yne:"Sino-Tibetan",yno:"Kra-Dai",yom:"Niger-Congo",yox:"Japonic",yoy:"Kra-Dai",yrn:"Kra-Dai",ysl:"Sign Language",ysm:"Sign language",ysn:"Sino-Tibetan",yue:"Sino-Tibetan",yul:"Nilo-Saharan",yup:"Cariban",ywn:"Panoan",ywt:"Sino-Tibetan",zag:"Nilo-Saharan",zgn:"Kra-Dai",zhd:"Kra-Dai",ziw:"Niger-Congo",zkr:"Sino-Tibetan",zlm:"Austronesian",zna:"Niger-Congo",zne:"Niger-Congo",zng:"Austro-Asiatic",zqe:"Kra-Dai",zum:"Indo-European",zyg:"Kra-Dai"},ds="languageFamily",Rm="#000000",Vt={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Dm=Vt;function fs(e){return Vt[e]||Rm}const Fm=(()=>{const e=n=>String(n||"").toLowerCase().trim(),t={};for(const n of Object.keys(Vt))t[e(n)]=n;return t})();function ps(e){if(!e)return"Unknown";const t=String(e).trim();return Fm[t.toLowerCase()]||t}function Xl(e){var t;return fs(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function hs(){const e=["match",["get",ds]];return Object.entries(Vt).forEach(([t,n])=>{e.push(t,n)}),e.push("#95a5a6"),e}const Zl=hs,Om=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Dm,PALETTE:Vt,PROPERTY_KEY:ds,applyColor:hs,buildColorExpression:Zl,canonicalFamilyName:ps,default:{name:"Language Family",propertyKey:ds,palette:Vt,colors:Vt,getColor:Xl,applyColor:hs,buildColorExpression:Zl,getLanguageFamilyColor:fs,canonicalFamilyName:ps},defaultFamilyColor:"#95a5a6",getColor:Xl,getLanguageFamilyColor:fs,languageFamilyColors:Vt},Symbol.toStringTag,{value:"Module"})),Ql="adoptionStatus",Mt={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},xm=Mt,ms={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},jm=ms;function ec(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Mt.hasAdoption:Mt.notAdopted}function bs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],Mt.hasAdoption,["==",t,1],Mt.hasAdoption,Mt.notAdopted]}const tc=bs,Bm=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:xm,ADOPTION_LABELS:jm,LABELS:ms,PALETTE:Mt,PROPERTY_KEY:Ql,applyColor:bs,buildColorExpression:tc,default:{name:"Adoption Progress",propertyKey:Ql,palette:Mt,colors:Mt,labels:ms,getColor:ec,applyColor:bs,buildColorExpression:tc},getColor:ec},Symbol.toStringTag,{value:"Module"})),nc="engagementStatus",Rt={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Km=Rt,_s={notEngaged:"Unengaged",hasEngagement:"Engaged"},Um=_s;function oc(e){var o;const t=e.engagementStatus??((o=e._raw)==null?void 0:o.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Rt.hasEngagement:Rt.notEngaged}function ys({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Rt.hasEngagement,["==",t,1],Rt.hasEngagement,Rt.notEngaged]}const ac=ys,Gm=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Km,ENGAGEMENT_LABELS:Um,LABELS:_s,PALETTE:Rt,PROPERTY_KEY:nc,applyColor:ys,buildColorExpression:ac,default:{name:"Engagement Progress",propertyKey:nc,palette:Rt,colors:Rt,labels:_s,getColor:oc,applyColor:ys,buildColorExpression:ac},getColor:oc},Symbol.toStringTag,{value:"Module"})),sc="peoplePraying",Zo=144,Wt={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},zm=Wt,As={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},qm=As;function Qo(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null,n=Number(t)||0;return n>=Zo?"fullPrayer":n>0?"hasPrayer":"noPrayer"}function Ss(e){return Wt[Qo(e)]}function ic(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null;return t!==null&&t>0}function rc(e){return Qo(e)==="fullPrayer"}function lc(e){return Ss(e)}function vs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Zo],Wt.fullPrayer,[">",t,0],Wt.hasPrayer,Wt.noPrayer]}const cc=vs,Hm=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Zo,LABELS:As,PALETTE:Wt,PRAYER_COLORS:zm,PRAYER_LABELS:qm,PROPERTY_KEY:sc,applyColor:vs,buildColorExpression:cc,checkHasFullPrayer:rc,checkHasPrayer:ic,default:{name:"Prayer Progress",propertyKey:sc,palette:Wt,colors:Wt,labels:As,threshold:Zo,getColor:lc,applyColor:vs,buildColorExpression:cc,getPrayerLevel:Qo,getPrayerColor:Ss,checkHasPrayer:ic,checkHasFullPrayer:rc},getColor:lc,getPrayerColor:Ss,getPrayerLevel:Qo},Symbol.toStringTag,{value:"Module"})),uc="religion",ks="#94a3b8",Ts={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Xe={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function gc(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Ts[t]?t:"U"}function dc(e){var n,o,a;const t=(e==null?void 0:e.religion)||((o=(n=e==null?void 0:e._raw)==null?void 0:n.religion)==null?void 0:o.value)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Xe[gc(t)]||ks}function $s(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Xe.C,"M",Xe.M,"H",Xe.H,"B",Xe.B,"E",Xe.E,"J",Xe.J,"S",Xe.S,"N",Xe.N,"O",Xe.O,ks]}const fc=$s,Vm=Object.assign({"./adoption.js":Bm,"./engagement.js":Gm,"./language-family.js":Om,"./prayer-progress.js":Hm,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Xe,PROPERTY_KEY:uc,RELIGION_FAMILIES:Ts,applyColor:$s,buildColorExpression:fc,default:{name:"Religion",propertyKey:uc,palette:Xe,families:Ts,getColor:dc,applyColor:$s,buildColorExpression:fc,fallback:ks},getColor:dc,getReligionFamily:gc},Symbol.toStringTag,{value:"Module"}))}),Wm=e=>e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase()),Ym=e=>e.replace(/-/g,"_").toUpperCase(),Jm={...{STATUS:"status",CUSTOM:"custom"}};function Xm(e){for(const t of Object.keys(e).sort()){const n=t.split("/").pop().replace(/\.js$/,"");if(n.startsWith("_")||n.startsWith(".")||!e[t].default)continue;const a=Wm(n);Jm[Ym(n)]=a}}Xm(Vm);function Es(e){return e==null?"":typeof e=="object"?e.label||e.value||"":String(e)}const Zm=[[/ sign language$/i,"Sign Language"]];function Qm(e){var r,l;const t=Es(e.languageFamily);if(t)return t;const n=String(((l=(r=e._raw)==null?void 0:r.primary_language)==null?void 0:l.value)||(e.language&&typeof e.language=="object"?e.language.value:"")||"").trim().toLowerCase();if(n&&Jl[n])return Jl[n];const o=Es(e.language||e.primary_language);if(!o||typeof o!="string")return"";const a=o.trim(),s=a.split(",").map(c=>c.trim()).filter(Boolean);if(s.length>=2){const c=[...s].reverse().join(" ");if(Ht[c])return Ht[c];if(s.length>=3){const u=[s[1],s[0]].join(" ");if(Ht[u])return Ht[u]}}if(Ht[a])return Ht[a];const i=a.replace(/\s*\(.*?\)\s*$/,"").trim();if(i!==a&&Ht[i])return Ht[i];for(const[c,u]of Zm)if(c.test(a))return u;return""}function eb(e){const{mapId:t="unknown",dataSourceId:n="doxa-csv",dataSourceManager:o=null,dataStore:a=null,markRaw:s=I=>I}=e;o||console.error("useMapData: dataSourceManager is required!");const i=pe(!1),r=pe(null),l=pe(!1),c=pe([]),u=pe([]),f=pe(null),b=pe([]),v=pe([]),E=pe([]),A=pe(null);async function R(){if(!o)throw new Error("dataSourceManager is required for useMapData");i.value=!0,r.value=null;try{if(await o.init(),a&&a.hasSourceData&&a.hasSourceData(n)){const D=a.getSourceData(n);u.value=s(D.normalizedData||[])}else{const D=await o.setActiveSource(n);for(const j of D){const B=Es(j.language||j.primary_language);B&&(j.language=B);const V=Qm(j);j.languageFamily=ps(V)}u.value=s(D),a&&a.cacheSourceData&&a.cacheSourceData(n,{normalizedData:D,timestamp:Date.now()})}c.value=s(Mm(u.value.map(D=>({id:D.uniqueId,slug:D.slug||"",rop3:D.peopleGroupId,peopleId3:D.peopleId3,name:D.name,language:D.language,languageFamily:D.languageFamily,country:D.country,population:D.population,status:D.engagementStatus||D.status,latitude:D.latitude,longitude:D.longitude,lng:D.longitude,lat:D.latitude,description:D.description,imageUrl:D.imageUrl,doxaRegion:D.doxaRegion||D.wagfRegion||"",peoplePraying:D.peoplePraying??null,_normalized:D}))));const I=o.getDataByLanguageFamily();b.value=Object.entries(I).map(([D,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:D,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((D,j)=>j.count-D.count);const F=o.getDataByRegion();v.value=Object.entries(F).map(([D,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:D,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((D,j)=>D.name.localeCompare(j.name));const S={bible:{count:0,population:0,groups:[]},jesusFilm:{count:0,population:0,groups:[]},radio:{count:0,population:0,groups:[]},gospel:{count:0,population:0,groups:[]},audio:{count:0,population:0,groups:[]},stories:{count:0,population:0,groups:[]},hasResources:{count:0,population:0,groups:[]},noResources:{count:0,population:0,groups:[]}};u.value.forEach(D=>{const j=parseInt(D.population)||0;let B=!1;D.bible==="Available"&&(S.bible.count++,S.bible.population+=j,S.bible.groups.push(D),B=!0),D.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=j,S.jesusFilm.groups.push(D),B=!0),D.radio==="Available"&&(S.radio.count++,S.radio.population+=j,S.radio.groups.push(D),B=!0),D.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=j,S.gospel.groups.push(D),B=!0),D.audio==="Available"&&(S.audio.count++,S.audio.population+=j,S.audio.groups.push(D),B=!0),D.stories==="Available"&&(S.stories.count++,S.stories.population+=j,S.stories.groups.push(D),B=!0),B?(S.hasResources.count++,S.hasResources.population+=j,S.hasResources.groups.push(D)):(S.noResources.count++,S.noResources.population+=j,S.noResources.groups.push(D))});const W=u.value.length,ae=u.value.reduce((D,j)=>D+(parseInt(j.population)||0),0),H={bible:"Bible",jesusFilm:"Jesus Film",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",hasResources:"Has Resources",noResources:"No Resources"},ee={bible:{count:W-S.bible.count,population:ae-S.bible.population},jesusFilm:{count:W-S.jesusFilm.count,population:ae-S.jesusFilm.population},radio:{count:W-S.radio.count,population:ae-S.radio.population},gospel:{count:W-S.gospel.count,population:ae-S.gospel.population},audio:{count:W-S.audio.count,population:ae-S.audio.population},stories:{count:W-S.stories.count,population:ae-S.stories.population}},Y="#2c3e50";return E.value=[{name:H.bible,key:"bible",count:S.bible.count,population:S.bible.population,isParent:!0,children:[{name:"No Bible",key:"noBible",count:ee.bible.count,population:ee.bible.population,color:Y}]},{name:H.jesusFilm,key:"jesusFilm",count:S.jesusFilm.count,population:S.jesusFilm.population,isParent:!0,children:[{name:"No Jesus Film",key:"noJesusFilm",count:ee.jesusFilm.count,population:ee.jesusFilm.population,color:Y}]},{name:H.radio,key:"radio",count:S.radio.count,population:S.radio.population,isParent:!0,children:[{name:"No Radio",key:"noRadio",count:ee.radio.count,population:ee.radio.population,color:Y}]},{name:H.gospel,key:"gospel",count:S.gospel.count,population:S.gospel.population,isParent:!0,children:[{name:"No Gospel",key:"noGospel",count:ee.gospel.count,population:ee.gospel.population,color:Y}]},{name:H.audio,key:"audio",count:S.audio.count,population:S.audio.population,isParent:!0,children:[{name:"No Audio",key:"noAudio",count:ee.audio.count,population:ee.audio.population,color:Y}]},{name:H.stories,key:"stories",count:S.stories.count,population:S.stories.population,isParent:!0,children:[{name:"No Stories",key:"noStories",count:ee.stories.count,population:ee.stories.population,color:Y}]},{name:H.hasResources,key:"hasResources",count:S.hasResources.count,population:S.hasResources.population,isParent:!0,children:[{name:H.noResources,key:"noResources",count:S.noResources.count,population:S.noResources.population,color:Y}]}],A.value=o.getStats(),l.value=!0,{peopleGroups:c.value,normalizedPeopleGroups:u.value,languageFamiliesData:b.value,doxaRegionsData:v.value,resourcesData:E.value,stats:A.value}}catch(I){throw console.error(`Failed to load data for map "${t}":`,I),r.value=I.message||"Failed to load data",I}finally{i.value=!1}}async function M(){var I,F,S;try{const W={},ae=u.value||[];for(const H of ae){const ee=H.countryIso||((F=(I=H._raw)==null?void 0:I.country_code)==null?void 0:F.value)||"",Y=(S=H._raw)==null?void 0:S.wagf_region,D=H.doxaRegion||H.wagfRegion||(Y&&typeof Y=="object"?Y.value:"")||"";ee&&D&&!W[ee]&&(W[ee]=D)}return f.value={isoToRegion:W},f.value}catch(W){throw console.error(`Error building regions data for map "${t}":`,W),r.value=W.message||"Failed to build regions",W}}function L(){return o?o.getDataByLanguageFamily():{}}function y(){return o?o.getDataByRegion():{}}function h(I){return L()[I]||[]}function T(I){return y()[I]||[]}function C(){c.value=[],u.value=[],f.value=null,b.value=[],v.value=[],E.value=[],A.value=null,l.value=!1,r.value=null}return{isLoading:i,isInitialized:l,error:r,peopleGroups:c,normalizedPeopleGroups:u,regionsData:f,languageFamiliesData:b,doxaRegionsData:v,resourcesData:E,stats:A,loadData:R,loadRegionsData:M,getDataByLanguageFamily:L,getDataByRegion:y,getPeopleGroupsByFamily:h,getPeopleGroupsByRegion:T,clearData:C}}function tb(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:ea&&ea.tagName.toUpperCase()==="SCRIPT"&&ea.src||new URL("all-people-groups.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}class pc{constructor(t={}){this.sourcesConfig=null,this.activeSource=null,this.rawData=[],this.normalizedData=[],this.dataByUniqueId=new Map,this.baseUrl=typeof window<"u"&&window.MAP_APP_BASE_URL||"./",this.locale=t.locale||null,this.cache=new Map,this.cacheEnabled=!0,this.cacheTTL=5*60*1e3}async init(){return this.sourcesConfig=Ul,this.sourcesConfig}getActiveSourceId(){var t;return((t=this.sourcesConfig)==null?void 0:t.activeSource)||"doxa-csv"}getSourceConfig(t){var n,o;return(o=(n=this.sourcesConfig)==null?void 0:n.sources)==null?void 0:o[t]}async setActiveSource(t){const n=this.getSourceConfig(t);if(!n)throw new Error(`Source not found: ${t}`);if(this.activeSource=n,this.cacheEnabled&&this.cache.has(t)){const o=this.cache.get(t);return this.normalizedData=o.normalizedData,this.dataByUniqueId=o.dataByUniqueId,this.normalizedData}return n.type==="csv"?await this.loadCSVData(n):n.type==="api"?await this.loadAPIData(n):n.type==="rest-api"&&await this.loadRestApiData(n),this.cacheEnabled&&this.cache.set(t,{normalizedData:this.normalizedData,dataByUniqueId:this.dataByUniqueId,timestamp:Date.now()}),this.normalizedData}clearCache(t=null){t?this.cache.delete(t):this.cache.clear()}isCached(t){return this.cache.has(t)}async loadActiveSource(){return this.sourcesConfig||await this.init(),this.setActiveSource(this.getActiveSourceId())}parseCSV(t){const n=[],o=[];let a="",s=!1,i=[],r=!0;for(let l=0;l0){if(i.push(a.trim()),a="",r)o.push(...i),r=!1;else if(i.length>1){const f={};o.forEach((b,v)=>{f[b]=i[v]||""}),n.push(f)}i=[]}}else a+=c}if((a||i.length>0)&&(i.push(a.trim()),!r&&i.length>1)){const l={};o.forEach((c,u)=>{l[c]=i[u]||""}),n.push(l)}return{headers:o,data:n}}async loadCSVData(t){try{const o=await(await fetch(this.baseUrl+t.path)).text(),{headers:a,data:s}=this.parseCSV(o);return this.rawData=s,this.validateFieldMappings(t.fieldMappings,a,t.name),this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load CSV data:",n),n}}validateFieldMappings(t,n,o){const a=new Set(n.map(i=>i.trim())),s=[];for(const[i,r]of Object.entries(t||{}))if(Array.isArray(r))for(const l of r)a.has(l)||s.push({systemField:i,sourceField:l,isComposite:!0});else r&&!a.has(r)&&s.push({systemField:i,sourceField:r,isComposite:!1});s.length>0&&console.warn(`[DataSourceManager] ${o}: missing CSV columns:`,s)}async loadAPIData(t){try{const o=await(await fetch(t.url||t.endpoint)).json();return this.rawData=Array.isArray(o)?o:o.posts||o.data||o.peopleGroups||o.results||[],this.normalizeData(t),this.normalizedData}catch(n){throw console.error("Failed to load API data:",n),n}}async loadRestApiData(t){var l,c;const n=tb(),o=((l=t.endpoints)==null?void 0:l.bulk)||"/api/people-groups/list",a=((c=t.defaultFields)==null?void 0:c.join(","))||"",s=[];a&&s.push(`fields=${a}`);const i={...t.queryParams||{}};this.locale&&(i.lang=this.locale);for(const[u,f]of Object.entries(i))s.push(`${u}=${encodeURIComponent(f)}`);const r=`${n}${o}?${s.join("&")}`;try{const u=await fetch(r);if(!u.ok)throw new Error(`HTTP ${u.status}: ${u.statusText}`);const f=u.headers.get("content-type")||"";if(!f.includes("application/json"))throw new Error(`API returned "${f}" instead of JSON. Server at ${n} may be down or misconfigured.`);const b=await u.json();return this.rawData=Array.isArray(b)?b:b.posts||b.data||b.results||[],this.normalizeData(t),this.normalizedData}catch(u){throw console.error(`[rest-api] Failed to load from ${t.id}:`,u),u}}normalizeData(t){const n=t.fieldMappings||{};this.normalizedData=[],this.dataByUniqueId=new Map;for(const o of this.rawData){const a={};for(const[l,c]of Object.entries(n))if(Array.isArray(c)){const u=c.map(f=>this.getFieldValue(o,f));a[l]=u.join("_")}else a[l]=this.getFieldValue(o,c);if(a.latitude=parseFloat(a.latitude)||0,a.longitude=parseFloat(a.longitude)||0,a.latitude===0&&a.longitude===0)continue;a.populationNum=this.parsePopulation(a.population),a.imageUrl=this.getImageUrl(a,t.imageConfig);const s=a.engagementStatus;s!=null&&(typeof s=="object"&&"value"in s?(a.engagementStatusLabel=s.label||s.value,a.engagementStatus=s.value==="engaged"):a.engagementStatus=s===!0||s===1||s==="1"||s==="true"||typeof s=="number"&&s>0||typeof s=="string"&&parseInt(s,10)>0);const i=a.adoptionStatus;i!=null&&(a.adoptionStatus=i===!0||i===1||i==="1"||i==="true"||typeof i=="object"&&!!(i!=null&&i.value)||typeof i=="number"&&i>0||typeof i=="string"&&parseInt(i,10)>0);const r=["doxaRegion","wagfRegion","wagfBlock","wagfMember","affinityBlock","cluster","peopleGroup","countryIso","religion","religionCode"];for(const l of r){const c=a[l];c!=null&&typeof c=="object"&&"value"in c?(a[l+"Label"]=c.label||c.value,a[l]=c.value):c!=null&&typeof c=="string"&&c!==""&&(a[l+"Label"]||(a[l+"Label"]=c))}a.countryName=a.countryIsoLabel||a.country||a.countryIso||"",a.religionName=a.religionLabel||a.religion||"",a._raw=o,this.normalizedData.push(a),this.dataByUniqueId.set(a.uniqueId,a)}this.rawData=null}getFieldValue(t,n){if(!n)return"";if(t[n]!==void 0)return t[n];const o=n.trim();if(t[o]!==void 0)return t[o];for(const a of Object.keys(t))if(a.trim()===o||a.includes(o)||o.includes(a.trim()))return t[a];return""}parsePopulation(t){if(!t)return 0;const n=String(t).replace(/,/g,"").trim(),o=parseInt(n,10);return isNaN(o)?0:o}getImageUrl(t,n){if(!n)return"";const o=n.placeholderUrl||"",a=t[n.useField];return a&&String(a).trim()&&!String(a).includes("NoImageAvailable")?a:o}getData(){return this.normalizedData}getByUniqueId(t){return this.dataByUniqueId.get(t)}getByCoordinates(t,n,o=1e-4){return this.normalizedData.find(a=>Math.abs(a.latitude-t)n.peopleGroupId===t)}getLanguageFamilies(){const t=new Set;return this.normalizedData.forEach(n=>{n.languageFamily&&t.add(n.languageFamily)}),Array.from(t).sort()}getDataByLanguageFamily(){const t={};return this.normalizedData.forEach(n=>{const o=n.languageFamily||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getDataByRegion(){const t={};return this.normalizedData.forEach(n=>{const o=n.doxaRegion||"Unknown";t[o]||(t[o]=[]),t[o].push(n)}),t}getStats(){return{totalRecords:this.normalizedData.length,withPeopleId3:this.normalizedData.filter(t=>t.peopleId3).length,withPhotos:this.normalizedData.filter(t=>t.imageUrl&&!String(t.imageUrl).includes("NoImageAvailable")).length,languageFamilies:this.getLanguageFamilies().length,countries:new Set(this.normalizedData.map(t=>t.country)).size,regions:Object.keys(this.getDataByRegion()).length}}}new pc;const nb={class:"apg-root"},ob={key:0,class:"apg-loading"},ab={key:1,class:"apg-error"},sb={key:2,class:"apg-legend"},ib={class:"apg-legend-sub"},rb=["onClick"],lb={class:"apg-count"},cb=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"all-people-groups",setup(e){var ee;Kl(` .apg-root { position:absolute;inset:0;overflow:hidden; @@ -100,10 +100,10 @@ .apg-pop .meta { color:#4b5563;margin-top:4px; } .apg-pop a { display:inline-block;margin-top:7px;font-weight:700;color:#b45309;text-decoration:none; } .apg-pop a:hover { text-decoration:underline; } -`,"all-people-groups");const t=Fe("profileConfig"),n=Fe("mapboxToken"),o=Fe("dataSource"),a=Fe("dataStore"),s=Fe("mapStore"),i=Cm(t),r=he(()=>{var Y;return String(((Y=t==null?void 0:t.value)==null?void 0:Y.assetsBase)||"/assets").replace(/\/+$/,"")}),l=[{id:"doxa",label:"DOXA people groups",color:"#111827"},{id:"frontier",label:"Frontier — nothing started",color:"#e74c3c"},{id:"unreached",label:"Unreached — work beginning",color:"#f1c40f"},{id:"reached",label:"Reached — church is there",color:"#2ecc71"}],c=Object.fromEntries(l.map(Y=>[Y.id,Y.color])),u=pe({doxa:0,frontier:0,unreached:0,reached:0});function f(Y,D){if(D.has(String(Y.ROP3Code||"")))return"doxa";const j=Number(Y.GSEC);return!Number.isFinite(j)||j<=1?"frontier":j<=3?"unreached":"reached"}function b(){var j;let Y="";try{Y=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const D=(j=t==null?void 0:t.value)==null?void 0:j.utmSource;return encodeURIComponent(String(Y||D||"agwm"))}const v=pe(null),$=pe(!1),A=pe(null),{map:R,initializeMap:M,destroy:L}=Em({containerRef:v,accessToken:n.value,provider:i,style:((ee=t==null?void 0:t.value)==null?void 0:ee.style)??"ink",center:[20,12],zoom:1.6}),y=new pc,h=eb({mapId:"all-people-groups",dataSourceId:o.value,dataSourceManager:y,dataStore:a,markRaw:Y=>Y});let T=[],C=new Map;function I(Y){return String(Y??"").replace(/[&<>"']/g,D=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[D])}async function F(){const[Y,D]=await Promise.all([fetch(`${r.value}/people-groups/people-groups-slim.json`).then(X=>{if(!X.ok)throw new Error(`people-groups-slim.json ${X.status}`);return X.json()}),h.loadData().then(()=>h.normalizedPeopleGroups.value||[]).catch(X=>(console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",X),[]))]),j=new Set;for(const X of D){const ue=String(X.peopleGroupId||X.rop3||"");ue&&(j.add(ue),C.has(ue)||C.set(ue,{slug:X.slug||"",name:X.name||""}))}const B=[],V={doxa:0,frontier:0,unreached:0,reached:0};for(const X of Y.rows||[]){const ue=Number(X.Lat),de=Number(X.Long);if(!Number.isFinite(ue)||!Number.isFinite(de)||ue===0&&de===0)continue;const fe=f(X,j);V[fe]++,B.push({type:"Feature",geometry:{type:"Point",coordinates:[de,ue]},properties:{name:X.Name||"",country:X.CountryName||"",population:Number(X.Population)||0,gsec:X.GSEC,evangelical:X.EvangelicalLevel||"",language:X.LanguageName||"",religion:X.ReligionName||"",rop3:String(X.ROP3Code||""),category:fe}})}return u.value=V,T=B,{type:"FeatureCollection",features:B}}function S(Y){const D=R.value;D.addSource("apg",{type:"geojson",data:Y}),D.addLayer({id:"apg-pins",type:"circle",source:"apg",paint:{"circle-color":["match",["get","category"],"doxa",c.doxa,"frontier",c.frontier,"unreached",c.unreached,c.reached],"circle-stroke-color":"#ffffff","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.4,6,.8,12,1.1],"circle-stroke-opacity":.85,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92,"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]}}),D.on("mouseenter","apg-pins",()=>{D.getCanvas().style.cursor="pointer"}),D.on("mouseleave","apg-pins",()=>{D.getCanvas().style.cursor=""}),D.on("click","apg-pins",j=>{const B=j.features&&j.features[0];if(!B)return;const V=B.properties,X=V.category==="doxa"?C.get(V.rop3):null,ue=l.find(je=>je.id===V.category),de=X&&X.slug?`Pray for them →`:"",fe=i==="maplibre"?window.maplibregl:window.mapboxgl;new fe.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(j.lngLat).setHTML(`
+`,"all-people-groups");const t=Fe("profileConfig"),n=Fe("mapboxToken"),o=Fe("dataSource"),a=Fe("dataStore"),s=Fe("mapStore"),i=Cm(t),r=he(()=>{var Y;return String(((Y=t==null?void 0:t.value)==null?void 0:Y.assetsBase)||"/assets").replace(/\/+$/,"")}),l=[{id:"doxa",label:"DOXA people groups",color:"#111827"},{id:"frontier",label:"Frontier — nothing started",color:"#e74c3c"},{id:"unreached",label:"Unreached — work beginning",color:"#f1c40f"},{id:"reached",label:"Reached — church is there",color:"#2ecc71"}],c=Object.fromEntries(l.map(Y=>[Y.id,Y.color])),u=pe({doxa:0,frontier:0,unreached:0,reached:0});function f(Y,D){if(D.has(String(Y.ROP3Code||"")))return"doxa";const j=Number(Y.GSEC);return!Number.isFinite(j)||j<=1?"frontier":j<=3?"unreached":"reached"}function b(){var j;let Y="";try{Y=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const D=(j=t==null?void 0:t.value)==null?void 0:j.utmSource;return encodeURIComponent(String(Y||D||"agwm"))}const v=pe(null),E=pe(!1),A=pe(null),{map:R,initializeMap:M,destroy:L}=$m({containerRef:v,accessToken:n.value,provider:i,style:((ee=t==null?void 0:t.value)==null?void 0:ee.style)??"ink",center:[20,12],zoom:1.6}),y=new pc,h=eb({mapId:"all-people-groups",dataSourceId:o.value,dataSourceManager:y,dataStore:a,markRaw:Y=>Y});let T=[],C=new Map;function I(Y){return String(Y??"").replace(/[&<>"']/g,D=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[D])}async function F(){const[Y,D]=await Promise.all([fetch(`${r.value}/people-groups/people-groups-slim.json`).then(X=>{if(!X.ok)throw new Error(`people-groups-slim.json ${X.status}`);return X.json()}),h.loadData().then(()=>h.normalizedPeopleGroups.value||[]).catch(X=>(console.warn("[all-people-groups] DOXA overlay unavailable (map still renders by GSEC):",X),[]))]),j=new Set;for(const X of D){const ue=String(X.peopleGroupId||X.rop3||"");ue&&(j.add(ue),C.has(ue)||C.set(ue,{slug:X.slug||"",name:X.name||""}))}const B=[],V={doxa:0,frontier:0,unreached:0,reached:0};for(const X of Y.rows||[]){const ue=Number(X.Lat),de=Number(X.Long);if(!Number.isFinite(ue)||!Number.isFinite(de)||ue===0&&de===0)continue;const fe=f(X,j);V[fe]++,B.push({type:"Feature",geometry:{type:"Point",coordinates:[de,ue]},properties:{name:X.Name||"",country:X.CountryName||"",population:Number(X.Population)||0,gsec:X.GSEC,evangelical:X.EvangelicalLevel||"",language:X.LanguageName||"",religion:X.ReligionName||"",rop3:String(X.ROP3Code||""),category:fe}})}return u.value=V,T=B,{type:"FeatureCollection",features:B}}function S(Y){const D=R.value;D.addSource("apg",{type:"geojson",data:Y}),D.addLayer({id:"apg-pins",type:"circle",source:"apg",paint:{"circle-color":["match",["get","category"],"doxa",c.doxa,"frontier",c.frontier,"unreached",c.unreached,c.reached],"circle-stroke-color":"#ffffff","circle-stroke-width":["interpolate",["linear"],["zoom"],0,.4,6,.8,12,1.1],"circle-stroke-opacity":.85,"circle-radius":["interpolate",["linear"],["zoom"],0,2.2,4,3.4,8,6,12,9],"circle-opacity":.92,"circle-sort-key":["match",["get","category"],"doxa",4,"frontier",3,"unreached",2,1]}}),D.on("mouseenter","apg-pins",()=>{D.getCanvas().style.cursor="pointer"}),D.on("mouseleave","apg-pins",()=>{D.getCanvas().style.cursor=""}),D.on("click","apg-pins",j=>{const B=j.features&&j.features[0];if(!B)return;const V=B.properties,X=V.category==="doxa"?C.get(V.rop3):null,ue=l.find(je=>je.id===V.category),de=X&&X.slug?`Pray for them →`:"",fe=i==="maplibre"?window.maplibregl:window.mapboxgl;new fe.Popup({closeButton:!0,maxWidth:"290px"}).setLngLat(j.lngLat).setHTML(`
${I(V.name)} ${I(ue.label.split(" — ")[0])}
${I(V.country)} · pop ${Number(V.population).toLocaleString()}
${I(V.evangelical||"GSEC "+V.gsec)}
${I(V.language)}${V.religion?" · "+I(V.religion):""}
${de} -
`).addTo(D)})}const W=pe(null);function ae(Y){const D=R.value;if(!D||!D.getLayer("apg-pins"))return;if(W.value===Y){W.value=null,D.setFilter("apg-pins",null),D.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}W.value=Y,D.setFilter("apg-pins",["==",["get","category"],Y]);let j=180,B=85,V=-180,X=-85,ue=0;for(const de of T){if(de.properties.category!==Y)continue;const[fe,je]=de.geometry.coordinates;feV&&(V=fe),jeX&&(X=je),ue++}ue&&D.fitBounds([[j,B],[V,X]],{padding:60,duration:900,maxZoom:6})}Un(async()=>{const Y=F().catch(D=>(A.value=String((D==null?void 0:D.message)||D),null));try{await M()}catch(D){A.value=String((D==null?void 0:D.message)||D);return}if(!R.value){A.value="Map failed to initialize — check token and container";return}R.value.once("style.load",async()=>{var D;try{const j=await Y;if(!j)return;try{R.value.setProjection("mercator")}catch{}S(j),(D=s==null?void 0:s.registerMap)==null||D.call(s,"all-people-groups",R.value),$.value=!0}catch(j){A.value=String((j==null?void 0:j.message)||j)}})}),$a(()=>{var Y;(Y=s==null?void 0:s.unregisterMap)==null||Y.call(s,"all-people-groups"),L()});const H=he(()=>u.value.doxa+u.value.frontier+u.value.unreached+u.value.reached);return(Y,D)=>(qe(),Et("div",nb,[!$.value&&!A.value?(qe(),Et("div",ob,"Loading every people group…")):bn("",!0),A.value?(qe(),Et("div",ab,"The map could not be loaded. "+Xt(A.value),1)):bn("",!0),$e("div",{ref_key:"mapContainer",ref:v,class:"apg-canvas"},null,512),$.value?(qe(),Et("div",sb,[D[0]||(D[0]=$e("div",{class:"apg-legend-title"},"All People Groups",-1)),$e("div",ib,Xt(H.value.toLocaleString())+" group–country locations",1),(qe(),Et(Ye,null,Iu(l,j=>$e("div",{key:j.id,class:Nn(["apg-row",{active:W.value===j.id}]),onClick:B=>ae(j.id)},[$e("span",{class:"apg-dot",style:go({background:j.color})},null,4),$t(" "+Xt(j.label)+" ",1),$e("span",lb,Xt((u.value[j.id]||0).toLocaleString()),1)],10,rb)),64)),D[1]||(D[1]=$e("div",{class:"apg-hint"},"Click a row to see all of them · click again for everything",-1))])):bn("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); +
`).addTo(D)})}const W=pe(null);function ae(Y){const D=R.value;if(!D||!D.getLayer("apg-pins"))return;if(W.value===Y){W.value=null,D.setFilter("apg-pins",null),D.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}W.value=Y,D.setFilter("apg-pins",["==",["get","category"],Y]);let j=180,B=85,V=-180,X=-85,ue=0;for(const de of T){if(de.properties.category!==Y)continue;const[fe,je]=de.geometry.coordinates;feV&&(V=fe),jeX&&(X=je),ue++}ue&&D.fitBounds([[j,B],[V,X]],{padding:60,duration:900,maxZoom:6})}Un(async()=>{const Y=F().catch(D=>(A.value=String((D==null?void 0:D.message)||D),null));try{await M()}catch(D){A.value=String((D==null?void 0:D.message)||D);return}if(!R.value){A.value="Map failed to initialize — check token and container";return}R.value.once("style.load",async()=>{var D;try{const j=await Y;if(!j)return;try{R.value.setProjection("mercator")}catch{}S(j),(D=s==null?void 0:s.registerMap)==null||D.call(s,"all-people-groups",R.value),E.value=!0}catch(j){A.value=String((j==null?void 0:j.message)||j)}})}),Ea(()=>{var Y;(Y=s==null?void 0:s.unregisterMap)==null||Y.call(s,"all-people-groups"),L()});const H=he(()=>u.value.doxa+u.value.frontier+u.value.unreached+u.value.reached);return(Y,D)=>(qe(),$t("div",nb,[!E.value&&!A.value?(qe(),$t("div",ob,"Loading every people group…")):bn("",!0),A.value?(qe(),$t("div",ab,"The map could not be loaded. "+Xt(A.value),1)):bn("",!0),Ee("div",{ref_key:"mapContainer",ref:v,class:"apg-canvas"},null,512),E.value?(qe(),$t("div",sb,[D[0]||(D[0]=Ee("div",{class:"apg-legend-title"},"All People Groups",-1)),Ee("div",ib,Xt(H.value.toLocaleString())+" group–country locations",1),(qe(),$t(Ye,null,Iu(l,j=>Ee("div",{key:j.id,class:Nn(["apg-row",{active:W.value===j.id}]),onClick:B=>ae(j.id)},[Ee("span",{class:"apg-dot",style:go({background:j.color})},null,4),Et(" "+Xt(j.label)+" ",1),Ee("span",lb,Xt((u.value[j.id]||0).toLocaleString()),1)],10,rb)),64)),D[1]||(D[1]=Ee("div",{class:"apg-hint"},"Click a row to see all of them · click again for everything",-1))])):bn("",!0)]))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html b/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html index 90354977..223c2363 100644 --- a/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html +++ b/public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + \n" + "script": "\n" }, "bundle": "all-people-groups" } @@ -33,7 +33,7 @@ "bundle": "cities-internet", "scriptUrl": "./cities-internet/cities-internet.js", "output": "doxa-maps/cities-internet/cities-internet.js", - "integrity": "sha384-wfe2Vyh8VE8Db9ua0rsL2l6tF+PsihChCdxBRE7q9X5oz4YMeQbh5Qfuk1SbjdXN", + "integrity": "sha384-C2lYpjkm+jDkGY+t5UkXn3qQfGKtxi7JTBjo6qZsw1TTXOkGiTsZaz9fOQSf/V9U", "elements": [ "cities-internet-map" ], @@ -47,7 +47,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -59,7 +59,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -71,7 +71,7 @@ "scriptUrl": "./cities-internet/cities-internet.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } } ] @@ -80,7 +80,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "doxa-maps/country-posters/country-posters.js", - "integrity": "sha384-tcWuVJ5JJACyTlGYbcpDZL+SS0Ry9TVccz8LdPEpvaov1R9qzMSa6VWVGhx6DQRT", + "integrity": "sha384-3sEnptkbQd/vXwS2urpTMsj51IAfPwiQU0q+kHkuTB3hxN4i0dnO4MKTsGvglnth", "elements": [ "country-posters-map" ], @@ -94,7 +94,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -106,7 +106,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } } ] @@ -115,7 +115,7 @@ "bundle": "demo-map", "scriptUrl": "./demo-map/demo-map.js", "output": "doxa-maps/demo-map/demo-map.js", - "integrity": "sha384-PGc83TLsK+hQs6OB/OzNlSeA1SjnEJxxlZtJP/Az1Fg++StE/muTHmqRGiBVn6aI", + "integrity": "sha384-LHGkKIEgv00d9oLnEZtLJJZ24oCTXrgoMItI12/wIOgUxlsefkyIb1bIPQKPkZiV", "elements": [ "demo-map" ], @@ -129,7 +129,7 @@ "scriptUrl": "./demo-map/demo-map.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" }, "instances": [ { @@ -156,7 +156,7 @@ "bundle": "doxa-research-map", "scriptUrl": "./doxa-research-map/doxa-research-map.js", "output": "doxa-maps/doxa-research-map/doxa-research-map.js", - "integrity": "sha384-JEITNridhIrxxZwaGo4djAnWC544igLkHwPaIbVra00JG5EiSqCPDLrWtDAuqHz6", + "integrity": "sha384-VDRb+5u5hc8yAFYcINjiY3qIgGPc1uAYrN9y1yrRGsA190j/b99RKDl1VE9wAOQh", "elements": [ "doxa-research-map" ], @@ -170,7 +170,7 @@ "scriptUrl": "./doxa-research-map/doxa-research-map.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } } ] @@ -179,7 +179,7 @@ "bundle": "doxa-simple-map", "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "output": "doxa-maps/doxa-simple-map/doxa-simple-map.js", - "integrity": "sha384-OHJl0ZVf08k4Llw6xCfM1kVSegah7WpUjMDIi/y3gKizIgiiXVgPwqL4jM7ZIz1o", + "integrity": "sha384-ZkqkHuaTCeXrb+gcb40a+1AWY5rhX1EUkes9q3nWwndyRD39DO9sY1CVs/UiCWTD", "elements": [ "doxa-map", "doxa-simple-map" @@ -194,7 +194,7 @@ "scriptUrl": "./doxa-simple-map/doxa-simple-map.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" }, "instances": [ { @@ -274,7 +274,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "doxa-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-gDuW1m1Ujd0v8WKjSFZyZT0WmTDCLGqVFYn0gsSz+NBTiHwR3OKKHHWMjFkygXST", + "integrity": "sha384-GGNkQjzHDoMF7Wz6mXQqTNGqzSEDKq4YTOjCwVsGpW+9IoUBcdN6JLbxwGJ05PZL", "elements": [ "gospel-resources-map" ], @@ -288,7 +288,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -300,7 +300,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -312,7 +312,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -324,7 +324,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } } ] @@ -333,7 +333,7 @@ "bundle": "my-upg-100-list", "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "output": "doxa-maps/my-upg-100-list/my-upg-100-list.js", - "integrity": "sha384-D3N2bDrTD79KX7FIFmaQhVJF3nBpUyf8Gb80TDZyQIgr+ECJnAr3DkSplWngfZx1", + "integrity": "sha384-81zgR22i828BmZ2uFLKpVa5GLBZxvBeugSML8yQ4s9RWDzcKObDdas4VHWnvoZOz", "elements": [ "my-upg-100-list-map" ], @@ -347,7 +347,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -359,7 +359,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } }, { @@ -371,7 +371,7 @@ "scriptUrl": "./my-upg-100-list/my-upg-100-list.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" } } ] @@ -380,7 +380,7 @@ "bundle": "research-dashboard", "scriptUrl": "./research-dashboard/research-dashboard.js", "output": "doxa-maps/research-dashboard/research-dashboard.js", - "integrity": "sha384-p2cNfUTkObgkeh8YTinSTnPtyuIlJ6mMDLnChIBaDKxo6gdjw4Us84xpQvrsMWHG", + "integrity": "sha384-zt/p5jPpNqDg6lcSBIEt0HccyWTMZE6JtY5tH7QdX7johN+8nf7xAHpoXPq1Ls0O", "elements": [ "research-dashboard-map" ], @@ -394,7 +394,7 @@ "scriptUrl": "./research-dashboard/research-dashboard.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" }, "bundle": "research-dashboard" } @@ -404,7 +404,7 @@ "bundle": "template-bundle", "scriptUrl": "./template-bundle/template-bundle.js", "output": "doxa-maps/template-bundle/template-bundle.js", - "integrity": "sha384-7oKMpdhxEwHZk1lLpNS5+8FNfK7CEv2BAlgmw65N5F6CkNhduVcSVgIshYLDKYhJ", + "integrity": "sha384-5S0haWYTVdqgC93KBqVxjtOxCc6NCa+2WC4dVGO4iyzo7S4iN4BkIsfK4WCi+SH/", "elements": [ "template-bundle" ], @@ -418,7 +418,7 @@ "scriptUrl": "./template-bundle/template-bundle.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" }, "bundle": "template-bundle" }, @@ -431,7 +431,7 @@ "scriptUrl": "./template-bundle/template-bundle.js", "embed": { "iframe": "", - "script": "\n" + "script": "\n" }, "bundle": "template-bundle" } diff --git a/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js b/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js index 174d41f1..a91a9437 100644 --- a/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js +++ b/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js @@ -1,47 +1,47 @@ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".profile-loader[data-v-b7582f77]{width:100%;height:100%;position:relative}.profile-error[data-v-b7582f77]{padding:1rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-family:monospace;font-size:13px}.people-group-detail[data-v-17d34c3a]{display:flex;flex-direction:column;height:100%;overflow-y:auto}.detail-header[data-v-17d34c3a]{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:#fff;position:sticky;top:0;z-index:10}.header-left[data-v-17d34c3a]{display:flex;gap:12px;align-items:center;flex:1;min-width:0}.header-text[data-v-17d34c3a]{flex:1;min-width:0}.people-group-name[data-v-17d34c3a]{margin:0;font-size:18px;font-weight:700;color:#333;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text;-webkit-user-select:text;cursor:text}.people-group-subtitle[data-v-17d34c3a]{margin:4px 0 0;font-size:13px;color:#666;line-height:1.2}.close-button[data-v-17d34c3a]{background:none;border:none;padding:4px;cursor:pointer;color:#666;transition:color .2s ease;flex-shrink:0}.close-button[data-v-17d34c3a]:hover{color:#333}.detail-content[data-v-17d34c3a]{padding:6px 12px 12px;flex:1;overflow-y:auto}.quick-stats[data-v-17d34c3a]{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.stat-item[data-v-17d34c3a]{display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.stat-label[data-v-17d34c3a]{color:#666;font-weight:500}.stat-value[data-v-17d34c3a]{color:#333;font-weight:600;text-align:right}.action-buttons[data-v-17d34c3a]{display:flex;gap:8px;padding-top:12px;margin-bottom:10px;overflow-x:auto;padding-bottom:2px}.action-btn[data-v-17d34c3a]{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.action-btn.primary[data-v-17d34c3a]{background:#92b195;color:#fff}.action-btn.primary[data-v-17d34c3a]:hover{background:#73a17f;box-shadow:0 2px 4px #92b1954d}.action-btn.secondary[data-v-17d34c3a]{background:#ecf0f1;color:#333}.action-btn.secondary[data-v-17d34c3a]:hover{background:#d5dbdb}.btn-icon[data-v-17d34c3a]{flex-shrink:0}.image-container[data-v-17d34c3a]{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5}.image-container.position-above[data-v-17d34c3a]{width:120px;height:150px;margin:0 auto 16px}.image-container.position-inside[data-v-17d34c3a]{width:200px;height:250px;margin:0 auto 16px}.people-group-image[data-v-17d34c3a]{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s ease}.people-group-image.loaded[data-v-17d34c3a]{opacity:1}.image-placeholder-svg[data-v-17d34c3a]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f0f0f0;transition:opacity .3s ease}.image-placeholder-svg.hidden[data-v-17d34c3a]{opacity:0;pointer-events:none}.image-container[data-v-17d34c3a]{position:relative}.description-section[data-v-17d34c3a]{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.description-text[data-v-17d34c3a]{margin:0;font-size:14px;line-height:1.6;color:#555}.description-text.empty[data-v-17d34c3a]{color:#999;font-style:italic}.action-buttons[data-v-17d34c3a]::-webkit-scrollbar{height:4px}.action-buttons[data-v-17d34c3a]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.action-buttons[data-v-17d34c3a]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.action-buttons[data-v-17d34c3a]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 480px){.people-group-name[data-v-17d34c3a]{font-size:16px}.stat-item[data-v-17d34c3a]{font-size:13px}.action-btn[data-v-17d34c3a]{padding:8px 14px;font-size:13px}}")),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -(function(){"use strict";var ld;var Wo=typeof document<"u"?document.currentScript:null;const Sk="modulepreload",Ak=function(e){return"/"+e},Lk={},yn=function(t,o,n){let r=Promise.resolve();function a(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return r.then(s=>{for(const i of s||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};/** +(function(){"use strict";var pd;var Xo=typeof document<"u"?document.currentScript:null;const Rk="modulepreload",Fk=function(e){return"/"+e},Ok={},Sn=function(t,o,n){let r=Promise.resolve();function a(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return r.then(s=>{for(const i of s||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function pr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ge={},Yo=[],Yt=()=>{},Js=()=>!1,ra=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sa=e=>e.startsWith("onUpdate:"),Xe=Object.assign,gr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},ud=Object.prototype.hasOwnProperty,Me=(e,t)=>ud.call(e,t),be=Array.isArray,Ao=e=>_n(e)==="[object Map]",ia=e=>_n(e)==="[object Set]",Zs=e=>_n(e)==="[object Date]",_e=e=>typeof e=="function",Ye=e=>typeof e=="string",Et=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",Xs=e=>(Oe(e)||_e(e))&&_e(e.then)&&_e(e.catch),Qs=Object.prototype.toString,_n=e=>Qs.call(e),dd=e=>_n(e).slice(8,-1),la=e=>_n(e)==="[object Object]",ca=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=pr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ua=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},pd=/-\w/g,ct=ua(e=>e.replace(pd,t=>t.slice(1).toUpperCase())),gd=/\B([A-Z])/g,Pt=ua(e=>e.replace(gd,"-$1").toLowerCase()),da=ua(e=>e.charAt(0).toUpperCase()+e.slice(1)),fr=ua(e=>e?`on${da(e)}`:""),qt=(e,t)=>!Object.is(e,t),pa=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},hr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ti=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let oi;const ga=()=>oi||(oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ft(e){if(be(e)){const t={};for(let o=0;o{if(o){const n=o.split(hd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function $e(e){let t="";if(Ye(e))t=e;else if(be(e))for(let o=0;o!!(e&&e.__v_isRef===!0),le=e=>Ye(e)?e:e==null?"":be(e)||Oe(e)&&(e.toString===Qs||!_e(e.toString))?ri(e)?le(e.value):JSON.stringify(e,si,2):String(e),si=(e,t)=>ri(t)?si(e,t.value):Ao(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,r],a)=>(o[mr(n,a)+" =>"]=r,o),{})}:ia(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>mr(o))}:Et(t)?mr(t):Oe(t)&&!be(t)&&!la(t)?String(t):t,mr=(e,t="")=>{var o;return Et(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function gr(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ke={},Qo=[],Zt=()=>{},Zs=()=>!1,ia=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),la=e=>e.startsWith("onUpdate:"),ot=Object.assign,fr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},gd=Object.prototype.hasOwnProperty,Ie=(e,t)=>gd.call(e,t),we=Array.isArray,Co=e=>An(e)==="[object Map]",ca=e=>An(e)==="[object Set]",Xs=e=>An(e)==="[object Date]",Se=e=>typeof e=="function",Ze=e=>typeof e=="string",Ft=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",Qs=e=>(De(e)||Se(e))&&Se(e.then)&&Se(e.catch),ei=Object.prototype.toString,An=e=>ei.call(e),fd=e=>An(e).slice(8,-1),ua=e=>An(e)==="[object Object]",da=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ln=gr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pa=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},hd=/-\w/g,ht=pa(e=>e.replace(hd,t=>t.slice(1).toUpperCase())),md=/\B([A-Z])/g,Ot=pa(e=>e.replace(md,"-$1").toLowerCase()),ga=pa(e=>e.charAt(0).toUpperCase()+e.slice(1)),hr=pa(e=>e?`on${ga(e)}`:""),Xt=(e,t)=>!Object.is(e,t),fa=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},oi=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let ni;const ha=()=>ni||(ni=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nt(e){if(we(e)){const t={};for(let o=0;o{if(o){const n=o.split(yd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ce(e){let t="";if(Ze(e))t=e;else if(we(e))for(let o=0;o!!(e&&e.__v_isRef===!0),ce=e=>Ze(e)?e:e==null?"":we(e)||De(e)&&(e.toString===ei||!Se(e.toString))?si(e)?ce(e.value):JSON.stringify(e,ii,2):String(e),ii=(e,t)=>si(t)?ii(e,t.value):Co(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,r],a)=>(o[br(n,a)+" =>"]=r,o),{})}:ca(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>br(o))}:Ft(t)?br(t):De(t)&&!we(t)&&!ua(t)?String(t):t,br=(e,t="")=>{var o;return Ft(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let nt;class ii{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&&nt&&(nt.active?(this.parent=nt,this.index=(nt.scopes||(nt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(nt===this)nt=this.prevScope;else{let t=nt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(wn){let t=wn;for(wn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;kn;){let t=kn;for(kn=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 pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gi(e){let t,o=e.depsTail,n=o;for(;n;){const r=n.prevDep;n.version===-1?(n===o&&(o=r),wr(n),kd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=o}function kr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xn)||(e.globalVersion=xn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!kr(e))))return;e.flags|=2;const t=e.dep,o=Ke,n=Bt;Ke=e,Bt=!0;try{pi(e);const r=e.fn(e._value);(t.version===0||qt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ke=o,Bt=n,gi(e),e.flags&=-3}}function wr(e,t=!1){const{dep:o,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)wr(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function kd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Bt=!0;const hi=[];function Jt(){hi.push(Bt),Bt=!1}function Zt(){const e=hi.pop();Bt=e===void 0?!0:e}function mi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=Ke;Ke=void 0;try{t()}finally{Ke=o}}}let xn=0;class wd{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 xr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ke||!Bt||Ke===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==Ke)o=this.activeLink=new wd(Ke,this),Ke.deps?(o.prevDep=Ke.depsTail,Ke.depsTail.nextDep=o,Ke.depsTail=o):Ke.deps=Ke.depsTail=o,bi(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=Ke.depsTail,o.nextDep=void 0,Ke.depsTail.nextDep=o,Ke.depsTail=o,Ke.deps===o&&(Ke.deps=n)}return o}trigger(t){this.version++,xn++,this.notify(t)}notify(t){_r();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{vr()}}}function bi(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)bi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ha=new WeakMap,Oo=Symbol(""),Sr=Symbol(""),Sn=Symbol("");function yt(e,t,o){if(Bt&&Ke){let n=ha.get(e);n||ha.set(e,n=new Map);let r=n.get(o);r||(n.set(o,r=new xr),r.map=n,r.key=o),r.track()}}function lo(e,t,o,n,r,a){const s=ha.get(e);if(!s){xn++;return}const i=l=>{l&&l.trigger()};if(_r(),t==="clear")s.forEach(i);else{const l=be(e),u=l&&ca(o);if(l&&o==="length"){const c=Number(n);s.forEach((p,f)=>{(f==="length"||f===Sn||!Et(f)&&f>=c)&&i(p)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),u&&i(s.get(Sn)),t){case"add":l?u&&i(s.get("length")):(i(s.get(Oo)),Ao(e)&&i(s.get(Sr)));break;case"delete":l||(i(s.get(Oo)),Ao(e)&&i(s.get(Sr)));break;case"set":Ao(e)&&i(s.get(Oo));break}}vr()}function xd(e,t){const o=ha.get(e);return o&&o.get(t)}function qo(e){const t=Ce(e);return t===e?t:(yt(t,"iterate",Sn),Mt(e)?t:t.map(jt))}function ma(e){return yt(e=Ce(e),"iterate",Sn),e}function Xt(e,t){return po(e)?Zo(uo(e)?jt(t):t):jt(t)}const Sd={__proto__:null,[Symbol.iterator](){return Ar(this,Symbol.iterator,e=>Xt(this,e))},concat(...e){return qo(this).concat(...e.map(t=>be(t)?qo(t):t))},entries(){return Ar(this,"entries",e=>(e[1]=Xt(this,e[1]),e))},every(e,t){return co(this,"every",e,t,void 0,arguments)},filter(e,t){return co(this,"filter",e,t,o=>o.map(n=>Xt(this,n)),arguments)},find(e,t){return co(this,"find",e,t,o=>Xt(this,o),arguments)},findIndex(e,t){return co(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return co(this,"findLast",e,t,o=>Xt(this,o),arguments)},findLastIndex(e,t){return co(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return co(this,"forEach",e,t,void 0,arguments)},includes(...e){return Lr(this,"includes",e)},indexOf(...e){return Lr(this,"indexOf",e)},join(e){return qo(this).join(e)},lastIndexOf(...e){return Lr(this,"lastIndexOf",e)},map(e,t){return co(this,"map",e,t,void 0,arguments)},pop(){return An(this,"pop")},push(...e){return An(this,"push",e)},reduce(e,...t){return yi(this,"reduce",e,t)},reduceRight(e,...t){return yi(this,"reduceRight",e,t)},shift(){return An(this,"shift")},some(e,t){return co(this,"some",e,t,void 0,arguments)},splice(...e){return An(this,"splice",e)},toReversed(){return qo(this).toReversed()},toSorted(e){return qo(this).toSorted(e)},toSpliced(...e){return qo(this).toSpliced(...e)},unshift(...e){return An(this,"unshift",e)},values(){return Ar(this,"values",e=>Xt(this,e))}};function Ar(e,t,o){const n=ma(e),r=n[t]();return n!==e&&!Mt(e)&&(r._next=r.next,r.next=()=>{const a=r._next();return a.done||(a.value=o(a.value)),a}),r}const Ad=Array.prototype;function co(e,t,o,n,r,a){const s=ma(e),i=s!==e&&!Mt(e),l=s[t];if(l!==Ad[t]){const p=l.apply(e,a);return i?jt(p):p}let u=o;s!==e&&(i?u=function(p,f){return o.call(this,Xt(e,p),f,e)}:o.length>2&&(u=function(p,f){return o.call(this,p,f,e)}));const c=l.call(s,u,n);return i&&r?r(c):c}function yi(e,t,o,n){const r=ma(e),a=r!==e&&!Mt(e);let s=o,i=!1;r!==e&&(a?(i=n.length===0,s=function(u,c,p){return i&&(i=!1,u=Xt(e,u)),o.call(this,u,Xt(e,c),p,e)}):o.length>3&&(s=function(u,c,p){return o.call(this,u,c,p,e)}));const l=r[t](s,...n);return i?Xt(e,l):l}function Lr(e,t,o){const n=Ce(e);yt(n,"iterate",Sn);const r=n[t](...o);return(r===-1||r===!1)&&ka(o[0])?(o[0]=Ce(o[0]),n[t](...o)):r}function An(e,t,o=[]){Jt(),_r();const n=Ce(e)[t].apply(e,o);return vr(),Zt(),n}const Ld=pr("__proto__,__v_isRef,__isVue"),_i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Et));function $d(e){Et(e)||(e=String(e));const t=Ce(this);return yt(t,"has",e),t.hasOwnProperty(e)}class vi{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const r=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!r;if(o==="__v_isReadonly")return r;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(r?a?Li:Ai:a?Si:xi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=be(t);if(!r){let l;if(s&&(l=Sd[o]))return l;if(o==="hasOwnProperty")return $d}const i=Reflect.get(t,o,qe(t)?t:n);if((Et(o)?_i.has(o):Ld(o))||(r||yt(t,"get",o),a))return i;if(qe(i)){const l=s&&ca(o)?i:i.value;return r&&Oe(l)?Cr(l):l}return Oe(i)?r?Cr(i):Jo(i):i}}class ki extends vi{constructor(t=!1){super(!1,t)}set(t,o,n,r){let a=t[o];const s=be(t)&&ca(o);if(!this._isShallow){const u=po(a);if(!Mt(n)&&!po(n)&&(a=Ce(a),n=Ce(n)),!s&&qe(a)&&!qe(n))return u||(a.value=n),!0}const i=s?Number(o)e,ba=e=>Reflect.getPrototypeOf(e);function Md(e,t,o){return function(...n){const r=this.__v_raw,a=Ce(r),s=Ao(a),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=r[e](...n),c=o?$r:t?Zo:jt;return!t&&yt(a,"iterate",l?Sr:Oo),Xe(Object.create(u),{next(){const{value:p,done:f}=u.next();return f?{value:p,done:f}:{value:i?[c(p[0]),c(p[1])]:c(p),done:f}}})}}function ya(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Nd(e,t){const o={get(r){const a=this.__v_raw,s=Ce(a),i=Ce(r);e||(qt(r,i)&&yt(s,"get",r),yt(s,"get",i));const{has:l}=ba(s),u=t?$r:e?Zo:jt;if(l.call(s,r))return u(a.get(r));if(l.call(s,i))return u(a.get(i));a!==s&&a.get(r)},get size(){const r=this.__v_raw;return!e&&yt(Ce(r),"iterate",Oo),r.size},has(r){const a=this.__v_raw,s=Ce(a),i=Ce(r);return e||(qt(r,i)&&yt(s,"has",r),yt(s,"has",i)),r===i?a.has(r):a.has(r)||a.has(i)},forEach(r,a){const s=this,i=s.__v_raw,l=Ce(i),u=t?$r:e?Zo:jt;return!e&&yt(l,"iterate",Oo),i.forEach((c,p)=>r.call(a,u(c),u(p),s))}};return Xe(o,e?{add:ya("add"),set:ya("set"),delete:ya("delete"),clear:ya("clear")}:{add(r){const a=Ce(this),s=ba(a),i=Ce(r),l=!t&&!Mt(r)&&!po(r)?i:r;return s.has.call(a,l)||qt(r,l)&&s.has.call(a,r)||qt(i,l)&&s.has.call(a,i)||(a.add(l),lo(a,"add",l,l)),this},set(r,a){!t&&!Mt(a)&&!po(a)&&(a=Ce(a));const s=Ce(this),{has:i,get:l}=ba(s);let u=i.call(s,r);u||(r=Ce(r),u=i.call(s,r));const c=l.call(s,r);return s.set(r,a),u?qt(a,c)&&lo(s,"set",r,a):lo(s,"add",r,a),this},delete(r){const a=Ce(this),{has:s,get:i}=ba(a);let l=s.call(a,r);l||(r=Ce(r),l=s.call(a,r)),i&&i.call(a,r);const u=a.delete(r);return l&&lo(a,"delete",r,void 0),u},clear(){const r=Ce(this),a=r.size!==0,s=r.clear();return a&&lo(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{o[r]=Md(r,e,t)}),o}function _a(e,t){const o=Nd(e,t);return(n,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(Me(o,r)&&r in n?o:n,r,a)}const Id={get:_a(!1,!1)},Rd={get:_a(!1,!0)},Fd={get:_a(!0,!1)},Od={get:_a(!0,!0)},xi=new WeakMap,Si=new WeakMap,Ai=new WeakMap,Li=new WeakMap;function Dd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jo(e){return po(e)?e:va(e,!1,Cd,Id,xi)}function Bd(e){return va(e,!1,Ed,Rd,Si)}function Cr(e){return va(e,!0,Td,Fd,Ai)}function Ck(e){return va(e,!0,Pd,Od,Li)}function va(e,t,o,n,r){if(!Oe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const a=r.get(e);if(a)return a;const s=Dd(dd(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return r.set(e,i),i}function uo(e){return po(e)?uo(e.__v_raw):!!(e&&e.__v_isReactive)}function po(e){return!!(e&&e.__v_isReadonly)}function Mt(e){return!!(e&&e.__v_isShallow)}function ka(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function Do(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&ei(e,"__v_skip",!0),e}const jt=e=>Oe(e)?Jo(e):e,Zo=e=>Oe(e)?Cr(e):e;function qe(e){return e?e.__v_isRef===!0:!1}function ue(e){return $i(e,!1)}function Ln(e){return $i(e,!0)}function $i(e,t){return qe(e)?e:new jd(e,t)}class jd{constructor(t,o){this.dep=new xr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ce(t),this._value=o?t:jt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Mt(t)||po(t);t=n?t:Ce(t),qt(t,o)&&(this._rawValue=t,this._value=n?t:jt(t),this.dep.trigger())}}function me(e){return qe(e)?e.value:e}const Gd={get:(e,t,o)=>t==="__v_raw"?e:me(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return qe(r)&&!qe(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Ci(e){return uo(e)?e:new Proxy(e,Gd)}function Ud(e){const t=be(e)?new Array(e.length):{};for(const o in e)t[o]=Ti(e,o);return t}class Kd{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Et(o)?o:String(o),this._raw=Ce(t);let r=!0,a=t;if(!be(t)||Et(this._key)||!ca(this._key))do r=!ka(a)||Mt(a);while(r&&(a=a.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=me(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&qe(this._raw[this._key])){const o=this._object[this._key];if(qe(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return xd(this._raw,this._key)}}class Hd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function zd(e,t,o){return qe(e)?e:_e(e)?new Hd(e):Oe(e)&&arguments.length>1?Ti(e,t,o):ue(e)}function Ti(e,t,o){return new Kd(e,t,o)}class Vd{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new xr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Ke!==this)return di(this,!0),!0}get value(){const t=this.dep.track();return fi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wd(e,t,o=!1){let n,r;return _e(e)?n=e:(n=e.get,r=e.set),new Vd(n,r,o)}const wa={},xa=new WeakMap;let Bo;function Yd(e,t=!1,o=Bo){if(o){let n=xa.get(o);n||xa.set(o,n=[]),n.push(e)}}function qd(e,t,o=Ge){const{immediate:n,deep:r,once:a,scheduler:s,augmentJob:i,call:l}=o,u=d=>r?d:Mt(d)||r===!1||r===0?go(d,1):go(d);let c,p,f,_,L=!1,g=!1;if(qe(e)?(p=()=>e.value,L=Mt(e)):uo(e)?(p=()=>u(e),L=!0):be(e)?(g=!0,L=e.some(d=>uo(d)||Mt(d)),p=()=>e.map(d=>{if(qe(d))return d.value;if(uo(d))return u(d);if(_e(d))return l?l(d,2):d()})):_e(e)?t?p=l?()=>l(e,2):e:p=()=>{if(f){Jt();try{f()}finally{Zt()}}const d=Bo;Bo=c;try{return l?l(e,3,[_]):e(_)}finally{Bo=d}}:p=Yt,t&&r){const d=p,k=r===!0?1/0:r;p=()=>go(d(),k)}const w=li(),A=()=>{c.stop(),w&&w.active&&gr(w.effects,c)};if(a&&t){const d=t;t=(...k)=>{const $=d(...k);return A(),$}}let v=g?new Array(e.length).fill(wa):wa;const m=d=>{if(!(!(c.flags&1)||!c.dirty&&!d))if(t){const k=c.run();if(d||r||L||(g?k.some(($,O)=>qt($,v[O])):qt(k,v))){f&&f();const $=Bo;Bo=c;try{const O=[k,v===wa?void 0:g&&v[0]===wa?[]:v,_];v=k,l?l(t,3,O):t(...O)}finally{Bo=$}}}else c.run()};return i&&i(m),c=new ci(p),c.scheduler=s?()=>s(m,!1):m,_=d=>Yd(d,!1,c),f=c.onStop=()=>{const d=xa.get(c);if(d){if(l)l(d,4);else for(const k of d)k();xa.delete(c)}},t?n?m(!0):v=c.run():s?s(m.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function go(e,t=1/0,o){if(t<=0||!Oe(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,qe(e))go(e.value,t,o);else if(be(e))for(let n=0;n{go(n,t,o)});else if(la(e)){for(const n in e)go(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&go(e[n],t,o)}return e}/** +**/let dt;class li{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&&dt&&(dt.active?(this.parent=dt,this.index=(dt.scopes||(dt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(dt===this)dt=this.prevScope;else{let t=dt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o0)return;if(Cn){let t=Cn;for(Cn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;$n;){let t=$n;for($n=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 gi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,o=e.depsTail,n=o;for(;n;){const r=n.prevDep;n.version===-1?(n===o&&(o=r),xr(n),Sd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=o}function wr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(hi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function hi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Tn)||(e.globalVersion=Tn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!wr(e))))return;e.flags|=2;const t=e.dep,o=He,n=Kt;He=e,Kt=!0;try{gi(e);const r=e.fn(e._value);(t.version===0||Xt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{He=o,Kt=n,fi(e),e.flags&=-3}}function xr(e,t=!1){const{dep:o,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)xr(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Sd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Kt=!0;const mi=[];function Qt(){mi.push(Kt),Kt=!1}function eo(){const e=mi.pop();Kt=e===void 0?!0:e}function bi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=He;He=void 0;try{t()}finally{He=o}}}let Tn=0;class Ad{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 Sr{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(!He||!Kt||He===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==He)o=this.activeLink=new Ad(He,this),He.deps?(o.prevDep=He.depsTail,He.depsTail.nextDep=o,He.depsTail=o):He.deps=He.depsTail=o,yi(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=He.depsTail,o.nextDep=void 0,He.depsTail.nextDep=o,He.depsTail=o,He.deps===o&&(He.deps=n)}return o}trigger(t){this.version++,Tn++,this.notify(t)}notify(t){vr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{kr()}}}function yi(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)yi(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const ba=new WeakMap,jo=Symbol(""),Ar=Symbol(""),En=Symbol("");function xt(e,t,o){if(Kt&&He){let n=ba.get(e);n||ba.set(e,n=new Map);let r=n.get(o);r||(n.set(o,r=new Sr),r.map=n,r.key=o),r.track()}}function po(e,t,o,n,r,a){const s=ba.get(e);if(!s){Tn++;return}const i=l=>{l&&l.trigger()};if(vr(),t==="clear")s.forEach(i);else{const l=we(e),c=l&&da(o);if(l&&o==="length"){const u=Number(n);s.forEach((d,f)=>{(f==="length"||f===En||!Ft(f)&&f>=u)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(En)),t){case"add":l?c&&i(s.get("length")):(i(s.get(jo)),Co(e)&&i(s.get(Ar)));break;case"delete":l||(i(s.get(jo)),Co(e)&&i(s.get(Ar)));break;case"set":Co(e)&&i(s.get(jo));break}}kr()}function Ld(e,t){const o=ba.get(e);return o&&o.get(t)}function en(e){const t=Me(e);return t===e?t:(xt(t,"iterate",En),Dt(e)?t:t.map(Ht))}function ya(e){return xt(e=Me(e),"iterate",En),e}function to(e,t){return ho(e)?on(fo(e)?Ht(t):t):Ht(t)}const $d={__proto__:null,[Symbol.iterator](){return Lr(this,Symbol.iterator,e=>to(this,e))},concat(...e){return en(this).concat(...e.map(t=>we(t)?en(t):t))},entries(){return Lr(this,"entries",e=>(e[1]=to(this,e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,o=>o.map(n=>to(this,n)),arguments)},find(e,t){return go(this,"find",e,t,o=>to(this,o),arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,o=>to(this,o),arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return $r(this,"includes",e)},indexOf(...e){return $r(this,"indexOf",e)},join(e){return en(this).join(e)},lastIndexOf(...e){return $r(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return _i(this,"reduce",e,t)},reduceRight(e,...t){return _i(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(this,"splice",e)},toReversed(){return en(this).toReversed()},toSorted(e){return en(this).toSorted(e)},toSpliced(...e){return en(this).toSpliced(...e)},unshift(...e){return Pn(this,"unshift",e)},values(){return Lr(this,"values",e=>to(this,e))}};function Lr(e,t,o){const n=ya(e),r=n[t]();return n!==e&&!Dt(e)&&(r._next=r.next,r.next=()=>{const a=r._next();return a.done||(a.value=o(a.value)),a}),r}const Cd=Array.prototype;function go(e,t,o,n,r,a){const s=ya(e),i=s!==e&&!Dt(e),l=s[t];if(l!==Cd[t]){const d=l.apply(e,a);return i?Ht(d):d}let c=o;s!==e&&(i?c=function(d,f){return o.call(this,to(e,d),f,e)}:o.length>2&&(c=function(d,f){return o.call(this,d,f,e)}));const u=l.call(s,c,n);return i&&r?r(u):u}function _i(e,t,o,n){const r=ya(e),a=r!==e&&!Dt(e);let s=o,i=!1;r!==e&&(a?(i=n.length===0,s=function(c,u,d){return i&&(i=!1,c=to(e,c)),o.call(this,c,to(e,u),d,e)}):o.length>3&&(s=function(c,u,d){return o.call(this,c,u,d,e)}));const l=r[t](s,...n);return i?to(e,l):l}function $r(e,t,o){const n=Me(e);xt(n,"iterate",En);const r=n[t](...o);return(r===-1||r===!1)&&xa(o[0])?(o[0]=Me(o[0]),n[t](...o)):r}function Pn(e,t,o=[]){Qt(),vr();const n=Me(e)[t].apply(e,o);return kr(),eo(),n}const Td=gr("__proto__,__v_isRef,__isVue"),vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ft));function Ed(e){Ft(e)||(e=String(e));const t=Me(this);return xt(t,"has",e),t.hasOwnProperty(e)}class ki{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const r=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!r;if(o==="__v_isReadonly")return r;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(r?a?$i:Li:a?Ai:Si).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=we(t);if(!r){let l;if(s&&(l=$d[o]))return l;if(o==="hasOwnProperty")return Ed}const i=Reflect.get(t,o,Xe(t)?t:n);if((Ft(o)?vi.has(o):Td(o))||(r||xt(t,"get",o),a))return i;if(Xe(i)){const l=s&&da(o)?i:i.value;return r&&De(l)?Tr(l):l}return De(i)?r?Tr(i):tn(i):i}}class wi extends ki{constructor(t=!1){super(!1,t)}set(t,o,n,r){let a=t[o];const s=we(t)&&da(o);if(!this._isShallow){const c=ho(a);if(!Dt(n)&&!ho(n)&&(a=Me(a),n=Me(n)),!s&&Xe(a)&&!Xe(n))return c||(a.value=n),!0}const i=s?Number(o)e,_a=e=>Reflect.getPrototypeOf(e);function Rd(e,t,o){return function(...n){const r=this.__v_raw,a=Me(r),s=Co(a),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=r[e](...n),u=o?Cr:t?on:Ht;return!t&&xt(a,"iterate",l?Ar:jo),ot(Object.create(c),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:i?[u(d[0]),u(d[1])]:u(d),done:f}}})}}function va(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Fd(e,t){const o={get(r){const a=this.__v_raw,s=Me(a),i=Me(r);e||(Xt(r,i)&&xt(s,"get",r),xt(s,"get",i));const{has:l}=_a(s),c=t?Cr:e?on:Ht;if(l.call(s,r))return c(a.get(r));if(l.call(s,i))return c(a.get(i));a!==s&&a.get(r)},get size(){const r=this.__v_raw;return!e&&xt(Me(r),"iterate",jo),r.size},has(r){const a=this.__v_raw,s=Me(a),i=Me(r);return e||(Xt(r,i)&&xt(s,"has",r),xt(s,"has",i)),r===i?a.has(r):a.has(r)||a.has(i)},forEach(r,a){const s=this,i=s.__v_raw,l=Me(i),c=t?Cr:e?on:Ht;return!e&&xt(l,"iterate",jo),i.forEach((u,d)=>r.call(a,c(u),c(d),s))}};return ot(o,e?{add:va("add"),set:va("set"),delete:va("delete"),clear:va("clear")}:{add(r){const a=Me(this),s=_a(a),i=Me(r),l=!t&&!Dt(r)&&!ho(r)?i:r;return s.has.call(a,l)||Xt(r,l)&&s.has.call(a,r)||Xt(i,l)&&s.has.call(a,i)||(a.add(l),po(a,"add",l,l)),this},set(r,a){!t&&!Dt(a)&&!ho(a)&&(a=Me(a));const s=Me(this),{has:i,get:l}=_a(s);let c=i.call(s,r);c||(r=Me(r),c=i.call(s,r));const u=l.call(s,r);return s.set(r,a),c?Xt(a,u)&&po(s,"set",r,a):po(s,"add",r,a),this},delete(r){const a=Me(this),{has:s,get:i}=_a(a);let l=s.call(a,r);l||(r=Me(r),l=s.call(a,r)),i&&i.call(a,r);const c=a.delete(r);return l&&po(a,"delete",r,void 0),c},clear(){const r=Me(this),a=r.size!==0,s=r.clear();return a&&po(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{o[r]=Rd(r,e,t)}),o}function ka(e,t){const o=Fd(e,t);return(n,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(Ie(o,r)&&r in n?o:n,r,a)}const Od={get:ka(!1,!1)},Dd={get:ka(!1,!0)},Bd={get:ka(!0,!1)},jd={get:ka(!0,!0)},Si=new WeakMap,Ai=new WeakMap,Li=new WeakMap,$i=new WeakMap;function Gd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tn(e){return ho(e)?e:wa(e,!1,Pd,Od,Si)}function Ud(e){return wa(e,!1,Nd,Dd,Ai)}function Tr(e){return wa(e,!0,Md,Bd,Li)}function Bk(e){return wa(e,!0,Id,jd,$i)}function wa(e,t,o,n,r){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const a=r.get(e);if(a)return a;const s=Gd(fd(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return r.set(e,i),i}function fo(e){return ho(e)?fo(e.__v_raw):!!(e&&e.__v_isReactive)}function ho(e){return!!(e&&e.__v_isReadonly)}function Dt(e){return!!(e&&e.__v_isShallow)}function xa(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function Go(e){return!Ie(e,"__v_skip")&&Object.isExtensible(e)&&ti(e,"__v_skip",!0),e}const Ht=e=>De(e)?tn(e):e,on=e=>De(e)?Tr(e):e;function Xe(e){return e?e.__v_isRef===!0:!1}function ue(e){return Ci(e,!1)}function Mn(e){return Ci(e,!0)}function Ci(e,t){return Xe(e)?e:new Kd(e,t)}class Kd{constructor(t,o){this.dep=new Sr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Me(t),this._value=o?t:Ht(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Dt(t)||ho(t);t=n?t:Me(t),Xt(t,o)&&(this._rawValue=t,this._value=n?t:Ht(t),this.dep.trigger())}}function ve(e){return Xe(e)?e.value:e}const Hd={get:(e,t,o)=>t==="__v_raw"?e:ve(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return Xe(r)&&!Xe(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Ti(e){return fo(e)?e:new Proxy(e,Hd)}function zd(e){const t=we(e)?new Array(e.length):{};for(const o in e)t[o]=Ei(e,o);return t}class Vd{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Ft(o)?o:String(o),this._raw=Me(t);let r=!0,a=t;if(!we(t)||Ft(this._key)||!da(this._key))do r=!xa(a)||Dt(a);while(r&&(a=a.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=ve(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Xe(this._raw[this._key])){const o=this._object[this._key];if(Xe(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Ld(this._raw,this._key)}}class Wd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Yd(e,t,o){return Xe(e)?e:Se(e)?new Wd(e):De(e)&&arguments.length>1?Ei(e,t,o):ue(e)}function Ei(e,t,o){return new Vd(e,t,o)}class qd{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Sr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Tn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return pi(this,!0),!0}get value(){const t=this.dep.track();return hi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Jd(e,t,o=!1){let n,r;return Se(e)?n=e:(n=e.get,r=e.set),new qd(n,r,o)}const Sa={},Aa=new WeakMap;let Uo;function Zd(e,t=!1,o=Uo){if(o){let n=Aa.get(o);n||Aa.set(o,n=[]),n.push(e)}}function Xd(e,t,o=Ke){const{immediate:n,deep:r,once:a,scheduler:s,augmentJob:i,call:l}=o,c=g=>r?g:Dt(g)||r===!1||r===0?mo(g,1):mo(g);let u,d,f,_,w=!1,b=!1;if(Xe(e)?(d=()=>e.value,w=Dt(e)):fo(e)?(d=()=>c(e),w=!0):we(e)?(b=!0,w=e.some(g=>fo(g)||Dt(g)),d=()=>e.map(g=>{if(Xe(g))return g.value;if(fo(g))return c(g);if(Se(g))return l?l(g,2):g()})):Se(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){Qt();try{f()}finally{eo()}}const g=Uo;Uo=u;try{return l?l(e,3,[_]):e(_)}finally{Uo=g}}:d=Zt,t&&r){const g=d,y=r===!0?1/0:r;d=()=>mo(g(),y)}const v=ci(),x=()=>{u.stop(),v&&v.active&&fr(v.effects,u)};if(a&&t){const g=t;t=(...y)=>{const A=g(...y);return x(),A}}let k=b?new Array(e.length).fill(Sa):Sa;const m=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const y=u.run();if(g||r||w||(b?y.some((A,M)=>Xt(A,k[M])):Xt(y,k))){f&&f();const A=Uo;Uo=u;try{const M=[y,k===Sa?void 0:b&&k[0]===Sa?[]:k,_];k=y,l?l(t,3,M):t(...M)}finally{Uo=A}}}else u.run()};return i&&i(m),u=new ui(d),u.scheduler=s?()=>s(m,!1):m,_=g=>Zd(g,!1,u),f=u.onStop=()=>{const g=Aa.get(u);if(g){if(l)l(g,4);else for(const y of g)y();Aa.delete(u)}},t?n?m(!0):k=u.run():s?s(m.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function mo(e,t=1/0,o){if(t<=0||!De(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Xe(e))mo(e.value,t,o);else if(we(e))for(let n=0;n{mo(n,t,o)});else if(ua(e)){for(const n in e)mo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&mo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const $n=[];let Tr=!1;function Tk(e,...t){if(Tr)return;Tr=!0,Jt();const o=$n.length?$n[$n.length-1].component:null,n=o&&o.appContext.config.warnHandler,r=Jd();if(n)Xo(n,o,11,[e+t.map(a=>{var s,i;return(i=(s=a.toString)==null?void 0:s.call(a))!=null?i:JSON.stringify(a)}).join(""),o&&o.proxy,r.map(({vnode:a})=>`at <${$l(o,a.type)}>`).join(` +**/const Nn=[];let Er=!1;function jk(e,...t){if(Er)return;Er=!0,Qt();const o=Nn.length?Nn[Nn.length-1].component:null,n=o&&o.appContext.config.warnHandler,r=Qd();if(n)nn(n,o,11,[e+t.map(a=>{var s,i;return(i=(s=a.toString)==null?void 0:s.call(a))!=null?i:JSON.stringify(a)}).join(""),o&&o.proxy,r.map(({vnode:a})=>`at <${Cl(o,a.type)}>`).join(` `),r]);else{const a=[`[Vue warn]: ${e}`,...t];r.length&&a.push(` -`,...Zd(r)),console.warn(...a)}Zt(),Tr=!1}function Jd(){let e=$n[$n.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 Zd(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Xd(o))}),t}function Xd({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${$l(e.component,e.type,n)}`,a=">"+o;return e.props?[r,...Qd(e.props),a]:[r+a]}function Qd(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Ei(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Ei(e,t,o){return Ye(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:qe(t)?(t=Ei(e,Ce(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):_e(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ce(t),o?t:[`${e}=`,t])}function Xo(e,t,o,n){try{return n?e(...n):e()}catch(r){Cn(r,t,o)}}function Gt(e,t,o,n){if(_e(e)){const r=Xo(e,t,o,n);return r&&Xs(r)&&r.catch(a=>{Cn(a,t,o)}),r}if(be(e)){const r=[];for(let a=0;a>>1,r=kt[n],a=Tn(r);a=Tn(o)?kt.push(e):kt.splice(tp(t),0,e),e.flags|=1,Mi()}}function Mi(){Sa||(Sa=Pi.then(Ri))}function op(e){if(!be(e))Lo&&e.id===-1?Lo.splice(en+1,0,e):e.flags&1||(Qo.push(e),e.flags|=1);else for(let t=0;tTn(o)-Tn(n));if(Qo.length=0,Lo){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ri(e){try{for(Qt=0;Qt{n._d&&Ra(-1);const a=Aa(t),s=ho.length;let i;try{i=e(...r)}finally{for(let l=ho.length;l>s;l--)Kr();Aa(a),n._d&&Ra(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function np(e,t){if(ht===null)return e;const o=Ba(ht),n=e.dirs||(e.dirs=[]);for(let r=0;r1)return o&&_e(t)?t.call(n&&n.proxy):t}}function ap(){return!!(bo()||Go)}const rp=Symbol.for("v-scx"),sp=()=>Te(rp);function ip(e,t){return Pr(e,null,t)}function at(e,t,o){return Pr(e,t,o)}function Pr(e,t,o=Ge){const{immediate:n,deep:r,flush:a,once:s}=o,i=Xe({},o),l=t&&n||!t&&a!=="post";let u;if(an){if(a==="sync"){const _=sp();u=_.__watcherHandles||(_.__watcherHandles=[])}else if(!l){const _=()=>{};return _.stop=Yt,_.resume=Yt,_.pause=Yt,_}}const c=mt;i.call=(_,L,g)=>Gt(_,c,L,g);let p=!1;a==="post"?i.scheduler=_=>{$t(_,c&&c.suspense)}:a!=="sync"&&(p=!0,i.scheduler=(_,L)=>{L?_():Er(_)}),i.augmentJob=_=>{t&&(_.flags|=4),p&&(_.flags|=2,c&&(_.id=c.uid,_.i=c))};const f=qd(e,t,i);return an&&(u?u.push(f):l&&f()),f}function lp(e,t,o){const n=this.proxy,r=Ye(e)?e.includes(".")?Oi(n,e):()=>n[e]:e.bind(n,n);let a;_e(t)?a=t:(a=t.handler,o=t);const s=jn(this),i=Pr(r,a.bind(n),o);return s(),i}function Oi(e,t){const o=t.split(".");return()=>{let n=e;for(let r=0;re.__isTeleport,Mr=Symbol("_leaveCb");function up(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==to){t=o;break}}return t}function Di(e){if(!Ta(e))return La(e.type)&&e.children?up(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&&_e(o.default))return o.default()}}function Nr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Nr(La(o.type)&&Di(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 _e(e)?Xe({name:e.name},t,{setup:e}):e}function Ir(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Bi(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const $a=new WeakMap;function Pn(e,t,o,n,r=!1){if(be(e)){e.forEach((g,w)=>Pn(g,t&&(be(t)?t[w]:t),o,n,r));return}if(on(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pn(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?Ba(n.component):n.el,s=r?null:a,{i,r:l}=e,u=t&&t.r,c=i.refs===Ge?i.refs={}:i.refs,p=i.setupState,f=Ce(p),_=p===Ge?Js:g=>Bi(c,g)?!1:Me(f,g),L=(g,w)=>!(w&&Bi(c,w));if(u!=null&&u!==l){if(ji(t),Ye(u))c[u]=null,_(u)&&(p[u]=null);else if(qe(u)){const g=t;L(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(_e(l))Xo(l,i,12,[s,c]);else{const g=Ye(l),w=qe(l);if(g||w){const A=()=>{if(e.f){const v=g?_(l)?p[l]:c[l]:L()||!e.k?l.value:c[e.k];if(r)be(v)&&gr(v,a);else if(be(v))v.includes(a)||v.push(a);else if(g)c[l]=[a],_(l)&&(p[l]=c[l]);else{const m=[a];L(l,e.k)&&(l.value=m),e.k&&(c[e.k]=m)}}else g?(c[l]=s,_(l)&&(p[l]=s)):w&&(L(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const v=()=>{A(),$a.delete(e)};v.id=-1,$a.set(e,v),$t(v,o)}else ji(e),A()}}}function ji(e){const t=$a.get(e);t&&(t.flags|=8,$a.delete(e))}const Gi=e=>e.nodeType===8;ga().requestIdleCallback,ga().cancelIdleCallback;function dp(e,t){if(Gi(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Gi(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const on=e=>!!e.type.__asyncLoader;function Ui(e){_e(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:r=200,hydrate:a,timeout:s,suspensible:i=!0,onError:l}=e;let u=null,c,p=0;const f=()=>(p++,u=null,_()),_=()=>{let L;return u||(L=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((w,A)=>{l(g,()=>w(f()),()=>A(g),p+1)});throw g}).then(g=>L!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return En({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(L,g,w){const A=L.isConnected;let v=!1;(g.bu||(g.bu=[])).push(()=>v=!0);const m=()=>{v||!L.parentNode||A&&!L.isConnected||w()},d=a?()=>{const k=a(m,$=>dp(L,$));k&&(g.bum||(g.bum=[])).push(k)}:m;c?d():_().then(()=>!g.isUnmounted&&d())},get __asyncResolved(){return c},setup(){const L=mt;if(Ir(L),c)return()=>Ca(c,L);const g=k=>{u=null,Cn(k,L,13,!n)};if(i&&L.suspense||an)return _().then(k=>()=>Ca(k,L)).catch(k=>(g(k),()=>n?De(n,{error:k}):null));const w=ue(!1),A=ue(),v=ue(!!r);let m,d;return Pa(()=>{m!=null&&clearTimeout(m),d!=null&&clearTimeout(d)}),r&&(d=setTimeout(()=>{L.isUnmounted||(v.value=!1)},r)),s!=null&&(m=setTimeout(()=>{if(!L.isUnmounted&&!w.value&&!A.value){const k=new Error(`Async component timed out after ${s}ms.`);g(k),A.value=k}},s)),_().then(()=>{L.isUnmounted||(w.value=!0,L.parent&&Ta(L.parent.vnode)&&L.parent.update())}).catch(k=>{if(L.isUnmounted){u=null;return}g(k),A.value=k}),()=>{if(w.value&&c)return Ca(c,L);if(A.value&&n)return De(n,{error:A.value});if(o&&!v.value)return Ca(o,L)}}})}function Ca(e,t){const{ref:o,props:n,children:r,ce:a}=t.vnode,s=De(e,n,r);return s.ref=o,s.ce=a,delete t.vnode.ce,s}const Ta=e=>e.type.__isKeepAlive;function pp(e,t){Ki(e,"a",t)}function gp(e,t){Ki(e,"da",t)}function Ki(e,t,o=mt){const n=e.__wdc||(e.__wdc=()=>{let r=o;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ea(t,n,o),o){let r=o.parent;for(;r&&r.parent;)Ta(r.parent.vnode)&&fp(n,t,o,r),r=r.parent}}function fp(e,t,o,n){const r=Ea(t,e,n,!0);Pa(()=>{gr(n[t],r)},o)}function Ea(e,t,o=mt,n=!1){if(o){const r=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...s)=>{Jt();const i=jn(o),l=Gt(t,o,e,s);return i(),Zt(),l});return n?r.unshift(a):r.push(a),a}}const fo=e=>(t,o=mt)=>{(!an||e==="sp")&&Ea(e,(...n)=>t(...n),o)},Hi=fo("bm"),eo=fo("m"),hp=fo("bu"),mp=fo("u"),$o=fo("bum"),Pa=fo("um"),bp=fo("sp"),yp=fo("rtg"),_p=fo("rtc");function vp(e,t=mt){Ea("ec",e,t)}const kp="components",zi=Symbol.for("v-ndc");function Vi(e){return Ye(e)?wp(kp,e,!1)||e:e||zi}function wp(e,t,o=!0,n=!1){const r=ht||mt;if(r){const a=r.type;{const i=Ll(a,!1);if(i&&(i===t||i===ct(t)||i===da(ct(t))))return a}const s=Wi(r[e]||a[e],t)||Wi(r.appContext[e],t);return!s&&n?a:s}}function Wi(e,t){return e&&(e[t]||e[ct(t)]||e[da(ct(t))])}function Lt(e,t,o,n){let r;const a=o,s=be(e);if(s||Ye(e)){const i=s&&uo(e);let l=!1,u=!1;i&&(l=!Mt(e),u=po(e),e=ma(e)),r=new Array(e.length);for(let c=0,p=e.length;ct(i,l,void 0,a));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,u=i.length;l0;return t!=="default"&&(u.name=t),V(),ut(Se,null,[De("slot",u,n)],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=ho.length;V();let l;try{const u=s&&Yi(s(o)),c=o.key||a||u&&u.key;l=ut(Se,{key:(c&&!Et(c)?c:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let c=ho.length;c>i;c--)Kr();throw u}finally{s&&s._c&&(s._d=!0)}return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Yi(e){return e.some(t=>On(t)?!(t.type===to||t.type===Se&&!Yi(t.children)):!0)?e:null}const Rr=e=>e?xl(e)?Ba(e):Rr(e.parent):null,Nn=Xe(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=>Rr(e.parent),$root:e=>Rr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xi(e),$forceUpdate:e=>e.f||(e.f=()=>{Er(e.update)}),$nextTick:e=>e.n||(e.n=tn.bind(e.proxy)),$watch:e=>lp.bind(e)}),Fr=(e,t)=>e!==Ge&&!e.__isScriptSetup&&Me(e,t),xp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:r,props:a,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return a[t]}else{if(Fr(n,t))return s[t]=1,n[t];if(r!==Ge&&Me(r,t))return s[t]=2,r[t];if(Me(a,t))return s[t]=3,a[t];if(o!==Ge&&Me(o,t))return s[t]=4,o[t];Or&&(s[t]=0)}}const u=Nn[t];let c,p;if(u)return t==="$attrs"&&yt(e.attrs,"get",""),u(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(o!==Ge&&Me(o,t))return s[t]=4,o[t];if(p=l.config.globalProperties,Me(p,t))return p[t]},set({_:e},t,o){const{data:n,setupState:r,ctx:a}=e;return Fr(r,t)?(r[t]=o,!0):n!==Ge&&Me(n,t)?(n[t]=o,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,props:a,type:s}},i){let l;return!!(o[i]||e!==Ge&&i[0]!=="$"&&Me(e,i)||Fr(t,i)||Me(a,i)||Me(n,i)||Me(Nn,i)||Me(r.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Me(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function qi(e){return be(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Or=!0;function Sp(e){const t=Xi(e),o=e.proxy,n=e.ctx;Or=!1,t.beforeCreate&&Ji(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:i,provide:l,inject:u,created:c,beforeMount:p,mounted:f,beforeUpdate:_,updated:L,activated:g,deactivated:w,beforeDestroy:A,beforeUnmount:v,destroyed:m,unmounted:d,render:k,renderTracked:$,renderTriggered:O,errorCaptured:I,serverPrefetch:M,expose:U,inheritAttrs:ee,components:q,directives:se,filters:H}=t;if(u&&Ap(u,n,null),s)for(const X in s){const ie=s[X];_e(ie)&&(n[X]=ie.bind(o))}if(r){const X=r.call(o,o);Oe(X)&&(e.data=Jo(X))}if(Or=!0,a)for(const X in a){const ie=a[X],pe=_e(ie)?ie.bind(o,o):_e(ie.get)?ie.get.bind(o,o):Yt,z=!_e(ie)&&_e(ie.set)?ie.set.bind(o):Yt,de=Q({get:pe,set:z});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>de.value,set:ge=>de.value=ge})}if(i)for(const X in i)Zi(i[X],n,o,X);if(l){const X=_e(l)?l.call(o):l;Reflect.ownKeys(X).forEach(ie=>{Ft(ie,X[ie])})}c&&Ji(c,e,"c");function F(X,ie){be(ie)?ie.forEach(pe=>X(pe.bind(o))):ie&&X(ie.bind(o))}if(F(Hi,p),F(eo,f),F(hp,_),F(mp,L),F(pp,g),F(gp,w),F(vp,I),F(_p,$),F(yp,O),F($o,v),F(Pa,d),F(bp,M),be(U))if(U.length){const X=e.exposed||(e.exposed={});U.forEach(ie=>{Object.defineProperty(X,ie,{get:()=>o[ie],set:pe=>o[ie]=pe,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Yt&&(e.render=k),ee!=null&&(e.inheritAttrs=ee),q&&(e.components=q),se&&(e.directives=se),M&&Ir(e)}function Ap(e,t,o=Yt){be(e)&&(e=Dr(e));for(const n in e){const r=e[n];let a;Oe(r)?"default"in r?a=Te(r.from||n,r.default,!0):a=Te(r.from||n):a=Te(r),qe(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[n]=a}}function Ji(e,t,o){Gt(be(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Zi(e,t,o,n){let r=n.includes(".")?Oi(o,n):()=>o[n];if(Ye(e)){const a=t[e];_e(a)&&at(r,a)}else if(_e(e))at(r,e.bind(o));else if(Oe(e))if(be(e))e.forEach(a=>Zi(a,t,o,n));else{const a=_e(e.handler)?e.handler.bind(o):t[e.handler];_e(a)&&at(r,a,e)}}function Xi(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,i=a.get(t);let l;return i?l=i:!r.length&&!o&&!n?l=t:(l={},r.length&&r.forEach(u=>Ma(l,u,s,!0)),Ma(l,t,s)),Oe(t)&&a.set(t,l),l}function Ma(e,t,o,n=!1){const{mixins:r,extends:a}=t;a&&Ma(e,a,o,!0),r&&r.forEach(s=>Ma(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=Lp[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Lp={data:Qi,props:el,emits:el,methods:In,computed:In,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:In,directives:In,watch:Cp,provide:Qi,inject:$p};function Qi(e,t){return t?e?function(){return Xe(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function $p(e,t){return In(Dr(e),Dr(t))}function Dr(e){if(be(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ct(t)}Modifiers`]||e[`${Pt(t)}Modifiers`];function Mp(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ge;let r=o;const a=t.startsWith("update:"),s=a&&Pp(n,t.slice(7));s&&(s.trim&&(r=o.map(c=>Ye(c)?c.trim():c)),s.number&&(r=r.map(hr)));let i,l=n[i=fr(t)]||n[i=fr(ct(t))];!l&&a&&(l=n[i=fr(Pt(t))]),l&&Gt(l,e,6,r);const u=n[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Gt(u,e,6,r)}}const Np=new WeakMap;function ol(e,t,o=!1){const n=o?Np:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const a=e.emits;let s={},i=!1;if(!_e(e)){const l=u=>{const c=ol(u,t,!0);c&&(i=!0,Xe(s,c))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(Oe(e)&&n.set(e,null),null):(be(a)?a.forEach(l=>s[l]=null):Xe(s,a),Oe(e)&&n.set(e,s),s)}function Na(e,t){return!e||!ra(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,Pt(t))||Me(e,t))}function Ek(){}function nl(e){const{type:t,vnode:o,proxy:n,withProxy:r,propsOptions:[a],slots:s,attrs:i,emit:l,render:u,renderCache:c,props:p,data:f,setupState:_,ctx:L,inheritAttrs:g}=e,w=Aa(e);let A,v;try{if(o.shapeFlag&4){const d=r||n,k=d;A=oo(u.call(k,d,c,p,_,f,L)),v=i}else{const d=t;A=oo(d.length>1?d(p,{attrs:i,slots:s,emit:l}):d(p,null)),v=t.props?i:Ip(i)}}catch(d){ho.length=0,Cn(d,e,1),A=De(to)}let m=A;if(v&&g!==!1){const d=Object.keys(v),{shapeFlag:k}=m;d.length&&k&7&&(a&&d.some(sa)&&(v=Rp(v,a)),m=nn(m,v,!1,!0))}if(o.dirs&&(m=nn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(o.dirs):o.dirs),o.transition){const d=La(m.type)&&Di(m)||m;Nr(d,o.transition)}return A=m,Aa(w),A}const Ip=e=>{let t;for(const o in e)(o==="class"||o==="style"||ra(o))&&((t||(t={}))[o]=e[o]);return t},Rp=(e,t)=>{const o={};for(const n in e)(!sa(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Fp(e,t,o){const{props:n,children:r,component:a}=e,{props:s,children:i,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?al(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let p=0;pObject.create(sl),ll=e=>Object.getPrototypeOf(e)===sl;function Dp(e,t,o,n=!1){const r={},a=il();e.propsDefaults=Object.create(null),cl(e,t,r,a);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);o?e.props=n?r:Bd(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function Bp(e,t,o,n){const{props:r,attrs:a,vnode:{patchFlag:s}}=e,i=Ce(r),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[f,_]=ul(p,t,!0);Xe(s,f),_&&i.push(..._)};!o&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return Oe(e)&&n.set(e,Yo),Yo;if(be(a))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Gr=e=>be(e)?e.map(oo):[oo(e)],Gp=(e,t,o)=>{if(t._n)return t;const n=Ut((...r)=>Gr(t(...r)),o);return n._c=!1,n},pl=(e,t,o)=>{const n=e._ctx;for(const r in e){if(jr(r))continue;const a=e[r];if(_e(a))t[r]=Gp(r,a,n);else if(a!=null){const s=Gr(a);t[r]=()=>s}}},gl=(e,t)=>{const o=Gr(t);e.slots.default=()=>o},fl=(e,t,o)=>{for(const n in t)(o||!jr(n))&&(e[n]=t[n])},Up=(e,t,o)=>{const n=e.slots=il();if(e.vnode.shapeFlag&32){const r=t._;r?(fl(n,t,o),o&&ei(n,"_",r,!0)):pl(t,n)}else t&&gl(e,t)},Kp=(e,t,o)=>{const{vnode:n,slots:r}=e;let a=!0,s=Ge;if(n.shapeFlag&32){const i=t._;i?o&&i===1?a=!1:fl(r,t,o):(a=!t.$stable,pl(t,r)),s=t}else t&&(gl(e,t),s={default:1});if(a)for(const i in r)!jr(i)&&s[i]==null&&delete r[i]},$t=Yp;function Hp(e){return zp(e)}function zp(e,t){const o=ga();o.__VUE__=!0;const{insert:n,remove:r,patchProp:a,createElement:s,createText:i,createComment:l,setText:u,setElementText:c,parentNode:p,nextSibling:f,setScopeId:_=Yt,insertStaticContent:L}=e,g=(S,C,x,B=null,K=null,W=null,oe=void 0,te=null,h=!!C.dynamicChildren)=>{if(S===C)return;S&&!Dn(S,C)&&(B=Ve(S),ge(S,K,W,!0),S=null),C.patchFlag===-2&&(h=!1,C.dynamicChildren=null);const{type:b,ref:D,shapeFlag:y}=C;switch(b){case Rn:w(S,C,x,B);break;case to:A(S,C,x,B);break;case Ia:S==null&&v(C,x,B,oe);break;case Se:q(S,C,x,B,K,W,oe,te,h);break;default:y&1?k(S,C,x,B,K,W,oe,te,h):y&6?se(S,C,x,B,K,W,oe,te,h):(y&64||y&128)&&b.process(S,C,x,B,K,W,oe,te,h,Ze)}D!=null&&K?Pn(D,S&&S.ref,W,C||S,!C):D==null&&S&&S.ref!=null&&Pn(S.ref,null,W,S,!0)},w=(S,C,x,B)=>{if(S==null)n(C.el=i(C.children),x,B);else{const K=C.el=S.el;C.children!==S.children&&u(K,C.children)}},A=(S,C,x,B)=>{S==null?n(C.el=l(C.children||""),x,B):C.el=S.el},v=(S,C,x,B)=>{[S.el,S.anchor]=L(S.children,C,x,B,S.el,S.anchor)},m=({el:S,anchor:C},x,B)=>{let K;for(;S&&S!==C;)K=f(S),n(S,x,B),S=K;n(C,x,B)},d=({el:S,anchor:C})=>{let x;for(;S&&S!==C;)x=f(S),r(S),S=x;r(C)},k=(S,C,x,B,K,W,oe,te,h)=>{if(C.type==="svg"?oe="svg":C.type==="math"&&(oe="mathml"),S==null)$(C,x,B,K,W,oe,te,h);else{const b=S.el&&S.el._isVueCE?S.el:null;try{b&&b._beginPatch(),M(S,C,K,W,oe,te,h)}finally{b&&b._endPatch()}}},$=(S,C,x,B,K,W,oe,te)=>{let h,b;const{props:D,shapeFlag:y,transition:E,dirs:j}=S;if(h=S.el=s(S.type,W,D&&D.is,D),y&8?c(h,S.children):y&16&&I(S.children,h,null,B,K,Ur(S,W),oe,te),j&&jo(S,null,B,"created"),O(h,S,S.scopeId,oe,B),D){for(const R in D)R!=="value"&&!vn(R)&&a(h,R,null,D[R],W,B);"value"in D&&a(h,"value",null,D.value,W),(b=D.onVnodeBeforeMount)&&no(b,B,S)}j&&jo(S,null,B,"beforeMount");const P=Vp(K,E);P&&E.beforeEnter(h),n(h,C,x),((b=D&&D.onVnodeMounted)||P||j)&&$t(()=>{try{b&&no(b,B,S),P&&E.enter(h),j&&jo(S,null,B,"mounted")}finally{}},K)},O=(S,C,x,B,K)=>{if(x&&_(S,x),B)for(let W=0;W{for(let b=h;b{const te=C.el=S.el;let{patchFlag:h,dynamicChildren:b,dirs:D}=C;h|=S.patchFlag&16;const y=S.props||Ge,E=C.props||Ge;let j;if(x&&Uo(x,!1),(j=E.onVnodeBeforeUpdate)&&no(j,x,C,S),D&&jo(C,S,x,"beforeUpdate"),x&&Uo(x,!0),b&&(!S.dynamicChildren||S.dynamicChildren.length!==b.length)&&(h=0,oe=!1,b=null),(y.innerHTML&&E.innerHTML==null||y.textContent&&E.textContent==null)&&c(te,""),b?U(S.dynamicChildren,b,te,x,B,Ur(C,K),W):oe||ie(S,C,te,null,x,B,Ur(C,K),W,!1),h>0){if(h&16)ee(te,y,E,x,K);else if(h&2&&y.class!==E.class&&a(te,"class",null,E.class,K),h&4&&a(te,"style",y.style,E.style,K),h&8){const P=C.dynamicProps;for(let R=0;R{j&&no(j,x,C,S),D&&jo(C,S,x,"updated")},B)},U=(S,C,x,B,K,W,oe)=>{for(let te=0;te{if(C!==x){if(C!==Ge)for(const W in C)!vn(W)&&!(W in x)&&a(S,W,C[W],null,K,B);for(const W in x){if(vn(W))continue;const oe=x[W],te=C[W];oe!==te&&W!=="value"&&a(S,W,te,oe,K,B)}"value"in x&&a(S,"value",C.value,x.value,K)}},q=(S,C,x,B,K,W,oe,te,h)=>{const b=C.el=S?S.el:i(""),D=C.anchor=S?S.anchor:i("");let{patchFlag:y,dynamicChildren:E,slotScopeIds:j}=C;j&&(te=te?te.concat(j):j),S==null?(n(b,x,B),n(D,x,B),I(C.children||[],x,D,K,W,oe,te,h)):y>0&&y&64&&E&&S.dynamicChildren&&S.dynamicChildren.length===E.length?(U(S.dynamicChildren,E,x,K,W,oe,te),(C.key!=null||K&&C===K.subTree)&&hl(S,C,!0)):ie(S,C,x,D,K,W,oe,te,h)},se=(S,C,x,B,K,W,oe,te,h)=>{C.slotScopeIds=te,S==null?C.shapeFlag&512?K.ctx.activate(C,x,B,oe,h):H(C,x,B,K,W,oe,h):N(S,C,h)},H=(S,C,x,B,K,W,oe)=>{const te=S.component=tg(S,B,K);if(Ta(S)&&(te.ctx.renderer=Ze),og(te,!1,oe),te.asyncDep){if(K&&K.registerDep(te,F,oe),!S.el){const h=te.subTree=De(to);A(null,h,C,x),S.placeholder=h.el}}else F(te,S,C,x,K,W,oe)},N=(S,C,x)=>{const B=C.component=S.component;if(Fp(S,C,x))if(B.asyncDep&&!B.asyncResolved){X(B,C,x);return}else B.next=C,B.update();else C.el=S.el,B.vnode=C},F=(S,C,x,B,K,W,oe)=>{const te=()=>{if(S.isMounted){let{next:y,bu:E,u:j,parent:P,vnode:R}=S;{const Ne=ml(S);if(Ne){y&&(y.el=R.el,X(S,y,oe)),Ne.asyncDep.then(()=>{$t(()=>{S.isUnmounted||b()},K)});return}}let ne=y,ae;Uo(S,!1),y?(y.el=R.el,X(S,y,oe)):y=R,E&&pa(E),(ae=y.props&&y.props.onVnodeBeforeUpdate)&&no(ae,P,y,R),Uo(S,!0);const we=nl(S),Le=S.subTree;S.subTree=we,g(Le,we,p(Le.el),Ve(Le),S,K,W),y.el=we.el,ne===null&&Op(S,we.el),j&&$t(j,K),(ae=y.props&&y.props.onVnodeUpdated)&&$t(()=>no(ae,P,y,R),K)}else{let y;const{el:E,props:j}=C,{bm:P,m:R,parent:ne,root:ae,type:we}=S,Le=on(C);Uo(S,!1),P&&pa(P),!Le&&(y=j&&j.onVnodeBeforeMount)&&no(y,ne,C),Uo(S,!0);{ae.ce&&ae.ce._hasShadowRoot()&&ae.ce._injectChildStyle(we,S.parent?S.parent.type:void 0);const Ne=S.subTree=nl(S);g(null,Ne,x,B,S,K,W),C.el=Ne.el}if(R&&$t(R,K),!Le&&(y=j&&j.onVnodeMounted)){const Ne=C;$t(()=>no(y,ne,Ne),K)}(C.shapeFlag&256||ne&&on(ne.vnode)&&ne.vnode.shapeFlag&256)&&S.a&&$t(S.a,K),S.isMounted=!0,C=x=B=null}};S.scope.on();const h=S.effect=new ci(te);S.scope.off();const b=S.update=h.run.bind(h),D=S.job=h.runIfDirty.bind(h);D.i=S,D.id=S.uid,h.scheduler=()=>Er(D),Uo(S,!0),b()},X=(S,C,x)=>{C.component=S;const B=S.vnode.props;S.vnode=C,S.next=null,Bp(S,C.props,B,x),Kp(S,C.children,x),Jt(),Ni(S),Zt()},ie=(S,C,x,B,K,W,oe,te,h=!1)=>{const b=S&&S.children,D=S?S.shapeFlag:0,y=C.children,{patchFlag:E,shapeFlag:j}=C;if(E>0){if(E&128){z(b,y,x,B,K,W,oe,te,h);return}else if(E&256){pe(b,y,x,B,K,W,oe,te,h);return}}j&8?(D&16&&ze(b,K,W),y!==b&&c(x,y)):D&16?j&16?z(b,y,x,B,K,W,oe,te,h):ze(b,K,W,!0):(D&8&&c(x,""),j&16&&I(y,x,B,K,W,oe,te,h))},pe=(S,C,x,B,K,W,oe,te,h)=>{S=S||Yo,C=C||Yo;const b=S.length,D=C.length,y=Math.min(b,D);let E;for(E=0;ED?ze(S,K,W,!0,!1,y):I(C,x,B,K,W,oe,te,h,y)},z=(S,C,x,B,K,W,oe,te,h)=>{let b=0;const D=C.length;let y=S.length-1,E=D-1;for(;b<=y&&b<=E;){const j=S[b],P=C[b]=h?mo(C[b]):oo(C[b]);if(Dn(j,P))g(j,P,x,null,K,W,oe,te,h);else break;b++}for(;b<=y&&b<=E;){const j=S[y],P=C[E]=h?mo(C[E]):oo(C[E]);if(Dn(j,P))g(j,P,x,null,K,W,oe,te,h);else break;y--,E--}if(b>y){if(b<=E){const j=E+1,P=jE)for(;b<=y;)ge(S[b],K,W,!0),b++;else{const j=b,P=b,R=new Map;for(b=P;b<=E;b++){const lt=C[b]=h?mo(C[b]):oo(C[b]);lt.key!=null&&R.set(lt.key,b)}let ne,ae=0;const we=E-P+1;let Le=!1,Ne=0;const Wt=new Array(we);for(b=0;b=we){ge(lt,K,W,!0);continue}let Dt;if(lt.key!=null)Dt=R.get(lt.key);else for(ne=P;ne<=E;ne++)if(Wt[ne-P]===0&&Dn(lt,C[ne])){Dt=ne;break}Dt===void 0?ge(lt,K,W,!0):(Wt[Dt-P]=b+1,Dt>=Ne?Ne=Dt:Le=!0,g(lt,C[Dt],x,null,K,W,oe,te,h),ae++)}const oa=Le?Wp(Wt):Yo;for(ne=oa.length-1,b=we-1;b>=0;b--){const lt=P+b,Dt=C[lt],na=C[lt+1],dr=lt+1{const{el:W,type:oe,transition:te,children:h,shapeFlag:b}=S;if(b&6){de(S.component.subTree,C,x,B);return}if(b&128){S.suspense.move(C,x,B);return}if(b&64){oe.move(S,C,x,Ze);return}if(oe===Se){n(W,C,x);for(let y=0;yte.enter(W),K));else{const{leave:y,delayLeave:E,afterLeave:j}=te,P=()=>{S.ctx.isUnmounted?r(W):n(W,C,x)},R=()=>{const ne=W._isLeaving||!!W[Mr];W._isLeaving&&W[Mr](!0),te.persisted&&!ne?P():y(W,()=>{P(),j&&j()})};E?E(W,P,R):R()}else n(W,C,x)},ge=(S,C,x,B=!1,K=!1)=>{const{type:W,props:oe,ref:te,children:h,dynamicChildren:b,shapeFlag:D,patchFlag:y,dirs:E,cacheIndex:j,memo:P}=S;if(y===-2&&(K=!1),te!=null&&(Jt(),Pn(te,null,x,S,!0),Zt()),j!=null&&(C.renderCache[j]=void 0),D&256){C.ctx.deactivate(S);return}const R=D&1&&E,ne=!on(S);let ae;if(ne&&(ae=oe&&oe.onVnodeBeforeUnmount)&&no(ae,C,S),D&6)st(S.component,x,B);else{if(D&128){S.suspense.unmount(x,B);return}R&&jo(S,null,C,"beforeUnmount"),D&64?S.type.remove(S,C,x,Ze,B):b&&!b.hasOnce&&(W!==Se||y>0&&y&64)?ze(b,C,x,!1,!0):(W===Se&&y&384||!K&&D&16)&&ze(h,C,x),B&&Pe(S)}const we=P!=null&&j==null;(ne&&(ae=oe&&oe.onVnodeUnmounted)||R||we)&&$t(()=>{ae&&no(ae,C,S),R&&jo(S,null,C,"unmounted"),we&&(S.el=null)},x)},Pe=S=>{const{type:C,el:x,anchor:B,transition:K}=S;if(C===Se){Be(x,B);return}if(C===Ia){d(S);return}const W=()=>{r(x),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(S.shapeFlag&1&&K&&!K.persisted){const{leave:oe,delayLeave:te}=K,h=()=>oe(x,W);te?te(S.el,W,h):h()}else W()},Be=(S,C)=>{let x;for(;S!==C;)x=f(S),r(S),S=x;r(C)},st=(S,C,x)=>{const{bum:B,scope:K,job:W,subTree:oe,um:te,m:h,a:b}=S;bl(h),bl(b),B&&pa(B),K.stop(),W&&(W.flags|=8,ge(oe,S,C,x)),te&&$t(te,C),$t(()=>{S.isUnmounted=!0},C)},ze=(S,C,x,B=!1,K=!1,W=0)=>{for(let oe=W;oe{if(S.shapeFlag&6)return Ve(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const C=f(S.anchor||S.el),x=C&&C[cp];return x?f(x):C};let it=!1;const Ue=(S,C,x)=>{let B;S==null?C._vnode&&(ge(C._vnode,null,null,!0),B=C._vnode.component):g(C._vnode||null,S,C,null,null,null,x),C._vnode=S,it||(it=!0,Ni(B),Ii(),it=!1)},Ze={p:g,um:ge,m:de,r:Pe,mt:H,mc:I,pc:ie,pbc:U,n:Ve,o:e};return{render:Ue,hydrate:void 0,createApp:Ep(Ue)}}function Ur({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 Uo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hl(e,t,o=!1){const n=e.children,r=t.children;if(be(n)&&be(r))for(let a=0;a>1,e[o[i]]0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,s=o[a-1];a-- >0;)o[a]=s,s=t[s];return o}function ml(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ml(t)}function bl(e){if(e)for(let t=0;te.__isSuspense;function Yp(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):op(e)}const Se=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),to=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),ho=[];let Nt=null;function V(e=!1){ho.push(Nt=e?null:[])}function Kr(){ho.pop(),Nt=ho[ho.length-1]||null}let Fn=1;function Ra(e,t=!1){Fn+=e,e<0&&Nt&&t&&(Nt.hasOnce=!0)}function vl(e){return e.dynamicChildren=Fn>0?Nt||Yo:null,Kr(),Fn>0&&Nt&&Nt.push(e),e}function Z(e,t,o,n,r,a){return vl(T(e,t,o,n,r,a,!0))}function ut(e,t,o,n,r){return vl(De(e,t,o,n,r,!0))}function On(e){return e?e.__v_isVNode===!0:!1}function Dn(e,t){return e.type===t.type&&e.key===t.key}const kl=({key:e})=>e??null,Fa=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||qe(e)||_e(e)?{i:ht,r:e,k:t,f:!!o}:e:null);function T(e,t=null,o=null,n=0,r=null,a=e===Se?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kl(t),ref:t&&Fa(t),scopeId:Fi,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:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ht};return i?(Oa(l,o),a&128&&e.normalize(l)):o&&(l.shapeFlag|=Ye(o)?8:16),Fn>0&&!s&&Nt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Nt.push(l),l}const De=qp;function qp(e,t=null,o=null,n=0,r=null,a=!1){if((!e||e===zi)&&(e=to),On(e)){const i=nn(e,t,!0);return o&&Oa(i,o),Fn>0&&!a&&Nt&&(i.shapeFlag&6?Nt[Nt.indexOf(e)]=i:Nt.push(i)),i.patchFlag=-2,i}if(lg(e)&&(e=e.__vccOpts),t){t=Jp(t);let{class:i,style:l}=t;i&&!Ye(i)&&(t.class=$e(i)),Oe(l)&&(ka(l)&&!be(l)&&(l=Xe({},l)),t.style=ft(l))}const s=Ye(e)?1:_l(e)?128:La(e)?64:Oe(e)?4:_e(e)?2:0;return T(e,t,o,n,r,s,a,!0)}function Jp(e){return e?ka(e)||ll(e)?Xe({},e):e:null}function nn(e,t,o=!1,n=!1){const{props:r,ref:a,patchFlag:s,children:i,transition:l}=e,u=t?Xp(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&kl(u),ref:t&&t.ref?o&&a?be(a)?a.concat(Fa(t)):[a,Fa(t)]:Fa(t):a,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!==Se?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Nr(c,l.clone(c)),c}function dt(e=" ",t=0){return De(Rn,null,e,t)}function Zp(e,t){const o=De(Ia,null,e);return o.staticCount=t,o}function he(e="",t=!1){return t?(V(),ut(to,null,e)):De(to,null,e)}function oo(e){return e==null||typeof e=="boolean"?De(to):be(e)?De(Se,null,e.slice()):On(e)?mo(e):De(Rn,null,String(e))}function mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Oa(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(be(t))o=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Oa(e,r()),r._c&&(r._d=!0));return}else{o=32;const r=t._;!r&&!ll(t)?t._ctx=ht:r===3&&ht&&(ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(_e(t)){if(n&65){Oa(e,{default:t});return}t={default:t,_ctx:ht},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function Xp(...e){const t={};for(let o=0;omt||ht;let Da,Bn;{const e=ga(),t=(o,n)=>{let r;return(r=e[o])||(r=e[o]=[]),r.push(n),a=>{r.length>1?r.forEach(s=>s(a)):r[0](a)}};Da=t("__VUE_INSTANCE_SETTERS__",o=>mt=o),Bn=t("__VUE_SSR_SETTERS__",o=>an=o)}const jn=e=>{const t=mt;return Da(e),e.scope.on(),()=>{e.scope.off(),Da(t)}},wl=()=>{mt&&mt.scope.off(),Da(null)};function xl(e){return e.vnode.shapeFlag&4}let an=!1;function og(e,t=!1,o=!1){t&&Bn(t);const{props:n,children:r}=e.vnode,a=xl(e);Dp(e,n,a,t),Up(e,r,o||t);const s=a?ng(e,t):void 0;return t&&Bn(!1),s}function ng(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xp);const{setup:n}=o;if(n){Jt();const r=e.setupContext=n.length>1?rg(e):null,a=jn(e),s=Xo(n,e,0,[e.props,r]),i=Xs(s);if(Zt(),a(),(i||e.sp)&&!on(e)&&Ir(e),i){if(s.then(wl,wl),t)return s.then(l=>{Bn(!0);try{Sl(e,l,t)}finally{Bn(!1)}}).catch(l=>{Cn(l,e,0)});e.asyncDep=s}else Sl(e,s)}else Al(e)}function Sl(e,t,o){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)&&(e.setupState=Ci(t)),Al(e)}function Al(e,t,o){const n=e.type;e.render||(e.render=n.render||Yt);{const r=jn(e);Jt();try{Sp(e)}finally{Zt(),r()}}}const ag={get(e,t){return yt(e,"get",""),e[t]}};function rg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,ag),slots:e.slots,emit:e.emit,expose:t}}function Ba(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Do(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Nn)return Nn[o](e)},has(t,o){return o in t||o in Nn}})):e.proxy}const sg=/(?:^|[-_])\w/g,ig=e=>e.replace(sg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ll(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function $l(e,t,o=!1){let n=Ll(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e){const r=a=>{for(const s in a)if(a[s]===t)return s};n=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return n?ig(n):o?"App":"Anonymous"}function lg(e){return _e(e)&&"__vccOpts"in e}const Q=(e,t)=>Wd(e,t,an);function Cl(e,t,o){try{Ra(-1);const n=arguments.length;return n===2?Oe(t)&&!be(t)?On(t)?De(e,null,[t]):De(e,t):De(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&On(o)&&(o=[o]),De(e,t,o))}finally{Ra(1)}}const cg="3.5.42";/** +`,...ep(r)),console.warn(...a)}eo(),Er=!1}function Qd(){let e=Nn[Nn.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 ep(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` +`],...tp(o))}),t}function tp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${Cl(e.component,e.type,n)}`,a=">"+o;return e.props?[r,...op(e.props),a]:[r+a]}function op(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Pi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Pi(e,t,o){return Ze(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Xe(t)?(t=Pi(e,Me(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Se(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Me(t),o?t:[`${e}=`,t])}function nn(e,t,o,n){try{return n?e(...n):e()}catch(r){In(r,t,o)}}function zt(e,t,o,n){if(Se(e)){const r=nn(e,t,o,n);return r&&Qs(r)&&r.catch(a=>{In(a,t,o)}),r}if(we(e)){const r=[];for(let a=0;a>>1,r=$t[n],a=Rn(r);a=Rn(o)?$t.push(e):$t.splice(ap(t),0,e),e.flags|=1,Ni()}}function Ni(){La||(La=Mi.then(Fi))}function rp(e){if(!we(e))To&&e.id===-1?To.splice(rn+1,0,e):e.flags&1||(an.push(e),e.flags|=1);else for(let t=0;tRn(o)-Rn(n));if(an.length=0,To){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Fi(e){try{for(oo=0;oo<$t.length;oo++){const t=$t[oo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;oo<$t.length;oo++){const t=$t[oo];t&&(t.flags&=-2)}oo=-1,$t.length=0,Ri(),La=null,($t.length||an.length)&&Fi()}}let _t=null,Oi=null;function $a(e){const t=_t;return _t=e,Oi=e&&e.type.__scopeId||null,t}function Vt(e,t=_t,o){if(!t||e._n)return e;const n=(...r)=>{n._d&&Oa(-1);const a=$a(t),s=yo.length;let i;try{i=e(...r)}finally{for(let l=yo.length;l>s;l--)Hr();$a(a),n._d&&Oa(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function sp(e,t){if(_t===null)return e;const o=Ga(_t),n=e.dirs||(e.dirs=[]);for(let r=0;r1)return o&&Se(t)?t.call(n&&n.proxy):t}}function ip(){return!!(vo()||zo)}const lp=Symbol.for("v-scx"),cp=()=>Pe(lp);function up(e,t){return Mr(e,null,t)}function pt(e,t,o){return Mr(e,t,o)}function Mr(e,t,o=Ke){const{immediate:n,deep:r,flush:a,once:s}=o,i=ot({},o),l=t&&n||!t&&a!=="post";let c;if(cn){if(a==="sync"){const _=cp();c=_.__watcherHandles||(_.__watcherHandles=[])}else if(!l){const _=()=>{};return _.stop=Zt,_.resume=Zt,_.pause=Zt,_}}const u=vt;i.call=(_,w,b)=>zt(_,u,w,b);let d=!1;a==="post"?i.scheduler=_=>{Nt(_,u&&u.suspense)}:a!=="sync"&&(d=!0,i.scheduler=(_,w)=>{w?_():Pr(_)}),i.augmentJob=_=>{t&&(_.flags|=4),d&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const f=Xd(e,t,i);return cn&&(c?c.push(f):l&&f()),f}function dp(e,t,o){const n=this.proxy,r=Ze(e)?e.includes(".")?Di(n,e):()=>n[e]:e.bind(n,n);let a;Se(t)?a=t:(a=t.handler,o=t);const s=Vn(this),i=Mr(r,a.bind(n),o);return s(),i}function Di(e,t){const o=t.split(".");return()=>{let n=e;for(let r=0;re.__isTeleport,Nr=Symbol("_leaveCb");function gp(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==ao){t=o;break}}return t}function Bi(e){if(!Pa(e))return Ca(e.type)&&e.children?gp(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&&Se(o.default))return o.default()}}function Ir(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Ir(Ca(o.type)&&Bi(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 Fn(e,t){return Se(e)?ot({name:e.name},t,{setup:e}):e}function Rr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ji(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Ta=new WeakMap;function On(e,t,o,n,r=!1){if(we(e)){e.forEach((b,v)=>On(b,t&&(we(t)?t[v]:t),o,n,r));return}if(sn(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&On(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?Ga(n.component):n.el,s=r?null:a,{i,r:l}=e,c=t&&t.r,u=i.refs===Ke?i.refs={}:i.refs,d=i.setupState,f=Me(d),_=d===Ke?Zs:b=>ji(u,b)?!1:Ie(f,b),w=(b,v)=>!(v&&ji(u,v));if(c!=null&&c!==l){if(Gi(t),Ze(c))u[c]=null,_(c)&&(d[c]=null);else if(Xe(c)){const b=t;w(c,b.k)&&(c.value=null),b.k&&(u[b.k]=null)}}if(Se(l))nn(l,i,12,[s,u]);else{const b=Ze(l),v=Xe(l);if(b||v){const x=()=>{if(e.f){const k=b?_(l)?d[l]:u[l]:w()||!e.k?l.value:u[e.k];if(r)we(k)&&fr(k,a);else if(we(k))k.includes(a)||k.push(a);else if(b)u[l]=[a],_(l)&&(d[l]=u[l]);else{const m=[a];w(l,e.k)&&(l.value=m),e.k&&(u[e.k]=m)}}else b?(u[l]=s,_(l)&&(d[l]=s)):v&&(w(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const k=()=>{x(),Ta.delete(e)};k.id=-1,Ta.set(e,k),Nt(k,o)}else Gi(e),x()}}}function Gi(e){const t=Ta.get(e);t&&(t.flags|=8,Ta.delete(e))}const Ui=e=>e.nodeType===8;ha().requestIdleCallback,ha().cancelIdleCallback;function fp(e,t){if(Ui(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Ui(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const sn=e=>!!e.type.__asyncLoader;function Ki(e){Se(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:r=200,hydrate:a,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,_()),_=()=>{let w;return c||(w=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),l)return new Promise((v,x)=>{l(b,()=>v(f()),()=>x(b),d+1)});throw b}).then(b=>w!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),u=b,b)))};return Fn({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(w,b,v){const x=w.isConnected;let k=!1;(b.bu||(b.bu=[])).push(()=>k=!0);const m=()=>{k||!w.parentNode||x&&!w.isConnected||v()},g=a?()=>{const y=a(m,A=>fp(w,A));y&&(b.bum||(b.bum=[])).push(y)}:m;u?g():_().then(()=>!b.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const w=vt;if(Rr(w),u)return()=>Ea(u,w);const b=y=>{c=null,In(y,w,13,!n)};if(i&&w.suspense||cn)return _().then(y=>()=>Ea(y,w)).catch(y=>(b(y),()=>n?Be(n,{error:y}):null));const v=ue(!1),x=ue(),k=ue(!!r);let m,g;return Na(()=>{m!=null&&clearTimeout(m),g!=null&&clearTimeout(g)}),r&&(g=setTimeout(()=>{w.isUnmounted||(k.value=!1)},r)),s!=null&&(m=setTimeout(()=>{if(!w.isUnmounted&&!v.value&&!x.value){const y=new Error(`Async component timed out after ${s}ms.`);b(y),x.value=y}},s)),_().then(()=>{w.isUnmounted||(v.value=!0,w.parent&&Pa(w.parent.vnode)&&w.parent.update())}).catch(y=>{if(w.isUnmounted){c=null;return}b(y),x.value=y}),()=>{if(v.value&&u)return Ea(u,w);if(x.value&&n)return Be(n,{error:x.value});if(o&&!k.value)return Ea(o,w)}}})}function Ea(e,t){const{ref:o,props:n,children:r,ce:a}=t.vnode,s=Be(e,n,r);return s.ref=o,s.ce=a,delete t.vnode.ce,s}const Pa=e=>e.type.__isKeepAlive;function hp(e,t){Hi(e,"a",t)}function mp(e,t){Hi(e,"da",t)}function Hi(e,t,o=vt){const n=e.__wdc||(e.__wdc=()=>{let r=o;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ma(t,n,o),o){let r=o.parent;for(;r&&r.parent;)Pa(r.parent.vnode)&&bp(n,t,o,r),r=r.parent}}function bp(e,t,o,n){const r=Ma(t,e,n,!0);Na(()=>{fr(n[t],r)},o)}function Ma(e,t,o=vt,n=!1){if(o){const r=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...s)=>{Qt();const i=Vn(o),l=zt(t,o,e,s);return i(),eo(),l});return n?r.unshift(a):r.push(a),a}}const bo=e=>(t,o=vt)=>{(!cn||e==="sp")&&Ma(e,(...n)=>t(...n),o)},zi=bo("bm"),no=bo("m"),yp=bo("bu"),_p=bo("u"),Eo=bo("bum"),Na=bo("um"),vp=bo("sp"),kp=bo("rtg"),wp=bo("rtc");function xp(e,t=vt){Ma("ec",e,t)}const Sp="components",Vi=Symbol.for("v-ndc");function Wi(e){return Ze(e)?Ap(Sp,e,!1)||e:e||Vi}function Ap(e,t,o=!0,n=!1){const r=_t||vt;if(r){const a=r.type;{const i=$l(a,!1);if(i&&(i===t||i===ht(t)||i===ga(ht(t))))return a}const s=Yi(r[e]||a[e],t)||Yi(r.appContext[e],t);return!s&&n?a:s}}function Yi(e,t){return e&&(e[t]||e[ht(t)]||e[ga(ht(t))])}function Ct(e,t,o,n){let r;const a=o,s=we(e);if(s||Ze(e)){const i=s&&fo(e);let l=!1,c=!1;i&&(l=!Dt(e),c=ho(e),e=ya(e)),r=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,a));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),z(),ut(Te,null,[Be("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=yo.length;z();let l;try{const c=s&&qi(s(o)),u=o.key||a||c&&c.key;l=ut(Te,{key:(u&&!Ft(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=yo.length;u>i;u--)Hr();throw c}finally{s&&s._c&&(s._d=!0)}return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function qi(e){return e.some(t=>Kn(t)?!(t.type===ao||t.type===Te&&!qi(t.children)):!0)?e:null}const Fr=e=>e?Sl(e)?Ga(e):Fr(e.parent):null,Bn=ot(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=>Fr(e.parent),$root:e=>Fr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qi(e),$forceUpdate:e=>e.f||(e.f=()=>{Pr(e.update)}),$nextTick:e=>e.n||(e.n=Ko.bind(e.proxy)),$watch:e=>dp.bind(e)}),Or=(e,t)=>e!==Ke&&!e.__isScriptSetup&&Ie(e,t),Lp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:r,props:a,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return a[t]}else{if(Or(n,t))return s[t]=1,n[t];if(r!==Ke&&Ie(r,t))return s[t]=2,r[t];if(Ie(a,t))return s[t]=3,a[t];if(o!==Ke&&Ie(o,t))return s[t]=4,o[t];Dr&&(s[t]=0)}}const c=Bn[t];let u,d;if(c)return t==="$attrs"&&xt(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==Ke&&Ie(o,t))return s[t]=4,o[t];if(d=l.config.globalProperties,Ie(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:r,ctx:a}=e;return Or(r,t)?(r[t]=o,!0):n!==Ke&&Ie(n,t)?(n[t]=o,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,props:a,type:s}},i){let l;return!!(o[i]||e!==Ke&&i[0]!=="$"&&Ie(e,i)||Or(t,i)||Ie(a,i)||Ie(n,i)||Ie(Bn,i)||Ie(r.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ie(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Ji(e){return we(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Dr=!0;function $p(e){const t=Qi(e),o=e.proxy,n=e.ctx;Dr=!1,t.beforeCreate&&Zi(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:_,updated:w,activated:b,deactivated:v,beforeDestroy:x,beforeUnmount:k,destroyed:m,unmounted:g,render:y,renderTracked:A,renderTriggered:M,errorCaptured:N,serverPrefetch:P,expose:F,inheritAttrs:W,components:Z,directives:ae,filters:G}=t;if(c&&Cp(c,n,null),s)for(const U in s){const ie=s[U];Se(ie)&&(n[U]=ie.bind(o))}if(r){const U=r.call(o,o);De(U)&&(e.data=tn(U))}if(Dr=!0,a)for(const U in a){const ie=a[U],_e=Se(ie)?ie.bind(o,o):Se(ie.get)?ie.get.bind(o,o):Zt,H=!Se(ie)&&Se(ie.set)?ie.set.bind(o):Zt,fe=ee({get:_e,set:H});Object.defineProperty(n,U,{enumerable:!0,configurable:!0,get:()=>fe.value,set:he=>fe.value=he})}if(i)for(const U in i)Xi(i[U],n,o,U);if(l){const U=Se(l)?l.call(o):l;Reflect.ownKeys(U).forEach(ie=>{Gt(ie,U[ie])})}u&&Zi(u,e,"c");function R(U,ie){we(ie)?ie.forEach(_e=>U(_e.bind(o))):ie&&U(ie.bind(o))}if(R(zi,d),R(no,f),R(yp,_),R(_p,w),R(hp,b),R(mp,v),R(xp,N),R(wp,A),R(kp,M),R(Eo,k),R(Na,g),R(vp,P),we(F))if(F.length){const U=e.exposed||(e.exposed={});F.forEach(ie=>{Object.defineProperty(U,ie,{get:()=>o[ie],set:_e=>o[ie]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===Zt&&(e.render=y),W!=null&&(e.inheritAttrs=W),Z&&(e.components=Z),ae&&(e.directives=ae),P&&Rr(e)}function Cp(e,t,o=Zt){we(e)&&(e=Br(e));for(const n in e){const r=e[n];let a;De(r)?"default"in r?a=Pe(r.from||n,r.default,!0):a=Pe(r.from||n):a=Pe(r),Xe(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[n]=a}}function Zi(e,t,o){zt(we(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Xi(e,t,o,n){let r=n.includes(".")?Di(o,n):()=>o[n];if(Ze(e)){const a=t[e];Se(a)&&pt(r,a)}else if(Se(e))pt(r,e.bind(o));else if(De(e))if(we(e))e.forEach(a=>Xi(a,t,o,n));else{const a=Se(e.handler)?e.handler.bind(o):t[e.handler];Se(a)&&pt(r,a,e)}}function Qi(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,i=a.get(t);let l;return i?l=i:!r.length&&!o&&!n?l=t:(l={},r.length&&r.forEach(c=>Ia(l,c,s,!0)),Ia(l,t,s)),De(t)&&a.set(t,l),l}function Ia(e,t,o,n=!1){const{mixins:r,extends:a}=t;a&&Ia(e,a,o,!0),r&&r.forEach(s=>Ia(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=Tp[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Tp={data:el,props:tl,emits:tl,methods:jn,computed:jn,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:jn,directives:jn,watch:Pp,provide:el,inject:Ep};function el(e,t){return t?e?function(){return ot(Se(e)?e.call(this,this):e,Se(t)?t.call(this,this):t)}:t:e}function Ep(e,t){return jn(Br(e),Br(t))}function Br(e){if(we(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${Ot(t)}Modifiers`];function Rp(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ke;let r=o;const a=t.startsWith("update:"),s=a&&Ip(n,t.slice(7));s&&(s.trim&&(r=o.map(u=>Ze(u)?u.trim():u)),s.number&&(r=r.map(mr)));let i,l=n[i=hr(t)]||n[i=hr(ht(t))];!l&&a&&(l=n[i=hr(Ot(t))]),l&&zt(l,e,6,r);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,zt(c,e,6,r)}}const Fp=new WeakMap;function nl(e,t,o=!1){const n=o?Fp:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const a=e.emits;let s={},i=!1;if(!Se(e)){const l=c=>{const u=nl(c,t,!0);u&&(i=!0,ot(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(De(e)&&n.set(e,null),null):(we(a)?a.forEach(l=>s[l]=null):ot(s,a),De(e)&&n.set(e,s),s)}function Ra(e,t){return!e||!ia(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,Ot(t))||Ie(e,t))}function Gk(){}function al(e){const{type:t,vnode:o,proxy:n,withProxy:r,propsOptions:[a],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:d,data:f,setupState:_,ctx:w,inheritAttrs:b}=e,v=$a(e);let x,k;try{if(o.shapeFlag&4){const g=r||n,y=g;x=ro(c.call(y,g,u,d,_,f,w)),k=i}else{const g=t;x=ro(g.length>1?g(d,{attrs:i,slots:s,emit:l}):g(d,null)),k=t.props?i:Op(i)}}catch(g){yo.length=0,In(g,e,1),x=Be(ao)}let m=x;if(k&&b!==!1){const g=Object.keys(k),{shapeFlag:y}=m;g.length&&y&7&&(a&&g.some(la)&&(k=Dp(k,a)),m=ln(m,k,!1,!0))}if(o.dirs&&(m=ln(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(o.dirs):o.dirs),o.transition){const g=Ca(m.type)&&Bi(m)||m;Ir(g,o.transition)}return x=m,$a(v),x}const Op=e=>{let t;for(const o in e)(o==="class"||o==="style"||ia(o))&&((t||(t={}))[o]=e[o]);return t},Dp=(e,t)=>{const o={};for(const n in e)(!la(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Bp(e,t,o){const{props:n,children:r,component:a}=e,{props:s,children:i,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?rl(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(il),cl=e=>Object.getPrototypeOf(e)===il;function Gp(e,t,o,n=!1){const r={},a=ll();e.propsDefaults=Object.create(null),ul(e,t,r,a);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);o?e.props=n?r:Ud(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function Up(e,t,o,n){const{props:r,attrs:a,vnode:{patchFlag:s}}=e,i=Me(r),[l]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,_]=dl(d,t,!0);ot(s,f),_&&i.push(..._)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return De(e)&&n.set(e,Qo),Qo;if(we(a))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",Ur=e=>we(e)?e.map(ro):[ro(e)],Hp=(e,t,o)=>{if(t._n)return t;const n=Vt((...r)=>Ur(t(...r)),o);return n._c=!1,n},gl=(e,t,o)=>{const n=e._ctx;for(const r in e){if(Gr(r))continue;const a=e[r];if(Se(a))t[r]=Hp(r,a,n);else if(a!=null){const s=Ur(a);t[r]=()=>s}}},fl=(e,t)=>{const o=Ur(t);e.slots.default=()=>o},hl=(e,t,o)=>{for(const n in t)(o||!Gr(n))&&(e[n]=t[n])},zp=(e,t,o)=>{const n=e.slots=ll();if(e.vnode.shapeFlag&32){const r=t._;r?(hl(n,t,o),o&&ti(n,"_",r,!0)):gl(t,n)}else t&&fl(e,t)},Vp=(e,t,o)=>{const{vnode:n,slots:r}=e;let a=!0,s=Ke;if(n.shapeFlag&32){const i=t._;i?o&&i===1?a=!1:hl(r,t,o):(a=!t.$stable,gl(t,r)),s=t}else t&&(fl(e,t),s={default:1});if(a)for(const i in r)!Gr(i)&&s[i]==null&&delete r[i]},Nt=Zp;function Wp(e){return Yp(e)}function Yp(e,t){const o=ha();o.__VUE__=!0;const{insert:n,remove:r,patchProp:a,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:_=Zt,insertStaticContent:w}=e,b=(S,E,$,B=null,Y=null,Q=null,X=void 0,q=null,p=!!E.dynamicChildren)=>{if(S===E)return;S&&!Hn(S,E)&&(B=st(S),he(S,Y,Q,!0),S=null),E.patchFlag===-2&&(p=!1,E.dynamicChildren=null);const{type:h,ref:I,shapeFlag:K}=E;switch(h){case Gn:v(S,E,$,B);break;case ao:x(S,E,$,B);break;case Fa:S==null&&k(E,$,B,X);break;case Te:Z(S,E,$,B,Y,Q,X,q,p);break;default:K&1?y(S,E,$,B,Y,Q,X,q,p):K&6?ae(S,E,$,B,Y,Q,X,q,p):(K&64||K&128)&&h.process(S,E,$,B,Y,Q,X,q,p,We)}I!=null&&Y?On(I,S&&S.ref,Q,E||S,!E):I==null&&S&&S.ref!=null&&On(S.ref,null,Q,S,!0)},v=(S,E,$,B)=>{if(S==null)n(E.el=i(E.children),$,B);else{const Y=E.el=S.el;E.children!==S.children&&c(Y,E.children)}},x=(S,E,$,B)=>{S==null?n(E.el=l(E.children||""),$,B):E.el=S.el},k=(S,E,$,B)=>{[S.el,S.anchor]=w(S.children,E,$,B,S.el,S.anchor)},m=({el:S,anchor:E},$,B)=>{let Y;for(;S&&S!==E;)Y=f(S),n(S,$,B),S=Y;n(E,$,B)},g=({el:S,anchor:E})=>{let $;for(;S&&S!==E;)$=f(S),r(S),S=$;r(E)},y=(S,E,$,B,Y,Q,X,q,p)=>{if(E.type==="svg"?X="svg":E.type==="math"&&(X="mathml"),S==null)A(E,$,B,Y,Q,X,q,p);else{const h=S.el&&S.el._isVueCE?S.el:null;try{h&&h._beginPatch(),P(S,E,Y,Q,X,q,p)}finally{h&&h._endPatch()}}},A=(S,E,$,B,Y,Q,X,q)=>{let p,h;const{props:I,shapeFlag:K,transition:re,dirs:ne}=S;if(p=S.el=s(S.type,Q,I&&I.is,I),K&8?u(p,S.children):K&16&&N(S.children,p,null,B,Y,Kr(S,Q),X,q),ne&&Ho(S,null,B,"created"),M(p,S,S.scopeId,X,B),I){for(const V in I)V!=="value"&&!Ln(V)&&a(p,V,null,I[V],Q,B);"value"in I&&a(p,"value",null,I.value,Q),(h=I.onVnodeBeforeMount)&&so(h,B,S)}ne&&Ho(S,null,B,"beforeMount");const O=qp(Y,re);O&&re.beforeEnter(p),n(p,E,$),((h=I&&I.onVnodeMounted)||O||ne)&&Nt(()=>{try{h&&so(h,B,S),O&&re.enter(p),ne&&Ho(S,null,B,"mounted")}finally{}},Y)},M=(S,E,$,B,Y)=>{if($&&_(S,$),B)for(let Q=0;Q{for(let h=p;h{const q=E.el=S.el;let{patchFlag:p,dynamicChildren:h,dirs:I}=E;p|=S.patchFlag&16;const K=S.props||Ke,re=E.props||Ke;let ne;if($&&Vo($,!1),(ne=re.onVnodeBeforeUpdate)&&so(ne,$,E,S),I&&Ho(E,S,$,"beforeUpdate"),$&&Vo($,!0),h&&(!S.dynamicChildren||S.dynamicChildren.length!==h.length)&&(p=0,X=!1,h=null),(K.innerHTML&&re.innerHTML==null||K.textContent&&re.textContent==null)&&u(q,""),h?F(S.dynamicChildren,h,q,$,B,Kr(E,Y),Q):X||ie(S,E,q,null,$,B,Kr(E,Y),Q,!1),p>0){if(p&16)W(q,K,re,$,Y);else if(p&2&&K.class!==re.class&&a(q,"class",null,re.class,Y),p&4&&a(q,"style",K.style,re.style,Y),p&8){const O=E.dynamicProps;for(let V=0;V{ne&&so(ne,$,E,S),I&&Ho(E,S,$,"updated")},B)},F=(S,E,$,B,Y,Q,X)=>{for(let q=0;q{if(E!==$){if(E!==Ke)for(const Q in E)!Ln(Q)&&!(Q in $)&&a(S,Q,E[Q],null,Y,B);for(const Q in $){if(Ln(Q))continue;const X=$[Q],q=E[Q];X!==q&&Q!=="value"&&a(S,Q,q,X,Y,B)}"value"in $&&a(S,"value",E.value,$.value,Y)}},Z=(S,E,$,B,Y,Q,X,q,p)=>{const h=E.el=S?S.el:i(""),I=E.anchor=S?S.anchor:i("");let{patchFlag:K,dynamicChildren:re,slotScopeIds:ne}=E;ne&&(q=q?q.concat(ne):ne),S==null?(n(h,$,B),n(I,$,B),N(E.children||[],$,I,Y,Q,X,q,p)):K>0&&K&64&&re&&S.dynamicChildren&&S.dynamicChildren.length===re.length?(F(S.dynamicChildren,re,$,Y,Q,X,q),(E.key!=null||Y&&E===Y.subTree)&&ml(S,E,!0)):ie(S,E,$,I,Y,Q,X,q,p)},ae=(S,E,$,B,Y,Q,X,q,p)=>{E.slotScopeIds=q,S==null?E.shapeFlag&512?Y.ctx.activate(E,$,B,X,p):G(E,$,B,Y,Q,X,p):T(S,E,p)},G=(S,E,$,B,Y,Q,X)=>{const q=S.component=ag(S,B,Y);if(Pa(S)&&(q.ctx.renderer=We),rg(q,!1,X),q.asyncDep){if(Y&&Y.registerDep(q,R,X),!S.el){const p=q.subTree=Be(ao);x(null,p,E,$),S.placeholder=p.el}}else R(q,S,E,$,Y,Q,X)},T=(S,E,$)=>{const B=E.component=S.component;if(Bp(S,E,$))if(B.asyncDep&&!B.asyncResolved){U(B,E,$);return}else B.next=E,B.update();else E.el=S.el,B.vnode=E},R=(S,E,$,B,Y,Q,X)=>{const q=()=>{if(S.isMounted){let{next:K,bu:re,u:ne,parent:O,vnode:V}=S;{const ge=bl(S);if(ge){K&&(K.el=V.el,U(S,K,X)),ge.asyncDep.then(()=>{Nt(()=>{S.isUnmounted||h()},Y)});return}}let pe=K,C;Vo(S,!1),K?(K.el=V.el,U(S,K,X)):K=V,re&&fa(re),(C=K.props&&K.props.onVnodeBeforeUpdate)&&so(C,O,K,V),Vo(S,!0);const D=al(S),le=S.subTree;S.subTree=D,b(le,D,d(le.el),st(le),S,Y,Q),K.el=D.el,pe===null&&jp(S,D.el),ne&&Nt(ne,Y),(C=K.props&&K.props.onVnodeUpdated)&&Nt(()=>so(C,O,K,V),Y)}else{let K;const{el:re,props:ne}=E,{bm:O,m:V,parent:pe,root:C,type:D}=S,le=sn(E);Vo(S,!1),O&&fa(O),!le&&(K=ne&&ne.onVnodeBeforeMount)&&so(K,pe,E),Vo(S,!0);{C.ce&&C.ce._hasShadowRoot()&&C.ce._injectChildStyle(D,S.parent?S.parent.type:void 0);const ge=S.subTree=al(S);b(null,ge,$,B,S,Y,Q),E.el=ge.el}if(V&&Nt(V,Y),!le&&(K=ne&&ne.onVnodeMounted)){const ge=E;Nt(()=>so(K,pe,ge),Y)}(E.shapeFlag&256||pe&&sn(pe.vnode)&&pe.vnode.shapeFlag&256)&&S.a&&Nt(S.a,Y),S.isMounted=!0,E=$=B=null}};S.scope.on();const p=S.effect=new ui(q);S.scope.off();const h=S.update=p.run.bind(p),I=S.job=p.runIfDirty.bind(p);I.i=S,I.id=S.uid,p.scheduler=()=>Pr(I),Vo(S,!0),h()},U=(S,E,$)=>{E.component=S;const B=S.vnode.props;S.vnode=E,S.next=null,Up(S,E.props,B,$),Vp(S,E.children,$),Qt(),Ii(S),eo()},ie=(S,E,$,B,Y,Q,X,q,p=!1)=>{const h=S&&S.children,I=S?S.shapeFlag:0,K=E.children,{patchFlag:re,shapeFlag:ne}=E;if(re>0){if(re&128){H(h,K,$,B,Y,Q,X,q,p);return}else if(re&256){_e(h,K,$,B,Y,Q,X,q,p);return}}ne&8?(I&16&&je(h,Y,Q),K!==h&&u($,K)):I&16?ne&16?H(h,K,$,B,Y,Q,X,q,p):je(h,Y,Q,!0):(I&8&&u($,""),ne&16&&N(K,$,B,Y,Q,X,q,p))},_e=(S,E,$,B,Y,Q,X,q,p)=>{S=S||Qo,E=E||Qo;const h=S.length,I=E.length,K=Math.min(h,I);let re;for(re=0;reI?je(S,Y,Q,!0,!1,K):N(E,$,B,Y,Q,X,q,p,K)},H=(S,E,$,B,Y,Q,X,q,p)=>{let h=0;const I=E.length;let K=S.length-1,re=I-1;for(;h<=K&&h<=re;){const ne=S[h],O=E[h]=p?_o(E[h]):ro(E[h]);if(Hn(ne,O))b(ne,O,$,null,Y,Q,X,q,p);else break;h++}for(;h<=K&&h<=re;){const ne=S[K],O=E[re]=p?_o(E[re]):ro(E[re]);if(Hn(ne,O))b(ne,O,$,null,Y,Q,X,q,p);else break;K--,re--}if(h>K){if(h<=re){const ne=re+1,O=nere)for(;h<=K;)he(S[h],Y,Q,!0),h++;else{const ne=h,O=h,V=new Map;for(h=O;h<=re;h++){const ye=E[h]=p?_o(E[h]):ro(E[h]);ye.key!=null&&V.set(ye.key,h)}let pe,C=0;const D=re-O+1;let le=!1,ge=0;const ke=new Array(D);for(h=0;h=D){he(ye,Y,Q,!0);continue}let qe;if(ye.key!=null)qe=V.get(ye.key);else for(pe=O;pe<=re;pe++)if(ke[pe-O]===0&&Hn(ye,E[pe])){qe=pe;break}qe===void 0?he(ye,Y,Q,!0):(ke[qe-O]=h+1,qe>=ge?ge=qe:le=!0,b(ye,E[qe],$,null,Y,Q,X,q,p),C++)}const Ye=le?Jp(ke):Qo;for(pe=Ye.length-1,h=D-1;h>=0;h--){const ye=O+h,qe=E[ye],it=E[ye+1],Mt=ye+1{const{el:Q,type:X,transition:q,children:p,shapeFlag:h}=S;if(h&6){fe(S.component.subTree,E,$,B);return}if(h&128){S.suspense.move(E,$,B);return}if(h&64){X.move(S,E,$,We);return}if(X===Te){n(Q,E,$);for(let K=0;Kq.enter(Q),Y));else{const{leave:K,delayLeave:re,afterLeave:ne}=q,O=()=>{S.ctx.isUnmounted?r(Q):n(Q,E,$)},V=()=>{const pe=Q._isLeaving||!!Q[Nr];Q._isLeaving&&Q[Nr](!0),q.persisted&&!pe?O():K(Q,()=>{O(),ne&&ne()})};re?re(Q,O,V):V()}else n(Q,E,$)},he=(S,E,$,B=!1,Y=!1)=>{const{type:Q,props:X,ref:q,children:p,dynamicChildren:h,shapeFlag:I,patchFlag:K,dirs:re,cacheIndex:ne,memo:O}=S;if(K===-2&&(Y=!1),q!=null&&(Qt(),On(q,null,$,S,!0),eo()),ne!=null&&(E.renderCache[ne]=void 0),I&256){E.ctx.deactivate(S);return}const V=I&1&&re,pe=!sn(S);let C;if(pe&&(C=X&&X.onVnodeBeforeUnmount)&&so(C,E,S),I&6)et(S.component,$,B);else{if(I&128){S.suspense.unmount($,B);return}V&&Ho(S,null,E,"beforeUnmount"),I&64?S.type.remove(S,E,$,We,B):h&&!h.hasOnce&&(Q!==Te||K>0&&K&64)?je(h,E,$,!1,!0):(Q===Te&&K&384||!Y&&I&16)&&je(p,E,$),B&&Ue(S)}const D=O!=null&&ne==null;(pe&&(C=X&&X.onVnodeUnmounted)||V||D)&&Nt(()=>{C&&so(C,E,S),V&&Ho(S,null,E,"unmounted"),D&&(S.el=null)},$)},Ue=S=>{const{type:E,el:$,anchor:B,transition:Y}=S;if(E===Te){Ve($,B);return}if(E===Fa){g(S);return}const Q=()=>{r($),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(S.shapeFlag&1&&Y&&!Y.persisted){const{leave:X,delayLeave:q}=Y,p=()=>X($,Q);q?q(S.el,Q,p):p()}else Q()},Ve=(S,E)=>{let $;for(;S!==E;)$=f(S),r(S),S=$;r(E)},et=(S,E,$)=>{const{bum:B,scope:Y,job:Q,subTree:X,um:q,m:p,a:h}=S;yl(p),yl(h),B&&fa(B),Y.stop(),Q&&(Q.flags|=8,he(X,S,E,$)),q&&Nt(q,E),Nt(()=>{S.isUnmounted=!0},E)},je=(S,E,$,B=!1,Y=!1,Q=0)=>{for(let X=Q;X{if(S.shapeFlag&6)return st(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const E=f(S.anchor||S.el),$=E&&E[pp];return $?f($):E};let tt=!1;const bt=(S,E,$)=>{let B;S==null?E._vnode&&(he(E._vnode,null,null,!0),B=E._vnode.component):b(E._vnode||null,S,E,null,null,null,$),E._vnode=S,tt||(tt=!0,Ii(B),Ri(),tt=!1)},We={p:b,um:he,m:fe,r:Ue,mt:G,mc:N,pc:ie,pbc:F,n:st,o:e};return{render:bt,hydrate:void 0,createApp:Np(bt)}}function Kr({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 Vo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ml(e,t,o=!1){const n=e.children,r=t.children;if(we(n)&&we(r))for(let a=0;a>1,e[o[i]]0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,s=o[a-1];a-- >0;)o[a]=s,s=t[s];return o}function bl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bl(t)}function yl(e){if(e)for(let t=0;te.__isSuspense;function Zp(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):rp(e)}const Te=Symbol.for("v-fgt"),Gn=Symbol.for("v-txt"),ao=Symbol.for("v-cmt"),Fa=Symbol.for("v-stc"),yo=[];let Bt=null;function z(e=!1){yo.push(Bt=e?null:[])}function Hr(){yo.pop(),Bt=yo[yo.length-1]||null}let Un=1;function Oa(e,t=!1){Un+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function kl(e){return e.dynamicChildren=Un>0?Bt||Qo:null,Hr(),Un>0&&Bt&&Bt.push(e),e}function oe(e,t,o,n,r,a){return kl(L(e,t,o,n,r,a,!0))}function ut(e,t,o,n,r){return kl(Be(e,t,o,n,r,!0))}function Kn(e){return e?e.__v_isVNode===!0:!1}function Hn(e,t){return e.type===t.type&&e.key===t.key}const wl=({key:e})=>e??null,Da=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||Xe(e)||Se(e)?{i:_t,r:e,k:t,f:!!o}:e:null);function L(e,t=null,o=null,n=0,r=null,a=e===Te?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wl(t),ref:t&&Da(t),scopeId:Oi,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:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_t};return i?(Ba(l,o),a&128&&e.normalize(l)):o&&(l.shapeFlag|=Ze(o)?8:16),Un>0&&!s&&Bt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Bt.push(l),l}const Be=Xp;function Xp(e,t=null,o=null,n=0,r=null,a=!1){if((!e||e===Vi)&&(e=ao),Kn(e)){const i=ln(e,t,!0);return o&&Ba(i,o),Un>0&&!a&&Bt&&(i.shapeFlag&6?Bt[Bt.indexOf(e)]=i:Bt.push(i)),i.patchFlag=-2,i}if(dg(e)&&(e=e.__vccOpts),t){t=Qp(t);let{class:i,style:l}=t;i&&!Ze(i)&&(t.class=Ce(i)),De(l)&&(xa(l)&&!we(l)&&(l=ot({},l)),t.style=nt(l))}const s=Ze(e)?1:vl(e)?128:Ca(e)?64:De(e)?4:Se(e)?2:0;return L(e,t,o,n,r,s,a,!0)}function Qp(e){return e?xa(e)||cl(e)?ot({},e):e:null}function ln(e,t,o=!1,n=!1){const{props:r,ref:a,patchFlag:s,children:i,transition:l}=e,c=t?tg(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&wl(c),ref:t&&t.ref?o&&a?we(a)?a.concat(Da(t)):[a,Da(t)]:Da(t):a,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!==Te?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ir(u,l.clone(u)),u}function gt(e=" ",t=0){return Be(Gn,null,e,t)}function eg(e,t){const o=Be(Fa,null,e);return o.staticCount=t,o}function be(e="",t=!1){return t?(z(),ut(ao,null,e)):Be(ao,null,e)}function ro(e){return e==null||typeof e=="boolean"?Be(ao):we(e)?Be(Te,null,e.slice()):Kn(e)?_o(e):Be(Gn,null,String(e))}function _o(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Ba(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(we(t))o=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Ba(e,r()),r._c&&(r._d=!0));return}else{o=32;const r=t._;!r&&!cl(t)?t._ctx=_t:r===3&&_t&&(_t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Se(t)){if(n&65){Ba(e,{default:t});return}t={default:t,_ctx:_t},o=32}else t=String(t),n&64?(o=16,t=[gt(t)]):o=8;e.children=t,e.shapeFlag|=o}function tg(...e){const t={};for(let o=0;ovt||_t;let ja,zn;{const e=ha(),t=(o,n)=>{let r;return(r=e[o])||(r=e[o]=[]),r.push(n),a=>{r.length>1?r.forEach(s=>s(a)):r[0](a)}};ja=t("__VUE_INSTANCE_SETTERS__",o=>vt=o),zn=t("__VUE_SSR_SETTERS__",o=>cn=o)}const Vn=e=>{const t=vt;return ja(e),e.scope.on(),()=>{e.scope.off(),ja(t)}},xl=()=>{vt&&vt.scope.off(),ja(null)};function Sl(e){return e.vnode.shapeFlag&4}let cn=!1;function rg(e,t=!1,o=!1){t&&zn(t);const{props:n,children:r}=e.vnode,a=Sl(e);Gp(e,n,a,t),zp(e,r,o||t);const s=a?sg(e,t):void 0;return t&&zn(!1),s}function sg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lp);const{setup:n}=o;if(n){Qt();const r=e.setupContext=n.length>1?lg(e):null,a=Vn(e),s=nn(n,e,0,[e.props,r]),i=Qs(s);if(eo(),a(),(i||e.sp)&&!sn(e)&&Rr(e),i){if(s.then(xl,xl),t)return s.then(l=>{zn(!0);try{Al(e,l,t)}finally{zn(!1)}}).catch(l=>{In(l,e,0)});e.asyncDep=s}else Al(e,s)}else Ll(e)}function Al(e,t,o){Se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=Ti(t)),Ll(e)}function Ll(e,t,o){const n=e.type;e.render||(e.render=n.render||Zt);{const r=Vn(e);Qt();try{$p(e)}finally{eo(),r()}}}const ig={get(e,t){return xt(e,"get",""),e[t]}};function lg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,ig),slots:e.slots,emit:e.emit,expose:t}}function Ga(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ti(Go(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Bn)return Bn[o](e)},has(t,o){return o in t||o in Bn}})):e.proxy}const cg=/(?:^|[-_])\w/g,ug=e=>e.replace(cg,t=>t.toUpperCase()).replace(/[-_]/g,"");function $l(e,t=!0){return Se(e)?e.displayName||e.name:e.name||t&&e.__name}function Cl(e,t,o=!1){let n=$l(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e){const r=a=>{for(const s in a)if(a[s]===t)return s};n=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return n?ug(n):o?"App":"Anonymous"}function dg(e){return Se(e)&&"__vccOpts"in e}const ee=(e,t)=>Jd(e,t,cn);function Tl(e,t,o){try{Oa(-1);const n=arguments.length;return n===2?De(t)&&!we(t)?Kn(t)?Be(e,null,[t]):Be(e,t):Be(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Kn(o)&&(o=[o]),Be(e,t,o))}finally{Oa(1)}}const pg="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Hr;const Tl=typeof window<"u"&&window.trustedTypes;if(Tl)try{Hr=Tl.createPolicy("vue",{createHTML:e=>e})}catch{}const El=Hr?e=>Hr.createHTML(e):e=>e,ug="http://www.w3.org/2000/svg",dg="http://www.w3.org/1998/Math/MathML",yo=typeof document<"u"?document:null,Pl=yo&&yo.createElement("template"),pg={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 r=t==="svg"?yo.createElementNS(ug,e):t==="mathml"?yo.createElementNS(dg,e):o?yo.createElement(e,{is:o}):yo.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>yo.createTextNode(e),createComment:e=>yo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,r,a){const s=o?o.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),o),!(r===a||!(r=r.nextSibling)););else{Pl.innerHTML=El(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Pl.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[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},gg=Symbol("_vtc");function fg(e,t,o){const n=e[gg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Ml=Symbol("_vod"),hg=Symbol("_vsh"),mg=Symbol(""),bg=/(?:^|;)\s*display\s*:/;function yg(e,t,o){const n=e.style,r=Ye(o);let a=!1;if(o&&!r){if(t)if(Ye(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Gn(n,i,"")}else for(const s in t)o[s]==null&&Gn(n,s,"");for(const s in o){s==="display"&&(a=!0);const i=o[s];i!=null?vg(e,s,!Ye(t)&&t?t[s]:void 0,i)||Gn(n,s,i):Gn(n,s,"")}}else if(r){if(t!==o){const s=n[mg];s&&(o+=";"+s),n.cssText=o,a=bg.test(o)}}else t&&e.removeAttribute("style");Ml in e&&(e[Ml]=a?n.display:"",e[hg]&&(n.display="none"))}const ja=/\s*!important$/;function Gn(e,t,o){if(be(o))o.forEach(n=>Gn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))ja.test(o)?e.setProperty(t,o.replace(ja,""),"important"):e.setProperty(t,o);else{const n=_g(e,t);ja.test(o)?e.setProperty(Pt(n),o.replace(ja,""),"important"):e[n]=o}}const Nl=["Webkit","Moz","ms"],zr={};function _g(e,t){const o=zr[t];if(o)return o;let n=ct(t);if(n!=="filter"&&n in e)return zr[t]=n;n=da(n);for(let r=0;rVr||(Lg.then(()=>Vr=0),Vr=Date.now());function Cg(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const r=o.value;if(be(r)){const a=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{a.call(n),n._stopped=!0};const s=r.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Tg=(e,t,o,n,r,a)=>{const s=r==="svg";t==="class"?fg(e,n,s):t==="style"?yg(e,o,n):ra(t)?sa(t)||wg(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Eg(e,t,n,s))?(Fl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rl(e,t,n,s,a,t!=="value")):e._isVueCE&&(Pg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ye(n)))?Fl(e,ct(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Rl(e,t,n,s))};function Eg(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dl(t)&&_e(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Dl(t)&&Ye(o)?!1:t in e}function Pg(e,t){const o=e._def.props;if(!o)return!1;const n=ct(t);return Array.isArray(o)?o.some(r=>ct(r)===n):Object.keys(o).some(r=>ct(r)===n)}const Bl={};function Mg(e,t,o){let n=En(e,t);la(n)&&(n=Xe({},n,t));class r extends Wr{constructor(s){super(n,s,o)}}return r.def=n,r}const Ng=typeof HTMLElement<"u"?HTMLElement:class{};class Wr extends Ng{constructor(t,o={},n=Hl){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!==Hl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Xe({},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,tn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:s}=n;let i;if(a&&!be(a))for(const l in a){const u=a[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=ti(this._props[l])),(i||(i=Object.create(null)))[ct(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Me(this,n)||Object.defineProperty(this,n,{get:()=>me(o[n])})}_resolveProps(t){const{props:o}=t,n=be(o)?o:Object.keys(o||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(ct))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(a){this._setProp(r,a,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Bl;const r=ct(t);o&&this._numberProps&&this._numberProps[r]&&(n=ti(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,r=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Bl?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),r&&this._instance&&this._update(),n)){const a=this._ob;a&&(this._processMutations(a.takeRecords()),a.disconnect()),o===!0?this.setAttribute(Pt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Pt(t),o+""):o||this.removeAttribute(Pt(t)),a&&a.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Gg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=De(this._def,Xe(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(a,s)=>{this.dispatchEvent(new CustomEvent(a,la(s[0])?Xe({detail:s},s[0]):{detail:s}))};n.emit=(a,...s)=>{r(a,s),Pt(a)!==a&&r(Pt(a),s)},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 r=this._nonce,a=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(a);let i=null;for(let l=t.length-1;l>=0;l--){const u=document.createElement("style");r&&u.setAttribute("nonce",r),u.textContent=t[l],a.insertBefore(u,i||s),i=u,l===0&&(n||this._styleAnchors.set(this._def,u),o&&this._styleAnchors.set(o,u))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?o=>pa(t,o):t};function Ig(e){e.target.composing=!0}function Gl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ga=Symbol("_assign"),Ua=Symbol("_initialValue");function Yr(e,t,o){return t&&(e=e.trim()),o&&(e=hr(e)),e}const Rg={created(e,{modifiers:{lazy:t,trim:o,number:n}},r){e.parentNode&&(e.type==="text"?e[Ua]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ua]=e.defaultValue.replace(/\r\n?/g,` -`))),e[Ga]=jl(r);const a=n||r.props&&r.props.type==="number";rn(e,t?"change":"input",s=>{s.target.composing||e[Ga](Yr(e.value,o,a))}),(o||a)&&rn(e,"change",()=>{e.value=Yr(e.value,o,a)}),t||(rn(e,"compositionstart",Ig),rn(e,"compositionend",Gl),rn(e,"change",Gl))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const r=t??"",a=e[Ua];delete e[Ua],a!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==a?e[Ga](Yr(e.value,o,n)):e.value=r},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:r,number:a}},s){if(e[Ga]=jl(s),e.composing)return;const i=(a||e.type==="number")&&!/^0\d/.test(e.value)?hr(e.value):e.value,l=t??"";if(i===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(n&&t===o||r&&e.value.trim()===l)||(e.value=l)}},Fg=["ctrl","shift","alt","meta"],Og={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)=>Fg.some(o=>e[`${o}Key`]&&!t.includes(o))},It=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(r,...a)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=r=>{if(!("key"in r))return;const a=Pt(r.key);if(t.some(s=>s===a||Dg[s]===a))return e(r)})},jg=Xe({patchProp:Tg},pg);let Ul;function Kl(){return Ul||(Ul=Hp(jg))}const Gg=(...e)=>{Kl().render(...e)},Hl=(...e)=>{const t=Kl().createApp(...e),{mount:o}=t;return t.mount=n=>{const r=Kg(n);if(!r)return;const a=t._component;!_e(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=o(r,!1,Ug(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function Ug(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Kg(e){return Ye(e)?document.querySelector(e):e}/*! +**/let zr;const El=typeof window<"u"&&window.trustedTypes;if(El)try{zr=El.createPolicy("vue",{createHTML:e=>e})}catch{}const Pl=zr?e=>zr.createHTML(e):e=>e,gg="http://www.w3.org/2000/svg",fg="http://www.w3.org/1998/Math/MathML",ko=typeof document<"u"?document:null,Ml=ko&&ko.createElement("template"),hg={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 r=t==="svg"?ko.createElementNS(gg,e):t==="mathml"?ko.createElementNS(fg,e):o?ko.createElement(e,{is:o}):ko.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,r,a){const s=o?o.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),o),!(r===a||!(r=r.nextSibling)););else{Ml.innerHTML=Pl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const i=Ml.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[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},mg=Symbol("_vtc");function bg(e,t,o){const n=e[mg];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Nl=Symbol("_vod"),yg=Symbol("_vsh"),_g=Symbol(""),vg=/(?:^|;)\s*display\s*:/;function kg(e,t,o){const n=e.style,r=Ze(o);let a=!1;if(o&&!r){if(t)if(Ze(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();o[i]==null&&Wn(n,i,"")}else for(const s in t)o[s]==null&&Wn(n,s,"");for(const s in o){s==="display"&&(a=!0);const i=o[s];i!=null?xg(e,s,!Ze(t)&&t?t[s]:void 0,i)||Wn(n,s,i):Wn(n,s,"")}}else if(r){if(t!==o){const s=n[_g];s&&(o+=";"+s),n.cssText=o,a=vg.test(o)}}else t&&e.removeAttribute("style");Nl in e&&(e[Nl]=a?n.display:"",e[yg]&&(n.display="none"))}const Ua=/\s*!important$/;function Wn(e,t,o){if(we(o))o.forEach(n=>Wn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Ua.test(o)?e.setProperty(t,o.replace(Ua,""),"important"):e.setProperty(t,o);else{const n=wg(e,t);Ua.test(o)?e.setProperty(Ot(n),o.replace(Ua,""),"important"):e[n]=o}}const Il=["Webkit","Moz","ms"],Vr={};function wg(e,t){const o=Vr[t];if(o)return o;let n=ht(t);if(n!=="filter"&&n in e)return Vr[t]=n;n=ga(n);for(let r=0;rWr||(Tg.then(()=>Wr=0),Wr=Date.now());function Pg(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const r=o.value;if(we(r)){const a=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{a.call(n),n._stopped=!0};const s=r.slice(),i=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mg=(e,t,o,n,r,a)=>{const s=r==="svg";t==="class"?bg(e,n,s):t==="style"?kg(e,o,n):ia(t)?la(t)||Ag(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ng(e,t,n,s))?(Ol(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fl(e,t,n,s,a,t!=="value")):e._isVueCE&&(Ig(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ze(n)))?Ol(e,ht(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Fl(e,t,n,s))};function Ng(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bl(t)&&Se(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Bl(t)&&Ze(o)?!1:t in e}function Ig(e,t){const o=e._def.props;if(!o)return!1;const n=ht(t);return Array.isArray(o)?o.some(r=>ht(r)===n):Object.keys(o).some(r=>ht(r)===n)}const jl={};function Rg(e,t,o){let n=Fn(e,t);ua(n)&&(n=ot({},n,t));class r extends Yr{constructor(s){super(n,s,o)}}return r.def=n,r}const Fg=typeof HTMLElement<"u"?HTMLElement:class{};class Yr extends Fg{constructor(t,o={},n=zl){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!==zl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ot({},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 Yr){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,Ko(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:s}=n;let i;if(a&&!we(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=oi(this._props[l])),(i||(i=Object.create(null)))[ht(l)]=!0)}this._numberProps=i,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),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)Ie(this,n)||Object.defineProperty(this,n,{get:()=>ve(o[n])})}_resolveProps(t){const{props:o}=t,n=we(o)?o:Object.keys(o||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(ht))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(a){this._setProp(r,a,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):jl;const r=ht(t);o&&this._numberProps&&this._numberProps[r]&&(n=oi(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,r=!1){if(o!==this._props[t]&&(this._dirty=!0,o===jl?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),r&&this._instance&&this._update(),n)){const a=this._ob;a&&(this._processMutations(a.takeRecords()),a.disconnect()),o===!0?this.setAttribute(Ot(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Ot(t),o+""):o||this.removeAttribute(Ot(t)),a&&a.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Hg(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Be(this._def,ot(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(a,s)=>{this.dispatchEvent(new CustomEvent(a,ua(s[0])?ot({detail:s},s[0]):{detail:s}))};n.emit=(a,...s)=>{r(a,s),Ot(a)!==a&&r(Ot(a),s)},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 r=this._nonce,a=this.shadowRoot,s=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(a);let i=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");r&&c.setAttribute("nonce",r),c.textContent=t[l],a.insertBefore(c,i||s),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{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?o=>fa(t,o):t};function Og(e){e.target.composing=!0}function Ul(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ka=Symbol("_assign"),Ha=Symbol("_initialValue");function qr(e,t,o){return t&&(e=e.trim()),o&&(e=mr(e)),e}const Dg={created(e,{modifiers:{lazy:t,trim:o,number:n}},r){e.parentNode&&(e.type==="text"?e[Ha]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ha]=e.defaultValue.replace(/\r\n?/g,` +`))),e[Ka]=Gl(r);const a=n||r.props&&r.props.type==="number";un(e,t?"change":"input",s=>{s.target.composing||e[Ka](qr(e.value,o,a))}),(o||a)&&un(e,"change",()=>{e.value=qr(e.value,o,a)}),t||(un(e,"compositionstart",Og),un(e,"compositionend",Ul),un(e,"change",Ul))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const r=t??"",a=e[Ha];delete e[Ha],a!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==a?e[Ka](qr(e.value,o,n)):e.value=r},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:r,number:a}},s){if(e[Ka]=Gl(s),e.composing)return;const i=(a||e.type==="number")&&!/^0\d/.test(e.value)?mr(e.value):e.value,l=t??"";if(i===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===o||r&&e.value.trim()===l)||(e.value=l)}},Bg=["ctrl","shift","alt","meta"],jg={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)=>Bg.some(o=>e[`${o}Key`]&&!t.includes(o))},Et=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(r,...a)=>{for(let s=0;s{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=r=>{if(!("key"in r))return;const a=Ot(r.key);if(t.some(s=>s===a||Gg[s]===a))return e(r)})},Kg=ot({patchProp:Mg},hg);let Kl;function Hl(){return Kl||(Kl=Wp(Kg))}const Hg=(...e)=>{Hl().render(...e)},zl=(...e)=>{const t=Hl().createApp(...e),{mount:o}=t;return t.mount=n=>{const r=Vg(n);if(!r)return;const a=t._component;!Se(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=o(r,!1,zg(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function zg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vg(e){return Ze(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let zl;const Ka=e=>zl=e,Vl=Symbol();function qr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Un;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Un||(Un={}));function Hg(){const e=br(!0),t=e.run(()=>ue({}));let o=[],n=[];const r=Do({install(a){Ka(r),r._a=a,a.provide(Vl,r),a.config.globalProperties.$pinia=r,n.forEach(s=>o.push(s)),n=[]},use(a){return this._a?o.push(a):n.push(a),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return r}const Wl=()=>{};function Yl(e,t,o,n=Wl){e.push(t);const r=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!o&&li()&&vd(r),r}function sn(e,...t){e.slice().forEach(o=>{o(...t)})}const zg=e=>e(),ql=Symbol(),Jr=Symbol();function Zr(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],r=e[o];qr(r)&&qr(n)&&e.hasOwnProperty(o)&&!qe(n)&&!uo(n)?e[o]=Zr(r,n):e[o]=n}return e}const Vg=Symbol();function Wg(e){return!qr(e)||!e.hasOwnProperty(Vg)}const{assign:Co}=Object;function Yg(e){return!!(qe(e)&&e.effect)}function qg(e,t,o,n){const{state:r,actions:a,getters:s}=t,i=o.state.value[e];let l;function u(){i||(o.state.value[e]=r?r():{});const c=Ud(o.state.value[e]);return Co(c,a,Object.keys(s||{}).reduce((p,f)=>(p[f]=Do(Q(()=>{Ka(o);const _=o._s.get(e);return s[f].call(_,_)})),p),{}))}return l=Jl(e,u,t,o,n,!0),l}function Jl(e,t,o={},n,r,a){let s;const i=Co({actions:{}},o),l={deep:!0};let u,c,p=[],f=[],_;const L=n.state.value[e];!a&&!L&&(n.state.value[e]={});let g;function w(I){let M;u=c=!1,typeof I=="function"?(I(n.state.value[e]),M={type:Un.patchFunction,storeId:e,events:_}):(Zr(n.state.value[e],I),M={type:Un.patchObject,payload:I,storeId:e,events:_});const U=g=Symbol();tn().then(()=>{g===U&&(u=!0)}),c=!0,sn(p,M,n.state.value[e])}const A=a?function(){const{state:M}=o,U=M?M():{};this.$patch(ee=>{Co(ee,U)})}:Wl;function v(){s.stop(),p=[],f=[],n._s.delete(e)}const m=(I,M="")=>{if(ql in I)return I[Jr]=M,I;const U=function(){Ka(n);const ee=Array.from(arguments),q=[],se=[];function H(X){q.push(X)}function N(X){se.push(X)}sn(f,{args:ee,name:U[Jr],store:k,after:H,onError:N});let F;try{F=I.apply(this&&this.$id===e?this:k,ee)}catch(X){throw sn(se,X),X}return F instanceof Promise?F.then(X=>(sn(q,X),X)).catch(X=>(sn(se,X),Promise.reject(X))):(sn(q,F),F)};return U[ql]=!0,U[Jr]=M,U},d={_p:n,$id:e,$onAction:Yl.bind(null,f),$patch:w,$reset:A,$subscribe(I,M={}){const U=Yl(p,I,M.detached,()=>ee()),ee=s.run(()=>at(()=>n.state.value[e],q=>{(M.flush==="sync"?c:u)&&I({storeId:e,type:Un.direct,events:_},q)},Co({},l,M)));return U},$dispose:v},k=Jo(d);n._s.set(e,k);const O=(n._a&&n._a.runWithContext||zg)(()=>n._e.run(()=>(s=br()).run(()=>t({action:m}))));for(const I in O){const M=O[I];if(qe(M)&&!Yg(M)||uo(M))a||(L&&Wg(M)&&(qe(M)?M.value=L[I]:Zr(M,L[I])),n.state.value[e][I]=M);else if(typeof M=="function"){const U=m(M,I);O[I]=U,i.actions[I]=M}}return Co(k,O),Co(Ce(k),O),Object.defineProperty(k,"$state",{get:()=>n.state.value[e],set:I=>{w(M=>{Co(M,I)})}}),n._p.forEach(I=>{Co(k,s.run(()=>I({store:k,app:n._a,pinia:n,options:i})))}),L&&a&&o.hydrate&&o.hydrate(k.$state,L),u=!0,c=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Xr(e,t,o){let n,r;const a=typeof t=="function";typeof e=="string"?(n=e,r=a?o:t):(r=e,n=e.id);function s(i,l){const u=ap();return i=i||(u?Te(Vl,null):null),i&&Ka(i),i=zl,i._s.has(n)||(a?Jl(n,t,r,i):qg(n,r,i)),i._s.get(n)}return s.$id=n,s}const Jg={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},Zg={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},Xg={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},Qg={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",doxaRegions:"مناطق Doxa",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},ef={menuComingSoon:"القائمة قادمة قريباً"},tf={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},of={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},nf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},af={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},rf={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},sf={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"},lf={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},cf={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",doxaRegions:"Doxa-Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},uf={menuComingSoon:"Menü folgt in Kürze"},df={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},pf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},gf={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},ff={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},hf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},mf={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"},bf={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},yf={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",doxaRegions:"Doxa Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},_f={menuComingSoon:"Menu coming soon"},vf={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},kf={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},wf={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},xf={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"}},Sf={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},Af={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Lf={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"},$f={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},Cf={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",doxaRegions:"Regiones Doxa",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Tf={menuComingSoon:"Menú próximamente"},Ef={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Pf={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Mf={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"}},Nf={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País"},If={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Rf={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"},Ff={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},Of={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",doxaRegions:"Régions Doxa",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},Df={menuComingSoon:"Menu bientôt disponible"},Bf={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},jf={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Gf={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},Uf={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},Kf={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},Hf={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},zf={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},Vf={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Wf={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Yf={menuComingSoon:"मेनू शीघ्र आ रहा है"},qf={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Jf={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},Zf={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},Xf={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},Qf={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"},eh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},th={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",doxaRegions:"Regioni Doxa",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},oh={menuComingSoon:"Menu in arrivo"},nh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},ah={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},rh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},sh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},ih={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"},lh={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},ch={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",doxaRegions:"Regiões Doxa",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},uh={menuComingSoon:"Menu em breve"},dh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},ph={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},gh={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},fh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},hh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},mh={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ă"},bh={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},yh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",doxaRegions:"Regiuni Doxa",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},_h={menuComingSoon:"Meniu în curând"},vh={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},kh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},wh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},xh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Sh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Ah={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Lh={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},$h={menuComingSoon:"Меню скоро появится"},Ch={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Th={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Eh={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Ph={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Mh={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Nh={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},Ih={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},Rh={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",doxaRegions:"Doxa 区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},Fh={menuComingSoon:"菜单即将推出"},Oh={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Dh={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Bh={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let Vl;const za=e=>Vl=e,Wl=Symbol();function Jr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Yn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Yn||(Yn={}));function Wg(){const e=yr(!0),t=e.run(()=>ue({}));let o=[],n=[];const r=Go({install(a){za(r),r._a=a,a.provide(Wl,r),a.config.globalProperties.$pinia=r,n.forEach(s=>o.push(s)),n=[]},use(a){return this._a?o.push(a):n.push(a),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return r}const Yl=()=>{};function ql(e,t,o,n=Yl){e.push(t);const r=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!o&&ci()&&xd(r),r}function dn(e,...t){e.slice().forEach(o=>{o(...t)})}const Yg=e=>e(),Jl=Symbol(),Zr=Symbol();function Xr(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],r=e[o];Jr(r)&&Jr(n)&&e.hasOwnProperty(o)&&!Xe(n)&&!fo(n)?e[o]=Xr(r,n):e[o]=n}return e}const qg=Symbol();function Jg(e){return!Jr(e)||!e.hasOwnProperty(qg)}const{assign:Po}=Object;function Zg(e){return!!(Xe(e)&&e.effect)}function Xg(e,t,o,n){const{state:r,actions:a,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=r?r():{});const u=zd(o.state.value[e]);return Po(u,a,Object.keys(s||{}).reduce((d,f)=>(d[f]=Go(ee(()=>{za(o);const _=o._s.get(e);return s[f].call(_,_)})),d),{}))}return l=Zl(e,c,t,o,n,!0),l}function Zl(e,t,o={},n,r,a){let s;const i=Po({actions:{}},o),l={deep:!0};let c,u,d=[],f=[],_;const w=n.state.value[e];!a&&!w&&(n.state.value[e]={});let b;function v(N){let P;c=u=!1,typeof N=="function"?(N(n.state.value[e]),P={type:Yn.patchFunction,storeId:e,events:_}):(Xr(n.state.value[e],N),P={type:Yn.patchObject,payload:N,storeId:e,events:_});const F=b=Symbol();Ko().then(()=>{b===F&&(c=!0)}),u=!0,dn(d,P,n.state.value[e])}const x=a?function(){const{state:P}=o,F=P?P():{};this.$patch(W=>{Po(W,F)})}:Yl;function k(){s.stop(),d=[],f=[],n._s.delete(e)}const m=(N,P="")=>{if(Jl in N)return N[Zr]=P,N;const F=function(){za(n);const W=Array.from(arguments),Z=[],ae=[];function G(U){Z.push(U)}function T(U){ae.push(U)}dn(f,{args:W,name:F[Zr],store:y,after:G,onError:T});let R;try{R=N.apply(this&&this.$id===e?this:y,W)}catch(U){throw dn(ae,U),U}return R instanceof Promise?R.then(U=>(dn(Z,U),U)).catch(U=>(dn(ae,U),Promise.reject(U))):(dn(Z,R),R)};return F[Jl]=!0,F[Zr]=P,F},g={_p:n,$id:e,$onAction:ql.bind(null,f),$patch:v,$reset:x,$subscribe(N,P={}){const F=ql(d,N,P.detached,()=>W()),W=s.run(()=>pt(()=>n.state.value[e],Z=>{(P.flush==="sync"?u:c)&&N({storeId:e,type:Yn.direct,events:_},Z)},Po({},l,P)));return F},$dispose:k},y=tn(g);n._s.set(e,y);const M=(n._a&&n._a.runWithContext||Yg)(()=>n._e.run(()=>(s=yr()).run(()=>t({action:m}))));for(const N in M){const P=M[N];if(Xe(P)&&!Zg(P)||fo(P))a||(w&&Jg(P)&&(Xe(P)?P.value=w[N]:Xr(P,w[N])),n.state.value[e][N]=P);else if(typeof P=="function"){const F=m(P,N);M[N]=F,i.actions[N]=P}}return Po(y,M),Po(Me(y),M),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:N=>{v(P=>{Po(P,N)})}}),n._p.forEach(N=>{Po(y,s.run(()=>N({store:y,app:n._a,pinia:n,options:i})))}),w&&a&&o.hydrate&&o.hydrate(y.$state,w),c=!0,u=!0,y}/*! #__NO_SIDE_EFFECTS__ */function Qr(e,t,o){let n,r;const a=typeof t=="function";typeof e=="string"?(n=e,r=a?o:t):(r=e,n=e.id);function s(i,l){const c=ip();return i=i||(c?Pe(Wl,null):null),i&&za(i),i=Vl,i._s.has(n)||(a?Zl(n,t,r,i):Xg(n,r,i)),i._s.get(n)}return s.$id=n,s}const Qg={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},ef={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},tf={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},of={title:{prayer:"تقدم الصلاة",engagement:"تقدم الانخراط",adoption:"تقدم التبني",languageFamilies:"العائلات اللغوية",doxaRegions:"مناطق Doxa",affinityBlocs:"كتل القرابة",gospelResources:"موارد الإنجيل"},header:{collapsed:"وسيلة الإيضاح",peopleGroupFallback:"مجموعة الشعب"},prayer:{needsPrayer:"يحتاج إلى صلاة",hasPrayer:"لديه صلاة",fullPrayerCoverage:"تغطية صلاة كاملة"},progress:{title:"التقدم",covered:"{covered} من {total} مجموعة شعبية مغطاة بالصلاة · {pct}%",short:"{covered} من {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"يحتاج إلى انخراط",hasEngagement:"لديه انخراط"},adoption:{needsAdoption:"يحتاج إلى تبني",hasAdoption:"لديه تبني"},columns:{upgs:"UUPGs",population:"السكان",name:"الاسم"},footer:{total:"الإجمالي"},sortByUpgs:"ترتيب حسب UUPG",sortByPop:"ترتيب حسب السكان",colLabel:{religion:"ديانات UUPG",prayer:"حالة الصلاة",engagement:"حالة المشاركة",adoption:"حالة التبني",status:"الحالة"},titleBar:{legend:"مفتاح الخريطة",peopleGroups:"الشعوب",wagfRegions:"مناطق WAGF",languages:"اللغات"}},nf={menuComingSoon:"القائمة قادمة قريباً"},af={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},rf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},sf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},lf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},cf={backToLegend:"Zurück zur Legende",closeDetailView:"Detailansicht schließen"},uf={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"},df={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},pf={title:{prayer:"Gebetsfortschritt",engagement:"Engagement-Fortschritt",adoption:"Adoptionsfortschritt",languageFamilies:"Sprachfamilien",doxaRegions:"Doxa-Regionen",affinityBlocs:"Affinitätsblöcke",gospelResources:"Evangeliumsressourcen"},header:{collapsed:"Legende",peopleGroupFallback:"Volksgruppe"},prayer:{needsPrayer:"Braucht Gebet",hasPrayer:"Hat Gebet",fullPrayerCoverage:"Vollständige Gebetsabdeckung"},progress:{title:"Fortschritt",covered:"{covered} von {total} Volksgruppen im Gebet abgedeckt · {pct}%",short:"{covered} von {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Braucht Engagement",hasEngagement:"Hat Engagement"},adoption:{needsAdoption:"Braucht Adoption",hasAdoption:"Hat Adoption"},columns:{upgs:"UUPGs",population:"Bevölkerung"},footer:{total:"Gesamt"}},gf={menuComingSoon:"Menü folgt in Kürze"},ff={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},hf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},mf={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},bf={prayer:"Gebet",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Volksgruppen",regions:"Regionen",countries:"Länder","language-families":"Sprachen",religion:"Religionen",family:"Sprachfamilie",language:"Sprache",dialect:"Dialekt/Varietät",bloc:"Affinitätsblock",cluster:"Cluster",group:"Volksgruppe",pgic:"Volksgruppe im Land",region:"WAGF-Region",block:"WAGF-Block",country:"Land"},yf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},_f={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"},vf={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},kf={title:{prayer:"Prayer Progress",engagement:"Engagement Progress",adoption:"Adoption Progress",languageFamilies:"Language Families",doxaRegions:"Doxa Regions",affinityBlocs:"Affinity Blocks",gospelResources:"Gospel Resources"},header:{default:"Legend",collapsed:"Legend",peopleGroupFallback:"People Group"},prayer:{needsPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayerCoverage:"Full Prayer Coverage"},progress:{title:"Progress",covered:"{covered} of {total} people groups covered in prayer · {pct}%",short:"{covered} of {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Unengaged",hasEngagement:"Engaged"},adoption:{needsAdoption:"Needs Adoption",hasAdoption:"Has Adoption"},columns:{upgs:"UUPGs",population:"Population",name:"Name"},footer:{total:"Total"},sortByUpgs:"Sort by UUPGs",sortByPop:"Sort by Population",colLabel:{religion:"UUPG Religions",prayer:"Prayer Status",engagement:"Engagement Status",adoption:"Adoption Status",status:"Status"},titleBar:{legend:"Legend",peopleGroups:"People Groups",wagfRegions:"WAGF Regions",languages:"Languages"}},wf={menuComingSoon:"Menu coming soon"},xf={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Sf={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Af={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},Lf={placeholder:"People, place, language, religion",labels:{people:"People:",place:"Place:",language:"Language:",religion:"Religion:"},kinds:{people:"People Group + Country",peopleGroup:"People Group",bloc:"Affinity Block",cluster:"People Cluster",country:"Country",region:"Region",family:"Language Family",languageKind:"Language",dialect:"Dialect",religionKind:"Religion"},sections:{within:"Within {selection}",allData:"All DOXA Data"}},$f={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups",regions:"Regions",countries:"Countries","language-families":"Languages",religion:"Religions",family:"Lang Family",language:"Language",dialect:"Dialect/Variety",bloc:"Affinity Block",cluster:"Cluster",group:"People Group",pgic:"PG in Country",region:"WAGF Region",block:"WAGF Bloc",country:"Country"},Cf={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Tf={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"},Ef={labels:{country:"País:",population:"Población:",language:"Idioma:",religion:"Religión:",languageFamily:"Familia lingüística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"No hay descripción disponible."}},Pf={title:{prayer:"Progreso de oración",engagement:"Progreso de implicación",adoption:"Progreso de adopción",languageFamilies:"Familias lingüísticas",doxaRegions:"Regiones Doxa",affinityBlocs:"Bloques de afinidad",gospelResources:"Recursos del Evangelio"},header:{collapsed:"Leyenda",peopleGroupFallback:"Grupo de personas"},prayer:{needsPrayer:"Necesita oración",hasPrayer:"Tiene oración",fullPrayerCoverage:"Cobertura de oración completa"},progress:{title:"Progreso",covered:"{covered} de {total} grupos de personas cubiertos en oración · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesita implicación",hasEngagement:"Tiene implicación"},adoption:{needsAdoption:"Necesita adopción",hasAdoption:"Tiene adopción"},columns:{upgs:"UUPGs",population:"Población",name:"Nombre"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por población",colLabel:{religion:"Religiones UUPG",prayer:"Estado de oración",engagement:"Estado de compromiso",adoption:"Estado de adopción",status:"Estado"},titleBar:{legend:"Leyenda",peopleGroups:"Pueblos",wagfRegions:"Regiones WAGF",languages:"Idiomas"}},Mf={menuComingSoon:"Menú próximamente"},Nf={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},If={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Rf={placeholder:"Pueblo, lugar, idioma, religión",labels:{people:"Pueblo:",place:"Lugar:",language:"Idioma:",religion:"Religión:"},kinds:{people:"Pueblo + país",peopleGroup:"Pueblo",bloc:"Bloque de afinidad",cluster:"Clúster de pueblos",country:"País",region:"Región",family:"Familia lingüística",languageKind:"Idioma",dialect:"Dialecto",religionKind:"Religión"}},Ff={prayer:"Oración",adoption:"Adopción",engagement:"Compromiso","affinity-blocks":"Pueblos",regions:"Regiones",countries:"Países","language-families":"Idiomas",religion:"Religiones",family:"Familia lingüística",language:"Idioma",dialect:"Dialecto/Variedad",bloc:"Bloque de afinidad",cluster:"Clúster",group:"Pueblo",pgic:"Pueblo en país",region:"Región WAGF",block:"Bloque WAGF",country:"País"},Of={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Df={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"},Bf={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},jf={title:{prayer:"Progression de la prière",engagement:"Progression de l'engagement",adoption:"Progression de l'adoption",languageFamilies:"Familles de langues",doxaRegions:"Régions Doxa",affinityBlocs:"Blocs d'affinité",gospelResources:"Ressources de l'Évangile"},header:{collapsed:"Légende",peopleGroupFallback:"Groupe de personnes"},prayer:{needsPrayer:"Besoin de prière",hasPrayer:"Prière en cours",fullPrayerCoverage:"Couverture de prière complète"},progress:{title:"Progression",covered:"{covered} sur {total} groupes de personnes couverts par la prière · {pct}%",short:"{covered} sur {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Besoin d'engagement",hasEngagement:"Engagement en cours"},adoption:{needsAdoption:"Besoin d'adoption",hasAdoption:"Adoption en cours"},columns:{upgs:"UUPGs",population:"Population",name:"Nom"},footer:{total:"Total"},sortByUpgs:"Trier par UUPG",sortByPop:"Trier par population",colLabel:{religion:"Religions UUPG",prayer:"Statut de prière",engagement:"Statut d'engagement",adoption:"Statut d'adoption",status:"Statut"},titleBar:{legend:"Légende",peopleGroups:"Peuples",wagfRegions:"Régions WAGF",languages:"Langues"}},Gf={menuComingSoon:"Menu bientôt disponible"},Uf={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},Kf={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},Hf={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},zf={placeholder:"Peuple, lieu, langue, religion",labels:{people:"Peuple :",place:"Lieu :",language:"Langue :",religion:"Religion :"},kinds:{people:"Peuple + pays",peopleGroup:"Peuple",bloc:"Bloc d'affinité",cluster:"Grappe de peuples",country:"Pays",region:"Région",family:"Famille linguistique",languageKind:"Langue",dialect:"Dialecte",religionKind:"Religion"}},Vf={prayer:"Prière",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"Peuples",regions:"Régions",countries:"Pays","language-families":"Langues",religion:"Religions",family:"Famille linguistique",language:"Langue",dialect:"Dialecte/Variété",bloc:"Bloc d'affinité",cluster:"Grappe",group:"Peuple",pgic:"Peuple dans le pays",region:"Région WAGF",block:"Bloc WAGF",country:"Pays"},Wf={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},Yf={prayForThem:"उनके लिए प्रार्थना करें",adoptThem:"उन्हें गोद लें",moreInfo:"अधिक जानकारी",zoomIn:"ज़ूम इन",zoomOut:"ज़ूम आउट",switchToLightMode:"लाइट मोड पर जाएं",switchToDarkMode:"डार्क मोड पर जाएं",resetView:"दृश्य रीसेट करें",toggleFullscreen:"फ़ुलस्क्रीन टॉगल करें",aboutThisMap:"इस मानचित्र के बारे में",closeMenu:"मेनू बंद करें",reloadMap:"मानचित्र पुनः लोड करें",showClusters:"क्लस्टर दिखाएं",clusterSettings:"क्लस्टर सेटिंग्स",startAutoFly:"ऑटो फ्लाई शुरू करें",stopFlight:"उड़ान रोकें",speedLabel:"गति:",speedOption:{slow:"धीमी",normal:"सामान्य",fast:"तेज़"},shareEmbed:"साझा करें और एम्बेड करें"},qf={labels:{country:"देश:",population:"जनसंख्या:",language:"भाषा:",religion:"धर्म:",languageFamily:"भाषा परिवार:",peopleCommitted:"प्रार्थना के लिए प्रतिबद्ध:"},messages:{noDescription:"कोई विवरण उपलब्ध नहीं है।"}},Jf={title:{prayer:"प्रार्थना प्रगति",engagement:"सहभागिता प्रगति",adoption:"गोद लेने की प्रगति",languageFamilies:"भाषा परिवार",doxaRegions:"Doxa क्षेत्र",affinityBlocs:"समानता समूह",gospelResources:"सुसमाचार संसाधन"},header:{collapsed:"किंवदंती",peopleGroupFallback:"जनजाति समूह"},prayer:{needsPrayer:"प्रार्थना चाहिए",hasPrayer:"प्रार्थना है",fullPrayerCoverage:"पूर्ण प्रार्थना कवरेज"},progress:{title:"प्रगति",covered:"{total} में से {covered} जनजाति समूह प्रार्थना में कवर · {pct}%",short:"{total} में से {covered} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"सहभागिता चाहिए",hasEngagement:"सहभागिता है"},adoption:{needsAdoption:"गोद लेना चाहिए",hasAdoption:"गोद लिया गया"},columns:{upgs:"UUPGs",population:"जनसंख्या"},footer:{total:"कुल"}},Zf={menuComingSoon:"मेनू शीघ्र आ रहा है"},Xf={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},Qf={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},eh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},th={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},oh={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"},nh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},ah={title:{prayer:"Avanzamento della preghiera",engagement:"Avanzamento dell'impegno",adoption:"Avanzamento dell'adozione",languageFamilies:"Famiglie linguistiche",doxaRegions:"Regioni Doxa",affinityBlocs:"Blocchi di affinità",gospelResources:"Risorse del Vangelo"},header:{collapsed:"Legenda",peopleGroupFallback:"Gruppo di persone"},prayer:{needsPrayer:"Necessita preghiera",hasPrayer:"Ha preghiera",fullPrayerCoverage:"Copertura di preghiera completa"},progress:{title:"Avanzamento",covered:"{covered} di {total} gruppi di persone coperti dalla preghiera · {pct}%",short:"{covered} di {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necessita impegno",hasEngagement:"Ha impegno"},adoption:{needsAdoption:"Necessita adozione",hasAdoption:"Ha adozione"},columns:{upgs:"UUPGs",population:"Popolazione"},footer:{total:"Totale"}},rh={menuComingSoon:"Menu in arrivo"},sh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},ih={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},lh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},ch={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},uh={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"},dh={labels:{country:"País:",population:"População:",language:"Língua:",religion:"Religião:",languageFamily:"Família linguística:",peopleCommitted:"Comprometidos a orar:"},messages:{noDescription:"Sem descrição disponível."}},ph={title:{prayer:"Progresso da oração",engagement:"Progresso do envolvimento",adoption:"Progresso da adoção",languageFamilies:"Famílias linguísticas",doxaRegions:"Regiões Doxa",affinityBlocs:"Blocos de afinidade",gospelResources:"Recursos do Evangelho"},header:{collapsed:"Legenda",peopleGroupFallback:"Grupo de pessoas"},prayer:{needsPrayer:"Precisa de oração",hasPrayer:"Tem oração",fullPrayerCoverage:"Cobertura de oração completa"},progress:{title:"Progresso",covered:"{covered} de {total} grupos de pessoas cobertos em oração · {pct}%",short:"{covered} de {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Precisa de envolvimento",hasEngagement:"Tem envolvimento"},adoption:{needsAdoption:"Precisa de adoção",hasAdoption:"Tem adoção"},columns:{upgs:"UUPGs",population:"População",name:"Nome"},footer:{total:"Total"},sortByUpgs:"Ordenar por UUPG",sortByPop:"Ordenar por população",colLabel:{religion:"Religiões UUPG",prayer:"Status de oração",engagement:"Status de engajamento",adoption:"Status de adoção",status:"Status"},titleBar:{legend:"Legenda",peopleGroups:"Povos",wagfRegions:"Regiões WAGF",languages:"Idiomas"}},gh={menuComingSoon:"Menu em breve"},fh={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},hh={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},mh={placeholder:"Povo, local, língua, religião",labels:{people:"Povo:",place:"Local:",language:"Língua:",religion:"Religião:"},kinds:{people:"Povo + país",peopleGroup:"Povo",bloc:"Bloco de afinidade",cluster:"Agrupamento de povos",country:"País",region:"Região",family:"Família linguística",languageKind:"Idioma",dialect:"Dialeto",religionKind:"Religião"}},bh={prayer:"Oração",adoption:"Adoção",engagement:"Engajamento","affinity-blocks":"Povos",regions:"Regiões",countries:"Países","language-families":"Idiomas",religion:"Religiões",family:"Família linguística",language:"Idioma",dialect:"Dialeto/Variedade",bloc:"Bloco de afinidade",cluster:"Agrupamento",group:"Povo",pgic:"Povo no país",region:"Região WAGF",block:"Bloco WAGF",country:"País"},yh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},_h={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ă"},vh={labels:{country:"Țară:",population:"Populație:",language:"Limbă:",religion:"Religie:",languageFamily:"Familie de limbi:",peopleCommitted:"Angajați să se roage:"},messages:{noDescription:"Nicio descriere disponibilă."}},kh={title:{prayer:"Progresul rugăciunii",engagement:"Progresul implicării",adoption:"Progresul adopției",languageFamilies:"Familii de limbi",doxaRegions:"Regiuni Doxa",affinityBlocs:"Blocuri de afinitate",gospelResources:"Resurse ale Evangheliei"},header:{collapsed:"Legendă",peopleGroupFallback:"Grup de popoare"},prayer:{needsPrayer:"Necesită rugăciune",hasPrayer:"Are rugăciune",fullPrayerCoverage:"Acoperire completă de rugăciune"},progress:{title:"Progres",covered:"{covered} din {total} grupuri de popoare acoperite în rugăciune · {pct}%",short:"{covered} din {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Necesită implicare",hasEngagement:"Are implicare"},adoption:{needsAdoption:"Necesită adopție",hasAdoption:"Are adopție"},columns:{upgs:"UUPGs",population:"Populație"},footer:{total:"Total"}},wh={menuComingSoon:"Meniu în curând"},xh={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Sh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Ah={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},Lh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},$h={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Ch={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Th={title:{prayer:"Прогресс молитвы",engagement:"Прогресс вовлечённости",adoption:"Прогресс усыновления",languageFamilies:"Языковые семьи",doxaRegions:"Регионы Doxa",affinityBlocs:"Блоки родства",gospelResources:"Евангельские ресурсы"},header:{collapsed:"Условные обозначения",peopleGroupFallback:"Народная группа"},prayer:{needsPrayer:"Нуждается в молитве",hasPrayer:"Есть молитва",fullPrayerCoverage:"Полное молитвенное покрытие"},progress:{title:"Прогресс",covered:"{covered} из {total} народных групп охвачены молитвой · {pct}%",short:"{covered} из {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"Нуждается в вовлечённости",hasEngagement:"Есть вовлечённость"},adoption:{needsAdoption:"Нуждается в усыновлении",hasAdoption:"Есть усыновление"},columns:{upgs:"UUPGs",population:"Население",name:"Название"},footer:{total:"Всего"},sortByUpgs:"Сортировать по UUPG",sortByPop:"Сортировать по населению",colLabel:{religion:"Религии UUPG",prayer:"Статус молитвы",engagement:"Статус вовлечённости",adoption:"Статус усыновления",status:"Статус"},titleBar:{legend:"Легенда",peopleGroups:"Народы",wagfRegions:"Регионы WAGF",languages:"Языки"}},Eh={menuComingSoon:"Меню скоро появится"},Ph={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Mh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Nh={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Ih={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Rh={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},Fh={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},Oh={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},Dh={title:{prayer:"祷告进度",engagement:"参与进度",adoption:"认领进度",languageFamilies:"语系",doxaRegions:"Doxa 区域",affinityBlocs:"亲缘板块",gospelResources:"福音资源"},header:{collapsed:"图例",peopleGroupFallback:"民族群体"},prayer:{needsPrayer:"需要祷告",hasPrayer:"已有祷告",fullPrayerCoverage:"全面祷告覆盖"},progress:{title:"进度",covered:"{total} 个民族群体中已有 {covered} 个被祷告覆盖 · {pct}%",short:"{covered} / {total} · {pct}%",segment:"{label} · {count} · {pct}%"},engagement:{needsEngagement:"需要参与",hasEngagement:"已有参与"},adoption:{needsAdoption:"需要认领",hasAdoption:"已有认领"},columns:{upgs:"UUPGs",population:"人口"},footer:{total:"总计"}},Bh={menuComingSoon:"菜单即将推出"},jh={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},Gh={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},Uh={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function jh(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ha=typeof window<"u",To=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Gh=(e,t,o)=>Uh({l:e,k:t,s:o}),Uh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),et=e=>typeof e=="number"&&isFinite(e),Kh=e=>tc(e)==="[object Date]",Eo=e=>tc(e)==="[object RegExp]",za=e=>ke(e)&&Object.keys(e).length===0,bt=Object.assign,Hh=Object.create,je=(e=null)=>Hh(e);let Zl;const _o=()=>Zl||(Zl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:je());function Xl(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Ql(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function zh(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,r,a)=>`${r}="${Ql(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,r,a)=>`${r}='${Ql(a)}'`),/\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 Vh=Object.prototype.hasOwnProperty;function Kt(e,t){return Vh.call(e,t)}const Je=Array.isArray,He=e=>typeof e=="function",ce=e=>typeof e=="string",Ae=e=>typeof e=="boolean",Ee=e=>e!==null&&typeof e=="object",Wh=e=>Ee(e)&&He(e.then)&&He(e.catch),ec=Object.prototype.toString,tc=e=>ec.call(e),ke=e=>{if(!Ee(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Yh=e=>e==null?"":Je(e)||ke(e)&&e.toString===ec?JSON.stringify(e,null,2):String(e);function qh(e,t=""){return e.reduce((o,n,r)=>r===0?o+n:o+t+n,"")}function Va(e){let t=e;return()=>++t}const Wa=e=>!Ee(e)||Je(e);function Ya(e,t){if(Wa(e)||Wa(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:r}=o.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(Ee(n[a])&&!Ee(r[a])&&(r[a]=Array.isArray(n[a])?[]:je()),Wa(r[a])||Wa(n[a])?r[a]=n[a]:o.push({src:n[a],des:r[a]}))})}}/*! + */function Kh(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Va=typeof window<"u",Mo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Hh=(e,t,o)=>zh({l:e,k:t,s:o}),zh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),rt=e=>typeof e=="number"&&isFinite(e),Vh=e=>oc(e)==="[object Date]",No=e=>oc(e)==="[object RegExp]",Wa=e=>Le(e)&&Object.keys(e).length===0,kt=Object.assign,Wh=Object.create,Ge=(e=null)=>Wh(e);let Xl;const wo=()=>Xl||(Xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ge());function Ql(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function ec(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Yh(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,r,a)=>`${r}="${ec(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,r,a)=>`${r}='${ec(a)}'`),/\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 qh=Object.prototype.hasOwnProperty;function Wt(e,t){return qh.call(e,t)}const Qe=Array.isArray,ze=e=>typeof e=="function",de=e=>typeof e=="string",Ee=e=>typeof e=="boolean",Ne=e=>e!==null&&typeof e=="object",Jh=e=>Ne(e)&&ze(e.then)&&ze(e.catch),tc=Object.prototype.toString,oc=e=>tc.call(e),Le=e=>{if(!Ne(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Zh=e=>e==null?"":Qe(e)||Le(e)&&e.toString===tc?JSON.stringify(e,null,2):String(e);function Xh(e,t=""){return e.reduce((o,n,r)=>r===0?o+n:o+t+n,"")}function Ya(e){let t=e;return()=>++t}const qa=e=>!Ne(e)||Qe(e);function Ja(e,t){if(qa(e)||qa(t))throw new Error("Invalid value");const o=[{src:e,des:t}];for(;o.length;){const{src:n,des:r}=o.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(Ne(n[a])&&!Ne(r[a])&&(r[a]=Array.isArray(n[a])?[]:Ge()),qa(r[a])||qa(n[a])?r[a]=n[a]:o.push({src:n[a],des:r[a]}))})}}/*! * message-compiler v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Jh(e,t,o){return{line:e,column:t,offset:o}}function qa(e,t,o){return{start:e,end:t}}const Zh=/\{([0-9a-zA-Z]+)\}/g;function oc(e,...t){return t.length===1&&Xh(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Zh,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const nc=Object.assign,ac=e=>typeof e=="string",Xh=e=>e!==null&&typeof e=="object";function rc(e,t=""){return e.reduce((o,n,r)=>r===0?o+n:o+t+n,"")}const Qr={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Qh={[Qr.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function em(e,t,...o){const n=oc(Qh[e],...o||[]),r={message:String(n),code:e};return t&&(r.location=t),r}const ye={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},tm={[ye.EXPECTED_TOKEN]:"Expected token: '{0}'",[ye.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ye.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ye.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ye.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ye.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ye.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ye.EMPTY_PLACEHOLDER]:"Empty placeholder",[ye.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ye.INVALID_LINKED_FORMAT]:"Invalid linked format",[ye.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ye.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ye.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ye.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ye.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ye.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ln(e,t,o={}){const{domain:n,messages:r,args:a}=o,s=oc((r||tm)[e]||"",...a||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function om(e){throw e}const vo=" ",nm="\r",xt=` -`,am="\u2028",rm="\u2029";function sm(e){const t=e;let o=0,n=1,r=1,a=0;const s=O=>t[O]===nm&&t[O+1]===xt,i=O=>t[O]===xt,l=O=>t[O]===rm,u=O=>t[O]===am,c=O=>s(O)||i(O)||l(O)||u(O),p=()=>o,f=()=>n,_=()=>r,L=()=>a,g=O=>s(O)||l(O)||u(O)?xt:t[O],w=()=>g(o),A=()=>g(o+a);function v(){return a=0,c(o)&&(n++,r=0),s(o)&&o++,o++,r++,t[o]}function m(){return s(o+a)&&a++,a++,t[o+a]}function d(){o=0,n=1,r=1,a=0}function k(O=0){a=O}function $(){const O=o+a;for(;O!==o;)v();a=0}return{index:p,line:f,column:_,peekOffset:L,charAt:g,currentChar:w,currentPeek:A,next:v,peek:m,reset:d,resetPeek:k,skipToPeek:$}}const Po=void 0,im=".",sc="'",lm="tokenizer";function cm(e,t={}){const o=t.location!==!1,n=sm(e),r=()=>n.index(),a=()=>Jh(n.line(),n.column(),n.index()),s=a(),i=r(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function p(h,b,D,...y){const E=u();if(b.column+=D,b.offset+=D,c){const j=o?qa(E.startLoc,b):null,P=ln(h,j,{domain:lm,args:y});c(P)}}function f(h,b,D){h.endLoc=a(),h.currentType=b;const y={type:b};return o&&(y.loc=qa(h.startLoc,h.endLoc)),D!=null&&(y.value=D),y}const _=h=>f(h,14);function L(h,b){return h.currentChar()===b?(h.next(),b):(p(ye.EXPECTED_TOKEN,a(),0,b),"")}function g(h){let b="";for(;h.currentPeek()===vo||h.currentPeek()===xt;)b+=h.currentPeek(),h.peek();return b}function w(h){const b=g(h);return h.skipToPeek(),b}function A(h){if(h===Po)return!1;const b=h.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function v(h){if(h===Po)return!1;const b=h.charCodeAt(0);return b>=48&&b<=57}function m(h,b){const{currentType:D}=b;if(D!==2)return!1;g(h);const y=A(h.currentPeek());return h.resetPeek(),y}function d(h,b){const{currentType:D}=b;if(D!==2)return!1;g(h);const y=h.currentPeek()==="-"?h.peek():h.currentPeek(),E=v(y);return h.resetPeek(),E}function k(h,b){const{currentType:D}=b;if(D!==2)return!1;g(h);const y=h.currentPeek()===sc;return h.resetPeek(),y}function $(h,b){const{currentType:D}=b;if(D!==8)return!1;g(h);const y=h.currentPeek()===".";return h.resetPeek(),y}function O(h,b){const{currentType:D}=b;if(D!==9)return!1;g(h);const y=A(h.currentPeek());return h.resetPeek(),y}function I(h,b){const{currentType:D}=b;if(!(D===8||D===12))return!1;g(h);const y=h.currentPeek()===":";return h.resetPeek(),y}function M(h,b){const{currentType:D}=b;if(D!==10)return!1;const y=()=>{const j=h.currentPeek();return j==="{"?A(h.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===vo||!j?!1:j===xt?(h.peek(),y()):q(h,!1)},E=y();return h.resetPeek(),E}function U(h){g(h);const b=h.currentPeek()==="|";return h.resetPeek(),b}function ee(h){const b=g(h),D=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:D,hasSpace:b.length>0}}function q(h,b=!0){const D=(E=!1,j="",P=!1)=>{const R=h.currentPeek();return R==="{"?j==="%"?!1:E:R==="@"||!R?j==="%"?!0:E:R==="%"?(h.peek(),D(E,"%",!0)):R==="|"?j==="%"||P?!0:!(j===vo||j===xt):R===vo?(h.peek(),D(!0,vo,P)):R===xt?(h.peek(),D(!0,xt,P)):!0},y=D();return b&&h.resetPeek(),y}function se(h,b){const D=h.currentChar();return D===Po?Po:b(D)?(h.next(),D):null}function H(h){const b=h.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function N(h){return se(h,H)}function F(h){const b=h.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function X(h){return se(h,F)}function ie(h){const b=h.charCodeAt(0);return b>=48&&b<=57}function pe(h){return se(h,ie)}function z(h){const b=h.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function de(h){return se(h,z)}function ge(h){let b="",D="";for(;b=pe(h);)D+=b;return D}function Pe(h){w(h);const b=h.currentChar();return b!=="%"&&p(ye.EXPECTED_TOKEN,a(),0,b),h.next(),"%"}function Be(h){let b="";for(;;){const D=h.currentChar();if(D==="{"||D==="}"||D==="@"||D==="|"||!D)break;if(D==="%")if(q(h))b+=D,h.next();else break;else if(D===vo||D===xt)if(q(h))b+=D,h.next();else{if(U(h))break;b+=D,h.next()}else b+=D,h.next()}return b}function st(h){w(h);let b="",D="";for(;b=X(h);)D+=b;return h.currentChar()===Po&&p(ye.UNTERMINATED_CLOSING_BRACE,a(),0),D}function ze(h){w(h);let b="";return h.currentChar()==="-"?(h.next(),b+=`-${ge(h)}`):b+=ge(h),h.currentChar()===Po&&p(ye.UNTERMINATED_CLOSING_BRACE,a(),0),b}function Ve(h){return h!==sc&&h!==xt}function it(h){w(h),L(h,"'");let b="",D="";for(;b=se(h,Ve);)b==="\\"?D+=Ue(h):D+=b;const y=h.currentChar();return y===xt||y===Po?(p(ye.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),y===xt&&(h.next(),L(h,"'")),D):(L(h,"'"),D)}function Ue(h){const b=h.currentChar();switch(b){case"\\":case"'":return h.next(),`\\${b}`;case"u":return Ze(h,b,4);case"U":return Ze(h,b,6);default:return p(ye.UNKNOWN_ESCAPE_SEQUENCE,a(),0,b),""}}function Ze(h,b,D){L(h,b);let y="";for(let E=0;E{const y=h.currentChar();return y==="{"||y==="%"||y==="@"||y==="|"||y==="("||y===")"||!y||y===vo?D:(D+=y,h.next(),b(D))};return b("")}function B(h){w(h);const b=L(h,"|");return w(h),b}function K(h,b){let D=null;switch(h.currentChar()){case"{":return b.braceNest>=1&&p(ye.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),h.next(),D=f(b,2,"{"),w(h),b.braceNest++,D;case"}":return b.braceNest>0&&b.currentType===2&&p(ye.EMPTY_PLACEHOLDER,a(),0),h.next(),D=f(b,3,"}"),b.braceNest--,b.braceNest>0&&w(h),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),D;case"@":return b.braceNest>0&&p(ye.UNTERMINATED_CLOSING_BRACE,a(),0),D=W(h,b)||_(b),b.braceNest=0,D;default:{let E=!0,j=!0,P=!0;if(U(h))return b.braceNest>0&&p(ye.UNTERMINATED_CLOSING_BRACE,a(),0),D=f(b,1,B(h)),b.braceNest=0,b.inLinked=!1,D;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return p(ye.UNTERMINATED_CLOSING_BRACE,a(),0),b.braceNest=0,oe(h,b);if(E=m(h,b))return D=f(b,5,st(h)),w(h),D;if(j=d(h,b))return D=f(b,6,ze(h)),w(h),D;if(P=k(h,b))return D=f(b,7,it(h)),w(h),D;if(!E&&!j&&!P)return D=f(b,13,S(h)),p(ye.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,D.value),w(h),D;break}}return D}function W(h,b){const{currentType:D}=b;let y=null;const E=h.currentChar();switch((D===8||D===9||D===12||D===10)&&(E===xt||E===vo)&&p(ye.INVALID_LINKED_FORMAT,a(),0),E){case"@":return h.next(),y=f(b,8,"@"),b.inLinked=!0,y;case".":return w(h),h.next(),f(b,9,".");case":":return w(h),h.next(),f(b,10,":");default:return U(h)?(y=f(b,1,B(h)),b.braceNest=0,b.inLinked=!1,y):$(h,b)||I(h,b)?(w(h),W(h,b)):O(h,b)?(w(h),f(b,12,C(h))):M(h,b)?(w(h),E==="{"?K(h,b)||y:f(b,11,x(h))):(D===8&&p(ye.INVALID_LINKED_FORMAT,a(),0),b.braceNest=0,b.inLinked=!1,oe(h,b))}}function oe(h,b){let D={type:14};if(b.braceNest>0)return K(h,b)||_(b);if(b.inLinked)return W(h,b)||_(b);switch(h.currentChar()){case"{":return K(h,b)||_(b);case"}":return p(ye.UNBALANCED_CLOSING_BRACE,a(),0),h.next(),f(b,3,"}");case"@":return W(h,b)||_(b);default:{if(U(h))return D=f(b,1,B(h)),b.braceNest=0,b.inLinked=!1,D;const{isModulo:E,hasSpace:j}=ee(h);if(E)return j?f(b,0,Be(h)):f(b,4,Pe(h));if(q(h))return f(b,0,Be(h));break}}return D}function te(){const{currentType:h,offset:b,startLoc:D,endLoc:y}=l;return l.lastType=h,l.lastOffset=b,l.lastStartLoc=D,l.lastEndLoc=y,l.offset=r(),l.startLoc=a(),n.currentChar()===Po?f(l,14):oe(n,l)}return{nextToken:te,currentOffset:r,currentPosition:a,context:u}}const um="parser",dm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pm(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function gm(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function r(m,d,k,$,...O){const I=m.currentPosition();if(I.offset+=$,I.column+=$,o){const M=t?qa(k,I):null,U=ln(d,M,{domain:um,args:O});o(U)}}function a(m,d,k,$,...O){const I=m.currentPosition();if(I.offset+=$,I.column+=$,n){const M=t?qa(k,I):null;n(em(d,M,O))}}function s(m,d,k){const $={type:m};return t&&($.start=d,$.end=d,$.loc={start:k,end:k}),$}function i(m,d,k,$){t&&(m.end=d,m.loc&&(m.loc.end=k))}function l(m,d){const k=m.context(),$=s(3,k.offset,k.startLoc);return $.value=d,i($,m.currentOffset(),m.currentPosition()),$}function u(m,d){const k=m.context(),{lastOffset:$,lastStartLoc:O}=k,I=s(5,$,O);return I.index=parseInt(d,10),m.nextToken(),i(I,m.currentOffset(),m.currentPosition()),I}function c(m,d,k){const $=m.context(),{lastOffset:O,lastStartLoc:I}=$,M=s(4,O,I);return M.key=d,k===!0&&(M.modulo=!0),m.nextToken(),i(M,m.currentOffset(),m.currentPosition()),M}function p(m,d){const k=m.context(),{lastOffset:$,lastStartLoc:O}=k,I=s(9,$,O);return I.value=d.replace(dm,pm),m.nextToken(),i(I,m.currentOffset(),m.currentPosition()),I}function f(m){const d=m.nextToken(),k=m.context(),{lastOffset:$,lastStartLoc:O}=k,I=s(8,$,O);return d.type!==12?(r(m,ye.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),I.value="",i(I,$,O),{nextConsumeToken:d,node:I}):(d.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Ht(d)),I.value=d.value||"",i(I,m.currentOffset(),m.currentPosition()),{node:I})}function _(m,d){const k=m.context(),$=s(7,k.offset,k.startLoc);return $.value=d,i($,m.currentOffset(),m.currentPosition()),$}function L(m){const d=m.context(),k=s(6,d.offset,d.startLoc);let $=m.nextToken();if($.type===9){const O=f(m);k.modifier=O.node,$=O.nextConsumeToken||m.nextToken()}switch($.type!==10&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht($)),$=m.nextToken(),$.type===2&&($=m.nextToken()),$.type){case 11:$.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht($)),k.key=_(m,$.value||"");break;case 5:$.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht($)),k.key=c(m,$.value||"");break;case 6:$.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht($)),k.key=u(m,$.value||"");break;case 7:$.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht($)),k.key=p(m,$.value||"");break;default:{r(m,ye.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const O=m.context(),I=s(7,O.offset,O.startLoc);return I.value="",i(I,O.offset,O.startLoc),k.key=I,i(k,O.offset,O.startLoc),{nextConsumeToken:$,node:k}}}return i(k,m.currentOffset(),m.currentPosition()),{node:k}}function g(m){const d=m.context(),k=d.currentType===1?m.currentOffset():d.offset,$=d.currentType===1?d.endLoc:d.startLoc,O=s(2,k,$);O.items=[];let I=null,M=null;do{const q=I||m.nextToken();switch(I=null,q.type){case 0:q.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht(q)),O.items.push(l(m,q.value||""));break;case 6:q.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht(q)),O.items.push(u(m,q.value||""));break;case 4:M=!0;break;case 5:q.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht(q)),O.items.push(c(m,q.value||"",!!M)),M&&(a(m,Qr.USE_MODULO_SYNTAX,d.lastStartLoc,0,Ht(q)),M=null);break;case 7:q.value==null&&r(m,ye.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,Ht(q)),O.items.push(p(m,q.value||""));break;case 8:{const se=L(m);O.items.push(se.node),I=se.nextConsumeToken||null;break}}}while(d.currentType!==14&&d.currentType!==1);const U=d.currentType===1?d.lastOffset:m.currentOffset(),ee=d.currentType===1?d.lastEndLoc:m.currentPosition();return i(O,U,ee),O}function w(m,d,k,$){const O=m.context();let I=$.items.length===0;const M=s(1,d,k);M.cases=[],M.cases.push($);do{const U=g(m);I||(I=U.items.length===0),M.cases.push(U)}while(O.currentType!==14);return I&&r(m,ye.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),i(M,m.currentOffset(),m.currentPosition()),M}function A(m){const d=m.context(),{offset:k,startLoc:$}=d,O=g(m);return d.currentType===14?O:w(m,k,$,O)}function v(m){const d=cm(m,nc({},e)),k=d.context(),$=s(0,k.offset,k.startLoc);return t&&$.loc&&($.loc.source=m),$.body=A(d),e.onCacheKey&&($.cacheKey=e.onCacheKey(m)),k.currentType!==14&&r(d,ye.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,m[k.offset]||""),i($,d.currentOffset(),d.currentPosition()),$}return{parse:v}}function Ht(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 fm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function ic(e,t){for(let o=0;olc(o)),e}function lc(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;os;function l(g,w){s.code+=g}function u(g,w=!0){const A=w?n:"";l(r?A+" ".repeat(g):A)}function c(g=!0){const w=++s.indentLevel;g&&u(w)}function p(g=!0){const w=--s.indentLevel;g&&u(w)}function f(){u(s.indentLevel)}return{context:i,push:l,indent:c,deindent:p,newline:f,helper:g=>`_${g}`,needIndent:()=>s.needIndent}}function vm(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),un(e,t.key),t.modifier?(e.push(", "),un(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function km(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const r=t.items.length;for(let a=0;a1){e.push(`${o("plural")}([`),e.indent(n());const r=t.cases.length;for(let a=0;a{const o=ac(t.mode)?t.mode:"normal",n=ac(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` -`,a=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=_m(e,{filename:n,breakLineCode:r,needIndent:a});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),s.length>0&&(i.push(`const { ${rc(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),i.newline()),i.push("return "),un(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:l,map:u}=i.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function Am(e,t={}){const o=nc({},t),n=!!o.jit,r=!!o.minify,a=o.optimize==null?!0:o.optimize,i=gm(o).parse(e);return n?(a&&mm(i),r&&cn(i),{ast:i,code:""}):(hm(i,o),Sm(i,o))}/*! + */function Qh(e,t,o){return{line:e,column:t,offset:o}}function Za(e,t,o){return{start:e,end:t}}const em=/\{([0-9a-zA-Z]+)\}/g;function nc(e,...t){return t.length===1&&tm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(em,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const ac=Object.assign,rc=e=>typeof e=="string",tm=e=>e!==null&&typeof e=="object";function sc(e,t=""){return e.reduce((o,n,r)=>r===0?o+n:o+t+n,"")}const es={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},om={[es.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function nm(e,t,...o){const n=nc(om[e],...o||[]),r={message:String(n),code:e};return t&&(r.location=t),r}const xe={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},am={[xe.EXPECTED_TOKEN]:"Expected token: '{0}'",[xe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[xe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[xe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[xe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[xe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[xe.EMPTY_PLACEHOLDER]:"Empty placeholder",[xe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[xe.INVALID_LINKED_FORMAT]:"Invalid linked format",[xe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[xe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[xe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[xe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[xe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[xe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function pn(e,t,o={}){const{domain:n,messages:r,args:a}=o,s=nc((r||am)[e]||"",...a||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function rm(e){throw e}const xo=" ",sm="\r",Pt=` +`,im="\u2028",lm="\u2029";function cm(e){const t=e;let o=0,n=1,r=1,a=0;const s=M=>t[M]===sm&&t[M+1]===Pt,i=M=>t[M]===Pt,l=M=>t[M]===lm,c=M=>t[M]===im,u=M=>s(M)||i(M)||l(M)||c(M),d=()=>o,f=()=>n,_=()=>r,w=()=>a,b=M=>s(M)||l(M)||c(M)?Pt:t[M],v=()=>b(o),x=()=>b(o+a);function k(){return a=0,u(o)&&(n++,r=0),s(o)&&o++,o++,r++,t[o]}function m(){return s(o+a)&&a++,a++,t[o+a]}function g(){o=0,n=1,r=1,a=0}function y(M=0){a=M}function A(){const M=o+a;for(;M!==o;)k();a=0}return{index:d,line:f,column:_,peekOffset:w,charAt:b,currentChar:v,currentPeek:x,next:k,peek:m,reset:g,resetPeek:y,skipToPeek:A}}const Io=void 0,um=".",ic="'",dm="tokenizer";function pm(e,t={}){const o=t.location!==!1,n=cm(e),r=()=>n.index(),a=()=>Qh(n.line(),n.column(),n.index()),s=a(),i=r(),l={currentType:14,offset:i,startLoc:s,endLoc:s,lastType:14,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(p,h,I,...K){const re=c();if(h.column+=I,h.offset+=I,u){const ne=o?Za(re.startLoc,h):null,O=pn(p,ne,{domain:dm,args:K});u(O)}}function f(p,h,I){p.endLoc=a(),p.currentType=h;const K={type:h};return o&&(K.loc=Za(p.startLoc,p.endLoc)),I!=null&&(K.value=I),K}const _=p=>f(p,14);function w(p,h){return p.currentChar()===h?(p.next(),h):(d(xe.EXPECTED_TOKEN,a(),0,h),"")}function b(p){let h="";for(;p.currentPeek()===xo||p.currentPeek()===Pt;)h+=p.currentPeek(),p.peek();return h}function v(p){const h=b(p);return p.skipToPeek(),h}function x(p){if(p===Io)return!1;const h=p.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function k(p){if(p===Io)return!1;const h=p.charCodeAt(0);return h>=48&&h<=57}function m(p,h){const{currentType:I}=h;if(I!==2)return!1;b(p);const K=x(p.currentPeek());return p.resetPeek(),K}function g(p,h){const{currentType:I}=h;if(I!==2)return!1;b(p);const K=p.currentPeek()==="-"?p.peek():p.currentPeek(),re=k(K);return p.resetPeek(),re}function y(p,h){const{currentType:I}=h;if(I!==2)return!1;b(p);const K=p.currentPeek()===ic;return p.resetPeek(),K}function A(p,h){const{currentType:I}=h;if(I!==8)return!1;b(p);const K=p.currentPeek()===".";return p.resetPeek(),K}function M(p,h){const{currentType:I}=h;if(I!==9)return!1;b(p);const K=x(p.currentPeek());return p.resetPeek(),K}function N(p,h){const{currentType:I}=h;if(!(I===8||I===12))return!1;b(p);const K=p.currentPeek()===":";return p.resetPeek(),K}function P(p,h){const{currentType:I}=h;if(I!==10)return!1;const K=()=>{const ne=p.currentPeek();return ne==="{"?x(p.peek()):ne==="@"||ne==="%"||ne==="|"||ne===":"||ne==="."||ne===xo||!ne?!1:ne===Pt?(p.peek(),K()):Z(p,!1)},re=K();return p.resetPeek(),re}function F(p){b(p);const h=p.currentPeek()==="|";return p.resetPeek(),h}function W(p){const h=b(p),I=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:I,hasSpace:h.length>0}}function Z(p,h=!0){const I=(re=!1,ne="",O=!1)=>{const V=p.currentPeek();return V==="{"?ne==="%"?!1:re:V==="@"||!V?ne==="%"?!0:re:V==="%"?(p.peek(),I(re,"%",!0)):V==="|"?ne==="%"||O?!0:!(ne===xo||ne===Pt):V===xo?(p.peek(),I(!0,xo,O)):V===Pt?(p.peek(),I(!0,Pt,O)):!0},K=I();return h&&p.resetPeek(),K}function ae(p,h){const I=p.currentChar();return I===Io?Io:h(I)?(p.next(),I):null}function G(p){const h=p.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36}function T(p){return ae(p,G)}function R(p){const h=p.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36||h===45}function U(p){return ae(p,R)}function ie(p){const h=p.charCodeAt(0);return h>=48&&h<=57}function _e(p){return ae(p,ie)}function H(p){const h=p.charCodeAt(0);return h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102}function fe(p){return ae(p,H)}function he(p){let h="",I="";for(;h=_e(p);)I+=h;return I}function Ue(p){v(p);const h=p.currentChar();return h!=="%"&&d(xe.EXPECTED_TOKEN,a(),0,h),p.next(),"%"}function Ve(p){let h="";for(;;){const I=p.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I==="%")if(Z(p))h+=I,p.next();else break;else if(I===xo||I===Pt)if(Z(p))h+=I,p.next();else{if(F(p))break;h+=I,p.next()}else h+=I,p.next()}return h}function et(p){v(p);let h="",I="";for(;h=U(p);)I+=h;return p.currentChar()===Io&&d(xe.UNTERMINATED_CLOSING_BRACE,a(),0),I}function je(p){v(p);let h="";return p.currentChar()==="-"?(p.next(),h+=`-${he(p)}`):h+=he(p),p.currentChar()===Io&&d(xe.UNTERMINATED_CLOSING_BRACE,a(),0),h}function st(p){return p!==ic&&p!==Pt}function tt(p){v(p),w(p,"'");let h="",I="";for(;h=ae(p,st);)h==="\\"?I+=bt(p):I+=h;const K=p.currentChar();return K===Pt||K===Io?(d(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),K===Pt&&(p.next(),w(p,"'")),I):(w(p,"'"),I)}function bt(p){const h=p.currentChar();switch(h){case"\\":case"'":return p.next(),`\\${h}`;case"u":return We(p,h,4);case"U":return We(p,h,6);default:return d(xe.UNKNOWN_ESCAPE_SEQUENCE,a(),0,h),""}}function We(p,h,I){w(p,h);let K="";for(let re=0;re{const K=p.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===xo?I:(I+=K,p.next(),h(I))};return h("")}function B(p){v(p);const h=w(p,"|");return v(p),h}function Y(p,h){let I=null;switch(p.currentChar()){case"{":return h.braceNest>=1&&d(xe.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),p.next(),I=f(h,2,"{"),v(p),h.braceNest++,I;case"}":return h.braceNest>0&&h.currentType===2&&d(xe.EMPTY_PLACEHOLDER,a(),0),p.next(),I=f(h,3,"}"),h.braceNest--,h.braceNest>0&&v(p),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),I;case"@":return h.braceNest>0&&d(xe.UNTERMINATED_CLOSING_BRACE,a(),0),I=Q(p,h)||_(h),h.braceNest=0,I;default:{let re=!0,ne=!0,O=!0;if(F(p))return h.braceNest>0&&d(xe.UNTERMINATED_CLOSING_BRACE,a(),0),I=f(h,1,B(p)),h.braceNest=0,h.inLinked=!1,I;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return d(xe.UNTERMINATED_CLOSING_BRACE,a(),0),h.braceNest=0,X(p,h);if(re=m(p,h))return I=f(h,5,et(p)),v(p),I;if(ne=g(p,h))return I=f(h,6,je(p)),v(p),I;if(O=y(p,h))return I=f(h,7,tt(p)),v(p),I;if(!re&&!ne&&!O)return I=f(h,13,S(p)),d(xe.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,I.value),v(p),I;break}}return I}function Q(p,h){const{currentType:I}=h;let K=null;const re=p.currentChar();switch((I===8||I===9||I===12||I===10)&&(re===Pt||re===xo)&&d(xe.INVALID_LINKED_FORMAT,a(),0),re){case"@":return p.next(),K=f(h,8,"@"),h.inLinked=!0,K;case".":return v(p),p.next(),f(h,9,".");case":":return v(p),p.next(),f(h,10,":");default:return F(p)?(K=f(h,1,B(p)),h.braceNest=0,h.inLinked=!1,K):A(p,h)||N(p,h)?(v(p),Q(p,h)):M(p,h)?(v(p),f(h,12,E(p))):P(p,h)?(v(p),re==="{"?Y(p,h)||K:f(h,11,$(p))):(I===8&&d(xe.INVALID_LINKED_FORMAT,a(),0),h.braceNest=0,h.inLinked=!1,X(p,h))}}function X(p,h){let I={type:14};if(h.braceNest>0)return Y(p,h)||_(h);if(h.inLinked)return Q(p,h)||_(h);switch(p.currentChar()){case"{":return Y(p,h)||_(h);case"}":return d(xe.UNBALANCED_CLOSING_BRACE,a(),0),p.next(),f(h,3,"}");case"@":return Q(p,h)||_(h);default:{if(F(p))return I=f(h,1,B(p)),h.braceNest=0,h.inLinked=!1,I;const{isModulo:re,hasSpace:ne}=W(p);if(re)return ne?f(h,0,Ve(p)):f(h,4,Ue(p));if(Z(p))return f(h,0,Ve(p));break}}return I}function q(){const{currentType:p,offset:h,startLoc:I,endLoc:K}=l;return l.lastType=p,l.lastOffset=h,l.lastStartLoc=I,l.lastEndLoc=K,l.offset=r(),l.startLoc=a(),n.currentChar()===Io?f(l,14):X(n,l)}return{nextToken:q,currentOffset:r,currentPosition:a,context:c}}const gm="parser",fm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function hm(e,t,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||o,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function mm(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function r(m,g,y,A,...M){const N=m.currentPosition();if(N.offset+=A,N.column+=A,o){const P=t?Za(y,N):null,F=pn(g,P,{domain:gm,args:M});o(F)}}function a(m,g,y,A,...M){const N=m.currentPosition();if(N.offset+=A,N.column+=A,n){const P=t?Za(y,N):null;n(nm(g,P,M))}}function s(m,g,y){const A={type:m};return t&&(A.start=g,A.end=g,A.loc={start:y,end:y}),A}function i(m,g,y,A){t&&(m.end=g,m.loc&&(m.loc.end=y))}function l(m,g){const y=m.context(),A=s(3,y.offset,y.startLoc);return A.value=g,i(A,m.currentOffset(),m.currentPosition()),A}function c(m,g){const y=m.context(),{lastOffset:A,lastStartLoc:M}=y,N=s(5,A,M);return N.index=parseInt(g,10),m.nextToken(),i(N,m.currentOffset(),m.currentPosition()),N}function u(m,g,y){const A=m.context(),{lastOffset:M,lastStartLoc:N}=A,P=s(4,M,N);return P.key=g,y===!0&&(P.modulo=!0),m.nextToken(),i(P,m.currentOffset(),m.currentPosition()),P}function d(m,g){const y=m.context(),{lastOffset:A,lastStartLoc:M}=y,N=s(9,A,M);return N.value=g.replace(fm,hm),m.nextToken(),i(N,m.currentOffset(),m.currentPosition()),N}function f(m){const g=m.nextToken(),y=m.context(),{lastOffset:A,lastStartLoc:M}=y,N=s(8,A,M);return g.type!==12?(r(m,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),N.value="",i(N,A,M),{nextConsumeToken:g,node:N}):(g.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Yt(g)),N.value=g.value||"",i(N,m.currentOffset(),m.currentPosition()),{node:N})}function _(m,g){const y=m.context(),A=s(7,y.offset,y.startLoc);return A.value=g,i(A,m.currentOffset(),m.currentPosition()),A}function w(m){const g=m.context(),y=s(6,g.offset,g.startLoc);let A=m.nextToken();if(A.type===9){const M=f(m);y.modifier=M.node,A=M.nextConsumeToken||m.nextToken()}switch(A.type!==10&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(A)),A=m.nextToken(),A.type===2&&(A=m.nextToken()),A.type){case 11:A.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(A)),y.key=_(m,A.value||"");break;case 5:A.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(A)),y.key=u(m,A.value||"");break;case 6:A.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(A)),y.key=c(m,A.value||"");break;case 7:A.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(A)),y.key=d(m,A.value||"");break;default:{r(m,xe.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const M=m.context(),N=s(7,M.offset,M.startLoc);return N.value="",i(N,M.offset,M.startLoc),y.key=N,i(y,M.offset,M.startLoc),{nextConsumeToken:A,node:y}}}return i(y,m.currentOffset(),m.currentPosition()),{node:y}}function b(m){const g=m.context(),y=g.currentType===1?m.currentOffset():g.offset,A=g.currentType===1?g.endLoc:g.startLoc,M=s(2,y,A);M.items=[];let N=null,P=null;do{const Z=N||m.nextToken();switch(N=null,Z.type){case 0:Z.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(Z)),M.items.push(l(m,Z.value||""));break;case 6:Z.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(Z)),M.items.push(c(m,Z.value||""));break;case 4:P=!0;break;case 5:Z.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(Z)),M.items.push(u(m,Z.value||"",!!P)),P&&(a(m,es.USE_MODULO_SYNTAX,g.lastStartLoc,0,Yt(Z)),P=null);break;case 7:Z.value==null&&r(m,xe.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Yt(Z)),M.items.push(d(m,Z.value||""));break;case 8:{const ae=w(m);M.items.push(ae.node),N=ae.nextConsumeToken||null;break}}}while(g.currentType!==14&&g.currentType!==1);const F=g.currentType===1?g.lastOffset:m.currentOffset(),W=g.currentType===1?g.lastEndLoc:m.currentPosition();return i(M,F,W),M}function v(m,g,y,A){const M=m.context();let N=A.items.length===0;const P=s(1,g,y);P.cases=[],P.cases.push(A);do{const F=b(m);N||(N=F.items.length===0),P.cases.push(F)}while(M.currentType!==14);return N&&r(m,xe.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),i(P,m.currentOffset(),m.currentPosition()),P}function x(m){const g=m.context(),{offset:y,startLoc:A}=g,M=b(m);return g.currentType===14?M:v(m,y,A,M)}function k(m){const g=pm(m,ac({},e)),y=g.context(),A=s(0,y.offset,y.startLoc);return t&&A.loc&&(A.loc.source=m),A.body=x(g),e.onCacheKey&&(A.cacheKey=e.onCacheKey(m)),y.currentType!==14&&r(g,xe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,m[y.offset]||""),i(A,g.currentOffset(),g.currentPosition()),A}return{parse:k}}function Yt(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 bm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function lc(e,t){for(let o=0;occ(o)),e}function cc(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;os;function l(b,v){s.code+=b}function c(b,v=!0){const x=v?n:"";l(r?x+" ".repeat(b):x)}function u(b=!0){const v=++s.indentLevel;b&&c(v)}function d(b=!0){const v=--s.indentLevel;b&&c(v)}function f(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:f,helper:b=>`_${b}`,needIndent:()=>s.needIndent}}function xm(e,t){const{helper:o}=e;e.push(`${o("linked")}(`),fn(e,t.key),t.modifier?(e.push(", "),fn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Sm(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const r=t.items.length;for(let a=0;a1){e.push(`${o("plural")}([`),e.indent(n());const r=t.cases.length;for(let a=0;a{const o=rc(t.mode)?t.mode:"normal",n=rc(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,a=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=wm(e,{filename:n,breakLineCode:r,needIndent:a});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),s.length>0&&(i.push(`const { ${sc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),fn(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Cm(e,t={}){const o=ac({},t),n=!!o.jit,r=!!o.minify,a=o.optimize==null?!0:o.optimize,i=mm(o).parse(e);return n?(a&&_m(i),r&&gn(i),{ast:i,code:""}):(ym(i,o),$m(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Lm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_o().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(_o().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(_o().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ao(e){return Ee(e)&&ts(e)===0&&(Kt(e,"b")||Kt(e,"body"))}const cc=["b","body"];function $m(e){return Mo(e,cc)}const uc=["c","cases"];function Cm(e){return Mo(e,uc,[])}const dc=["s","static"];function Tm(e){return Mo(e,dc)}const pc=["i","items"];function Em(e){return Mo(e,pc,[])}const gc=["t","type"];function ts(e){return Mo(e,gc)}const fc=["v","value"];function Ja(e,t){const o=Mo(e,fc);if(o!=null)return o;throw Kn(t)}const hc=["m","modifier"];function Pm(e){return Mo(e,hc)}const mc=["k","key"];function Mm(e){const t=Mo(e,mc);if(t)return t;throw Kn(6)}function Mo(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,n=4,f[0]();else{if(r=0,s===void 0||(s=Om(s),s===!1))return!1;f[1]()}};function _(){const L=e[o+1];if(n===5&&L==="'"||n===6&&L==='"')return o++,i="\\"+L,f[0](),!0}for(;n!==null;)if(o++,a=e[o],!(a==="\\"&&_())){if(l=Fm(a),p=No[n],u=p[l]||p.l||8,u===8||(n=u[0],u[1]!==void 0&&(c=f[u[1]],c&&(i=a,c()===!1))))return;if(n===7)return t}}const yc=new Map;function Bm(e,t){return Ee(e)?e[t]:null}function jm(e,t){if(!Ee(e))return null;let o=yc.get(t);if(o||(o=Dm(t),o&&yc.set(t,o)),!o)return null;const n=o.length;let r=e,a=0;for(;ae,Um=e=>"",Km="text",Hm=e=>e.length===0?"":qh(e),zm=Yh;function _c(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Vm(e){const t=et(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(et(e.named.count)||et(e.named.n))?et(e.named.count)?e.named.count:et(e.named.n)?e.named.n:t:t}function Wm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ym(e={}){const t=e.locale,o=Vm(e),n=Ee(e.pluralRules)&&ce(t)&&He(e.pluralRules[t])?e.pluralRules[t]:_c,r=Ee(e.pluralRules)&&ce(t)&&He(e.pluralRules[t])?_c:void 0,a=A=>A[n(o,A.length,r)],s=e.list||[],i=A=>s[A],l=e.named||je();et(e.pluralIndex)&&Wm(o,l);const u=A=>l[A];function c(A){const v=He(e.messages)?e.messages(A):Ee(e.messages)?e.messages[A]:!1;return v||(e.parent?e.parent.message(A):Um)}const p=A=>e.modifiers?e.modifiers[A]:Gm,f=ke(e.processor)&&He(e.processor.normalize)?e.processor.normalize:Hm,_=ke(e.processor)&&He(e.processor.interpolate)?e.processor.interpolate:zm,L=ke(e.processor)&&ce(e.processor.type)?e.processor.type:Km,w={list:i,named:u,plural:a,linked:(A,...v)=>{const[m,d]=v;let k="text",$="";v.length===1?Ee(m)?($=m.modifier||$,k=m.type||k):ce(m)&&($=m||$):v.length===2&&(ce(m)&&($=m||$),ce(d)&&(k=d||k));const O=c(A)(w),I=k==="vnode"&&Je(O)&&$?O[0]:O;return $?p($)(I,k):I},message:c,type:L,interpolate:_,normalize:f,values:bt(je(),s,l)};return w}let Hn=null;function qm(e){Hn=e}function Jm(e,t,o){Hn&&Hn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const Zm=Xm("function:translate");function Xm(e){return t=>Hn&&Hn.emit(e,t)}const Qm=Qr.__EXTEND_POINT__,Ko=Va(Qm),eb={FALLBACK_TO_TRANSLATE:Ko(),CANNOT_FORMAT_NUMBER:Ko(),FALLBACK_TO_NUMBER_FORMAT:Ko(),CANNOT_FORMAT_DATE:Ko(),FALLBACK_TO_DATE_FORMAT:Ko(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ko(),__EXTEND_POINT__:Ko()},vc=ye.__EXTEND_POINT__,Ho=Va(vc),zt={INVALID_ARGUMENT:vc,INVALID_DATE_ARGUMENT:Ho(),INVALID_ISO_DATE_ARGUMENT:Ho(),NOT_SUPPORT_NON_STRING_MESSAGE:Ho(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ho(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ho(),NOT_SUPPORT_LOCALE_TYPE:Ho(),__EXTEND_POINT__:Ho()};function ro(e){return ln(e,null,void 0)}function os(e,t){return t.locale!=null?kc(t.locale):kc(e.locale)}let ns;function kc(e){if(ce(e))return e;if(He(e)){if(e.resolvedOnce&&ns!=null)return ns;if(e.constructor.name==="Function"){const t=e();if(Wh(t))throw ro(zt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ns=t}else throw ro(zt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ro(zt.NOT_SUPPORT_LOCALE_TYPE)}function tb(e,t,o){return[...new Set([o,...Je(t)?t:Ee(t)?Object.keys(t):ce(t)?[t]:[o]])]}function wc(e,t,o){const n=ce(o)?o:dn,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(n);if(!a){a=[];let s=[o];for(;Je(s);)s=xc(a,s,t);const i=Je(t)||!ke(t)?t:t.default?t.default:null;s=ce(i)?[i]:i,Je(s)&&xc(a,s,!1),r.__localeChainCache.set(n,a)}return a}function xc(e,t,o){let n=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function rb(){return{upper:(e,t)=>t==="text"&&ce(e)?e.toUpperCase():t==="vnode"&&Ee(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ce(e)?e.toLowerCase():t==="vnode"&&Ee(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ce(e)?Ac(e):t==="vnode"&&Ee(e)&&"__v_isVNode"in e?Ac(e.children):e}}let Lc;function $c(e){Lc=e}let Cc;function sb(e){Cc=e}let Tc;function ib(e){Tc=e}let Ec=null;const lb=e=>{Ec=e},cb=()=>Ec;let Pc=null;const Mc=e=>{Pc=e},ub=()=>Pc;let Nc=0;function db(e={}){const t=He(e.onWarn)?e.onWarn:jh,o=ce(e.version)?e.version:ab,n=ce(e.locale)||He(e.locale)?e.locale:dn,r=He(n)?dn:n,a=Je(e.fallbackLocale)||ke(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,s=ke(e.messages)?e.messages:as(r),i=ke(e.datetimeFormats)?e.datetimeFormats:as(r),l=ke(e.numberFormats)?e.numberFormats:as(r),u=bt(je(),e.modifiers,rb()),c=e.pluralRules||je(),p=He(e.missing)?e.missing:null,f=Ae(e.missingWarn)||Eo(e.missingWarn)?e.missingWarn:!0,_=Ae(e.fallbackWarn)||Eo(e.fallbackWarn)?e.fallbackWarn:!0,L=!!e.fallbackFormat,g=!!e.unresolving,w=He(e.postTranslation)?e.postTranslation:null,A=ke(e.processor)?e.processor:null,v=Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,d=He(e.messageCompiler)?e.messageCompiler:Lc,k=He(e.messageResolver)?e.messageResolver:Cc||Bm,$=He(e.localeFallbacker)?e.localeFallbacker:Tc||tb,O=Ee(e.fallbackContext)?e.fallbackContext:void 0,I=e,M=Ee(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,U=Ee(I.__numberFormatters)?I.__numberFormatters:new Map,ee=Ee(I.__meta)?I.__meta:{};Nc++;const q={version:o,cid:Nc,locale:n,fallbackLocale:a,messages:s,modifiers:u,pluralRules:c,missing:p,missingWarn:f,fallbackWarn:_,fallbackFormat:L,unresolving:g,postTranslation:w,processor:A,warnHtmlMessage:v,escapeParameter:m,messageCompiler:d,messageResolver:k,localeFallbacker:$,fallbackContext:O,onWarn:t,__meta:ee};return q.datetimeFormats=i,q.numberFormats=l,q.__datetimeFormatters=M,q.__numberFormatters=U,__INTLIFY_PROD_DEVTOOLS__&&Jm(q,o,ee),q}const as=e=>({[e]:je()});function rs(e,t,o,n,r){const{missing:a,onWarn:s}=e;if(a!==null){const i=a(e,o,t,r);return ce(i)?i:t}else return t}function zn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function pb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function gb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nfb(o,e)}function fb(e,t){const o=$m(t);if(o==null)throw Kn(0);if(ts(o)===1){const a=Cm(o);return e.plural(a.reduce((s,i)=>[...s,Ic(e,i)],[]))}else return Ic(e,o)}function Ic(e,t){const o=Tm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Em(t).reduce((r,a)=>[...r,is(e,a)],[]);return e.normalize(n)}}function is(e,t){const o=ts(t);switch(o){case 3:return Ja(t,o);case 9:return Ja(t,o);case 4:{const n=t;if(Kt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Kt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Kn(o)}case 5:{const n=t;if(Kt(n,"i")&&et(n.i))return e.interpolate(e.list(n.i));if(Kt(n,"index")&&et(n.index))return e.interpolate(e.list(n.index));throw Kn(o)}case 6:{const n=t,r=Pm(n),a=Mm(n);return e.linked(is(e,a),r?is(e,r):void 0,e.type)}case 7:return Ja(t,o);case 8:return Ja(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Rc=e=>e;let pn=je();function Fc(e,t={}){let o=!1;const n=t.onError||om;return t.onError=r=>{o=!0,n(r)},{...Am(e,t),detectError:o}}const hb=(e,t)=>{if(!ce(e))throw ro(zt.NOT_SUPPORT_NON_STRING_MESSAGE);{Ae(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Rc)(e),r=pn[n];if(r)return r;const{code:a,detectError:s}=Fc(e,t),i=new Function(`return ${a}`)();return s?i:pn[n]=i}};function mb(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&ce(e)){Ae(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Rc)(e),r=pn[n];if(r)return r;const{ast:a,detectError:s}=Fc(e,{...t,location:!1,jit:!0}),i=ss(a);return s?i:pn[n]=i}else{const o=e.cacheKey;if(o){const n=pn[o];return n||(pn[o]=ss(e))}else return ss(e)}}const Oc=()=>"",Ot=e=>He(e);function Dc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:r,messageCompiler:a,fallbackLocale:s,messages:i}=e,[l,u]=ls(...t),c=Ae(u.missingWarn)?u.missingWarn:e.missingWarn,p=Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=Ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,_=!!u.resolvedMessage,L=ce(u.default)||Ae(u.default)?Ae(u.default)?a?l:()=>l:u.default:o?a?l:()=>l:"",g=o||L!=="",w=os(e,u);f&&bb(u);let[A,v,m]=_?[l,w,i[w]||je()]:Bc(e,l,w,s,p,c),d=A,k=l;if(!_&&!(ce(d)||ao(d)||Ot(d))&&g&&(d=L,k=d),!_&&(!(ce(d)||ao(d)||Ot(d))||!ce(v)))return r?Za:l;let $=!1;const O=()=>{$=!0},I=Ot(d)?d:jc(e,l,v,d,k,O);if($)return d;const M=vb(e,v,m,u),U=Ym(M),ee=yb(e,I,U);let q=n?n(ee,l):ee;if(f&&ce(q)&&(q=zh(q)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ce(l)?l:Ot(d)?d.key:"",locale:v||(Ot(d)?d.locale:""),format:ce(d)?d:Ot(d)?d.source:"",message:q};se.meta=bt({},e.__meta,cb()||{}),Zm(se)}return q}function bb(e){Je(e.list)?e.list=e.list.map(t=>ce(t)?Xl(t):t):Ee(e.named)&&Object.keys(e.named).forEach(t=>{ce(e.named[t])&&(e.named[t]=Xl(e.named[t]))})}function Bc(e,t,o,n,r,a){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:u}=e,c=u(e,n,o);let p=je(),f,_=null;const L="translate";for(let g=0;gn;return u.locale=o,u.key=t,u}const l=s(n,_b(e,o,r,n,i,a));return l.locale=o,l.key=t,l.source=n,l}function yb(e,t,o){return t(o)}function ls(...e){const[t,o,n]=e,r=je();if(!ce(t)&&!et(t)&&!Ot(t)&&!ao(t))throw ro(zt.INVALID_ARGUMENT);const a=et(t)?String(t):(Ot(t),t);return et(o)?r.plural=o:ce(o)?r.default=o:ke(o)&&!za(o)?r.named=o:Je(o)&&(r.list=o),et(n)?r.plural=n:ce(n)?r.default=n:ke(n)&&bt(r,n),[a,r]}function _b(e,t,o,n,r,a){return{locale:t,key:o,warnHtmlMessage:r,onError:s=>{throw a&&a(s),s},onCacheKey:s=>Gh(t,o,s)}}function vb(e,t,o,n){const{modifiers:r,pluralRules:a,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,f={locale:t,modifiers:r,pluralRules:a,messages:_=>{let L=s(o,_);if(L==null&&c){const[,,g]=Bc(c,_,t,i,l,u);L=s(g,_)}if(ce(L)||ao(L)){let g=!1;const A=jc(e,_,t,L,_,()=>{g=!0});return g?Oc:A}else return Ot(L)?L:Oc}};return e.processor&&(f.processor=e.processor),n.list&&(f.list=n.list),n.named&&(f.named=n.named),et(n.plural)&&(f.pluralIndex=n.plural),f}function Gc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:r,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,u,c,p]=cs(...t),f=Ae(c.missingWarn)?c.missingWarn:e.missingWarn;Ae(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const _=!!c.part,L=os(e,c),g=s(e,r,L);if(!ce(l)||l==="")return new Intl.DateTimeFormat(L,p).format(u);let w={},A,v=null;const m="datetime format";for(let $=0;${Uc.includes(l)?s[l]=o[l]:a[l]=o[l]}),ce(n)?a.locale=n:ke(n)&&(s=n),ke(r)&&(s=r),[a.key||"",i,a,s]}function Kc(e,t,o){const n=e;for(const r in o){const a=`${t}__${r}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function Hc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:r,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,u,c,p]=us(...t),f=Ae(c.missingWarn)?c.missingWarn:e.missingWarn;Ae(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const _=!!c.part,L=os(e,c),g=s(e,r,L);if(!ce(l)||l==="")return new Intl.NumberFormat(L,p).format(u);let w={},A,v=null;const m="number format";for(let $=0;${zc.includes(l)?s[l]=o[l]:a[l]=o[l]}),ce(n)?a.locale=n:ke(n)&&(s=n),ke(r)&&(s=r),[a.key||"",i,a,s]}function Vc(e,t,o){const n=e;for(const r in o){const a=`${t}__${r}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Lm();/*! + */function Tm(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function io(e){return Ne(e)&&os(e)===0&&(Wt(e,"b")||Wt(e,"body"))}const uc=["b","body"];function Em(e){return Ro(e,uc)}const dc=["c","cases"];function Pm(e){return Ro(e,dc,[])}const pc=["s","static"];function Mm(e){return Ro(e,pc)}const gc=["i","items"];function Nm(e){return Ro(e,gc,[])}const fc=["t","type"];function os(e){return Ro(e,fc)}const hc=["v","value"];function Xa(e,t){const o=Ro(e,hc);if(o!=null)return o;throw qn(t)}const mc=["m","modifier"];function Im(e){return Ro(e,mc)}const bc=["k","key"];function Rm(e){const t=Ro(e,bc);if(t)return t;throw qn(6)}function Ro(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,n=4,f[0]();else{if(r=0,s===void 0||(s=jm(s),s===!1))return!1;f[1]()}};function _(){const w=e[o+1];if(n===5&&w==="'"||n===6&&w==='"')return o++,i="\\"+w,f[0](),!0}for(;n!==null;)if(o++,a=e[o],!(a==="\\"&&_())){if(l=Bm(a),d=Fo[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(i=a,u()===!1))))return;if(n===7)return t}}const _c=new Map;function Um(e,t){return Ne(e)?e[t]:null}function Km(e,t){if(!Ne(e))return null;let o=_c.get(t);if(o||(o=Gm(t),o&&_c.set(t,o)),!o)return null;const n=o.length;let r=e,a=0;for(;ae,zm=e=>"",Vm="text",Wm=e=>e.length===0?"":Xh(e),Ym=Zh;function vc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function qm(e){const t=rt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(rt(e.named.count)||rt(e.named.n))?rt(e.named.count)?e.named.count:rt(e.named.n)?e.named.n:t:t}function Jm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Zm(e={}){const t=e.locale,o=qm(e),n=Ne(e.pluralRules)&&de(t)&&ze(e.pluralRules[t])?e.pluralRules[t]:vc,r=Ne(e.pluralRules)&&de(t)&&ze(e.pluralRules[t])?vc:void 0,a=x=>x[n(o,x.length,r)],s=e.list||[],i=x=>s[x],l=e.named||Ge();rt(e.pluralIndex)&&Jm(o,l);const c=x=>l[x];function u(x){const k=ze(e.messages)?e.messages(x):Ne(e.messages)?e.messages[x]:!1;return k||(e.parent?e.parent.message(x):zm)}const d=x=>e.modifiers?e.modifiers[x]:Hm,f=Le(e.processor)&&ze(e.processor.normalize)?e.processor.normalize:Wm,_=Le(e.processor)&&ze(e.processor.interpolate)?e.processor.interpolate:Ym,w=Le(e.processor)&&de(e.processor.type)?e.processor.type:Vm,v={list:i,named:c,plural:a,linked:(x,...k)=>{const[m,g]=k;let y="text",A="";k.length===1?Ne(m)?(A=m.modifier||A,y=m.type||y):de(m)&&(A=m||A):k.length===2&&(de(m)&&(A=m||A),de(g)&&(y=g||y));const M=u(x)(v),N=y==="vnode"&&Qe(M)&&A?M[0]:M;return A?d(A)(N,y):N},message:u,type:w,interpolate:_,normalize:f,values:kt(Ge(),s,l)};return v}let Jn=null;function Xm(e){Jn=e}function Qm(e,t,o){Jn&&Jn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const eb=tb("function:translate");function tb(e){return t=>Jn&&Jn.emit(e,t)}const ob=es.__EXTEND_POINT__,Wo=Ya(ob),nb={FALLBACK_TO_TRANSLATE:Wo(),CANNOT_FORMAT_NUMBER:Wo(),FALLBACK_TO_NUMBER_FORMAT:Wo(),CANNOT_FORMAT_DATE:Wo(),FALLBACK_TO_DATE_FORMAT:Wo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Wo(),__EXTEND_POINT__:Wo()},kc=xe.__EXTEND_POINT__,Yo=Ya(kc),qt={INVALID_ARGUMENT:kc,INVALID_DATE_ARGUMENT:Yo(),INVALID_ISO_DATE_ARGUMENT:Yo(),NOT_SUPPORT_NON_STRING_MESSAGE:Yo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Yo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Yo(),NOT_SUPPORT_LOCALE_TYPE:Yo(),__EXTEND_POINT__:Yo()};function lo(e){return pn(e,null,void 0)}function ns(e,t){return t.locale!=null?wc(t.locale):wc(e.locale)}let as;function wc(e){if(de(e))return e;if(ze(e)){if(e.resolvedOnce&&as!=null)return as;if(e.constructor.name==="Function"){const t=e();if(Jh(t))throw lo(qt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return as=t}else throw lo(qt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw lo(qt.NOT_SUPPORT_LOCALE_TYPE)}function ab(e,t,o){return[...new Set([o,...Qe(t)?t:Ne(t)?Object.keys(t):de(t)?[t]:[o]])]}function xc(e,t,o){const n=de(o)?o:hn,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(n);if(!a){a=[];let s=[o];for(;Qe(s);)s=Sc(a,s,t);const i=Qe(t)||!Le(t)?t:t.default?t.default:null;s=de(i)?[i]:i,Qe(s)&&Sc(a,s,!1),r.__localeChainCache.set(n,a)}return a}function Sc(e,t,o){let n=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function lb(){return{upper:(e,t)=>t==="text"&&de(e)?e.toUpperCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&de(e)?e.toLowerCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&de(e)?Lc(e):t==="vnode"&&Ne(e)&&"__v_isVNode"in e?Lc(e.children):e}}let $c;function Cc(e){$c=e}let Tc;function cb(e){Tc=e}let Ec;function ub(e){Ec=e}let Pc=null;const db=e=>{Pc=e},pb=()=>Pc;let Mc=null;const Nc=e=>{Mc=e},gb=()=>Mc;let Ic=0;function fb(e={}){const t=ze(e.onWarn)?e.onWarn:Kh,o=de(e.version)?e.version:ib,n=de(e.locale)||ze(e.locale)?e.locale:hn,r=ze(n)?hn:n,a=Qe(e.fallbackLocale)||Le(e.fallbackLocale)||de(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,s=Le(e.messages)?e.messages:rs(r),i=Le(e.datetimeFormats)?e.datetimeFormats:rs(r),l=Le(e.numberFormats)?e.numberFormats:rs(r),c=kt(Ge(),e.modifiers,lb()),u=e.pluralRules||Ge(),d=ze(e.missing)?e.missing:null,f=Ee(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,_=Ee(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,b=!!e.unresolving,v=ze(e.postTranslation)?e.postTranslation:null,x=Le(e.processor)?e.processor:null,k=Ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,g=ze(e.messageCompiler)?e.messageCompiler:$c,y=ze(e.messageResolver)?e.messageResolver:Tc||Um,A=ze(e.localeFallbacker)?e.localeFallbacker:Ec||ab,M=Ne(e.fallbackContext)?e.fallbackContext:void 0,N=e,P=Ne(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,F=Ne(N.__numberFormatters)?N.__numberFormatters:new Map,W=Ne(N.__meta)?N.__meta:{};Ic++;const Z={version:o,cid:Ic,locale:n,fallbackLocale:a,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:_,fallbackFormat:w,unresolving:b,postTranslation:v,processor:x,warnHtmlMessage:k,escapeParameter:m,messageCompiler:g,messageResolver:y,localeFallbacker:A,fallbackContext:M,onWarn:t,__meta:W};return Z.datetimeFormats=i,Z.numberFormats=l,Z.__datetimeFormatters=P,Z.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&Qm(Z,o,W),Z}const rs=e=>({[e]:Ge()});function ss(e,t,o,n,r){const{missing:a,onWarn:s}=e;if(a!==null){const i=a(e,o,t,r);return de(i)?i:t}else return t}function Zn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function hb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function mb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nbb(o,e)}function bb(e,t){const o=Em(t);if(o==null)throw qn(0);if(os(o)===1){const a=Pm(o);return e.plural(a.reduce((s,i)=>[...s,Rc(e,i)],[]))}else return Rc(e,o)}function Rc(e,t){const o=Mm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Nm(t).reduce((r,a)=>[...r,ls(e,a)],[]);return e.normalize(n)}}function ls(e,t){const o=os(t);switch(o){case 3:return Xa(t,o);case 9:return Xa(t,o);case 4:{const n=t;if(Wt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Wt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw qn(o)}case 5:{const n=t;if(Wt(n,"i")&&rt(n.i))return e.interpolate(e.list(n.i));if(Wt(n,"index")&&rt(n.index))return e.interpolate(e.list(n.index));throw qn(o)}case 6:{const n=t,r=Im(n),a=Rm(n);return e.linked(ls(e,a),r?ls(e,r):void 0,e.type)}case 7:return Xa(t,o);case 8:return Xa(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Fc=e=>e;let mn=Ge();function Oc(e,t={}){let o=!1;const n=t.onError||rm;return t.onError=r=>{o=!0,n(r)},{...Cm(e,t),detectError:o}}const yb=(e,t)=>{if(!de(e))throw lo(qt.NOT_SUPPORT_NON_STRING_MESSAGE);{Ee(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Fc)(e),r=mn[n];if(r)return r;const{code:a,detectError:s}=Oc(e,t),i=new Function(`return ${a}`)();return s?i:mn[n]=i}};function _b(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&de(e)){Ee(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Fc)(e),r=mn[n];if(r)return r;const{ast:a,detectError:s}=Oc(e,{...t,location:!1,jit:!0}),i=is(a);return s?i:mn[n]=i}else{const o=e.cacheKey;if(o){const n=mn[o];return n||(mn[o]=is(e))}else return is(e)}}const Dc=()=>"",Ut=e=>ze(e);function Bc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:r,messageCompiler:a,fallbackLocale:s,messages:i}=e,[l,c]=cs(...t),u=Ee(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ee(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Ee(c.escapeParameter)?c.escapeParameter:e.escapeParameter,_=!!c.resolvedMessage,w=de(c.default)||Ee(c.default)?Ee(c.default)?a?l:()=>l:c.default:o?a?l:()=>l:"",b=o||w!=="",v=ns(e,c);f&&vb(c);let[x,k,m]=_?[l,v,i[v]||Ge()]:jc(e,l,v,s,d,u),g=x,y=l;if(!_&&!(de(g)||io(g)||Ut(g))&&b&&(g=w,y=g),!_&&(!(de(g)||io(g)||Ut(g))||!de(k)))return r?Qa:l;let A=!1;const M=()=>{A=!0},N=Ut(g)?g:Gc(e,l,k,g,y,M);if(A)return g;const P=xb(e,k,m,c),F=Zm(P),W=kb(e,N,F);let Z=n?n(W,l):W;if(f&&de(Z)&&(Z=Yh(Z)),__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:de(l)?l:Ut(g)?g.key:"",locale:k||(Ut(g)?g.locale:""),format:de(g)?g:Ut(g)?g.source:"",message:Z};ae.meta=kt({},e.__meta,pb()||{}),eb(ae)}return Z}function vb(e){Qe(e.list)?e.list=e.list.map(t=>de(t)?Ql(t):t):Ne(e.named)&&Object.keys(e.named).forEach(t=>{de(e.named[t])&&(e.named[t]=Ql(e.named[t]))})}function jc(e,t,o,n,r,a){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=Ge(),f,_=null;const w="translate";for(let b=0;bn;return c.locale=o,c.key=t,c}const l=s(n,wb(e,o,r,n,i,a));return l.locale=o,l.key=t,l.source=n,l}function kb(e,t,o){return t(o)}function cs(...e){const[t,o,n]=e,r=Ge();if(!de(t)&&!rt(t)&&!Ut(t)&&!io(t))throw lo(qt.INVALID_ARGUMENT);const a=rt(t)?String(t):(Ut(t),t);return rt(o)?r.plural=o:de(o)?r.default=o:Le(o)&&!Wa(o)?r.named=o:Qe(o)&&(r.list=o),rt(n)?r.plural=n:de(n)?r.default=n:Le(n)&&kt(r,n),[a,r]}function wb(e,t,o,n,r,a){return{locale:t,key:o,warnHtmlMessage:r,onError:s=>{throw a&&a(s),s},onCacheKey:s=>Hh(t,o,s)}}function xb(e,t,o,n){const{modifiers:r,pluralRules:a,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:a,messages:_=>{let w=s(o,_);if(w==null&&u){const[,,b]=jc(u,_,t,i,l,c);w=s(b,_)}if(de(w)||io(w)){let b=!1;const x=Gc(e,_,t,w,_,()=>{b=!0});return b?Dc:x}else return Ut(w)?w:Dc}};return e.processor&&(f.processor=e.processor),n.list&&(f.list=n.list),n.named&&(f.named=n.named),rt(n.plural)&&(f.pluralIndex=n.plural),f}function Uc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:r,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=us(...t),f=Ee(u.missingWarn)?u.missingWarn:e.missingWarn;Ee(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,w=ns(e,u),b=s(e,r,w);if(!de(l)||l==="")return new Intl.DateTimeFormat(w,d).format(c);let v={},x,k=null;const m="datetime format";for(let A=0;A{Kc.includes(l)?s[l]=o[l]:a[l]=o[l]}),de(n)?a.locale=n:Le(n)&&(s=n),Le(r)&&(s=r),[a.key||"",i,a,s]}function Hc(e,t,o){const n=e;for(const r in o){const a=`${t}__${r}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function zc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:r,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,d]=ds(...t),f=Ee(u.missingWarn)?u.missingWarn:e.missingWarn;Ee(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,w=ns(e,u),b=s(e,r,w);if(!de(l)||l==="")return new Intl.NumberFormat(w,d).format(c);let v={},x,k=null;const m="number format";for(let A=0;A{Vc.includes(l)?s[l]=o[l]:a[l]=o[l]}),de(n)?a.locale=n:Le(n)&&(s=n),Le(r)&&(s=r),[a.key||"",i,a,s]}function Wc(e,t,o){const n=e;for(const r in o){const a=`${t}__${r}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Tm();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const kb="9.14.5";function wb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(_o().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(_o().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(_o().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(_o().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_o().__INTLIFY_PROD_DEVTOOLS__=!1)}const xb=eb.__EXTEND_POINT__,ko=Va(xb);ko(),ko(),ko(),ko(),ko(),ko(),ko(),ko(),ko();const Wc=zt.__EXTEND_POINT__,Ct=Va(Wc),rt={UNEXPECTED_RETURN_TYPE:Wc,INVALID_ARGUMENT:Ct(),MUST_BE_CALL_SETUP_TOP:Ct(),NOT_INSTALLED:Ct(),NOT_AVAILABLE_IN_LEGACY_MODE:Ct(),REQUIRED_VALUE:Ct(),INVALID_VALUE:Ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ct(),NOT_INSTALLED_WITH_PROVIDE:Ct(),UNEXPECTED_ERROR:Ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ct(),BRIDGE_SUPPORT_VUE_2_ONLY:Ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ct(),__EXTEND_POINT__:Ct()};function pt(e,...t){return ln(e,null,void 0)}const ds=To("__translateVNode"),ps=To("__datetimeParts"),gs=To("__numberParts"),Yc=To("__setPluralRules"),qc=To("__injectWithOption"),fs=To("__dispose");function Vn(e){if(!Ee(e)||ao(e))return e;for(const t in e)if(Kt(e,t))if(!t.includes("."))Ee(e[t])&&Vn(e[t]);else{const o=t.split("."),n=o.length-1;let r=e,a=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:u}=i;l?(s[l]=s[l]||je(),Ya(u,s[l])):Ya(u,s)}else ce(i)&&Ya(JSON.parse(i),s)}),r==null&&a)for(const i in s)Kt(s,i)&&Vn(s[i]);return s}function Jc(e){return e.type}function Zc(e,t,o){let n=Ee(t.messages)?t.messages:je();"__i18nGlobal"in o&&(n=Xa(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const r=Object.keys(n);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(Ee(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ee(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Xc(e){return De(Rn,null,e,0)}const Qc="__INTLIFY_META__",eu=()=>[],Sb=()=>!1;let tu=0;function ou(e){return(t,o,n,r)=>e(o,n,bo()||void 0,r)}const Ab=()=>{const e=bo();let t=null;return e&&(t=Jc(e)[Qc])?{[Qc]:t}:null};function hs(e={},t){const{__root:o,__injectWithOption:n}=e,r=o===void 0,a=e.flatJson,s=Ha?ue:Ln,i=!!e.translateExistCompatible;let l=Ae(e.inheritLocale)?e.inheritLocale:!0;const u=s(o&&l?o.locale.value:ce(e.locale)?e.locale:dn),c=s(o&&l?o.fallbackLocale.value:ce(e.fallbackLocale)||Je(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),p=s(Xa(u.value,e)),f=s(ke(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),_=s(ke(e.numberFormats)?e.numberFormats:{[u.value]:{}});let L=o?o.missingWarn:Ae(e.missingWarn)||Eo(e.missingWarn)?e.missingWarn:!0,g=o?o.fallbackWarn:Ae(e.fallbackWarn)||Eo(e.fallbackWarn)?e.fallbackWarn:!0,w=o?o.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,A=!!e.fallbackFormat,v=He(e.missing)?e.missing:null,m=He(e.missing)?ou(e.missing):null,d=He(e.postTranslation)?e.postTranslation:null,k=o?o.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,$=!!e.escapeParameter;const O=o?o.modifiers:ke(e.modifiers)?e.modifiers:{};let I=e.pluralRules||o&&o.pluralRules,M;M=(()=>{r&&Mc(null);const P={version:kb,locale:u.value,fallbackLocale:c.value,messages:p.value,modifiers:O,pluralRules:I,missing:m===null?void 0:m,missingWarn:L,fallbackWarn:g,fallbackFormat:A,unresolving:!0,postTranslation:d===null?void 0:d,warnHtmlMessage:k,escapeParameter:$,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=f.value,P.numberFormats=_.value,P.__datetimeFormatters=ke(M)?M.__datetimeFormatters:void 0,P.__numberFormatters=ke(M)?M.__numberFormatters:void 0;const R=db(P);return r&&Mc(R),R})(),zn(M,u.value,c.value);function ee(){return[u.value,c.value,p.value,f.value,_.value]}const q=Q({get:()=>u.value,set:P=>{u.value=P,M.locale=u.value}}),se=Q({get:()=>c.value,set:P=>{c.value=P,M.fallbackLocale=c.value,zn(M,u.value,P)}}),H=Q(()=>p.value),N=Q(()=>f.value),F=Q(()=>_.value);function X(){return He(d)?d:null}function ie(P){d=P,M.postTranslation=P}function pe(){return v}function z(P){P!==null&&(m=ou(P)),v=P,M.missing=m}const de=(P,R,ne,ae,we,Le)=>{ee();let Ne;try{__INTLIFY_PROD_DEVTOOLS__,r||(M.fallbackContext=o?ub():void 0),Ne=P(M)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(M.fallbackContext=void 0)}if(ne!=="translate exists"&&et(Ne)&&Ne===Za||ne==="translate exists"&&!Ne){const[Wt,oa]=R();return o&&w?ae(o):we(Wt)}else{if(Le(Ne))return Ne;throw pt(rt.UNEXPECTED_RETURN_TYPE)}};function ge(...P){return de(R=>Reflect.apply(Dc,null,[R,...P]),()=>ls(...P),"translate",R=>Reflect.apply(R.t,R,[...P]),R=>R,R=>ce(R))}function Pe(...P){const[R,ne,ae]=P;if(ae&&!Ee(ae))throw pt(rt.INVALID_ARGUMENT);return ge(R,ne,bt({resolvedMessage:!0},ae||{}))}function Be(...P){return de(R=>Reflect.apply(Gc,null,[R,...P]),()=>cs(...P),"datetime format",R=>Reflect.apply(R.d,R,[...P]),()=>Sc,R=>ce(R))}function st(...P){return de(R=>Reflect.apply(Hc,null,[R,...P]),()=>us(...P),"number format",R=>Reflect.apply(R.n,R,[...P]),()=>Sc,R=>ce(R))}function ze(P){return P.map(R=>ce(R)||et(R)||Ae(R)?Xc(String(R)):R)}const it={normalize:ze,interpolate:P=>P,type:"vnode"};function Ue(...P){return de(R=>{let ne;const ae=R;try{ae.processor=it,ne=Reflect.apply(Dc,null,[ae,...P])}finally{ae.processor=null}return ne},()=>ls(...P),"translate",R=>R[ds](...P),R=>[Xc(R)],R=>Je(R))}function Ze(...P){return de(R=>Reflect.apply(Hc,null,[R,...P]),()=>us(...P),"number format",R=>R[gs](...P),eu,R=>ce(R)||Je(R))}function At(...P){return de(R=>Reflect.apply(Gc,null,[R,...P]),()=>cs(...P),"datetime format",R=>R[ps](...P),eu,R=>ce(R)||Je(R))}function S(P){I=P,M.pluralRules=I}function C(P,R){return de(()=>{if(!P)return!1;const ne=ce(R)?R:u.value,ae=K(ne),we=M.messageResolver(ae,P);return i?we!=null:ao(we)||Ot(we)||ce(we)},()=>[P],"translate exists",ne=>Reflect.apply(ne.te,ne,[P,R]),Sb,ne=>Ae(ne))}function x(P){let R=null;const ne=wc(M,c.value,u.value);for(let ae=0;ae{l&&(u.value=P,M.locale=P,zn(M,u.value,c.value))}),at(o.fallbackLocale,P=>{l&&(c.value=P,M.fallbackLocale=P,zn(M,u.value,c.value))}));const j={id:tu,locale:q,fallbackLocale:se,get inheritLocale(){return l},set inheritLocale(P){l=P,P&&o&&(u.value=o.locale.value,c.value=o.fallbackLocale.value,zn(M,u.value,c.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:H,get modifiers(){return O},get pluralRules(){return I||{}},get isGlobal(){return r},get missingWarn(){return L},set missingWarn(P){L=P,M.missingWarn=L},get fallbackWarn(){return g},set fallbackWarn(P){g=P,M.fallbackWarn=g},get fallbackRoot(){return w},set fallbackRoot(P){w=P},get fallbackFormat(){return A},set fallbackFormat(P){A=P,M.fallbackFormat=A},get warnHtmlMessage(){return k},set warnHtmlMessage(P){k=P,M.warnHtmlMessage=P},get escapeParameter(){return $},set escapeParameter(P){$=P,M.escapeParameter=P},t:ge,getLocaleMessage:K,setLocaleMessage:W,mergeLocaleMessage:oe,getPostTranslationHandler:X,setPostTranslationHandler:ie,getMissingHandler:pe,setMissingHandler:z,[Yc]:S};return j.datetimeFormats=N,j.numberFormats=F,j.rt=Pe,j.te=C,j.tm=B,j.d=Be,j.n=st,j.getDateTimeFormat=te,j.setDateTimeFormat=h,j.mergeDateTimeFormat=b,j.getNumberFormat=D,j.setNumberFormat=y,j.mergeNumberFormat=E,j[qc]=n,j[ds]=Ue,j[ps]=At,j[gs]=Ze,j}function Lb(e){const t=ce(e.locale)?e.locale:dn,o=ce(e.fallbackLocale)||Je(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=He(e.missing)?e.missing:void 0,r=Ae(e.silentTranslationWarn)||Eo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Ae(e.silentFallbackWarn)||Eo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Ae(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=ke(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=He(e.postTranslation)?e.postTranslation:void 0,p=ce(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,_=Ae(e.sync)?e.sync:!0;let L=e.messages;if(ke(e.sharedMessages)){const $=e.sharedMessages;L=Object.keys($).reduce((I,M)=>{const U=I[M]||(I[M]={});return bt(U,$[M]),I},L||{})}const{__i18n:g,__root:w,__injectWithOption:A}=e,v=e.datetimeFormats,m=e.numberFormats,d=e.flatJson,k=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:L,flatJson:d,datetimeFormats:v,numberFormats:m,missing:n,missingWarn:r,fallbackWarn:a,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:p,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:k,__i18n:g,__root:w,__injectWithOption:A}}function ms(e={},t){{const o=hs(Lb(e)),{__extender:n}=e,r={id:o.id,get locale(){return o.locale.value},set locale(a){o.locale.value=a},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(a){o.fallbackLocale.value=a},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(a){},get missing(){return o.getMissingHandler()},set missing(a){o.setMissingHandler(a)},get silentTranslationWarn(){return Ae(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(a){o.missingWarn=Ae(a)?!a:a},get silentFallbackWarn(){return Ae(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(a){o.fallbackWarn=Ae(a)?!a:a},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(a){o.fallbackFormat=a},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(a){o.setPostTranslationHandler(a)},get sync(){return o.inheritLocale},set sync(a){o.inheritLocale=a},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){o.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(a){o.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...a){const[s,i,l]=a,u={};let c=null,p=null;if(!ce(s))throw pt(rt.INVALID_ARGUMENT);const f=s;return ce(i)?u.locale=i:Je(i)?c=i:ke(i)&&(p=i),Je(l)?c=l:ke(l)&&(p=l),Reflect.apply(o.t,o,[f,c||p||{},u])},rt(...a){return Reflect.apply(o.rt,o,[...a])},tc(...a){const[s,i,l]=a,u={plural:1};let c=null,p=null;if(!ce(s))throw pt(rt.INVALID_ARGUMENT);const f=s;return ce(i)?u.locale=i:et(i)?u.plural=i:Je(i)?c=i:ke(i)&&(p=i),ce(l)?u.locale=l:Je(l)?c=l:ke(l)&&(p=l),Reflect.apply(o.t,o,[f,c||p||{},u])},te(a,s){return o.te(a,s)},tm(a){return o.tm(a)},getLocaleMessage(a){return o.getLocaleMessage(a)},setLocaleMessage(a,s){o.setLocaleMessage(a,s)},mergeLocaleMessage(a,s){o.mergeLocaleMessage(a,s)},d(...a){return Reflect.apply(o.d,o,[...a])},getDateTimeFormat(a){return o.getDateTimeFormat(a)},setDateTimeFormat(a,s){o.setDateTimeFormat(a,s)},mergeDateTimeFormat(a,s){o.mergeDateTimeFormat(a,s)},n(...a){return Reflect.apply(o.n,o,[...a])},getNumberFormat(a){return o.getNumberFormat(a)},setNumberFormat(a,s){o.setNumberFormat(a,s)},mergeNumberFormat(a,s){o.mergeNumberFormat(a,s)},getChoiceIndex(a,s){return-1}};return r.__extender=n,r}}const bs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function $b({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,r)=>[...n,...r.type===Se?r.children:[r]],[]):t.reduce((o,n)=>{const r=e[n];return r&&(o[n]=r()),o},je())}function nu(e){return Se}const au=En({name:"i18n-t",props:bt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>et(e)||!isNaN(e)}},bs),setup(e,t){const{slots:o,attrs:n}=t,r=e.i18n||_t({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(o).filter(p=>p!=="_"),s=je();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ce(e.plural)?+e.plural:e.plural);const i=$b(t,a),l=r[ds](e.keypath,i,s),u=bt(je(),n),c=ce(e.tag)||Ee(e.tag)?e.tag:nu();return Cl(c,u,l)}}});function Cb(e){return Je(e)&&!ce(e[0])}function ru(e,t,o,n){const{slots:r,attrs:a}=t;return()=>{const s={part:!0};let i=je();e.locale&&(s.locale=e.locale),ce(e.format)?s.key=e.format:Ee(e.format)&&(ce(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((f,_)=>o.includes(_)?bt(je(),f,{[_]:e.format[_]}):f,je()));const l=n(e.value,s,i);let u=[s.key];Je(l)?u=l.map((f,_)=>{const L=r[f.type],g=L?L({[f.type]:f.value,index:_,parts:l}):[f.value];return Cb(g)&&(g[0].key=`${f.type}-${_}`),g}):ce(l)&&(u=[l]);const c=bt(je(),a),p=ce(e.tag)||Ee(e.tag)?e.tag:nu();return Cl(p,c,u)}}const su=En({name:"i18n-n",props:bt({value:{type:Number,required:!0},format:{type:[String,Object]}},bs),setup(e,t){const o=e.i18n||_t({useScope:e.scope,__useComponent:!0});return ru(e,t,zc,(...n)=>o[gs](...n))}}),iu=En({name:"i18n-d",props:bt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bs),setup(e,t){const o=e.i18n||_t({useScope:e.scope,__useComponent:!0});return ru(e,t,Uc,(...n)=>o[ps](...n))}});function Tb(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 Eb(e){const t=s=>{const{instance:i,modifiers:l,value:u}=s;if(!i||!i.$)throw pt(rt.UNEXPECTED_ERROR);const c=Tb(e,i.$),p=lu(u);return[Reflect.apply(c.t,c,[...cu(p)]),c]};return{created:(s,i)=>{const[l,u]=t(i);Ha&&e.global===u&&(s.__i18nWatcher=at(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{Ha&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,u=lu(i);s.textContent=Reflect.apply(l.t,l,[...cu(u)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function lu(e){if(ce(e))return{path:e};if(ke(e)){if(!("path"in e))throw pt(rt.REQUIRED_VALUE,"path");return e}else throw pt(rt.INVALID_VALUE)}function cu(e){const{path:t,locale:o,args:n,choice:r,plural:a}=e,s={},i=n||{};return ce(o)&&(s.locale=o),et(r)&&(s.plural=r),et(a)&&(s.plural=a),[t,i,s]}function Pb(e,t,...o){const n=ke(o[0])?o[0]:{},r=!!n.useI18nComponentName;(Ae(n.globalInstall)?n.globalInstall:!0)&&([r?"i18n":au.name,"I18nT"].forEach(s=>e.component(s,au)),[su.name,"I18nN"].forEach(s=>e.component(s,su)),[iu.name,"I18nD"].forEach(s=>e.component(s,iu))),e.directive("t",Eb(t))}function Mb(e,t,o){return{beforeCreate(){const n=bo();if(!n)throw pt(rt.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=t,this===this.$root)this.$i18n=uu(e,a);else{a.__injectWithOption=!0,a.__extender=o.__vueI18nExtend,this.$i18n=ms(a);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=uu(e,r);else{this.$i18n=ms({__i18n:r.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Zc(t,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,s)=>this.$i18n.te(a,s),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=bo();if(!n)throw pt(rt.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),o.__deleteInstance(n),delete this.$i18n}}}function uu(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[Yc](t.pluralizationRules||e.pluralizationRules);const o=Xa(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 Nb=To("global-vue-i18n");function Ib(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ae(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ae(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,a=new Map,[s,i]=Rb(e,o),l=To("");function u(f){return a.get(f)||null}function c(f,_){a.set(f,_)}function p(f){a.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return r},async install(_,...L){if(_.__VUE_I18N_SYMBOL__=l,_.provide(_.__VUE_I18N_SYMBOL__,f),ke(L[0])){const A=L[0];f.__composerExtend=A.__composerExtend,f.__vueI18nExtend=A.__vueI18nExtend}let g=null;!o&&n&&(g=Hb(_,f.global)),__VUE_I18N_FULL_INSTALL__&&Pb(_,f,...L),__VUE_I18N_LEGACY_API__&&o&&_.mixin(Mb(i,i.__composer,f));const w=_.unmount;_.unmount=()=>{g&&g(),f.dispose(),w()}},get global(){return i},dispose(){s.stop()},__instances:a,__getInstance:u,__setInstance:c,__deleteInstance:p};return f}}function _t(e={}){const t=bo();if(t==null)throw pt(rt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pt(rt.NOT_INSTALLED);const o=Fb(t),n=Db(o),r=Jc(t),a=Ob(e,r);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw pt(rt.NOT_AVAILABLE_IN_LEGACY_MODE);return Ub(t,a,n,e)}if(a==="global")return Zc(n,e,r),n;if(a==="parent"){let l=Bb(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=bt({},e);"__i18n"in r&&(l.__i18n=r.__i18n),n&&(l.__root=n),i=hs(l),s.__composerExtend&&(i[fs]=s.__composerExtend(i)),Gb(s,t,i),s.__setInstance(t,i)}return i}function Rb(e,t,o){const n=br();{const r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ms(e)):n.run(()=>hs(e));if(r==null)throw pt(rt.UNEXPECTED_ERROR);return[n,r]}}function Fb(e){{const t=Te(e.isCE?Nb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pt(e.isCE?rt.NOT_INSTALLED_WITH_PROVIDE:rt.UNEXPECTED_ERROR);return t}}function Ob(e,t){return za(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Db(e){return e.mode==="composition"?e.global:e.global.__composer}function Bb(e,t,o=!1){let n=null;const r=t.root;let a=jb(t,o);for(;a!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(a);i!=null&&(n=i.__composer,o&&n&&!n[qc]&&(n=null))}if(n!=null||r===a)break;a=a.parent}return n}function jb(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Gb(e,t,o){eo(()=>{},t),Pa(()=>{const n=o;e.__deleteInstance(t);const r=n[fs];r&&(r(),delete n[fs])},t)}function Ub(e,t,o,n={}){const r=t==="local",a=Ln(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw pt(rt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ae(n.inheritLocale)?n.inheritLocale:!ce(n.locale),i=ue(!r||s?o.locale.value:ce(n.locale)?n.locale:dn),l=ue(!r||s?o.fallbackLocale.value:ce(n.fallbackLocale)||Je(n.fallbackLocale)||ke(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),u=ue(Xa(i.value,n)),c=ue(ke(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),p=ue(ke(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=r?o.missingWarn:Ae(n.missingWarn)||Eo(n.missingWarn)?n.missingWarn:!0,_=r?o.fallbackWarn:Ae(n.fallbackWarn)||Eo(n.fallbackWarn)?n.fallbackWarn:!0,L=r?o.fallbackRoot:Ae(n.fallbackRoot)?n.fallbackRoot:!0,g=!!n.fallbackFormat,w=He(n.missing)?n.missing:null,A=He(n.postTranslation)?n.postTranslation:null,v=r?o.warnHtmlMessage:Ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0,m=!!n.escapeParameter,d=r?o.modifiers:ke(n.modifiers)?n.modifiers:{},k=n.pluralRules||r&&o.pluralRules;function $(){return[i.value,l.value,u.value,c.value,p.value]}const O=Q({get:()=>a.value?a.value.locale.value:i.value,set:x=>{a.value&&(a.value.locale.value=x),i.value=x}}),I=Q({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:x=>{a.value&&(a.value.fallbackLocale.value=x),l.value=x}}),M=Q(()=>a.value?a.value.messages.value:u.value),U=Q(()=>c.value),ee=Q(()=>p.value);function q(){return a.value?a.value.getPostTranslationHandler():A}function se(x){a.value&&a.value.setPostTranslationHandler(x)}function H(){return a.value?a.value.getMissingHandler():w}function N(x){a.value&&a.value.setMissingHandler(x)}function F(x){return $(),x()}function X(...x){return a.value?F(()=>Reflect.apply(a.value.t,null,[...x])):F(()=>"")}function ie(...x){return a.value?Reflect.apply(a.value.rt,null,[...x]):""}function pe(...x){return a.value?F(()=>Reflect.apply(a.value.d,null,[...x])):F(()=>"")}function z(...x){return a.value?F(()=>Reflect.apply(a.value.n,null,[...x])):F(()=>"")}function de(x){return a.value?a.value.tm(x):{}}function ge(x,B){return a.value?a.value.te(x,B):!1}function Pe(x){return a.value?a.value.getLocaleMessage(x):{}}function Be(x,B){a.value&&(a.value.setLocaleMessage(x,B),u.value[x]=B)}function st(x,B){a.value&&a.value.mergeLocaleMessage(x,B)}function ze(x){return a.value?a.value.getDateTimeFormat(x):{}}function Ve(x,B){a.value&&(a.value.setDateTimeFormat(x,B),c.value[x]=B)}function it(x,B){a.value&&a.value.mergeDateTimeFormat(x,B)}function Ue(x){return a.value?a.value.getNumberFormat(x):{}}function Ze(x,B){a.value&&(a.value.setNumberFormat(x,B),p.value[x]=B)}function At(x,B){a.value&&a.value.mergeNumberFormat(x,B)}const S={get id(){return a.value?a.value.id:-1},locale:O,fallbackLocale:I,messages:M,datetimeFormats:U,numberFormats:ee,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(x){a.value&&(a.value.inheritLocale=x)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(u.value)},get modifiers(){return a.value?a.value.modifiers:d},get pluralRules(){return a.value?a.value.pluralRules:k},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:f},set missingWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackWarn(){return a.value?a.value.fallbackWarn:_},set fallbackWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackRoot(){return a.value?a.value.fallbackRoot:L},set fallbackRoot(x){a.value&&(a.value.fallbackRoot=x)},get fallbackFormat(){return a.value?a.value.fallbackFormat:g},set fallbackFormat(x){a.value&&(a.value.fallbackFormat=x)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:v},set warnHtmlMessage(x){a.value&&(a.value.warnHtmlMessage=x)},get escapeParameter(){return a.value?a.value.escapeParameter:m},set escapeParameter(x){a.value&&(a.value.escapeParameter=x)},t:X,getPostTranslationHandler:q,setPostTranslationHandler:se,getMissingHandler:H,setMissingHandler:N,rt:ie,d:pe,n:z,tm:de,te:ge,getLocaleMessage:Pe,setLocaleMessage:Be,mergeLocaleMessage:st,getDateTimeFormat:ze,setDateTimeFormat:Ve,mergeDateTimeFormat:it,getNumberFormat:Ue,setNumberFormat:Ze,mergeNumberFormat:At};function C(x){x.locale.value=i.value,x.fallbackLocale.value=l.value,Object.keys(u.value).forEach(B=>{x.mergeLocaleMessage(B,u.value[B])}),Object.keys(c.value).forEach(B=>{x.mergeDateTimeFormat(B,c.value[B])}),Object.keys(p.value).forEach(B=>{x.mergeNumberFormat(B,p.value[B])}),x.escapeParameter=m,x.fallbackFormat=g,x.fallbackRoot=L,x.fallbackWarn=_,x.missingWarn=f,x.warnHtmlMessage=v}return Hi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw pt(rt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=x.locale.value,l.value=x.fallbackLocale.value,u.value=x.messages.value,c.value=x.datetimeFormats.value,p.value=x.numberFormats.value):r&&C(x)}),S}const Kb=["locale","fallbackLocale","availableLocales"],du=["t","rt","d","n","tm","te"];function Hb(e,t){const o=Object.create(null);return Kb.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw pt(rt.UNEXPECTED_ERROR);const s=qe(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(o,r,s)}),e.config.globalProperties.$i18n=o,du.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw pt(rt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)}),()=>{delete e.config.globalProperties.$i18n,du.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(wb(),__INTLIFY_JIT_COMPILATION__?$c(mb):$c(hb),sb(jm),ib(wc),__INTLIFY_PROD_DEVTOOLS__){const e=_o();e.__INTLIFY__=!0,qm(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const zb=Object.assign({"./locales/ar/aria.json":Jg,"./locales/ar/buttons.json":Zg,"./locales/ar/detail.json":Xg,"./locales/ar/legend.json":Qg,"./locales/ar/messages.json":ef,"./locales/ar/options.json":tf,"./locales/ar/prayerLaps.json":of,"./locales/ar/search.json":nf,"./locales/ar/tabs.json":af,"./locales/de/aria.json":rf,"./locales/de/buttons.json":sf,"./locales/de/detail.json":lf,"./locales/de/legend.json":cf,"./locales/de/messages.json":uf,"./locales/de/options.json":df,"./locales/de/prayerLaps.json":pf,"./locales/de/search.json":gf,"./locales/de/tabs.json":ff,"./locales/en/aria.json":hf,"./locales/en/buttons.json":mf,"./locales/en/detail.json":bf,"./locales/en/legend.json":yf,"./locales/en/messages.json":_f,"./locales/en/options.json":vf,"./locales/en/popup.json":kf,"./locales/en/prayerLaps.json":wf,"./locales/en/search.json":xf,"./locales/en/tabs.json":Sf,"./locales/es/aria.json":Af,"./locales/es/buttons.json":Lf,"./locales/es/detail.json":$f,"./locales/es/legend.json":Cf,"./locales/es/messages.json":Tf,"./locales/es/options.json":Ef,"./locales/es/prayerLaps.json":Pf,"./locales/es/search.json":Mf,"./locales/es/tabs.json":Nf,"./locales/fr/aria.json":If,"./locales/fr/buttons.json":Rf,"./locales/fr/detail.json":Ff,"./locales/fr/legend.json":Of,"./locales/fr/messages.json":Df,"./locales/fr/options.json":Bf,"./locales/fr/popup.json":jf,"./locales/fr/prayerLaps.json":Gf,"./locales/fr/search.json":Uf,"./locales/fr/tabs.json":Kf,"./locales/hi/aria.json":Hf,"./locales/hi/buttons.json":zf,"./locales/hi/detail.json":Vf,"./locales/hi/legend.json":Wf,"./locales/hi/messages.json":Yf,"./locales/hi/options.json":qf,"./locales/hi/prayerLaps.json":Jf,"./locales/hi/search.json":Zf,"./locales/it/aria.json":Xf,"./locales/it/buttons.json":Qf,"./locales/it/detail.json":eh,"./locales/it/legend.json":th,"./locales/it/messages.json":oh,"./locales/it/options.json":nh,"./locales/it/prayerLaps.json":ah,"./locales/it/search.json":rh,"./locales/pt/aria.json":sh,"./locales/pt/buttons.json":ih,"./locales/pt/detail.json":lh,"./locales/pt/legend.json":ch,"./locales/pt/messages.json":uh,"./locales/pt/options.json":dh,"./locales/pt/prayerLaps.json":ph,"./locales/pt/search.json":gh,"./locales/pt/tabs.json":fh,"./locales/ro/aria.json":hh,"./locales/ro/buttons.json":mh,"./locales/ro/detail.json":bh,"./locales/ro/legend.json":yh,"./locales/ro/messages.json":_h,"./locales/ro/options.json":vh,"./locales/ro/prayerLaps.json":kh,"./locales/ro/search.json":wh,"./locales/ru/aria.json":xh,"./locales/ru/buttons.json":Sh,"./locales/ru/detail.json":Ah,"./locales/ru/legend.json":Lh,"./locales/ru/messages.json":$h,"./locales/ru/options.json":Ch,"./locales/ru/prayerLaps.json":Th,"./locales/ru/search.json":Eh,"./locales/ru/tabs.json":Ph,"./locales/zh/aria.json":Mh,"./locales/zh/buttons.json":Nh,"./locales/zh/detail.json":Ih,"./locales/zh/legend.json":Rh,"./locales/zh/messages.json":Fh,"./locales/zh/options.json":Oh,"./locales/zh/prayerLaps.json":Dh,"./locales/zh/search.json":Bh}),Wn={};for(const[e,t]of Object.entries(zb)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,r]=o;Wn[n]??(Wn[n]={}),Wn[n][r]=t}const pu=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function Vb(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return pu.includes(t)?t:"en"}function Wb(){return Ib({legacy:!1,globalInjection:!0,locale:Vb(),fallbackLocale:"en",messages:Wn,missingWarn:!1,fallbackWarn:!1})}function St(e,t){const o=t||Yb(e);eo(()=>{var i;const n=bo();if(!n)return;const r=(i=n.proxy)==null?void 0:i.$el;if(!r)return;const a=r.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,a.appendChild(s)})}function Yb(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),r=Q(()=>{var L;return((L=o==null?void 0:o.value)==null?void 0:L.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),a=ue(!1);let s=null,i=null,l=null;function u(){return"doxa-pin-hint-seen"}function c(){try{return sessionStorage.getItem(u())==="1"}catch{return!1}}function p(){try{sessionStorage.setItem(u(),"1")}catch{}}function f(){a.value&&(a.value=!1,p(),l&&(l.removeEventListener("pointerdown",_,!0),l=null),s&&(clearTimeout(s),s=null))}function _(){f()}return eo(()=>{var A,v,m;if(c())return;const L=bo(),g=(m=(v=(A=L==null?void 0:L.proxy)==null?void 0:A.$el)==null?void 0:v.getRootNode)==null?void 0:m.call(v);if(!g||typeof g.querySelector!="function")return;let w=0;i=setInterval(()=>{w++,g.querySelector("canvas")?(clearInterval(i),i=null,a.value=!0,l=g,g.addEventListener("pointerdown",_,!0),s=setTimeout(f,14e3)):w>40&&(clearInterval(i),i=null)},300)}),$o(()=>{i&&clearInterval(i),s&&clearTimeout(s),l&&l.removeEventListener("pointerdown",_,!0)}),St(` + */const Sb="9.14.5";function Ab(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Lb=nb.__EXTEND_POINT__,So=Ya(Lb);So(),So(),So(),So(),So(),So(),So(),So(),So();const Yc=qt.__EXTEND_POINT__,It=Ya(Yc),ft={UNEXPECTED_RETURN_TYPE:Yc,INVALID_ARGUMENT:It(),MUST_BE_CALL_SETUP_TOP:It(),NOT_INSTALLED:It(),NOT_AVAILABLE_IN_LEGACY_MODE:It(),REQUIRED_VALUE:It(),INVALID_VALUE:It(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:It(),NOT_INSTALLED_WITH_PROVIDE:It(),UNEXPECTED_ERROR:It(),NOT_COMPATIBLE_LEGACY_VUE_I18N:It(),BRIDGE_SUPPORT_VUE_2_ONLY:It(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:It(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:It(),__EXTEND_POINT__:It()};function mt(e,...t){return pn(e,null,void 0)}const ps=Mo("__translateVNode"),gs=Mo("__datetimeParts"),fs=Mo("__numberParts"),qc=Mo("__setPluralRules"),Jc=Mo("__injectWithOption"),hs=Mo("__dispose");function Xn(e){if(!Ne(e)||io(e))return e;for(const t in e)if(Wt(e,t))if(!t.includes("."))Ne(e[t])&&Xn(e[t]);else{const o=t.split("."),n=o.length-1;let r=e,a=!1;for(let s=0;s{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(s[l]=s[l]||Ge(),Ja(c,s[l])):Ja(c,s)}else de(i)&&Ja(JSON.parse(i),s)}),r==null&&a)for(const i in s)Wt(s,i)&&Xn(s[i]);return s}function Zc(e){return e.type}function Xc(e,t,o){let n=Ne(t.messages)?t.messages:Ge();"__i18nGlobal"in o&&(n=er(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const r=Object.keys(n);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(Ne(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ne(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Qc(e){return Be(Gn,null,e,0)}const eu="__INTLIFY_META__",tu=()=>[],$b=()=>!1;let ou=0;function nu(e){return(t,o,n,r)=>e(o,n,vo()||void 0,r)}const Cb=()=>{const e=vo();let t=null;return e&&(t=Zc(e)[eu])?{[eu]:t}:null};function ms(e={},t){const{__root:o,__injectWithOption:n}=e,r=o===void 0,a=e.flatJson,s=Va?ue:Mn,i=!!e.translateExistCompatible;let l=Ee(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:de(e.locale)?e.locale:hn),u=s(o&&l?o.fallbackLocale.value:de(e.fallbackLocale)||Qe(e.fallbackLocale)||Le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=s(er(c.value,e)),f=s(Le(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=s(Le(e.numberFormats)?e.numberFormats:{[c.value]:{}});let w=o?o.missingWarn:Ee(e.missingWarn)||No(e.missingWarn)?e.missingWarn:!0,b=o?o.fallbackWarn:Ee(e.fallbackWarn)||No(e.fallbackWarn)?e.fallbackWarn:!0,v=o?o.fallbackRoot:Ee(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,k=ze(e.missing)?e.missing:null,m=ze(e.missing)?nu(e.missing):null,g=ze(e.postTranslation)?e.postTranslation:null,y=o?o.warnHtmlMessage:Ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const M=o?o.modifiers:Le(e.modifiers)?e.modifiers:{};let N=e.pluralRules||o&&o.pluralRules,P;P=(()=>{r&&Nc(null);const O={version:Sb,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:M,pluralRules:N,missing:m===null?void 0:m,missingWarn:w,fallbackWarn:b,fallbackFormat:x,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:y,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=f.value,O.numberFormats=_.value,O.__datetimeFormatters=Le(P)?P.__datetimeFormatters:void 0,O.__numberFormatters=Le(P)?P.__numberFormatters:void 0;const V=fb(O);return r&&Nc(V),V})(),Zn(P,c.value,u.value);function W(){return[c.value,u.value,d.value,f.value,_.value]}const Z=ee({get:()=>c.value,set:O=>{c.value=O,P.locale=c.value}}),ae=ee({get:()=>u.value,set:O=>{u.value=O,P.fallbackLocale=u.value,Zn(P,c.value,O)}}),G=ee(()=>d.value),T=ee(()=>f.value),R=ee(()=>_.value);function U(){return ze(g)?g:null}function ie(O){g=O,P.postTranslation=O}function _e(){return k}function H(O){O!==null&&(m=nu(O)),k=O,P.missing=m}const fe=(O,V,pe,C,D,le)=>{W();let ge;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=o?gb():void 0),ge=O(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(pe!=="translate exists"&&rt(ge)&&ge===Qa||pe==="translate exists"&&!ge){const[ke,Ye]=V();return o&&v?C(o):D(ke)}else{if(le(ge))return ge;throw mt(ft.UNEXPECTED_RETURN_TYPE)}};function he(...O){return fe(V=>Reflect.apply(Bc,null,[V,...O]),()=>cs(...O),"translate",V=>Reflect.apply(V.t,V,[...O]),V=>V,V=>de(V))}function Ue(...O){const[V,pe,C]=O;if(C&&!Ne(C))throw mt(ft.INVALID_ARGUMENT);return he(V,pe,kt({resolvedMessage:!0},C||{}))}function Ve(...O){return fe(V=>Reflect.apply(Uc,null,[V,...O]),()=>us(...O),"datetime format",V=>Reflect.apply(V.d,V,[...O]),()=>Ac,V=>de(V))}function et(...O){return fe(V=>Reflect.apply(zc,null,[V,...O]),()=>ds(...O),"number format",V=>Reflect.apply(V.n,V,[...O]),()=>Ac,V=>de(V))}function je(O){return O.map(V=>de(V)||rt(V)||Ee(V)?Qc(String(V)):V)}const tt={normalize:je,interpolate:O=>O,type:"vnode"};function bt(...O){return fe(V=>{let pe;const C=V;try{C.processor=tt,pe=Reflect.apply(Bc,null,[C,...O])}finally{C.processor=null}return pe},()=>cs(...O),"translate",V=>V[ps](...O),V=>[Qc(V)],V=>Qe(V))}function We(...O){return fe(V=>Reflect.apply(zc,null,[V,...O]),()=>ds(...O),"number format",V=>V[fs](...O),tu,V=>de(V)||Qe(V))}function Lt(...O){return fe(V=>Reflect.apply(Uc,null,[V,...O]),()=>us(...O),"datetime format",V=>V[gs](...O),tu,V=>de(V)||Qe(V))}function S(O){N=O,P.pluralRules=N}function E(O,V){return fe(()=>{if(!O)return!1;const pe=de(V)?V:c.value,C=Y(pe),D=P.messageResolver(C,O);return i?D!=null:io(D)||Ut(D)||de(D)},()=>[O],"translate exists",pe=>Reflect.apply(pe.te,pe,[O,V]),$b,pe=>Ee(pe))}function $(O){let V=null;const pe=xc(P,u.value,c.value);for(let C=0;C{l&&(c.value=O,P.locale=O,Zn(P,c.value,u.value))}),pt(o.fallbackLocale,O=>{l&&(u.value=O,P.fallbackLocale=O,Zn(P,c.value,u.value))}));const ne={id:ou,locale:Z,fallbackLocale:ae,get inheritLocale(){return l},set inheritLocale(O){l=O,O&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Zn(P,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:G,get modifiers(){return M},get pluralRules(){return N||{}},get isGlobal(){return r},get missingWarn(){return w},set missingWarn(O){w=O,P.missingWarn=w},get fallbackWarn(){return b},set fallbackWarn(O){b=O,P.fallbackWarn=b},get fallbackRoot(){return v},set fallbackRoot(O){v=O},get fallbackFormat(){return x},set fallbackFormat(O){x=O,P.fallbackFormat=x},get warnHtmlMessage(){return y},set warnHtmlMessage(O){y=O,P.warnHtmlMessage=O},get escapeParameter(){return A},set escapeParameter(O){A=O,P.escapeParameter=O},t:he,getLocaleMessage:Y,setLocaleMessage:Q,mergeLocaleMessage:X,getPostTranslationHandler:U,setPostTranslationHandler:ie,getMissingHandler:_e,setMissingHandler:H,[qc]:S};return ne.datetimeFormats=T,ne.numberFormats=R,ne.rt=Ue,ne.te=E,ne.tm=B,ne.d=Ve,ne.n=et,ne.getDateTimeFormat=q,ne.setDateTimeFormat=p,ne.mergeDateTimeFormat=h,ne.getNumberFormat=I,ne.setNumberFormat=K,ne.mergeNumberFormat=re,ne[Jc]=n,ne[ps]=bt,ne[gs]=Lt,ne[fs]=We,ne}function Tb(e){const t=de(e.locale)?e.locale:hn,o=de(e.fallbackLocale)||Qe(e.fallbackLocale)||Le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ze(e.missing)?e.missing:void 0,r=Ee(e.silentTranslationWarn)||No(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Ee(e.silentFallbackWarn)||No(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Ee(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Le(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ze(e.postTranslation)?e.postTranslation:void 0,d=de(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,_=Ee(e.sync)?e.sync:!0;let w=e.messages;if(Le(e.sharedMessages)){const A=e.sharedMessages;w=Object.keys(A).reduce((N,P)=>{const F=N[P]||(N[P]={});return kt(F,A[P]),N},w||{})}const{__i18n:b,__root:v,__injectWithOption:x}=e,k=e.datetimeFormats,m=e.numberFormats,g=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:w,flatJson:g,datetimeFormats:k,numberFormats:m,missing:n,missingWarn:r,fallbackWarn:a,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:y,__i18n:b,__root:v,__injectWithOption:x}}function bs(e={},t){{const o=ms(Tb(e)),{__extender:n}=e,r={id:o.id,get locale(){return o.locale.value},set locale(a){o.locale.value=a},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(a){o.fallbackLocale.value=a},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(a){},get missing(){return o.getMissingHandler()},set missing(a){o.setMissingHandler(a)},get silentTranslationWarn(){return Ee(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(a){o.missingWarn=Ee(a)?!a:a},get silentFallbackWarn(){return Ee(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(a){o.fallbackWarn=Ee(a)?!a:a},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(a){o.fallbackFormat=a},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(a){o.setPostTranslationHandler(a)},get sync(){return o.inheritLocale},set sync(a){o.inheritLocale=a},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){o.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(a){o.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...a){const[s,i,l]=a,c={};let u=null,d=null;if(!de(s))throw mt(ft.INVALID_ARGUMENT);const f=s;return de(i)?c.locale=i:Qe(i)?u=i:Le(i)&&(d=i),Qe(l)?u=l:Le(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},rt(...a){return Reflect.apply(o.rt,o,[...a])},tc(...a){const[s,i,l]=a,c={plural:1};let u=null,d=null;if(!de(s))throw mt(ft.INVALID_ARGUMENT);const f=s;return de(i)?c.locale=i:rt(i)?c.plural=i:Qe(i)?u=i:Le(i)&&(d=i),de(l)?c.locale=l:Qe(l)?u=l:Le(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},te(a,s){return o.te(a,s)},tm(a){return o.tm(a)},getLocaleMessage(a){return o.getLocaleMessage(a)},setLocaleMessage(a,s){o.setLocaleMessage(a,s)},mergeLocaleMessage(a,s){o.mergeLocaleMessage(a,s)},d(...a){return Reflect.apply(o.d,o,[...a])},getDateTimeFormat(a){return o.getDateTimeFormat(a)},setDateTimeFormat(a,s){o.setDateTimeFormat(a,s)},mergeDateTimeFormat(a,s){o.mergeDateTimeFormat(a,s)},n(...a){return Reflect.apply(o.n,o,[...a])},getNumberFormat(a){return o.getNumberFormat(a)},setNumberFormat(a,s){o.setNumberFormat(a,s)},mergeNumberFormat(a,s){o.mergeNumberFormat(a,s)},getChoiceIndex(a,s){return-1}};return r.__extender=n,r}}const ys={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Eb({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,r)=>[...n,...r.type===Te?r.children:[r]],[]):t.reduce((o,n)=>{const r=e[n];return r&&(o[n]=r()),o},Ge())}function au(e){return Te}const ru=Fn({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>rt(e)||!isNaN(e)}},ys),setup(e,t){const{slots:o,attrs:n}=t,r=e.i18n||wt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(o).filter(d=>d!=="_"),s=Ge();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=de(e.plural)?+e.plural:e.plural);const i=Eb(t,a),l=r[ps](e.keypath,i,s),c=kt(Ge(),n),u=de(e.tag)||Ne(e.tag)?e.tag:au();return Tl(u,c,l)}}});function Pb(e){return Qe(e)&&!de(e[0])}function su(e,t,o,n){const{slots:r,attrs:a}=t;return()=>{const s={part:!0};let i=Ge();e.locale&&(s.locale=e.locale),de(e.format)?s.key=e.format:Ne(e.format)&&(de(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((f,_)=>o.includes(_)?kt(Ge(),f,{[_]:e.format[_]}):f,Ge()));const l=n(e.value,s,i);let c=[s.key];Qe(l)?c=l.map((f,_)=>{const w=r[f.type],b=w?w({[f.type]:f.value,index:_,parts:l}):[f.value];return Pb(b)&&(b[0].key=`${f.type}-${_}`),b}):de(l)&&(c=[l]);const u=kt(Ge(),a),d=de(e.tag)||Ne(e.tag)?e.tag:au();return Tl(d,u,c)}}const iu=Fn({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},ys),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return su(e,t,Vc,(...n)=>o[fs](...n))}}),lu=Fn({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ys),setup(e,t){const o=e.i18n||wt({useScope:e.scope,__useComponent:!0});return su(e,t,Kc,(...n)=>o[gs](...n))}});function Mb(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 Nb(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw mt(ft.UNEXPECTED_ERROR);const u=Mb(e,i.$),d=cu(c);return[Reflect.apply(u.t,u,[...uu(d)]),u]};return{created:(s,i)=>{const[l,c]=t(i);Va&&e.global===c&&(s.__i18nWatcher=pt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Va&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const l=s.__composer,c=cu(i);s.textContent=Reflect.apply(l.t,l,[...uu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function cu(e){if(de(e))return{path:e};if(Le(e)){if(!("path"in e))throw mt(ft.REQUIRED_VALUE,"path");return e}else throw mt(ft.INVALID_VALUE)}function uu(e){const{path:t,locale:o,args:n,choice:r,plural:a}=e,s={},i=n||{};return de(o)&&(s.locale=o),rt(r)&&(s.plural=r),rt(a)&&(s.plural=a),[t,i,s]}function Ib(e,t,...o){const n=Le(o[0])?o[0]:{},r=!!n.useI18nComponentName;(Ee(n.globalInstall)?n.globalInstall:!0)&&([r?"i18n":ru.name,"I18nT"].forEach(s=>e.component(s,ru)),[iu.name,"I18nN"].forEach(s=>e.component(s,iu)),[lu.name,"I18nD"].forEach(s=>e.component(s,lu))),e.directive("t",Nb(t))}function Rb(e,t,o){return{beforeCreate(){const n=vo();if(!n)throw mt(ft.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=t,this===this.$root)this.$i18n=du(e,a);else{a.__injectWithOption=!0,a.__extender=o.__vueI18nExtend,this.$i18n=bs(a);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=du(e,r);else{this.$i18n=bs({__i18n:r.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Xc(t,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,s)=>this.$i18n.te(a,s),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=vo();if(!n)throw mt(ft.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),o.__deleteInstance(n),delete this.$i18n}}}function du(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[qc](t.pluralizationRules||e.pluralizationRules);const o=er(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 Fb=Mo("global-vue-i18n");function Ob(e={},t){const o=__VUE_I18N_LEGACY_API__&&Ee(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Ee(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,a=new Map,[s,i]=Db(e,o),l=Mo("");function c(f){return a.get(f)||null}function u(f,_){a.set(f,_)}function d(f){a.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return r},async install(_,...w){if(_.__VUE_I18N_SYMBOL__=l,_.provide(_.__VUE_I18N_SYMBOL__,f),Le(w[0])){const x=w[0];f.__composerExtend=x.__composerExtend,f.__vueI18nExtend=x.__vueI18nExtend}let b=null;!o&&n&&(b=Wb(_,f.global)),__VUE_I18N_FULL_INSTALL__&&Ib(_,f,...w),__VUE_I18N_LEGACY_API__&&o&&_.mixin(Rb(i,i.__composer,f));const v=_.unmount;_.unmount=()=>{b&&b(),f.dispose(),v()}},get global(){return i},dispose(){s.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function wt(e={}){const t=vo();if(t==null)throw mt(ft.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw mt(ft.NOT_INSTALLED);const o=Bb(t),n=Gb(o),r=Zc(t),a=jb(e,r);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw mt(ft.NOT_AVAILABLE_IN_LEGACY_MODE);return zb(t,a,n,e)}if(a==="global")return Xc(n,e,r),n;if(a==="parent"){let l=Ub(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=kt({},e);"__i18n"in r&&(l.__i18n=r.__i18n),n&&(l.__root=n),i=ms(l),s.__composerExtend&&(i[hs]=s.__composerExtend(i)),Hb(s,t,i),s.__setInstance(t,i)}return i}function Db(e,t,o){const n=yr();{const r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>bs(e)):n.run(()=>ms(e));if(r==null)throw mt(ft.UNEXPECTED_ERROR);return[n,r]}}function Bb(e){{const t=Pe(e.isCE?Fb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw mt(e.isCE?ft.NOT_INSTALLED_WITH_PROVIDE:ft.UNEXPECTED_ERROR);return t}}function jb(e,t){return Wa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Gb(e){return e.mode==="composition"?e.global:e.global.__composer}function Ub(e,t,o=!1){let n=null;const r=t.root;let a=Kb(t,o);for(;a!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(a);i!=null&&(n=i.__composer,o&&n&&!n[Jc]&&(n=null))}if(n!=null||r===a)break;a=a.parent}return n}function Kb(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Hb(e,t,o){no(()=>{},t),Na(()=>{const n=o;e.__deleteInstance(t);const r=n[hs];r&&(r(),delete n[hs])},t)}function zb(e,t,o,n={}){const r=t==="local",a=Mn(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw mt(ft.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ee(n.inheritLocale)?n.inheritLocale:!de(n.locale),i=ue(!r||s?o.locale.value:de(n.locale)?n.locale:hn),l=ue(!r||s?o.fallbackLocale.value:de(n.fallbackLocale)||Qe(n.fallbackLocale)||Le(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ue(er(i.value,n)),u=ue(Le(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=ue(Le(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=r?o.missingWarn:Ee(n.missingWarn)||No(n.missingWarn)?n.missingWarn:!0,_=r?o.fallbackWarn:Ee(n.fallbackWarn)||No(n.fallbackWarn)?n.fallbackWarn:!0,w=r?o.fallbackRoot:Ee(n.fallbackRoot)?n.fallbackRoot:!0,b=!!n.fallbackFormat,v=ze(n.missing)?n.missing:null,x=ze(n.postTranslation)?n.postTranslation:null,k=r?o.warnHtmlMessage:Ee(n.warnHtmlMessage)?n.warnHtmlMessage:!0,m=!!n.escapeParameter,g=r?o.modifiers:Le(n.modifiers)?n.modifiers:{},y=n.pluralRules||r&&o.pluralRules;function A(){return[i.value,l.value,c.value,u.value,d.value]}const M=ee({get:()=>a.value?a.value.locale.value:i.value,set:$=>{a.value&&(a.value.locale.value=$),i.value=$}}),N=ee({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:$=>{a.value&&(a.value.fallbackLocale.value=$),l.value=$}}),P=ee(()=>a.value?a.value.messages.value:c.value),F=ee(()=>u.value),W=ee(()=>d.value);function Z(){return a.value?a.value.getPostTranslationHandler():x}function ae($){a.value&&a.value.setPostTranslationHandler($)}function G(){return a.value?a.value.getMissingHandler():v}function T($){a.value&&a.value.setMissingHandler($)}function R($){return A(),$()}function U(...$){return a.value?R(()=>Reflect.apply(a.value.t,null,[...$])):R(()=>"")}function ie(...$){return a.value?Reflect.apply(a.value.rt,null,[...$]):""}function _e(...$){return a.value?R(()=>Reflect.apply(a.value.d,null,[...$])):R(()=>"")}function H(...$){return a.value?R(()=>Reflect.apply(a.value.n,null,[...$])):R(()=>"")}function fe($){return a.value?a.value.tm($):{}}function he($,B){return a.value?a.value.te($,B):!1}function Ue($){return a.value?a.value.getLocaleMessage($):{}}function Ve($,B){a.value&&(a.value.setLocaleMessage($,B),c.value[$]=B)}function et($,B){a.value&&a.value.mergeLocaleMessage($,B)}function je($){return a.value?a.value.getDateTimeFormat($):{}}function st($,B){a.value&&(a.value.setDateTimeFormat($,B),u.value[$]=B)}function tt($,B){a.value&&a.value.mergeDateTimeFormat($,B)}function bt($){return a.value?a.value.getNumberFormat($):{}}function We($,B){a.value&&(a.value.setNumberFormat($,B),d.value[$]=B)}function Lt($,B){a.value&&a.value.mergeNumberFormat($,B)}const S={get id(){return a.value?a.value.id:-1},locale:M,fallbackLocale:N,messages:P,datetimeFormats:F,numberFormats:W,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale($){a.value&&(a.value.inheritLocale=$)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:g},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:f},set missingWarn($){a.value&&(a.value.missingWarn=$)},get fallbackWarn(){return a.value?a.value.fallbackWarn:_},set fallbackWarn($){a.value&&(a.value.missingWarn=$)},get fallbackRoot(){return a.value?a.value.fallbackRoot:w},set fallbackRoot($){a.value&&(a.value.fallbackRoot=$)},get fallbackFormat(){return a.value?a.value.fallbackFormat:b},set fallbackFormat($){a.value&&(a.value.fallbackFormat=$)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:k},set warnHtmlMessage($){a.value&&(a.value.warnHtmlMessage=$)},get escapeParameter(){return a.value?a.value.escapeParameter:m},set escapeParameter($){a.value&&(a.value.escapeParameter=$)},t:U,getPostTranslationHandler:Z,setPostTranslationHandler:ae,getMissingHandler:G,setMissingHandler:T,rt:ie,d:_e,n:H,tm:fe,te:he,getLocaleMessage:Ue,setLocaleMessage:Ve,mergeLocaleMessage:et,getDateTimeFormat:je,setDateTimeFormat:st,mergeDateTimeFormat:tt,getNumberFormat:bt,setNumberFormat:We,mergeNumberFormat:Lt};function E($){$.locale.value=i.value,$.fallbackLocale.value=l.value,Object.keys(c.value).forEach(B=>{$.mergeLocaleMessage(B,c.value[B])}),Object.keys(u.value).forEach(B=>{$.mergeDateTimeFormat(B,u.value[B])}),Object.keys(d.value).forEach(B=>{$.mergeNumberFormat(B,d.value[B])}),$.escapeParameter=m,$.fallbackFormat=b,$.fallbackRoot=w,$.fallbackWarn=_,$.missingWarn=f,$.warnHtmlMessage=k}return zi(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw mt(ft.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const $=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=$.locale.value,l.value=$.fallbackLocale.value,c.value=$.messages.value,u.value=$.datetimeFormats.value,d.value=$.numberFormats.value):r&&E($)}),S}const Vb=["locale","fallbackLocale","availableLocales"],pu=["t","rt","d","n","tm","te"];function Wb(e,t){const o=Object.create(null);return Vb.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw mt(ft.UNEXPECTED_ERROR);const s=Xe(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(o,r,s)}),e.config.globalProperties.$i18n=o,pu.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw mt(ft.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)}),()=>{delete e.config.globalProperties.$i18n,pu.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(Ab(),__INTLIFY_JIT_COMPILATION__?Cc(_b):Cc(yb),cb(Km),ub(xc),__INTLIFY_PROD_DEVTOOLS__){const e=wo();e.__INTLIFY__=!0,Xm(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Yb=Object.assign({"./locales/ar/aria.json":Qg,"./locales/ar/buttons.json":ef,"./locales/ar/detail.json":tf,"./locales/ar/legend.json":of,"./locales/ar/messages.json":nf,"./locales/ar/options.json":af,"./locales/ar/prayerLaps.json":rf,"./locales/ar/search.json":sf,"./locales/ar/tabs.json":lf,"./locales/de/aria.json":cf,"./locales/de/buttons.json":uf,"./locales/de/detail.json":df,"./locales/de/legend.json":pf,"./locales/de/messages.json":gf,"./locales/de/options.json":ff,"./locales/de/prayerLaps.json":hf,"./locales/de/search.json":mf,"./locales/de/tabs.json":bf,"./locales/en/aria.json":yf,"./locales/en/buttons.json":_f,"./locales/en/detail.json":vf,"./locales/en/legend.json":kf,"./locales/en/messages.json":wf,"./locales/en/options.json":xf,"./locales/en/popup.json":Sf,"./locales/en/prayerLaps.json":Af,"./locales/en/search.json":Lf,"./locales/en/tabs.json":$f,"./locales/es/aria.json":Cf,"./locales/es/buttons.json":Tf,"./locales/es/detail.json":Ef,"./locales/es/legend.json":Pf,"./locales/es/messages.json":Mf,"./locales/es/options.json":Nf,"./locales/es/prayerLaps.json":If,"./locales/es/search.json":Rf,"./locales/es/tabs.json":Ff,"./locales/fr/aria.json":Of,"./locales/fr/buttons.json":Df,"./locales/fr/detail.json":Bf,"./locales/fr/legend.json":jf,"./locales/fr/messages.json":Gf,"./locales/fr/options.json":Uf,"./locales/fr/popup.json":Kf,"./locales/fr/prayerLaps.json":Hf,"./locales/fr/search.json":zf,"./locales/fr/tabs.json":Vf,"./locales/hi/aria.json":Wf,"./locales/hi/buttons.json":Yf,"./locales/hi/detail.json":qf,"./locales/hi/legend.json":Jf,"./locales/hi/messages.json":Zf,"./locales/hi/options.json":Xf,"./locales/hi/prayerLaps.json":Qf,"./locales/hi/search.json":eh,"./locales/it/aria.json":th,"./locales/it/buttons.json":oh,"./locales/it/detail.json":nh,"./locales/it/legend.json":ah,"./locales/it/messages.json":rh,"./locales/it/options.json":sh,"./locales/it/prayerLaps.json":ih,"./locales/it/search.json":lh,"./locales/pt/aria.json":ch,"./locales/pt/buttons.json":uh,"./locales/pt/detail.json":dh,"./locales/pt/legend.json":ph,"./locales/pt/messages.json":gh,"./locales/pt/options.json":fh,"./locales/pt/prayerLaps.json":hh,"./locales/pt/search.json":mh,"./locales/pt/tabs.json":bh,"./locales/ro/aria.json":yh,"./locales/ro/buttons.json":_h,"./locales/ro/detail.json":vh,"./locales/ro/legend.json":kh,"./locales/ro/messages.json":wh,"./locales/ro/options.json":xh,"./locales/ro/prayerLaps.json":Sh,"./locales/ro/search.json":Ah,"./locales/ru/aria.json":Lh,"./locales/ru/buttons.json":$h,"./locales/ru/detail.json":Ch,"./locales/ru/legend.json":Th,"./locales/ru/messages.json":Eh,"./locales/ru/options.json":Ph,"./locales/ru/prayerLaps.json":Mh,"./locales/ru/search.json":Nh,"./locales/ru/tabs.json":Ih,"./locales/zh/aria.json":Rh,"./locales/zh/buttons.json":Fh,"./locales/zh/detail.json":Oh,"./locales/zh/legend.json":Dh,"./locales/zh/messages.json":Bh,"./locales/zh/options.json":jh,"./locales/zh/prayerLaps.json":Gh,"./locales/zh/search.json":Uh}),Qn={};for(const[e,t]of Object.entries(Yb)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,r]=o;Qn[n]??(Qn[n]={}),Qn[n][r]=t}const gu=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function qb(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return gu.includes(t)?t:"en"}function Jb(){return Ob({legacy:!1,globalInjection:!0,locale:qb(),fallbackLocale:"en",messages:Qn,missingWarn:!1,fallbackWarn:!1})}function St(e,t){const o=t||Zb(e);no(()=>{var i;const n=vo();if(!n)return;const r=(i=n.proxy)==null?void 0:i.$el;if(!r)return;const a=r.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,a.appendChild(s)})}function Zb(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),r=ee(()=>{var w;return((w=o==null?void 0:o.value)==null?void 0:w.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),a=ue(!1);let s=null,i=null,l=null;function c(){return"doxa-pin-hint-seen"}function u(){try{return sessionStorage.getItem(c())==="1"}catch{return!1}}function d(){try{sessionStorage.setItem(c(),"1")}catch{}}function f(){a.value&&(a.value=!1,d(),l&&(l.removeEventListener("pointerdown",_,!0),l=null),s&&(clearTimeout(s),s=null))}function _(){f()}return no(()=>{var x,k,m;if(u())return;const w=vo(),b=(m=(k=(x=w==null?void 0:w.proxy)==null?void 0:x.$el)==null?void 0:k.getRootNode)==null?void 0:m.call(k);if(!b||typeof b.querySelector!="function")return;let v=0;i=setInterval(()=>{v++,b.querySelector("canvas")?(clearInterval(i),i=null,a.value=!0,l=b,b.addEventListener("pointerdown",_,!0),s=setTimeout(f,14e3)):v>40&&(clearInterval(i),i=null)},300)}),Eo(()=>{i&&clearInterval(i),s&&clearTimeout(s),l&&l.removeEventListener("pointerdown",_,!0)}),St(` .pin-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2147482000; pointer-events: none; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; @@ -68,7 +68,34 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(L,g)=>a.value?(V(),Z("div",{key:0,class:$e(["pin-hint",{dark:n.value}]),role:"status"},[T("span",qb,[g[0]||(g[0]=T("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),dt(" "+le(r.value)+" ",1),T("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:f},"×")])],2)):he("",!0)}},Zb=!1;let Xb=0;const Qb=Xr("ui",{state:()=>({_storeInstanceId:++Xb,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:r=null,persistent:a=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:r,persistent:a,createdAt:Date.now()};return this.toasts.push(s),!a&&n>0&&setTimeout(()=>{this.removeToast(s.id)},n),s.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),ey=Xr("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let r=[0,0];if(o.center)r=o.center;else if(t&&typeof t.getCenter=="function"){const a=t.getCenter();a&&(r=[a.lng,a.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:r,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),ty=Xr("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=Do({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Do({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),Yn={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},qn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},oy={class:"profile-loader"},ny={key:0,class:"profile-error"},ay={key:1,class:"profile-error"},ry=qn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var m;const o=e,n=Q(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),r=Q(()=>{var d;return((d=n.value)==null?void 0:d.profile)||null}),a=Q(()=>{var d;return((d=n.value)==null?void 0:d.tk)||""}),s=Q(()=>{var d;return((d=n.value)==null?void 0:d.dataSource)||Yn.activeSource}),i=Q(()=>{var d;return((d=n.value)==null?void 0:d.colorSet)||"default"}),l=Q(()=>!1),u=Q(()=>{var d;return((d=n.value)==null?void 0:d.pinHint)!==!1}),c=Q(()=>{var k,$;const d=(((k=n.value)==null?void 0:k.locale)||(($=n.value)==null?void 0:$.lang)||"").split("-")[0].toLowerCase();return pu.includes(d)?d:""}),p=Te("appI18n",null);ip(()=>{c.value&&p&&(p.global.locale.value=c.value)});const f=Q(()=>{var d,k;return c.value||((k=(d=p==null?void 0:p.global)==null?void 0:d.locale)==null?void 0:k.value)||"en"}),_=Q(()=>{var d;return((d=n.value)==null?void 0:d.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),L=Te("profileModules",null);if(!L)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const g=Q(()=>{if(!r.value)return null;const d=`./${r.value}.vue`;return L[d]?Ui(L[d]):(console.error(`[ProfileLoader] Profile not found: "${r.value}". Available:`,Object.keys(L)),null)});Ft("mapboxToken",a),Ft("dataSource",s),Ft("colorSet",i),Ft("profileConfig",n),Ft("instanceId",_),Ft("lang",f);const w=Qb(),A=ey(),v=ty();try{const d=typeof localStorage<"u"?localStorage.getItem("theme"):null;d&&((m=w.setTheme)==null||m.call(w,d))}catch{}return Ft("uiStore",w),Ft("mapStore",A),Ft("dataStore",v),(d,k)=>(V(),Z("div",oy,[n.value?g.value?(V(),ut(Vi(g.value),{key:2})):(V(),Z("div",ay,[T("p",null,[k[1]||(k[1]=dt("⚠️ Profile ",-1)),T("strong",null,'"'+le(r.value)+'"',1),k[2]||(k[2]=dt(" not found.",-1))])])):(V(),Z("div",ny,[...k[0]||(k[0]=[T("p",null,[dt("⚠️ "),T("strong",null,"doxa-map"),dt(": missing or invalid "),T("code",null,"profile-config"),dt(" prop.")],-1),T("p",null,[dt("Example: "),T("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),g.value&&l.value?(V(),ut(Vi(me(null)),{key:3})):he("",!0),g.value&&u.value?(V(),ut(Jb,{key:4})):he("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),sy=Object.assign({"./poster-wall.vue":()=>yn(()=>Promise.resolve().then(()=>Py),void 0),"./upg-100-list.vue":()=>yn(()=>Promise.resolve().then(()=>ck),void 0),"./upg-100-mfe.vue":()=>yn(()=>Promise.resolve().then(()=>yk),void 0)});if(typeof window<"u"&&((ld=window.mapboxgl)!=null&&ld.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function iy(){return Mg(ry,{configureApp(e){e.use(Hg()),e.use(Wb()),e.provide("profileModules",sy)}})}const ly=iy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",ly));const wo={version:1,generated:"2026-05-28",source_total:2106,source_endpoint:"/api/people-groups/list",validation_run:"2026-05-28 — all 13 selectors validated exact-match against the live source",lists:[{id:"west-africa",label:"West Africa",count:118,selector:{type:"wagf_block",value:"west_africa"},bbox:[-21.3926,4.2189,27.2705,17.4735]},{id:"sudan",label:"Sudan",count:105,selector:{type:"country_code",value:"SDN"},bbox:[20.1672,9.0707,39.723,20.499]},{id:"brazil",label:"Brazil",count:103,selector:{type:"country_code",value:"BRA"},bbox:[-77.9152,-25.4802,-32.2913,7.3352]},{id:"east-africa",label:"East Africa",count:96,selector:{type:"wagf_block",value:"east_africa"},bbox:[22.3455,-14.3059,47.7947,20.0984]},{id:"laos",label:"Laos",count:95,selector:{type:"country_code",value:"LAO"},bbox:[99.8741,13.6759,108.2843,23.2186]},{id:"middle-east-core",label:"Middle East Core",count:71,selector:{type:"country_codes",values:["IRN","YEM","IRQ","OMN","SYR","LBN","PSE","QAT","SAU","JOR","BHR","ARE","KWT"]},bbox:[31.1468,9.3265,63.7915,42.0085]},{id:"andean-caribbean",label:"Andean + Caribbean",count:63,selector:{type:"country_codes",values:["COL","PER","VEN","ECU","BOL","PRY","PAN","CUB","SUR","ATG","ABW","BHS","BRB","CYM","CUW","GRD","JAM","LCA","SXM","TCA","VCT","GUY"]},bbox:[-85.7034,-31.2233,-51.7537,31.0655]},{id:"central-africa",label:"Central Africa",count:61,selector:{type:"wagf_block",value:"central_africa"},bbox:[.6063,-11.2806,32.2325,15.7303]},{id:"europe",label:"Europe",count:55,selector:{type:"wagf_region",value:"europe"},bbox:[-42.2659,-27.2213,168.5645,85]},{id:"oceania-indonesia",label:"Oceania + Indonesia",count:53,selector:{type:"union",selectors:[{type:"wagf_region",value:"oceania"},{type:"country_code",value:"IDN"}]},bbox:[83.9392,-43.091,-136.017,21.4266]},{id:"mainland-se-asia-philippines",label:"Mainland SE Asia + Philippines",count:50,selector:{type:"country_codes",values:["VNM","MYS","THA","MMR","BRN","KHM","PHL"]},bbox:[88.6434,.084,129.7854,26.789]},{id:"maghreb-egypt",label:"Maghreb + Egypt",count:47,selector:{type:"country_codes",values:["DZA","LBY","MAR","MRT","ESH","EGY","TUN"]},bbox:[-21.8716,14.0878,37.0339,39.1426]},{id:"southern-africa-islands",label:"Southern Africa + Islands of East Africa",count:39,selector:{type:"union",selectors:[{type:"wagf_block",value:"southern_africa"},{type:"wagf_block",value:"islands_of_east_africa"}]},bbox:[.638,-38.0929,63.5885,4.4534]}],deaf_lists:[{id:"deaf-old-world",label:"Deaf — Old World (Africa + Europe + Middle East)",expected_count:61,selector:{type:"deaf_predicate",regions:["africa","middle_east","europe"]}},{id:"deaf-new-world-asia-pacific",label:"Deaf — New World + Asia + Pacific",expected_count:62,selector:{type:"deaf_predicate",regions:["north_america_&_non-spanish_caribbean","na","asia","latin_america_&_caribbean","oceania"]}}],asia_lists:[{id:"asia-india-rajasthan",label:"Northwest India",count:116,selector:{type:"pg_slugs",values:["arain-dogri","arain-punjabi","badi-marwari","bania-dogri","bania-kashmiri","baret","bargi","bhand-kashmiri","bhojki","bhopa","bhutta","bomba","brukpa","budhan","campa","cejara","chadwa","cheintz","chheepi","chobdar","chopan","chungar","cudigar","dadupanthi","damami","daoli","daule","dhaki","dhobi-dogri","dhola","dhyar","dokhpa","domal","dosali","gagra","galwan","ganz","gardi","ghihara","gorkun","gosain-kangri","gosain-rajasthani","gurru","hadi","hajjam-haryanvi","hajjam-kashmiri","hesi","hiranbaj","kawoj","khadim","kharol","khatik-chambeali","khatik-punjabi","kraal","kriyagar","kucband","lakhera-haryanvi","laskari","lohar-dogri","malaneese","mangnyar-muslims","manhas","manjygur-muslims","masku","moghol-dogri","moghol-marwari","mogia","mon-india","murhid","nagbansi-dogri","nagda","nai-mewari","najjar","namdagur","naqqas","nar","nicar","nyaria","pajabgar","pakhimara","pangwal-buddhists","pangwala","pinjara-punjabi","pohul","purig-pa","racband","rajkumhar","rajpurohit","ratal","rath","rehar","runwalas","sain","sanchia","sanhai","sansoi","santia","saraogi","sayyid-pahari","seok","shaksaz","shikari","shina-india","singiwala","sofi","sorgars","sudhan","sunga","swangla","tak","thavi","usta","van-baoriya","ved","vijabargiya","waza"]},bbox:[69.9484,22.3586,79.972,35.9424],provinceLabel:"Rājasthān + Haryāna + Himāchal Pradesh + Jammu and Kashmīr + Punjab + Chandīgarh + Ladākh"},{id:"asia-india-andhra-pradesh",label:"South-Central India",count:107,selector:{type:"pg_slugs",values:["accukattavandlu","aguru","aiyarakulu","andhra-vaisnawa","ansari-momin-telugu","arakala","are-bondili","are-kapu","are-katika","atollu","attagara","bandollu","bania-agarwal-telegu","bayita-kammara","berad","bhatrajulu","bhondari","bindla","bolla","budakukkala","cakketakare","camadollu","cippollu","cundollu","dammali","dasari","gandalla","gandla","gangireddula","ganta-sayebulu","garadi","gavara","godagali","godari","gosangi","guddi-eluguwallu","gurika","hajjam-telugu","hatgar","jains-telugu","jakkula","jandra","jethi","kachi","kaikali","karnam","karnibhakthulu","katipamula","khatik-telugu","kommu-dasari","konda-kammara","kuliya","kurakula","lakkamari-kapu","madiga-dasu","majjula","mala-masti","malis","mandula","manna-dhora","matangi","medari","mitha-ayyalavar","moghal-telugu","mondivogula","muchi-chamar","muli","musti-chenchu","nagavamsam","nakhasa","neyyala","ontaris","padigarajulu","pagativeshagallu","paky","pambala","pamidi","pamula","pancaratra-srivaisnavas-brahmans","pariki-muggula","patkars","rajannalu","reddi-dora","reddika","runjalavallu","sadaru","sadhu-chetty","sakunapaksollu","samayavallu","saradagallu","senapathi","silavantulu","sindhollu","swakulasali-koshti","tamboli-telugu","thogataveera-kshatriya","tirugatigantla","tolakari","udupula","uppara","vaikhanasa-brahmans","verra-musti","vipravinodulu","yata","yatagiri","yatla","yite"]},bbox:[76.462,12.5091,84.8294,19.785],provinceLabel:"Andhra Pradesh + Telangāna"},{id:"asia-india-odisha",label:"East India",count:88,selector:{type:"pg_slugs",values:["badhai-chhattisgarhi","baha-i","bairagi-chhattisgarhi","bairagi-odia","bangti","banka","bargah","bari-odia","bauti","bavuri","beldar-chhattisgarhi","bhangi-chhattisgarhi","bharewa","bharia-bhumia-chhattisgarhi","bhattra-bhatri","bhoi-odia","bhunjia","bondo","brahman-jyoti","candhai-maru","chaikwa","chatarkheya","cherua","citrakar","daitapati","damla","darji-odia","dhakad-halbi","dhera","didayi","dom-chhattisgarhi","eneti-dora","ghadwa","ghantarghada","ghogia","ghusuria","godra","gosain-chhattisgarhi","guna","irika","janughanta","jogi-halbi","jogi-odia","kachchi-alia","kalal-sadri","kamila","kapasiya","kasar-odia","khadura","khairwar-chhattisgarhi","khandwal","khati-odia","khatik-chhattisgarhi","kobari","kol-chhattisgarhi","koraga","kuda","kuli","kurunga","kusta","liari","maghia","mahuria","malia","markande-kanjia","mundapotta","munnewar","nai-odia","naksia","noliya","oriya","panara","pando","panka-odia","parenga","radhi","rana","sabakhia","samasi","sanei","sayyid-chhattisgarhi","sayyid-odia","sinduria","son-koli","suda","thanapati","tharua","tula-vina"]},bbox:[80.3325,17.5357,87.6538,23.9578],provinceLabel:"Odisha + Chhattīsgarh"},{id:"asia-india-gujarat",label:"West India",count:90,selector:{type:"pg_slugs",values:["agaria","agri","anjana-patel-gujarati","bafan","bairagi-gujarati","baloch","bamcha","banjania","barot","barthari","bhodala","borpi","caki","champta","cunara","dafer","dangasiya","dasnami-bawa","depala","dudhwala","gadhai","galiara","garmatan","garvi","gavli","ghantiya","golarana","gosain-gujarati","hajjam-gujarati","halaypotra","hingora","hingorza","jat-muslim","juneja","kahar-gujarati","kamalia","kambodia-bhagat","kapadi","kasar-gujarati","kasbati","kathi","ker","khalpa","khaskeli","khatik-gujarati","langa","machhiyara","majothi","makrani","mandali-muslims","mer","mir","miyana","moghol-gujarati","mujavar","muslim-khatri","muslim-lakhera","muslim-patel","mutwa","narsinghpura","nayak-muslims","node","padhar","panar","paradhi","patanwadia","patni-jamat","patni-vankars","pomla","rathodia","raysipotra","royma","sagar","sandhai-muslims","saranias","sayyid-gujarati","shravan","siddi","sompura-salat","tai","targala","theba","tirgar","turi-barot","vadi","vahivanca-barot","vayati","vyapari","wagheri","wandharo"]},bbox:[68.1752,20.1033,74.3448,24.7906],provinceLabel:"Gujarāt"},{id:"asia-india-karnataka",label:"Southwest India",count:86,selector:{type:"pg_slugs",values:["adiyan","agasa","ansari-momin-kannada","arasu","ayri","bagga","baira","balasantoshi","bandi","bania-kannada","bania-konkani","batada","bayil-kammara","bayil-pattar","bellara","bestha","chaptegar","charodi","chenna-dasar","dombi-dasa","durga-murga","gabit","galada-kokani","ganti-chores","gatti","gauli","ghadi","godda","gomantak-maratha","gond-kannada","gudikara","guraw","hajjam-kannada","halleer","harkantra","hasalaru","helawa","holeya-dasari","jatigar","jaweri","jogi-telugu","jogi-tulu","khakar","kolari","komara-panta","koosa","koraga-korra","kottari","koyava","kudiya","kudubi","kummara-kumbara","kurahina-setti","ladar","maila","malaikudi","maleru","manser","meda","mhalo","mith-gauda","mogaveera","mundala","nadors","nai-kannada","nairy","natua","nawaiyat","padarthis","padiyar","pambada","pattegar","pendar","pinjara-kannada","rachavar","raddi","rajapuri","raneyar","raval","raya-rawat","sapalyas","sayyid-kannada","soligaru","sudir","thammadi","vilyagaras"]},bbox:[73.2695,11.4418,78.7305,18.4466],provinceLabel:"Karnātaka + Goa"},{id:"asia-india-kerala",label:"Malabar Coast",count:78,selector:{type:"pg_slugs",values:["allar","ambalavasi","anthur-nair","arayavati","ayyanavar","bakuda","bania-malayalam","bowis-mogeyar","cakkala","cakkyar-nambiyar","chakkiyar","chamar-muchi-malayalam","chengazhi-nambiar","cingatanmar","dheevara","erawallan","ezhavathi","ilayatu","indo-french","indo-vietnamese","kakkalan","kalanadies","kalladi","kallattu-kurup","karimpalan","kavara","kavuthiyan","kidaran","kocu-wellan","kollan","kootan","kumar-kshatriya","kummara-kusuvan","kunduvadian","kurukkal","laccadive","malai-pandaram","malayalar","maran-nairs","marasari","mavilan","moger-malayalam","moothan","mukkari","musari","muttatu","nalkadaya","nambutiris","narsanna","nasuvan","nayadi","otans","padannan","palakad-tandans","pandithar","pathinaickans","pathiyan","pisaroti","poduval","pulisari","puspakan-unni","reddi","samanthan","sonavar","thachanad-moopan","tiyattunni","urindavan","vadugan","valinjiyar","vetan","vettalaikarans","vettiyan","vilkurup","visavan","wainadan-cetti","wainadan-kader","wainadan-pulayan","wayanad-pathiyan"]},bbox:[72.8992,7.9875,80.5765,13.0102],provinceLabel:"Kerala + Puducherry + Lakshadweep"},{id:"asia-india-tamil-nadu",label:"Southeast India + Andaman Islands",count:73,selector:{type:"pg_slugs",values:["alavan","andamanese","ansari-momin-tamil","anuppan","aranadan","baig","bhatu-andamani","bondili","brahmin-andamani","cekkala","chamar-muchi-tamil","chayakkaran","coorgi-andamanese","dasa-palanjika","dayare","dhobi-tamil","gangawar","great-andamanese","gudugudupandi","gurukkal","jains-tamil","jarawas","jati-pillai","kambalattan","kambar","kannada-naicker","kannada-saineegar","karaiyar","karlar","karna-sale","katesar","kattiakaran","kayalar","kepmari","koliyan","kongu-vaisnawa","kongu-vellala-gounder","kota","krishnavaka","kudumi","kuluvan","kummara-kummari","kunnuva-vellalar","malai-vellala","maleyan","maniyattikkaran","mudugar","nakkala","namdeo-maratha","nanjil-mudali","onge","pannadi","panniandi","parkavakulam","parvatarajakulam","pattanavan","perumkollar","salivahanam","savalakkarar","sayyid-tamil","semman","senaithalaivar","sentinelese","siviar","tambiran","telengi","tholuva-naicker","thoraiyar","tondman","uppillian","urikkar-naicker","vellaiyan-kuppam-padaiyaci","vettaikkaran"]},bbox:[74.7588,7.4577,94.7701,13.968],provinceLabel:"Tamil Nādu + Andaman and Nicobar Islands"},{id:"asia-india-madhya-pradesh",label:"Central India",count:88,selector:{type:"pg_slugs",values:["anjana","attar-saibulu","baharupi","banchada","baraua","barda","bari-hindi","bari-marathi","basudeva","berar","bhanumati","bharwad","bhoi-marathi","bhurtia","chari","chitari","citrakathi","dhawad","dhed","dom-marathi","gachha","garodi","garpagari","gondhali","gopal","hajjam-hindi","hardas","hatkar","jadam","jains-hindi","jhadi","kachchi-kushwaha","kachera-bagheli","kaghzi","kandera","kapewar","kasar-hindi","kasikapadi","kathar","kharvi","khatik-marathi","kokaniz","kolhati","kudimahan","ladia","ladsi","lahangir","lajjhar","lodha-marathi","lonar","mana","manbhav","mankar","mitna","mondiwar","muskhan","muslim-gond","muslim-kachera","nahal","naikpod","naita","namdeo","nandiwala","naoda","nat-bagheli","neeli","nema","nilkanth","pangul","phularis","pinjara-marathi","pochammalollu","prabhu-patane","rujjhar","sagharias","sahi","sais","sanghar","sarodi","sikligar","sisgars","soria","sutar-mistry","takari","velip","waidu","yelmar","zamral"]},bbox:[69.6832,14.969,83.1757,26.995],provinceLabel:"Madhya Pradesh + Mahārāshtra + Dādra and Nagar Haveli and Damān and Diu"},{id:"asia-india-uttarakhand",label:"North India + Nepal",count:92,selector:{type:"pg_slugs",values:["ahmadiya","anwal","arain-kannauji","badhik","badi","balahar","banpar","bargala","bargujar","bhuiyar","bisati","camma","charwaha","chaudangsi","dhamin","dhekaro","gadhia","gadihar","gandharv","habura","hijra","hindu-santarash","jadupetia","jains-maithili","jarkhandi-hajjam","jarkhandi-julaha","jharkhandi-nai","jimdar","jogi-angika","kadar","kankali","khangar-bundeli","khatbune","kuthliya-bora","modaks","mujavir","mukeri","nagbansi","nalband","pankhiya","patari","puran","putliwale","rai-bhat-muslims","rajdhop","raji-india","rastogi","rave","sahisia","sayyid-garhwali","sheikhzade","shershabadia","sukiyar","tagewale","thakurai","tikulhara","tilli","turuk-pasi","baniya","barae","bhand","bhediyar","bodo","byangsi","chidmar","churaute","dhobi","dhunia","dura","gangai","gyasumdoba","halkhor","haluwai","jaine","kaike","kamar","kanu","kayastha","lodha","makalu-sherpa","mali","mallah","marwadi","nurang","pahari-nagarkotis","puma","rajbhar","raji-nepal","shaikh-bhojpuri","sudhi","surel","tseku"]},extraCountryCodes:["NPL"],bbox:[76.0644,22.1727,88.8858,31.2428],adm0:["NPL"],provinces:["Uttarākhand","Uttar Pradesh","Bihār","Jhārkhand","Delhi"],provinceLabel:"North India + Nepal"},{id:"asia-india-west-bengal",label:"Northeast India + Bangladesh + Bhutan",count:87,selector:{type:"pg_slugs",values:["aiton","angarok","ansari-momin-bengali","bagti","baida","baisya","bajandar","banai","banik-bania","barua","bhakta","bhalla","bhujel","bilaspuri","byadh","chamar-assamese","chunari","dalu-india","dhal-kstriya","dhimal","ghazi","hajjam-assamese","hajjam-bengali","haluadas","jains-bengali","kakmara","kanda","kapuria","kasar-bengali","khairwar-bengali","khalifa","khamba","khamyang","khatik-bengali","khowa","koiren","kumhar-assamese","kurol","lois","mahisyadas","malakar","man","maria-muslims","matak","mirshikar","momba","mukhi","na","nai-assamese","namasudra-assamese","paharia","pangans","pinjara-dhunia-bengali","sabar","saha","serdukpen","shabdakar","siyalgar","sudra-das","sunuwar","sutradhar","taiphake","tamboli-bengali","teli-assamese","thanga","tripuri-kumhar","tripuri-namasudra","turun","yakha","yatibi","zakhrin","brokkat","chali","dalu-bangladesh","deaf-bhutanese","doya","dzalakha","gongduk","koda","kurtop","lakha","lunape","matpa","nupbi","nyenpa","ole","ushoi"]},extraCountryCodes:["BGD","BTN"],bbox:[84.6438,21.028,98.3478,29.4168],provinceLabel:"West Bengal + Sikkim + Meghālaya + Assam + Arunāchal Pradesh + Manipur + Tripura + Bangladesh + Bhutan",adm0:["BGD","BTN"]},{id:"asia-china-yunnan-province",label:"Southern China",count:109,selector:{type:"pg_slugs",values:["a-ou","ai-cham","akeu","aling","alu","angku","ani","aoka","apu","baonuo","beidongnuo","bit-china","black-thai","bugan","buyang","cai","changpao","chesu","dianbao","diao","doupo","eastern-samadu","eastern-xiangxi-miao","ga-mong","gao","gelao","guaigun","ha-li","hagei","hongjin-tai","hu","huishui-miao","jiamao-li","jiasou","jino","khmu","kong-ge","kucong","laba","labapo","laowu","lati-china","lawu","liang-e","linghua","liping-baheng","liude","liujia","longjia","lu","lupanshui-miao","mang-china","manmet","mashan-miao","meifu-li","mengwu","mishaba-laluo","mo","mosuo","mozhihei","muda","muzi","naheng","nanjingren","northern-awu","northern-dong","northern-muji","numao","palyu","panxian-nasu","pingdi-yao","popei","pubiao","puman","pusha","qanu","qiubei-zhuang","qixingmin","rao","rumai-de-ang","sanda","sanqiao","shenzhou","sichuan-mongols","ta-er","tagu","tai-lu","tai-pong","tulao","tusu","wenma-zhuang","western-gaisu","western-samadu","wopu","wunai","xi","xialusi","xiaoliangshan-nosu","xijima","xinping-lalu","xuzhang-lalu","ya","yanghuang","yerong","yizi","youmai","younuo-bunu","yunnan-mongol","yunnan-shui"]},bbox:[96.3204,17.3374,113.2066,29.9169],provinceLabel:"Yunnan Province + Guizhou Province + Guangxi Zhuang Autonomous Region + Hunan Province + Hainan Province",provinces:["Yunnan Province","Guizhou Province","Guangxi Zhuang Autonomous Region","Hunan Province","Hainan Province"]},{id:"asia-china-tibet-autonomous-region",label:"Mainland China + Mongolia",count:53,selector:{type:"pg_slugs",values:["adi","ainu-china","alxa-mongols","bogar-lhoba","bogol","boyu-tibetans","bunan","buryat","butuo-nosu","cona-monba","darang-deng","enger-yugur","ersu","geman-deng","heishui","henan-mongols","keji","kyrgyz","luzu","manyak","medog-monba","miguba","ming","minyak","naju","namuyi","nghari-tibetans","olot","ongkor","puroik","saman","saragh-yugur","sarikoli-tajiks","shixing","suodi-nosu","tongren-bonan","uzbeks","wakhi-china","western-xibe","wutun","yidu-lhoba","yinuo-nosu","za"]},extraCountryCodes:["MNG","PRK","JPN"],bbox:[69.2237,24.2385,130.4094,51.3865],provinceLabel:"Tibet Autonomous Region + Sichuan Province + Xinjiang Uyghur Autonomous Region + Gansu Province + Inner Mongolia Autonomous Region + Qinghai Province + Heilongjiang Province + Mongolia + Japan + North Korea",provinces:["Tibet Autonomous Region","Sichuan Province","Xinjiang Uyghur Autonomous Region","Gansu Province","Inner Mongolia Autonomous Region","Qinghai Province","Heilongjiang Province"],adm0:["MNG"]}],asia_unsolved:{blocked_by:"admin-2 boundaries",south_asia_total:952,south_asia_india_only:855,north_asia_total:159,north_asia_china_only:154,central_asia_total:10,north_east_asia_total:7,unlock_path:"Regions tab → admin-2 layer (GADM India + China)",solved:!0,solved_on:"2026-06-06",solved_note:"12 admin-1 lists (10 India + 2 China) wired into lists via pg_slugs selector; India 855 / China 154; each list <=100. Resolved name->slug against geo-pgs-full.json (2106 rows, slug 1:1)."},uncovered_scatter:{n_a_region_total:19,null_region_total:3,decision_pending:"fold into nearest geographic neighbour OR create a 'Diaspora and Micro-territories' list. design note decides."},asia_solved_validation:"2026-06-06 — pg_slugs predicate exact-count for all 12 Asia lists against live 2106-row source; 0 cross-country leaks",uncovered_lists:[{id:"uncovered-scatter",label:"Scattered / Diaspora",count:8,contiguous:!1,contiguityExempt:!0,flag:"allowed non-contiguous bucket (S5-D3) — diaspora/island/micro-territory strays + 2 unstamped CHN border PGs",selector:{type:"country_codes",values:["AND","CCK","GUF","USA"]},extra_slugs:["jing","pana-china"],bbox:[-150.7534,-18.855,123.4288,50.0639]},{id:"uncovered-nas-a",label:"Central Asia + Pakistan",count:55,contiguous:!0,contiguityExempt:!1,flag:"NAS-A real frontier zone (09b-asia-contiguity-v2 N-D6): MERGE of the former uncovered-sa-west (AFG+PAK) + uncovered-central-asia (AZE/KGZ/TJK/UZB) into ONE zone owning BOTH the legend count AND the ADM0 render coverage. AFG-PAK-UZB-TJK-KGZ form one contiguous land-border core; AZE is the flagged Caspian-separated near-member (S5-D2). KAZ stays deaf-only (its only PG is deaf-kazakhstanis). Target coverage 55 (design directive; uncovered coverage counts are carried through, not recomputable from admin-membership — NOTE-COUNT). ID kept in the uncovered-* family (NOT asia-frontier-nas-a) because zone-geometry.isAsiaZone() routes any asia-*-prefixed id down the ADM1 listId path — an asia-* id would resolve 0 ADM0 polys and render NOTHING. uncovered-* keeps it on the country_codes/ADM0 render path; re-prefixing is the render-layer's NEXT slice, not this one.",selector:{type:"country_codes",values:["AFG","AZE","KGZ","PAK","TJK","UZB"]},bbox:[42.6538,23.2204,79.3424,44.9954],provinceLabel:"Pakistan + Afghanistan + Uzbekistan + Tajikistan + Kyrgyzstan + Kazakhstan + Azerbaijan"}]},cy={class:"sec-head"},uy={class:"sec-name"},dy={class:"sec-count"},py={class:"grid"},gy=["data-list-id"],fy=["aria-label","onClick"],hy={class:"hcount"},my={class:"main"},by=["src","alt","onError"],yy={key:1,class:"ph"},_y={class:"ph-label"},vy={key:0,class:"ph-count"},ky={class:"tape pfs"},wy=["onClick"],xy=["onClick"],Sy={class:"modal",role:"dialog","aria-live":"polite"},Ay={class:"modal-kind"},Ly={class:"modal-title"},$y={class:"modal-err"},Cy={class:"modal-soon"},Ty={class:"bar"},Ey={class:"modal-phase"},Py=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t=Te("profileConfig",ue(null)),o=Q(()=>{var v;return((v=t.value)==null?void 0:v.instanceId)||"upg-100-wall"}),n=Q(()=>{var v;return((v=t.value)==null?void 0:v.isDark)===!0}),r=Q(()=>{var v;return String(((v=t.value)==null?void 0:v.assetsBase)||"./assets").replace(/\/+$/,"")}),a={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe"},s=v=>a[v]?a[v]:v.startsWith("asia-india-")?"India":v.startsWith("asia-china-")?"China + Mongolia":"Other",i=Q(()=>[...wo.lists||[],...wo.asia_lists||[],...wo.uncovered_lists||[]].filter(v=>v&&v.id)),l=Q(()=>{const v=new Map;for(const m of i.value){const d=s(m.id);v.has(d)||v.set(d,[]),v.get(d).push(m)}return[...v.entries()].map(([m,d])=>({name:m,items:d.slice().sort((k,$)=>($.count||0)-(k.count||0)),total:d.reduce((k,$)=>k+($.count||0),0)})).sort((m,d)=>d.total-m.total)}),u=ue(null);function c(v){const m=u.value===v.id;u.value=m?null:v.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:o.value,listId:m?null:v.id,label:m?null:v.label}}))}const p=v=>`${r.value}/previews/${v}.webp`,f=ue({}),_=ue(null);async function L(v){if(!_.value){_.value={label:v.label,kind:"Poster",phase:"fetch",message:"fetching poster",pct:20};try{const m=`${r.value}/posters/${v.id}.webp`,d=await fetch(m);if(!d.ok)throw new Error(`poster not found (${d.status})`);_.value={..._.value,phase:"save",message:"saving",pct:80};const k=await d.blob();w(k,`doxa-upg-100-${v.id}-poster.webp`),_.value={..._.value,phase:"done",message:"saved",pct:100},setTimeout(()=>{_.value=null},900)}catch(m){_.value={label:v.label,kind:"Poster",phase:"error",message:String((m==null?void 0:m.message)||m).slice(0,140),pct:0}}}}function g(v){_.value={label:v.label,kind:"Prayer List",phase:"soon",message:"Coming soon — the prayer list for each people group is in build.",pct:0}}function w(v,m){const d=document.createElement("a");d.href=URL.createObjectURL(v),d.download=m,document.body.appendChild(d),d.click(),d.remove(),setTimeout(()=>URL.revokeObjectURL(d.href),4e3)}function A(){_.value=null}return St(`.wall{position:absolute;inset:0;overflow-y:auto;padding:22px 18px 44px;background:#f6f7f9;color:#0f1419;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.wall.is-dark{background:#0a1410;color:#e5e7eb}.wall-h{margin:0 0 6px;font-size:19px;font-weight:700;text-align:center}.wall-tag{margin:0 auto 12px;width:fit-content;padding:3px 11px;border-radius:999px;background:rgba(16,185,129,.13);color:#0b7a5b;border:1px solid rgba(16,185,129,.28);font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.is-dark .wall-tag{background:rgba(16,185,129,.16);color:#6ee7b7;border-color:rgba(110,231,183,.32)}.wall-sub{margin:0 auto 22px;max-width:620px;font-size:12.5px;line-height:1.55;text-align:center;opacity:.75}.wall-sub strong{font-weight:700;opacity:1;color:inherit}.grid{display:grid;gap:64px 30px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));max-width:1180px;margin:0 auto}.card{position:relative;background:#fff;border:1px solid #e3e6ea;border-radius:3px;padding:24px 12px 26px;box-shadow:0 1px 3px rgba(0,0,0,.10),0 6px 18px rgba(0,0,0,.07);transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-3px);box-shadow:0 3px 8px rgba(0,0,0,.14),0 12px 28px rgba(0,0,0,.10)}.is-dark .card{background:#132019;border-color:rgba(110,231,183,.20)}.tape{box-sizing:border-box;position:absolute;left:50%;transform:translateX(-50%);z-index:2;font-size:10.5px;font-weight:600;letter-spacing:.02em;cursor:pointer;border:1px solid rgba(0,0,0,.08);background:#eef2f6;color:#23303c}.is-dark .tape{background:#1d2b23;color:#cfe9d9;border-color:rgba(255,255,255,.10)}.tape-h{top:-11px;width:82%;padding:4px 8px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:5px}.tape-h:hover{background:#e2e8ee}.hcount{font-weight:800;font-variant-numeric:tabular-nums}.hsep{opacity:.45}.hlabel{font-weight:600}.card.is-last{box-shadow:0 0 0 2px #10b981,0 6px 18px rgba(0,0,0,.10)}.card.is-last .tape-h{background:#10b981;color:#04241a;border-color:#10b981}.pfs{position:absolute;bottom:-14px;left:50%;transform:translateX(-50%);width:82%;margin:0;padding:0 4px 3px;border:1px solid rgba(0,0,0,.14);border-radius:2px;background:#fff;display:flex;gap:2px;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.10)}.is-dark .pfs{background:#132019;border-color:rgba(110,231,183,.24)}.pfs > legend{margin:0 auto;padding:0 5px;font-size:8px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;color:#8a93a0}.is-dark .pfs > legend{color:#7f9c8c}.pbtn{position:relative;flex:1;border:0;background:none;color:#5b6672;font:inherit;font-size:10.5px;font-weight:600;padding:2px 6px 3px;cursor:pointer;white-space:nowrap;transition:color .15s}.pbtn::after{content:"";position:absolute;left:6px;right:6px;bottom:0;height:2px;border-radius:2px;background:transparent;transition:background .15s}.pbtn:hover{color:#10b981}.pbtn:hover::after{background:#10b981}.is-dark .pbtn{color:#9fb3a8}.sec{max-width:1180px;margin:0 auto 56px}.sec-head{display:flex;align-items:baseline;gap:10px;margin:0 2px 14px;padding-bottom:7px;border-bottom:1px solid rgba(0,0,0,.10)}.is-dark .sec-head{border-bottom-color:rgba(255,255,255,.12)}.sec-name{margin:0;font-size:15px;font-weight:700;letter-spacing:.01em}.sec-count{font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}.main{position:relative;aspect-ratio:1/1;border:1px solid #dfe3e7;overflow:hidden;background:#fbfcfd;display:flex;align-items:center;justify-content:center}.is-dark .main{background:#0c1712;border-color:rgba(255,255,255,.08)}.img{width:100%;height:100%;object-fit:contain;display:block}.ph{padding:14px 10px;text-align:center}.ph-label{font-size:12.5px;font-weight:700;line-height:1.3}.ph-count{margin-top:5px;font-size:11px;opacity:.7}.ph-note{margin-top:10px;font-size:9.5px;text-transform:uppercase;letter-spacing:.09em;opacity:.45}.spinner{width:22px;height:22px;margin:0 auto 8px;border:2px solid rgba(0,0,0,.12);border-top-color:rgba(0,0,0,.45);border-radius:50%;animation:upgspin .8s linear infinite}.is-dark .spinner{border-color:rgba(255,255,255,.16);border-top-color:rgba(255,255,255,.55)}@keyframes upgspin{to{transform:rotate(360deg)}}.modal-scrim{position:fixed;inset:0;z-index:1000;background:rgba(8,12,16,.55);display:grid;place-items:center;padding:22px}.modal{width:min(340px,100%);background:#fff;color:#0f1419;border-radius:14px;padding:20px 22px;box-shadow:0 10px 40px rgba(0,0,0,.35);text-align:center}.is-dark .modal{background:#132019;color:#e5e7eb}.modal-kind{font-size:10px;text-transform:uppercase;letter-spacing:.1em;opacity:.55}.modal-title{margin:3px 0 14px;font-size:15px;font-weight:700;line-height:1.3}.bar{height:5px;border-radius:99px;background:rgba(0,0,0,.10);overflow:hidden}.is-dark .bar{background:rgba(255,255,255,.12)}.bar-fill{height:100%;background:#10b981;border-radius:99px;transition:width .25s ease}.modal-phase{margin-top:10px;font-size:12.5px;font-weight:600}.modal-hint{margin-top:6px;font-size:11px;line-height:1.5;opacity:.62}.modal-soon{font-size:13px;line-height:1.5;color:#5f5849;margin:6px 0 14px}.modal-err{font-size:12.5px;line-height:1.55;color:#b42318;margin-bottom:14px}.is-dark .modal-err{color:#fda29b}.modal-btn{border:1px solid rgba(0,0,0,.14);background:transparent;color:inherit;font:inherit;font-size:12.5px;padding:6px 18px;border-radius:8px;cursor:pointer}.modal-btn:hover{background:rgba(0,0,0,.06)}`,"upg-poster-wall"),(v,m)=>(V(),Z("div",{class:$e(["wall",{"is-dark":n.value}])},[m[6]||(m[6]=T("h2",{class:"wall-h"},"My UPG 100 List — Prayer Lists & Posters",-1)),m[7]||(m[7]=T("div",{class:"wall-tag"},"Prayer Mobilization",-1)),m[8]||(m[8]=T("p",{class:"wall-sub"},[dt(" Hand away the prayer task in clusters of fifties and hundreds — the way Jesus fed the 5,000 (Luke 9:14). Each poster is a 100-list you can pray, print, and put on a wall — praying for them "),T("strong",null,"by their people group name"),dt(". ")],-1)),(V(!0),Z(Se,null,Lt(l.value,d=>(V(),Z("section",{key:d.name,class:"sec"},[T("div",cy,[T("h3",uy,le(d.name),1),T("span",dy,le(d.total.toLocaleString())+" people groups · "+le(d.items.length)+" "+le(d.items.length===1?"list":"lists"),1)]),T("div",py,[(V(!0),Z(Se,null,Lt(d.items,k=>(V(),Z("div",{key:k.id,class:$e(["card",{"is-last":u.value===k.id}]),"data-list-id":k.id},[T("button",{type:"button",class:"tape tape-h","aria-label":`Show ${k.label} on the map`,onClick:$=>c(k)},[T("span",hy,le(k.count)+" UPG",1),m[1]||(m[1]=T("span",{class:"hsep"},"·",-1)),m[2]||(m[2]=T("span",{class:"hlabel"},"Show on map",-1))],8,fy),T("div",my,[f.value[k.id]?(V(),Z("div",yy,[T("div",_y,le(k.label),1),k.count?(V(),Z("div",vy,le(k.count)+" people groups",1)):he("",!0),m[3]||(m[3]=T("div",{class:"ph-note"},"poster not generated yet",-1))])):(V(),Z("img",{key:0,class:"img",src:p(k.id),alt:`${k.label} — UPG 100 list prayer poster`,loading:"lazy",decoding:"async",onError:$=>f.value[k.id]=!0},null,40,by))]),T("fieldset",ky,[m[4]||(m[4]=T("legend",null,"Print Options",-1)),T("button",{type:"button",class:"pbtn",onClick:$=>g(k)},"Prayer List",8,wy),T("button",{type:"button",class:"pbtn",onClick:$=>L(k)},"Poster Map",8,xy)])],10,gy))),128))])]))),128)),_.value?(V(),Z("div",{key:0,class:"modal-scrim",onClick:m[0]||(m[0]=It(d=>_.value.phase==="error"&&A(),["self"]))},[T("div",Sy,[T("div",Ay,le(_.value.kind),1),T("div",Ly,le(_.value.label),1),_.value.phase==="error"?(V(),Z(Se,{key:0},[T("div",$y,le(_.value.message),1),T("button",{type:"button",class:"modal-btn",onClick:A},"Close")],64)):_.value.phase==="soon"?(V(),Z(Se,{key:1},[T("div",Cy,le(_.value.message),1),T("button",{type:"button",class:"modal-btn",onClick:A},"Close")],64)):(V(),Z(Se,{key:2},[T("div",Ty,[T("div",{class:"bar-fill",style:ft({width:_.value.pct+"%"})},null,4)]),T("div",Ey,le(_.value.message),1),m[5]||(m[5]=T("div",{class:"modal-hint"}," Rendering a print-quality image in your browser — nothing is uploaded. ",-1))],64))])])):he("",!0)],2))}}},Symbol.toStringTag,{value:"Module"})),gu="pplrInstance";function My(e){return{instanceId:e,selection:ue(null),activeTab:ue(0),isSearching:ue(!1),geocoderText:ue(""),pinDetail:ue(null),theme:ue("dark")}}function Ny(e){Ft(gu,e)}function Iy(){return Te(gu,null)}const Ry=["data-theme"],Fy={class:"stl-inner"},Oy={class:"stl-titlebar"},Dy={class:"stl-tb-caret-slot"},By=["title"],jy={class:"stl-tb-eyebrow"},Gy=["title","aria-label"],Uy=["title"],Ky={key:2,class:"stl-tb-title"},Hy={key:3,class:"stl-export"},zy=["aria-expanded"],Vy={class:"stl-export-menu",role:"menu"},Wy={key:0,class:"stl-tabs-wrap"},Yy={class:"stl-tabs"},qy=["onClick"],Jy=["title","onClick"],Zy={key:0,class:"stl-info-pop"},Xy={class:"stl-col-hdr"},Qy={class:"stl-hdr-name"},e_=["title"],t_={key:0,class:"stl-sort-arrow"},o_=["title"],n_={key:0,class:"stl-sort-arrow"},a_=["data-stl-node-id","onClick"],r_=["onClick"],s_={key:1,class:"stl-caret-sp"},i_={key:3,class:"stl-dot-sp"},l_={class:"stl-name"},c_={key:4,class:"stl-num"},u_={key:5,class:"stl-num"},d_={class:"stl-x-slot"},p_={key:0,class:"stl-empty stl-loading"},g_={key:1,class:"stl-empty"},f_={key:2,class:"stl-empty"},h_={key:3,class:"stl-overflow"},m_=["data-theme"],b_={class:"stl-reopen-label"},fu=qn({__name:"SemanticTreeLegend",props:{nodes:{type:Array,default:()=>[]},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columns:{type:Array,default:()=>["count","pop"]},title:{type:String,default:"Legend"},hideTabs:{type:Boolean,default:!1},columnLabel:{type:String,default:""},open:{type:Boolean,default:null},exportEnabled:{type:Boolean,default:!1}},emits:["select","update:open","export"],setup(e,{emit:t}){const{t:o,te:n}=_t();function r(y){const E="tabs."+((y==null?void 0:y.i18nKey)||(y==null?void 0:y.id));return y&&n(E)?o(E):(y==null?void 0:y.label)??""}const a=e,s=t,i=Iy();function l(y,E=0){return y!=null&&y.length?Math.max(...y.map(j=>l(j.children??[],E+1))):E}function u(y,E,j=0){return j===E?y.slice():y.flatMap(P=>u(P.children??[],E,j+1))}function c(y,E,j=[]){var P;for(const R of y){if(R.id===E)return j;if((P=R.children)!=null&&P.length){const ne=c(R.children,E,[...j,R]);if(ne)return ne}}return null}function p(y,E=new Set){var j;if(!((j=y==null?void 0:y.children)!=null&&j.length))return E;for(const P of y.children)E.add(P.id),p(P,E);return E}function f(y,E="root"){var P;if(!Array.isArray(y))return[];const j=[];for(const R of y){if(!R||typeof R!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",E)}catch{}continue}j.push((P=R.children)!=null&&P.length?{...R,children:f(R.children,R.label||R.id||E)}:R)}return j}const _=Q(()=>f(a.nodes)),L=Q(()=>l(_.value)),g=Q(()=>{const y=a.tabs??[],E=y.length||L.value+1;return Array.from({length:E},(j,P)=>y[P]??{id:`gen${P+1}`,label:`Generation ${P+1}`})}),w=ue(Math.max(0,a.defaultTab|0)),A=ue(new Set),v=ue(null),m=ue(a.open!==null?a.open:!0),d=ue(null),k=ue(!1),$=ue(null),O=ue("desc"),I=Q({get:()=>a.hideTabs?0:i?i.activeTab.value:w.value,set:y=>{a.hideTabs||(i?i.activeTab.value=y:w.value=y)}}),M=Q({get:()=>i?i.selection.value:v.value,set:y=>{i?i.selection.value=y:v.value=y}}),U=Q(()=>{var y;return((y=M.value)==null?void 0:y.id)||null}),ee=ue(null);at(()=>a.open,y=>{y!==null&&(m.value=y)}),at(()=>_.value,()=>{const y=i==null?void 0:i.activeTab.value,E=Math.min(Math.max(0,a.defaultTab|0),Math.max(0,g.value.length-1));I.value=typeof y=="number"&&y>=0?y:E,A.value=new Set,M.value=null,s("select",null)},{deep:!1});let q=null;i&&at(()=>i.selection.value,y=>{if((y==null?void 0:y.id)===q)return;if(!y){q=null;return}q=y.id;const E=c(_.value,y.id)||[];typeof y.depth=="number"&&(I.value=Math.min(y.depth,g.value.length-1));const j=new Set;E.forEach(P=>j.add(P.id)),A.value=j,s("select",y)});function se(y,E){const j=(E.pop??0)-(y.pop??0);return j!==0?j:(E.count??0)-(y.count??0)}const H=Q(()=>{if(!$.value)return se;const y=$.value,E=O.value==="asc"?1:-1;return(j,P)=>((j[y]??0)-(P[y]??0))*E});function N(y){$.value===y?O.value==="desc"?O.value="asc":($.value=null,O.value="desc"):($.value=y,O.value="desc")}const F=ue([]),X=ue(!1);let ie=-1;function pe(y){if(F.value[y]){X.value=!1;return}X.value=!0,ie=y,setTimeout(()=>{if(ie!==y)return;const E=[...u(_.value,y)].sort(H.value),j=[...F.value];j[y]=E,F.value=j,X.value=!1},0)}at(I,y=>pe(y),{immediate:!0}),at(()=>[_.value,$.value,O.value],()=>{F.value=[],pe(I.value)},{deep:!1});const z=Q(()=>F.value[I.value]||[]),de=Q(()=>{var E;const y=(E=g.value[I.value])==null?void 0:E.topLimit;return y?z.value.slice(0,y):z.value}),ge=Q(()=>{var E;const y=(E=g.value[I.value])==null?void 0:E.topLimit;return y?Math.max(0,z.value.length-y):0});function Pe(y,E,j,P,R){var ne;for(const ae of E)ae&&(y.push({node:ae,relDepth:j,parent:P,ancestors:R}),A.value.has(ae.id)&&((ne=ae.children)!=null&&ne.length)&&Pe(y,[...ae.children].sort(H.value),j+1,ae,[...R,ae]))}const Be=Q(()=>{const y=[];Pe(y,de.value,0,null,[]);for(let E=0;ER+1&&Le.ancestors[R]}if(R===j.relDepth-1){let we=!1;for(let Le=E+1;LeU.value!==null),ze=Q(()=>a.columns.includes("count")),Ve=Q(()=>a.columns.includes("pop")),it=Q(()=>M.value?p(M.value):new Set),Ue=Q(()=>{var ne;const y=M.value;if(!y)return null;const E=c(_.value,y.id);if(!E||!E.length)return null;const j=E[E.length-1],P=E.length-1,R=((ne=g.value[P])==null?void 0:ne.label)||"Parent";return{node:j,tabName:R,depth:P}});function Ze(y){U.value===y.id?(q=null,M.value=null,s("select",null)):(q=y.id,M.value=y,s("select",y))}function At(y,E){E==null||E.stopPropagation();const j=new Set(A.value),P=j.has(y);if(P?j.delete(y):j.add(y),A.value=j,P&&M.value){const R=c(_.value,M.value.id);R&&R.some(ne=>ne.id===y)&&(q=null,M.value=null,s("select",null))}}function S(){const y=Ue.value;y!=null&&y.node&&(!a.hideTabs&&typeof y.depth=="number"&&(I.value=y.depth),A.value=new Set,Ze(y.node))}function C(y){if(I.value===y){d.value=d.value===y?null:y;return}I.value=y,A.value=new Set,q=null,M.value=null,d.value=null,s("select",null)}function x(y){y==null||y.stopPropagation(),q=null,M.value=null,s("select",null)}function B(y,E){E==null||E.stopPropagation(),d.value=d.value===y?null:y}function K(y){y==null||y.stopPropagation(),k.value=!k.value}function W(y){k.value=!1,s("export",y)}at(U,y=>{y||(k.value=!1)});function oe(y){let E=y.parentElement;for(;E;){const j=getComputedStyle(E).overflowY;if((j==="auto"||j==="scroll")&&E.scrollHeight>E.clientHeight+1){const P=y.getBoundingClientRect(),R=E.getBoundingClientRect();E.scrollTop+=P.top-R.top-8}E=E.parentElement}}let te=0;at(U,async y=>{if(!y)return;const E=++te,j=ee.value;if(!j)return;await tn();const P=(R=0)=>{if(E!==te)return;const ne=j.querySelector(`[data-stl-node-id="${CSS.escape(String(y))}"]`);ne&&oe(ne),R<6&&setTimeout(()=>P(R+1),70)};P(0)});function h(y){return y?y>=1e6?(y/1e6).toFixed(1)+"M":y>=1e3?Math.round(y/1e3)+"k":y.toLocaleString():"—"}function b(y){return y!=null?y.toLocaleString():"—"}function D(y){var E;return{selected:U.value===y.node.id,descendant:st.value&&it.value.has(y.node.id),child:y.relDepth>0,leaf:!((E=y.node.children)!=null&&E.length)}}return St(` +`,"pin-hint"),(w,b)=>a.value?(z(),oe("div",{key:0,class:Ce(["pin-hint",{dark:n.value}]),role:"status"},[L("span",Xb,[b[0]||(b[0]=L("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),gt(" "+ce(r.value)+" ",1),L("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:f},"×")])],2)):be("",!0)}},ey=!1;let ty=0;const oy=Qr("ui",{state:()=>({_storeInstanceId:++ty,theme:"light",colorScheme:"default",reducedMotion:!1,highContrast:!1,activeTab:"doxa-regions",sidebarCollapsed:!1,mobileMenuOpen:!1,legendState:"collapsed",_customLegendHeight:null,searchMode:!1,hamburgerMenuOpen:!1,legendMode:"prayer",prayerFilter:null,engagementFilter:null,adoptionFilter:null,religionFilter:null,selectedPeopleGroup:null,breakpoint:"desktop",windowSize:{width:window.innerWidth,height:window.innerHeight},toasts:[],nextToastId:1,toastDuration:5e3,openModals:[],modalData:new Map,isGlobalLoading:!1,globalLoadingMessage:"Loading...",loadingStates:new Map,interactionHistory:[],maxHistoryLength:20,keyboardShortcutsEnabled:!0,screenReaderAnnouncement:"",focusTrapActive:!1,debugMode:!1,showPerformanceOverlay:!1}),getters:{isDarkTheme:e=>!1,isMobile:e=>e.breakpoint==="mobile",isTablet:e=>e.breakpoint==="tablet",isDesktop:e=>e.breakpoint==="desktop"||e.breakpoint==="wide",legendHeight:e=>e._customLegendHeight?e._customLegendHeight:e.legendState==="collapsed"?"48px":e.legendState==="open"?"30%":e.legendState==="fullyOpen"?"calc(100% - 80px)":"48px",caretRotation:e=>e.legendState==="collapsed"?0:90,showPullTab:e=>e.legendState==="open"||e.legendState==="fullyOpen",getToastsByType:e=>t=>e.toasts.filter(o=>o.type===t),hasOpenModal:e=>e.openModals.length>0,topModal:e=>e.openModals.length===0?null:e.openModals[e.openModals.length-1],isModalOpen:e=>t=>e.openModals.includes(t),isAnyLoading:e=>e.isGlobalLoading||e.loadingStates.size>0,isLoading:e=>t=>e.loadingStates.get(t)||!1},actions:{setTheme(e){if(!["light","dark","auto"].includes(e))return;e="light",this.theme=e;const o=this.isDarkTheme;document.documentElement.setAttribute("data-theme",o?"dark":"light");try{localStorage.setItem("theme",e)}catch{}},toggleTheme(){const e=this.theme==="light"?"dark":"light";this.setTheme(e)},setColorScheme(e){this.colorScheme=e,document.documentElement.setAttribute("data-color-scheme",e)},toggleReducedMotion(){this.reducedMotion=!this.reducedMotion,document.documentElement.setAttribute("data-reduced-motion",this.reducedMotion)},toggleHighContrast(){this.highContrast=!this.highContrast,document.documentElement.setAttribute("data-high-contrast",this.highContrast)},setActiveTab(e){this.activeTab=e,this.addToHistory({type:"tab-change",tabId:e,timestamp:Date.now()})},toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed},openMobileMenu(){this.mobileMenuOpen=!0},closeMobileMenu(){this.mobileMenuOpen=!1},setLegendMode(e){["prayer","detail"].includes(e)&&(this.legendMode=e)},setPrayerFilter(e){[null,"noPrayer","hasPrayer","fullPrayer"].includes(e)&&(this.prayerFilter=e)},setEngagementFilter(e){[null,"notEngaged","hasEngagement"].includes(e)&&(this.engagementFilter=e)},setAdoptionFilter(e){[null,"notAdopted","hasAdoption"].includes(e)&&(this.adoptionFilter=e)},setReligionFilter(e){[null,"C","M","H","B","E","J","S","N","O","U"].includes(e)&&(this.religionFilter=e)},selectPeopleGroup(e){this.selectedPeopleGroup=e,e?(this._legendStateBeforeDetail=this.legendState,this.legendState="open",this._customLegendHeight=null,this.setLegendMode("detail")):(this.legendState=this._legendStateBeforeDetail||"open",this._customLegendHeight=null,this.setLegendMode("prayer"))},setLegendState(e){["collapsed","open","fullyOpen"].includes(e)&&(this.legendState=e)},toggleSearchMode(){this.searchMode=!this.searchMode},setSearchMode(e){this.searchMode=e},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},updateBreakpoint(e){let t;e<768?t="mobile":e<1024?t="tablet":e<1920?t="desktop":t="wide",t!==this.breakpoint&&(this.breakpoint=t)},updateWindowSize(e,t){this.windowSize.width=e,this.windowSize.height=t,this.updateBreakpoint(e)},showToast(e){const{message:t,type:o="info",duration:n=this.toastDuration,action:r=null,persistent:a=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:r,persistent:a,createdAt:Date.now()};return this.toasts.push(s),!a&&n>0&&setTimeout(()=>{this.removeToast(s.id)},n),s.id},showSuccess(e,t={}){return this.showToast({message:e,type:"success",...t})},showError(e,t={}){return this.showToast({message:e,type:"error",duration:7e3,...t})},showWarning(e,t={}){return this.showToast({message:e,type:"warning",...t})},showInfo(e,t={}){return this.showToast({message:e,type:"info",...t})},removeToast(e){const t=this.toasts.findIndex(o=>o.id===e);t!==-1&&this.toasts.splice(t,1)},clearAllToasts(){this.toasts=[]},openModal(e,t={}){this.openModals.includes(e)||(this.openModals.push(e),this.modalData.set(e,t),this.focusTrapActive=!0)},closeModal(e=null){if(e){const t=this.openModals.indexOf(e);t!==-1&&(this.openModals.splice(t,1),this.modalData.delete(e))}else{const t=this.openModals.pop();t&&this.modalData.delete(t)}this.openModals.length===0&&(this.focusTrapActive=!1)},closeAllModals(){this.openModals=[],this.modalData.clear(),this.focusTrapActive=!1},getModalData(e){return this.modalData.get(e)},showGlobalLoading(e="Loading..."){this.isGlobalLoading=!0,this.globalLoadingMessage=e},hideGlobalLoading(){this.isGlobalLoading=!1},setLoading(e,t=!0){t?this.loadingStates.set(e,!0):this.loadingStates.delete(e)},addToHistory(e){this.interactionHistory.push(e),this.interactionHistory.length>this.maxHistoryLength&&this.interactionHistory.shift()},clearHistory(){this.interactionHistory=[]},announce(e,t="polite"){this.screenReaderAnnouncement=e,setTimeout(()=>{this.screenReaderAnnouncement===e&&(this.screenReaderAnnouncement="")},1e3)},toggleKeyboardShortcuts(){this.keyboardShortcutsEnabled=!this.keyboardShortcutsEnabled},toggleDebugMode(){this.debugMode=!this.debugMode},togglePerformanceOverlay(){this.showPerformanceOverlay=!this.showPerformanceOverlay},toggleLegend(){this.legendState==="fullyOpen"?this.legendState="open":this.legendState==="open"?this.legendState="collapsed":this.legendState="open",this._customLegendHeight=null},openLegend(){this.legendState="open",this._customLegendHeight=null},fullyOpenLegend(){this.legendState="fullyOpen",this._customLegendHeight=null},collapseLegend(){this.legendState="collapsed",this._customLegendHeight=null},setLegendHeight(e){this._customLegendHeight=e},handleLegendItemClick(){this.legendState==="fullyOpen"&&(this.legendState="open")},enableSearchMode(){this.searchMode=!0},disableSearchMode(){this.searchMode=!1},toggleHamburgerMenu(){this.hamburgerMenuOpen=!this.hamburgerMenuOpen},openHamburgerMenu(){this.hamburgerMenuOpen=!0},closeHamburgerMenu(){this.hamburgerMenuOpen=!1},init(){let e=null;try{e=localStorage.getItem("theme")}catch{}e&&this.setTheme(e),new ResizeObserver(o=>{for(const n of o)this.updateWindowSize(n.contentRect.width,n.contentRect.height)}).observe(document.documentElement),window.matchMedia&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",o=>{this.theme==="auto"&&document.documentElement.setAttribute("data-theme",o.matches?"dark":"light")}),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",o=>{this.reducedMotion=o.matches,document.documentElement.setAttribute("data-reduced-motion",o.matches)}))}}}),ny=Qr("map",{state:()=>({maps:{},activeMapId:null,selectedRegion:null,selectedFamily:null,selectedAffinityBlock:null,selectedLanguage:null,selectedDialect:null,activeLegendTab:"family",selectedResource:null,selectedPeopleGroup:null,selectedPinIds:[],globalFilters:{},searchQuery:"",autoFly:{isActive:!1,speed:1,interval:5e3,currentIndex:0,items:[],timerId:null},guidedTour:{isActive:!1,currentStep:0,steps:[]},showClusters:!1,clusterMode:"region",clusterFilterProperty:null,clusterFilterValue:null,flySpeed:"normal",fullscreenMapId:null,preferences:{theme:"light",defaultMapStyle:"streets",enableAnimations:!0,autoSavePreferences:!0}}),getters:{getMapById:e=>t=>e.maps[t],activeMap:e=>e.activeMapId?e.maps[e.activeMapId]:null,hasMap:e=>t=>t in e.maps,allMapIds:e=>Object.keys(e.maps),hasSelection:e=>!!(e.selectedRegion||e.selectedFamily||e.selectedAffinityBlock||e.selectedPeopleGroup),isAutoFlying:e=>e.autoFly.isActive,isGuidedTourActive:e=>e.guidedTour.isActive,isMapFullscreen:e=>t=>e.fullscreenMapId===t},actions:{registerMap(e,t,o={}){let n=1.5;o.zoom!==void 0?n=o.zoom:t&&typeof t.getZoom=="function"&&(n=t.getZoom());let r=[0,0];if(o.center)r=o.center;else if(t&&typeof t.getCenter=="function"){const a=t.getCenter();a&&(r=[a.lng,a.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,center:r,registeredAt:Date.now()},this.activeMapId||(this.activeMapId=e)},setMapReady(e){const t=this.maps[e];t&&(t.isReady=!0)},updateMapState(e,t){const o=this.maps[e];o&&Object.assign(o,t)},unregisterMap(e){if(delete this.maps[e],this.activeMapId===e){const t=this.allMapIds;this.activeMapId=t.length>0?t[0]:null}},setActiveMap(e){e in this.maps&&(this.activeMapId=e)},selectRegion(e){this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedRegion=e},selectFamily(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedFamily=e},setActiveLegendTab(e){this.activeLegendTab=e},selectLanguage(e){this.selectedRegion=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedFamily=null,this.selectedDialect=null,this.selectedLanguage=e},selectDialect(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedDialect=e},selectAffinityBlock(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedPeopleGroup=null,this.selectedAffinityBlock=e},selectPeopleGroup(e){this.selectedPeopleGroup=e},selectResource(e){this.selectedRegion=null,this.selectedFamily=null,this.selectedAffinityBlock=null,this.selectedPeopleGroup=null,this.selectedResource===e?this.selectedResource=null:this.selectedResource=e},clearSelections(){this.selectedRegion=null,this.selectedFamily=null,this.selectedLanguage=null,this.selectedDialect=null,this.selectedAffinityBlock=null,this.selectedResource=null,this.selectedPeopleGroup=null,this.selectedPinIds=[],this.showClusters=!1,this.clusterMode="region"},setSelectedPinIds(e){this.selectedPinIds=e||[]},setFilter(e,t){this.globalFilters[e]=t},removeFilter(e){delete this.globalFilters[e]},clearFilters(){this.globalFilters={},this.searchQuery=""},setSearchQuery(e){this.searchQuery=e},startAutoFly(e,t=1){this.stopAutoFly(),this.autoFly.isActive=!0,this.autoFly.speed=t,this.autoFly.items=e,this.autoFly.currentIndex=0},stopAutoFly(){this.autoFly.timerId&&(clearInterval(this.autoFly.timerId),this.autoFly.timerId=null),this.autoFly.isActive=!1,this.autoFly.currentIndex=0},setAutoFlySpeed(e){this.autoFly.speed=Math.max(.5,Math.min(2,e))},nextAutoFlyItem(){if(!this.autoFly.isActive||this.autoFly.items.length===0)return;this.autoFly.currentIndex=(this.autoFly.currentIndex+1)%this.autoFly.items.length;const e=this.autoFly.items[this.autoFly.currentIndex];e.type==="region"?this.selectRegion(e):e.type==="family"&&this.selectFamily(e)},toggleClusters(e){typeof e=="boolean"?this.showClusters=e:this.showClusters=!this.showClusters},setClusterMode(e){["region","language-family","affinity-block","mst","resource"].includes(e)&&(this.clusterMode=e)},setClusterFilter(e,t){this.clusterFilterProperty=e||null,this.clusterFilterValue=t||null},clearClusterFilter(){this.clusterFilterProperty=null,this.clusterFilterValue=null},setFlySpeed(e){["slow","normal","fast"].includes(e)&&(this.flySpeed=e)},setSelectedFamily(e){this.selectFamily(e)},clearSelectedFamily(){this.selectFamily(null)},setSelectedRegion(e){this.selectRegion(e)},clearSelectedRegion(){this.selectRegion(null)},clearSelectedResource(){this.selectResource(null)},clearSelectedLanguage(){this.selectLanguage(null)},clearSelectedDialect(){this.selectDialect(null)},toggleFullscreen(e){this.fullscreenMapId===e?this.fullscreenMapId=null:this.fullscreenMapId=e},loadPreferences(){try{const e=localStorage.getItem("mapUserPreferences");if(e){const t=JSON.parse(e);this.preferences={...this.preferences,...t}}}catch(e){console.error("[mapStore] Failed to load preferences:",e)}},savePreferences(){try{localStorage.setItem("mapUserPreferences",JSON.stringify(this.preferences))}catch(e){console.error("[mapStore] Failed to save preferences:",e)}},setPreference(e,t){this.preferences[e]=t,this.preferences.autoSavePreferences&&this.savePreferences()}}}),ay=Qr("data",{state:()=>({sources:{},loadingStates:{}}),actions:{async load(e,t){if(!this.sources[e]){this.loadingStates[e]={isLoading:!0,error:null};try{const o=await t();this.sources[e]=Go({features:o,timestamp:Date.now()}),this.loadingStates[e]={isLoading:!1,error:null}}catch(o){console.error(`[dataStore] Failed to load source "${e}":`,o),this.loadingStates[e]={isLoading:!1,error:o}}}},clearSource(e){delete this.sources[e],delete this.loadingStates[e]},cacheSourceData(e,t){this.sources[e]=Go({features:t.normalizedData||[],timestamp:t.timestamp||Date.now()})},hasSourceData(e){return!!this.sources[e]},getSourceData(e){return this.sources[e]?{normalizedData:this.sources[e].features}:null}},getters:{getData:e=>t=>{var o;return((o=e.sources[t])==null?void 0:o.features)??null},isLoading:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.isLoading)??!1},getError:e=>t=>{var o;return((o=e.loadingStates[t])==null?void 0:o.error)??null}}}),ea={_meta:{_comment:"Single source of truth for data-source connections across all doxa-maps bundles.",_comment_token:"Mapbox access token is fetched at runtime from window.MAP_TOKEN_URL (same modular pattern as window.MAP_APP_API_URL). Not hardcoded to any host — set mapboxTokenUrl below or override window.MAP_TOKEN_URL on the host page.",mapboxTokenUrl:"window.MAP_TOKEN_URL"},activeSource:"pray-tools",sources:{"pray-tools":{id:"pray-tools",name:"Prayer.Tools API",type:"rest-api",description:"pray.doxa.life live API — people-group prayer, engagement, and adoption data. Base URL read from window.MAP_APP_API_URL or VITE_API_BASE_URL at runtime.",endpoints:{bulk:"/api/people-groups/list",detail:"/api/people-groups/detail/{slug}",statistics:"/api/people-groups/statistics"},queryParams:{lang:"en"},defaultFields:["slug","name","latitude","longitude","wagf_region","wagf_block","wagf_member","rop1","imb_reg_of_people_2","imb_reg_of_people_25","imb_reg_of_people_3","country_code","religion","population","has_photo","image_url","people_praying","people_committed","adopted_by_churches","engagement_status","primary_language","imb_language_family","imb_language_class","imb_language_speakers"],pollFields:["slug","people_praying"],pollInterval:3e5,fallbackSourceId:null,fieldMappings:{uniqueId:"slug",slug:"slug",name:"name",latitude:"latitude",longitude:"longitude",wagfRegion:"wagf_region",doxaRegion:"wagf_region",wagfBlock:"wagf_block",wagfMember:"wagf_member",affinityBlock:"rop1",countryIso:"country_code",religion:"religion",religionCode:"religion",population:"population",hasPhoto:"has_photo",imageUrl:"image_url",photoUrl:"image_url",peoplePraying:"people_praying",peopleCommitted:"people_committed",engagementStatus:"engagement_status",adoptionStatus:"adopted_by_churches",language:"primary_language",cluster:"imb_reg_of_people_2",peopleGroup:"imb_reg_of_people_25",peopleGroupCountry:"imb_reg_of_people_3",languageFamily:"imb_language_family",languageClass:"imb_language_class",languageSpeakers:"imb_language_speakers"},imageConfig:{useField:"imageUrl",fallbackField:null,fallbackUrlTemplate:null,placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",useSvgPlaceholder:!0}},"doxa-csv":{id:"doxa-csv",name:"DOXA People Groups CSV",type:"csv",path:"assets/data/Joshua-project-ids-Doxa-1439.csv",description:"People groups dataset from DOXA / Joshua Project",fieldMappings:{uniqueId:"ROP3",peopleGroupId:"ROP3",countryCode:"ROG",peopleId3:"PeopleID3",name:"Name",displayName:"NmDisp",alternateName:"NmAlt",description:"PeopleDesc",locationDescription:"LocationDe",country:"Ctry",countryIso:"ISOalpha3",region:"Regn",subRegion:"RegnSub",wagfRegion:"WAGF Region",doxaRegion:"WAGF Region",wagfBlock:"WAGF BLOCK",affinityBloc:"Affbloc",affinityBlock:"ROP1",affinityCode:"AffCd",affinityName:"Aff",peopleCluster:"PplClstr",ethneName:"Ethne",latitude:"Latitude",longitude:"Longitude",population:"Pop",populationClass:"PopCls",status:"Status",engagementStatus:"EngStat",evangelicalLevel:"EvngLvl",gsec:"GSEC",gsecBrief:"GSECbrf",gsecLong:"GSEClng",spiScore:"SPI",spiDescription:"SPIdesc",language:"Lang",languageCode:"ROL",languageFamily:"LangFamily",religion:"Rlgn",religionCode:"ROR",religionDescription:"RORdesc",religionBase:"RlgnBs",religionDiv:"RlgnDiv",bible:"Bible",jesusFilm:"Jesus",radio:"Radio",gospel:"Gospel",audio:"Audio",stories:"Stories",resourcesTotal:"ResTot",bibleLevel:"LvlBible",yearPublished:"YrPub",photoCredit:"PicCrdt",photoUrl:"PicURL",hasPhoto:"Photo",isIndigenous:"Indigenous"},imageConfig:{useField:"photoUrl",fallbackField:"peopleId3",fallbackUrlTemplate:"https://joshuaproject.net/assets/media/profiles/photos/p{peopleId3}.jpg",placeholderUrl:"https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg"}}},systemFields:{uniqueId:{description:"Unique identifier per row (slug for API, ROP3+ROG for CSV)",required:!0},peopleGroupId:{description:"People group ID — same group can appear in multiple countries",required:!0},name:{description:"People group display name",required:!0},latitude:{description:"Latitude coordinate for map pin",required:!0},longitude:{description:"Longitude coordinate for map pin",required:!0},engagementStatus:{description:"Boolean — true if engaged_status = 'engaged'",required:!1},adoptionStatus:{description:"Boolean — true if adopted_by_churches > 0",required:!1},peoplePraying:{description:"Number of people currently praying for this group — from pray-tools API",required:!1},peopleCommitted:{description:"Raw count of committed workers for this group — source of engagementStatus",required:!1},languageFamily:{description:"Language family name",required:!1},religion:{description:"Primary religion",required:!1},population:{description:"Population count",required:!1},doxaRegion:{description:"WAGF/DOXA region name",required:!1},photoUrl:{description:"URL to people group photo",required:!1},description:{description:"People group description text",required:!1}}},bn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},ry={class:"profile-loader"},sy={key:0,class:"profile-error"},iy={key:1,class:"profile-error"},ly=bn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var m;const o=e,n=ee(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),r=ee(()=>{var g;return((g=n.value)==null?void 0:g.profile)||null}),a=ee(()=>{var g;return((g=n.value)==null?void 0:g.tk)||""}),s=ee(()=>{var g;return((g=n.value)==null?void 0:g.dataSource)||ea.activeSource}),i=ee(()=>{var g;return((g=n.value)==null?void 0:g.colorSet)||"default"}),l=ee(()=>!1),c=ee(()=>{var g;return((g=n.value)==null?void 0:g.pinHint)!==!1}),u=ee(()=>{var y,A;const g=(((y=n.value)==null?void 0:y.locale)||((A=n.value)==null?void 0:A.lang)||"").split("-")[0].toLowerCase();return gu.includes(g)?g:""}),d=Pe("appI18n",null);up(()=>{u.value&&d&&(d.global.locale.value=u.value)});const f=ee(()=>{var g,y;return u.value||((y=(g=d==null?void 0:d.global)==null?void 0:g.locale)==null?void 0:y.value)||"en"}),_=ee(()=>{var g;return((g=n.value)==null?void 0:g.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),w=Pe("profileModules",null);if(!w)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const b=ee(()=>{if(!r.value)return null;const g=`./${r.value}.vue`;return w[g]?Ki(w[g]):(console.error(`[ProfileLoader] Profile not found: "${r.value}". Available:`,Object.keys(w)),null)});Gt("mapboxToken",a),Gt("dataSource",s),Gt("colorSet",i),Gt("profileConfig",n),Gt("instanceId",_),Gt("lang",f);const v=oy(),x=ny(),k=ay();try{const g=typeof localStorage<"u"?localStorage.getItem("theme"):null;g&&((m=v.setTheme)==null||m.call(v,g))}catch{}return Gt("uiStore",v),Gt("mapStore",x),Gt("dataStore",k),(g,y)=>(z(),oe("div",ry,[n.value?b.value?(z(),ut(Wi(b.value),{key:2})):(z(),oe("div",iy,[L("p",null,[y[1]||(y[1]=gt("⚠️ Profile ",-1)),L("strong",null,'"'+ce(r.value)+'"',1),y[2]||(y[2]=gt(" not found.",-1))])])):(z(),oe("div",sy,[...y[0]||(y[0]=[L("p",null,[gt("⚠️ "),L("strong",null,"doxa-map"),gt(": missing or invalid "),L("code",null,"profile-config"),gt(" prop.")],-1),L("p",null,[gt("Example: "),L("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),b.value&&l.value?(z(),ut(Wi(ve(null)),{key:3})):be("",!0),b.value&&c.value?(z(),ut(Qb,{key:4})):be("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),cy=Object.assign({"./poster-wall.vue":()=>Sn(()=>Promise.resolve().then(()=>Iy),void 0),"./upg-100-list.vue":()=>Sn(()=>Promise.resolve().then(()=>vk),void 0),"./upg-100-mfe.vue":()=>Sn(()=>Promise.resolve().then(()=>Tk),void 0)});if(typeof window<"u"&&((pd=window.mapboxgl)!=null&&pd.setRTLTextPlugin))try{window.mapboxgl.setRTLTextPlugin("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.3.0/mapbox-gl-rtl-text.js",null,!0)}catch{}function uy(){return Rg(ly,{configureApp(e){e.use(Wg()),e.use(Jb()),e.provide("profileModules",cy)}})}const dy=uy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",dy));const Ao={version:1,generated:"2026-05-28",source_total:2106,source_endpoint:"/api/people-groups/list",validation_run:"2026-05-28 — all 13 selectors validated exact-match against the live source",lists:[{id:"west-africa",label:"West Africa",count:118,selector:{type:"wagf_block",value:"west_africa"},bbox:[-21.3926,4.2189,27.2705,17.4735]},{id:"sudan",label:"Sudan",count:105,selector:{type:"country_code",value:"SDN"},bbox:[20.1672,9.0707,39.723,20.499]},{id:"brazil",label:"Brazil",count:103,selector:{type:"country_code",value:"BRA"},bbox:[-77.9152,-25.4802,-32.2913,7.3352]},{id:"east-africa",label:"East Africa",count:96,selector:{type:"wagf_block",value:"east_africa"},bbox:[22.3455,-14.3059,47.7947,20.0984]},{id:"laos",label:"Laos",count:95,selector:{type:"country_code",value:"LAO"},bbox:[99.8741,13.6759,108.2843,23.2186]},{id:"middle-east-core",label:"Middle East Core",count:71,selector:{type:"country_codes",values:["IRN","YEM","IRQ","OMN","SYR","LBN","PSE","QAT","SAU","JOR","BHR","ARE","KWT"]},bbox:[31.1468,9.3265,63.7915,42.0085]},{id:"andean-caribbean",label:"Andean + Caribbean",count:63,selector:{type:"country_codes",values:["COL","PER","VEN","ECU","BOL","PRY","PAN","CUB","SUR","ATG","ABW","BHS","BRB","CYM","CUW","GRD","JAM","LCA","SXM","TCA","VCT","GUY"]},bbox:[-85.7034,-31.2233,-51.7537,31.0655]},{id:"central-africa",label:"Central Africa",count:61,selector:{type:"wagf_block",value:"central_africa"},bbox:[.6063,-11.2806,32.2325,15.7303]},{id:"europe",label:"Europe",count:55,selector:{type:"wagf_region",value:"europe"},bbox:[-42.2659,-27.2213,168.5645,85]},{id:"oceania-indonesia",label:"Oceania + Indonesia",count:53,selector:{type:"union",selectors:[{type:"wagf_region",value:"oceania"},{type:"country_code",value:"IDN"}]},bbox:[83.9392,-43.091,-136.017,21.4266]},{id:"mainland-se-asia-philippines",label:"Mainland SE Asia + Philippines",count:50,selector:{type:"country_codes",values:["VNM","MYS","THA","MMR","BRN","KHM","PHL"]},bbox:[88.6434,.084,129.7854,26.789]},{id:"maghreb-egypt",label:"Maghreb + Egypt",count:47,selector:{type:"country_codes",values:["DZA","LBY","MAR","MRT","ESH","EGY","TUN"]},bbox:[-21.8716,14.0878,37.0339,39.1426]},{id:"southern-africa-islands",label:"Southern Africa + Islands of East Africa",count:39,selector:{type:"union",selectors:[{type:"wagf_block",value:"southern_africa"},{type:"wagf_block",value:"islands_of_east_africa"}]},bbox:[.638,-38.0929,63.5885,4.4534]}],deaf_lists:[{id:"deaf-old-world",label:"Deaf — Old World (Africa + Europe + Middle East)",expected_count:61,selector:{type:"deaf_predicate",regions:["africa","middle_east","europe"]}},{id:"deaf-new-world-asia-pacific",label:"Deaf — New World + Asia + Pacific",expected_count:62,selector:{type:"deaf_predicate",regions:["north_america_&_non-spanish_caribbean","na","asia","latin_america_&_caribbean","oceania"]}}],asia_lists:[{id:"asia-india-rajasthan",label:"Northwest India",count:116,selector:{type:"pg_slugs",values:["arain-dogri","arain-punjabi","badi-marwari","bania-dogri","bania-kashmiri","baret","bargi","bhand-kashmiri","bhojki","bhopa","bhutta","bomba","brukpa","budhan","campa","cejara","chadwa","cheintz","chheepi","chobdar","chopan","chungar","cudigar","dadupanthi","damami","daoli","daule","dhaki","dhobi-dogri","dhola","dhyar","dokhpa","domal","dosali","gagra","galwan","ganz","gardi","ghihara","gorkun","gosain-kangri","gosain-rajasthani","gurru","hadi","hajjam-haryanvi","hajjam-kashmiri","hesi","hiranbaj","kawoj","khadim","kharol","khatik-chambeali","khatik-punjabi","kraal","kriyagar","kucband","lakhera-haryanvi","laskari","lohar-dogri","malaneese","mangnyar-muslims","manhas","manjygur-muslims","masku","moghol-dogri","moghol-marwari","mogia","mon-india","murhid","nagbansi-dogri","nagda","nai-mewari","najjar","namdagur","naqqas","nar","nicar","nyaria","pajabgar","pakhimara","pangwal-buddhists","pangwala","pinjara-punjabi","pohul","purig-pa","racband","rajkumhar","rajpurohit","ratal","rath","rehar","runwalas","sain","sanchia","sanhai","sansoi","santia","saraogi","sayyid-pahari","seok","shaksaz","shikari","shina-india","singiwala","sofi","sorgars","sudhan","sunga","swangla","tak","thavi","usta","van-baoriya","ved","vijabargiya","waza"]},bbox:[69.9484,22.3586,79.972,35.9424],provinceLabel:"Rājasthān + Haryāna + Himāchal Pradesh + Jammu and Kashmīr + Punjab + Chandīgarh + Ladākh"},{id:"asia-india-andhra-pradesh",label:"South-Central India",count:107,selector:{type:"pg_slugs",values:["accukattavandlu","aguru","aiyarakulu","andhra-vaisnawa","ansari-momin-telugu","arakala","are-bondili","are-kapu","are-katika","atollu","attagara","bandollu","bania-agarwal-telegu","bayita-kammara","berad","bhatrajulu","bhondari","bindla","bolla","budakukkala","cakketakare","camadollu","cippollu","cundollu","dammali","dasari","gandalla","gandla","gangireddula","ganta-sayebulu","garadi","gavara","godagali","godari","gosangi","guddi-eluguwallu","gurika","hajjam-telugu","hatgar","jains-telugu","jakkula","jandra","jethi","kachi","kaikali","karnam","karnibhakthulu","katipamula","khatik-telugu","kommu-dasari","konda-kammara","kuliya","kurakula","lakkamari-kapu","madiga-dasu","majjula","mala-masti","malis","mandula","manna-dhora","matangi","medari","mitha-ayyalavar","moghal-telugu","mondivogula","muchi-chamar","muli","musti-chenchu","nagavamsam","nakhasa","neyyala","ontaris","padigarajulu","pagativeshagallu","paky","pambala","pamidi","pamula","pancaratra-srivaisnavas-brahmans","pariki-muggula","patkars","rajannalu","reddi-dora","reddika","runjalavallu","sadaru","sadhu-chetty","sakunapaksollu","samayavallu","saradagallu","senapathi","silavantulu","sindhollu","swakulasali-koshti","tamboli-telugu","thogataveera-kshatriya","tirugatigantla","tolakari","udupula","uppara","vaikhanasa-brahmans","verra-musti","vipravinodulu","yata","yatagiri","yatla","yite"]},bbox:[76.462,12.5091,84.8294,19.785],provinceLabel:"Andhra Pradesh + Telangāna"},{id:"asia-india-odisha",label:"East India",count:88,selector:{type:"pg_slugs",values:["badhai-chhattisgarhi","baha-i","bairagi-chhattisgarhi","bairagi-odia","bangti","banka","bargah","bari-odia","bauti","bavuri","beldar-chhattisgarhi","bhangi-chhattisgarhi","bharewa","bharia-bhumia-chhattisgarhi","bhattra-bhatri","bhoi-odia","bhunjia","bondo","brahman-jyoti","candhai-maru","chaikwa","chatarkheya","cherua","citrakar","daitapati","damla","darji-odia","dhakad-halbi","dhera","didayi","dom-chhattisgarhi","eneti-dora","ghadwa","ghantarghada","ghogia","ghusuria","godra","gosain-chhattisgarhi","guna","irika","janughanta","jogi-halbi","jogi-odia","kachchi-alia","kalal-sadri","kamila","kapasiya","kasar-odia","khadura","khairwar-chhattisgarhi","khandwal","khati-odia","khatik-chhattisgarhi","kobari","kol-chhattisgarhi","koraga","kuda","kuli","kurunga","kusta","liari","maghia","mahuria","malia","markande-kanjia","mundapotta","munnewar","nai-odia","naksia","noliya","oriya","panara","pando","panka-odia","parenga","radhi","rana","sabakhia","samasi","sanei","sayyid-chhattisgarhi","sayyid-odia","sinduria","son-koli","suda","thanapati","tharua","tula-vina"]},bbox:[80.3325,17.5357,87.6538,23.9578],provinceLabel:"Odisha + Chhattīsgarh"},{id:"asia-india-gujarat",label:"West India",count:90,selector:{type:"pg_slugs",values:["agaria","agri","anjana-patel-gujarati","bafan","bairagi-gujarati","baloch","bamcha","banjania","barot","barthari","bhodala","borpi","caki","champta","cunara","dafer","dangasiya","dasnami-bawa","depala","dudhwala","gadhai","galiara","garmatan","garvi","gavli","ghantiya","golarana","gosain-gujarati","hajjam-gujarati","halaypotra","hingora","hingorza","jat-muslim","juneja","kahar-gujarati","kamalia","kambodia-bhagat","kapadi","kasar-gujarati","kasbati","kathi","ker","khalpa","khaskeli","khatik-gujarati","langa","machhiyara","majothi","makrani","mandali-muslims","mer","mir","miyana","moghol-gujarati","mujavar","muslim-khatri","muslim-lakhera","muslim-patel","mutwa","narsinghpura","nayak-muslims","node","padhar","panar","paradhi","patanwadia","patni-jamat","patni-vankars","pomla","rathodia","raysipotra","royma","sagar","sandhai-muslims","saranias","sayyid-gujarati","shravan","siddi","sompura-salat","tai","targala","theba","tirgar","turi-barot","vadi","vahivanca-barot","vayati","vyapari","wagheri","wandharo"]},bbox:[68.1752,20.1033,74.3448,24.7906],provinceLabel:"Gujarāt"},{id:"asia-india-karnataka",label:"Southwest India",count:86,selector:{type:"pg_slugs",values:["adiyan","agasa","ansari-momin-kannada","arasu","ayri","bagga","baira","balasantoshi","bandi","bania-kannada","bania-konkani","batada","bayil-kammara","bayil-pattar","bellara","bestha","chaptegar","charodi","chenna-dasar","dombi-dasa","durga-murga","gabit","galada-kokani","ganti-chores","gatti","gauli","ghadi","godda","gomantak-maratha","gond-kannada","gudikara","guraw","hajjam-kannada","halleer","harkantra","hasalaru","helawa","holeya-dasari","jatigar","jaweri","jogi-telugu","jogi-tulu","khakar","kolari","komara-panta","koosa","koraga-korra","kottari","koyava","kudiya","kudubi","kummara-kumbara","kurahina-setti","ladar","maila","malaikudi","maleru","manser","meda","mhalo","mith-gauda","mogaveera","mundala","nadors","nai-kannada","nairy","natua","nawaiyat","padarthis","padiyar","pambada","pattegar","pendar","pinjara-kannada","rachavar","raddi","rajapuri","raneyar","raval","raya-rawat","sapalyas","sayyid-kannada","soligaru","sudir","thammadi","vilyagaras"]},bbox:[73.2695,11.4418,78.7305,18.4466],provinceLabel:"Karnātaka + Goa"},{id:"asia-india-kerala",label:"Malabar Coast",count:78,selector:{type:"pg_slugs",values:["allar","ambalavasi","anthur-nair","arayavati","ayyanavar","bakuda","bania-malayalam","bowis-mogeyar","cakkala","cakkyar-nambiyar","chakkiyar","chamar-muchi-malayalam","chengazhi-nambiar","cingatanmar","dheevara","erawallan","ezhavathi","ilayatu","indo-french","indo-vietnamese","kakkalan","kalanadies","kalladi","kallattu-kurup","karimpalan","kavara","kavuthiyan","kidaran","kocu-wellan","kollan","kootan","kumar-kshatriya","kummara-kusuvan","kunduvadian","kurukkal","laccadive","malai-pandaram","malayalar","maran-nairs","marasari","mavilan","moger-malayalam","moothan","mukkari","musari","muttatu","nalkadaya","nambutiris","narsanna","nasuvan","nayadi","otans","padannan","palakad-tandans","pandithar","pathinaickans","pathiyan","pisaroti","poduval","pulisari","puspakan-unni","reddi","samanthan","sonavar","thachanad-moopan","tiyattunni","urindavan","vadugan","valinjiyar","vetan","vettalaikarans","vettiyan","vilkurup","visavan","wainadan-cetti","wainadan-kader","wainadan-pulayan","wayanad-pathiyan"]},bbox:[72.8992,7.9875,80.5765,13.0102],provinceLabel:"Kerala + Puducherry + Lakshadweep"},{id:"asia-india-tamil-nadu",label:"Southeast India + Andaman Islands",count:73,selector:{type:"pg_slugs",values:["alavan","andamanese","ansari-momin-tamil","anuppan","aranadan","baig","bhatu-andamani","bondili","brahmin-andamani","cekkala","chamar-muchi-tamil","chayakkaran","coorgi-andamanese","dasa-palanjika","dayare","dhobi-tamil","gangawar","great-andamanese","gudugudupandi","gurukkal","jains-tamil","jarawas","jati-pillai","kambalattan","kambar","kannada-naicker","kannada-saineegar","karaiyar","karlar","karna-sale","katesar","kattiakaran","kayalar","kepmari","koliyan","kongu-vaisnawa","kongu-vellala-gounder","kota","krishnavaka","kudumi","kuluvan","kummara-kummari","kunnuva-vellalar","malai-vellala","maleyan","maniyattikkaran","mudugar","nakkala","namdeo-maratha","nanjil-mudali","onge","pannadi","panniandi","parkavakulam","parvatarajakulam","pattanavan","perumkollar","salivahanam","savalakkarar","sayyid-tamil","semman","senaithalaivar","sentinelese","siviar","tambiran","telengi","tholuva-naicker","thoraiyar","tondman","uppillian","urikkar-naicker","vellaiyan-kuppam-padaiyaci","vettaikkaran"]},bbox:[74.7588,7.4577,94.7701,13.968],provinceLabel:"Tamil Nādu + Andaman and Nicobar Islands"},{id:"asia-india-madhya-pradesh",label:"Central India",count:88,selector:{type:"pg_slugs",values:["anjana","attar-saibulu","baharupi","banchada","baraua","barda","bari-hindi","bari-marathi","basudeva","berar","bhanumati","bharwad","bhoi-marathi","bhurtia","chari","chitari","citrakathi","dhawad","dhed","dom-marathi","gachha","garodi","garpagari","gondhali","gopal","hajjam-hindi","hardas","hatkar","jadam","jains-hindi","jhadi","kachchi-kushwaha","kachera-bagheli","kaghzi","kandera","kapewar","kasar-hindi","kasikapadi","kathar","kharvi","khatik-marathi","kokaniz","kolhati","kudimahan","ladia","ladsi","lahangir","lajjhar","lodha-marathi","lonar","mana","manbhav","mankar","mitna","mondiwar","muskhan","muslim-gond","muslim-kachera","nahal","naikpod","naita","namdeo","nandiwala","naoda","nat-bagheli","neeli","nema","nilkanth","pangul","phularis","pinjara-marathi","pochammalollu","prabhu-patane","rujjhar","sagharias","sahi","sais","sanghar","sarodi","sikligar","sisgars","soria","sutar-mistry","takari","velip","waidu","yelmar","zamral"]},bbox:[69.6832,14.969,83.1757,26.995],provinceLabel:"Madhya Pradesh + Mahārāshtra + Dādra and Nagar Haveli and Damān and Diu"},{id:"asia-india-uttarakhand",label:"North India + Nepal",count:92,selector:{type:"pg_slugs",values:["ahmadiya","anwal","arain-kannauji","badhik","badi","balahar","banpar","bargala","bargujar","bhuiyar","bisati","camma","charwaha","chaudangsi","dhamin","dhekaro","gadhia","gadihar","gandharv","habura","hijra","hindu-santarash","jadupetia","jains-maithili","jarkhandi-hajjam","jarkhandi-julaha","jharkhandi-nai","jimdar","jogi-angika","kadar","kankali","khangar-bundeli","khatbune","kuthliya-bora","modaks","mujavir","mukeri","nagbansi","nalband","pankhiya","patari","puran","putliwale","rai-bhat-muslims","rajdhop","raji-india","rastogi","rave","sahisia","sayyid-garhwali","sheikhzade","shershabadia","sukiyar","tagewale","thakurai","tikulhara","tilli","turuk-pasi","baniya","barae","bhand","bhediyar","bodo","byangsi","chidmar","churaute","dhobi","dhunia","dura","gangai","gyasumdoba","halkhor","haluwai","jaine","kaike","kamar","kanu","kayastha","lodha","makalu-sherpa","mali","mallah","marwadi","nurang","pahari-nagarkotis","puma","rajbhar","raji-nepal","shaikh-bhojpuri","sudhi","surel","tseku"]},extraCountryCodes:["NPL"],bbox:[76.0644,22.1727,88.8858,31.2428],adm0:["NPL"],provinces:["Uttarākhand","Uttar Pradesh","Bihār","Jhārkhand","Delhi"],provinceLabel:"North India + Nepal"},{id:"asia-india-west-bengal",label:"Northeast India + Bangladesh + Bhutan",count:87,selector:{type:"pg_slugs",values:["aiton","angarok","ansari-momin-bengali","bagti","baida","baisya","bajandar","banai","banik-bania","barua","bhakta","bhalla","bhujel","bilaspuri","byadh","chamar-assamese","chunari","dalu-india","dhal-kstriya","dhimal","ghazi","hajjam-assamese","hajjam-bengali","haluadas","jains-bengali","kakmara","kanda","kapuria","kasar-bengali","khairwar-bengali","khalifa","khamba","khamyang","khatik-bengali","khowa","koiren","kumhar-assamese","kurol","lois","mahisyadas","malakar","man","maria-muslims","matak","mirshikar","momba","mukhi","na","nai-assamese","namasudra-assamese","paharia","pangans","pinjara-dhunia-bengali","sabar","saha","serdukpen","shabdakar","siyalgar","sudra-das","sunuwar","sutradhar","taiphake","tamboli-bengali","teli-assamese","thanga","tripuri-kumhar","tripuri-namasudra","turun","yakha","yatibi","zakhrin","brokkat","chali","dalu-bangladesh","deaf-bhutanese","doya","dzalakha","gongduk","koda","kurtop","lakha","lunape","matpa","nupbi","nyenpa","ole","ushoi"]},extraCountryCodes:["BGD","BTN"],bbox:[84.6438,21.028,98.3478,29.4168],provinceLabel:"West Bengal + Sikkim + Meghālaya + Assam + Arunāchal Pradesh + Manipur + Tripura + Bangladesh + Bhutan",adm0:["BGD","BTN"]},{id:"asia-china-yunnan-province",label:"Southern China",count:109,selector:{type:"pg_slugs",values:["a-ou","ai-cham","akeu","aling","alu","angku","ani","aoka","apu","baonuo","beidongnuo","bit-china","black-thai","bugan","buyang","cai","changpao","chesu","dianbao","diao","doupo","eastern-samadu","eastern-xiangxi-miao","ga-mong","gao","gelao","guaigun","ha-li","hagei","hongjin-tai","hu","huishui-miao","jiamao-li","jiasou","jino","khmu","kong-ge","kucong","laba","labapo","laowu","lati-china","lawu","liang-e","linghua","liping-baheng","liude","liujia","longjia","lu","lupanshui-miao","mang-china","manmet","mashan-miao","meifu-li","mengwu","mishaba-laluo","mo","mosuo","mozhihei","muda","muzi","naheng","nanjingren","northern-awu","northern-dong","northern-muji","numao","palyu","panxian-nasu","pingdi-yao","popei","pubiao","puman","pusha","qanu","qiubei-zhuang","qixingmin","rao","rumai-de-ang","sanda","sanqiao","shenzhou","sichuan-mongols","ta-er","tagu","tai-lu","tai-pong","tulao","tusu","wenma-zhuang","western-gaisu","western-samadu","wopu","wunai","xi","xialusi","xiaoliangshan-nosu","xijima","xinping-lalu","xuzhang-lalu","ya","yanghuang","yerong","yizi","youmai","younuo-bunu","yunnan-mongol","yunnan-shui"]},bbox:[96.3204,17.3374,113.2066,29.9169],provinceLabel:"Yunnan Province + Guizhou Province + Guangxi Zhuang Autonomous Region + Hunan Province + Hainan Province",provinces:["Yunnan Province","Guizhou Province","Guangxi Zhuang Autonomous Region","Hunan Province","Hainan Province"]},{id:"asia-china-tibet-autonomous-region",label:"Mainland China + Mongolia",count:53,selector:{type:"pg_slugs",values:["adi","ainu-china","alxa-mongols","bogar-lhoba","bogol","boyu-tibetans","bunan","buryat","butuo-nosu","cona-monba","darang-deng","enger-yugur","ersu","geman-deng","heishui","henan-mongols","keji","kyrgyz","luzu","manyak","medog-monba","miguba","ming","minyak","naju","namuyi","nghari-tibetans","olot","ongkor","puroik","saman","saragh-yugur","sarikoli-tajiks","shixing","suodi-nosu","tongren-bonan","uzbeks","wakhi-china","western-xibe","wutun","yidu-lhoba","yinuo-nosu","za"]},extraCountryCodes:["MNG","PRK","JPN"],bbox:[69.2237,24.2385,130.4094,51.3865],provinceLabel:"Tibet Autonomous Region + Sichuan Province + Xinjiang Uyghur Autonomous Region + Gansu Province + Inner Mongolia Autonomous Region + Qinghai Province + Heilongjiang Province + Mongolia + Japan + North Korea",provinces:["Tibet Autonomous Region","Sichuan Province","Xinjiang Uyghur Autonomous Region","Gansu Province","Inner Mongolia Autonomous Region","Qinghai Province","Heilongjiang Province"],adm0:["MNG"]}],asia_unsolved:{blocked_by:"admin-2 boundaries",south_asia_total:952,south_asia_india_only:855,north_asia_total:159,north_asia_china_only:154,central_asia_total:10,north_east_asia_total:7,unlock_path:"Regions tab → admin-2 layer (GADM India + China)",solved:!0,solved_on:"2026-06-06",solved_note:"12 admin-1 lists (10 India + 2 China) wired into lists via pg_slugs selector; India 855 / China 154; each list <=100. Resolved name->slug against geo-pgs-full.json (2106 rows, slug 1:1)."},uncovered_scatter:{n_a_region_total:19,null_region_total:3,decision_pending:"fold into nearest geographic neighbour OR create a 'Diaspora and Micro-territories' list. design note decides."},asia_solved_validation:"2026-06-06 — pg_slugs predicate exact-count for all 12 Asia lists against live 2106-row source; 0 cross-country leaks",uncovered_lists:[{id:"uncovered-scatter",label:"Scattered / Diaspora",count:8,contiguous:!1,contiguityExempt:!0,flag:"allowed non-contiguous bucket (S5-D3) — diaspora/island/micro-territory strays + 2 unstamped CHN border PGs",selector:{type:"country_codes",values:["AND","CCK","GUF","USA"]},extra_slugs:["jing","pana-china"],bbox:[-150.7534,-18.855,123.4288,50.0639]},{id:"uncovered-nas-a",label:"Central Asia + Pakistan",count:55,contiguous:!0,contiguityExempt:!1,flag:"NAS-A real frontier zone (09b-asia-contiguity-v2 N-D6): MERGE of the former uncovered-sa-west (AFG+PAK) + uncovered-central-asia (AZE/KGZ/TJK/UZB) into ONE zone owning BOTH the legend count AND the ADM0 render coverage. AFG-PAK-UZB-TJK-KGZ form one contiguous land-border core; AZE is the flagged Caspian-separated near-member (S5-D2). KAZ stays deaf-only (its only PG is deaf-kazakhstanis). Target coverage 55 (design directive; uncovered coverage counts are carried through, not recomputable from admin-membership — NOTE-COUNT). ID kept in the uncovered-* family (NOT asia-frontier-nas-a) because zone-geometry.isAsiaZone() routes any asia-*-prefixed id down the ADM1 listId path — an asia-* id would resolve 0 ADM0 polys and render NOTHING. uncovered-* keeps it on the country_codes/ADM0 render path; re-prefixing is the render-layer's NEXT slice, not this one.",selector:{type:"country_codes",values:["AFG","AZE","KGZ","PAK","TJK","UZB"]},bbox:[42.6538,23.2204,79.3424,44.9954],provinceLabel:"Pakistan + Afghanistan + Uzbekistan + Tajikistan + Kyrgyzstan + Kazakhstan + Azerbaijan"}]},py={class:"sec-head"},gy={class:"sec-name"},fy={class:"sec-count"},hy={class:"grid"},my=["data-list-id"],by=["aria-label","onClick"],yy={class:"hcount"},_y={class:"main"},vy=["src","alt","onError"],ky={key:1,class:"ph"},wy={class:"ph-label"},xy={key:0,class:"ph-count"},Sy={class:"tape pfs"},Ay=["onClick"],Ly=["onClick"],$y={class:"modal",role:"dialog","aria-live":"polite"},Cy={class:"modal-kind"},Ty={class:"modal-title"},Ey={class:"modal-err"},Py={class:"modal-soon"},My={class:"bar"},Ny={class:"modal-phase"},Iy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t=Pe("profileConfig",ue(null)),o=ee(()=>{var k;return((k=t.value)==null?void 0:k.instanceId)||"upg-100-wall"}),n=ee(()=>{var k;return((k=t.value)==null?void 0:k.isDark)===!0}),r=ee(()=>{var k;return String(((k=t.value)==null?void 0:k.assetsBase)||"./assets").replace(/\/+$/,"")}),a={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe"},s=k=>a[k]?a[k]:k.startsWith("asia-india-")?"India":k.startsWith("asia-china-")?"China + Mongolia":"Other",i=ee(()=>[...Ao.lists||[],...Ao.asia_lists||[],...Ao.uncovered_lists||[]].filter(k=>k&&k.id)),l=ee(()=>{const k=new Map;for(const m of i.value){const g=s(m.id);k.has(g)||k.set(g,[]),k.get(g).push(m)}return[...k.entries()].map(([m,g])=>({name:m,items:g.slice().sort((y,A)=>(A.count||0)-(y.count||0)),total:g.reduce((y,A)=>y+(A.count||0),0)})).sort((m,g)=>g.total-m.total)}),c=ue(null);function u(k){const m=c.value===k.id;c.value=m?null:k.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:o.value,listId:m?null:k.id,label:m?null:k.label}}))}const d=k=>`${r.value}/previews/${k}.webp`,f=ue({}),_=ue(null);async function w(k){if(!_.value){_.value={label:k.label,kind:"Poster",phase:"fetch",message:"fetching poster",pct:20};try{const m=`${r.value}/posters/${k.id}.webp`,g=await fetch(m);if(!g.ok)throw new Error(`poster not found (${g.status})`);_.value={..._.value,phase:"save",message:"saving",pct:80};const y=await g.blob();v(y,`doxa-upg-100-${k.id}-poster.webp`),_.value={..._.value,phase:"done",message:"saved",pct:100},setTimeout(()=>{_.value=null},900)}catch(m){_.value={label:k.label,kind:"Poster",phase:"error",message:String((m==null?void 0:m.message)||m).slice(0,140),pct:0}}}}function b(k){_.value={label:k.label,kind:"Prayer List",phase:"soon",message:"Coming soon — the prayer list for each people group is in build.",pct:0}}function v(k,m){const g=document.createElement("a");g.href=URL.createObjectURL(k),g.download=m,document.body.appendChild(g),g.click(),g.remove(),setTimeout(()=>URL.revokeObjectURL(g.href),4e3)}function x(){_.value=null}return St(`.wall{position:absolute;inset:0;overflow-y:auto;padding:22px 18px 44px;background:#f6f7f9;color:#0f1419;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.wall.is-dark{background:#0a1410;color:#e5e7eb}.wall-h{margin:0 0 6px;font-size:19px;font-weight:700;text-align:center}.wall-tag{margin:0 auto 12px;width:fit-content;padding:3px 11px;border-radius:999px;background:rgba(16,185,129,.13);color:#0b7a5b;border:1px solid rgba(16,185,129,.28);font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.is-dark .wall-tag{background:rgba(16,185,129,.16);color:#6ee7b7;border-color:rgba(110,231,183,.32)}.wall-sub{margin:0 auto 22px;max-width:620px;font-size:12.5px;line-height:1.55;text-align:center;opacity:.75}.wall-sub strong{font-weight:700;opacity:1;color:inherit}.grid{display:grid;gap:64px 30px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));max-width:1180px;margin:0 auto}.card{position:relative;background:#fff;border:1px solid #e3e6ea;border-radius:3px;padding:24px 12px 26px;box-shadow:0 1px 3px rgba(0,0,0,.10),0 6px 18px rgba(0,0,0,.07);transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-3px);box-shadow:0 3px 8px rgba(0,0,0,.14),0 12px 28px rgba(0,0,0,.10)}.is-dark .card{background:#132019;border-color:rgba(110,231,183,.20)}.tape{box-sizing:border-box;position:absolute;left:50%;transform:translateX(-50%);z-index:2;font-size:10.5px;font-weight:600;letter-spacing:.02em;cursor:pointer;border:1px solid rgba(0,0,0,.08);background:#eef2f6;color:#23303c}.is-dark .tape{background:#1d2b23;color:#cfe9d9;border-color:rgba(255,255,255,.10)}.tape-h{top:-11px;width:82%;padding:4px 8px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:5px}.tape-h:hover{background:#e2e8ee}.hcount{font-weight:800;font-variant-numeric:tabular-nums}.hsep{opacity:.45}.hlabel{font-weight:600}.card.is-last{box-shadow:0 0 0 2px #10b981,0 6px 18px rgba(0,0,0,.10)}.card.is-last .tape-h{background:#10b981;color:#04241a;border-color:#10b981}.pfs{position:absolute;bottom:-14px;left:50%;transform:translateX(-50%);width:82%;margin:0;padding:0 4px 3px;border:1px solid rgba(0,0,0,.14);border-radius:2px;background:#fff;display:flex;gap:2px;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.10)}.is-dark .pfs{background:#132019;border-color:rgba(110,231,183,.24)}.pfs > legend{margin:0 auto;padding:0 5px;font-size:8px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;color:#8a93a0}.is-dark .pfs > legend{color:#7f9c8c}.pbtn{position:relative;flex:1;border:0;background:none;color:#5b6672;font:inherit;font-size:10.5px;font-weight:600;padding:2px 6px 3px;cursor:pointer;white-space:nowrap;transition:color .15s}.pbtn::after{content:"";position:absolute;left:6px;right:6px;bottom:0;height:2px;border-radius:2px;background:transparent;transition:background .15s}.pbtn:hover{color:#10b981}.pbtn:hover::after{background:#10b981}.is-dark .pbtn{color:#9fb3a8}.sec{max-width:1180px;margin:0 auto 56px}.sec-head{display:flex;align-items:baseline;gap:10px;margin:0 2px 14px;padding-bottom:7px;border-bottom:1px solid rgba(0,0,0,.10)}.is-dark .sec-head{border-bottom-color:rgba(255,255,255,.12)}.sec-name{margin:0;font-size:15px;font-weight:700;letter-spacing:.01em}.sec-count{font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}.main{position:relative;aspect-ratio:1/1;border:1px solid #dfe3e7;overflow:hidden;background:#fbfcfd;display:flex;align-items:center;justify-content:center}.is-dark .main{background:#0c1712;border-color:rgba(255,255,255,.08)}.img{width:100%;height:100%;object-fit:contain;display:block}.ph{padding:14px 10px;text-align:center}.ph-label{font-size:12.5px;font-weight:700;line-height:1.3}.ph-count{margin-top:5px;font-size:11px;opacity:.7}.ph-note{margin-top:10px;font-size:9.5px;text-transform:uppercase;letter-spacing:.09em;opacity:.45}.spinner{width:22px;height:22px;margin:0 auto 8px;border:2px solid rgba(0,0,0,.12);border-top-color:rgba(0,0,0,.45);border-radius:50%;animation:upgspin .8s linear infinite}.is-dark .spinner{border-color:rgba(255,255,255,.16);border-top-color:rgba(255,255,255,.55)}@keyframes upgspin{to{transform:rotate(360deg)}}.modal-scrim{position:fixed;inset:0;z-index:1000;background:rgba(8,12,16,.55);display:grid;place-items:center;padding:22px}.modal{width:min(340px,100%);background:#fff;color:#0f1419;border-radius:14px;padding:20px 22px;box-shadow:0 10px 40px rgba(0,0,0,.35);text-align:center}.is-dark .modal{background:#132019;color:#e5e7eb}.modal-kind{font-size:10px;text-transform:uppercase;letter-spacing:.1em;opacity:.55}.modal-title{margin:3px 0 14px;font-size:15px;font-weight:700;line-height:1.3}.bar{height:5px;border-radius:99px;background:rgba(0,0,0,.10);overflow:hidden}.is-dark .bar{background:rgba(255,255,255,.12)}.bar-fill{height:100%;background:#10b981;border-radius:99px;transition:width .25s ease}.modal-phase{margin-top:10px;font-size:12.5px;font-weight:600}.modal-hint{margin-top:6px;font-size:11px;line-height:1.5;opacity:.62}.modal-soon{font-size:13px;line-height:1.5;color:#5f5849;margin:6px 0 14px}.modal-err{font-size:12.5px;line-height:1.55;color:#b42318;margin-bottom:14px}.is-dark .modal-err{color:#fda29b}.modal-btn{border:1px solid rgba(0,0,0,.14);background:transparent;color:inherit;font:inherit;font-size:12.5px;padding:6px 18px;border-radius:8px;cursor:pointer}.modal-btn:hover{background:rgba(0,0,0,.06)}`,"upg-poster-wall"),(k,m)=>(z(),oe("div",{class:Ce(["wall",{"is-dark":n.value}])},[m[6]||(m[6]=L("h2",{class:"wall-h"},"My UPG 100 List — Prayer Lists & Posters",-1)),m[7]||(m[7]=L("div",{class:"wall-tag"},"Prayer Mobilization",-1)),m[8]||(m[8]=L("p",{class:"wall-sub"},[gt(" Hand away the prayer task in clusters of fifties and hundreds — the way Jesus fed the 5,000 (Luke 9:14). Each poster is a 100-list you can pray, print, and put on a wall — praying for them "),L("strong",null,"by their people group name"),gt(". ")],-1)),(z(!0),oe(Te,null,Ct(l.value,g=>(z(),oe("section",{key:g.name,class:"sec"},[L("div",py,[L("h3",gy,ce(g.name),1),L("span",fy,ce(g.total.toLocaleString())+" people groups · "+ce(g.items.length)+" "+ce(g.items.length===1?"list":"lists"),1)]),L("div",hy,[(z(!0),oe(Te,null,Ct(g.items,y=>(z(),oe("div",{key:y.id,class:Ce(["card",{"is-last":c.value===y.id}]),"data-list-id":y.id},[L("button",{type:"button",class:"tape tape-h","aria-label":`Show ${y.label} on the map`,onClick:A=>u(y)},[L("span",yy,ce(y.count)+" UPG",1),m[1]||(m[1]=L("span",{class:"hsep"},"·",-1)),m[2]||(m[2]=L("span",{class:"hlabel"},"Show on map",-1))],8,by),L("div",_y,[f.value[y.id]?(z(),oe("div",ky,[L("div",wy,ce(y.label),1),y.count?(z(),oe("div",xy,ce(y.count)+" people groups",1)):be("",!0),m[3]||(m[3]=L("div",{class:"ph-note"},"poster not generated yet",-1))])):(z(),oe("img",{key:0,class:"img",src:d(y.id),alt:`${y.label} — UPG 100 list prayer poster`,loading:"lazy",decoding:"async",onError:A=>f.value[y.id]=!0},null,40,vy))]),L("fieldset",Sy,[m[4]||(m[4]=L("legend",null,"Print Options",-1)),L("button",{type:"button",class:"pbtn",onClick:A=>b(y)},"Prayer List",8,Ay),L("button",{type:"button",class:"pbtn",onClick:A=>w(y)},"Poster Map",8,Ly)])],10,my))),128))])]))),128)),_.value?(z(),oe("div",{key:0,class:"modal-scrim",onClick:m[0]||(m[0]=Et(g=>_.value.phase==="error"&&x(),["self"]))},[L("div",$y,[L("div",Cy,ce(_.value.kind),1),L("div",Ty,ce(_.value.label),1),_.value.phase==="error"?(z(),oe(Te,{key:0},[L("div",Ey,ce(_.value.message),1),L("button",{type:"button",class:"modal-btn",onClick:x},"Close")],64)):_.value.phase==="soon"?(z(),oe(Te,{key:1},[L("div",Py,ce(_.value.message),1),L("button",{type:"button",class:"modal-btn",onClick:x},"Close")],64)):(z(),oe(Te,{key:2},[L("div",My,[L("div",{class:"bar-fill",style:nt({width:_.value.pct+"%"})},null,4)]),L("div",Ny,ce(_.value.message),1),m[5]||(m[5]=L("div",{class:"modal-hint"}," Rendering a print-quality image in your browser — nothing is uploaded. ",-1))],64))])])):be("",!0)],2))}}},Symbol.toStringTag,{value:"Module"})),fu="pplrInstance";function Ry(e){return{instanceId:e,selection:ue(null),activeTab:ue(0),isSearching:ue(!1),geocoderText:ue(""),pinDetail:ue(null),theme:ue("dark")}}function Fy(e){Gt(fu,e)}function Oy(){return Pe(fu,null)}const Dy=["data-covered","data-total","data-pct"],By={class:"lpb-track"},jy=["data-span-pct"],Gy=["data-seg","data-count","aria-label","onMouseenter","onFocus","onClick"],Uy=["data-seg","data-count","aria-label"],Ky=["aria-valuenow","aria-valuemax","aria-valuetext","aria-label","title"],hu=bn({__name:"LegendProgressBar",props:{covered:{type:Number,default:0},total:{type:Number,default:0},segments:{type:Array,default:()=>[]},isDark:{type:Boolean,default:!1},label:{type:String,default:""},fmtCount:{type:Function,default:e=>(Number(e)||0).toLocaleString()}},emits:["select-segment"],setup(e,{emit:t}){const{t:o}=wt();St(` +/* ── LegendProgressBar (.lpb) — header progress bar of the prayer legend. + One flex line: [track (flex:1)][compact text]. The popover is absolute, below + the track, and imitates .stl-info-pop (SemanticTreeLegend) so it reads as + part of the legend chrome. Dark is the STL default; .lpb-light mirrors the + .stl-panel[data-theme="light"] palette. ── */ +.lpb{position:relative;display:flex;align-items:center;gap:8px;min-width:0;width:100%;box-sizing:border-box;} +.lpb-track{position:relative;flex:1 1 auto;min-width:60px;display:flex;height:10px;border-radius:5px;overflow:hidden;background:rgba(110,118,129,0.25);} +.lpb-span{display:flex;height:100%;min-width:0;flex:0 0 auto;} +.lpb-seg{appearance:none;-webkit-appearance:none;border:none;margin:0;padding:0;height:100%;display:block;flex:0 0 auto;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;transition:filter 0.12s,box-shadow 0.12s;} +.lpb-seg-rest{flex:1 1 auto;} +.lpb-seg:focus{outline:none;} +/* Hover / keyboard-focus / active highlight — brighter + a 1px inset ring (inset + shadows survive the track's overflow:hidden). */ +.lpb-seg:hover,.lpb-seg:focus-visible,.lpb-seg.active{filter:brightness(1.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.65);} +.lpb-light .lpb-seg:hover,.lpb-light .lpb-seg:focus-visible,.lpb-light .lpb-seg.active{box-shadow:inset 0 0 0 1px rgba(0,0,0,0.35);} +/* The text — same mono/size family as the STL column headers, tabular digits. */ +.lpb-text{flex:0 0 auto;font:600 10px ui-monospace,monospace;letter-spacing:0.02em;color:#8b949e;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1;} +.lpb-light .lpb-text{color:#57606a;} +/* Popover — imitates .stl-info-pop (same font, colours, radius, border). */ +.lpb-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:10;padding:7px 10px;background:#0d1117;border:1px solid #30363d;border-radius:6px;font:11px system-ui;color:#c9d1d9;line-height:1.45;white-space:nowrap;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,0.5);} +.lpb-light .lpb-pop{background:#f6f8fa;border-color:#d0d7de;color:#1f2328;box-shadow:0 8px 24px rgba(31,35,40,0.18);} +.lpb-pop-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:-1px;box-shadow:0 0 0 1px rgba(0,0,0,0.4);} +/* Collapsed mobile sheet (LegendMobile.vue) shows only the 48px title strip — the + bar must not take a second header line there. Same-shadow-root rule, owned here + so the sheet needs no knowledge of the bar. */ +.legend-mobile-sheet.collapsed .lpb{display:none!important;} +`,"legend-progress-bar");const n=e,r=t,a=ee(()=>n.total>0?Math.round(n.covered/n.total*100):0),s=ee(()=>n.total>0?Math.min(100,Math.max(0,n.covered/n.total*100)):0),i=ee(()=>n.segments.slice(0,-1)),l=ee(()=>n.segments.length?n.segments[n.segments.length-1]:null);function c(M){return n.covered>0?Math.min(100,Math.max(0,(M.count||0)/n.covered*100)):0}function u(M){return n.total>0?Math.round((M.count||0)/n.total*100):0}const d=ee(()=>n.label||o("legend.progress.covered",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:a.value})),f=ee(()=>o("legend.progress.short",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:a.value}));function _(M){return o("legend.progress.segment",{label:M.label,count:n.fmtCount(M.count||0),pct:u(M)})}const w=ue(null),b=ue(null),v={},x=ue(null),k=ue(0),m=ee(()=>n.segments.find(M=>M.key===x.value)||null);function g(M,N){N?v[M]=N:delete v[M]}async function y(M){x.value=M,await Ko();const N=w.value,P=v[M],F=b.value;if(!N||!P||!F)return;const W=N.getBoundingClientRect(),Z=P.getBoundingClientRect(),ae=Math.max(0,W.width-F.offsetWidth);k.value=Math.min(Math.max(0,Z.left-W.left),ae)}function A(){x.value=null}return(M,N)=>(z(),oe("div",{ref_key:"rootEl",ref:w,class:Ce(["lpb",e.isDark?"lpb-dark":"lpb-light"]),"data-covered":e.covered,"data-total":e.total,"data-pct":a.value,onMouseleave:A},[L("div",By,[L("span",{class:"lpb-span",style:nt({width:s.value+"%"}),"data-span-pct":s.value.toFixed(2)},[(z(!0),oe(Te,null,Ct(i.value,P=>(z(),oe("button",{key:P.key,type:"button",class:Ce(["lpb-seg",{active:x.value===P.key}]),style:nt({width:c(P)+"%",background:P.color}),"data-seg":P.key,"data-count":P.count||0,"aria-label":_(P),ref_for:!0,ref:F=>g(P.key,F),onMouseenter:F=>y(P.key),onFocus:F=>y(P.key),onBlur:A,onClick:Et(F=>r("select-segment",P.key),["stop"])},null,46,Gy))),128))],12,jy),l.value?(z(),oe("button",{key:0,type:"button",class:Ce(["lpb-seg lpb-seg-rest",{active:x.value===l.value.key}]),style:nt({background:l.value.color}),"data-seg":l.value.key,"data-count":l.value.count||0,"aria-label":_(l.value),ref:P=>g(l.value.key,P),onMouseenter:N[0]||(N[0]=P=>y(l.value.key)),onFocus:N[1]||(N[1]=P=>y(l.value.key)),onBlur:A,onClick:N[2]||(N[2]=Et(P=>r("select-segment",l.value.key),["stop"]))},null,46,Uy)):be("",!0)]),L("span",{class:"lpb-text",role:"progressbar","aria-valuenow":e.covered,"aria-valuemin":"0","aria-valuemax":e.total,"aria-valuetext":f.value,"aria-label":d.value,title:d.value},ce(f.value),9,Ky),m.value?(z(),oe("div",{key:0,ref_key:"popEl",ref:b,class:"lpb-pop",role:"tooltip",style:nt({left:k.value+"px"})},[L("span",{class:"lpb-pop-dot",style:nt({background:m.value.color})},null,4),gt(ce(_(m.value)),1)],4)):be("",!0)],42,Dy))}},[["__scopeId","data-v-b5bc421c"]]),Hy=["data-theme"],zy={class:"stl-inner"},Vy={class:"stl-tb-caret-slot"},Wy=["title"],Yy={class:"stl-tb-eyebrow"},qy=["title","aria-label"],Jy=["title"],Zy={key:2,class:"stl-tb-title"},Xy={key:3,class:"stl-export"},Qy=["aria-expanded"],e_={class:"stl-export-menu",role:"menu"},t_={key:0,class:"stl-tabs-wrap"},o_={class:"stl-tabs"},n_=["onClick"],a_=["title","onClick"],r_={key:0,class:"stl-info-pop"},s_={class:"stl-col-hdr"},i_={class:"stl-hdr-name"},l_=["title"],c_={key:0,class:"stl-sort-arrow"},u_=["title"],d_={key:0,class:"stl-sort-arrow"},p_=["data-stl-node-id","onClick"],g_=["onClick"],f_={key:1,class:"stl-caret-sp"},h_={key:3,class:"stl-dot-sp"},m_={class:"stl-name"},b_={key:4,class:"stl-num"},y_={key:5,class:"stl-num"},__={class:"stl-x-slot"},v_={key:0,class:"stl-empty stl-loading"},k_={key:1,class:"stl-empty"},w_={key:2,class:"stl-empty"},x_={key:3,class:"stl-overflow"},S_=["data-theme"],A_={class:"stl-reopen-label"},mu=bn({__name:"SemanticTreeLegend",props:{nodes:{type:Array,default:()=>[]},tabs:{type:Array,default:null},defaultTab:{type:Number,default:0},columns:{type:Array,default:()=>["count","pop"]},title:{type:String,default:"Legend"},hideTabs:{type:Boolean,default:!1},columnLabel:{type:String,default:""},open:{type:Boolean,default:null},exportEnabled:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["select","update:open","export"],setup(e,{emit:t}){const{t:o,te:n}=wt();function r(C){const D="tabs."+((C==null?void 0:C.i18nKey)||(C==null?void 0:C.id));return C&&n(D)?o(D):(C==null?void 0:C.label)??""}const a=e,s=t,i=Oy(),l=Pe("legendProgress",null),c=ee(()=>a.progress??ve(l)??null),u=ee(()=>c.value?o("legend.progress.title"):a.title),d=ee(()=>((i==null?void 0:i.theme.value)||"dark")==="dark");function f(C,D){var le;for(const ge of C||[]){if((ge==null?void 0:ge.id)===D)return ge;const ke=(le=ge==null?void 0:ge.children)!=null&&le.length?f(ge.children,D):null;if(ke)return ke}return null}function _(C){const D=f(m.value,C);D&&Y(D)}function w(C,D=0){return C!=null&&C.length?Math.max(...C.map(le=>w(le.children??[],D+1))):D}function b(C,D,le=0){return le===D?C.slice():C.flatMap(ge=>b(ge.children??[],D,le+1))}function v(C,D,le=[]){var ge;for(const ke of C){if(ke.id===D)return le;if((ge=ke.children)!=null&&ge.length){const Ye=v(ke.children,D,[...le,ke]);if(Ye)return Ye}}return null}function x(C,D=new Set){var le;if(!((le=C==null?void 0:C.children)!=null&&le.length))return D;for(const ge of C.children)D.add(ge.id),x(ge,D);return D}function k(C,D="root"){var ge;if(!Array.isArray(C))return[];const le=[];for(const ke of C){if(!ke||typeof ke!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",D)}catch{}continue}le.push((ge=ke.children)!=null&&ge.length?{...ke,children:k(ke.children,ke.label||ke.id||D)}:ke)}return le}const m=ee(()=>k(a.nodes)),g=ee(()=>w(m.value)),y=ee(()=>{const C=a.tabs??[],D=C.length||g.value+1;return Array.from({length:D},(le,ge)=>C[ge]??{id:`gen${ge+1}`,label:`Generation ${ge+1}`})}),A=ue(Math.max(0,a.defaultTab|0)),M=ue(new Set),N=ue(null),P=ue(a.open!==null?a.open:!0),F=ue(null),W=ue(!1),Z=ue(null),ae=ue("desc"),G=ee({get:()=>a.hideTabs?0:i?i.activeTab.value:A.value,set:C=>{a.hideTabs||(i?i.activeTab.value=C:A.value=C)}}),T=ee({get:()=>i?i.selection.value:N.value,set:C=>{i?i.selection.value=C:N.value=C}}),R=ee(()=>{var C;return((C=T.value)==null?void 0:C.id)||null}),U=ue(null);pt(()=>a.open,C=>{C!==null&&(P.value=C)}),pt(()=>m.value,()=>{const C=i==null?void 0:i.activeTab.value,D=Math.min(Math.max(0,a.defaultTab|0),Math.max(0,y.value.length-1));G.value=typeof C=="number"&&C>=0?C:D,M.value=new Set,T.value=null,s("select",null)},{deep:!1});let ie=null;i&&pt(()=>i.selection.value,C=>{if((C==null?void 0:C.id)===ie)return;if(!C){ie=null;return}ie=C.id;const D=v(m.value,C.id)||[];typeof C.depth=="number"&&(G.value=Math.min(C.depth,y.value.length-1));const le=new Set;D.forEach(ge=>le.add(ge.id)),M.value=le,s("select",C)});function _e(C,D){const le=(D.pop??0)-(C.pop??0);return le!==0?le:(D.count??0)-(C.count??0)}const H=ee(()=>{if(!Z.value)return _e;const C=Z.value,D=ae.value==="asc"?1:-1;return(le,ge)=>((le[C]??0)-(ge[C]??0))*D});function fe(C){Z.value===C?ae.value==="desc"?ae.value="asc":(Z.value=null,ae.value="desc"):(Z.value=C,ae.value="desc")}const he=ue([]),Ue=ue(!1);let Ve=-1;function et(C){if(he.value[C]){Ue.value=!1;return}Ue.value=!0,Ve=C,setTimeout(()=>{if(Ve!==C)return;const D=[...b(m.value,C)].sort(H.value),le=[...he.value];le[C]=D,he.value=le,Ue.value=!1},0)}pt(G,C=>et(C),{immediate:!0}),pt(()=>[m.value,Z.value,ae.value],()=>{he.value=[],et(G.value)},{deep:!1});const je=ee(()=>he.value[G.value]||[]),st=ee(()=>{var D;const C=(D=y.value[G.value])==null?void 0:D.topLimit;return C?je.value.slice(0,C):je.value}),tt=ee(()=>{var D;const C=(D=y.value[G.value])==null?void 0:D.topLimit;return C?Math.max(0,je.value.length-C):0});function bt(C,D,le,ge,ke){var Ye;for(const ye of D)ye&&(C.push({node:ye,relDepth:le,parent:ge,ancestors:ke}),M.value.has(ye.id)&&((Ye=ye.children)!=null&&Ye.length)&&bt(C,[...ye.children].sort(H.value),le+1,ye,[...ke,ye]))}const We=ee(()=>{const C=[];bt(C,st.value,0,null,[]);for(let D=0;Dke+1&&it.ancestors[ke]}if(ke===le.relDepth-1){let qe=!1;for(let it=D+1;itR.value!==null),S=ee(()=>a.columns.includes("count")),E=ee(()=>a.columns.includes("pop")),$=ee(()=>T.value?x(T.value):new Set),B=ee(()=>{var Ye;const C=T.value;if(!C)return null;const D=v(m.value,C.id);if(!D||!D.length)return null;const le=D[D.length-1],ge=D.length-1,ke=((Ye=y.value[ge])==null?void 0:Ye.label)||"Parent";return{node:le,tabName:ke,depth:ge}});function Y(C){R.value===C.id?(ie=null,T.value=null,s("select",null)):(ie=C.id,T.value=C,s("select",C))}function Q(C,D){D==null||D.stopPropagation();const le=new Set(M.value),ge=le.has(C);if(ge?le.delete(C):le.add(C),M.value=le,ge&&T.value){const ke=v(m.value,T.value.id);ke&&ke.some(Ye=>Ye.id===C)&&(ie=null,T.value=null,s("select",null))}}function X(){const C=B.value;C!=null&&C.node&&(!a.hideTabs&&typeof C.depth=="number"&&(G.value=C.depth),M.value=new Set,Y(C.node))}function q(C){if(G.value===C){F.value=F.value===C?null:C;return}G.value=C,M.value=new Set,ie=null,T.value=null,F.value=null,s("select",null)}function p(C){C==null||C.stopPropagation(),ie=null,T.value=null,s("select",null)}function h(C,D){D==null||D.stopPropagation(),F.value=F.value===C?null:C}function I(C){C==null||C.stopPropagation(),W.value=!W.value}function K(C){W.value=!1,s("export",C)}pt(R,C=>{C||(W.value=!1)});function re(C){let D=C.parentElement;for(;D;){const le=getComputedStyle(D).overflowY;if((le==="auto"||le==="scroll")&&D.scrollHeight>D.clientHeight+1){const ge=C.getBoundingClientRect(),ke=D.getBoundingClientRect();D.scrollTop+=ge.top-ke.top-8}D=D.parentElement}}let ne=0;pt(R,async C=>{if(!C)return;const D=++ne,le=U.value;if(!le)return;await Ko();const ge=(ke=0)=>{if(D!==ne)return;const Ye=le.querySelector(`[data-stl-node-id="${CSS.escape(String(C))}"]`);Ye&&re(Ye),ke<6&&setTimeout(()=>ge(ke+1),70)};ge(0)});function O(C){return C?C>=1e6?(C/1e6).toFixed(1)+"M":C>=1e3?Math.round(C/1e3)+"k":C.toLocaleString():"—"}function V(C){return C!=null?C.toLocaleString():"—"}function pe(C){var D;return{selected:R.value===C.node.id,descendant:Lt.value&&$.value.has(C.node.id),child:C.relDepth>0,leaf:!((D=C.node.children)!=null&&D.length)}}return St(` .stl-inner { --stl-pad-x: 10px; --stl-gap: 6px; @@ -99,6 +126,10 @@ } .stl-tb-caret-slot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .stl-tb-caret-slot:empty { display: none; } +/* Prayer progress bar IN the header: the titlebar wraps to a second line that the + bar fills edge to edge (line 1: caret + "Progress" [+ export]; line 2: the bar). */ +.stl-titlebar.has-progress { flex-wrap: wrap; row-gap: 7px; } +.stl-progress { flex: 1 1 100%; min-width: 0; } .stl-tb-title, .stl-tb-eyebrow { font: 600 10px ui-monospace, monospace; @@ -518,7 +549,22 @@ .stl-panel[data-theme="light"] .stl-export-item { color: #57606a; } .stl-panel[data-theme="light"] .stl-export-lock { color: #57606a; } .stl-panel[data-theme="light"] .stl-export-soon { color: #57606a; background: rgba(208,215,222,0.5); } -`,"semantic-tree-legend"),(y,E)=>{var j,P,R,ne;return V(),Z(Se,null,[T("div",{class:$e(["stl-panel",{closed:!m.value,"fit-content":e.hideTabs}]),"data-theme":((j=me(i))==null?void 0:j.theme.value)||"dark"},[T("div",Fy,[T("div",Oy,[T("span",Dy,[Mn(y.$slots,"title-caret",{},void 0,!0)]),y.$slots["title-caret"]?he("",!0):(V(),Z("button",{key:0,class:$e(["stl-collapse-btn",{closed:!m.value}]),title:m.value?"Collapse legend":"Expand legend",onClick:E[0]||(E[0]=ae=>{m.value=!m.value,s("update:open",m.value)})},[...E[8]||(E[8]=[T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,By)),Ue.value&&M.value?(V(),Z(Se,{key:1},[T("span",jy,le(Ue.value.tabName),1),T("button",{type:"button",class:"stl-tb-up",title:`Go up to ${Ue.value.node.label}`,"aria-label":`Go up to ${Ue.value.tabName} ${Ue.value.node.label}`,onClick:It(S,["stop"])},[E[9]||(E[9]=T("svg",{class:"stl-tb-up-icon",width:"9",height:"9",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[T("path",{d:"M3 7.5L6 4.5L9 7.5",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),Ue.value.node.color?(V(),Z("span",{key:0,class:"stl-tb-dot",style:ft({background:Ue.value.node.color})},null,4)):he("",!0),T("span",{class:"stl-tb-text",title:Ue.value.node.label},le(Ue.value.node.label),9,Uy)],8,Gy)],64)):(V(),Z("span",Ky,le(e.title),1)),e.exportEnabled&&M.value?(V(),Z("div",Hy,[T("button",{type:"button",class:$e(["stl-export-btn",{open:k.value}]),"aria-expanded":k.value?"true":"false","aria-haspopup":"menu",title:"Export selection","aria-label":"Export selection",onClick:It(K,["stop"])},[...E[10]||(E[10]=[T("svg",{width:"11",height:"11",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true"},[T("path",{d:"M7 1.5V9M7 1.5L4.2 4.3M7 1.5L9.8 4.3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),T("path",{d:"M2 9.5V11.5C2 12.05 2.45 12.5 3 12.5H11C11.55 12.5 12 12.05 12 11.5V9.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1),T("span",{class:"stl-export-label"},"Export",-1)])],10,zy),k.value?(V(),Z(Se,{key:0},[T("div",{class:"stl-export-backdrop",onClick:E[1]||(E[1]=It(ae=>k.value=!1,["stop"]))}),T("div",Vy,[T("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:E[2]||(E[2]=It(ae=>W("poster"),["stop"]))},[...E[11]||(E[11]=[T("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[T("rect",{x:"2",y:"1.5",width:"8",height:"9",rx:"1",stroke:"currentColor","stroke-width":"1.3"}),T("path",{d:"M4 4.5H8M4 6.5H8M4 8.5H6.5",stroke:"currentColor","stroke-width":"1.1","stroke-linecap":"round"})],-1),T("span",{class:"stl-export-item-label"},"Poster",-1)])]),T("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:E[3]||(E[3]=It(ae=>W("packet"),["stop"]))},[...E[12]||(E[12]=[Zp('Packet',2)])])])],64)):he("",!0)])):he("",!0)]),e.hideTabs?he("",!0):(V(),Z("div",Wy,[T("div",Yy,[(V(!0),Z(Se,null,Lt(g.value,(ae,we)=>(V(),Z("div",{key:ae.id,class:$e(["stl-tab-chip",{active:I.value===we}])},[T("button",{class:"stl-tab",onClick:Le=>C(we)},le(r(ae)),9,qy),ae.info?(V(),Z("button",{key:0,class:"stl-tab-info",title:ae.info,onClick:Le=>B(we,Le)},"i",8,Jy)):he("",!0)],2))),128))]),d.value!==null&&((P=g.value[d.value])!=null&&P.info)?(V(),Z("div",Zy,le(g.value[d.value].info),1)):he("",!0)])),T("div",Xy,[E[13]||(E[13]=T("span",{class:"stl-caret-sp"},null,-1)),E[14]||(E[14]=T("span",{class:"stl-dot-sp"},null,-1)),T("span",Qy,le(e.columnLabel||(e.hideTabs?e.title:r(g.value[I.value])||me(o)("legend.columns.name"))),1),ze.value?(V(),Z("button",{key:0,class:$e(["stl-hdr-num",{active:$.value==="count"}]),title:me(o)("legend.sortByUpgs"),onClick:E[4]||(E[4]=ae=>N("count"))},[dt(le(me(o)("legend.columns.upgs"))+" ",1),$.value==="count"?(V(),Z("span",t_,le(O.value==="desc"?"▼":"▲"),1)):he("",!0)],10,e_)):he("",!0),Ve.value?(V(),Z("button",{key:1,class:$e(["stl-hdr-num",{active:$.value==="pop"}]),title:me(o)("legend.sortByPop"),onClick:E[5]||(E[5]=ae=>N("pop"))},[dt(le(me(o)("legend.columns.population"))+" ",1),$.value==="pop"?(V(),Z("span",n_,le(O.value==="desc"?"▼":"▲"),1)):he("",!0)],10,o_)):he("",!0),E[15]||(E[15]=T("span",{class:"stl-x-slot"},null,-1))]),T("div",{class:$e(["stl-rows",{"has-sel":st.value}]),ref_key:"rowsContainer",ref:ee},[(V(!0),Z(Se,null,Lt(Be.value,ae=>{var we,Le;return V(),Z("div",{key:ae.node.id,class:$e(["stl-row",D(ae)]),"data-stl-node-id":ae.node.id,style:ft({"--trunk-color":((we=ae.parent)==null?void 0:we.color)||"#6e7681","--row-color":ae.node.color||"#73A17F"}),onClick:Ne=>Ze(ae.node)},[(V(!0),Z(Se,null,Lt(ae.trunks,(Ne,Wt)=>(V(),Z("span",{key:`tr${Wt}`,class:$e(["stl-trunk",`stl-trunk-${Ne}`])},null,2))),128)),(Le=ae.node.children)!=null&&Le.length?(V(),Z("button",{key:0,class:$e(["stl-caret",{open:A.value.has(ae.node.id)}]),onClick:It(Ne=>At(ae.node.id,Ne),["stop"])},[...E[16]||(E[16]=[T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,r_)):(V(),Z("span",s_)),ae.node.color?(V(),Z("span",{key:2,class:"stl-dot",style:ft({background:ae.node.color})},null,4)):(V(),Z("span",i_)),T("span",l_,le(ae.node.label),1),ze.value?(V(),Z("span",c_,le(b(ae.node.count)),1)):he("",!0),Ve.value?(V(),Z("span",u_,le(h(ae.node.pop)),1)):he("",!0),T("span",d_,[U.value===ae.node.id?(V(),Z("button",{key:0,class:"stl-x-chip",title:"Clear selection",onClick:E[6]||(E[6]=It(Ne=>x(Ne),["stop"]))},[...E[17]||(E[17]=[T("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])])):he("",!0)])],14,a_)}),128)),X.value&&!Be.value.length?(V(),Z("div",p_,[E[18]||(E[18]=T("span",{class:"stl-spinner"},null,-1)),T("span",null,"Loading "+le(((R=g.value[I.value])==null?void 0:R.label)||"rows")+"…",1)])):!Be.value.length&&e.nodes.length===0?(V(),Z("div",g_,"Loading data…")):Be.value.length?he("",!0):(V(),Z("div",f_,"No data at this level")),ge.value>0?(V(),Z("div",h_,[dt(" Showing top "+le(g.value[I.value].topLimit.toLocaleString())+" of "+le(z.value.length.toLocaleString())+" — ",1),E[19]||(E[19]=T("span",{class:"stl-overflow-hint"},"use the geocoder above to find the rest",-1))])):he("",!0)],2)])],10,Ry),m.value?he("",!0):(V(),Z("button",{key:0,class:"stl-reopen","data-theme":((ne=me(i))==null?void 0:ne.theme.value)||"dark",title:"Expand legend",onClick:E[7]||(E[7]=ae=>{m.value=!0,s("update:open",!0)})},[E[20]||(E[20]=T("svg",{class:"stl-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),T("span",b_,[M.value?(V(),Z(Se,{key:0},[M.value.color?(V(),Z("span",{key:0,class:"stl-reopen-dot",style:ft({background:M.value.color})},null,4)):he("",!0),dt(" "+le(M.value.label),1)],64)):(V(),Z(Se,{key:1},[dt(le(e.title),1)],64))]),E[21]||(E[21]=T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",class:"stl-reopen-caret"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,m_))],64)}}},[["__scopeId","data-v-58374e8c"]]),hu="peoplePraying",Qa=144,Io={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},er=Io,ys={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},y_=ys;function tr(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=Qa?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function _s(e){return Io[tr(e)]}function mu(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function bu(e){return tr(e)==="fullPrayer"}function yu(e){return _s(e)}function vs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,Qa],Io.fullPrayer,[">",t,0],Io.hasPrayer,Io.noPrayer]}const _u=vs,__=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:Qa,LABELS:ys,PALETTE:Io,PRAYER_COLORS:er,PRAYER_LABELS:y_,PROPERTY_KEY:hu,applyColor:vs,buildColorExpression:_u,checkHasFullPrayer:bu,checkHasPrayer:mu,default:{name:"Prayer Progress",propertyKey:hu,palette:Io,colors:Io,labels:ys,threshold:Qa,getColor:yu,applyColor:vs,buildColorExpression:_u,getPrayerLevel:tr,getPrayerColor:_s,checkHasPrayer:mu,checkHasFullPrayer:bu},getColor:yu,getPrayerColor:_s,getPrayerLevel:tr},Symbol.toStringTag,{value:"Module"}));function vu(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Wo&&Wo.tagName.toUpperCase()==="SCRIPT"&&Wo.src||new URL("my-upg-100-list.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}const ks=ue(0),or=ue(0),nr=ue(0),ws=ue(!1),xs=ue(!1),Ss=ue(null);let Jn=null;async function v_(){if(!ws.value)return Jn||(xs.value=!0,Ss.value=null,Jn=(async()=>{var e,t;try{const o=((e=Yn==null?void 0:Yn.sources)==null?void 0:e[Yn.activeSource])||{},n=vu(),r=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",a=await fetch(`${n}${r}`,{cache:"no-store"});if(!a.ok)throw new Error(`statistics HTTP ${a.status}`);const s=await a.json();ks.value=Number(s.total||0),or.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),nr.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),ws.value=!0}catch(o){Ss.value=o&&o.message?o.message:String(o)}finally{xs.value=!1,Jn=null}})(),Jn)}function k_(){return{total:ks,withPrayer:or,withFullPrayer:nr,loaded:ws,loading:xs,error:Ss,load:v_,noPrayerCount:()=>Math.max(0,ks.value-or.value),hasPrayerCount:()=>Math.max(0,or.value-nr.value),fullPrayerCount:()=>nr.value}}const ku="engagementStatus",xo={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},As=xo,Ls={notEngaged:"Unengaged",hasEngagement:"Engaged"},w_=Ls;function wu(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?xo.hasEngagement:xo.notEngaged}function $s({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],xo.hasEngagement,["==",t,1],xo.hasEngagement,xo.notEngaged]}const xu=$s,x_=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:As,ENGAGEMENT_LABELS:w_,LABELS:Ls,PALETTE:xo,PROPERTY_KEY:ku,applyColor:$s,buildColorExpression:xu,default:{name:"Engagement Progress",propertyKey:ku,palette:xo,colors:xo,labels:Ls,getColor:wu,applyColor:$s,buildColorExpression:xu},getColor:wu},Symbol.toStringTag,{value:"Module"})),Su="adoptionStatus",So={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},Cs=So,Ts={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},S_=Ts;function Au(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?So.hasAdoption:So.notAdopted}function Es({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],So.hasAdoption,["==",t,1],So.hasAdoption,So.notAdopted]}const Lu=Es,A_=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Cs,ADOPTION_LABELS:S_,LABELS:Ts,PALETTE:So,PROPERTY_KEY:Su,applyColor:Es,buildColorExpression:Lu,default:{name:"Adoption Progress",propertyKey:Su,palette:So,colors:So,labels:Ts,getColor:Au,applyColor:Es,buildColorExpression:Lu},getColor:Au},Symbol.toStringTag,{value:"Module"})),Ps="languageFamily",L_="#000000",Ro={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},$u=Ro;function Vt(e){return Ro[e]||L_}const $_=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Ro))t[e(o)]=o;return t})();function Ms(e){if(!e)return"Unknown";const t=String(e).trim();return $_[t.toLowerCase()]||t}function Cu(e){var t;return Vt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Ns(){const e=["match",["get",Ps]];return Object.entries(Ro).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Tu=Ns,C_=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:$u,PALETTE:Ro,PROPERTY_KEY:Ps,applyColor:Ns,buildColorExpression:Tu,canonicalFamilyName:Ms,default:{name:"Language Family",propertyKey:Ps,palette:Ro,colors:Ro,getColor:Cu,applyColor:Ns,buildColorExpression:Tu,getLanguageFamilyColor:Vt,canonicalFamilyName:Ms},defaultFamilyColor:"#95a5a6",getColor:Cu,getLanguageFamilyColor:Vt,languageFamilyColors:Ro},Symbol.toStringTag,{value:"Module"})),Eu="religion",Is="#94a3b8",Zn={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Rt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function Xn(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return Zn[t]?t:"U"}function Pu(e){var o,n,r;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((r=e==null?void 0:e._raw)==null?void 0:r.religion);return Rt[Xn(t)]||Is}function Rs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Rt.C,"M",Rt.M,"H",Rt.H,"B",Rt.B,"E",Rt.E,"J",Rt.J,"S",Rt.S,"N",Rt.N,"O",Rt.O,Is]}const Mu=Rs,T_=Object.assign({"./adoption.js":A_,"./engagement.js":x_,"./language-family.js":C_,"./prayer-progress.js":__,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Rt,PROPERTY_KEY:Eu,RELIGION_FAMILIES:Zn,applyColor:Rs,buildColorExpression:Mu,default:{name:"Religion",propertyKey:Eu,palette:Rt,families:Zn,getColor:Pu,applyColor:Rs,buildColorExpression:Mu,fallback:Is},getColor:Pu,getReligionFamily:Xn},Symbol.toStringTag,{value:"Module"}))}),E_=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),P_=e=>e.replace(/-/g,"_").toUpperCase(),gn={...{STATUS:"status",CUSTOM:"custom"}},Fs={};function M_(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const r=E_(o);gn[P_(o)]=r,Fs[r]=n}}M_(T_);function ar(e){return Fs[e]||Fs[gn.LANGUAGE_FAMILY]}const vt={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"};function N_(e){return(e==null?void 0:e.properties)||e||{}}function rr(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function I_(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(vt[n])return vt[n];if(t.length>=3){const r=[t[1],t[0]].join(" ");if(vt[r])return vt[r]}}if(vt[e])return vt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&vt[o]?vt[o]:null}const R_=[[/ sign language$/i,"Sign Language"]];function F_(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function O_(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function D_(e){var s,i,l,u;const t=e.language_family??e.languageFamily??((s=e._raw)==null?void 0:s.LanguageFamily)??((i=e._raw)==null?void 0:i.language_family),o=rr(t),n=Ms(o);if(n&&n!=="Unknown")return n;const r=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((u=e._raw)==null?void 0:u.primary_language),a=rr(r);if(a){const c=String(a).trim(),p=I_(c);if(p)return p;for(const[f,_]of R_)if(f.test(c))return _}return"Unknown"}function B_(e){var r,a;const t=((r=e._raw)==null?void 0:r.primary_language)??((a=e._raw)==null?void 0:a.PrimaryLanguage);if(t){const s=rr(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=rr(o);return n&&String(n).trim()||"— Unknown —"}function j_(e){var o,n;const t=e.population??((o=e._raw)==null?void 0:o.Population)??((n=e._raw)==null?void 0:n.population)??0;return parseInt(t,10)||0}function G_(e,t){var o,n;return(e==null?void 0:e.id)??t.id??t.peopleGroupId??((o=t._raw)==null?void 0:o.PeopleID3)??((n=t._raw)==null?void 0:n.PeopleID)??null}function U_(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function K_(e,t){var r,a,s,i;const o=parseFloat(t.latitude??t.lat??((r=t._raw)==null?void 0:r.Latitude)??((a=t._raw)==null?void 0:a.latitude)),n=parseFloat(t.longitude??t.lng??((s=t._raw)==null?void 0:s.Longitude)??((i=t._raw)==null?void 0:i.longitude));return!isFinite(o)||!isFinite(n)?null:[n,o]}function H_(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function sr(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Nu(e,t={}){t.aggregator;const o=Jo({});function n(g){return!!o[g]}function r(g){o[g]=!o[g]}function a(g){const w=new Set(Array.isArray(g)?g:[]);for(const A of Object.keys(o))w.has(A)||(o[A]=!1);for(const A of w)o[A]=!0}const s=Q(()=>{const g=(e==null?void 0:e.value)||[],w=new Map;for(const A of g){const v=N_(A),m=D_(v),d=B_(v),k=F_(d),$=O_(d),O=j_(v),I=G_(A,v),M=U_(A,v),U=K_(A,v);let ee=w.get(m);ee||(ee={key:m,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},w.set(m,ee)),ee.peopleGroupCount+=1,ee.population+=O,I!=null&&ee.pinIds.push(I),U&&ee.coords.push(U),M&&!ee.clusterId&&(ee.clusterId=M);let q=ee.languages.get(k);if(q||(q={key:k,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},ee.languages.set(k,q)),q.peopleGroupCount+=1,q.population+=O,I!=null&&q.pinIds.push(I),U&&q.coords.push(U),M&&!q.clusterId&&(q.clusterId=M),$){let se=q.dialects.get($);se?se.originalLabels.add(d):(se={key:$,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([d])},q.dialects.set($,se)),se.peopleGroupCount+=1,se.population+=O,I!=null&&se.pinIds.push(I),U&&se.coords.push(U)}}return w}),i=t.showAllKnown!==!1,l=Q(()=>{const g=s.value,w=[],A=new Set;for(const v of g.values())w.push({key:v.key,label:v.key,color:Vt(v.key),peopleGroupCount:v.peopleGroupCount,population:v.population,kind:v.clusterId?"cluster":"family",clusterId:v.clusterId||void 0,pinIds:v.pinIds,coords:v.coords}),A.add(v.key);if(i)for(const v of Object.keys($u))A.has(v)||w.push({key:v,label:v,color:Vt(v),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return w.sort(H_),w});function u(g){const w=s.value.get(g);if(!w)return[];const A=[];for(const v of w.languages.values())A.push({key:`${g}__${v.key}`,label:v.key,color:Vt(g),peopleGroupCount:v.peopleGroupCount,population:v.population,kind:v.clusterId?"cluster":"language",familyKey:g,clusterId:v.clusterId||void 0,pinIds:v.pinIds,coords:v.coords,hasDialects:v.dialects.size>0});return A.sort(sr),A}function c(g){const w=g.indexOf("__");if(w<0)return[];const A=g.slice(0,w),v=g.slice(w+2),m=s.value.get(A);if(!m)return[];const d=m.languages.get(v);if(!d)return[];const k=[];for(const $ of d.dialects.values())k.push({key:`${g}__${$.key}`,label:`${v}, ${$.key}`,dialectOnly:$.key,color:Vt(A),peopleGroupCount:$.peopleGroupCount,population:$.population,kind:"dialect",languageKey:v,familyKey:A,pinIds:$.pinIds,coords:$.coords,originalLabels:Array.from($.originalLabels)});return k.sort(sr),k}const p=Q(()=>{const g=s.value,w=[];for(const A of g.values())for(const v of A.languages.values())w.push({key:`${A.key}__${v.key}`,label:v.key,color:Vt(A.key),peopleGroupCount:v.peopleGroupCount,population:v.population,kind:v.clusterId?"cluster":"language",familyKey:A.key,clusterId:v.clusterId||void 0,pinIds:v.pinIds,coords:v.coords,hasDialects:v.dialects.size>0});return w.sort(sr),w}),f=Q(()=>{const g=s.value,w=[];for(const A of g.values())for(const v of A.languages.values())for(const m of v.dialects.values())w.push({key:`${A.key}__${v.key}__${m.key}`,label:`${v.key}, ${m.key}`,dialectOnly:m.key,color:Vt(A.key),peopleGroupCount:m.peopleGroupCount,population:m.population,kind:"dialect",languageKey:v.key,familyKey:A.key,pinIds:m.pinIds,coords:m.coords,originalLabels:Array.from(m.originalLabels)});return w.sort(sr),w});function _(g){let w=g;if(typeof g=="string"&&(w=l.value.find(v=>v.key===g),!w))return;const A={kind:w.kind,pinIds:w.pinIds||[],coords:w.coords||[]};w.kind==="family"&&(A.familyKey=w.label),w.kind==="language"&&(A.languageKey=w.label,A.familyKey=w.familyKey),w.kind==="dialect"&&(A.dialectKey=w.key,A.dialectOnly=w.dialectOnly||w.label,A.languageKey=w.languageKey,A.familyKey=w.familyKey,A.originalLabels=w.originalLabels||[]),w.kind==="cluster"&&(A.clusterId=w.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:A}))}const L=Q(()=>{const g=s.value,w=[];for(const A of g.values()){const v=Vt(A.key),m=[];for(const k of A.languages.values()){k.key&&k.key!=="— Unknown —"&&m.push(k.key);for(const $ of k.dialects.values())for(const O of $.originalLabels)O&&m.push(O)}const d={id:`fam:${A.key}`,label:A.key,color:v,count:A.peopleGroupCount,pop:A.population,filter:m.length>0?["any",["==",["get","languageFamily"],A.key],["in",["get","language"],["literal",Array.from(new Set(m))]]]:["==",["get","languageFamily"],A.key],children:[]};for(const k of A.languages.values()){const $=k.key,O={id:`lang:${A.key}__${$}`,label:$,color:v,count:k.peopleGroupCount,pop:k.population,filter:["any",["==",["get","language"],$],["==",["slice",["get","language"],0,$.length+1],$+","],["in"," "+$,["get","language"]]],children:[]};for(const I of k.dialects.values()){const M=Array.from(I.originalLabels);O.children.push({id:`dial:${A.key}__${$}__${I.key}`,label:`${$}, ${I.key}`,color:v,count:I.peopleGroupCount,pop:I.population,filter:M.length===1?["==",["get","language"],M[0]]:["in",["get","language"],["literal",M]],originalLabels:M,children:[]})}d.children.push(O)}w.push(d)}return w.sort((A,v)=>v.pop-A.pop||v.count-A.count),w});return{rows:l,languageRows:p,dialectRows:f,langTree:L,toggle:r,isExpanded:n,setExpansionToOnly:a,childRowsFor:u,dialectRowsFor:c,highlight:_}}const z_=[];function V_(){const e=ar(gn.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function W_(){const e=ar(gn.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function Y_(){const e=ar(gn.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const r of Object.keys(t))n[t[r]]=o[r]||"#999";return n}function zo(e,t){const r=Object.values(e.sources||{}).flatMap(a=>(a==null?void 0:a.features)||[]).filter(a=>t(a.properties||a));return{count:r.length,population:r.reduce((a,s)=>{var l;const i=s.properties||s;return a+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const Iu=100;function q_(e){var o;let t=(e==null?void 0:e.peopleCommitted)??((o=e==null?void 0:e._raw)==null?void 0:o.people_committed)??(e==null?void 0:e.people_committed)??null;return t&&typeof t=="object"&&(t=t.value??t.label??0),Number(t)||0}function Os(e){return t=>{const o=q_(t);return e==="fullPrayer"?o>=Iu:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function Fu(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}const J_={prayer:"legend.title.prayer",engagement:"legend.title.engagement",adoption:"legend.title.adoption","language-families":"legend.title.languageFamilies","language-family":"legend.title.languageFamilies","doxa-regions":"legend.title.doxaRegions","doxa-region":"legend.title.doxaRegions","affinity-blocs":"legend.title.affinityBlocs",countries:"legend.title.countries",country:"legend.title.countries","gospel-resources":"legend.title.gospelResources",religion:"legend.title.religion"};function Qn(e){return e==="doxa-region"?"doxa-regions":e==="country"?"countries":e}function Z_(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function X_(e){return(Number(e)||0).toLocaleString()}function Q_(e,t={}){const o=Te("dataStore"),n=Te("uiStore"),r=Te("mapStore"),{t:a}=_t(),s=k_();s.load();const i=Q(()=>{if(Qn(e.value)==="religion")return"Religion";const w=J_[e.value];return w?a(w):""}),l=Q(()=>Qn(e.value)==="affinity-blocs"?z_:[{key:"count",label:a("legend.columns.upgs"),width:48},{key:"population",label:a("legend.columns.population"),width:48}]),u=Q(()=>{const g=Qn(e.value);return g==="prayer"?n.prayerFilter:g==="engagement"?n.engagementFilter:g==="adoption"?n.adoptionFilter:g==="language-families"?r.selectedFamily:g==="doxa-regions"?r.selectedRegion:g==="gospel-resources"?r.selectedResource:g==="religion"?n.religionFilter:null});function c(g){const w=Qn(e.value);w==="prayer"?n.setPrayerFilter(n.prayerFilter===g?null:g):w==="engagement"?n.setEngagementFilter(n.engagementFilter===g?null:g):w==="adoption"?n.setAdoptionFilter(n.adoptionFilter===g?null:g):w==="language-families"?r.selectFamily(r.selectedFamily===g?null:g):w==="doxa-regions"?r.selectRegion(r.selectedRegion===g?null:g):w==="gospel-resources"?r.selectResource(r.selectedResource===g?null:g):w==="religion"&&n.setReligionFilter(n.religionFilter===g?null:g)}const p=Q(()=>{var w,A,v,m;const g=Qn(e.value);if(g==="prayer"){const d=zo(o,Os("noPrayer")),k=zo(o,Os("hasPrayer")),$=zo(o,Os("fullPrayer")),O=s.loaded.value,I=O?s.noPrayerCount():d.count,M=O?s.hasPrayerCount():k.count,U=O?s.fullPrayerCount():$.count;return[{key:"noPrayer",label:a("legend.prayer.needsPrayer"),color:er.noPrayer,count:I,population:d.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:a("legend.prayer.hasPrayer"),color:er.hasPrayer,count:M,population:k.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:a("legend.prayer.fullPrayerCoverage"),color:er.fullPrayer,count:U,population:$.population,filterKey:"fullPrayer"}]}]}if(g==="engagement"){const d=zo(o,$=>!Ru($)),k=zo(o,$=>Ru($));return[{key:"notEngaged",label:a("legend.engagement.needsEngagement"),color:As.notEngaged,count:d.count,population:d.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:a("legend.engagement.hasEngagement"),color:As.hasEngagement,count:k.count,population:k.population,filterKey:"hasEngagement"}]}]}if(g==="adoption"){const d=zo(o,$=>!Fu($)),k=zo(o,$=>Fu($));return[{key:"notAdopted",label:a("legend.adoption.needsAdoption"),color:Cs.notAdopted,count:d.count,population:d.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:a("legend.adoption.hasAdoption"),color:Cs.hasAdoption,count:k.count,population:k.population,filterKey:"hasAdoption"}]}]}if(g==="religion"){const d={},$=Object.values(o.sources||{}).flatMap(M=>(M==null?void 0:M.features)||[]);for(const M of $){const U=M.properties||M,ee=U.religion||((A=(w=U._raw)==null?void 0:w.religion)==null?void 0:A.value)||((v=U._raw)==null?void 0:v.religion)||"",q=Xn(ee);d[q]||(d[q]={count:0,population:0}),d[q].count+=1,d[q].population+=parseInt(U.population||((m=U._raw)==null?void 0:m.Population)||0)||0}const O=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const M of O)delete d[M];return Object.keys(d).sort((M,U)=>M==="C"?-1:U==="C"?1:d[U].population-d[M].population).map(M=>({key:M,label:Zn[M]||"Unknown",color:Rt[M]||"#94a3b8",count:d[M].count,population:d[M].population,filterKey:M,children:[]}))}if(g==="language-families")return(o.languageFamiliesData||[]).map(d=>({key:d.name,label:d.name,color:Vt(d.name),count:d.count,population:d.population,filterKey:d.name,children:[]}));if(g==="language-family"){const k={value:Object.values(o.sources||{}).flatMap(O=>(O==null?void 0:O.features)||[])},{rows:$}=Nu(k);return $.value.map(O=>({key:O.key,label:O.label,color:O.color,count:O.peopleGroupCount,population:O.population,filterKey:O.key,children:[]}))}if(g==="doxa-regions"){const d=W_();return(o.doxaRegionsData||[]).map(k=>({key:k.name,label:k.name,color:d[k.name]||"#999",count:k.count,population:k.population,filterKey:k.name,children:[]}))}if(g==="gospel-resources"){const d=V_(),k=(d==null?void 0:d.palette)??{},$=(d==null?void 0:d.names)??{},O=o.resourcesData||[];return Object.keys(k).map(I=>{const M=O.find(U=>U.key===I);return{key:I,label:$[I]||I,color:k[I],count:(M==null?void 0:M.count)||0,population:(M==null?void 0:M.population)||0,filterKey:I,children:((M==null?void 0:M.children)||[]).map(U=>({key:U.key,label:U.name||U.key,color:U.color||k[I],count:U.count||0,population:U.population||0,filterKey:U.key}))}})}if(g==="affinity-blocs"){const d=Y_();return Object.keys(d).sort().map(k=>({key:k,label:k,color:d[k],filterKey:k,children:[]}))}return[]});function f(g,w){return g.reduce((A,v)=>{var d;let m=v[w]||0;return(d=v.children)!=null&&d.length&&(m+=f(v.children,w)),A+m},0)}const _=Q(()=>f(p.value,"count")),L=Q(()=>f(p.value,"population"));return{items:p,columns:l,title:i,activeFilter:u,setFilter:c,totalCount:_,totalPopulation:L,fmtPop:Z_,fmtCount:X_}}const e0={excludeReligionFamilies:["C"]},t0={key:0,class:"lrg-title-row"},o0={class:"lrg-title-caret-slot"},n0={class:"lrg-title"},a0=["data-lrg-filter-key"],r0=["onClick"],s0={key:1,class:"lrg-caret-placeholder","aria-hidden":"true"},i0=["onClick"],l0={class:"lrg-name"},c0={class:"lrg-badge-inner"},u0=["data-lrg-filter-key"],d0=["onClick"],p0={class:"lrg-name"},g0={class:"lrg-badge-inner"},f0={key:1,class:"lrg-footer"},h0={class:"lrg-footer-label"},m0=qn({__name:"LegendRows",props:{title:{type:String,default:""},items:{type:Array,required:!0},columns:{type:Array,default:()=>[]},activeFilter:{type:String,default:null},isDark:{type:Boolean,default:!1},hideColumnHeader:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!1},totalCount:{type:Number,default:0},totalPopulation:{type:Number,default:0},fmtPop:{type:Function,default:e=>String(e||0)},fmtCount:{type:Function,default:e=>String(e||0)},disableCollapse:{type:Boolean,default:!1}},emits:["filter-click"],setup(e){const{t}=_t();St(` +/* ── DESKTOP TYPE SCALE (Driver, 2026-09-16: "the desktop font sizes in the legends need to + be increased … larger data to be more readable on desktop"). Desktop panel only — the + mobile sheet (.legend-mobile-sheet) keeps its own compact sizes. Size only, never layout; + the base rules above stay as the mobile/default scale. ── */ +.stl-panel:not(.legend-mobile-sheet *) .stl-tb-title, +.stl-panel:not(.legend-mobile-sheet *) .stl-tb-text { font-size: 14px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-tb-eyebrow { font-size: 11px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-tab { font-size: 12px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-hdr-name { font-size: 13px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-hdr-num { font-size: 11px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-name { font-size: 15px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-num { font-size: 13.5px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-info-pop { font-size: 13px; } +.stl-panel:not(.legend-mobile-sheet *) .stl-empty, +.stl-panel:not(.legend-mobile-sheet *) .stl-overflow { font-size: 12.5px; } +`,"semantic-tree-legend"),(C,D)=>{var le,ge,ke,Ye;return z(),oe(Te,null,[L("div",{class:Ce(["stl-panel",{closed:!P.value,"fit-content":e.hideTabs}]),"data-theme":((le=ve(i))==null?void 0:le.theme.value)||"dark"},[L("div",zy,[L("div",{class:Ce(["stl-titlebar",{"has-progress":!!c.value}])},[L("span",Vy,[Dn(C.$slots,"title-caret",{},void 0,!0)]),C.$slots["title-caret"]?be("",!0):(z(),oe("button",{key:0,class:Ce(["stl-collapse-btn",{closed:!P.value}]),title:P.value?"Collapse legend":"Expand legend",onClick:D[0]||(D[0]=ye=>{P.value=!P.value,s("update:open",P.value)})},[...D[8]||(D[8]=[L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,Wy)),B.value&&T.value?(z(),oe(Te,{key:1},[L("span",Yy,ce(B.value.tabName),1),L("button",{type:"button",class:"stl-tb-up",title:`Go up to ${B.value.node.label}`,"aria-label":`Go up to ${B.value.tabName} ${B.value.node.label}`,onClick:Et(X,["stop"])},[D[9]||(D[9]=L("svg",{class:"stl-tb-up-icon",width:"9",height:"9",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[L("path",{d:"M3 7.5L6 4.5L9 7.5",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),B.value.node.color?(z(),oe("span",{key:0,class:"stl-tb-dot",style:nt({background:B.value.node.color})},null,4)):be("",!0),L("span",{class:"stl-tb-text",title:B.value.node.label},ce(B.value.node.label),9,Jy)],8,qy)],64)):(z(),oe("span",Zy,ce(u.value),1)),e.exportEnabled&&T.value?(z(),oe("div",Xy,[L("button",{type:"button",class:Ce(["stl-export-btn",{open:W.value}]),"aria-expanded":W.value?"true":"false","aria-haspopup":"menu",title:"Export selection","aria-label":"Export selection",onClick:Et(I,["stop"])},[...D[10]||(D[10]=[L("svg",{width:"11",height:"11",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true"},[L("path",{d:"M7 1.5V9M7 1.5L4.2 4.3M7 1.5L9.8 4.3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),L("path",{d:"M2 9.5V11.5C2 12.05 2.45 12.5 3 12.5H11C11.55 12.5 12 12.05 12 11.5V9.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1),L("span",{class:"stl-export-label"},"Export",-1)])],10,Qy),W.value?(z(),oe(Te,{key:0},[L("div",{class:"stl-export-backdrop",onClick:D[1]||(D[1]=Et(ye=>W.value=!1,["stop"]))}),L("div",e_,[L("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:D[2]||(D[2]=Et(ye=>K("poster"),["stop"]))},[...D[11]||(D[11]=[L("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[L("rect",{x:"2",y:"1.5",width:"8",height:"9",rx:"1",stroke:"currentColor","stroke-width":"1.3"}),L("path",{d:"M4 4.5H8M4 6.5H8M4 8.5H6.5",stroke:"currentColor","stroke-width":"1.1","stroke-linecap":"round"})],-1),L("span",{class:"stl-export-item-label"},"Poster",-1)])]),L("button",{type:"button",class:"stl-export-item",role:"menuitem",onClick:D[3]||(D[3]=Et(ye=>K("packet"),["stop"]))},[...D[12]||(D[12]=[eg('Packet',2)])])])],64)):be("",!0)])):be("",!0),c.value?(z(),ut(hu,{key:4,class:"stl-progress",covered:c.value.covered,total:c.value.total,segments:c.value.segments,"is-dark":d.value,"fmt-count":V,onSelectSegment:_},null,8,["covered","total","segments","is-dark"])):be("",!0)],2),e.hideTabs?be("",!0):(z(),oe("div",t_,[L("div",o_,[(z(!0),oe(Te,null,Ct(y.value,(ye,qe)=>(z(),oe("div",{key:ye.id,class:Ce(["stl-tab-chip",{active:G.value===qe}])},[L("button",{class:"stl-tab",onClick:it=>q(qe)},ce(r(ye)),9,n_),ye.info?(z(),oe("button",{key:0,class:"stl-tab-info",title:ye.info,onClick:it=>h(qe,it)},"i",8,a_)):be("",!0)],2))),128))]),F.value!==null&&((ge=y.value[F.value])!=null&&ge.info)?(z(),oe("div",r_,ce(y.value[F.value].info),1)):be("",!0)])),L("div",s_,[D[13]||(D[13]=L("span",{class:"stl-caret-sp"},null,-1)),D[14]||(D[14]=L("span",{class:"stl-dot-sp"},null,-1)),L("span",i_,ce(e.columnLabel||(e.hideTabs?e.title:r(y.value[G.value])||ve(o)("legend.columns.name"))),1),S.value?(z(),oe("button",{key:0,class:Ce(["stl-hdr-num",{active:Z.value==="count"}]),title:ve(o)("legend.sortByUpgs"),onClick:D[4]||(D[4]=ye=>fe("count"))},[gt(ce(ve(o)("legend.columns.upgs"))+" ",1),Z.value==="count"?(z(),oe("span",c_,ce(ae.value==="desc"?"▼":"▲"),1)):be("",!0)],10,l_)):be("",!0),E.value?(z(),oe("button",{key:1,class:Ce(["stl-hdr-num",{active:Z.value==="pop"}]),title:ve(o)("legend.sortByPop"),onClick:D[5]||(D[5]=ye=>fe("pop"))},[gt(ce(ve(o)("legend.columns.population"))+" ",1),Z.value==="pop"?(z(),oe("span",d_,ce(ae.value==="desc"?"▼":"▲"),1)):be("",!0)],10,u_)):be("",!0),D[15]||(D[15]=L("span",{class:"stl-x-slot"},null,-1))]),L("div",{class:Ce(["stl-rows",{"has-sel":Lt.value}]),ref_key:"rowsContainer",ref:U},[(z(!0),oe(Te,null,Ct(We.value,ye=>{var qe,it;return z(),oe("div",{key:ye.node.id,class:Ce(["stl-row",pe(ye)]),"data-stl-node-id":ye.node.id,style:nt({"--trunk-color":((qe=ye.parent)==null?void 0:qe.color)||"#6e7681","--row-color":ye.node.color||"#73A17F"}),onClick:Mt=>Y(ye.node)},[(z(!0),oe(Te,null,Ct(ye.trunks,(Mt,pr)=>(z(),oe("span",{key:`tr${pr}`,class:Ce(["stl-trunk",`stl-trunk-${Mt}`])},null,2))),128)),(it=ye.node.children)!=null&&it.length?(z(),oe("button",{key:0,class:Ce(["stl-caret",{open:M.value.has(ye.node.id)}]),onClick:Et(Mt=>Q(ye.node.id,Mt),["stop"])},[...D[16]||(D[16]=[L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,g_)):(z(),oe("span",f_)),ye.node.color?(z(),oe("span",{key:2,class:"stl-dot",style:nt({background:ye.node.color})},null,4)):(z(),oe("span",h_)),L("span",m_,ce(ye.node.label),1),S.value?(z(),oe("span",b_,ce(V(ye.node.count)),1)):be("",!0),E.value?(z(),oe("span",y_,ce(O(ye.node.pop)),1)):be("",!0),L("span",__,[R.value===ye.node.id?(z(),oe("button",{key:0,class:"stl-x-chip",title:"Clear selection",onClick:D[6]||(D[6]=Et(Mt=>p(Mt),["stop"]))},[...D[17]||(D[17]=[L("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])])):be("",!0)])],14,p_)}),128)),Ue.value&&!We.value.length?(z(),oe("div",v_,[D[18]||(D[18]=L("span",{class:"stl-spinner"},null,-1)),L("span",null,"Loading "+ce(((ke=y.value[G.value])==null?void 0:ke.label)||"rows")+"…",1)])):!We.value.length&&e.nodes.length===0?(z(),oe("div",k_,"Loading data…")):We.value.length?be("",!0):(z(),oe("div",w_,"No data at this level")),tt.value>0?(z(),oe("div",x_,[gt(" Showing top "+ce(y.value[G.value].topLimit.toLocaleString())+" of "+ce(je.value.length.toLocaleString())+" — ",1),D[19]||(D[19]=L("span",{class:"stl-overflow-hint"},"use the geocoder above to find the rest",-1))])):be("",!0)],2)])],10,Hy),P.value?be("",!0):(z(),oe("button",{key:0,class:"stl-reopen","data-theme":((Ye=ve(i))==null?void 0:Ye.theme.value)||"dark",title:"Expand legend",onClick:D[7]||(D[7]=ye=>{P.value=!0,s("update:open",!0)})},[D[20]||(D[20]=L("svg",{class:"stl-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),L("span",A_,[T.value?(z(),oe(Te,{key:0},[T.value.color?(z(),oe("span",{key:0,class:"stl-reopen-dot",style:nt({background:T.value.color})},null,4)):be("",!0),gt(" "+ce(T.value.label),1)],64)):(z(),oe(Te,{key:1},[gt(ce(u.value),1)],64))]),D[21]||(D[21]=L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",class:"stl-reopen-caret"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,S_))],64)}}},[["__scopeId","data-v-fc1aebfa"]]),bu="peoplePraying",tr=144,Oo={noPrayer:"#e74c3c",hasPrayer:"#f39c12",fullPrayer:"#22c55e"},qo=Oo,_s={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},L_=_s;function or(e){var n;const t=(e==null?void 0:e.peoplePraying)??((n=e==null?void 0:e._raw)==null?void 0:n.people_praying)??null,o=Number(t)||0;return o>=tr?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function vs(e){return Oo[or(e)]}function yu(e){var o;const t=(e==null?void 0:e.peoplePraying)??((o=e==null?void 0:e._raw)==null?void 0:o.people_praying)??null;return t!==null&&t>0}function _u(e){return or(e)==="fullPrayer"}function vu(e){return vs(e)}function ks({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,tr],Oo.fullPrayer,[">",t,0],Oo.hasPrayer,Oo.noPrayer]}const ku=ks,$_=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:tr,LABELS:_s,PALETTE:Oo,PRAYER_COLORS:qo,PRAYER_LABELS:L_,PROPERTY_KEY:bu,applyColor:ks,buildColorExpression:ku,checkHasFullPrayer:_u,checkHasPrayer:yu,default:{name:"Prayer Progress",propertyKey:bu,palette:Oo,colors:Oo,labels:_s,threshold:tr,getColor:vu,applyColor:ks,buildColorExpression:ku,getPrayerLevel:or,getPrayerColor:vs,checkHasPrayer:yu,checkHasFullPrayer:_u},getColor:vu,getPrayerColor:vs,getPrayerLevel:or},Symbol.toStringTag,{value:"Module"}));function wu(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Xo&&Xo.tagName.toUpperCase()==="SCRIPT"&&Xo.src||new URL("my-upg-100-list.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}const ws=ue(0),nr=ue(0),ar=ue(0),xs=ue(!1),Ss=ue(!1),As=ue(null);let ta=null;async function C_(){if(!xs.value)return ta||(Ss.value=!0,As.value=null,ta=(async()=>{var e,t;try{const o=((e=ea==null?void 0:ea.sources)==null?void 0:e[ea.activeSource])||{},n=wu(),r=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",a=await fetch(`${n}${r}`,{cache:"no-store"});if(!a.ok)throw new Error(`statistics HTTP ${a.status}`);const s=await a.json();ws.value=Number(s.total||0),nr.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),ar.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),xs.value=!0}catch(o){As.value=o&&o.message?o.message:String(o)}finally{Ss.value=!1,ta=null}})(),ta)}function T_(){return{total:ws,withPrayer:nr,withFullPrayer:ar,loaded:xs,loading:Ss,error:As,load:C_,noPrayerCount:()=>Math.max(0,ws.value-nr.value),hasPrayerCount:()=>Math.max(0,nr.value-ar.value),fullPrayerCount:()=>ar.value}}const xu="engagementStatus",Lo={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Ls=Lo,$s={notEngaged:"Unengaged",hasEngagement:"Engaged"},E_=$s;function Su(e){var n;const t=e.engagementStatus??((n=e._raw)==null?void 0:n.people_committed);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?Lo.hasEngagement:Lo.notEngaged}function Cs({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Lo.hasEngagement,["==",t,1],Lo.hasEngagement,Lo.notEngaged]}const Au=Cs,P_=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Ls,ENGAGEMENT_LABELS:E_,LABELS:$s,PALETTE:Lo,PROPERTY_KEY:xu,applyColor:Cs,buildColorExpression:Au,default:{name:"Engagement Progress",propertyKey:xu,palette:Lo,colors:Lo,labels:$s,getColor:Su,applyColor:Cs,buildColorExpression:Au},getColor:Su},Symbol.toStringTag,{value:"Module"})),Lu="adoptionStatus",$o={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},Ts=$o,Es={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},M_=Es;function $u(e){var n;const t=e.adoptionStatus??((n=e._raw)==null?void 0:n.adopted_by_churches);return t===!0||t===1||typeof t=="number"&&t>0||typeof t=="object"&&(t==null?void 0:t.value)?$o.hasAdoption:$o.notAdopted}function Ps({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","adoptionStatus"]:["get","adoptionStatus"];return["case",["==",t,!0],$o.hasAdoption,["==",t,1],$o.hasAdoption,$o.notAdopted]}const Cu=Ps,N_=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Ts,ADOPTION_LABELS:M_,LABELS:Es,PALETTE:$o,PROPERTY_KEY:Lu,applyColor:Ps,buildColorExpression:Cu,default:{name:"Adoption Progress",propertyKey:Lu,palette:$o,colors:$o,labels:Es,getColor:$u,applyColor:Ps,buildColorExpression:Cu},getColor:$u},Symbol.toStringTag,{value:"Module"})),Ms="languageFamily",I_="#000000",Do={"Indo-European":"#e74c3c",Dravidian:"#ff9800","Afro-Asiatic":"#27ae60","Sino-Tibetan":"#3498db","Niger-Congo":"#9b59b6",Unclassified:"#95a5a6","Nilo-Saharan":"#e91e63","Khoe-Kwadi":"#00bcd4","Austro-Asiatic":"#00bcd4","Kra-Dai":"#8e44ad",Austronesian:"#ff69b4","Hmong-Mien":"#f44336",Turkic:"#ffc107","Nakh-Daghestanian":"#009688",Mongolic:"#795548",Uralic:"#607d8b",Tungusic:"#4caf50",Japonic:"#ff5722",Cariban:"#673ab7",Tupian:"#03a9f4",Tucanoan:"#8bc34a",Maipurean:"#ffc107",Panoan:"#cddc39",Guajiboan:"#9e9e9e",Chibchan:"#ff7043",Quechuan:"#ab47bc",Jean:"#26a69a",Harákmbut:"#7e57c2",Nambikwara:"#42a5f5",Muran:"#66bb6a",Karajá:"#ffa726",Bororoan:"#ef5350",Arauan:"#5c6bc0",Yanomaman:"#26c6da",Yaguan:"#d4e157",Witotoan:"#78909c",Zamucoan:"#8d6e63",Puinavean:"#aed581",Barbacoan:"#4db6ac","Eyak-Athabaskan":"#7986cb","Trans-New Guinea":"#ba68c8",Andamanese:"#4dd0e1","Sign Language":"#212121",Creole:"#9575cd","Mixed language":"#a1887f","Language isolate":"#90a4ae",Unknown:"#000000"},Tu=Do;function Jt(e){return Do[e]||I_}const R_=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Do))t[e(o)]=o;return t})();function Ns(e){if(!e)return"Unknown";const t=String(e).trim();return R_[t.toLowerCase()]||t}function Eu(e){var t;return Jt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Is(){const e=["match",["get",Ms]];return Object.entries(Do).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Pu=Is,F_=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:Tu,PALETTE:Do,PROPERTY_KEY:Ms,applyColor:Is,buildColorExpression:Pu,canonicalFamilyName:Ns,default:{name:"Language Family",propertyKey:Ms,palette:Do,colors:Do,getColor:Eu,applyColor:Is,buildColorExpression:Pu,getLanguageFamilyColor:Jt,canonicalFamilyName:Ns},defaultFamilyColor:"#95a5a6",getColor:Eu,getLanguageFamilyColor:Jt,languageFamilyColors:Do},Symbol.toStringTag,{value:"Module"})),Mu="religion",Rs="#94a3b8",oa={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},jt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function na(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return oa[t]?t:"U"}function Nu(e){var o,n,r;const t=(e==null?void 0:e.religion)||((n=(o=e==null?void 0:e._raw)==null?void 0:o.religion)==null?void 0:n.value)||((r=e==null?void 0:e._raw)==null?void 0:r.religion);return jt[na(t)]||Rs}function Fs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",jt.C,"M",jt.M,"H",jt.H,"B",jt.B,"E",jt.E,"J",jt.J,"S",jt.S,"N",jt.N,"O",jt.O,Rs]}const Iu=Fs,O_=Object.assign({"./adoption.js":N_,"./engagement.js":P_,"./language-family.js":F_,"./prayer-progress.js":$_,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:jt,PROPERTY_KEY:Mu,RELIGION_FAMILIES:oa,applyColor:Fs,buildColorExpression:Iu,default:{name:"Religion",propertyKey:Mu,palette:jt,families:oa,getColor:Nu,applyColor:Fs,buildColorExpression:Iu,fallback:Rs},getColor:Nu,getReligionFamily:na},Symbol.toStringTag,{value:"Module"}))}),D_=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),B_=e=>e.replace(/-/g,"_").toUpperCase(),yn={...{STATUS:"status",CUSTOM:"custom"}},Os={};function j_(e){for(const t of Object.keys(e).sort()){const o=t.split("/").pop().replace(/\.js$/,"");if(o.startsWith("_")||o.startsWith("."))continue;const n=e[t].default;if(!n)continue;const r=D_(o);yn[B_(o)]=r,Os[r]=n}}j_(O_);function rr(e){return Os[e]||Os[yn.LANGUAGE_FAMILY]}const At={Chamacoco:"Zamucoan",Ninam:"Yanomaman",Yagua:"Yaguan",Muinane:"Witotoan",Finnish:"Uralic","Hill Mari":"Uralic",Mansi:"Uralic","Meadow Mari":"Uralic","North Saami":"Uralic",Carabayo:"Unclassified",Kujarge:"Unclassified",Shabo:"Unclassified",Ainu:"Turkic",Kazakh:"Turkic","Khorasani Turkish":"Turkic",Kyrgyz:"Turkic","Northern Uzbek":"Turkic","South Azerbaijani":"Turkic",Turkish:"Turkic",Tuvan:"Turkic",Uyghur:"Turkic",Amundava:"Tupian",Araweté:"Tupian","Asurini of Xingú":"Tupian","Avá-Canoeiro":"Tupian",Awetí:"Tupian",Kamayurá:"Tupian",Karo:"Tupian",Morerebi:"Tupian",Tenharim:"Tupian","Uru-Eu-Wau-Wau":"Tupian","Uru-Pa-In":"Tupian",Wayampi:"Tupian","Zo’é":"Tupian",Evenki:"Tungusic",Xibe:"Tungusic",Carapana:"Tucanoan",Cubeo:"Tucanoan",Desano:"Tucanoan",Macuna:"Tucanoan",Piratapuyo:"Tucanoan",Siona:"Tucanoan",Siriano:"Tucanoan",Tucano:"Tucanoan",Tuyuca:"Tucanoan",Waimaha:"Tucanoan",Tay:"Trans-New Guinea",Adi:"Sino-Tibetan",Akha:"Sino-Tibetan","Amdo Tibetan":"Sino-Tibetan",Axi:"Sino-Tibetan",Biyo:"Sino-Tibetan","Boro (India)":"Sino-Tibetan",Brokkat:"Sino-Tibetan",Bugun:"Sino-Tibetan",Byangsi:"Sino-Tibetan","Central Lalo":"Sino-Tibetan","Central Tibetan":"Sino-Tibetan",Chak:"Sino-Tibetan",Chalikha:"Sino-Tibetan",Chaudangsi:"Sino-Tibetan",Chocangacakha:"Sino-Tibetan",Darlong:"Sino-Tibetan",Dhimal:"Sino-Tibetan","Digaro-Mishmi":"Sino-Tibetan",Dzalakha:"Sino-Tibetan","Eastern Nisu":"Sino-Tibetan",Ersu:"Sino-Tibetan",Gahri:"Sino-Tibetan",Gongduk:"Sino-Tibetan",Gyalsumdo:"Sino-Tibetan",Hani:"Sino-Tibetan","Idu-Mishmi":"Sino-Tibetan",Kaike:"Sino-Tibetan",Kanashi:"Sino-Tibetan",Katso:"Sino-Tibetan",Khamba:"Sino-Tibetan",Koireng:"Sino-Tibetan",Kucong:"Sino-Tibetan",Kurtokha:"Sino-Tibetan",Ladakhi:"Sino-Tibetan",Lakha:"Sino-Tibetan","Lang’e":"Sino-Tibetan",Lhokpu:"Sino-Tibetan",Lolopo:"Sino-Tibetan",Lunanakha:"Sino-Tibetan","Mandarin Chinese":"Sino-Tibetan",Meitei:"Sino-Tibetan","Miju-Mishmi":"Sino-Tibetan",Mpi:"Sino-Tibetan",Na:"Sino-Tibetan",Namuyi:"Sino-Tibetan",Narua:"Sino-Tibetan",Naxi:"Sino-Tibetan","Northern Muji":"Sino-Tibetan",Nuosu:"Sino-Tibetan",Nupbikha:"Sino-Tibetan",Nyenkha:"Sino-Tibetan",Olekha:"Sino-Tibetan",Pahari:"Sino-Tibetan",Pattani:"Sino-Tibetan","Phana’":"Sino-Tibetan",Phula:"Sino-Tibetan",Phunoi:"Sino-Tibetan",Puma:"Sino-Tibetan",Puroik:"Sino-Tibetan",Raji:"Sino-Tibetan",Rawat:"Sino-Tibetan",Sani:"Sino-Tibetan",Sherdukpen:"Sino-Tibetan",Sherpa:"Sino-Tibetan",Shuhi:"Sino-Tibetan",Sila:"Sino-Tibetan",Singpho:"Sino-Tibetan",Sunwar:"Sino-Tibetan","Tawang Monpa":"Sino-Tibetan",Tseku:"Sino-Tibetan",Tshangla:"Sino-Tibetan",Usoi:"Sino-Tibetan","Western Minyag":"Sino-Tibetan","Wusa Nasu":"Sino-Tibetan","Xiang Chinese":"Sino-Tibetan",Yakkha:"Sino-Tibetan","Youle Jinuo":"Sino-Tibetan","Yue Chinese":"Sino-Tibetan",Zakhring:"Sino-Tibetan","Afghan Sign Language":"Sign Language","Albanian Sign Language":"Sign Language","Algerian Sign Language":"Sign Language","American Sign Language":"Sign Language","Armenian Sign Language":"Sign Language","British Sign Language":"Sign Language","Bulgarian Sign Language":"Sign Language","Cambodian Sign Language":"Sign language","Cuban Sign Language":"Sign Language","Egyptian Sign Language":"Sign Language","Greek Sign Language":"Sign Language","Guinean Sign Language":"Sign Language","Hong Kong Sign Language":"Sign Language","Icelandic Sign Language":"Sign Language","Iranian Sign Language":"Sign Language","Israeli Sign Language":"Sign Language","Jamaican Sign Language":"Sign Language","Jordanian Sign Language":"Sign Language","Laos Sign Language":"Sign Language","Libyan Sign Language":"Sign Language","Maltese Sign Language":"Sign Language","Mauritian Sign Language":"Sign Language","Moroccan Sign Language":"Sign Language","Mozambican Sign Language":"Sign Language","Myanmar Sign Language":"Sign language","Natural Sign Language":"Sign Language","Pakistan Sign Language":"Sign Language","Papua New Guinean Sign Language":"Sign language","Russian Sign Language":"Sign Language","Saudi Arabian Sign Language":"Sign Language","Sign Language of the Netherlands":"Sign Language","Solomon Islands Sign Language":"Sign Language","Sri Lankan Sign Language":"Sign Language","Swedish Sign Language":"Sign Language","Turkish Sign Language":"Sign Language","Northern Conchucos Ancash Quechua":"Quechuan","Northern Pastaza Quichua":"Quechuan",Hupdë:"Puinavean",Amahuaca:"Panoan",Korubo:"Panoan",Sharanahua:"Panoan","Shipibo-Conibo":"Panoan",Yaminahua:"Panoan",Yawanawa:"Panoan",Afitti:"Nilo-Saharan",Assangori:"Nilo-Saharan","Beli (South Sudan)":"Nilo-Saharan",Berta:"Nilo-Saharan",Burun:"Nilo-Saharan","Dar Daju Daju":"Nilo-Saharan","Dar Fur Daju":"Nilo-Saharan","Dar Sila Daju":"Nilo-Saharan",Dazaga:"Nilo-Saharan","Dendi (Benin)":"Nilo-Saharan",Dilling:"Nilo-Saharan",Fur:"Nilo-Saharan",Gbaya:"Nilo-Saharan",Ghulfan:"Nilo-Saharan",Gwama:"Nilo-Saharan","Humburi Senni Songhay":"Nilo-Saharan",Jopadhola:"Nilo-Saharan",Kadaru:"Nilo-Saharan",Kanga:"Nilo-Saharan",Karanga:"Nilo-Saharan",Karko:"Nilo-Saharan",Kebu:"Nilo-Saharan",Keiga:"Nilo-Saharan",Keliko:"Nilo-Saharan",Kendeje:"Nilo-Saharan",Kibet:"Nilo-Saharan","Komo (Sudan)":"Nilo-Saharan",Korandje:"Nilo-Saharan",Kulfa:"Nilo-Saharan",Kwegu:"Nilo-Saharan",Laarim:"Nilo-Saharan",Logorik:"Nilo-Saharan",Majang:"Nilo-Saharan","Manga Kanuri":"Nilo-Saharan",Mango:"Nilo-Saharan",Mararit:"Nilo-Saharan",Marfa:"Nilo-Saharan",Midob:"Nilo-Saharan","Mo’da":"Nilo-Saharan",Morom:"Nilo-Saharan",Moru:"Nilo-Saharan",Naba:"Nilo-Saharan",Nara:"Nilo-Saharan",Njalgulgule:"Nilo-Saharan",Nuer:"Nilo-Saharan","Nyamusa-Molo":"Nilo-Saharan",Nyangatom:"Nilo-Saharan","Olu’bo":"Nilo-Saharan",Opo:"Nilo-Saharan",Päri:"Nilo-Saharan","Sara Kaba Naa":"Nilo-Saharan",Surbakhal:"Nilo-Saharan",Tadaksahak:"Nilo-Saharan","Tama (Chad)":"Nilo-Saharan",Temein:"Nilo-Saharan",Thuri:"Nilo-Saharan","Tirmaga-Chai Suri":"Nilo-Saharan",Toposa:"Nilo-Saharan",Tumtum:"Nilo-Saharan","Wali (Sudan)":"Nilo-Saharan","Yerwa Kanuri":"Nilo-Saharan",Yulu:"Nilo-Saharan",Zaghawa:"Nilo-Saharan","Adamawa Fulfulde":"Niger-Congo",Akaselem:"Niger-Congo","Amba (Uganda)":"Niger-Congo",Anii:"Niger-Congo",Baangi:"Niger-Congo",Badyara:"Niger-Congo","Bago-Kusuntu":"Niger-Congo",Bai:"Niger-Congo","Bainouk-Gunyaamolo":"Niger-Congo",Bamanankan:"Niger-Congo","Banda-Mbrès":"Niger-Congo",Bandial:"Niger-Congo",Bankagooma:"Niger-Congo","Belanda Viri":"Niger-Congo",Bemba:"Niger-Congo",Bolgo:"Niger-Congo","Bon Gula":"Niger-Congo",Bua:"Niger-Congo",Chichewa:"Niger-Congo","Chung (Cameroon)":"Niger-Congo","Ci Gbe":"Niger-Congo",Degema:"Niger-Congo",Dek:"Niger-Congo",Dhimba:"Niger-Congo",Dogoso:"Niger-Congo","East Limba":"Niger-Congo",Engenni:"Niger-Congo",Epie:"Niger-Congo",Éwé:"Niger-Congo",Fania:"Niger-Congo",Foodo:"Niger-Congo",Fwe:"Niger-Congo",Gciriku:"Niger-Congo",Gwa:"Niger-Congo",Herero:"Niger-Congo",Ibuoro:"Niger-Congo","Jenaama Bozo":"Niger-Congo",Jita:"Niger-Congo",Jula:"Niger-Congo",Kabiyè:"Niger-Congo",Kadung:"Niger-Congo",Kakabe:"Niger-Congo",Kalamsé:"Niger-Congo","Kami (Tanzania)":"Niger-Congo","Kango (Bas-Uélé District)":"Niger-Congo",Kasem:"Niger-Congo","Kelengaxo Bozo":"Niger-Congo",Khe:"Niger-Congo",Khisa:"Niger-Congo",Kim:"Niger-Congo",Kinyarwanda:"Niger-Congo",Kipfokomu:"Niger-Congo",Kitharaka:"Niger-Congo",Kiyombe:"Niger-Congo",Ko:"Niger-Congo",Koalib:"Niger-Congo",Koke:"Niger-Congo",Konongo:"Niger-Congo","Koro Nulu":"Niger-Congo","Koro Zuba":"Niger-Congo",Kuhane:"Niger-Congo",Kunda:"Niger-Congo",Kuranko:"Niger-Congo",Kuria:"Niger-Congo",Kwangali:"Niger-Congo",Lame:"Niger-Congo",Laru:"Niger-Congo",Lopa:"Niger-Congo","Makhuwa-Meetto":"Niger-Congo","Makhuwa-Shirima":"Niger-Congo","Malawi Nyiha":"Niger-Congo",Mandinka:"Niger-Congo",Mankanya:"Niger-Congo",Mansoanka:"Niger-Congo",Mbukushu:"Niger-Congo","Mende (Sierra Leone)":"Niger-Congo",Miyobe:"Niger-Congo",Mushungulu:"Niger-Congo","Mwali Comorian":"Niger-Congo","Mwera (Chimwera)":"Niger-Congo",Ndemli:"Niger-Congo",Ndengereko:"Niger-Congo",Ndumu:"Niger-Congo",Ndunga:"Niger-Congo","Ndzwani Comorian":"Niger-Congo",Ngile:"Niger-Congo","Northwest Gbaya":"Niger-Congo",Notre:"Niger-Congo",Nyamwanga:"Niger-Congo",Nyankore:"Niger-Congo",Nyengo:"Niger-Congo",Okpamheri:"Niger-Congo",Osatu:"Niger-Congo","Pana (Burkina Faso)":"Niger-Congo",Pulaar:"Niger-Congo",Pular:"Niger-Congo",Rufiji:"Niger-Congo","Sankaran Maninka":"Niger-Congo",Sapo:"Niger-Congo","Senara Sénoufo":"Niger-Congo",Shanga:"Niger-Congo",Sininkere:"Niger-Congo","Southern Ngbandi":"Niger-Congo",Swahili:"Niger-Congo","Syenara Sénoufo":"Niger-Congo",Tagbu:"Niger-Congo",Tagoi:"Niger-Congo",Tegali:"Niger-Congo",Tem:"Niger-Congo","Tiéyaxo Bozo":"Niger-Congo",Tiyaa:"Niger-Congo",Tocho:"Niger-Congo","Tonga (Zambia)":"Niger-Congo",Totela:"Niger-Congo","Toura (Côte d’Ivoire)":"Niger-Congo",Tswa:"Niger-Congo",Tumbuka:"Niger-Congo",Ukaan:"Niger-Congo",Uneme:"Niger-Congo",Vai:"Niger-Congo",Vute:"Niger-Congo",Waama:"Niger-Congo",Warnang:"Niger-Congo",Wolof:"Niger-Congo",Yao:"Niger-Congo",Yauma:"Niger-Congo",Yom:"Niger-Congo","Zan Gula":"Niger-Congo",Zande:"Niger-Congo",Zigula:"Niger-Congo",Mamaindê:"Nambikwara",Aghul:"Nakh-Daghestanian",Akhvakh:"Nakh-Daghestanian",Andi:"Nakh-Daghestanian",Avar:"Nakh-Daghestanian",Bagvalal:"Nakh-Daghestanian",Botlikh:"Nakh-Daghestanian",Chamalal:"Nakh-Daghestanian",Chechen:"Nakh-Daghestanian",Dargwa:"Nakh-Daghestanian",Kaitag:"Nakh-Daghestanian",Karata:"Nakh-Daghestanian",Khvarshi:"Nakh-Daghestanian",Tindi:"Nakh-Daghestanian",Pirahã:"Muran",Bonan:"Mongolic","China Buriat":"Mongolic",Daur:"Mongolic","Kalmyk-Oirat":"Mongolic","Peripheral Mongolian":"Mongolic","Russia Buriat":"Mongolic",Tagdal:"Mixed language",Wutunhua:"Mixed language","Ashéninka Perené":"Maipurean",Baniwa:"Maipurean",Cabiyarí:"Maipurean",Curripaco:"Maipurean","Enawené-Nawé":"Maipurean",Kanamarí:"Maipurean",Mehináku:"Maipurean","Pichis Ashéninka":"Maipurean",Waurá:"Maipurean",Bangime:"Language isolate",Burushaski:"Language isolate","Ai-Cham":"Kra-Dai",Aiton:"Kra-Dai","Dai Zhuang":"Kra-Dai",Duoluo:"Kra-Dai","Green Gelao":"Kra-Dai","Guibian Zhuang":"Kra-Dai",Hlai:"Kra-Dai",Jiamao:"Kra-Dai",Kang:"Kra-Dai",Khün:"Kra-Dai",Kuan:"Kra-Dai",Lachi:"Kra-Dai","Laha (Viet Nam)":"Kra-Dai",Lao:"Kra-Dai",Lü:"Kra-Dai","Mak (China)":"Kra-Dai","Northeastern Thai":"Kra-Dai","Northern Dong":"Kra-Dai","Northern Thai":"Kra-Dai",Nyaw:"Kra-Dai",Phake:"Kra-Dai","Phu Thai":"Kra-Dai",Qabiao:"Kra-Dai",Qau:"Kra-Dai","Qiubei Zhuang":"Kra-Dai",Shan:"Kra-Dai","Southern Dong":"Kra-Dai",Sui:"Kra-Dai","T’en":"Kra-Dai","Tai Daeng":"Kra-Dai","Tai Dam":"Kra-Dai","Tai Hongjin":"Kra-Dai","Tai Nüa":"Kra-Dai","Tai Ya":"Kra-Dai","Tai Yo":"Kra-Dai","Ts’ün-Lao":"Kra-Dai","Yang Zhuang":"Kra-Dai",Yerong:"Kra-Dai",Yong:"Kra-Dai",Yoy:"Kra-Dai",Khoekhoe:"Khoe-Kwadi",Karajá:"Karajá","Pará Gavião":"Jean",Suyá:"Jean",Japanese:"Japonic","Oki-No-Erabu":"Japonic","Toku-No-Shima":"Japonic",Yaeyama:"Japonic",Yoron:"Japonic","Adivasi Oriya":"Indo-European",Afrikaans:"Indo-European","Alviri-Vidari":"Indo-European",Angika:"Indo-European",Assamese:"Indo-European",Bagheli:"Indo-European",Bagri:"Indo-European",Bashkardi:"Indo-European",Bateri:"Indo-European",Bengali:"Indo-European",Bhojpuri:"Indo-European",Bhunjia:"Indo-European",Bilaspuri:"Indo-European",Bosnian:"Indo-European","Braj Bhasha":"Indo-European",Brokskat:"Indo-European",Bundeli:"Indo-European",Catalan:"Indo-European",Chambeali:"Indo-European",Chhattisgarhi:"Indo-European",Dameli:"Indo-European",Dari:"Indo-European",Dhundari:"Indo-European",Dogri:"Indo-European",Domari:"Indo-European",Dutch:"Indo-European","Eastern Balochi":"Indo-European","Eastern Panjabi":"Indo-European","Eastern Yiddish":"Indo-European",English:"Indo-European",French:"Indo-European",Gaddi:"Indo-European",Garhwali:"Indo-European",Gawri:"Indo-European",Gowro:"Indo-European",Gujarati:"Indo-European",Gujari:"Indo-European",Halbi:"Indo-European",Haroti:"Indo-European",Haryanvi:"Indo-European",Hindi:"Indo-European","Indus Kohistani":"Indo-European","Iranian Persian":"Indo-European",Ishkashimi:"Indo-European",Kacchi:"Indo-European",Kalkoti:"Indo-European",Kanauji:"Indo-European",Kangri:"Indo-European",Karingani:"Indo-European",Kashmiri:"Indo-European",Kati:"Indo-European",Khunsari:"Indo-European",Konkani:"Indo-European",Kudmali:"Indo-European",Kumaoni:"Indo-European",Kumzari:"Indo-European",Laki:"Indo-European",Lasi:"Indo-European",Luwati:"Indo-European",Magahi:"Indo-European",Maithili:"Indo-European",Maldivian:"Indo-European",Malvi:"Indo-European",Marathi:"Indo-European","Marwari (India)":"Indo-European",Mewari:"Indo-European",Munji:"Indo-European",Nepali:"Indo-European",Nimadi:"Indo-European","Northern Kurdish":"Indo-European",Odia:"Indo-European","Pahari-Potwari":"Indo-European",Palula:"Indo-European",Panchpargania:"Indo-European",Pangwali:"Indo-European",Parachi:"Indo-European",Portuguese:"Indo-European",Russian:"Indo-European",Sadri:"Indo-European",Sanglechi:"Indo-European",Sarikoli:"Indo-European",Savi:"Indo-European",Semnani:"Indo-European",Serbian:"Indo-European",Shabak:"Indo-European",Shahrudi:"Indo-European",Shekhawati:"Indo-European",Shina:"Indo-European",Shughni:"Indo-European",Shumashti:"Indo-European",Sindhi:"Indo-European",Sivandi:"Indo-European",Soi:"Indo-European","Southern Balochi":"Indo-European",Spanish:"Indo-European",Tajik:"Indo-European",Talysh:"Indo-European",Urdu:"Indo-European",Ushojo:"Indo-European",Vaghri:"Indo-European","Vlax Romani":"Indo-European",Wagdi:"Indo-European",Wakhi:"Indo-European",Waneci:"Indo-European","Western Balochi":"Indo-European",Yadgha:"Indo-European","Bu-Nao Bunu":"Hmong-Mien","Central Mashan Miao":"Hmong-Mien","Chuanqiandian Cluster Miao":"Hmong-Mien","Eastern Xiangxi Miao":"Hmong-Mien","Iu Mien":"Hmong-Mien","Luopohe Miao":"Hmong-Mien","Northern Qiandong Miao":"Hmong-Mien","Pa-Hng":"Hmong-Mien","Southwestern Huishui Miao":"Hmong-Mien","Wunai Bunu":"Hmong-Mien","Younuo Bunu":"Hmong-Mien",Amarakaeri:"Harákmbut",Huachipaeri:"Harákmbut",Cuiba:"Guajiboan",Macaguán:"Guajiboan",Tlicho:"Eyak-Athabaskan",Kannada:"Dravidian",Kodava:"Dravidian","Korra Koraga":"Dravidian","Kota (India)":"Dravidian",Kudiya:"Dravidian",Malapandaram:"Dravidian",Malayalam:"Dravidian",Muthuvan:"Dravidian",Ravula:"Dravidian",Sholaga:"Dravidian",Tamil:"Dravidian",Telugu:"Dravidian",Tulu:"Dravidian",Vishavan:"Dravidian","Andaman Hindi Creole":"Creole","Cocos Islands Malay":"Creole","Juba Arabic":"Creole",Nubi:"Creole",Barí:"Chibchan","Barro Negro Tunebo":"Chibchan","Western Tunebo":"Chibchan",Ikpeng:"Cariban","Kuikúro-Kalapálo":"Cariban",Pemon:"Cariban",Trió:"Cariban","Waimiri-Atroarí":"Cariban",Waiwai:"Cariban",Yukpa:"Cariban",Borôro:"Bororoan",Chachi:"Barbacoan","Abai Sungai":"Austronesian",Ambelau:"Austronesian",Asilulu:"Austronesian",Balaesang:"Austronesian","Batak Alas-Kluet":"Austronesian","Batak Dairi":"Austronesian","Batak Karo":"Austronesian",Bonerate:"Austronesian",Bonggi:"Austronesian",Brunei:"Austronesian","Brunei Bisaya":"Austronesian",Buol:"Austronesian","Central Malay":"Austronesian","Central Sama":"Austronesian","Coastal Konjo":"Austronesian",Dampelas:"Austronesian","Dibabawon Manobo":"Austronesian",Dondo:"Austronesian",Gane:"Austronesian","Geser-Gorom":"Austronesian","Highland Konjo":"Austronesian",Hitu:"Austronesian",Iban:"Austronesian",Indonesian:"Austronesian","Kadazan Dusun":"Austronesian",Kiput:"Austronesian",Komodo:"Austronesian",Kompane:"Austronesian",Lahanan:"Austronesian","Lampung Nyo":"Austronesian","Larike-Wakasihu":"Austronesian",Lola:"Austronesian",Luhu:"Austronesian",Malay:"Austronesian",Mariri:"Austronesian",Moronene:"Austronesian",Rukai:"Austronesian","Sabah Bisaya":"Austronesian","Seit-Kaitetu":"Austronesian",Sula:"Austronesian","Tae’":"Austronesian",Tajio:"Austronesian",Tomini:"Austronesian",Tutong:"Austronesian",Ujir:"Austronesian",Aheu:"Austro-Asiatic",Alak:"Austro-Asiatic",Bit:"Austro-Asiatic","Bo (Laos)":"Austro-Asiatic",Bondo:"Austro-Asiatic",Brao:"Austro-Asiatic",Bugan:"Austro-Asiatic",Chong:"Austro-Asiatic",Chut:"Austro-Asiatic",Danau:"Austro-Asiatic",Halang:"Austro-Asiatic","Halang Doan":"Austro-Asiatic",Hu:"Austro-Asiatic",Hung:"Austro-Asiatic",Ir:"Austro-Asiatic",Kensiu:"Austro-Asiatic",Khmu:"Austro-Asiatic",Khua:"Austro-Asiatic",Khuen:"Austro-Asiatic",Koda:"Austro-Asiatic","Kon Keu":"Austro-Asiatic",Kriang:"Austro-Asiatic",Kuay:"Austro-Asiatic",Laven:"Austro-Asiatic",Maleng:"Austro-Asiatic","Man Met":"Austro-Asiatic",Mang:"Austro-Asiatic",Minriq:"Austro-Asiatic",Mlabri:"Austro-Asiatic",Nguôn:"Austro-Asiatic",Nyaheun:"Austro-Asiatic",Nyahkur:"Austro-Asiatic","O’du":"Austro-Asiatic",Ong:"Austro-Asiatic",Oy:"Austro-Asiatic",Pacoh:"Austro-Asiatic","Phong-Kniang":"Austro-Asiatic",Prai:"Austro-Asiatic",Puoc:"Austro-Asiatic",Rengao:"Austro-Asiatic",Rmeet:"Austro-Asiatic","Rumai Palaung":"Austro-Asiatic",Sapuan:"Austro-Asiatic","Shwe Palaung":"Austro-Asiatic","So (Laos)":"Austro-Asiatic",Sou:"Austro-Asiatic","Tai Loi":"Austro-Asiatic",Talieng:"Austro-Asiatic",Tareng:"Austro-Asiatic",Tho:"Austro-Asiatic",U:"Austro-Asiatic","Upper Ta’oih":"Austro-Asiatic",Vietnamese:"Austro-Asiatic","Western Katu":"Austro-Asiatic",Suruahá:"Arauan",Jarawa:"Andamanese",Öñge:"Andamanese",Sentinel:"Andamanese",Afar:"Afro-Asiatic","Alaba-K’abeena":"Afro-Asiatic",Alagwa:"Afro-Asiatic",Ale:"Afro-Asiatic","Algerian Arabic":"Afro-Asiatic",Amharic:"Afro-Asiatic",Arbore:"Afro-Asiatic","Baharna Arabic":"Afro-Asiatic",Barein:"Afro-Asiatic",Bedawiyet:"Afro-Asiatic",Bidiyo:"Afro-Asiatic",Bilen:"Afro-Asiatic",Birgit:"Afro-Asiatic",Boor:"Afro-Asiatic","Borana-Arsi-Guji Oromo":"Afro-Asiatic",Buduma:"Afro-Asiatic","Central Atlas Tamazight":"Afro-Asiatic","Chadian Arabic":"Afro-Asiatic",Chenoua:"Afro-Asiatic",Ciwogai:"Afro-Asiatic",Daasanach:"Afro-Asiatic",Dabarre:"Afro-Asiatic",Dangaléat:"Afro-Asiatic",Deno:"Afro-Asiatic",Diri:"Afro-Asiatic",Duwai:"Afro-Asiatic","Eastern Egyptian Bedawi Arabic":"Afro-Asiatic","Eastern Oromo":"Afro-Asiatic",Garre:"Afro-Asiatic",Geruma:"Afro-Asiatic",Giiwo:"Afro-Asiatic",Gorowa:"Afro-Asiatic","Gulf Arabic":"Afro-Asiatic","Hadrami Arabic":"Afro-Asiatic",Harsusi:"Afro-Asiatic",Hassaniyya:"Afro-Asiatic",Hausa:"Afro-Asiatic",Hebrew:"Afro-Asiatic","Hijazi Arabic":"Afro-Asiatic",Hobyót:"Afro-Asiatic",Hozo:"Afro-Asiatic",Jiiddu:"Afro-Asiatic",Jimi:"Afro-Asiatic",Jina:"Afro-Asiatic","Jonkor Bourmataguil":"Afro-Asiatic","Judeo-Iraqi Arabic":"Afro-Asiatic","Judeo-Moroccan Arabic":"Afro-Asiatic",Kabalai:"Afro-Asiatic",Kajakse:"Afro-Asiatic",Kariya:"Afro-Asiatic","Karo (Ethiopia)":"Afro-Asiatic",Kutto:"Afro-Asiatic","Levantine Arabic":"Afro-Asiatic",Libido:"Afro-Asiatic","Libyan Arabic":"Afro-Asiatic","Lishana Deni":"Afro-Asiatic",Maaka:"Afro-Asiatic",Maay:"Afro-Asiatic",Majera:"Afro-Asiatic",Male:"Afro-Asiatic",Maslam:"Afro-Asiatic",Masmaje:"Afro-Asiatic",Mburku:"Afro-Asiatic",Mehri:"Afro-Asiatic","Mesopotamian Arabic":"Afro-Asiatic",Migaama:"Afro-Asiatic",Mogum:"Afro-Asiatic","Moroccan Arabic":"Afro-Asiatic",Mositacha:"Afro-Asiatic",Mubi:"Afro-Asiatic",Mukulu:"Afro-Asiatic",Nafusi:"Afro-Asiatic","Najdi Arabic":"Afro-Asiatic",Nyam:"Afro-Asiatic","Omani Arabic":"Afro-Asiatic","Pa’a":"Afro-Asiatic",Saba:"Afro-Asiatic",Saho:"Afro-Asiatic","Sanaani Arabic":"Afro-Asiatic",Seze:"Afro-Asiatic",Shehri:"Afro-Asiatic",Shekkacho:"Afro-Asiatic",Sheko:"Afro-Asiatic","Shihhi Arabic":"Afro-Asiatic",Siwi:"Afro-Asiatic",Sokoro:"Afro-Asiatic",Soqotri:"Afro-Asiatic","South Levantine Arabic":"Afro-Asiatic","Standard Arabic":"Afro-Asiatic","Sudanese Arabic":"Afro-Asiatic","Ta’izzi-Adeni Arabic":"Afro-Asiatic","Tahaggart Tamahaq":"Afro-Asiatic",Taznatit:"Afro-Asiatic",Tigré:"Afro-Asiatic",Toram:"Afro-Asiatic",Tsamai:"Afro-Asiatic",Tumzabt:"Afro-Asiatic",Tunni:"Afro-Asiatic",Waata:"Afro-Asiatic","West Central Oromo":"Afro-Asiatic",Xamtanga:"Afro-Asiatic",Zumbun:"Afro-Asiatic"};function G_(e){return(e==null?void 0:e.properties)||e||{}}function sr(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function U_(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(At[n])return At[n];if(t.length>=3){const r=[t[1],t[0]].join(" ");if(At[r])return At[r]}}if(At[e])return At[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&At[o]?At[o]:null}const K_=[[/ sign language$/i,"Sign Language"]];function H_(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function z_(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function V_(e){var s,i,l,c;const t=e.language_family??e.languageFamily??((s=e._raw)==null?void 0:s.LanguageFamily)??((i=e._raw)==null?void 0:i.language_family),o=sr(t),n=Ns(o);if(n&&n!=="Unknown")return n;const r=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),a=sr(r);if(a){const u=String(a).trim(),d=U_(u);if(d)return d;for(const[f,_]of K_)if(f.test(u))return _}return"Unknown"}function W_(e){var r,a;const t=((r=e._raw)==null?void 0:r.primary_language)??((a=e._raw)==null?void 0:a.PrimaryLanguage);if(t){const s=sr(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=sr(o);return n&&String(n).trim()||"— Unknown —"}function Y_(e){var o,n;const t=e.population??((o=e._raw)==null?void 0:o.Population)??((n=e._raw)==null?void 0:n.population)??0;return parseInt(t,10)||0}function q_(e,t){var o,n;return(e==null?void 0:e.id)??t.id??t.peopleGroupId??((o=t._raw)==null?void 0:o.PeopleID3)??((n=t._raw)==null?void 0:n.PeopleID)??null}function J_(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function Z_(e,t){var r,a,s,i;const o=parseFloat(t.latitude??t.lat??((r=t._raw)==null?void 0:r.Latitude)??((a=t._raw)==null?void 0:a.latitude)),n=parseFloat(t.longitude??t.lng??((s=t._raw)==null?void 0:s.Longitude)??((i=t._raw)==null?void 0:i.longitude));return!isFinite(o)||!isFinite(n)?null:[n,o]}function X_(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function ir(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Ru(e,t={}){t.aggregator;const o=tn({});function n(b){return!!o[b]}function r(b){o[b]=!o[b]}function a(b){const v=new Set(Array.isArray(b)?b:[]);for(const x of Object.keys(o))v.has(x)||(o[x]=!1);for(const x of v)o[x]=!0}const s=ee(()=>{const b=(e==null?void 0:e.value)||[],v=new Map;for(const x of b){const k=G_(x),m=V_(k),g=W_(k),y=H_(g),A=z_(g),M=Y_(k),N=q_(x,k),P=J_(x,k),F=Z_(x,k);let W=v.get(m);W||(W={key:m,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},v.set(m,W)),W.peopleGroupCount+=1,W.population+=M,N!=null&&W.pinIds.push(N),F&&W.coords.push(F),P&&!W.clusterId&&(W.clusterId=P);let Z=W.languages.get(y);if(Z||(Z={key:y,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},W.languages.set(y,Z)),Z.peopleGroupCount+=1,Z.population+=M,N!=null&&Z.pinIds.push(N),F&&Z.coords.push(F),P&&!Z.clusterId&&(Z.clusterId=P),A){let ae=Z.dialects.get(A);ae?ae.originalLabels.add(g):(ae={key:A,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([g])},Z.dialects.set(A,ae)),ae.peopleGroupCount+=1,ae.population+=M,N!=null&&ae.pinIds.push(N),F&&ae.coords.push(F)}}return v}),i=t.showAllKnown!==!1,l=ee(()=>{const b=s.value,v=[],x=new Set;for(const k of b.values())v.push({key:k.key,label:k.key,color:Jt(k.key),peopleGroupCount:k.peopleGroupCount,population:k.population,kind:k.clusterId?"cluster":"family",clusterId:k.clusterId||void 0,pinIds:k.pinIds,coords:k.coords}),x.add(k.key);if(i)for(const k of Object.keys(Tu))x.has(k)||v.push({key:k,label:k,color:Jt(k),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return v.sort(X_),v});function c(b){const v=s.value.get(b);if(!v)return[];const x=[];for(const k of v.languages.values())x.push({key:`${b}__${k.key}`,label:k.key,color:Jt(b),peopleGroupCount:k.peopleGroupCount,population:k.population,kind:k.clusterId?"cluster":"language",familyKey:b,clusterId:k.clusterId||void 0,pinIds:k.pinIds,coords:k.coords,hasDialects:k.dialects.size>0});return x.sort(ir),x}function u(b){const v=b.indexOf("__");if(v<0)return[];const x=b.slice(0,v),k=b.slice(v+2),m=s.value.get(x);if(!m)return[];const g=m.languages.get(k);if(!g)return[];const y=[];for(const A of g.dialects.values())y.push({key:`${b}__${A.key}`,label:`${k}, ${A.key}`,dialectOnly:A.key,color:Jt(x),peopleGroupCount:A.peopleGroupCount,population:A.population,kind:"dialect",languageKey:k,familyKey:x,pinIds:A.pinIds,coords:A.coords,originalLabels:Array.from(A.originalLabels)});return y.sort(ir),y}const d=ee(()=>{const b=s.value,v=[];for(const x of b.values())for(const k of x.languages.values())v.push({key:`${x.key}__${k.key}`,label:k.key,color:Jt(x.key),peopleGroupCount:k.peopleGroupCount,population:k.population,kind:k.clusterId?"cluster":"language",familyKey:x.key,clusterId:k.clusterId||void 0,pinIds:k.pinIds,coords:k.coords,hasDialects:k.dialects.size>0});return v.sort(ir),v}),f=ee(()=>{const b=s.value,v=[];for(const x of b.values())for(const k of x.languages.values())for(const m of k.dialects.values())v.push({key:`${x.key}__${k.key}__${m.key}`,label:`${k.key}, ${m.key}`,dialectOnly:m.key,color:Jt(x.key),peopleGroupCount:m.peopleGroupCount,population:m.population,kind:"dialect",languageKey:k.key,familyKey:x.key,pinIds:m.pinIds,coords:m.coords,originalLabels:Array.from(m.originalLabels)});return v.sort(ir),v});function _(b){let v=b;if(typeof b=="string"&&(v=l.value.find(k=>k.key===b),!v))return;const x={kind:v.kind,pinIds:v.pinIds||[],coords:v.coords||[]};v.kind==="family"&&(x.familyKey=v.label),v.kind==="language"&&(x.languageKey=v.label,x.familyKey=v.familyKey),v.kind==="dialect"&&(x.dialectKey=v.key,x.dialectOnly=v.dialectOnly||v.label,x.languageKey=v.languageKey,x.familyKey=v.familyKey,x.originalLabels=v.originalLabels||[]),v.kind==="cluster"&&(x.clusterId=v.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:x}))}const w=ee(()=>{const b=s.value,v=[];for(const x of b.values()){const k=Jt(x.key),m=[];for(const y of x.languages.values()){y.key&&y.key!=="— Unknown —"&&m.push(y.key);for(const A of y.dialects.values())for(const M of A.originalLabels)M&&m.push(M)}const g={id:`fam:${x.key}`,label:x.key,color:k,count:x.peopleGroupCount,pop:x.population,filter:m.length>0?["any",["==",["get","languageFamily"],x.key],["in",["get","language"],["literal",Array.from(new Set(m))]]]:["==",["get","languageFamily"],x.key],children:[]};for(const y of x.languages.values()){const A=y.key,M={id:`lang:${x.key}__${A}`,label:A,color:k,count:y.peopleGroupCount,pop:y.population,filter:["any",["==",["get","language"],A],["==",["slice",["get","language"],0,A.length+1],A+","],["in"," "+A,["get","language"]]],children:[]};for(const N of y.dialects.values()){const P=Array.from(N.originalLabels);M.children.push({id:`dial:${x.key}__${A}__${N.key}`,label:`${A}, ${N.key}`,color:k,count:N.peopleGroupCount,pop:N.population,filter:P.length===1?["==",["get","language"],P[0]]:["in",["get","language"],["literal",P]],originalLabels:P,children:[]})}g.children.push(M)}v.push(g)}return v.sort((x,k)=>k.pop-x.pop||k.count-x.count),v});return{rows:l,languageRows:d,dialectRows:f,langTree:w,toggle:r,isExpanded:n,setExpansionToOnly:a,childRowsFor:c,dialectRowsFor:u,highlight:_}}const Q_=[];function e0(){const e=rr(yn.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function t0(){const e=rr(yn.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function o0(){const e=rr(yn.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const r of Object.keys(t))n[t[r]]=o[r]||"#999";return n}function Jo(e,t){const r=Object.values(e.sources||{}).flatMap(a=>(a==null?void 0:a.features)||[]).filter(a=>t(a.properties||a));return{count:r.length,population:r.reduce((a,s)=>{var l;const i=s.properties||s;return a+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const Fu=100;function n0(e){var o;let t=(e==null?void 0:e.peopleCommitted)??((o=e==null?void 0:e._raw)==null?void 0:o.people_committed)??(e==null?void 0:e.people_committed)??null;return t&&typeof t=="object"&&(t=t.value??t.label??0),Number(t)||0}function Ds(e){return t=>{const o=n0(t);return e==="fullPrayer"?o>=Fu:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function Du(e){var o;const t=e.adoptionStatus??((o=e._raw)==null?void 0:o.adopted_by_churches);return t===!0||t===1||t==="1"||t==="true"||typeof t=="number"&&t>0||typeof t=="string"&&parseInt(t,10)>0}const a0={prayer:"legend.title.prayer",engagement:"legend.title.engagement",adoption:"legend.title.adoption","language-families":"legend.title.languageFamilies","language-family":"legend.title.languageFamilies","doxa-regions":"legend.title.doxaRegions","doxa-region":"legend.title.doxaRegions","affinity-blocs":"legend.title.affinityBlocs",countries:"legend.title.countries",country:"legend.title.countries","gospel-resources":"legend.title.gospelResources",religion:"legend.title.religion"};function _n(e){return e==="doxa-region"?"doxa-regions":e==="country"?"countries":e}function r0(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function s0(e){return(Number(e)||0).toLocaleString()}function i0(e,t={}){const o=Pe("dataStore"),n=Pe("uiStore"),r=Pe("mapStore"),{t:a}=wt(),s=T_();s.load();const i=ee(()=>{if(_n(e.value)==="religion")return"Religion";const x=a0[e.value];return x?a(x):""}),l=ee(()=>_n(e.value)==="affinity-blocs"?Q_:[{key:"count",label:a("legend.columns.upgs"),width:48},{key:"population",label:a("legend.columns.population"),width:48}]),c=ee(()=>{const v=_n(e.value);return v==="prayer"?n.prayerFilter:v==="engagement"?n.engagementFilter:v==="adoption"?n.adoptionFilter:v==="language-families"?r.selectedFamily:v==="doxa-regions"?r.selectedRegion:v==="gospel-resources"?r.selectedResource:v==="religion"?n.religionFilter:null});function u(v){const x=_n(e.value);x==="prayer"?n.setPrayerFilter(n.prayerFilter===v?null:v):x==="engagement"?n.setEngagementFilter(n.engagementFilter===v?null:v):x==="adoption"?n.setAdoptionFilter(n.adoptionFilter===v?null:v):x==="language-families"?r.selectFamily(r.selectedFamily===v?null:v):x==="doxa-regions"?r.selectRegion(r.selectedRegion===v?null:v):x==="gospel-resources"?r.selectResource(r.selectedResource===v?null:v):x==="religion"&&n.setReligionFilter(n.religionFilter===v?null:v)}const d=ee(()=>{var x,k,m,g;const v=_n(e.value);if(v==="prayer"){const y=Jo(o,Ds("noPrayer")),A=Jo(o,Ds("hasPrayer")),M=Jo(o,Ds("fullPrayer")),N=s.loaded.value,P=N?s.noPrayerCount():y.count,F=N?s.hasPrayerCount():A.count,W=N?s.fullPrayerCount():M.count;return[{key:"noPrayer",label:a("legend.prayer.needsPrayer"),color:qo.noPrayer,count:P,population:y.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:a("legend.prayer.hasPrayer"),color:qo.hasPrayer,count:F,population:A.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:a("legend.prayer.fullPrayerCoverage"),color:qo.fullPrayer,count:W,population:M.population,filterKey:"fullPrayer"}]}]}if(v==="engagement"){const y=Jo(o,M=>!Ou(M)),A=Jo(o,M=>Ou(M));return[{key:"notEngaged",label:a("legend.engagement.needsEngagement"),color:Ls.notEngaged,count:y.count,population:y.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:a("legend.engagement.hasEngagement"),color:Ls.hasEngagement,count:A.count,population:A.population,filterKey:"hasEngagement"}]}]}if(v==="adoption"){const y=Jo(o,M=>!Du(M)),A=Jo(o,M=>Du(M));return[{key:"notAdopted",label:a("legend.adoption.needsAdoption"),color:Ts.notAdopted,count:y.count,population:y.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:a("legend.adoption.hasAdoption"),color:Ts.hasAdoption,count:A.count,population:A.population,filterKey:"hasAdoption"}]}]}if(v==="religion"){const y={},M=Object.values(o.sources||{}).flatMap(F=>(F==null?void 0:F.features)||[]);for(const F of M){const W=F.properties||F,Z=W.religion||((k=(x=W._raw)==null?void 0:x.religion)==null?void 0:k.value)||((m=W._raw)==null?void 0:m.religion)||"",ae=na(Z);y[ae]||(y[ae]={count:0,population:0}),y[ae].count+=1,y[ae].population+=parseInt(W.population||((g=W._raw)==null?void 0:g.Population)||0)||0}const N=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const F of N)delete y[F];return Object.keys(y).sort((F,W)=>F==="C"?-1:W==="C"?1:y[W].population-y[F].population).map(F=>({key:F,label:oa[F]||"Unknown",color:jt[F]||"#94a3b8",count:y[F].count,population:y[F].population,filterKey:F,children:[]}))}if(v==="language-families")return(o.languageFamiliesData||[]).map(y=>({key:y.name,label:y.name,color:Jt(y.name),count:y.count,population:y.population,filterKey:y.name,children:[]}));if(v==="language-family"){const A={value:Object.values(o.sources||{}).flatMap(N=>(N==null?void 0:N.features)||[])},{rows:M}=Ru(A);return M.value.map(N=>({key:N.key,label:N.label,color:N.color,count:N.peopleGroupCount,population:N.population,filterKey:N.key,children:[]}))}if(v==="doxa-regions"){const y=t0();return(o.doxaRegionsData||[]).map(A=>({key:A.name,label:A.name,color:y[A.name]||"#999",count:A.count,population:A.population,filterKey:A.name,children:[]}))}if(v==="gospel-resources"){const y=e0(),A=(y==null?void 0:y.palette)??{},M=(y==null?void 0:y.names)??{},N=o.resourcesData||[];return Object.keys(A).map(P=>{const F=N.find(W=>W.key===P);return{key:P,label:M[P]||P,color:A[P],count:(F==null?void 0:F.count)||0,population:(F==null?void 0:F.population)||0,filterKey:P,children:((F==null?void 0:F.children)||[]).map(W=>({key:W.key,label:W.name||W.key,color:W.color||A[P],count:W.count||0,population:W.population||0,filterKey:W.key}))}})}if(v==="affinity-blocs"){const y=o0();return Object.keys(y).sort().map(A=>({key:A,label:A,color:y[A],filterKey:A,children:[]}))}return[]});function f(v,x){return v.reduce((k,m)=>{var y;let g=m[x]||0;return(y=m.children)!=null&&y.length&&(g+=f(m.children,x)),k+g},0)}const _=ee(()=>f(d.value,"count")),w=ee(()=>f(d.value,"population")),b=ee(()=>{if(_n(e.value)!=="prayer")return null;const v=d.value[0];if(!v)return null;const x=(v.children||[]).find(A=>A.key==="hasPrayer"),k=(v.children||[]).find(A=>A.key==="fullPrayer"),m=Number(v.count)||0,g=Number(x==null?void 0:x.count)||0,y=Number(k==null?void 0:k.count)||0;return{covered:g+y,total:_.value,segments:[{key:"fullPrayer",label:(k==null?void 0:k.label)??a("legend.prayer.fullPrayerCoverage"),count:y,color:qo.fullPrayer},{key:"hasPrayer",label:(x==null?void 0:x.label)??a("legend.prayer.hasPrayer"),count:g,color:qo.hasPrayer},{key:"noPrayer",label:v.label,count:m,color:qo.noPrayer}]}});return{items:d,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:_,totalPopulation:w,progress:b,fmtPop:r0,fmtCount:s0}}const l0={excludeReligionFamilies:["C"]},c0={key:0,class:"lrg-title-row"},u0={class:"lrg-title-caret-slot"},d0={class:"lrg-title"},p0=["data-lrg-filter-key"],g0=["onClick"],f0={key:1,class:"lrg-caret-placeholder","aria-hidden":"true"},h0=["onClick"],m0={class:"lrg-name"},b0={class:"lrg-badge-inner"},y0=["data-lrg-filter-key"],_0=["onClick"],v0={class:"lrg-name"},k0={class:"lrg-badge-inner"},w0={key:1,class:"lrg-footer"},x0={class:"lrg-footer-label"},S0=bn({__name:"LegendRows",props:{title:{type:String,default:""},items:{type:Array,required:!0},columns:{type:Array,default:()=>[]},activeFilter:{type:String,default:null},isDark:{type:Boolean,default:!1},hideColumnHeader:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!1},totalCount:{type:Number,default:0},totalPopulation:{type:Number,default:0},fmtPop:{type:Function,default:e=>String(e||0)},fmtCount:{type:Function,default:e=>String(e||0)},disableCollapse:{type:Boolean,default:!1},progress:{type:Object,default:null}},emits:["filter-click"],setup(e){const{t}=wt();St(` /* ── LegendRows — single flat grid with an invisible caret column. Spec: docs/legend-spec.md. One parent grid (.lrg-items) with subgrid children (.lrg-title-row, .lrg-row, .lrg-footer). Col 1 is the caret @@ -550,6 +596,10 @@ .lrg-title-caret-slot{grid-column:1;align-self:center;display:flex;align-items:center;justify-content:center;line-height:1;} .lrg-title{grid-column:2;align-self:center;font-weight:600;font-size:13px;line-height:1.2;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .lrg-header-col{align-self:center;text-align:center;white-space:nowrap;font-size:10px;line-height:1.3;color:#888;text-transform:uppercase;letter-spacing:0.3px;font-weight:700;} +/* Prayer progress bar — 2nd implicit row of the title-row subgrid, spanning the + pill columns (2 / -2) so it lines up with the rows beneath. The subgrid has no + row-gap of its own, hence the margin. */ +.lrg-progress{grid-column:2 / -2;margin-top:6px;} /* Data row — subgrid of .lrg-items. Caret lives in col 1 (real grid cell, not absolute); the pill spans cols 2 to -2 so the trailing column stays @@ -607,7 +657,7 @@ .lrg-dark .lrg-header-col{color:rgba(243,243,241,0.65);} .lrg-dark .lrg-footer{background:#2a332a;border-top-color:rgba(255,255,255,0.1);color:rgba(243,243,241,0.75);} .lrg-dark .lrg-footer-label{color:rgba(243,243,241,0.65);} -`,"legend-row-group");const o=e,n=ue(null);function r(u){let c=u.parentElement;for(;c;){const p=getComputedStyle(c).overflowY;if((p==="auto"||p==="scroll")&&c.scrollHeight>c.clientHeight+1){const f=u.getBoundingClientRect(),_=c.getBoundingClientRect();c.scrollTop+=f.top-_.top-8}c=c.parentElement}}let a=0;at(()=>o.activeFilter,async u=>{if(!u)return;const c=++a,p=n.value;if(!p)return;await tn();const f=(_=0)=>{if(c!==a)return;const L=p.querySelector(`[data-lrg-filter-key="${CSS.escape(String(u))}"]`);L&&r(L),_<6&&setTimeout(()=>f(_+1),70)};f(0)});const s=Jo({});function i(u){s[u]=!s[u]}const l=Q(()=>`var(--lrg-caret-col) minmax(80px, 1fr) ${o.columns.map(()=>"auto").join(" ")} var(--lrg-caret-col)`);return(u,c)=>(V(),Z("div",{class:$e(["legend-row-group",e.isDark?"lrg-dark":"lrg-light"])},[T("div",{class:"lrg-items",style:ft({"--lrg-grid-cols":l.value}),ref_key:"itemsContainer",ref:n},[!e.hideColumnHeader&&(e.title||e.columns.length)?(V(),Z("div",t0,[T("span",o0,[Mn(u.$slots,"title-caret",{},void 0,!0)]),T("span",n0,le(e.title),1),(V(!0),Z(Se,null,Lt(e.columns,p=>(V(),Z("span",{key:p.key,class:"lrg-header-col"},le(p.label),1))),128))])):he("",!0),(V(!0),Z(Se,null,Lt(e.items,p=>(V(),Z(Se,{key:p.key},[T("div",{class:"lrg-row","data-lrg-filter-key":p.filterKey},[p.children&&p.children.length&&!e.disableCollapse?(V(),Z("button",{key:0,class:$e(["lrg-caret",{expanded:!s[p.key]}]),onClick:It(f=>i(p.key),["stop"]),"aria-label":"Toggle children"},[...c[0]||(c[0]=[T("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,r0)):(V(),Z("span",s0)),T("div",{class:$e(["lrg-item",{selected:e.activeFilter===p.filterKey}]),onClick:f=>u.$emit("filter-click",p.filterKey)},[T("div",{class:"lrg-item-inner",style:ft({backgroundColor:p.color,"--lrg-item-color":p.color})},[T("span",l0,le(p.label),1),(V(!0),Z(Se,null,Lt(e.columns,f=>(V(),Z("span",{key:f.key,class:"lrg-badge"},[T("span",c0,le(f.key==="population"?e.fmtPop(p.population):e.fmtCount(p.count)),1)]))),128))],4)],10,i0)],8,a0),p.children&&p.children.length&&!s[p.key]?(V(!0),Z(Se,{key:0},Lt(p.children,f=>(V(),Z("div",{key:f.key,class:"lrg-row lrg-row-child","data-lrg-filter-key":f.filterKey},[c[1]||(c[1]=T("span",{class:"lrg-caret-placeholder","aria-hidden":"true"},null,-1)),T("div",{class:$e(["lrg-item",{selected:e.activeFilter===f.filterKey}]),onClick:_=>u.$emit("filter-click",f.filterKey)},[T("div",{class:"lrg-item-inner",style:ft({backgroundColor:f.color,"--lrg-item-color":f.color})},[T("span",p0,le(f.label),1),(V(!0),Z(Se,null,Lt(e.columns,_=>(V(),Z("span",{key:_.key,class:"lrg-badge"},[T("span",g0,le(_.key==="population"?e.fmtPop(f.population):e.fmtCount(f.count)),1)]))),128))],4)],10,d0)],8,u0))),128)):he("",!0)],64))),128)),e.columns.length&&e.showFooter?(V(),Z("div",f0,[c[2]||(c[2]=T("span",{class:"lrg-footer-caret-slot","aria-hidden":"true"},null,-1)),T("span",h0,le(me(t)("legend.footer.total")),1),(V(!0),Z(Se,null,Lt(e.columns,p=>(V(),Z("span",{key:p.key,class:"lrg-footer-value"},le(p.key==="population"?e.fmtPop(e.totalPopulation):e.fmtCount(e.totalCount)),1))),128))])):he("",!0)],4)],2))}},[["__scopeId","data-v-dab12d50"]]),b0="#6b7280";function y0(){const e=ar(gn.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function _0(e,t){const o=y0();return e&&o[e]?o[e]:b0}function v0(e){return(e==null?void 0:e.properties)||e||{}}function Ds(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function k0(e){var t;return String(e.affinityBlock||Ds((t=e._raw)==null?void 0:t.rop1)||"").trim()}function w0(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function x0(e){var t;return String(e.cluster||Ds((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function S0(e){var t;return String(e.clusterLabel||((t=e._raw)!=null&&t.imb_reg_of_people_2&&typeof e._raw.imb_reg_of_people_2=="object"?e._raw.imb_reg_of_people_2.label:"")||"").trim()}function A0(e){var t;return String(e.peopleGroup||Ds((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function L0(e){var t;return String(e.peopleGroupLabel||((t=e._raw)!=null&&t.imb_reg_of_people_25&&typeof e._raw.imb_reg_of_people_25=="object"?e._raw.imb_reg_of_people_25.label:"")||e.name||"").trim()}function $0(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function C0(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function T0(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function E0(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function P0(e){const t=Q(()=>{const a=e&&e.value||[],s=new Map;for(const i of a){const l=v0(i),u=k0(l),c=w0(l)||u||"— Unknown —",p=x0(l),f=S0(l)||p||"— Unknown —",_=A0(l),L=L0(l)||_||"— Unknown —",g=$0(l),w=C0(l)||g,A=T0(l),v=E0(l);if(!g)continue;let m=s.get(u||"__unknown__");m||(m={code:u,label:c,count:0,pop:0,memberIds:[],clusters:new Map},s.set(u||"__unknown__",m)),m.count+=1,m.pop+=A,m.memberIds.push(g);let d=m.clusters.get(p||"__unknown__");d||(d={code:p,label:f,count:0,pop:0,memberIds:[],peopleGroups:new Map},m.clusters.set(p||"__unknown__",d)),d.count+=1,d.pop+=A,d.memberIds.push(g);let k=d.peopleGroups.get(_||"__unknown__");k||(k={code:_,label:L,count:0,pop:0,memberIds:[],instances:[]},d.peopleGroups.set(_||"__unknown__",k)),k.count+=1,k.pop+=A,k.memberIds.push(g),k.instances.push({id:g,name:w,country:v,pop:A})}return s}),o=a=>a&&a.length?["in",["get","uniqueId"],["literal",a]]:["==",["get","uniqueId"],"__none__"],n=Q(()=>{const a=t.value,s=[];for(const i of a.values()){const l=_0(i.code,i.label),u={id:`bloc:${i.code||i.label}`,label:i.label,color:l,count:i.count,pop:i.pop,filter:o(i.memberIds),children:[]};for(const c of i.clusters.values()){const p={id:`cluster:${i.code}__${c.code||c.label}`,label:`${c.label} (Cluster)`,color:l,count:c.count,pop:c.pop,filter:o(c.memberIds),children:[]};for(const f of c.peopleGroups.values()){const _={id:`pg:${i.code}__${c.code}__${f.code||f.label}`,label:`${f.label} (PG)`,color:l,count:f.count,pop:f.pop,filter:o(f.memberIds),children:[]};f.instances.sort((L,g)=>g.pop-L.pop||L.country.localeCompare(g.country));for(const L of f.instances)_.children.push({id:`pgic:${L.id}`,label:`${L.country?`${L.name}, ${L.country}`:L.name} (PGIC)`,color:l,count:1,pop:L.pop,filter:["==",["get","uniqueId"],L.id],children:[]});p.children.push(_)}p.children.sort((f,_)=>_.count-f.count||_.pop-f.pop),u.children.push(p)}u.children.sort((c,p)=>p.count-c.count||p.pop-c.pop),s.push(u)}return s.sort((i,l)=>l.count-i.count||l.pop-i.pop),s});function r(a){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!a){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(a.id||""),i={kind:null,label:a.label,filterExpr:a.filter};s.startsWith("bloc:")?i.kind="bloc":s.startsWith("cluster:")?i.kind="cluster":s.startsWith("pg:")?i.kind="people-group":s.startsWith("pgic:")&&(i.kind="people-group-in-country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:i}))}return{aggregated:t,affinityTree:n,highlight:r}}const M0={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},N0="#95a5a6";function I0(e){return M0[String(e||"").toLowerCase()]||N0}function R0(e){return(e==null?void 0:e.properties)||e||{}}function F0(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function O0(e){var t,o;return String(e.doxaRegion||e.wagfRegion||((o=(t=e._raw)==null?void 0:t.wagf_region)==null?void 0:o.value)||"").trim()}function D0(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_region;return String(e.wagfRegionLabel||e.doxaRegionLabel||(t&&typeof t=="object"?t.label:"")||e.doxaRegion||"").trim()}function B0(e){var t,o;return String(e.wagfBlock||((o=(t=e._raw)==null?void 0:t.wagf_block)==null?void 0:o.value)||"").trim()}function j0(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_block;return String(e.wagfBlockLabel||(t&&typeof t=="object"?t.label:"")||e.wagfBlock||"").trim()}function G0(e){var t,o;return String(e.countryIso||((o=(t=e._raw)==null?void 0:t.country_code)==null?void 0:o.value)||"").trim().toUpperCase()}function U0(e){var o;const t=(o=e._raw)==null?void 0:o.country_code;return String(e.countryIsoLabel||(t&&typeof t=="object"?t.label:"")||e.countryIso||"").trim()}function K0(e){const t=Q(()=>{const r=e&&e.value||[],a=new Map;for(const s of r){const i=R0(s),l=O0(i),u=D0(i)||l||"— Unknown —",c=B0(i),p=j0(i)||c||"— Unknown —",f=G0(i),_=U0(i)||f||"— Unknown —",L=F0(i);if(!l||l==="na"||l==="none")continue;let g=a.get(l);if(g||(g={slug:l,label:u,count:0,pop:0,blocks:new Map},a.set(l,g)),g.count+=1,g.pop+=L,!c||c==="na")continue;let w=g.blocks.get(c);if(w||(w={slug:c,label:p,count:0,pop:0,countries:new Map},g.blocks.set(c,w)),w.count+=1,w.pop+=L,!f)continue;let A=w.countries.get(f);A||(A={iso:f,name:_,count:0,pop:0},w.countries.set(f,A)),A.count+=1,A.pop+=L}return a}),o=Q(()=>{const r=t.value,a=[];for(const s of r.values()){const i=I0(s.slug),l=[],u=[],c=[...s.blocks.values()].sort((p,f)=>f.pop-p.pop||p.label.localeCompare(f.label));for(const p of c){const f=[],_=[],L=[...p.countries.values()].sort((g,w)=>w.pop-g.pop||g.name.localeCompare(w.name));for(const g of L)f.push(g.iso),l.push(g.iso),_.push({id:`country:${s.slug}__${p.slug}__${g.iso}`,label:g.name,color:i,count:g.count,pop:g.pop,filter:["==",["get","countryIso"],g.iso],isoCodes:[g.iso],children:[]});u.push({id:`block:${s.slug}__${p.slug}`,label:`${p.label} (Bloc)`,color:i,count:p.count,pop:p.pop,filter:["==",["get","wagfBlock"],p.slug],isoCodes:f,children:_})}a.push({id:`region:${s.slug}`,label:`${s.label} (Region)`,color:i,count:s.count,pop:s.pop,filter:["==",["get","doxaRegion"],s.slug],isoCodes:[...new Set(l)],children:u})}return a.sort((s,i)=>i.pop-s.pop||s.label.localeCompare(i.label)),a});function n(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const a=String(r.id||""),s={kind:null,label:r.label,filterExpr:r.filter};a.startsWith("region:")?s.kind="region":a.startsWith("block:")?s.kind="block":a.startsWith("country:")&&(s.kind="country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:s}))}return{aggregated:t,regionsTree:o,highlight:n}}const Ou="doxa-prayed-local";function H0(){try{const e=localStorage.getItem(Ou);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function z0(e){try{localStorage.setItem(Ou,JSON.stringify(e))}catch{}}function V0(e){if(!e)return;const t=H0();t[e]=Date.now(),z0(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}const Du=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"];function Bu(e){const t=(e||"U")[0].toUpperCase(),o=t.charCodeAt(0)%Du.length,n=Du[o];return{letter:t,color:"#ffffff",backgroundColor:n}}function W0(e,t={}){const{size:o=32,borderRadius:n=4}=t,r=Bu(e);return{width:`${o}px`,height:`${o}px`,borderRadius:`${n}px`,backgroundColor:r.backgroundColor,color:r.color,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"600",fontSize:`${Math.floor(o*.5)}px`,flexShrink:"0"}}const Y0={key:0,class:"detail-header"},q0={class:"header-left"},J0={class:"header-text"},Z0={class:"people-group-name"},X0={class:"people-group-subtitle"},Q0=["aria-label"],ev={class:"detail-content"},tv={key:0,class:"pg-name-lead"},ov={class:"action-buttons"},nv={class:"quick-stats"},av={class:"stat-item"},rv={class:"stat-label"},sv={class:"stat-value"},iv={class:"stat-item"},lv={class:"stat-label"},cv={class:"stat-value"},uv={class:"stat-item"},dv={class:"stat-label"},pv={class:"stat-value"},gv={class:"stat-item"},fv={class:"stat-label"},hv={class:"stat-value"},mv={class:"stat-item stat-committed"},bv={class:"stat-label"},yv={class:"stat-value"},_v={key:1,class:"image-container position-inside"},vv=["src","alt"],kv={key:2,class:"description-section"},wv={key:0,class:"description-text"},xv={key:1,class:"description-text empty"},ju="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",Gu=qn({__name:"PeopleGroupDetail",props:{peopleGroup:{type:Object,required:!0},hideHeader:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},action:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)}},setup(e){const{t,locale:o}=_t();St(` +`,"legend-row-group");const o=e,n=Pe("legendProgress",null),r=ee(()=>o.progress??ve(n)??null),a=ee(()=>r.value?t("legend.progress.title"):o.title),s=ue(null);function i(f){let _=f.parentElement;for(;_;){const w=getComputedStyle(_).overflowY;if((w==="auto"||w==="scroll")&&_.scrollHeight>_.clientHeight+1){const b=f.getBoundingClientRect(),v=_.getBoundingClientRect();_.scrollTop+=b.top-v.top-8}_=_.parentElement}}let l=0;pt(()=>o.activeFilter,async f=>{if(!f)return;const _=++l,w=s.value;if(!w)return;await Ko();const b=(v=0)=>{if(_!==l)return;const x=w.querySelector(`[data-lrg-filter-key="${CSS.escape(String(f))}"]`);x&&i(x),v<6&&setTimeout(()=>b(v+1),70)};b(0)});const c=tn({});function u(f){c[f]=!c[f]}const d=ee(()=>`var(--lrg-caret-col) minmax(80px, 1fr) ${o.columns.map(()=>"auto").join(" ")} var(--lrg-caret-col)`);return(f,_)=>(z(),oe("div",{class:Ce(["legend-row-group",e.isDark?"lrg-dark":"lrg-light"])},[L("div",{class:"lrg-items",style:nt({"--lrg-grid-cols":d.value}),ref_key:"itemsContainer",ref:s},[!e.hideColumnHeader&&(e.title||e.columns.length)?(z(),oe("div",c0,[L("span",u0,[Dn(f.$slots,"title-caret",{},void 0,!0)]),L("span",d0,ce(a.value),1),(z(!0),oe(Te,null,Ct(e.columns,w=>(z(),oe("span",{key:w.key,class:"lrg-header-col"},ce(w.label),1))),128)),r.value?(z(),ut(hu,{key:0,class:"lrg-progress",covered:r.value.covered,total:r.value.total,segments:r.value.segments,"is-dark":e.isDark,"fmt-count":e.fmtCount,onSelectSegment:_[0]||(_[0]=w=>f.$emit("filter-click",w))},null,8,["covered","total","segments","is-dark","fmt-count"])):be("",!0)])):be("",!0),(z(!0),oe(Te,null,Ct(e.items,w=>(z(),oe(Te,{key:w.key},[L("div",{class:"lrg-row","data-lrg-filter-key":w.filterKey},[w.children&&w.children.length&&!e.disableCollapse?(z(),oe("button",{key:0,class:Ce(["lrg-caret",{expanded:!c[w.key]}]),onClick:Et(b=>u(w.key),["stop"]),"aria-label":"Toggle children"},[..._[1]||(_[1]=[L("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,g0)):(z(),oe("span",f0)),L("div",{class:Ce(["lrg-item",{selected:e.activeFilter===w.filterKey}]),onClick:b=>f.$emit("filter-click",w.filterKey)},[L("div",{class:"lrg-item-inner",style:nt({backgroundColor:w.color,"--lrg-item-color":w.color})},[L("span",m0,ce(w.label),1),(z(!0),oe(Te,null,Ct(e.columns,b=>(z(),oe("span",{key:b.key,class:"lrg-badge"},[L("span",b0,ce(b.key==="population"?e.fmtPop(w.population):e.fmtCount(w.count)),1)]))),128))],4)],10,h0)],8,p0),w.children&&w.children.length&&!c[w.key]?(z(!0),oe(Te,{key:0},Ct(w.children,b=>(z(),oe("div",{key:b.key,class:"lrg-row lrg-row-child","data-lrg-filter-key":b.filterKey},[_[2]||(_[2]=L("span",{class:"lrg-caret-placeholder","aria-hidden":"true"},null,-1)),L("div",{class:Ce(["lrg-item",{selected:e.activeFilter===b.filterKey}]),onClick:v=>f.$emit("filter-click",b.filterKey)},[L("div",{class:"lrg-item-inner",style:nt({backgroundColor:b.color,"--lrg-item-color":b.color})},[L("span",v0,ce(b.label),1),(z(!0),oe(Te,null,Ct(e.columns,v=>(z(),oe("span",{key:v.key,class:"lrg-badge"},[L("span",k0,ce(v.key==="population"?e.fmtPop(b.population):e.fmtCount(b.count)),1)]))),128))],4)],10,_0)],8,y0))),128)):be("",!0)],64))),128)),e.columns.length&&e.showFooter?(z(),oe("div",w0,[_[3]||(_[3]=L("span",{class:"lrg-footer-caret-slot","aria-hidden":"true"},null,-1)),L("span",x0,ce(ve(t)("legend.footer.total")),1),(z(!0),oe(Te,null,Ct(e.columns,w=>(z(),oe("span",{key:w.key,class:"lrg-footer-value"},ce(w.key==="population"?e.fmtPop(e.totalPopulation):e.fmtCount(e.totalCount)),1))),128))])):be("",!0)],4)],2))}},[["__scopeId","data-v-82fac509"]]),A0="#6b7280";function L0(){const e=rr(yn.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function $0(e,t){const o=L0();return e&&o[e]?o[e]:A0}function C0(e){return(e==null?void 0:e.properties)||e||{}}function Bs(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function T0(e){var t;return String(e.affinityBlock||Bs((t=e._raw)==null?void 0:t.rop1)||"").trim()}function E0(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function P0(e){var t;return String(e.cluster||Bs((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function M0(e){var t;return String(e.clusterLabel||((t=e._raw)!=null&&t.imb_reg_of_people_2&&typeof e._raw.imb_reg_of_people_2=="object"?e._raw.imb_reg_of_people_2.label:"")||"").trim()}function N0(e){var t;return String(e.peopleGroup||Bs((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function I0(e){var t;return String(e.peopleGroupLabel||((t=e._raw)!=null&&t.imb_reg_of_people_25&&typeof e._raw.imb_reg_of_people_25=="object"?e._raw.imb_reg_of_people_25.label:"")||e.name||"").trim()}function R0(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function F0(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function O0(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function D0(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function B0(e){const t=ee(()=>{const a=e&&e.value||[],s=new Map;for(const i of a){const l=C0(i),c=T0(l),u=E0(l)||c||"— Unknown —",d=P0(l),f=M0(l)||d||"— Unknown —",_=N0(l),w=I0(l)||_||"— Unknown —",b=R0(l),v=F0(l)||b,x=O0(l),k=D0(l);if(!b)continue;let m=s.get(c||"__unknown__");m||(m={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},s.set(c||"__unknown__",m)),m.count+=1,m.pop+=x,m.memberIds.push(b);let g=m.clusters.get(d||"__unknown__");g||(g={code:d,label:f,count:0,pop:0,memberIds:[],peopleGroups:new Map},m.clusters.set(d||"__unknown__",g)),g.count+=1,g.pop+=x,g.memberIds.push(b);let y=g.peopleGroups.get(_||"__unknown__");y||(y={code:_,label:w,count:0,pop:0,memberIds:[],instances:[]},g.peopleGroups.set(_||"__unknown__",y)),y.count+=1,y.pop+=x,y.memberIds.push(b),y.instances.push({id:b,name:v,country:k,pop:x})}return s}),o=a=>a&&a.length?["in",["get","uniqueId"],["literal",a]]:["==",["get","uniqueId"],"__none__"],n=ee(()=>{const a=t.value,s=[];for(const i of a.values()){const l=$0(i.code,i.label),c={id:`bloc:${i.code||i.label}`,label:i.label,color:l,count:i.count,pop:i.pop,filter:o(i.memberIds),children:[]};for(const u of i.clusters.values()){const d={id:`cluster:${i.code}__${u.code||u.label}`,label:`${u.label} (Cluster)`,color:l,count:u.count,pop:u.pop,filter:o(u.memberIds),children:[]};for(const f of u.peopleGroups.values()){const _={id:`pg:${i.code}__${u.code}__${f.code||f.label}`,label:`${f.label} (PG)`,color:l,count:f.count,pop:f.pop,filter:o(f.memberIds),children:[]};f.instances.sort((w,b)=>b.pop-w.pop||w.country.localeCompare(b.country));for(const w of f.instances)_.children.push({id:`pgic:${w.id}`,label:`${w.country?`${w.name}, ${w.country}`:w.name} (PGIC)`,color:l,count:1,pop:w.pop,filter:["==",["get","uniqueId"],w.id],children:[]});d.children.push(_)}d.children.sort((f,_)=>_.count-f.count||_.pop-f.pop),c.children.push(d)}c.children.sort((u,d)=>d.count-u.count||d.pop-u.pop),s.push(c)}return s.sort((i,l)=>l.count-i.count||l.pop-i.pop),s});function r(a){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!a){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(a.id||""),i={kind:null,label:a.label,filterExpr:a.filter};s.startsWith("bloc:")?i.kind="bloc":s.startsWith("cluster:")?i.kind="cluster":s.startsWith("pg:")?i.kind="people-group":s.startsWith("pgic:")&&(i.kind="people-group-in-country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:i}))}return{aggregated:t,affinityTree:n,highlight:r}}const j0={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},G0="#95a5a6";function U0(e){return j0[String(e||"").toLowerCase()]||G0}function K0(e){return(e==null?void 0:e.properties)||e||{}}function H0(e){var o;const t=Number(e.population??e.populationNum??((o=e._raw)==null?void 0:o.population)??0);return Number.isFinite(t)?t:0}function z0(e){var t,o;return String(e.doxaRegion||e.wagfRegion||((o=(t=e._raw)==null?void 0:t.wagf_region)==null?void 0:o.value)||"").trim()}function V0(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_region;return String(e.wagfRegionLabel||e.doxaRegionLabel||(t&&typeof t=="object"?t.label:"")||e.doxaRegion||"").trim()}function W0(e){var t,o;return String(e.wagfBlock||((o=(t=e._raw)==null?void 0:t.wagf_block)==null?void 0:o.value)||"").trim()}function Y0(e){var o;const t=(o=e._raw)==null?void 0:o.wagf_block;return String(e.wagfBlockLabel||(t&&typeof t=="object"?t.label:"")||e.wagfBlock||"").trim()}function q0(e){var t,o;return String(e.countryIso||((o=(t=e._raw)==null?void 0:t.country_code)==null?void 0:o.value)||"").trim().toUpperCase()}function J0(e){var o;const t=(o=e._raw)==null?void 0:o.country_code;return String(e.countryIsoLabel||(t&&typeof t=="object"?t.label:"")||e.countryIso||"").trim()}function Z0(e){const t=ee(()=>{const r=e&&e.value||[],a=new Map;for(const s of r){const i=K0(s),l=z0(i),c=V0(i)||l||"— Unknown —",u=W0(i),d=Y0(i)||u||"— Unknown —",f=q0(i),_=J0(i)||f||"— Unknown —",w=H0(i);if(!l||l==="na"||l==="none")continue;let b=a.get(l);if(b||(b={slug:l,label:c,count:0,pop:0,blocks:new Map},a.set(l,b)),b.count+=1,b.pop+=w,!u||u==="na")continue;let v=b.blocks.get(u);if(v||(v={slug:u,label:d,count:0,pop:0,countries:new Map},b.blocks.set(u,v)),v.count+=1,v.pop+=w,!f)continue;let x=v.countries.get(f);x||(x={iso:f,name:_,count:0,pop:0},v.countries.set(f,x)),x.count+=1,x.pop+=w}return a}),o=ee(()=>{const r=t.value,a=[];for(const s of r.values()){const i=U0(s.slug),l=[],c=[],u=[...s.blocks.values()].sort((d,f)=>f.pop-d.pop||d.label.localeCompare(f.label));for(const d of u){const f=[],_=[],w=[...d.countries.values()].sort((b,v)=>v.pop-b.pop||b.name.localeCompare(v.name));for(const b of w)f.push(b.iso),l.push(b.iso),_.push({id:`country:${s.slug}__${d.slug}__${b.iso}`,label:b.name,color:i,count:b.count,pop:b.pop,filter:["==",["get","countryIso"],b.iso],isoCodes:[b.iso],children:[]});c.push({id:`block:${s.slug}__${d.slug}`,label:`${d.label} (Bloc)`,color:i,count:d.count,pop:d.pop,filter:["==",["get","wagfBlock"],d.slug],isoCodes:f,children:_})}a.push({id:`region:${s.slug}`,label:`${s.label} (Region)`,color:i,count:s.count,pop:s.pop,filter:["==",["get","doxaRegion"],s.slug],isoCodes:[...new Set(l)],children:c})}return a.sort((s,i)=>i.pop-s.pop||s.label.localeCompare(i.label)),a});function n(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const a=String(r.id||""),s={kind:null,label:r.label,filterExpr:r.filter};a.startsWith("region:")?s.kind="region":a.startsWith("block:")?s.kind="block":a.startsWith("country:")&&(s.kind="country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:s}))}return{aggregated:t,regionsTree:o,highlight:n}}const Bu="doxa-prayed-local";function X0(){try{const e=localStorage.getItem(Bu);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function Q0(e){try{localStorage.setItem(Bu,JSON.stringify(e))}catch{}}function ev(e){if(!e)return;const t=X0();t[e]=Date.now(),Q0(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}const ju=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"];function Gu(e){const t=(e||"U")[0].toUpperCase(),o=t.charCodeAt(0)%ju.length,n=ju[o];return{letter:t,color:"#ffffff",backgroundColor:n}}function tv(e,t={}){const{size:o=32,borderRadius:n=4}=t,r=Gu(e);return{width:`${o}px`,height:`${o}px`,borderRadius:`${n}px`,backgroundColor:r.backgroundColor,color:r.color,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"600",fontSize:`${Math.floor(o*.5)}px`,flexShrink:"0"}}const ov={key:0,class:"detail-header"},nv={class:"header-left"},av={class:"header-text"},rv={class:"people-group-name"},sv={class:"people-group-subtitle"},iv=["aria-label"],lv={class:"detail-content"},cv={key:0,class:"pg-name-lead"},uv={class:"action-buttons"},dv={class:"quick-stats"},pv={class:"stat-item"},gv={class:"stat-label"},fv={class:"stat-value"},hv={class:"stat-item"},mv={class:"stat-label"},bv={class:"stat-value"},yv={class:"stat-item"},_v={class:"stat-label"},vv={class:"stat-value"},kv={class:"stat-item"},wv={class:"stat-label"},xv={class:"stat-value"},Sv={class:"stat-item stat-committed"},Av={class:"stat-label"},Lv={class:"stat-value"},$v={key:1,class:"image-container position-inside"},Cv=["src","alt"],Tv={key:2,class:"description-section"},Ev={key:0,class:"description-text"},Pv={key:1,class:"description-text empty"},Uu="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",Ku=bn({__name:"PeopleGroupDetail",props:{peopleGroup:{type:Object,required:!0},hideHeader:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},action:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)}},setup(e){const{t,locale:o}=wt();St(` .people-group-detail{display:flex;flex-direction:column;height:100%;overflow-y:auto;} .people-group-detail.dark-mode{background:#1a1a2e;color:#eee;} .detail-header{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e0e0e0;background:white;position:sticky;top:0;z-index:10;} @@ -661,23 +711,47 @@ .dark-mode .description-text{color:#d1d5db;} .description-text.empty{color:#999;font-style:italic;} .dark-mode .description-text.empty{color:#6b7280;} -`,"legend-people-group-detail");const n=e,r=Te("uiStore"),a=Te("profileConfig",null),s=Q(()=>r.legendState),i=Q(()=>r.isMobile),l=Q(()=>!i.value||s.value==="fullyOpen"),u=Q(()=>Bu(n.peopleGroup.properties.name)),c=Q(()=>u.value.letter),p=Q(()=>W0(n.peopleGroup.properties.name,{size:32,borderRadius:4})),f=Q(()=>n.peopleGroup.properties),_=ue(null),L=ue(!1),g=Q(()=>f.value.slug||"");async function w(z){if(!z)return;const de=vu();if(de)try{const ge=await fetch(`${de}/api/people-groups/detail/${encodeURIComponent(z)}?lang=${encodeURIComponent(o.value)}`);if(!ge.ok)throw new Error(`HTTP ${ge.status}`);_.value=await ge.json()}catch{_.value=null}}at(g,z=>{L.value=!1,_.value=null,w(z)},{immediate:!0});const A=Q(()=>{var z;return f.value.countryName||f.value.countryIsoLabel||f.value.country||f.value.countryIso||((z=f.value._raw)==null?void 0:z.Country)||""}),v=Q(()=>{var ge;const z=f.value.status||((ge=f.value._raw)==null?void 0:ge.Status),de=A.value||"Unknown";return z?`${de} • ${z}`:de}),m=Q(()=>{var de;const z=f.value.language||((de=f.value._raw)==null?void 0:de.Language);if(!z)return"Unknown";if(typeof z=="object"&&z.label)return z.label;if(typeof z=="string"&&z.startsWith("{"))try{const ge=JSON.parse(z);if(ge!=null&&ge.label)return ge.label}catch{}return z}),d=Q(()=>{var z;return f.value.population||((z=f.value._raw)==null?void 0:z.Population)||0}),k=Q(()=>{var de,ge;const z=[(de=_.value)==null?void 0:de.people_praying,f.value.peoplePraying,(ge=f.value._raw)==null?void 0:ge.people_praying];for(const Pe of z)if(Pe!=null&&Pe!=="")return Number(Pe);return null}),$=Q(()=>k.value===null?"—":k.value.toLocaleString()),O=Q(()=>{var z;return f.value.religionName||f.value.religionLabel||f.value.religion||((z=f.value._raw)==null?void 0:z.Religion)||""}),I=Q(()=>{var z,de,ge;return((z=_.value)==null?void 0:z.imb_people_description)||((de=_.value)==null?void 0:de.description)||f.value.description||((ge=f.value._raw)==null?void 0:ge.Description)||""}),M=Q(()=>{var z,de,ge;return((z=_.value)==null?void 0:z.image_url)||((de=_.value)==null?void 0:de.imageUrl)||f.value.imageUrl||((ge=f.value._raw)==null?void 0:ge.ImageURL)||ju}),U=Q(()=>{const z=parseInt(d.value);return z>=1e6?`${(z/1e6).toFixed(1)}M`:z>=1e3?`${(z/1e3).toFixed(1)}K`:z.toLocaleString()});function ee(){r.selectPeopleGroup(null)}function q(){var Pe;let z="";try{z=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const de=(Pe=a==null?void 0:a.value)==null?void 0:Pe.utmSource,ge=typeof window<"u"&&window.DOXA_UTM_SOURCE||"";return encodeURIComponent(String(z||de||ge||"agwm"))}function se(z){return`https://pray.doxa.life/${encodeURIComponent(z)}?source=doxalife&utm_source=${q()}`}function H(z){return`${N()}/adopt/${encodeURIComponent(z)}/?source=doxalife&utm_source=${q()}`}function N(){const z=typeof window<"u"&&window.DOXA_SITE_URL||"";return String(z||"https://doxa.life").replace(/\/+$/,"")}function F(z){return`${N()}/research/${encodeURIComponent(z)}/?utm_source=${q()}`}function X(){const z=g.value;if(!z)return;n.action!=="adopt"&&V0(z);const de=n.action==="adopt"?H(z):se(z);window.open(de,"_blank","noopener")}function ie(){const z=g.value;z&&window.open(F(z),"_blank","noopener")}function pe(z){z.target.dataset.usedFallback||(z.target.dataset.usedFallback="true",z.target.src=ju)}return(z,de)=>(V(),Z("div",{class:$e(["people-group-detail",{"dark-mode":e.dark}])},[e.hideHeader?he("",!0):(V(),Z("div",Y0,[T("div",q0,[T("div",{class:"avatar",style:ft(p.value)},le(c.value),5),T("div",J0,[T("h3",Z0,le(e.peopleGroup.properties.name),1),T("p",X0,le(v.value),1)])]),T("button",{class:"close-button",onClick:ee,"aria-label":me(t)("aria.closeDetailView")},[...de[1]||(de[1]=[T("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[T("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Q0)])),T("div",ev,[e.hideHeader?(V(),Z("h3",tv,le(e.peopleGroup.properties.name||me(t)("legend.header.peopleGroupFallback")),1)):he("",!0),T("div",ov,[e.action==="pray"||e.action==="adopt"?(V(),Z("button",{key:0,class:"action-btn primary",onClick:X},[de[2]||(de[2]=T("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[T("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),T("span",null,le(e.action==="adopt"?me(t)("buttons.adoptThem"):me(t)("buttons.prayForThem")),1)])):he("",!0),T("button",{class:"action-btn secondary",onClick:ie},[de[3]||(de[3]=T("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[T("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),T("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),T("span",null,le(me(t)("buttons.moreInfo")),1)])]),T("div",nv,[T("div",av,[T("span",rv,le(me(t)("detail.labels.country")),1),T("span",sv,le(A.value||"—"),1)]),T("div",iv,[T("span",lv,le(me(t)("detail.labels.population")),1),T("span",cv,le(U.value||"—"),1)]),T("div",uv,[T("span",dv,le(me(t)("detail.labels.language")),1),T("span",pv,le(m.value||"—"),1)]),T("div",gv,[T("span",fv,le(me(t)("detail.labels.religion")),1),T("span",hv,le(O.value||"—"),1)]),T("div",mv,[T("span",bv,le(me(t)("detail.labels.peopleCommitted")),1),T("span",yv,le($.value),1)])]),l.value?(V(),Z("div",_v,[T("div",{class:$e(["image-placeholder-svg",{hidden:L.value}])},[...de[4]||(de[4]=[T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 120",width:"80",height:"96","aria-hidden":"true"},[T("circle",{cx:"50",cy:"36",r:"22",fill:"#ccc"}),T("ellipse",{cx:"50",cy:"95",rx:"36",ry:"28",fill:"#ccc"})],-1)])],2),M.value?(V(),Z("img",{key:0,src:M.value,alt:`${e.peopleGroup.properties.name} people group`,class:$e(["people-group-image",{loaded:L.value}]),onLoad:de[0]||(de[0]=ge=>L.value=!0),onError:pe},null,42,vv)):he("",!0)])):he("",!0),l.value?(V(),Z("div",kv,[I.value?(V(),Z("p",wv,le(I.value),1)):(V(),Z("p",xv,le(me(t)("detail.messages.noDescription")),1))])):he("",!0)])],2))}},[["__scopeId","data-v-17d34c3a"]]),Sv=Object.freeze(Object.defineProperty({__proto__:null,default:Gu},Symbol.toStringTag,{value:"Module"})),Av={class:"legend-sheet-root"},Lv=["src","alt"],$v={key:0,class:"pull-tab-handle"},Cv=["aria-label"],Tv=["aria-label"],Ev=["aria-label"],Pv={class:"collapsed-detail-title"},Mv={class:"legend-content"},Nv=["aria-label"],Iv=["aria-label"],Rv=qn({__name:"LegendMobile",props:{legendType:{type:String,required:!0},nodes:{type:Array,default:null},tabs:{type:Array,default:null},columnLabel:{type:String,default:null},title:{type:String,default:null},columns:{type:Array,default:null},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const{t}=_t();St(` +`,"legend-people-group-detail");const n=e,r=Pe("uiStore"),a=Pe("profileConfig",null),s=ee(()=>r.legendState),i=ee(()=>r.isMobile),l=ee(()=>!i.value||s.value==="fullyOpen"),c=ee(()=>Gu(n.peopleGroup.properties.name)),u=ee(()=>c.value.letter),d=ee(()=>tv(n.peopleGroup.properties.name,{size:32,borderRadius:4})),f=ee(()=>n.peopleGroup.properties),_=ue(null),w=ue(!1),b=ee(()=>f.value.slug||"");async function v(H){if(!H)return;const fe=wu();if(fe)try{const he=await fetch(`${fe}/api/people-groups/detail/${encodeURIComponent(H)}?lang=${encodeURIComponent(o.value)}`);if(!he.ok)throw new Error(`HTTP ${he.status}`);_.value=await he.json()}catch{_.value=null}}pt(b,H=>{w.value=!1,_.value=null,v(H)},{immediate:!0});const x=ee(()=>{var H;return f.value.countryName||f.value.countryIsoLabel||f.value.country||f.value.countryIso||((H=f.value._raw)==null?void 0:H.Country)||""}),k=ee(()=>{var he;const H=f.value.status||((he=f.value._raw)==null?void 0:he.Status),fe=x.value||"Unknown";return H?`${fe} • ${H}`:fe}),m=ee(()=>{var fe;const H=f.value.language||((fe=f.value._raw)==null?void 0:fe.Language);if(!H)return"Unknown";if(typeof H=="object"&&H.label)return H.label;if(typeof H=="string"&&H.startsWith("{"))try{const he=JSON.parse(H);if(he!=null&&he.label)return he.label}catch{}return H}),g=ee(()=>{var H;return f.value.population||((H=f.value._raw)==null?void 0:H.Population)||0}),y=ee(()=>{var fe,he;const H=[(fe=_.value)==null?void 0:fe.people_praying,f.value.peoplePraying,(he=f.value._raw)==null?void 0:he.people_praying];for(const Ue of H)if(Ue!=null&&Ue!=="")return Number(Ue);return null}),A=ee(()=>y.value===null?"—":y.value.toLocaleString()),M=ee(()=>{var H;return f.value.religionName||f.value.religionLabel||f.value.religion||((H=f.value._raw)==null?void 0:H.Religion)||""}),N=ee(()=>{var H,fe,he;return((H=_.value)==null?void 0:H.imb_people_description)||((fe=_.value)==null?void 0:fe.description)||f.value.description||((he=f.value._raw)==null?void 0:he.Description)||""}),P=ee(()=>{var H,fe,he;return((H=_.value)==null?void 0:H.image_url)||((fe=_.value)==null?void 0:fe.imageUrl)||f.value.imageUrl||((he=f.value._raw)==null?void 0:he.ImageURL)||Uu}),F=ee(()=>{const H=parseInt(g.value);return H>=1e6?`${(H/1e6).toFixed(1)}M`:H>=1e3?`${(H/1e3).toFixed(1)}K`:H.toLocaleString()});function W(){r.selectPeopleGroup(null)}function Z(){var Ue;let H="";try{H=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const fe=(Ue=a==null?void 0:a.value)==null?void 0:Ue.utmSource,he=typeof window<"u"&&window.DOXA_UTM_SOURCE||"";return encodeURIComponent(String(H||fe||he||"agwm"))}function ae(H){return`https://pray.doxa.life/${encodeURIComponent(H)}?source=doxalife&utm_source=${Z()}`}function G(H){return`${T()}/adopt/${encodeURIComponent(H)}/?source=doxalife&utm_source=${Z()}`}function T(){const H=typeof window<"u"&&window.DOXA_SITE_URL||"";return String(H||"https://doxa.life").replace(/\/+$/,"")}function R(H){return`${T()}/research/${encodeURIComponent(H)}/?utm_source=${Z()}`}function U(){const H=b.value;if(!H)return;n.action!=="adopt"&&ev(H);const fe=n.action==="adopt"?G(H):ae(H);window.open(fe,"_blank","noopener")}function ie(){const H=b.value;H&&window.open(R(H),"_blank","noopener")}function _e(H){H.target.dataset.usedFallback||(H.target.dataset.usedFallback="true",H.target.src=Uu)}return(H,fe)=>(z(),oe("div",{class:Ce(["people-group-detail",{"dark-mode":e.dark}])},[e.hideHeader?be("",!0):(z(),oe("div",ov,[L("div",nv,[L("div",{class:"avatar",style:nt(d.value)},ce(u.value),5),L("div",av,[L("h3",rv,ce(e.peopleGroup.properties.name),1),L("p",sv,ce(k.value),1)])]),L("button",{class:"close-button",onClick:W,"aria-label":ve(t)("aria.closeDetailView")},[...fe[1]||(fe[1]=[L("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[L("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,iv)])),L("div",lv,[e.hideHeader?(z(),oe("h3",cv,ce(e.peopleGroup.properties.name||ve(t)("legend.header.peopleGroupFallback")),1)):be("",!0),L("div",uv,[e.action==="pray"||e.action==="adopt"?(z(),oe("button",{key:0,class:"action-btn primary",onClick:U},[fe[2]||(fe[2]=L("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[L("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),L("span",null,ce(e.action==="adopt"?ve(t)("buttons.adoptThem"):ve(t)("buttons.prayForThem")),1)])):be("",!0),L("button",{class:"action-btn secondary",onClick:ie},[fe[3]||(fe[3]=L("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[L("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),L("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),L("span",null,ce(ve(t)("buttons.moreInfo")),1)])]),L("div",dv,[L("div",pv,[L("span",gv,ce(ve(t)("detail.labels.country")),1),L("span",fv,ce(x.value||"—"),1)]),L("div",hv,[L("span",mv,ce(ve(t)("detail.labels.population")),1),L("span",bv,ce(F.value||"—"),1)]),L("div",yv,[L("span",_v,ce(ve(t)("detail.labels.language")),1),L("span",vv,ce(m.value||"—"),1)]),L("div",kv,[L("span",wv,ce(ve(t)("detail.labels.religion")),1),L("span",xv,ce(M.value||"—"),1)]),L("div",Sv,[L("span",Av,ce(ve(t)("detail.labels.peopleCommitted")),1),L("span",Lv,ce(A.value),1)])]),l.value?(z(),oe("div",$v,[L("div",{class:Ce(["image-placeholder-svg",{hidden:w.value}])},[...fe[4]||(fe[4]=[L("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 120",width:"80",height:"96","aria-hidden":"true"},[L("circle",{cx:"50",cy:"36",r:"22",fill:"#ccc"}),L("ellipse",{cx:"50",cy:"95",rx:"36",ry:"28",fill:"#ccc"})],-1)])],2),P.value?(z(),oe("img",{key:0,src:P.value,alt:`${e.peopleGroup.properties.name} people group`,class:Ce(["people-group-image",{loaded:w.value}]),onLoad:fe[0]||(fe[0]=he=>w.value=!0),onError:_e},null,42,Cv)):be("",!0)])):be("",!0),l.value?(z(),oe("div",Tv,[N.value?(z(),oe("p",Ev,ce(N.value),1)):(z(),oe("p",Pv,ce(ve(t)("detail.messages.noDescription")),1))])):be("",!0)])],2))}},[["__scopeId","data-v-17d34c3a"]]),Mv=Object.freeze(Object.defineProperty({__proto__:null,default:Ku},Symbol.toStringTag,{value:"Module"})),Nv={class:"legend-sheet-root"},Iv=["src","alt"],Rv={key:0,class:"pull-tab-handle"},Fv=["aria-label"],Ov=["aria-label"],Dv=["aria-label"],Bv={class:"collapsed-detail-title"},jv={class:"legend-content"},Gv=["aria-label"],Uv=["aria-label"],Hu=80,Kv=48,Hv=44,zv=24,zu="--legend-sheet-h",Vv=bn({__name:"LegendMobile",props:{legendType:{type:String,required:!0},nodes:{type:Array,default:null},tabs:{type:Array,default:null},columnLabel:{type:String,default:null},title:{type:String,default:null},columns:{type:Array,default:null},isDark:{type:Boolean,default:!1},popupAction:{type:String,default:"pray",validator:e=>["pray","adopt","none"].includes(e)},disableCollapse:{type:Boolean,default:!1}},setup(e){const{t}=wt();St(` /* ── Mobile bottom sheet — chrome only. The TABLE (title + column labels + data rows) is rendered by LegendRows, the SAME component desktop uses, with all the same default CSS. Mobile no longer overrides any .lrg-* rule — the bottom sheet is purely mobile chrome (pull tab, collapse/expand caret, touch drag). ── */ -.floating-mini-image{position:absolute;left:16px;bottom:calc(30% + 16px);z-index:999;pointer-events:auto;cursor:pointer;} +/* bottom = 30% (the sheet's open height) + 16px gap + a 28px band that keeps the + Mapbox logo visible: the bottom-left control is lifted by the sheet height (see + the --legend-sheet-h rule below) and would otherwise sit under this image. */ +.floating-mini-image{position:absolute;left:16px;bottom:calc(30% + 44px);z-index:999;pointer-events:auto;cursor:pointer;} .mini-image{width:120px;height:150px;object-fit:cover;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.25);display:block;} /* Containment root: clamps absolute children to the map area. */ .legend-sheet-root{position:absolute;inset:0;pointer-events:none;overflow:hidden;} .legend-sheet-root>*{pointer-events:auto;} +/* ── Attribution stays visible (driver bug 2026-09-16) ── + The sheet is a bottom overlay, so the engine's bottom-left logo / bottom-right + attribution corners ended up UNDER it in every state (even the 48px collapsed + footer fully covered the 19px logo). The sheet observes its own height + (ResizeObserver, script below) and writes --legend-sheet-h on the custom-element + HOST; custom properties inherit across the shadow boundary, so this one rule + lifts both corners by exactly the sheet height, following drags and the 0.3s + height transition frame by frame. Desktop: the sheet slot is display:none, the + observer sees 0 and never writes the var, so nothing moves. Every profile that + renders this sheet loads this stylesheet — no per-profile wiring. */ +.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right, +.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{transform:translateY(calc(-1 * var(--legend-sheet-h,0px)));} + /* Sheet shell — no padding; drag strip and caret are absolutely positioned overlays. Legend content owns the top padding, matching - desktop's arrangement so caret+title align on the same visual baseline. */ -.legend-mobile-sheet{position:absolute;bottom:0;left:0;right:0;z-index:1000;background:white;border-top-left-radius:var(--map-radius,16px);border-top-right-radius:var(--map-radius,16px);box-shadow:0 -4px 20px rgba(0,0,0,0.2);transition:height 0.3s ease-out;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100% - 80px);} + desktop's arrangement so caret+title align on the same visual baseline. + max-height reads --legend-sheet-top-reserve, set on this element from the + TOP_RESERVE_PX constant in the script — the SAME number the touch-drag clamp + uses, so CSS and JS can never disagree about how tall the sheet may get. */ +.legend-mobile-sheet{position:absolute;bottom:0;left:0;right:0;z-index:1000;background:white;border-top-left-radius:var(--map-radius,16px);border-top-right-radius:var(--map-radius,16px);box-shadow:0 -4px 20px rgba(0,0,0,0.2);transition:height 0.3s ease-out;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100% - var(--legend-sheet-top-reserve,80px));} +/* While a finger is resizing the sheet the height must be applied INSTANTLY — + with the 0.3s transition left on, the measured height lagged the finger by + 14-30px (mobile-sheet-probe baseline 2026-09-16) and the release logic read a + mid-animation value. Snapping on release re-enables the transition. */ +.legend-mobile-sheet.dragging{transition:none!important;} /* Drag strip — thin top overlay holding the pull-tab handle + touch gestures. z-index puts it above content. */ @@ -863,7 +937,7 @@ .sheet-dark .pull-tab-handle{background:rgba(243,243,241,0.3)!important;} .sheet-dark .legend-content{background:#3b463d!important;} .sheet-dark .legend-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.2);} -`,"legend-mobile-sheet");const o=e,n=Te("uiStore");Te("mapStore");const r=Te("dataStore"),a=Te("onSemanticTreeSelect",()=>{}),s=zd(o,"legendType"),{items:i,columns:l,title:u,activeFilter:c,setFilter:p,totalCount:f,totalPopulation:_,fmtPop:L,fmtCount:g}=Q_(s,e0),w=Te("normalizedPeopleGroups",null),A=Q(()=>{var x,B;if((x=w==null?void 0:w.value)!=null&&x.length)return w.value;const C=[];for(const K in(r==null?void 0:r.sources)||{}){const W=r.sources[K];(B=W==null?void 0:W.features)!=null&&B.length&&C.push(...W.features)}return C}),v={get value(){return A.value}},{langTree:m}=Nu(v),{affinityTree:d}=P0(v),{regionsTree:k}=K0(v),$=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor."},{id:"language",label:"Language",info:"A language is a system of communication used by a people."},{id:"dialect",label:"Dialect",info:"A dialect/variety is a regional or social form of a language."}],O=[{id:"bloc",label:"Block",info:"Affinity Block (rop1) — broadest grouping. 16 blocks total."},{id:"cluster",label:"Cluster",info:"Cluster (imb_reg_of_people_2, ROP 2) — finer grouping inside a block. 194 total."},{id:"group",label:"PG",info:"People Group (imb_reg_of_people_25, ROP 2.5) — abstract identity. 1,736 PGs."},{id:"pgic",label:"PGIC",info:"PG in Country (imb_reg_of_people_3 + country_code) — one row per PG-country pair. 2,106 rows."}],I=[{id:"region",label:"Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"Bloc",info:'WAGF bloc — organizational sub-grouping within each region (e.g. "South East Asia").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],M=Q(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function U(C){const x=[];for(const B of C){x.push({id:B.key,label:B.label,color:B.color,count:B.count??0,pop:B.population??0,filter:B.filterKey?["==",["get","_flat_filter"],B.filterKey]:null,children:[]});for(const K of B.children||[])x.push({id:K.key,label:K.label,color:K.color,count:K.count??0,pop:K.population??0,filter:K.filterKey?["==",["get","_flat_filter"],K.filterKey]:null,children:[]})}return x}const ee=Q(()=>o.nodes?o.nodes:M.value?U(i.value):o.legendType==="affinity-block"?d.value:o.legendType==="doxa-regions"?k.value:m.value),q=Q(()=>o.nodes?o.tabs:M.value?null:o.legendType==="affinity-block"?O:o.legendType==="doxa-regions"?I:$),se=Q(()=>o.title?o.title:M.value?"Legend":o.legendType==="affinity-block"?"People Groups":o.legendType==="doxa-regions"?"WAGF Regions":"Languages"),H=Q(()=>o.columnLabel!==null?o.columnLabel:o.legendType==="religion"?"UUPG Religions":o.legendType==="prayer"?"Prayer Status":o.legendType==="engagement"?"Engagement Status":o.legendType==="adoption"?"Adoption Status":M.value?"Status":""),N=ue(0),F=ue(0),X=ue(0),ie=ue(!1),pe=Q(()=>n.legendState),z=Q(()=>n.legendHeight),de=Q(()=>n.caretRotation),ge=Q(()=>n.showPullTab),Pe=Q(()=>n.legendMode),Be=Q(()=>n.selectedPeopleGroup),st=Q(()=>{var C;return Pe.value==="detail"&&Be.value?((C=Be.value.properties)==null?void 0:C.name)||t("legend.header.peopleGroupFallback"):pe.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||u.value});function ze(C){n.handleLegendItemClick(),p(C)}function Ve(){n.toggleLegend()}function it(){n.selectPeopleGroup(null),n.openLegend()}const Ue=Q(()=>{var x;if(!Be.value)return null;const C=Be.value.properties||{};return C.imageUrl||((x=C._raw)==null?void 0:x.ImageURL)||null});function Ze(C){var x;if(pe.value!=="collapsed"){N.value=C.touches[0].clientY;const B=C.currentTarget.parentElement;F.value=B.offsetHeight,X.value=((x=B.parentElement)==null?void 0:x.offsetHeight)||window.innerHeight,ie.value=!0}}function At(C){if(!ie.value)return;C.preventDefault();const x=C.touches[0].clientY,B=N.value-x,K=F.value+B,W=X.value||window.innerHeight,oe=W*.3,te=W-56,h=Math.max(oe,Math.min(te,K));n.setLegendHeight(`${h}px`)}function S(C){var y;ie.value=!1;const x=(y=C==null?void 0:C.currentTarget)==null?void 0:y.parentElement,B=x?x.offsetHeight:F.value,K=F.value,W=X.value||window.innerHeight,oe=8,te=B>K+oe,h=B=W*.55,D=K>=W*.2&&!b;h&&b?n.openLegend():h&&D?n.collapseLegend():te?n.fullyOpenLegend():n.openLegend()}return eo(()=>{}),$o(()=>{}),(C,x)=>{var B;return V(),Z("div",Av,[Pe.value==="detail"&&Be.value&&pe.value==="open"&&Ue.value?(V(),Z("div",{key:0,class:"floating-mini-image",onClick:x[0]||(x[0]=K=>me(n).fullyOpenLegend())},[T("img",{src:Ue.value,alt:(B=Be.value.properties)==null?void 0:B.name,class:"mini-image"},null,8,Lv)])):he("",!0),T("div",{class:$e(["legend-mobile-sheet",[pe.value,{"sheet-dark":e.isDark}]]),style:ft({height:z.value})},[T("div",{class:"sheet-drag-strip",onClick:Ve,onTouchstart:x[1]||(x[1]=K=>ge.value?Ze(K):null),onTouchmove:x[2]||(x[2]=K=>ge.value?At(K):null),onTouchend:x[3]||(x[3]=K=>ge.value?S(K):null)},[ge.value?(V(),Z("div",$v)):he("",!0)],32),Pe.value==="detail"&&pe.value!=="collapsed"?(V(),Z("button",{key:0,class:"detail-collapse-btn-mobile",onClick:It(Ve,["stop"]),"aria-label":me(t)("aria.toggleLegend")},null,8,Cv)):he("",!0),Pe.value==="detail"&&pe.value!=="collapsed"?(V(),Z("button",{key:1,class:"detail-close-btn",onClick:It(it,["stop"]),"aria-label":me(t)("aria.backToLegend")},[...x[4]||(x[4]=[T("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[T("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Tv)):he("",!0),pe.value==="collapsed"&&Pe.value==="detail"&&Be.value?(V(),Z("div",{key:2,class:"collapsed-detail-footer",onClick:Ve},[T("button",{class:"mobile-collapse-caret",style:ft({transform:`rotate(${de.value}deg)`}),"aria-label":me(t)("aria.toggleLegend"),tabindex:"-1"},[...x[5]||(x[5]=[T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Ev),T("span",Pv,le(st.value),1)])):he("",!0),T("div",Mv,[Pe.value==="detail"&&Be.value?(V(),Z(Se,{key:0},[pe.value!=="collapsed"?(V(),ut(Gu,{key:0,peopleGroup:Be.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):he("",!0)],64)):e.legendType!=="default"?(V(),ut(fu,{key:1,nodes:ee.value,tabs:q.value,title:st.value||se.value,hideTabs:e.nodes?!e.tabs:M.value,columnLabel:H.value,columns:e.columns||["count","pop"],onSelect:me(a)},{"title-caret":Ut(()=>[T("button",{class:"mobile-collapse-caret",style:ft({transform:`rotate(${de.value}deg)`}),onClick:It(Ve,["stop"]),"aria-label":me(t)("aria.toggleLegend")},[...x[6]||(x[6]=[T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Nv)]),_:1},8,["nodes","tabs","title","hideTabs","columnLabel","columns","onSelect"])):(V(),ut(m0,{key:2,title:st.value,items:me(i),columns:me(l),activeFilter:me(c),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:me(f),totalPopulation:me(_),fmtPop:me(L),fmtCount:me(g),onFilterClick:ze},{"title-caret":Ut(()=>[T("button",{class:"mobile-collapse-caret",style:ft({transform:`rotate(${de.value}deg)`}),onClick:It(Ve,["stop"]),"aria-label":me(t)("aria.toggleLegend")},[...x[7]||(x[7]=[T("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[T("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Iv)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],6)])}}},[["__scopeId","data-v-cd7a8f67"]]),Fv={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){return St(` +`,"legend-mobile-sheet");const o=e,n=Pe("uiStore");Pe("mapStore");const r=Pe("dataStore"),a=Pe("onSemanticTreeSelect",()=>{}),s=Yd(o,"legendType"),{items:i,columns:l,title:c,activeFilter:u,setFilter:d,totalCount:f,totalPopulation:_,fmtPop:w,fmtCount:b}=i0(s,l0),v=Pe("normalizedPeopleGroups",null),x=ee(()=>{var q,p;if((q=v==null?void 0:v.value)!=null&&q.length)return v.value;const X=[];for(const h in(r==null?void 0:r.sources)||{}){const I=r.sources[h];(p=I==null?void 0:I.features)!=null&&p.length&&X.push(...I.features)}return X}),k={get value(){return x.value}},{langTree:m}=Ru(k),{affinityTree:g}=B0(k),{regionsTree:y}=Z0(k),A=[{id:"family",label:"Lang Family",info:"A language family is a group of languages descended from a common ancestor."},{id:"language",label:"Language",info:"A language is a system of communication used by a people."},{id:"dialect",label:"Dialect",info:"A dialect/variety is a regional or social form of a language."}],M=[{id:"bloc",label:"Block",info:"Affinity Block (rop1) — broadest grouping. 16 blocks total."},{id:"cluster",label:"Cluster",info:"Cluster (imb_reg_of_people_2, ROP 2) — finer grouping inside a block. 194 total."},{id:"group",label:"PG",info:"People Group (imb_reg_of_people_25, ROP 2.5) — abstract identity. 1,736 PGs."},{id:"pgic",label:"PGIC",info:"PG in Country (imb_reg_of_people_3 + country_code) — one row per PG-country pair. 2,106 rows."}],N=[{id:"region",label:"Region",info:'WAGF macro-region (e.g. "Asia", "Africa"). Color-coded on the map.'},{id:"block",label:"Bloc",info:'WAGF bloc — organizational sub-grouping within each region (e.g. "South East Asia").'},{id:"country",label:"Country",info:"Individual countries, listed by unreached-population size within their bloc."}],P=ee(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function F(X){const q=[];for(const p of X){q.push({id:p.key,label:p.label,color:p.color,count:p.count??0,pop:p.population??0,filter:p.filterKey?["==",["get","_flat_filter"],p.filterKey]:null,children:[]});for(const h of p.children||[])q.push({id:h.key,label:h.label,color:h.color,count:h.count??0,pop:h.population??0,filter:h.filterKey?["==",["get","_flat_filter"],h.filterKey]:null,children:[]})}return q}const W=ee(()=>o.nodes?o.nodes:P.value?F(i.value):o.legendType==="affinity-block"?g.value:o.legendType==="doxa-regions"?y.value:m.value),Z=ee(()=>o.nodes?o.tabs:P.value?null:o.legendType==="affinity-block"?M:o.legendType==="doxa-regions"?N:A),ae=ee(()=>o.title?o.title:P.value?"Legend":o.legendType==="affinity-block"?"People Groups":o.legendType==="doxa-regions"?"WAGF Regions":"Languages"),G=ee(()=>o.columnLabel!==null?o.columnLabel:o.legendType==="religion"?"UUPG Religions":o.legendType==="prayer"?"Prayer Status":o.legendType==="engagement"?"Engagement Status":o.legendType==="adoption"?"Adoption Status":P.value?"Status":""),T=ue(null),R=ue(!1),U={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let ie=0;const _e=()=>Date.now()-ie<400,H=ee(()=>n.legendState),fe=ee(()=>n.legendHeight),he=ee(()=>n.caretRotation),Ue=ee(()=>n.showPullTab),Ve=ee(()=>n.legendMode),et=ee(()=>n.selectedPeopleGroup),je=ee(()=>{var X;return Ve.value==="detail"&&et.value?((X=et.value.properties)==null?void 0:X.name)||t("legend.header.peopleGroupFallback"):H.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||c.value});function st(X){n.handleLegendItemClick(),d(X)}function tt(){_e()||n.toggleLegend()}function bt(){_e()||(n.selectPeopleGroup(null),n.openLegend())}const We=ee(()=>{var q;if(!et.value)return null;const X=et.value.properties||{};return X.imageUrl||((q=X._raw)==null?void 0:q.ImageURL)||null});function Lt(X){var K;if(H.value==="collapsed")return;const q=X.touches[0],p=T.value;if(!q||!p)return;const I=q.clientY-p.getBoundingClientRect().top<=Hv?"grab":Ve.value==="detail"?"content":null;I&&(U.pending=I,U.active=!1,U.startY=q.clientY,U.startH=p.offsetHeight,U.lastH=U.startH,U.startState=H.value,U.containerH=((K=p.parentElement)==null?void 0:K.offsetHeight)||window.innerHeight,U.maxH=U.containerH-Hu,U.contentEl=p.querySelector(".legend-content"))}function S(X){if(!U.pending&&!U.active)return;const q=X.touches[0];if(!q)return;const p=U.startY-q.clientY;if(!U.active){if(p===0)return;let I=U.pending==="grab";if(U.pending==="content"){const K=!U.contentEl||U.contentEl.scrollTop<=0;I=p>0?U.startH0?n.fullyOpenLegend():U.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function $(X){X==="fullyOpen"?n.fullyOpenLegend():X==="collapsed"?n.collapseLegend():n.openLegend()}let B=null,Y=null,Q=null;return no(()=>{const X=T.value;if(!X||typeof ResizeObserver>"u")return;const q=X.getRootNode();Y=q instanceof ShadowRoot?q.host:q.documentElement||null,Y&&(Q=X,B=new ResizeObserver(()=>{const p=X.offsetHeight;p<=0||(Y.style.setProperty(zu,`${p}px`),Y.__legendSheetVarOwner=X)}),B.observe(X))}),Eo(()=>{B&&(B.disconnect(),B=null),Y&&Y.__legendSheetVarOwner===Q&&(Y.style.removeProperty(zu),Y.__legendSheetVarOwner=null),Y=null,Q=null}),(X,q)=>{var p;return z(),oe("div",Nv,[Ve.value==="detail"&&et.value&&H.value==="open"&&We.value?(z(),oe("div",{key:0,class:"floating-mini-image",onClick:q[0]||(q[0]=h=>ve(n).fullyOpenLegend())},[L("img",{src:We.value,alt:(p=et.value.properties)==null?void 0:p.name,class:"mini-image"},null,8,Iv)])):be("",!0),L("div",{ref_key:"sheetRef",ref:T,class:Ce(["legend-mobile-sheet",[H.value,{"sheet-dark":e.isDark,dragging:R.value}]]),style:nt({height:fe.value,"--legend-sheet-top-reserve":Hu+"px"}),onTouchstart:Lt,onTouchmove:S,onTouchend:E,onTouchcancel:E},[L("div",{class:"sheet-drag-strip",onClick:tt},[Ue.value?(z(),oe("div",Rv)):be("",!0)]),Ve.value==="detail"&&H.value!=="collapsed"?(z(),oe("button",{key:0,class:"detail-collapse-btn-mobile",onClick:Et(tt,["stop"]),"aria-label":ve(t)("aria.toggleLegend")},null,8,Fv)):be("",!0),Ve.value==="detail"&&H.value!=="collapsed"?(z(),oe("button",{key:1,class:"detail-close-btn",onClick:Et(bt,["stop"]),"aria-label":ve(t)("aria.backToLegend")},[...q[1]||(q[1]=[L("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[L("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Ov)):be("",!0),H.value==="collapsed"&&Ve.value==="detail"&&et.value?(z(),oe("div",{key:2,class:"collapsed-detail-footer",onClick:tt},[L("button",{class:"mobile-collapse-caret",style:nt({transform:`rotate(${he.value}deg)`}),"aria-label":ve(t)("aria.toggleLegend"),tabindex:"-1"},[...q[2]||(q[2]=[L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Dv),L("span",Bv,ce(je.value),1)])):be("",!0),L("div",jv,[Ve.value==="detail"&&et.value?(z(),oe(Te,{key:0},[H.value!=="collapsed"?(z(),ut(Ku,{key:0,peopleGroup:et.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):be("",!0)],64)):e.legendType!=="default"?(z(),ut(mu,{key:1,nodes:W.value,tabs:Z.value,title:je.value||ae.value,hideTabs:e.nodes?!e.tabs:P.value,columnLabel:G.value,columns:e.columns||["count","pop"],onSelect:ve(a)},{"title-caret":Vt(()=>[L("button",{class:"mobile-collapse-caret",style:nt({transform:`rotate(${he.value}deg)`}),onClick:Et(tt,["stop"]),"aria-label":ve(t)("aria.toggleLegend")},[...q[3]||(q[3]=[L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Gv)]),_:1},8,["nodes","tabs","title","hideTabs","columnLabel","columns","onSelect"])):(z(),ut(S0,{key:2,title:je.value,items:ve(i),columns:ve(l),activeFilter:ve(u),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:ve(f),totalPopulation:ve(_),fmtPop:ve(w),fmtCount:ve(b),onFilterClick:st},{"title-caret":Vt(()=>[L("button",{class:"mobile-collapse-caret",style:nt({transform:`rotate(${he.value}deg)`}),onClick:Et(tt,["stop"]),"aria-label":ve(t)("aria.toggleLegend")},[...q[4]||(q[4]=[L("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[L("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Uv)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["__scopeId","data-v-416b6e2f"]]),Wv={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){return St(` .map-toolbar { position: absolute; top: 6px; @@ -893,7 +967,7 @@ to the top of the map area with the same 6px inset used on desktop. */ .map-toolbar.map-toolbar--no-geocoder { top: 6px; gap: 6px; } } -`,"map-toolbar"),(t,o)=>(V(),Z("div",{class:$e(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[Mn(t.$slots,"default")],2))}},Ov=["title","disabled"],Vo={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e){return St(` +`,"map-toolbar"),(t,o)=>(z(),oe("div",{class:Ce(["map-toolbar",{"map-toolbar--no-geocoder":!e.hasGeocoder}])},[Dn(t.$slots,"default")],2))}},Yv=["title","disabled"],Zo={__name:"MapControlButton",props:{isDark:{type:Boolean,default:!1},title:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e){return St(` .mcb{ width:var(--map-btn-size,40px);height:var(--map-btn-size,40px); background:#fff; @@ -924,7 +998,7 @@ .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;}} -`,"map-control-button"),(t,o)=>(V(),Z("button",{class:$e(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[Mn(t.$slots,"default")],10,Ov))}},Dv={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=_t(),o=e;function n(){var r;(r=o.map)==null||r.zoomIn()}return(r,a)=>(V(),ut(Vo,{"is-dark":e.isDark,title:me(t)("buttons.zoomIn"),onClick:n},{default:Ut(()=>[...a[0]||(a[0]=[T("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","title"]))}},Bv={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=_t(),o=e;function n(){var r;(r=o.map)==null||r.zoomOut()}return(r,a)=>(V(),ut(Vo,{"is-dark":e.isDark,title:me(t)("buttons.zoomOut"),onClick:n},{default:Ut(()=>[...a[0]||(a[0]=[T("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","title"]))}},jv={__name:"LocationButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},center:{type:Array,default:()=>[20,10]},zoom:{type:Number,default:1.8},userZoom:{type:Number,default:10}},setup(e){const{t}=_t(),o=e;function n(){var a;(a=o.map)==null||a.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function r(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(a=>{const{longitude:s,latitude:i}=a.coords;Number.isFinite(s)&&Number.isFinite(i)?o.map.flyTo({center:[s,i],zoom:o.userZoom,duration:1500}):n()},()=>n(),{enableHighAccuracy:!1,timeout:5e3,maximumAge:6e4})}}return(a,s)=>(V(),ut(Vo,{"is-dark":e.isDark,title:me(t)("buttons.resetView"),onClick:r},{default:Ut(()=>[...s[0]||(s[0]=[T("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[T("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"})],-1)])]),_:1},8,["is-dark","title"]))}},Gv={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Uv={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Kv={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=_t(),n=e,r=t,a=ue(!1);let s=null,i=null,l=null,u=null,c=null,p=null,f=null,_=null,L=null,g=null,w=null,A=0,v=0,m=null,d=null;function k(){if(typeof document>"u")return!1;const N=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(N)||N.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function $(){var N,F,X;return((X=(F=(N=n.mapContainer)==null?void 0:N.getRootNode)==null?void 0:F.call(N))==null?void 0:X.host)??null}function O(){var F,X;const N=(X=(F=n.mapContainer)==null?void 0:F.getRootNode)==null?void 0:X.call(F);return document.fullscreenElement||document.webkitFullscreenElement||(N&&N instanceof ShadowRoot?N.fullscreenElement:null)||null}function I(N){const F=N.requestFullscreen||N.webkitRequestFullscreen;if(!F)return Promise.reject(new Error("Fullscreen API unavailable"));const X=F.call(N);return X&&typeof X.then=="function"?X:Promise.resolve()}function M(){const N=document.exitFullscreen||document.webkitExitFullscreen;if(!N)return Promise.reject(new Error("Fullscreen API unavailable"));const F=N.call(document);return F&&typeof F.then=="function"?F:Promise.resolve()}function U(){const N=$();if(!N)return!1;if(l=N,i=N.style.cssText,N.style.position="fixed",N.style.top="0",N.style.left="0",N.style.right="0",N.style.bottom="0",N.style.width="100vw",N.style.height="100vh",N.style.height="100dvh",N.style.zIndex="2147483647",N.style.margin="0",N.style.borderRadius="0",N.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){A=window.scrollY||window.pageYOffset||0,v=window.scrollX||window.pageXOffset||0;const F=document.body,X=document.documentElement;u=F?F.style.overflow:null,c=X?X.style.overflow:null,p=F?F.style.position:null,f=F?F.style.top:null,_=F?F.style.left:null,L=F?F.style.width:null,g=F?F.style.touchAction:null,w=X?X.style.touchAction:null,X&&(X.style.overflow="hidden",X.style.touchAction="none"),F&&(F.style.overflow="hidden",F.style.position="fixed",F.style.top=`-${A}px`,F.style.left=`-${v}px`,F.style.width="100%",F.style.touchAction="none"),m=ie=>{if(!l)return;const pe=ie.target;pe&&(pe===l||l.contains&&l.contains(pe))||ie.cancelable&&ie.preventDefault()},d=ie=>{if(!l)return;const pe=ie.target;pe&&(pe===l||l.contains&&l.contains(pe))||ie.cancelable&&ie.preventDefault()},document.addEventListener("touchmove",m,{passive:!1,capture:!0}),document.addEventListener("wheel",d,{passive:!1,capture:!0})}return!0}function ee(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const N=document.body,F=document.documentElement;N&&(N.style.overflow=u??"",N.style.position=p??"",N.style.top=f??"",N.style.left=_??"",N.style.width=L??"",N.style.touchAction=g??""),F&&(F.style.overflow=c??"",F.style.touchAction=w??""),m&&(document.removeEventListener("touchmove",m,{capture:!0}),m=null),d&&(document.removeEventListener("wheel",d,{capture:!0}),d=null),typeof window<"u"&&(A||v)&&window.scrollTo(v,A)}u=null,c=null,p=null,f=null,_=null,L=null,g=null,w=null,A=0,v=0}}function q(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function se(){if(!k()){a.value?(ee(),a.value=!1,r("change",!1)):U()&&(a.value=!0,r("change",!0)),q();return}if(O())M().then(()=>{a.value=!1,r("change",!1)}).catch(()=>{});else{const F=$()??document.documentElement;I(F).then(()=>{a.value=!0,r("change",!0)}).catch(()=>{I(document.documentElement).then(()=>{a.value=!0,r("change",!0)}).catch(()=>{})})}}function H(){a.value=!!O(),r("change",a.value)}return eo(()=>{var F,X;document.addEventListener("fullscreenchange",H),document.addEventListener("webkitfullscreenchange",H);const N=(X=(F=n.mapContainer)==null?void 0:F.getRootNode)==null?void 0:X.call(F);N instanceof ShadowRoot&&(s=N,N.addEventListener("fullscreenchange",H),N.addEventListener("webkitfullscreenchange",H))}),$o(()=>{document.removeEventListener("fullscreenchange",H),document.removeEventListener("webkitfullscreenchange",H),s&&(s.removeEventListener("fullscreenchange",H),s.removeEventListener("webkitfullscreenchange",H),s=null),l&&ee()}),(N,F)=>(V(),ut(Vo,{"is-dark":e.isDark,active:a.value,title:me(o)("buttons.toggleFullscreen"),onClick:se},{default:Ut(()=>[a.value?(V(),Z("svg",Uv,[...F[1]||(F[1]=[T("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)])])):(V(),Z("svg",Gv,[...F[0]||(F[0]=[T("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"]))}},Hv={style:{"font-size":"16px","line-height":"1"}},zv={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=_t();return(o,n)=>me(Zb)?(V(),ut(Vo,{key:0,"is-dark":e.isDark,title:e.isDark?me(t)("buttons.switchToLightMode"):me(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=r=>o.$emit("toggle"))},{default:Ut(()=>[T("span",Hv,le(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):he("",!0)}},Vv=Wo&&Wo.tagName.toUpperCase()==="SCRIPT"&&Wo.src||new URL("my-upg-100-list.js",document.baseURI).href,Bs=e=>String(e||"").trim().replace(/\/+$/,"");function Wv(){try{const t=String(Vv||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function Yv(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return Bs(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return Bs(o)}return Bs(Wv()||"")}function qv({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,r=typeof window<"u",a=e||(n==null?void 0:n.shareUrl);if(typeof a=="string"&&a.trim())return a.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return r?window.location.origin+s:s;const i=Yv(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return r?window.location.origin+window.location.pathname:""}const Jv={style:{position:"relative"}},Zv={class:"share-tabs"},Xv={key:0,class:"share-body"},Qv={class:"share-url-box"},e1={class:"share-url-text"},t1={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},o1={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"},n1={key:1,class:"share-body"},a1={class:"share-size-pills"},r1=["onClick"],s1={class:"share-code-box"},i1={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},l1={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"},Uu={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){St(` +`,"map-control-button"),(t,o)=>(z(),oe("button",{class:Ce(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[Dn(t.$slots,"default")],10,Yv))}},qv={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=wt(),o=e;function n(){var r;(r=o.map)==null||r.zoomIn()}return(r,a)=>(z(),ut(Zo,{"is-dark":e.isDark,title:ve(t)("buttons.zoomIn"),onClick:n},{default:Vt(()=>[...a[0]||(a[0]=[L("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","title"]))}},Jv={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=wt(),o=e;function n(){var r;(r=o.map)==null||r.zoomOut()}return(r,a)=>(z(),ut(Zo,{"is-dark":e.isDark,title:ve(t)("buttons.zoomOut"),onClick:n},{default:Vt(()=>[...a[0]||(a[0]=[L("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","title"]))}},Zv={__name:"LocationButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1},center:{type:Array,default:()=>[20,10]},zoom:{type:Number,default:1.8},userZoom:{type:Number,default:10}},setup(e){const{t}=wt(),o=e;function n(){var a;(a=o.map)==null||a.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function r(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(a=>{const{longitude:s,latitude:i}=a.coords;Number.isFinite(s)&&Number.isFinite(i)?o.map.flyTo({center:[s,i],zoom:o.userZoom,duration:1500}):n()},()=>n(),{enableHighAccuracy:!1,timeout:5e3,maximumAge:6e4})}}return(a,s)=>(z(),ut(Zo,{"is-dark":e.isDark,title:ve(t)("buttons.resetView"),onClick:r},{default:Vt(()=>[...s[0]||(s[0]=[L("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[L("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z"})],-1)])]),_:1},8,["is-dark","title"]))}},Xv={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},Qv={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},e1={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=wt(),n=e,r=t,a=ue(!1);let s=null,i=null,l=null,c=null,u=null,d=null,f=null,_=null,w=null,b=null,v=null,x=0,k=0,m=null,g=null;function y(){if(typeof document>"u")return!1;const T=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(T)||T.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function A(){var T,R,U;return((U=(R=(T=n.mapContainer)==null?void 0:T.getRootNode)==null?void 0:R.call(T))==null?void 0:U.host)??null}function M(){var R,U;const T=(U=(R=n.mapContainer)==null?void 0:R.getRootNode)==null?void 0:U.call(R);return document.fullscreenElement||document.webkitFullscreenElement||(T&&T instanceof ShadowRoot?T.fullscreenElement:null)||null}function N(T){const R=T.requestFullscreen||T.webkitRequestFullscreen;if(!R)return Promise.reject(new Error("Fullscreen API unavailable"));const U=R.call(T);return U&&typeof U.then=="function"?U:Promise.resolve()}function P(){const T=document.exitFullscreen||document.webkitExitFullscreen;if(!T)return Promise.reject(new Error("Fullscreen API unavailable"));const R=T.call(document);return R&&typeof R.then=="function"?R:Promise.resolve()}function F(){const T=A();if(!T)return!1;if(l=T,i=T.style.cssText,T.style.position="fixed",T.style.top="0",T.style.left="0",T.style.right="0",T.style.bottom="0",T.style.width="100vw",T.style.height="100vh",T.style.height="100dvh",T.style.zIndex="2147483647",T.style.margin="0",T.style.borderRadius="0",T.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){x=window.scrollY||window.pageYOffset||0,k=window.scrollX||window.pageXOffset||0;const R=document.body,U=document.documentElement;c=R?R.style.overflow:null,u=U?U.style.overflow:null,d=R?R.style.position:null,f=R?R.style.top:null,_=R?R.style.left:null,w=R?R.style.width:null,b=R?R.style.touchAction:null,v=U?U.style.touchAction:null,U&&(U.style.overflow="hidden",U.style.touchAction="none"),R&&(R.style.overflow="hidden",R.style.position="fixed",R.style.top=`-${x}px`,R.style.left=`-${k}px`,R.style.width="100%",R.style.touchAction="none"),m=ie=>{if(!l)return;const _e=ie.target;_e&&(_e===l||l.contains&&l.contains(_e))||ie.cancelable&&ie.preventDefault()},g=ie=>{if(!l)return;const _e=ie.target;_e&&(_e===l||l.contains&&l.contains(_e))||ie.cancelable&&ie.preventDefault()},document.addEventListener("touchmove",m,{passive:!1,capture:!0}),document.addEventListener("wheel",g,{passive:!1,capture:!0})}return!0}function W(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const T=document.body,R=document.documentElement;T&&(T.style.overflow=c??"",T.style.position=d??"",T.style.top=f??"",T.style.left=_??"",T.style.width=w??"",T.style.touchAction=b??""),R&&(R.style.overflow=u??"",R.style.touchAction=v??""),m&&(document.removeEventListener("touchmove",m,{capture:!0}),m=null),g&&(document.removeEventListener("wheel",g,{capture:!0}),g=null),typeof window<"u"&&(x||k)&&window.scrollTo(k,x)}c=null,u=null,d=null,f=null,_=null,w=null,b=null,v=null,x=0,k=0}}function Z(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function ae(){if(!y()){a.value?(W(),a.value=!1,r("change",!1)):F()&&(a.value=!0,r("change",!0)),Z();return}if(M())P().then(()=>{a.value=!1,r("change",!1)}).catch(()=>{});else{const R=A()??document.documentElement;N(R).then(()=>{a.value=!0,r("change",!0)}).catch(()=>{N(document.documentElement).then(()=>{a.value=!0,r("change",!0)}).catch(()=>{})})}}function G(){a.value=!!M(),r("change",a.value)}return no(()=>{var R,U;document.addEventListener("fullscreenchange",G),document.addEventListener("webkitfullscreenchange",G);const T=(U=(R=n.mapContainer)==null?void 0:R.getRootNode)==null?void 0:U.call(R);T instanceof ShadowRoot&&(s=T,T.addEventListener("fullscreenchange",G),T.addEventListener("webkitfullscreenchange",G))}),Eo(()=>{document.removeEventListener("fullscreenchange",G),document.removeEventListener("webkitfullscreenchange",G),s&&(s.removeEventListener("fullscreenchange",G),s.removeEventListener("webkitfullscreenchange",G),s=null),l&&W()}),(T,R)=>(z(),ut(Zo,{"is-dark":e.isDark,active:a.value,title:ve(o)("buttons.toggleFullscreen"),onClick:ae},{default:Vt(()=>[a.value?(z(),oe("svg",Qv,[...R[1]||(R[1]=[L("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)])])):(z(),oe("svg",Xv,[...R[0]||(R[0]=[L("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"]))}},t1={style:{"font-size":"16px","line-height":"1"}},o1={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=wt();return(o,n)=>ve(ey)?(z(),ut(Zo,{key:0,"is-dark":e.isDark,title:e.isDark?ve(t)("buttons.switchToLightMode"):ve(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=r=>o.$emit("toggle"))},{default:Vt(()=>[L("span",t1,ce(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):be("",!0)}},n1=Xo&&Xo.tagName.toUpperCase()==="SCRIPT"&&Xo.src||new URL("my-upg-100-list.js",document.baseURI).href,js=e=>String(e||"").trim().replace(/\/+$/,"");function a1(){try{const t=String(n1||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function r1(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return js(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return js(o)}return js(a1()||"")}function s1({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,r=typeof window<"u",a=e||(n==null?void 0:n.shareUrl);if(typeof a=="string"&&a.trim())return a.trim();const s=String(t||(n==null?void 0:n.shareEmbedPath)||"").trim();if(s){if(/^https?:\/\//i.test(s))return s;if(s.startsWith("/"))return r?window.location.origin+s:s;const i=r1(n),l=s.replace(/^\.\//,"");if(i)return i+"/"+l;if(typeof document<"u")try{return new URL(l,document.baseURI).href}catch{}return l}return r?window.location.origin+window.location.pathname:""}const i1={style:{position:"relative"}},l1={class:"share-tabs"},c1={key:0,class:"share-body"},u1={class:"share-url-box"},d1={class:"share-url-text"},p1={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},g1={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"},f1={key:1,class:"share-body"},h1={class:"share-size-pills"},m1=["onClick"],b1={class:"share-code-box"},y1={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},_1={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"},Vu={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){St(` /* ---- popover shell ---- */ /* ---- popover shell (imitates SemanticTreeLegend .stl-inner) ---- */ .share-pop{ @@ -1258,10 +1332,10 @@ z-index:9999; } } -`,"share-button");const{t}=_t(),o=e,n=ue(!1),r=ue(null),a=ue(null),s=ue("link"),i=ue(!1),l=ue(!1),u=ue("medium"),c={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},p=Te("profileConfig",null),f=Q(()=>qv({embedPath:o.embedPath,profileConfig:me(p)||null})),_=Q(()=>{const k=c[u.value].height;return''});function L(){n.value=!n.value,n.value&&(s.value="link",i.value=!1,l.value=!1)}function g(){n.value=!1}async function w(k){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(k),!0}catch{}try{const $=document.createElement("textarea");$.value=k,$.setAttribute("readonly",""),$.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild($),$.select();const O=document.execCommand("copy");return document.body.removeChild($),O}catch{return!1}}async function A(){await w(f.value)&&(i.value=!0,setTimeout(()=>{i.value=!1},2e3))}async function v(){await w(_.value)&&(l.value=!0,setTimeout(()=>{l.value=!1},2e3))}function m(k){if(!n.value)return;const $=k.composedPath?k.composedPath():[k.target];r.value&&$.some(I=>I===r.value)||a.value&&$.some(I=>I===a.value||I===a.value.$el)||!$.some(I=>{var M,U;return(U=(M=I==null?void 0:I.classList)==null?void 0:M.contains)==null?void 0:U.call(M,"mapboxgl-canvas")})||g()}function d(k){k.key==="Escape"&&n.value&&g()}return eo(()=>{document.addEventListener("click",m,!0),document.addEventListener("keydown",d)}),$o(()=>{document.removeEventListener("click",m,!0),document.removeEventListener("keydown",d)}),(k,$)=>(V(),Z("div",Jv,[De(Vo,{ref_key:"btnEl",ref:a,"is-dark":e.isDark,active:n.value,title:me(t)("buttons.shareEmbed"),onClick:L},{default:Ut(()=>[...$[2]||($[2]=[T("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"},[T("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),T("polyline",{points:"16 6 12 2 8 6"}),T("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),n.value?(V(),Z("div",{key:0,ref_key:"popoverEl",ref:r,class:$e(["share-pop",{light:!e.isDark}])},[T("div",{class:"share-header"},[$[4]||($[4]=T("span",{class:"share-title"},"Share",-1)),T("button",{class:"share-close",onClick:g,"aria-label":"Close"},[...$[3]||($[3]=[T("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[T("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),T("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),T("div",Zv,[T("button",{class:$e(["share-tab",{active:s.value==="link"}]),onClick:$[0]||($[0]=O=>s.value="link")},"Share Link",2),T("button",{class:$e(["share-tab",{active:s.value==="embed"}]),onClick:$[1]||($[1]=O=>s.value="embed")},"Add to Your Website",2)]),s.value==="link"?(V(),Z("div",Xv,[T("div",Qv,[T("div",e1,le(f.value),1)]),T("button",{class:$e(["share-primary-btn",{copied:i.value}]),onClick:A},[i.value?(V(),Z("svg",o1,[...$[6]||($[6]=[T("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(V(),Z("svg",t1,[...$[5]||($[5]=[T("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),T("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),dt(" "+le(i.value?"Copied!":"Copy Link"),1)],2)])):he("",!0),s.value==="embed"?(V(),Z("div",n1,[$[9]||($[9]=T("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),T("div",a1,[(V(),Z(Se,null,Lt(c,(O,I)=>T("button",{key:I,class:$e(["share-size-pill",{active:u.value===I}]),onClick:M=>u.value=I},le(O.label),11,r1)),64))]),T("div",s1,le(_.value),1),T("button",{class:$e(["share-secondary-btn",{copied:l.value}]),onClick:v},[l.value?(V(),Z("svg",l1,[...$[8]||($[8]=[T("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(V(),Z("svg",i1,[...$[7]||($[7]=[T("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),T("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),dt(" "+le(l.value?"Copied!":"Copy Code"),1)],2)])):he("",!0)],2)):he("",!0)]))}},c1=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],u1={"people-groups":["blocs","clusters","peopleGroups","people","places","families","languages","dialects","regions","religions"],language:["families","languages","dialects","people","blocs","clusters","peopleGroups","places","regions","religions"],regions:["regions","wagfBlocks","places","blocs","clusters","peopleGroups","people","families","languages","dialects","religions"],religion:["religions","people","blocs","clusters","peopleGroups","places","families","languages","dialects","regions"]};function d1(e){return u1[e]||c1}const p1={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},ir=["peopleGroups","people","places","languages","religions"],g1={regions:[...ir,"regions","wagfBlocks"],"people-groups":[...ir,"blocs","clusters"],language:[...ir,"dialects","families"],religion:[...ir]},f1=100,h1=50,m1=25,b1=10,js=5,Ku=20,y1=[[/ sign language$/i,"Sign Language"]];function _1(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function v1(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function k1(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(vt[n])return vt[n];if(t.length>=3){const r=[t[1],t[0]].join(" ");if(vt[r])return vt[r]}}if(vt[e])return vt[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&vt[o])return vt[o];for(const[n,r]of y1)if(n.test(e))return r;return null}function Hu(e,t){return{id:`doxa-section-header-${Gs(e)}`,place_name:e,text:e,center:[0,0],place_type:["doxa-section-header"],geometry:{type:"Point",coordinates:[0,0]},properties:{headerLabel:e,isHeader:!0,isAllDataSection:!!t},feature:null}}function Gs(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function ve(e){return e==null?"":typeof e=="string"?e.toLowerCase():typeof e=="object"&&"label"in e?String(e.label||"").toLowerCase():typeof e=="object"&&"value"in e?String(e.value||"").toLowerCase():String(e).toLowerCase()}function lr(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function w1(e){var o,n,r,a,s;if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!i)continue;const l=Number(i.latitude),u=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(u))continue;const c=ve(i.name)+" "+ve(i.displayName)+" "+ve(i.alternateName),p=ve(i.countryName)+" "+ve(i.country)+" "+ve(i.countryIso)+" "+ve(i.countryIsoLabel),f=ve(i.religionName)+" "+ve(i.religion)+" "+ve(i.religionLabel)+" "+ve(i.religionCode),_=ve(i.language)+" "+ve(i.languageFamily)+" "+ve(i.languageCode),L=ve(i.doxaRegion)+" "+ve(i.wagfRegion)+" "+ve(i.wagfBlock),g=ve(i.affinityBlock)+" "+ve(i.affinityBlockLabel)+" "+ve((o=i._raw)==null?void 0:o.rop1),w=ve(i.cluster)+" "+ve(i.clusterLabel)+" "+ve((n=i._raw)==null?void 0:n.imb_reg_of_people_2),A=ve(i.peopleGroup)+" "+ve(i.peopleGroupLabel)+" "+ve((r=i._raw)==null?void 0:r.imb_reg_of_people_25),v=((a=i._raw)==null?void 0:a.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),m=v&&(typeof v=="object"?v.label||v.value:v)||lr(i.language)||lr(i.primaryLanguage)||"",d=_1(m),k=v1(m);t.push({feature:i,nameHay:c,countryHay:p,religionHay:f,languageHay:_,regionHay:L,haystack:c+" "+p+" "+f+" "+_+" "+L+" "+g+" "+w+" "+A,blocHay:g,clusterHay:w,pgHay:A,lat:l,lng:u,familyDerived:k1(m)||null,languageLabel:m,baseLang:d,dialectLabel:k})}return t}function x1(e){const t=(o,n,r)=>{const a=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=a.get(i);if(l)l.count+=1,l.lngSum+=s.lng,l.latSum+=s.lat,l.memberIds.push(String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")),l.minLng=Math.min(l.minLng,s.lng),l.maxLng=Math.max(l.maxLng,s.lng),l.minLat=Math.min(l.minLat,s.lat),l.maxLat=Math.max(l.maxLat,s.lat),r&&r(l,s,!1);else{const u={key:i,label:lr(n(s))||i,count:1,lngSum:s.lng,latSum:s.lat,minLng:s.lng,maxLng:s.lng,minLat:s.lat,maxLat:s.lat,memberIds:[String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")]};r&&r(u,s,!0),a.set(i,u)}}for(const s of a.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(a.values())};return{countries:t(o=>ve(o.feature.countryName)||ve(o.feature.country)||ve(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>ve(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>ve(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${ve(o.baseLang)}__${ve(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,r)=>{r?(o.originalLabels=new Set([n.languageLabel]),o.familyDerived=n.familyDerived||"",o.baseLang=n.baseLang||"",o.dialectLabel=n.dialectLabel||""):(o.originalLabels.add(n.languageLabel),!o.familyDerived&&n.familyDerived&&(o.familyDerived=n.familyDerived))}),religions:t(o=>{var n,r,a;return Xn(o.feature.religion||((r=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:r.value)||((a=o.feature._raw)==null?void 0:a.religion)||"")},o=>{var n,r,a;return Zn[Xn(o.feature.religion||((r=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:r.value)||((a=o.feature._raw)==null?void 0:a.religion)||"")]||"Unknown"}),regions:t(o=>ve(o.feature.doxaRegion)||ve(o.feature.wagfRegion),o=>{var n,r;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((r=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:r.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>ve(o.feature.wagfBlock),o=>{var n,r;return o.feature.wagfBlockLabel||((r=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:r.label)||o.feature.wagfBlock||""}),blocs:t(o=>ve(o.feature.affinityBlockLabel)||ve(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",r=o.feature.cluster||"";return r?`${n}__${r}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>ve(o.feature.peopleGroup)||ve(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"",o.clusterLabel=n.feature.clusterLabel||"",o.peopleGroupCode=n.feature.peopleGroup||"")})}}function S1(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",r=t.religionName||t.religion||"",a=t.slug||t.uniqueId||Gs(o+"-"+n),s=[e.lng,e.lat],i=[n,r].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${a}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:a,...t},feature:t}}function so(e,t){let o,n;switch(e){case"country":o="doxa-country",n="doxa-country-";break;case"region":o="doxa-region",n="doxa-region-";break;case"language-family":o="doxa-language-family",n="doxa-language-family-";break;case"language":o="doxa-language",n="doxa-language-";break;case"dialect":o="doxa-dialect",n="doxa-dialect-";break;case"religion":o="doxa-religion",n="doxa-religion-";break;case"affinity-bloc":o="doxa-affinity-bloc",n="doxa-affinity-bloc-";break;case"cluster":o="doxa-cluster",n="doxa-cluster-";break;case"people-group":o="doxa-people-group",n="doxa-people-group-";break;default:o="doxa",n="doxa-"}const r=lr(t.label)||t.key,a=Gs(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],u=l?`${r} (${l}) · ${t.count}`:`${r} (${t.count})`,c=t.originalLabels?Array.from(t.originalLabels):void 0,p=e==="dialect"?{familyDerived:t.familyDerived||"",baseLang:t.baseLang||"",dialectLabel:t.dialectLabel||""}:null;return{id:`${n}${a}`,place_name:u,text:r,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:a,doxaAggregate:e,count:t.count,label:r,memberIds:t.memberIds,bounds:[t.minLng,t.minLat,t.maxLng,t.maxLat],...c?{originalLabels:c}:{},...p||{},...e==="affinity-bloc"?{blocCode:t.blocCode||""}:{},...e==="cluster"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||""}:{},...e==="people-group"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||"",clusterLabel:t.clusterLabel||"",peopleGroupCode:t.peopleGroupCode||""}:{}},feature:null}}function A1(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:r}=e,{t:a}=_t(),s=Q(()=>{var p,f;if(!t||!t.sources)return[];if(o&&((p=t.sources[o])!=null&&p.features))return t.sources[o].features;for(const _ of Object.keys(t.sources)){const L=t.sources[_];if((f=L==null?void 0:L.features)!=null&&f.length)return L.features}return[]}),i=Q(()=>w1(s.value)),l=Q(()=>x1(i.value));function u(p){const f=String(p||"").trim().toLowerCase(),_={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return _;const L=f.split(/[\s,;]+/).filter(Boolean);if(!L.length)return _;const g=i.value;if(!g.length)return _;const w=l.value,A=[];for(const F of g){let X=!0;for(const pe of L)if(!F.haystack.includes(pe)){X=!1;break}if(!X)continue;let ie=0;L.some(pe=>F.nameHay.includes(pe))&&(ie+=f1),L.some(pe=>F.countryHay.includes(pe))&&(ie+=h1),L.some(pe=>F.religionHay.includes(pe))&&(ie+=m1),L.some(pe=>F.languageHay.includes(pe))&&(ie+=b1),A.push({entry:F,score:ie})}A.sort((F,X)=>X.score-F.score);const v=A.slice(0,js).map(F=>S1(F.entry)),m=F=>F.filter(X=>L.every(ie=>X.key.includes(ie)||ve(X.label).includes(ie))).sort((X,ie)=>ie.count-X.count).slice(0,js),d=m(w.countries).map(F=>so("country",F)),k=m(w.regions).map(F=>so("region",F)),$=m(w.wagfBlocks).map(F=>so("region",F)),O=m(w.families).map(F=>so("language-family",F)),I=m(w.languages).map(F=>so("language",F)),M=m(w.dialects).map(F=>so("dialect",F)),U=m(w.religions).map(F=>so("religion",F)),ee=m(w.blocs).map(F=>so("affinity-bloc",F));let q=m(w.clusters).map(F=>so("cluster",F)),se=m(w.peopleGroups).map(F=>so("people-group",F));const H=new Set(ee.map(F=>ve(F.text)));q=q.filter(F=>!H.has(ve(F.text)));const N=new Set(q.map(F=>ve(F.text)));return se=se.filter(F=>!H.has(ve(F.text))&&!N.has(ve(F.text))),{people:v,places:d,regions:k,wagfBlocks:$,families:O,languages:I,dialects:M,religions:U,blocs:ee,clusters:q,peopleGroups:se}}function c(p){const f=typeof n=="function"?n():null,_=typeof r=="function"?r():null,L=u(p),g=d1(_),w=g1[_],A=w?Object.fromEntries(w.filter(O=>L[O]).map(O=>[O,L[O]])):L,v=g.flatMap(O=>A[O]||[]);if(!(f!=null&&f.key)||!v.length)return v.slice(0,Ku);const m=[];for(const O of L.people){const I=i.value.find(U=>U.feature===O.feature);let M=!1;I&&(f.kind==="family"?M=(I.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(M=I.languageLabel.toLowerCase()===f.key.toLowerCase())),M&&m.push(O)}const d=[],k=f.key;m.length&&(d.push(Hu(a("search.sections.within",{selection:k}),!1)),d.push(...m.slice(0,js)));const $=g.flatMap(O=>(A[O]||[]).slice(0,p1[O]??3)).map(O=>({...O,properties:{...O.properties,_allDataSection:!0}}));return d.push(Hu(a("search.sections.allData"),!0)),d.push(...$),d.slice(0,Ku+8)}return{search:c,searchGrouped:u,index:i,aggregates:l}}const zu="https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.min.js",L1={__name:"GeocoderComponent",props:{mapInstance:{type:Object,required:!1,default:null},accessToken:{type:String,required:!0},provider:{type:String,default:"mapbox"},isDark:{type:Boolean,default:!1},standalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},dataSourceId:{type:String,default:""},activeContext:{type:String,default:""}},emits:["result","people-group-result","aggregate-result","clear","error"],setup(e,{expose:t,emit:o}){function n(U){return U+U.replace(/mapboxgl/g,"maplibregl")}St(n('.mapboxgl-ctrl-geocoder--input,.mapboxgl-ctrl-geocoder input[type="text"],.mapboxgl-ctrl-geocoder input[type="search"]{font-size:16px !important;line-height:1.3;}'),"geocoder-ios-zoom-fix"),St(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),St(n(".mapboxgl-ctrl-geocoder{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}.mapboxgl-ctrl-geocoder--input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;}.mapboxgl-ctrl-geocoder--icon-search{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important;left:7px!important;}"),"geocoder-height-35"),St(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.mapboxgl-ctrl-top-left{top:10px!important;left:3px!important;right:3px!important;width:calc(100% - 6px)!important;max-width:none!important;}}.mapboxgl-ctrl-geocoder{border-radius:999px!important;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;transition:box-shadow .12s,border-color .12s;}.mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important;}.mapboxgl-ctrl-geocoder--input{border-radius:999px!important;font-size:13px!important;}.mapboxgl-ctrl-geocoder--input::placeholder{font-size:12px!important;}.mapboxgl-ctrl-geocoder--button{display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important;}.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button{display:block!important;}.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important;}.mapboxgl-ctrl-geocoder--suggestions,.mapboxgl-ctrl-geocoder .suggestions{z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important;}.geocoder-dark.mapboxgl-ctrl-geocoder,.dsm-dark .mapboxgl-ctrl-geocoder{background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important;}.geocoder-dark.mapboxgl-ctrl-geocoder:focus-within,.dsm-dark .mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input,.dsm-dark .mapboxgl-ctrl-geocoder--input{color:#F3F3F1!important;background:transparent!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input::placeholder,.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder{color:rgba(243,243,241,0.65)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--icon,.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon{fill:rgba(243,243,241,0.75)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--button,.dsm-dark .mapboxgl-ctrl-geocoder--button{background:transparent!important;}"),"geocoder-skin");const{t:r,locale:a}=_t(),s=e,i=Q(()=>s.placeholder||r("search.placeholder")),l=o,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function c(U){return String(U??"").replace(/[&<>"']/g,ee=>u[ee])}function p(U){return U==null?"":typeof U=="string"?U:typeof U=="object"?U.label||U.value||"":String(U)}const f={"people-group":"people","doxa-people-group":"peopleGroup","doxa-affinity-bloc":"bloc","doxa-cluster":"cluster","doxa-country":"country","doxa-region":"region","doxa-language-family":"family","doxa-language":"languageKind","doxa-dialect":"dialect","doxa-religion":"religionKind"};function _(U){const ee=f[U];if(!ee)return"";const q=r("search.kinds."+ee);return`${c(q)}`}function L(U){var se;if(!U)return"";const ee=U.place_type||[];if(ee.includes("doxa-section-header"))return`
${c(((se=U.properties)==null?void 0:se.headerLabel)||U.text||"")}
`;if(ee.includes("people-group")){const H=U.properties||{},N=p(H.name)||p(H.displayName)||p(U.text)||"",F=p(H.countryName)||p(H.country)||p(H.countryIso)||"",X=p(H.language)||p(H.primaryLanguage)||p(H.languageFamily)||"",ie=p(H.religionName)||p(H.religion)||"",pe=r("search.labels.place"),z=r("search.labels.language"),de=r("search.labels.religion"),ge=[];return F&&ge.push(`${c(pe)} ${c(F)}`),X&&ge.push(`${c(z)} ${c(X)}`),ie&&ge.push(`${c(de)} ${c(ie)}`),`
${_("people-group")}${c(N)}
`+(ge.length?`
${ge.join("")}
`:"")}const q=ee.find(H=>H.startsWith("doxa-"));if(q){const H=U.properties||{},N=c(p(H.label)||U.text||""),F=Number(H.count)||0,X=F?` ${F}`:"";return`
${_(q)}${N}${X}
`}return`
${c(U.place_name||U.text||"")}
`}const g=Te("dataStore",null),w=Te("mapStore",null),A=Te("uiStore",null);function v(){return w?w.selectedFamily?{kind:"family",key:w.selectedFamily}:w.selectedLanguage?{kind:"language",key:w.selectedLanguage}:null:null}const{search:m}=A1({dataStore:g,dataSourceId:s.dataSourceId||void 0,getActiveFilter:v,getActiveContext:()=>s.activeContext||null}),d=Ln(null),k=ue(null),$={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",maplibre:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.css"};function O(U,ee){const q=$[ee]||$.mapbox;if(U.querySelector(`link[href="${q}"]`))return;const se=document.createElement("link");se.rel="stylesheet",se.href=q,U.prepend(se)}async function I(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const U=document.querySelector(`script[src="${zu}"]`);if(U){if(window.MaplibreGeocoder)return;await new Promise(ee=>{U.addEventListener("load",ee,{once:!0}),U.addEventListener("error",ee,{once:!0})});return}await new Promise((ee,q)=>{const se=document.createElement("script");se.src=zu,se.async=!1,se.addEventListener("load",ee,{once:!0}),se.addEventListener("error",()=>q(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(se)})}function M(U,ee){return async q=>{const se={features:[]};if(!U||!(q!=null&&q.query))return se;try{const H=Array.isArray(q.language)?q.language[0]:q.language||ee()||"en",N=new URLSearchParams({access_token:U,autocomplete:"true",limit:String(q.limit||5)});H&&N.set("language",H);const F=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(q.query)}.json?${N.toString()}`,X=await fetch(F);if(!X.ok)return se;const ie=await X.json();return ie&&Array.isArray(ie.features)?ie:se}catch{return se}}}return eo(async()=>{var H,N,F,X,ie;const U=s.provider==="maplibre";if(U){if(await I(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u")return;const ee=s.mapInstance;if(!s.standalone&&!ee)return;const q=s.standalone?(N=(H=k.value)==null?void 0:H.getRootNode)==null?void 0:N.call(H):(ie=(X=(F=ee.getContainer)==null?void 0:F.call(ee))==null?void 0:X.getRootNode)==null?void 0:ie.call(X);q instanceof ShadowRoot&&O(q,s.provider);const se={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:i.value,language:a.value||"en",localGeocoder:m,limit:20,zoom:6,render:L};if(U){const pe=typeof maplibregl<"u"?maplibregl:void 0,z={forwardGeocode:M(s.accessToken,()=>a.value)};d.value=new MaplibreGeocoder(z,{...se,maplibregl:pe,showResultsWhileTyping:!0,reverseGeocode:!1})}else d.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...se});if(d.value.on("result",pe=>{var de,ge,Pe,Be,st,ze,Ve,it,Ue,Ze,At,S,C,x,B,K,W,oe,te,h,b,D,y,E,j,P,R,ne,ae,we;const z=pe==null?void 0:pe.result;z&&((de=z.place_type)!=null&&de.includes("doxa-section-header")||(w&&(w.selectedRegion=null,w.selectedResource=null,w.selectedAffinityBlock=null,w.selectedDialect=null),A&&((ge=A.setPrayerFilter)==null||ge.call(A,null),(Pe=A.setEngagementFilter)==null||Pe.call(A,null),(Be=A.setAdoptionFilter)==null||Be.call(A,null),(st=A.setReligionFilter)==null||st.call(A,null)),(ze=z.properties)!=null&&ze._allDataSection&&w&&(w.selectedFamily=null,w.selectedLanguage=null),l("result",pe),(Ve=z.place_type)!=null&&Ve.includes("people-group")&&z.feature?l("people-group-result",{type:"Feature",properties:z.properties||z.feature,geometry:z.geometry||{type:"Point",coordinates:z.center}}):((it=z.place_type)!=null&&it.includes("doxa-country")||(Ue=z.place_type)!=null&&Ue.includes("doxa-region")||(Ze=z.place_type)!=null&&Ze.includes("doxa-language-family")||(At=z.place_type)!=null&&At.includes("doxa-language")||(S=z.place_type)!=null&&S.includes("doxa-dialect")||(C=z.place_type)!=null&&C.includes("doxa-religion")||(x=z.place_type)!=null&&x.includes("doxa-affinity-bloc")||(B=z.place_type)!=null&&B.includes("doxa-cluster")||(K=z.place_type)!=null&&K.includes("doxa-people-group"))&&l("aggregate-result",{kind:z.place_type[0].replace(/^doxa-/,""),label:((W=z.properties)==null?void 0:W.label)||z.text,count:((oe=z.properties)==null?void 0:oe.count)||0,memberIds:((te=z.properties)==null?void 0:te.memberIds)||[],bounds:((h=z.properties)==null?void 0:h.bounds)||null,center:z.center,originalLabels:((b=z.properties)==null?void 0:b.originalLabels)||null,familyDerived:((D=z.properties)==null?void 0:D.familyDerived)||"",baseLang:((y=z.properties)==null?void 0:y.baseLang)||"",dialectLabel:((E=z.properties)==null?void 0:E.dialectLabel)||"",slug:((j=z.properties)==null?void 0:j.slug)||null,id:z.id||null,blocCode:((P=z.properties)==null?void 0:P.blocCode)||"",blocLabel:((R=z.properties)==null?void 0:R.blocLabel)||"",clusterCode:((ne=z.properties)==null?void 0:ne.clusterCode)||"",clusterLabel:((ae=z.properties)==null?void 0:ae.clusterLabel)||"",peopleGroupCode:((we=z.properties)==null?void 0:we.peopleGroupCode)||"",properties:z.properties||null})))}),d.value.on("clear",()=>l("clear")),d.value.on("error",pe=>l("error",pe)),s.standalone){if(k.value){const pe={on(){},off(){},fire(){},getContainer:()=>k.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const z=d.value.onAdd(s.mapInstance||pe);z&&k.value.appendChild(z)}catch(z){l("error",z)}}}else ee.addControl(d.value,"top-left")}),at(i,U=>{var se,H;const ee=d.value;if(!ee)return;const q=ee._inputEl||((H=(se=ee.container)==null?void 0:se.querySelector)==null?void 0:H.call(se,"input.mapboxgl-ctrl-geocoder--input"));q&&(q.placeholder=U,q.setAttribute("placeholder",U)),ee.options&&(ee.options.placeholder=U)}),at(a,U=>{const ee=d.value;ee!=null&&ee.options&&(ee.options.language=U||"en")}),$o(()=>{var U,ee;if(d.value){try{s.standalone?(ee=(U=d.value).onRemove)==null||ee.call(U):s.mapInstance&&s.mapInstance.removeControl(d.value)}catch{}d.value=null}}),t({geocoder:d}),(U,ee)=>e.standalone?(V(),Z("div",{key:0,ref_key:"standaloneContainer",ref:k,class:"dg-standalone-geocoder"},null,512)):Mn(U.$slots,"default",{},void 0,void 0,1)}},$1=["country_code","wagf_region","wagf_block","primary_language","religion"];function C1(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function T1(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of $1)if(o in t){const{value:n,label:r}=C1(t[o]);t[o]=n,r!=null&&(t[`${o}_label`]=r)}return t}function Vu(e){return Array.isArray(e)?e.map(T1):[]}function Wu(e){return Array.isArray(e)?e:e&&typeof e=="object"?e.posts||e.data||e.records||e.results||e.items||[]:[]}function fn(e){return e==null||typeof e!="object"?null:e.slug??null}function Yu(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function E1(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function ea(e,t){const o=new Set;if(e==null||typeof e!="object"||typeof e.type!="string")throw new Error(`selector-evaluator: malformed selector (expected an object with a string \`type\`), got: ${JSON.stringify(e)}`);const n=Array.isArray(t)?t:[];switch(e.type){case"country_code":{const r=e.value;for(const a of n)if(a&&a.country_code===r){const s=fn(a);s!=null&&o.add(s)}return o}case"country_codes":{const r=new Set(Array.isArray(e.values)?e.values:[]);for(const a of n)if(a&&r.has(a.country_code)){const s=fn(a);s!=null&&o.add(s)}return o}case"wagf_block":{const r=e.value;for(const a of n)if(a&&a.wagf_block===r){const s=fn(a);s!=null&&o.add(s)}return o}case"wagf_region":{const r=e.value;for(const a of n)if(a&&a.wagf_region===r){const s=fn(a);s!=null&&o.add(s)}return o}case"union":{const r=Array.isArray(e.selectors)?e.selectors:[];for(const a of r){const s=ea(a,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const r=new Set(Array.isArray(e.regions)?e.regions:[]);for(const a of n){if(!a)continue;if((Yu(a.slug)||Yu(a.name))&&r.has(a.wagf_region)){const i=fn(a);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const r=e.rop1;for(const a of n)if(a&&E1(a)===r){const s=fn(a);s!=null&&o.add(s)}return o}default:throw new Error(`selector-evaluator: unknown selector type "${e.type}" (supported: country_code, country_codes, wagf_block, wagf_region, union, deaf_predicate, affinity_bloc)`)}}const P1=Object.freeze(Object.defineProperty({__proto__:null,default:ea,evaluate:ea},Symbol.toStringTag,{value:"Module"}));function M1(e,t){return`hsl(${Math.round(e*360/(t||1))}, 72%, 56%)`}function cr(e){if(typeof e.count=="number")return e.count;if(typeof e.expected_count=="number")return e.expected_count}function qu(e){const t=parseInt(e&&e.population,10);return Number.isFinite(t)?t:0}function N1(e,t){if(!Array.isArray(t)||t.length===0)return;const o=e&&e.selector;if(o==null)return;if(o.type==="pg_slugs"){const a=new Set(Array.isArray(o.values)?o.values:[]);let s=0;for(const i of t)i&&a.has(i.slug)&&(s+=qu(i));return s}const n=ea(o,t);let r=0;for(const a of t)a&&n.has(a.slug)&&(r+=qu(a));return r}function Us(e,t={}){const o=t.deafCount??123,n=Array.isArray(t.records)?t.records:null,r=e.lists||[],a=e.asia_lists||[],s=e.uncovered_lists||[],i={type:"affinity_bloc",rop1:"A017"},l=a.filter(H=>H.id.startsWith("asia-india")),u=a.filter(H=>H.id.startsWith("asia-china")),c=[...r.map(H=>H.id),"deaf",...l.map(H=>H.id),...u.map(H=>H.id),...s.map(H=>H.id)],p=c.length,f=H=>M1(c.indexOf(H),p),_=(H,N,F)=>{if(!n)return H;const X=F??(N&&N.selector);return H.pop=N1({selector:X},n),H},L=H=>n?H.reduce((N,F)=>N+(F.pop||0),0):void 0,g=r.map(H=>_({id:H.id,zoneKey:H.id,label:H.label,...H.provinceLabel?{provinceLabel:H.provinceLabel}:{},color:f(H.id),count:cr(H)},H)),w=_({id:"deaf",zoneKey:"deaf",label:"Deaf (affinity bloc A017)",color:f("deaf"),count:o,info:"Unified deaf row — affinity bloc rop1=A017 (collapses the two deaf_lists; zero-delta vs old deaf_predicate). Population double-counts vs geographic rows (design-approved, slice 08)."},null,i),A=H=>_({id:H.id,zoneKey:H.id,label:H.label,...H.provinceLabel?{provinceLabel:H.provinceLabel}:{},color:f(H.id),count:cr(H),...Array.isArray(H.adm0)&&H.adm0.length?{adm0:H.adm0}:{},...Array.isArray(H.provinces)&&H.provinces.length?{provinces:H.provinces}:{}},H),v=l.map(A),m=u.map(A),d=H=>H.reduce((N,F)=>N+(cr(F)||0),0),k={id:"asia-india",label:"India",count:d(l),children:v},$={id:"asia-china",label:"China",count:d(u),children:m};n&&(k.pop=L(v),$.pop=L(m)),d(a),n&&L([k,$]);const O=H=>_({id:H.id,zoneKey:H.id,label:H.label,...H.provinceLabel?{provinceLabel:H.provinceLabel}:{},color:f(H.id),count:cr(H)},H),I=s.map(O);I.length>0&&(()=>{const H={id:"frontier-asia",label:"Frontier Asia (uncovered)",count:d(s),children:I};return n&&(H.pop=L(I)),H})();const M={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe",deaf:"Deaf","deaf-old-world":"Deaf"},U=H=>M[H]||(String(H).startsWith("asia-india-")?"India":String(H).startsWith("asia-china-")?"China + Mongolia":"Other"),ee=[...g,w,...v,...m,...I].filter(Boolean),q=new Map;for(const H of ee){const N=U(H.id||H.zoneKey);q.has(N)||q.set(N,[]),q.get(N).push(H)}const se=[...q.entries()].map(([H,N])=>{N.sort((X,ie)=>(ie.count||0)-(X.count||0));const F={id:"region-"+H.toLowerCase().replace(/[^a-z0-9]+/g,"-"),label:H,count:N.reduce((X,ie)=>X+(ie.count||0),0),children:N};return n&&(F.pop=L(N)),F}).sort((H,N)=>(N.count||0)-(H.count||0));return I1(Ju(se),{withPop:!!n}),se}function I1(e,{withPop:t=!1}={}){const o=[];for(const n of e||[]){const r=[];(typeof n.id!="string"||!n.id)&&r.push("id"),(typeof n.zoneKey!="string"||!n.zoneKey)&&r.push("zoneKey"),(typeof n.label!="string"||!n.label)&&r.push("label"),(typeof n.color!="string"||!n.color)&&r.push("color"),typeof n.count!="number"&&r.push("count"),t&&typeof n.pop!="number"&&r.push("pop"),r.length&&o.push(`${n.id||"(no-id)"}: missing/!type [${r.join(", ")}]`)}if(o.length)throw new Error(`legend-tree L15: ${o.length} leaf node(s) violate the uniform consumer shape: +`,"share-button");const{t}=wt(),o=e,n=ue(!1),r=ue(null),a=ue(null),s=ue("link"),i=ue(!1),l=ue(!1),c=ue("medium"),u={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},d=Pe("profileConfig",null),f=ee(()=>s1({embedPath:o.embedPath,profileConfig:ve(d)||null})),_=ee(()=>{const y=u[c.value].height;return''});function w(){n.value=!n.value,n.value&&(s.value="link",i.value=!1,l.value=!1)}function b(){n.value=!1}async function v(y){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(y),!0}catch{}try{const A=document.createElement("textarea");A.value=y,A.setAttribute("readonly",""),A.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(A),A.select();const M=document.execCommand("copy");return document.body.removeChild(A),M}catch{return!1}}async function x(){await v(f.value)&&(i.value=!0,setTimeout(()=>{i.value=!1},2e3))}async function k(){await v(_.value)&&(l.value=!0,setTimeout(()=>{l.value=!1},2e3))}function m(y){if(!n.value)return;const A=y.composedPath?y.composedPath():[y.target];r.value&&A.some(N=>N===r.value)||a.value&&A.some(N=>N===a.value||N===a.value.$el)||!A.some(N=>{var P,F;return(F=(P=N==null?void 0:N.classList)==null?void 0:P.contains)==null?void 0:F.call(P,"mapboxgl-canvas")})||b()}function g(y){y.key==="Escape"&&n.value&&b()}return no(()=>{document.addEventListener("click",m,!0),document.addEventListener("keydown",g)}),Eo(()=>{document.removeEventListener("click",m,!0),document.removeEventListener("keydown",g)}),(y,A)=>(z(),oe("div",i1,[Be(Zo,{ref_key:"btnEl",ref:a,"is-dark":e.isDark,active:n.value,title:ve(t)("buttons.shareEmbed"),onClick:w},{default:Vt(()=>[...A[2]||(A[2]=[L("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"},[L("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),L("polyline",{points:"16 6 12 2 8 6"}),L("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),n.value?(z(),oe("div",{key:0,ref_key:"popoverEl",ref:r,class:Ce(["share-pop",{light:!e.isDark}])},[L("div",{class:"share-header"},[A[4]||(A[4]=L("span",{class:"share-title"},"Share",-1)),L("button",{class:"share-close",onClick:b,"aria-label":"Close"},[...A[3]||(A[3]=[L("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[L("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),L("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),L("div",l1,[L("button",{class:Ce(["share-tab",{active:s.value==="link"}]),onClick:A[0]||(A[0]=M=>s.value="link")},"Share Link",2),L("button",{class:Ce(["share-tab",{active:s.value==="embed"}]),onClick:A[1]||(A[1]=M=>s.value="embed")},"Add to Your Website",2)]),s.value==="link"?(z(),oe("div",c1,[L("div",u1,[L("div",d1,ce(f.value),1)]),L("button",{class:Ce(["share-primary-btn",{copied:i.value}]),onClick:x},[i.value?(z(),oe("svg",g1,[...A[6]||(A[6]=[L("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),oe("svg",p1,[...A[5]||(A[5]=[L("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),L("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),gt(" "+ce(i.value?"Copied!":"Copy Link"),1)],2)])):be("",!0),s.value==="embed"?(z(),oe("div",f1,[A[9]||(A[9]=L("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),L("div",h1,[(z(),oe(Te,null,Ct(u,(M,N)=>L("button",{key:N,class:Ce(["share-size-pill",{active:c.value===N}]),onClick:P=>c.value=N},ce(M.label),11,m1)),64))]),L("div",b1,ce(_.value),1),L("button",{class:Ce(["share-secondary-btn",{copied:l.value}]),onClick:k},[l.value?(z(),oe("svg",_1,[...A[8]||(A[8]=[L("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),oe("svg",y1,[...A[7]||(A[7]=[L("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),L("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},null,-1)])])),gt(" "+ce(l.value?"Copied!":"Copy Code"),1)],2)])):be("",!0)],2)):be("",!0)]))}},v1=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],k1={"people-groups":["blocs","clusters","peopleGroups","people","places","families","languages","dialects","regions","religions"],language:["families","languages","dialects","people","blocs","clusters","peopleGroups","places","regions","religions"],regions:["regions","wagfBlocks","places","blocs","clusters","peopleGroups","people","families","languages","dialects","religions"],religion:["religions","people","blocs","clusters","peopleGroups","places","families","languages","dialects","regions"]};function w1(e){return k1[e]||v1}const x1={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},lr=["peopleGroups","people","places","languages","religions"],S1={regions:[...lr,"regions","wagfBlocks"],"people-groups":[...lr,"blocs","clusters"],language:[...lr,"dialects","families"],religion:[...lr]},A1=100,L1=50,$1=25,C1=10,Gs=5,Wu=20,T1=[[/ sign language$/i,"Sign Language"]];function E1(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function P1(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function M1(e){if(!e||typeof e!="string")return null;const t=e.split(",").map(n=>n.trim()).filter(Boolean);if(t.length>=2){const n=[...t].reverse().join(" ");if(At[n])return At[n];if(t.length>=3){const r=[t[1],t[0]].join(" ");if(At[r])return At[r]}}if(At[e])return At[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&At[o])return At[o];for(const[n,r]of T1)if(n.test(e))return r;return null}function Yu(e,t){return{id:`doxa-section-header-${Us(e)}`,place_name:e,text:e,center:[0,0],place_type:["doxa-section-header"],geometry:{type:"Point",coordinates:[0,0]},properties:{headerLabel:e,isHeader:!0,isAllDataSection:!!t},feature:null}}function Us(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Ae(e){return e==null?"":typeof e=="string"?e.toLowerCase():typeof e=="object"&&"label"in e?String(e.label||"").toLowerCase():typeof e=="object"&&"value"in e?String(e.value||"").toLowerCase():String(e).toLowerCase()}function cr(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function N1(e){var o,n,r,a,s;if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!i)continue;const l=Number(i.latitude),c=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(c))continue;const u=Ae(i.name)+" "+Ae(i.displayName)+" "+Ae(i.alternateName),d=Ae(i.countryName)+" "+Ae(i.country)+" "+Ae(i.countryIso)+" "+Ae(i.countryIsoLabel),f=Ae(i.religionName)+" "+Ae(i.religion)+" "+Ae(i.religionLabel)+" "+Ae(i.religionCode),_=Ae(i.language)+" "+Ae(i.languageFamily)+" "+Ae(i.languageCode),w=Ae(i.doxaRegion)+" "+Ae(i.wagfRegion)+" "+Ae(i.wagfBlock),b=Ae(i.affinityBlock)+" "+Ae(i.affinityBlockLabel)+" "+Ae((o=i._raw)==null?void 0:o.rop1),v=Ae(i.cluster)+" "+Ae(i.clusterLabel)+" "+Ae((n=i._raw)==null?void 0:n.imb_reg_of_people_2),x=Ae(i.peopleGroup)+" "+Ae(i.peopleGroupLabel)+" "+Ae((r=i._raw)==null?void 0:r.imb_reg_of_people_25),k=((a=i._raw)==null?void 0:a.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),m=k&&(typeof k=="object"?k.label||k.value:k)||cr(i.language)||cr(i.primaryLanguage)||"",g=E1(m),y=P1(m);t.push({feature:i,nameHay:u,countryHay:d,religionHay:f,languageHay:_,regionHay:w,haystack:u+" "+d+" "+f+" "+_+" "+w+" "+b+" "+v+" "+x,blocHay:b,clusterHay:v,pgHay:x,lat:l,lng:c,familyDerived:M1(m)||null,languageLabel:m,baseLang:g,dialectLabel:y})}return t}function I1(e){const t=(o,n,r)=>{const a=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=a.get(i);if(l)l.count+=1,l.lngSum+=s.lng,l.latSum+=s.lat,l.memberIds.push(String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")),l.minLng=Math.min(l.minLng,s.lng),l.maxLng=Math.max(l.maxLng,s.lng),l.minLat=Math.min(l.minLat,s.lat),l.maxLat=Math.max(l.maxLat,s.lat),r&&r(l,s,!1);else{const c={key:i,label:cr(n(s))||i,count:1,lngSum:s.lng,latSum:s.lat,minLng:s.lng,maxLng:s.lng,minLat:s.lat,maxLat:s.lat,memberIds:[String(s.feature.uniqueId??s.feature.id??s.feature.slug??"")]};r&&r(c,s,!0),a.set(i,c)}}for(const s of a.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(a.values())};return{countries:t(o=>Ae(o.feature.countryName)||Ae(o.feature.country)||Ae(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>Ae(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>Ae(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${Ae(o.baseLang)}__${Ae(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,r)=>{r?(o.originalLabels=new Set([n.languageLabel]),o.familyDerived=n.familyDerived||"",o.baseLang=n.baseLang||"",o.dialectLabel=n.dialectLabel||""):(o.originalLabels.add(n.languageLabel),!o.familyDerived&&n.familyDerived&&(o.familyDerived=n.familyDerived))}),religions:t(o=>{var n,r,a;return na(o.feature.religion||((r=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:r.value)||((a=o.feature._raw)==null?void 0:a.religion)||"")},o=>{var n,r,a;return oa[na(o.feature.religion||((r=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:r.value)||((a=o.feature._raw)==null?void 0:a.religion)||"")]||"Unknown"}),regions:t(o=>Ae(o.feature.doxaRegion)||Ae(o.feature.wagfRegion),o=>{var n,r;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((r=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:r.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>Ae(o.feature.wagfBlock),o=>{var n,r;return o.feature.wagfBlockLabel||((r=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:r.label)||o.feature.wagfBlock||""}),blocs:t(o=>Ae(o.feature.affinityBlockLabel)||Ae(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",r=o.feature.cluster||"";return r?`${n}__${r}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>Ae(o.feature.peopleGroup)||Ae(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,r)=>{r&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"",o.clusterLabel=n.feature.clusterLabel||"",o.peopleGroupCode=n.feature.peopleGroup||"")})}}function R1(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",r=t.religionName||t.religion||"",a=t.slug||t.uniqueId||Us(o+"-"+n),s=[e.lng,e.lat],i=[n,r].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${a}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:a,...t},feature:t}}function co(e,t){let o,n;switch(e){case"country":o="doxa-country",n="doxa-country-";break;case"region":o="doxa-region",n="doxa-region-";break;case"language-family":o="doxa-language-family",n="doxa-language-family-";break;case"language":o="doxa-language",n="doxa-language-";break;case"dialect":o="doxa-dialect",n="doxa-dialect-";break;case"religion":o="doxa-religion",n="doxa-religion-";break;case"affinity-bloc":o="doxa-affinity-bloc",n="doxa-affinity-bloc-";break;case"cluster":o="doxa-cluster",n="doxa-cluster-";break;case"people-group":o="doxa-people-group",n="doxa-people-group-";break;default:o="doxa",n="doxa-"}const r=cr(t.label)||t.key,a=Us(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${r} (${l}) · ${t.count}`:`${r} (${t.count})`,u=t.originalLabels?Array.from(t.originalLabels):void 0,d=e==="dialect"?{familyDerived:t.familyDerived||"",baseLang:t.baseLang||"",dialectLabel:t.dialectLabel||""}:null;return{id:`${n}${a}`,place_name:c,text:r,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:a,doxaAggregate:e,count:t.count,label:r,memberIds:t.memberIds,bounds:[t.minLng,t.minLat,t.maxLng,t.maxLat],...u?{originalLabels:u}:{},...d||{},...e==="affinity-bloc"?{blocCode:t.blocCode||""}:{},...e==="cluster"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||""}:{},...e==="people-group"?{blocCode:t.blocCode||"",blocLabel:t.blocLabel||"",clusterCode:t.clusterCode||"",clusterLabel:t.clusterLabel||"",peopleGroupCode:t.peopleGroupCode||""}:{}},feature:null}}function F1(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:r}=e,{t:a}=wt(),s=ee(()=>{var d,f;if(!t||!t.sources)return[];if(o&&((d=t.sources[o])!=null&&d.features))return t.sources[o].features;for(const _ of Object.keys(t.sources)){const w=t.sources[_];if((f=w==null?void 0:w.features)!=null&&f.length)return w.features}return[]}),i=ee(()=>N1(s.value)),l=ee(()=>I1(i.value));function c(d){const f=String(d||"").trim().toLowerCase(),_={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return _;const w=f.split(/[\s,;]+/).filter(Boolean);if(!w.length)return _;const b=i.value;if(!b.length)return _;const v=l.value,x=[];for(const R of b){let U=!0;for(const _e of w)if(!R.haystack.includes(_e)){U=!1;break}if(!U)continue;let ie=0;w.some(_e=>R.nameHay.includes(_e))&&(ie+=A1),w.some(_e=>R.countryHay.includes(_e))&&(ie+=L1),w.some(_e=>R.religionHay.includes(_e))&&(ie+=$1),w.some(_e=>R.languageHay.includes(_e))&&(ie+=C1),x.push({entry:R,score:ie})}x.sort((R,U)=>U.score-R.score);const k=x.slice(0,Gs).map(R=>R1(R.entry)),m=R=>R.filter(U=>w.every(ie=>U.key.includes(ie)||Ae(U.label).includes(ie))).sort((U,ie)=>ie.count-U.count).slice(0,Gs),g=m(v.countries).map(R=>co("country",R)),y=m(v.regions).map(R=>co("region",R)),A=m(v.wagfBlocks).map(R=>co("region",R)),M=m(v.families).map(R=>co("language-family",R)),N=m(v.languages).map(R=>co("language",R)),P=m(v.dialects).map(R=>co("dialect",R)),F=m(v.religions).map(R=>co("religion",R)),W=m(v.blocs).map(R=>co("affinity-bloc",R));let Z=m(v.clusters).map(R=>co("cluster",R)),ae=m(v.peopleGroups).map(R=>co("people-group",R));const G=new Set(W.map(R=>Ae(R.text)));Z=Z.filter(R=>!G.has(Ae(R.text)));const T=new Set(Z.map(R=>Ae(R.text)));return ae=ae.filter(R=>!G.has(Ae(R.text))&&!T.has(Ae(R.text))),{people:k,places:g,regions:y,wagfBlocks:A,families:M,languages:N,dialects:P,religions:F,blocs:W,clusters:Z,peopleGroups:ae}}function u(d){const f=typeof n=="function"?n():null,_=typeof r=="function"?r():null,w=c(d),b=w1(_),v=S1[_],x=v?Object.fromEntries(v.filter(M=>w[M]).map(M=>[M,w[M]])):w,k=b.flatMap(M=>x[M]||[]);if(!(f!=null&&f.key)||!k.length)return k.slice(0,Wu);const m=[];for(const M of w.people){const N=i.value.find(F=>F.feature===M.feature);let P=!1;N&&(f.kind==="family"?P=(N.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(P=N.languageLabel.toLowerCase()===f.key.toLowerCase())),P&&m.push(M)}const g=[],y=f.key;m.length&&(g.push(Yu(a("search.sections.within",{selection:y}),!1)),g.push(...m.slice(0,Gs)));const A=b.flatMap(M=>(x[M]||[]).slice(0,x1[M]??3)).map(M=>({...M,properties:{...M.properties,_allDataSection:!0}}));return g.push(Yu(a("search.sections.allData"),!0)),g.push(...A),g.slice(0,Wu+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const qu="https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.min.js",O1={__name:"GeocoderComponent",props:{mapInstance:{type:Object,required:!1,default:null},accessToken:{type:String,required:!0},provider:{type:String,default:"mapbox"},isDark:{type:Boolean,default:!1},standalone:{type:Boolean,default:!1},placeholder:{type:String,default:""},dataSourceId:{type:String,default:""},activeContext:{type:String,default:""}},emits:["result","people-group-result","aggregate-result","clear","error"],setup(e,{expose:t,emit:o}){function n(F){return F+F.replace(/mapboxgl/g,"maplibregl")}St(n('.mapboxgl-ctrl-geocoder--input,.mapboxgl-ctrl-geocoder input[type="text"],.mapboxgl-ctrl-geocoder input[type="search"]{font-size:16px !important;line-height:1.3;}'),"geocoder-ios-zoom-fix"),St(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),St(n(".mapboxgl-ctrl-geocoder{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}.mapboxgl-ctrl-geocoder--input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;}.mapboxgl-ctrl-geocoder--icon-search{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important;left:7px!important;}"),"geocoder-height-35"),St(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.mapboxgl-ctrl-top-left{top:10px!important;left:3px!important;right:3px!important;width:calc(100% - 6px)!important;max-width:none!important;}}.mapboxgl-ctrl-geocoder{border-radius:999px!important;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15)!important;transition:box-shadow .12s,border-color .12s;}.mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.15),0 0 0 3px rgba(59,70,61,0.18)!important;}.mapboxgl-ctrl-geocoder--input{border-radius:999px!important;font-size:13px!important;}.mapboxgl-ctrl-geocoder--input::placeholder{font-size:12px!important;}.mapboxgl-ctrl-geocoder--button{display:none!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;width:24px!important;height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important;}.mapboxgl-ctrl-geocoder:has(.mapboxgl-ctrl-geocoder--input:not(:placeholder-shown)) .mapboxgl-ctrl-geocoder--button{display:block!important;}.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon-close{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:16px!important;height:16px!important;}.mapboxgl-ctrl-geocoder--suggestions,.mapboxgl-ctrl-geocoder .suggestions{z-index:1200!important;position:absolute;max-height:60vh!important;overflow-y:auto!important;}.geocoder-dark.mapboxgl-ctrl-geocoder,.dsm-dark .mapboxgl-ctrl-geocoder{background:#4e594f!important;border:1px solid rgba(255,255,255,0.14)!important;box-shadow:0 2px 8px rgba(0,0,0,0.4)!important;}.geocoder-dark.mapboxgl-ctrl-geocoder:focus-within,.dsm-dark .mapboxgl-ctrl-geocoder:focus-within{box-shadow:0 2px 8px rgba(0,0,0,0.4),0 0 0 3px rgba(115,161,127,0.22)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input,.dsm-dark .mapboxgl-ctrl-geocoder--input{color:#F3F3F1!important;background:transparent!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--input::placeholder,.dsm-dark .mapboxgl-ctrl-geocoder--input::placeholder{color:rgba(243,243,241,0.65)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--icon,.dsm-dark .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon{fill:rgba(243,243,241,0.75)!important;}.geocoder-dark .mapboxgl-ctrl-geocoder--button,.dsm-dark .mapboxgl-ctrl-geocoder--button{background:transparent!important;}"),"geocoder-skin");const{t:r,locale:a}=wt(),s=e,i=ee(()=>s.placeholder||r("search.placeholder")),l=o,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(F){return String(F??"").replace(/[&<>"']/g,W=>c[W])}function d(F){return F==null?"":typeof F=="string"?F:typeof F=="object"?F.label||F.value||"":String(F)}const f={"people-group":"people","doxa-people-group":"peopleGroup","doxa-affinity-bloc":"bloc","doxa-cluster":"cluster","doxa-country":"country","doxa-region":"region","doxa-language-family":"family","doxa-language":"languageKind","doxa-dialect":"dialect","doxa-religion":"religionKind"};function _(F){const W=f[F];if(!W)return"";const Z=r("search.kinds."+W);return`${u(Z)}`}function w(F){var ae;if(!F)return"";const W=F.place_type||[];if(W.includes("doxa-section-header"))return`
${u(((ae=F.properties)==null?void 0:ae.headerLabel)||F.text||"")}
`;if(W.includes("people-group")){const G=F.properties||{},T=d(G.name)||d(G.displayName)||d(F.text)||"",R=d(G.countryName)||d(G.country)||d(G.countryIso)||"",U=d(G.language)||d(G.primaryLanguage)||d(G.languageFamily)||"",ie=d(G.religionName)||d(G.religion)||"",_e=r("search.labels.place"),H=r("search.labels.language"),fe=r("search.labels.religion"),he=[];return R&&he.push(`${u(_e)} ${u(R)}`),U&&he.push(`${u(H)} ${u(U)}`),ie&&he.push(`${u(fe)} ${u(ie)}`),`
${_("people-group")}${u(T)}
`+(he.length?`
${he.join("")}
`:"")}const Z=W.find(G=>G.startsWith("doxa-"));if(Z){const G=F.properties||{},T=u(d(G.label)||F.text||""),R=Number(G.count)||0,U=R?` ${R}`:"";return`
${_(Z)}${T}${U}
`}return`
${u(F.place_name||F.text||"")}
`}const b=Pe("dataStore",null),v=Pe("mapStore",null),x=Pe("uiStore",null);function k(){return v?v.selectedFamily?{kind:"family",key:v.selectedFamily}:v.selectedLanguage?{kind:"language",key:v.selectedLanguage}:null:null}const{search:m}=F1({dataStore:b,dataSourceId:s.dataSourceId||void 0,getActiveFilter:k,getActiveContext:()=>s.activeContext||null}),g=Mn(null),y=ue(null),A={mapbox:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css",maplibre:"https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.css"};function M(F,W){const Z=A[W]||A.mapbox;if(F.querySelector(`link[href="${Z}"]`))return;const ae=document.createElement("link");ae.rel="stylesheet",ae.href=Z,F.prepend(ae)}async function N(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const F=document.querySelector(`script[src="${qu}"]`);if(F){if(window.MaplibreGeocoder)return;await new Promise(W=>{F.addEventListener("load",W,{once:!0}),F.addEventListener("error",W,{once:!0})});return}await new Promise((W,Z)=>{const ae=document.createElement("script");ae.src=qu,ae.async=!1,ae.addEventListener("load",W,{once:!0}),ae.addEventListener("error",()=>Z(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(ae)})}function P(F,W){return async Z=>{const ae={features:[]};if(!F||!(Z!=null&&Z.query))return ae;try{const G=Array.isArray(Z.language)?Z.language[0]:Z.language||W()||"en",T=new URLSearchParams({access_token:F,autocomplete:"true",limit:String(Z.limit||5)});G&&T.set("language",G);const R=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(Z.query)}.json?${T.toString()}`,U=await fetch(R);if(!U.ok)return ae;const ie=await U.json();return ie&&Array.isArray(ie.features)?ie:ae}catch{return ae}}}return no(async()=>{var G,T,R,U,ie;const F=s.provider==="maplibre";if(F){if(await N(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u")return;const W=s.mapInstance;if(!s.standalone&&!W)return;const Z=s.standalone?(T=(G=y.value)==null?void 0:G.getRootNode)==null?void 0:T.call(G):(ie=(U=(R=W.getContainer)==null?void 0:R.call(W))==null?void 0:U.getRootNode)==null?void 0:ie.call(U);Z instanceof ShadowRoot&&M(Z,s.provider);const ae={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:i.value,language:a.value||"en",localGeocoder:m,limit:20,zoom:6,render:w};if(F){const _e=typeof maplibregl<"u"?maplibregl:void 0,H={forwardGeocode:P(s.accessToken,()=>a.value)};g.value=new MaplibreGeocoder(H,{...ae,maplibregl:_e,showResultsWhileTyping:!0,reverseGeocode:!1})}else g.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...ae});if(g.value.on("result",_e=>{var fe,he,Ue,Ve,et,je,st,tt,bt,We,Lt,S,E,$,B,Y,Q,X,q,p,h,I,K,re,ne,O,V,pe,C,D;const H=_e==null?void 0:_e.result;H&&((fe=H.place_type)!=null&&fe.includes("doxa-section-header")||(v&&(v.selectedRegion=null,v.selectedResource=null,v.selectedAffinityBlock=null,v.selectedDialect=null),x&&((he=x.setPrayerFilter)==null||he.call(x,null),(Ue=x.setEngagementFilter)==null||Ue.call(x,null),(Ve=x.setAdoptionFilter)==null||Ve.call(x,null),(et=x.setReligionFilter)==null||et.call(x,null)),(je=H.properties)!=null&&je._allDataSection&&v&&(v.selectedFamily=null,v.selectedLanguage=null),l("result",_e),(st=H.place_type)!=null&&st.includes("people-group")&&H.feature?l("people-group-result",{type:"Feature",properties:H.properties||H.feature,geometry:H.geometry||{type:"Point",coordinates:H.center}}):((tt=H.place_type)!=null&&tt.includes("doxa-country")||(bt=H.place_type)!=null&&bt.includes("doxa-region")||(We=H.place_type)!=null&&We.includes("doxa-language-family")||(Lt=H.place_type)!=null&&Lt.includes("doxa-language")||(S=H.place_type)!=null&&S.includes("doxa-dialect")||(E=H.place_type)!=null&&E.includes("doxa-religion")||($=H.place_type)!=null&&$.includes("doxa-affinity-bloc")||(B=H.place_type)!=null&&B.includes("doxa-cluster")||(Y=H.place_type)!=null&&Y.includes("doxa-people-group"))&&l("aggregate-result",{kind:H.place_type[0].replace(/^doxa-/,""),label:((Q=H.properties)==null?void 0:Q.label)||H.text,count:((X=H.properties)==null?void 0:X.count)||0,memberIds:((q=H.properties)==null?void 0:q.memberIds)||[],bounds:((p=H.properties)==null?void 0:p.bounds)||null,center:H.center,originalLabels:((h=H.properties)==null?void 0:h.originalLabels)||null,familyDerived:((I=H.properties)==null?void 0:I.familyDerived)||"",baseLang:((K=H.properties)==null?void 0:K.baseLang)||"",dialectLabel:((re=H.properties)==null?void 0:re.dialectLabel)||"",slug:((ne=H.properties)==null?void 0:ne.slug)||null,id:H.id||null,blocCode:((O=H.properties)==null?void 0:O.blocCode)||"",blocLabel:((V=H.properties)==null?void 0:V.blocLabel)||"",clusterCode:((pe=H.properties)==null?void 0:pe.clusterCode)||"",clusterLabel:((C=H.properties)==null?void 0:C.clusterLabel)||"",peopleGroupCode:((D=H.properties)==null?void 0:D.peopleGroupCode)||"",properties:H.properties||null})))}),g.value.on("clear",()=>l("clear")),g.value.on("error",_e=>l("error",_e)),s.standalone){if(y.value){const _e={on(){},off(){},fire(){},getContainer:()=>y.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const H=g.value.onAdd(s.mapInstance||_e);H&&y.value.appendChild(H)}catch(H){l("error",H)}}}else W.addControl(g.value,"top-left")}),pt(i,F=>{var ae,G;const W=g.value;if(!W)return;const Z=W._inputEl||((G=(ae=W.container)==null?void 0:ae.querySelector)==null?void 0:G.call(ae,"input.mapboxgl-ctrl-geocoder--input"));Z&&(Z.placeholder=F,Z.setAttribute("placeholder",F)),W.options&&(W.options.placeholder=F)}),pt(a,F=>{const W=g.value;W!=null&&W.options&&(W.options.language=F||"en")}),Eo(()=>{var F,W;if(g.value){try{s.standalone?(W=(F=g.value).onRemove)==null||W.call(F):s.mapInstance&&s.mapInstance.removeControl(g.value)}catch{}g.value=null}}),t({geocoder:g}),(F,W)=>e.standalone?(z(),oe("div",{key:0,ref_key:"standaloneContainer",ref:y,class:"dg-standalone-geocoder"},null,512)):Dn(F.$slots,"default",{},void 0,void 0,1)}},D1=["country_code","wagf_region","wagf_block","primary_language","religion"];function B1(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function j1(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of D1)if(o in t){const{value:n,label:r}=B1(t[o]);t[o]=n,r!=null&&(t[`${o}_label`]=r)}return t}function Ju(e){return Array.isArray(e)?e.map(j1):[]}function Zu(e){return Array.isArray(e)?e:e&&typeof e=="object"?e.posts||e.data||e.records||e.results||e.items||[]:[]}function vn(e){return e==null||typeof e!="object"?null:e.slug??null}function Xu(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function G1(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function aa(e,t){const o=new Set;if(e==null||typeof e!="object"||typeof e.type!="string")throw new Error(`selector-evaluator: malformed selector (expected an object with a string \`type\`), got: ${JSON.stringify(e)}`);const n=Array.isArray(t)?t:[];switch(e.type){case"country_code":{const r=e.value;for(const a of n)if(a&&a.country_code===r){const s=vn(a);s!=null&&o.add(s)}return o}case"country_codes":{const r=new Set(Array.isArray(e.values)?e.values:[]);for(const a of n)if(a&&r.has(a.country_code)){const s=vn(a);s!=null&&o.add(s)}return o}case"wagf_block":{const r=e.value;for(const a of n)if(a&&a.wagf_block===r){const s=vn(a);s!=null&&o.add(s)}return o}case"wagf_region":{const r=e.value;for(const a of n)if(a&&a.wagf_region===r){const s=vn(a);s!=null&&o.add(s)}return o}case"union":{const r=Array.isArray(e.selectors)?e.selectors:[];for(const a of r){const s=aa(a,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const r=new Set(Array.isArray(e.regions)?e.regions:[]);for(const a of n){if(!a)continue;if((Xu(a.slug)||Xu(a.name))&&r.has(a.wagf_region)){const i=vn(a);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const r=e.rop1;for(const a of n)if(a&&G1(a)===r){const s=vn(a);s!=null&&o.add(s)}return o}default:throw new Error(`selector-evaluator: unknown selector type "${e.type}" (supported: country_code, country_codes, wagf_block, wagf_region, union, deaf_predicate, affinity_bloc)`)}}const U1=Object.freeze(Object.defineProperty({__proto__:null,default:aa,evaluate:aa},Symbol.toStringTag,{value:"Module"}));function K1(e,t){return`hsl(${Math.round(e*360/(t||1))}, 72%, 56%)`}function ur(e){if(typeof e.count=="number")return e.count;if(typeof e.expected_count=="number")return e.expected_count}function Qu(e){const t=parseInt(e&&e.population,10);return Number.isFinite(t)?t:0}function H1(e,t){if(!Array.isArray(t)||t.length===0)return;const o=e&&e.selector;if(o==null)return;if(o.type==="pg_slugs"){const a=new Set(Array.isArray(o.values)?o.values:[]);let s=0;for(const i of t)i&&a.has(i.slug)&&(s+=Qu(i));return s}const n=aa(o,t);let r=0;for(const a of t)a&&n.has(a.slug)&&(r+=Qu(a));return r}function Ks(e,t={}){const o=t.deafCount??123,n=Array.isArray(t.records)?t.records:null,r=e.lists||[],a=e.asia_lists||[],s=e.uncovered_lists||[],i={type:"affinity_bloc",rop1:"A017"},l=a.filter(G=>G.id.startsWith("asia-india")),c=a.filter(G=>G.id.startsWith("asia-china")),u=[...r.map(G=>G.id),"deaf",...l.map(G=>G.id),...c.map(G=>G.id),...s.map(G=>G.id)],d=u.length,f=G=>K1(u.indexOf(G),d),_=(G,T,R)=>{if(!n)return G;const U=R??(T&&T.selector);return G.pop=H1({selector:U},n),G},w=G=>n?G.reduce((T,R)=>T+(R.pop||0),0):void 0,b=r.map(G=>_({id:G.id,zoneKey:G.id,label:G.label,...G.provinceLabel?{provinceLabel:G.provinceLabel}:{},color:f(G.id),count:ur(G)},G)),v=_({id:"deaf",zoneKey:"deaf",label:"Deaf (affinity bloc A017)",color:f("deaf"),count:o,info:"Unified deaf row — affinity bloc rop1=A017 (collapses the two deaf_lists; zero-delta vs old deaf_predicate). Population double-counts vs geographic rows (design-approved, slice 08)."},null,i),x=G=>_({id:G.id,zoneKey:G.id,label:G.label,...G.provinceLabel?{provinceLabel:G.provinceLabel}:{},color:f(G.id),count:ur(G),...Array.isArray(G.adm0)&&G.adm0.length?{adm0:G.adm0}:{},...Array.isArray(G.provinces)&&G.provinces.length?{provinces:G.provinces}:{}},G),k=l.map(x),m=c.map(x),g=G=>G.reduce((T,R)=>T+(ur(R)||0),0),y={id:"asia-india",label:"India",count:g(l),children:k},A={id:"asia-china",label:"China",count:g(c),children:m};n&&(y.pop=w(k),A.pop=w(m)),g(a),n&&w([y,A]);const M=G=>_({id:G.id,zoneKey:G.id,label:G.label,...G.provinceLabel?{provinceLabel:G.provinceLabel}:{},color:f(G.id),count:ur(G)},G),N=s.map(M);N.length>0&&(()=>{const G={id:"frontier-asia",label:"Frontier Asia (uncovered)",count:g(s),children:N};return n&&(G.pop=w(N)),G})();const P={"west-africa":"Africa",sudan:"Africa","east-africa":"Africa","central-africa":"Africa","southern-africa-islands":"Africa","maghreb-egypt":"Middle East","middle-east-core":"Middle East","uncovered-nas-a":"Central Asia",laos:"Southeast Asia + Oceania","oceania-indonesia":"Southeast Asia + Oceania","mainland-se-asia-philippines":"Southeast Asia + Oceania",brazil:"Americas","andean-caribbean":"Americas","uncovered-scatter":"Americas",europe:"Europe",deaf:"Deaf","deaf-old-world":"Deaf"},F=G=>P[G]||(String(G).startsWith("asia-india-")?"India":String(G).startsWith("asia-china-")?"China + Mongolia":"Other"),W=[...b,v,...k,...m,...N].filter(Boolean),Z=new Map;for(const G of W){const T=F(G.id||G.zoneKey);Z.has(T)||Z.set(T,[]),Z.get(T).push(G)}const ae=[...Z.entries()].map(([G,T])=>{T.sort((U,ie)=>(ie.count||0)-(U.count||0));const R={id:"region-"+G.toLowerCase().replace(/[^a-z0-9]+/g,"-"),label:G,count:T.reduce((U,ie)=>U+(ie.count||0),0),children:T};return n&&(R.pop=w(T)),R}).sort((G,T)=>(T.count||0)-(G.count||0));return z1(ed(ae),{withPop:!!n}),ae}function z1(e,{withPop:t=!1}={}){const o=[];for(const n of e||[]){const r=[];(typeof n.id!="string"||!n.id)&&r.push("id"),(typeof n.zoneKey!="string"||!n.zoneKey)&&r.push("zoneKey"),(typeof n.label!="string"||!n.label)&&r.push("label"),(typeof n.color!="string"||!n.color)&&r.push("color"),typeof n.count!="number"&&r.push("count"),t&&typeof n.pop!="number"&&r.push("pop"),r.length&&o.push(`${n.id||"(no-id)"}: missing/!type [${r.join(", ")}]`)}if(o.length)throw new Error(`legend-tree L15: ${o.length} leaf node(s) violate the uniform consumer shape: `+o.join(` - `));return!0}function Ju(e){const t=[],o=n=>{for(const r of n)r.children&&r.children.length?o(r.children):t.push(r)};return o(e||[]),t}const Zu=()=>({type:"FeatureCollection",features:[]});function R1(e,t){const o=ea(e.selector,t),n=new Set;for(const r of t)r&&o.has(r.slug)&&r.country_code&&n.add(r.country_code);return n}function F1(e){return typeof e.id=="string"&&e.id.startsWith("asia-")}function Ks(e,t){return{type:"Feature",properties:{...e.properties||{},zoneKey:t.zoneKey??t.id,zoneColor:t.color??t.zoneColor??"#888",zoneLabel:t.label,...t.id==="deaf"?{hatch:!0}:{}},geometry:e.geometry}}function O1(e,t){const{records:o=[],adm0:n,adm1Ind:r,adm1Chn:a}=t||{},s=Zu();if(F1(e)){const l=[r,a].filter(Boolean);for(const u of l)for(const c of u.features||[])c.properties&&c.properties.listId===e.id&&s.features.push(Ks(c,e));if(Array.isArray(e.adm0)&&e.adm0.length&&n){const u=new Set(e.adm0);for(const c of n.features||[])c.properties&&u.has(c.properties.iso3)&&s.features.push(Ks(c,e))}return s}if(!e.selector)return s;const i=R1(e,o);if(n&&i.size)for(const l of n.features||[])l.properties&&i.has(l.properties.iso3)&&s.features.push(Ks(l,e));return s}function D1(e,t){const o=Zu(),n=new Map;for(const r of e){if(r.id==="deaf"){n.set(r.zoneKey??r.id,0);continue}const a=O1(r,t);n.set(r.zoneKey??r.id,a.features.length);for(const s of a.features)o.features.push(s)}return{tapestry:o,perZone:n}}const B1={"andean-caribbean":"#f9a51f","asia-china-tibet-autonomous-region":"#00f0c8","asia-china-yunnan-province":"#22ddff","asia-frontier-nas-a":"#ff1744","asia-india-andhra-pradesh":"#22ddff","asia-india-assam":"#22ddff","asia-india-chhattisgarh":"#536dfe","asia-india-gujarat":"#536dfe","asia-india-karnataka":"#536dfe","asia-india-kerala":"#2196ff","asia-india-madhya-pradesh":"#2196ff","asia-india-maharashtra":"#2196ff","asia-india-odisha":"#2196ff","asia-india-rajasthan":"#22ddff","asia-india-tamil-nadu":"#7c4dff","asia-india-uttarakhand":"#536dfe","asia-india-west-bengal":"#22ddff",brazil:"#f4c57b","central-africa":"#c20001",deaf:"#18ffff","east-africa":"#ef3410",europe:"#34cb74",laos:"#7c4dff","maghreb-egypt":"#602f74","mainland-se-asia-philippines":"#ff1744","middle-east-core":"#bc8bd0","oceania-indonesia":"#ee892f","southern-africa-islands":"#e75556",sudan:"#e69e93","uncovered-central-asia":"#ff8a00","uncovered-himalaya":"#ff6d00","uncovered-japan":"#ffc400","uncovered-mongolia":"#76ff03","uncovered-nas-a":"#ff1744","uncovered-nepal":"#ffea00","uncovered-sa-west":"#ff1744","uncovered-scatter":"#eeff41","west-africa":"#edcac9"};function j1(e,t){const o=B1[e];return typeof o=="string"&&o?o:t}const ur={"Andaman and Nicobar Islands":9,"Andhra Pradesh":81,"Arunāchal Pradesh":7,Assam:15,Bihār:18,Chandīgarh:1,Chhattīsgarh:24,Delhi:1,"Dādra and Nagar Haveli and Damān and Diu":1,Goa:5,Gujarāt:90,Haryāna:4,"Himāchal Pradesh":20,"Jammu and Kashmīr":33,Jhārkhand:9,Karnātaka:81,Kerala:72,Ladākh:6,Lakshadweep:1,"Madhya Pradesh":33,Mahārāshtra:54,Manipur:5,Meghālaya:2,Odisha:64,Puducherry:5,Punjab:4,Rājasthān:48,Sikkim:1,"Tamil Nādu":64,Telangāna:26,Tripura:11,"Uttar Pradesh":23,Uttarākhand:7,"West Bengal":30,"Gansu Province":3,"Guangxi Zhuang Autonomous Region":6,"Guizhou Province":34,"Hainan Province":3,"Heilongjiang Province":2,"Hunan Province":5,"Inner Mongolia Autonomous Region":3,"Qinghai Province":3,"Sichuan Province":12,"Tibet Autonomous Region":13,"Xinjiang Uyghur Autonomous Region":7,"Yunnan Province":61},Xu={ABW:1,AFG:21,AGO:10,ALB:1,AND:1,ARE:2,ARM:1,ASM:1,ATG:1,AZE:3,BEN:9,BFA:8,BGD:3,BGR:1,BHR:2,BHS:1,BIH:1,BLM:1,BLR:1,BMU:1,BOL:1,BRA:103,BRB:1,BRN:5,BTN:13,CAF:1,CHN:154,CIV:2,CMR:8,COD:9,COG:2,COK:1,COL:27,COM:3,CUB:1,CUW:1,CYM:1,CYP:1,CZE:1,DJI:1,DMA:1,DZA:17,ECU:1,EGY:3,ERI:8,ESP:1,ETH:29,FIN:1,FJI:1,FRO:1,FSM:1,GAB:2,GEO:1,GGY:1,GHA:1,GIN:13,GLP:1,GMB:3,GNB:3,GNQ:1,GRC:1,GRD:1,GUF:2,GUM:1,GUY:1,IDN:36,IRN:20,IRQ:8,ISL:1,ISR:4,JAM:1,JOR:3,JPN:6,KAZ:1,KEN:5,KGZ:2,KHM:1,KIR:1,KWT:1,LAO:95,LBN:4,LBR:2,LBY:15,LCA:1,LIE:1,LKA:1,LUX:1,MAR:4,MDV:1,MHL:1,MLI:13,MLT:1,MMR:7,MNE:1,MNG:1,MNP:1,MOZ:4,MRT:3,MSR:1,MUS:1,MWI:1,MYS:12,MYT:1,NAM:6,NCL:1,NER:2,NGA:38,NIU:1,NPL:34,NZL:1,OMN:7,PAK:24,PAN:1,PER:10,PHL:1,PLW:1,PNG:1,PRK:1,PRY:1,PSE:4,PYF:1,QAT:3,RUS:21,SAU:3,SDN:105,SEN:1,SHN:1,SLB:1,SLE:2,SMR:1,SOM:9,SSD:22,STP:1,SUR:2,SWE:2,SWZ:1,SYR:5,TCA:1,TCD:53,TGO:6,THA:8,TJK:3,TON:1,TUN:2,TUR:3,TZA:16,UGA:6,USA:3,UZB:1,VCT:1,VEN:6,VGB:1,VIR:1,VNM:16,VUT:1,WLF:1,WSM:1,YEM:9,ZAF:2,ZMB:6,ZWE:3},ta={ABW:"Aruba",IND:"India",AFG:"Afghanistan",AGO:"Angola",ALB:"Albania",AND:"Andorra",ARE:"United Arab Emirates",ARM:"Armenia",ASM:"American Samoa",ATG:"Antigua and Barbuda",AZE:"Azerbaijan",BEN:"Benin",BFA:"Burkina Faso",BGD:"Bangladesh",BGR:"Bulgaria",BHR:"Bahrain",BHS:"Bahamas",BIH:"Bosnia and Herzegovina",BLM:"Saint Barthélemy",BLR:"Belarus",BMU:"Bermuda",BOL:"Bolivia",BRA:"Brazil",BRB:"Barbados",BRN:"Brunei",BTN:"Bhutan",CAF:"Central African Republic",CHN:"China",CIV:"Côte d'Ivoire",CMR:"Cameroon",COD:"DR Congo",COG:"Congo",COK:"Cook Islands",COL:"Colombia",COM:"Comoros",CUB:"Cuba",CUW:"Curaçao",CYM:"Cayman Islands",CYP:"Cyprus",CZE:"Czechia",DJI:"Djibouti",DMA:"Dominica",DZA:"Algeria",ECU:"Ecuador",EGY:"Egypt",ERI:"Eritrea",ESP:"Spain",ETH:"Ethiopia",FIN:"Finland",FJI:"Fiji",FRO:"Faroe Islands",FSM:"Micronesia",GAB:"Gabon",GEO:"Georgia",GGY:"Guernsey",GHA:"Ghana",GIN:"Guinea",GLP:"Guadeloupe",GMB:"Gambia",GNB:"Guinea-Bissau",GNQ:"Equatorial Guinea",GRC:"Greece",GRD:"Grenada",GUF:"French Guiana",GUM:"Guam",GUY:"Guyana",IDN:"Indonesia",IRN:"Iran",IRQ:"Iraq",ISL:"Iceland",ISR:"Israel",JAM:"Jamaica",JOR:"Jordan",JPN:"Japan",KAZ:"Kazakhstan",KEN:"Kenya",KGZ:"Kyrgyzstan",KHM:"Cambodia",KIR:"Kiribati",KWT:"Kuwait",LAO:"Laos",LBN:"Lebanon",LBR:"Liberia",LBY:"Libya",LCA:"Saint Lucia",LIE:"Liechtenstein",LKA:"Sri Lanka",LUX:"Luxembourg",MAR:"Morocco",MDV:"Maldives",MHL:"Marshall Islands",MLI:"Mali",MLT:"Malta",MMR:"Myanmar",MNE:"Montenegro",MNG:"Mongolia",MNP:"Northern Mariana Islands",MOZ:"Mozambique",MRT:"Mauritania",MSR:"Montserrat",MUS:"Mauritius",MWI:"Malawi",MYS:"Malaysia",MYT:"Mayotte",NAM:"Namibia",NCL:"New Caledonia",NER:"Niger",NGA:"Nigeria",NIU:"Niue",NPL:"Nepal",NZL:"New Zealand",OMN:"Oman",PAK:"Pakistan",PAN:"Panama",PER:"Peru",PHL:"Philippines",PLW:"Palau",PNG:"Papua New Guinea",PRK:"North Korea",PRY:"Paraguay",PSE:"Palestine",PYF:"French Polynesia",QAT:"Qatar",RUS:"Russia",SAU:"Saudi Arabia",SDN:"Sudan",SEN:"Senegal",SHN:"Saint Helena",SLB:"Solomon Islands",SLE:"Sierra Leone",SMR:"San Marino",SOM:"Somalia",SSD:"South Sudan",STP:"São Tomé and Príncipe",SUR:"Suriname",SWE:"Sweden",SWZ:"Eswatini",SYR:"Syria",TCA:"Turks and Caicos Islands",TCD:"Chad",TGO:"Togo",THA:"Thailand",TJK:"Tajikistan",TON:"Tonga",TUN:"Tunisia",TUR:"Turkey",TZA:"Tanzania",UGA:"Uganda",USA:"United States",UZB:"Uzbekistan",VCT:"Saint Vincent and the Grenadines",VEN:"Venezuela",VGB:"British Virgin Islands",VIR:"U.S. Virgin Islands",VNM:"Vietnam",VUT:"Vanuatu",WLF:"Wallis and Futuna",WSM:"Samoa",YEM:"Yemen",ZAF:"South Africa",ZMB:"Zambia",ZWE:"Zimbabwe"};function Qu(e){const t={...ta};for(const o of e||[]){const n=o&&o.country_code,r=o&&o.country_code_label;n&&r&&(t[n]=r)}return t}function ed(e,t={}){if(!e||typeof e!="object")return null;const o=t.nameMap||ta;if(e.shapeName){const n=String(e.shapeName),r=Object.prototype.hasOwnProperty.call(ur,n)?ur[n]:null;return{key:"adm1:"+n,name:n,count:r,kind:"adm1"}}if(e.iso3){const n=String(e.iso3),r=o[n]||ta[n]||n,a=Object.prototype.hasOwnProperty.call(Xu,n)?Xu[n]:null;return{key:"adm0:"+n,name:r,count:a,kind:"adm0"}}return null}function td(e,t={}){const o=Array.isArray(e)?e:[],n=o.map(l=>l.name),r=o.reduce((l,u)=>l+(Number(u.count)||0),0),a=t&&typeof t.color=="string"&&t.color?t.color:"",s=n.join(", ")+" — "+r+" UUPG"+(a?" · "+a:""),i=o.map(l=>l.name+" "+(Number(l.count)||0)).join(", ");return s+` -`+i}function hn(e){return String(e??"").normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim()}function G1(e){return hn(e).split(/[\s,;]+/).filter(Boolean)}function U1(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:r={},countryNameMap:a=null}=e,s=[],i=new Set;for(const u of t){if(!u)continue;const c=u.slug;if(!c||i.has(c))continue;const p=Number(u.latitude),f=Number(u.longitude);if(!Number.isFinite(p)||!Number.isFinite(f))continue;const _=u.name||c;i.add(c),s.push({label:_,kind:"pg",target:{type:"pg",slug:c,lng:f,lat:p},_hay:hn(_)})}for(const u of o){if(!u)continue;const c=u.zoneKey||u.id,p=u.label||c;c&&s.push({label:p,kind:"zone",target:{type:"zone",zoneId:c},_hay:hn(p)})}for(const u of Object.keys(n))s.push({label:u,kind:"territory",target:{type:"territory",shapeName:u},_hay:hn(u)});const l=a||r;for(const u of Object.keys(r)){const c=l&&l[u]||r[u]||u;s.push({label:c,kind:"territory",target:{type:"territory",shapeName:u,iso3:!0},_hay:hn(c)})}return s}const K1={zone:0,territory:1,pg:2};function H1(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:r={},countryNameMap:a=null,centroidFor:s=null}=e,i=[];for(const c of t)c&&i.push(c);const l=(c,p,f)=>!p||!Number.isFinite(p[0])||!Number.isFinite(p[1])?null:{name:c,slug:f.__synthSlug,latitude:p[1],longitude:p[0],...f};for(const c of o){if(!c)continue;const p=c.zoneKey||c.id,f=c.label||p;if(!p)continue;const _=typeof s=="function"?s(g=>g&&g.properties&&g.properties.zoneKey===p):null,L=l(f,_,{__upgKind:"zone",__zoneId:p,__synthSlug:`__zone__${p}`});L&&i.push(L)}for(const c of Object.keys(n)){const p=typeof s=="function"?s(_=>_&&_.properties&&_.properties.shapeName===c):null,f=l(c,p,{__upgKind:"territory",__shapeName:c,__synthSlug:`__terr__${c}`});f&&i.push(f)}const u=a||r;for(const c of Object.keys(r)){const p=u&&u[c]||r[c]||c,f=typeof s=="function"?s(L=>L&&L.properties&&L.properties.iso3===c):null,_=l(p,f,{__upgKind:"territory",__shapeName:c,__synthSlug:`__terr__${c}`});_&&i.push(_)}return i}function od(e,t,o={}){const n=o.limit??8,r=G1(t);if(!r.length)return[];const a=r[0],s=[];for(const i of e){let l=!0;for(const p of r)if(!i._hay.includes(p)){l=!1;break}if(!l)continue;const u=i._hay.startsWith(a)?0:1,c=i._hay===hn(t)?-1:0;s.push({e:i,starts:u,exact:c,kr:K1[i.kind]??9,len:i._hay.length})}return s.sort((i,l)=>i.exact-l.exact||i.starts-l.starts||i.kr-l.kr||i.len-l.len),s.slice(0,n).map(i=>i.e)}const z1="rgba(120, 128, 134, 0.28)",nd="36px",ad=()=>{};function V1(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return ad;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return ad;const r=v=>v.classList.contains("map-scroll-edge--left");for(const v of n)v.style.background=`linear-gradient(${r(v)?"to right":"to left"}, ${z1} ${nd}, transparent ${nd})`,v.style.opacity="0",v.style.transition="opacity 0.16s ease",v.style.userSelect="none",v.style.webkitUserSelect="none";const a=v=>{v.style.opacity="1"},s=v=>{v.style.opacity="0"},i=()=>n.find(v=>!r(v))||null,l=new Set;let u=!1,c=null;const p=()=>{for(const v of n)l.has(v)||s(v)},f=()=>{const v=i();v&&(a(v),c&&clearTimeout(c),c=setTimeout(p,250))},_=()=>f(),L=v=>{if(!(v.touches&&v.touches.length===1))return;const m=v.target;m&&m.classList&&m.classList.contains("map-scroll-edge")||f()},g=()=>{c&&clearTimeout(c),p()};e.addEventListener("wheel",_,{passive:!0}),e.addEventListener("touchmove",L,{passive:!0}),e.addEventListener("touchend",g,{passive:!0}),e.addEventListener("touchcancel",g,{passive:!0});const w=()=>{u||f()};typeof window<"u"&&window.addEventListener("scroll",w,{passive:!0});const A=[];for(const v of n){const m=()=>{l.add(v),a(v)},d=()=>{l.delete(v),s(v)},k=()=>{u=!0,a(v)},$=()=>{u=!1,s(v)};v.addEventListener("mouseenter",m),v.addEventListener("mouseleave",d),v.addEventListener("touchstart",k,{passive:!0}),v.addEventListener("touchend",$,{passive:!0}),A.push(()=>{v.removeEventListener("mouseenter",m),v.removeEventListener("mouseleave",d),v.removeEventListener("touchstart",k),v.removeEventListener("touchend",$)})}return function(){c&&(clearTimeout(c),c=null),e.removeEventListener("wheel",_),e.removeEventListener("touchmove",L),e.removeEventListener("touchend",g),e.removeEventListener("touchcancel",g),typeof window<"u"&&window.removeEventListener("scroll",w);for(const m of A)m();for(const m of n)s(m)}}const W1={class:"upg-root"},Y1={key:0,class:"upg-map-err"},q1={class:"upg-legend-desktop-slot"},J1={class:"upg-legend-mobile-slot"},Z1={class:"upg-detail-desktop-slot"},X1={key:4,class:"upg-hud"},Q1={key:0,class:"upg-hud-head"},ek={class:"upg-hud-total"},tk={key:1,class:"upg-hud-names"},ok={key:2,class:"upg-hud-swatches"},nk=["data-color","title","onClick"],ak={key:3,class:"upg-hud-actions"},rk={key:4,class:"upg-hud-flash"},sk={class:"upg-status"},Hs="upg-search",rd="My UPG 100 List — Legend",ik="people-groups",lk="Search people group, zone, or territory…",sd=8,zs=123,ck=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-list",setup(e){const t=Ui(()=>yn(()=>Promise.resolve().then(()=>Sv),void 0)),o=Te("mapboxToken",ue("")),n=Te("profileConfig",ue(null)),r=Q(()=>{var G;const Y=(G=n.value)==null?void 0:G.edgeScrollAffordance;return Y==null?!0:!(Y===!1||Y==="false")}),a=Te("dataStore",null),s=Te("uiStore",null),i=ue(null),l=ue("loading…"),u=ue(""),c=Ln([]),p=ue(null),f=Ln(null),_=ue(!1),L=My("my-upg-100-list");L.theme.value="light",Ny(L);const g=ue([]),w=Q(()=>g.value.reduce((Y,G)=>Y+(Number(G.count)||0),0)),A=Q(()=>g.value.length),v=ue("");let m=null;const d=ue(!1);function k(Y){const G=Y===void 0?!d.value:!!Y;return G===d.value||(d.value=G,N&&(N.getCanvas().style.cursor=""),ze()),G}function $(){k()}at([d,_],()=>{tn(()=>R())});function O(Y){if(!Y)return;const G=g.value,J=G.findIndex(re=>re.key===Y.key);J>=0?g.value=G.filter((re,xe)=>xe!==J):g.value=[...G,Y],ze(),v.value=""}const I=["#e69f00","#56b4e9","#009e73","#f0e442","#0072b2","#d55e00","#cc79a7","#999999"],M=ue(""),U=ue("");function ee(Y){const G=/^#?([0-9a-fA-F]{6})$/.exec(String(Y||"").trim());if(!G)return;const J="#"+G[1].toLowerCase();M.value=M.value===J?"":J,ze()}function q(){/^#?[0-9a-fA-F]{6}$/.test(U.value.trim())&&ee(U.value)}const se=ue(null);let H=[],N=null,F=null,X=[],ie=null,pe=null,z=null;const de=typeof window<"u"&&window.MAP_APP_API_URL||"https://pray.doxa.life";St(`.upg-root{position:absolute;inset:0;background:#0a1410;color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.upg-map{position:absolute;inset:0}.upg-map-err{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:1;pointer-events:none;text-align:center;padding:0 24px;font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#9aa7b8}.upg-map-err strong{display:block;font-size:14px;color:#cbd5e1;margin-bottom:4px}.map-scroll-edge{position:absolute;top:0;bottom:0;width:40px;z-index:2;touch-action:pan-y;pointer-events:auto;background:transparent}.map-scroll-edge--left{left:0}.map-scroll-edge--right{right:0}.upg-legend-mobile-slot{display:none}@media(max-width:767px){.upg-legend-mobile-slot{display:block}.upg-legend-desktop-slot{display:none}.upg-detail-desktop-slot{display:none}}.upg-status{position:absolute;bottom:10px;right:10px;z-index:5;font:10px/1 ui-monospace,monospace;color:#9aa7b8;background:rgba(10,14,21,.82);padding:6px 10px;border-radius:8px}.upg-detail-panel{position:absolute;top:60px;right:8px;bottom:10px;width:340px;max-width:calc(100vw - 16px);z-index:6;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.45);overflow:hidden;display:flex;flex-direction:column;animation:upgPanelIn .18s ease}.upg-detail-panel.dark{background:#1a1a2e}@keyframes upgPanelIn{from{transform:translateX(16px);opacity:0}to{transform:translateX(0);opacity:1}}@media(max-width:480px){.upg-detail-panel{top:auto;left:8px;right:8px;width:auto;height:55vh}}.upg-hud{position:absolute;bottom:34px;right:10px;z-index:6;min-width:150px;font:11px/1.35 ui-monospace,monospace;color:#e5e7eb;background:rgba(10,20,16,.92);border:1px solid rgba(110,231,183,.35);border-radius:10px;padding:8px 10px;box-shadow:0 4px 16px rgba(0,0,0,.4)}.upg-hud-head{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.upg-hud-total{font-size:15px;font-weight:700;color:#6ee7b7}.upg-hud-band{margin-left:auto;font-size:9px;color:#9aa7b8}.upg-hud-band.ok{color:#6ee7b7}.upg-hud-names{margin-top:5px;max-height:84px;overflow:auto;font-size:10px;color:#cbd5e1;line-height:1.45;word-break:break-word}.upg-hud-actions{display:flex;gap:6px;margin-top:7px}.upg-hud-btn{flex:1;cursor:pointer;border:1px solid rgba(110,231,183,.4);background:rgba(16,185,129,.18);color:#d1fae5;font:12px/1 ui-monospace,monospace;padding:0 10px;min-height:40px;border-radius:8px}.upg-hud-btn:hover{background:rgba(16,185,129,.32)}.upg-hud-btn.clear{background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.4);color:#cbd5e1}.upg-hud-flash{margin-top:5px;font-size:9px;color:#6ee7b7;min-height:11px}.upg-hud-hint{margin-top:4px;font-size:9px;color:#64748b}.upg-hud-swatches{display:flex;gap:6px;margin-top:7px;align-items:center;flex-wrap:wrap}.upg-swatch{width:40px;height:40px;border-radius:9px;cursor:pointer;padding:0;border:1px solid rgba(255,255,255,.3)}.upg-swatch.active{outline:2px solid #fff;outline-offset:1px}.upg-hex{width:84px;min-height:40px;background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.4);color:#cbd5e1;font:12px/1 ui-monospace,monospace;padding:0 8px;border-radius:8px}@media(max-width:480px){.upg-hud{left:8px;right:8px;min-width:0;bottom:30px;max-height:48vh;overflow:auto}}.map-toolbar .mcb.upg-batch-on{background:#10b981!important;color:#04241a!important;box-shadow:0 0 0 2px rgba(52,211,153,.45),0 1px 4px rgba(0,0,0,0.2)!important}.map-toolbar .mcb.upg-batch-on.dark{border-color:#34d399!important}.upg-batch-row{position:relative;background:rgba(16,185,129,.16)!important;opacity:1!important;box-shadow:inset 3px 0 0 0 #10b981}.upg-batch-row .stl-name{color:#065f46!important;font-weight:700}.stl-panel[data-theme="dark"] .upg-batch-row .stl-name,.upg-batch-row.dark .stl-name{color:#6ee7b7!important}.upg-batch-row .stl-dot{box-shadow:0 0 0 2px #10b981}.mapboxgl-ctrl-top-left{top:12px!important;left:8px!important;width:380px!important;max-width:380px!important;z-index:1200!important}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:0!important;float:none!important}.stl-panel{top:58px!important}.dg-main{font:13px/1.3 ui-monospace,monospace}.dg-meta{margin-top:2px;font-size:11px;color:#475569;display:flex;flex-wrap:wrap;gap:8px}.dg-field strong{font-weight:700}.dg-section-header-item{padding:4px 8px;font:10px/1.2 ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;pointer-events:none}`);function ge(Y){const G=[];for(const J of Y)G.push(J.zoneKey,j1(J.zoneKey,J.color));return["match",["get","zoneKey"],...G,"#9ca3af"]}function Pe(){if(N.getSource("tapestry"))return;N.addSource("tapestry",{type:"geojson",data:F});const Y=_.value?.45:.3,G=_.value?.65:.45;N.addLayer({id:"tapestry-fill",type:"fill",source:"tapestry",paint:{"fill-color":ie,"fill-opacity":["case",["==",["get","zoneKey"],"deaf"],Y,G]}}),N.addLayer({id:"tapestry-line",type:"line",source:"tapestry",paint:{"line-color":ie,"line-width":1.2,"line-opacity":.9}})}function Be(){!N||!N.getSource("tapestry")||N.getLayer("upg-sel-fill")||(N.addLayer({id:"upg-sel-fill",type:"fill",source:"tapestry",filter:["boolean",!1],paint:{"fill-color":"#f59e0b","fill-opacity":.28}}),N.addLayer({id:"upg-sel-line",type:"line",source:"tapestry",filter:["boolean",!1],paint:{"line-color":"#fbbf24","line-width":2.4,"line-opacity":.95}}))}function st(){const Y=[],G=[],J=[];for(const xe of g.value)xe.kind==="adm1"?Y.push(xe.name):xe.kind==="adm0"?G.push(xe.key.slice(5)):xe.kind==="zone"&&J.push(xe.key.slice(5));const re=[];return Y.length&&re.push(["in",["get","shapeName"],["literal",Y]]),G.length&&re.push(["in",["get","iso3"],["literal",G]]),J.length&&re.push(["in",["get","zoneKey"],["literal",J]]),re.length?re.length===1?re[0]:["any",...re]:["boolean",!1]}function ze(){if(R(),!N||!N.getLayer("upg-sel-fill"))return;const Y=d.value?st():["boolean",!1];N.setFilter("upg-sel-fill",Y),N.setFilter("upg-sel-line",Y);const G=M.value;N.setPaintProperty("upg-sel-fill","fill-color",G||"#f59e0b"),N.setPaintProperty("upg-sel-fill","fill-opacity",G?.55:.28),N.setPaintProperty("upg-sel-line","line-color",G||"#fbbf24")}let Ve=null,it=!1;function Ue(){if(!(!N||!N.getLayer("tapestry-fill"))){if(Ve)try{N.off("click","tapestry-fill",Ve)}catch{}Ve=Y=>{const G=Y&&Y.features&&Y.features[0];if(G&&d.value){const J=ed(G.properties,{nameMap:m});if(!J){console.warn("[batch-select] clicked feature has no shapeName/iso3",G.properties);return}J.count==null&&console.warn("[batch-select] no UUPG count for territory",J.name,G.properties),O(J)}},N.on("click","tapestry-fill",Ve),it||(N.on("mouseenter","tapestry-fill",()=>{N&&(N.getCanvas().style.cursor=d.value?"crosshair":"")}),N.on("mouseleave","tapestry-fill",()=>{N&&(N.getCanvas().style.cursor="")}),it=!0)}}function Ze(){g.value=[],v.value="",M.value="",U.value="",ze()}async function At(){if(!g.value.length)return;const Y=td(g.value,{color:M.value});typeof window<"u"&&(window.__UPG_LAST_CLIPBOARD__=Y);let G=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(Y),G=!0):G=S(Y)}catch{G=S(Y)}v.value=G?"Copied!":"Copy failed — press Ctrl/Cmd-C",setTimeout(()=>{v.value.startsWith("Copied")&&(v.value="")},1800)}function S(Y){try{const G=document.createElement("textarea");G.value=Y,G.style.position="fixed",G.style.opacity="0",G.style.top="0",document.body.appendChild(G),G.focus(),G.select();const J=document.execCommand&&document.execCommand("copy");return document.body.removeChild(G),!!J}catch{return!1}}function C(Y){if(a&&typeof a.cacheSourceData=="function"){const G=H1({records:Y,leafZones:X,adm1Counts:ur,iso3Names:ta,countryNameMap:m,centroidFor:J=>{const re=b(J);return re?[(re[0][0]+re[1][0])/2,(re[0][1]+re[1][1])/2]:null}});a.cacheSourceData(Hs,{normalizedData:G})}H=U1({records:Y,leafZones:X,adm1Counts:ur,iso3Names:ta,countryNameMap:m}),typeof window<"u"&&(window.__UPG_SEARCH__={size:()=>H.length,counts:()=>{const G={pg:0,zone:0,territory:0};for(const J of H)G[J.kind]=(G[J.kind]||0)+1;return G},query:G=>od(H,G,{limit:sd}).map(J=>({label:J.label,kind:J.kind,target:J.target})),select:G=>{const J=od(H,G,{limit:sd})[0];return J?(W(J.target),{label:J.label,kind:J.kind,target:J.target}):null},feedSize:()=>{const G=a&&a.sources&&a.sources[Hs];return G&&Array.isArray(G.features)&&G.features.length||0},localGeocoder:G=>{const J=se.value&&se.value.geocoder,re=J&&J.options&&J.options.localGeocoder;return re?re(G).map(xe=>xe&&xe.place_name):null}})}function x(Y){const G=Y&&Y.properties||{},J=G.__upgKind;if(J==="zone")te(G.__zoneId);else if(J==="territory")h(G.__shapeName);else{const re=Y&&Y.geometry,xe=re&&Array.isArray(re.coordinates)?re.coordinates:null;xe&&Number.isFinite(xe[0])&&Number.isFinite(xe[1])&&N&&N.flyTo({center:[xe[0],xe[1]],zoom:6,duration:800}),oe(G.slug)}}function B(Y){if(!Y||!N)return;const G=new Set(Y.memberIds||[]);if(!G.size)return;let J=[];try{J=N.querySourceFeatures("upg").filter(Re=>{const fe=Re.properties||{};return G.has(fe.slug)||G.has(fe.id)||G.has(fe.peopleGroupId)})}catch{return}if(!J.length)return;let re=180,xe=90,Tt=-180,gt=-90,Ie=!1;for(const Re of J){const fe=Re.geometry&&Re.geometry.coordinates;!Array.isArray(fe)||!Number.isFinite(fe[0])||!Number.isFinite(fe[1])||(fe[0]Tt&&(Tt=fe[0]),fe[1]gt&&(gt=fe[1]),Ie=!0)}Ie&&N.fitBounds([[re,xe],[Tt,gt]],{padding:60,duration:800,maxZoom:6})}function K(){Le(null),s&&typeof s.selectPeopleGroup=="function"&&s.selectPeopleGroup(null)}function W(Y){!Y||!N||(Y.type==="pg"?(Number.isFinite(Y.lng)&&Number.isFinite(Y.lat)&&N.flyTo({center:[Y.lng,Y.lat],zoom:6,duration:800}),oe(Y.slug)):Y.type==="zone"?te(Y.zoneId):Y.type==="territory"&&h(Y.shapeName))}function oe(Y){if(!Y||!s||typeof s.selectPeopleGroup!="function")return;const G=N&&N.getSource&&N.getSource("upg"),re=(G&&G._data&&G._data.features||[]).find(xe=>xe.properties&&xe.properties.slug===Y);re&&s.selectPeopleGroup(re)}function te(Y){if(!Y||!N||!F)return;const G=b(J=>J.properties&&J.properties.zoneKey===Y);G&&N.fitBounds(G,{padding:40,duration:800,maxZoom:6})}function h(Y){if(!Y||!N||!F)return;const G=b(J=>{const re=J.properties||{};return re.shapeName===Y||re.iso3===Y});G&&N.fitBounds(G,{padding:40,duration:800,maxZoom:6})}function b(Y){let G=180,J=90,re=-180,xe=-90,Tt=!1;const gt=Ie=>{if(typeof Ie[0]=="number"){const[Re,fe]=Ie;Rere&&(re=Re),fexe&&(xe=fe),Tt=!0;return}for(const Re of Ie)gt(Re)};for(const Ie of F.features)Y(Ie)&>(Ie.geometry.coordinates);return Tt?[[G,J],[re,xe]]:null}function D(Y){const G=new Set,J=re=>{re.children&&re.children.length?re.children.forEach(J):G.add(re.zoneKey??re.id)};return J(Y),G}let y=null;function E(Y){if(![...D(Y)].length)return;const J=[],re=Ie=>{Ie.children&&Ie.children.length?Ie.children.forEach(re):J.push(Ie)};re(Y);const xe=g.value,Tt=new Set(xe.filter(Ie=>Ie.kind==="zone").map(Ie=>Ie.key));if(J.every(Ie=>Tt.has("zone:"+(Ie.zoneKey??Ie.id)))){const Ie=new Set(J.map(Re=>"zone:"+(Re.zoneKey??Re.id)));g.value=xe.filter(Re=>!Ie.has(Re.key))}else{const Ie=J.filter(Re=>!Tt.has("zone:"+(Re.zoneKey??Re.id))).map(Re=>({key:"zone:"+(Re.zoneKey??Re.id),name:Re.label||Re.id,count:Number(Re.count)||0,kind:"zone"}));g.value=[...xe,...Ie]}ze(),v.value=""}function j(){const Y=new Set;for(const G of g.value)G.kind==="zone"&&Y.add(G.key.slice(5));return Y}function P(){const Y=new Map,G=J=>{const re=D(J);J.label&&Y.set(J.label,re),J.children&&J.children.length&&J.children.forEach(G)};for(const J of c.value)G(J);return Y}function R(){if(typeof document>"u")return;const Y=document.querySelector("my-upg-100-list-map"),J=(Y&&Y.shadowRoot||document).querySelectorAll(".stl-row");if(!J.length)return;if(!d.value){J.forEach(gt=>gt.classList.remove("upg-batch-row"));return}const re=j(),xe=P(),Tt=_.value;J.forEach(gt=>{const Ie=gt.querySelector(".stl-name"),Re=Ie?Ie.textContent.trim():"",fe=Re&&xe.get(Re),We=!!(fe&&fe.size&&[...fe].every(tt=>re.has(tt)));gt.classList.toggle("upg-batch-row",We),gt.classList.toggle("dark",We&&Tt)})}let ne=null;function ae(){if(typeof document>"u"||ne)return;const Y=document.querySelector("my-upg-100-list-map"),J=(Y&&Y.shadowRoot||document).querySelector(".stl-rows");J&&(ne=new MutationObserver(()=>{requestAnimationFrame(()=>R())}),ne.observe(J,{childList:!0,subtree:!0}))}Ft("onSemanticTreeSelect",Le);function we(Y){var xe;const G=p.value;if(!G)return;if(Y==="packet"){l.value="Prayer List — coming soon",setTimeout(()=>{l.value=""},2600);return}const J=String(((xe=n.value)==null?void 0:xe.assetsBase)||"./assets").replace(/\/+$/,""),re=document.createElement("a");re.href=`${J}/posters/${G}.webp`,re.download=`doxa-upg-100-${G}-poster.webp`,document.body.appendChild(re),re.click(),re.remove()}function Le(Y){if(!N||!N.getLayer("tapestry-fill"))return;if(d.value){Y&&E(Y);return}if(!Y){y=null,p.value=null,N.setFilter("tapestry-fill",null),N.setFilter("tapestry-line",null),N.setPaintProperty("upg-pins","circle-opacity",.85);return}y=Y;const G=[...D(Y)];p.value=G.length===1?G[0]:Y.id??null;const J=["in",["get","zoneKey"],["literal",G]];N.setFilter("tapestry-fill",J),N.setFilter("tapestry-line",J),N.getLayer("upg-pins")&&N.setPaintProperty("upg-pins","circle-opacity",["case",["in",["get","zoneKey"],["literal",G]],.95,.05]);const re=b(xe=>G.includes(xe.properties.zoneKey));re&&N.fitBounds(re,{padding:40,duration:700,maxZoom:6})}function Ne(){!N||!F||(Pe(),typeof z=="function"&&z(),Be(),Ue(),ze(),p.value&&N.getLayer("tapestry-fill")&&Le(y))}function Wt(){N&&(_.value=!_.value,L.theme.value=_.value?"dark":"light",N.setStyle(_.value?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11"),N.once("style.load",Ne))}function oa(){!N||!N.getLayer("upg-pins")||(N.on("click","upg-pins",Y=>{const G=Y&&Y.features&&Y.features[0];G&&s&&typeof s.selectPeopleGroup=="function"&&s.selectPeopleGroup(G)}),N.on("mouseenter","upg-pins",()=>{N&&(N.getCanvas().style.cursor="pointer")}),N.on("mouseleave","upg-pins",()=>{N&&(N.getCanvas().style.cursor="")}))}let lt=null;function Dt(Y){var re;const G=((re=Y==null?void 0:Y.detail)==null?void 0:re.listId)??null;if(!G){Le(null);return}const J=na(c.value,G);J&&Le(J)}function na(Y,G){for(const J of Y||[]){if((J.zoneKey||J.id)===G)return J;const re=J.children&&na(J.children,G);if(re)return re}return null}function dr(){const Y=Us(wo,{deafCount:zs});c.value=Y,X=Ju(Y);const G={};for(const J of wo.lists||[])G[J.id]=J.selector;for(const J of wo.asia_lists||[])G[J.id]=J.selector;for(const J of wo.uncovered_lists||[])G[J.id]=J.selector;G.deaf={type:"affinity_bloc",rop1:"A017"};for(const J of X)J.selector=G[J.id];ie=ge(X)}async function cd(){try{const G=await fetch(`${de}/api/people-groups/list?fields=slug,name,country_code,wagf_region,wagf_block,rop1,population,latitude,longitude&lang=en`,{cache:"no-store"});if(!G.ok)throw new Error(`list ${G.status}`);const J=Vu(Wu(await G.json()));m=Qu(J),c.value=Us(wo,{deafCount:zs,records:J})}catch{}}return eo(async()=>{var xe,Tt,gt,Ie,Re;dr();const Y=window.mapboxgl,G=(o==null?void 0:o.value)||((xe=n==null?void 0:n.value)==null?void 0:xe.tk)||"";if(!Y){l.value="⚠ mapbox-gl not loaded",u.value="mapbox-gl did not load. The list and legend are unaffected.",cd();return}if(!G){l.value="⚠ no mapbox token",u.value="No Mapbox token configured. The list and legend are unaffected.",cd();return}Y.accessToken=G;try{const fe=i.value&&i.value.getRootNode();if(fe instanceof ShadowRoot){const We="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.css";if(!fe.querySelector(`link[href="${We}"]`)){const tt=document.createElement("link");tt.rel="stylesheet",tt.href=We,fe.prepend(tt)}}}catch{}N=new Y.Map({container:i.value,style:"mapbox://styles/mapbox/light-v11",center:[35,20],zoom:1.5,projection:"mercator"}),f.value=N,pe=V1(((Tt=i.value)==null?void 0:Tt.parentElement)||null,{enabled:r.value}),typeof window<"u"&&(window.__UPG_MAP__=N),window.__UPG_SELECT__={get list(){return g.value.map(fe=>({...fe}))},get total(){return w.value},get count(){return A.value},get color(){return M.value},get batchMode(){return d.value},setColor:fe=>ee(fe),setBatchMode:fe=>k(fe),clipboardText:()=>td(g.value,{color:M.value}),clear:()=>Ze(),toggleByProps:fe=>{const We=ed(fe,{nameMap:m});return We?(O(We),{...We}):null},toggleLegendRow:fe=>{const We=Fo=>{for(const Qe of Fo){if(Qe.label===fe)return Qe;if(Qe.children&&Qe.children.length){const io=We(Qe.children);if(io)return io}}return null},tt=We(c.value);return tt?(E(tt),{label:tt.label,zoneKeys:[...D(tt)]}):null},markedLegendRows:()=>{if(typeof document>"u")return[];const fe=document.querySelector("my-upg-100-list-map");return[...(fe&&fe.shadowRoot||document).querySelectorAll(".stl-row.upg-batch-row .stl-name")].map(tt=>tt.textContent.trim())},highlightFeatureCount:()=>{if(!N||!F||!N.getLayer("upg-sel-fill"))return-1;const fe=new Set,We=new Set,tt=new Set;for(const Qe of g.value)Qe.kind==="zone"?fe.add(Qe.key.slice(5)):Qe.kind==="adm1"?We.add(Qe.name):Qe.kind==="adm0"&&tt.add(Qe.key.slice(5));let Fo=0;for(const Qe of F.features){const io=Qe.properties||{};(fe.has(io.zoneKey)||We.has(io.shapeName)||tt.has(io.iso3))&&Fo++}return Fo},zoneKeysForRow:fe=>{const We=Fo=>{for(const Qe of Fo){if(Qe.label===fe)return Qe;if(Qe.children&&Qe.children.length){const io=We(Qe.children);if(io)return io}}return null},tt=We(c.value);return tt?[...D(tt)]:null}};try{l.value="loading boundaries…";const fe=Fe=>{var ot;return`${String(((ot=n.value)==null?void 0:ot.assetsBase)||"./assets").replace(/\/+$/,"")}/boundaries/${Fe}`},We=Fe=>fetch(fe(Fe)).then(ot=>{if(!ot.ok)throw new Error(`boundary fetch ${ot.status} ${Fe}`);return ot.json()}),[tt,Fo,Qe]=await Promise.all([We("world-adm0.geojson"),We("gb-IND-ADM1.geojson"),We("gb-CHN-ADM1.geojson")]);l.value="fetching 2106 UUPGs…";const Vs=await fetch(`${de}/api/people-groups/list?fields=slug,name,country_code,wagf_region,wagf_block,rop1,population,latitude,longitude&lang=en`,{cache:"no-store"});if(!Vs.ok)throw new Error(`list ${Vs.status}`);const mn=Vu(Wu(await Vs.json()));m=Qu(mn),c.value=Us(wo,{deafCount:zs,records:mn});const{tapestry:_k,perZone:vk}=D1(X,{records:mn,adm0:tt,adm1Ind:Fo,adm1Chn:Qe});F=Do(_k),C(mn);const Ws=[],aa={},{evaluate:kk}=await yn(async()=>{const{evaluate:Fe}=await Promise.resolve().then(()=>P1);return{evaluate:Fe}},void 0);for(const Fe of X)if(Fe.selector&&Fe.selector.type==="pg_slugs")for(const ot of Fe.selector.values||[])ot in aa||(aa[ot]=Fe.zoneKey);else try{for(const ot of kk(Fe.selector,mn))ot in aa||(aa[ot]=Fe.zoneKey)}catch(ot){console.warn("zone selector skipped",Fe.id,ot&&ot.message)}for(const Fe of mn){const ot=Number(Fe.latitude),qs=Number(Fe.longitude);!isFinite(ot)||!isFinite(qs)||Ws.push({type:"Feature",geometry:{type:"Point",coordinates:[qs,ot]},properties:{slug:Fe.slug,zoneKey:aa[Fe.slug]||"",name:Fe.name||Fe.slug||"",population:Fe.population??0,countryName:Fe.country_code_label||"",country:Fe.country_code||""}})}const wk=Do({type:"FeatureCollection",features:Ws});z=()=>{N.getSource("upg")||(N.addSource("upg",{type:"geojson",data:wk}),N.addLayer({id:"upg-pins",type:"circle",source:"upg",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,4,4,8,6],"circle-color":ie,"circle-opacity":.85,"circle-stroke-width":.6,"circle-stroke-color":"rgba(255,255,255,0.6)"}}),oa())};let Ys=!0;const bn=()=>{Ys&&(Ys=!1,N.off("style.load",bn),N.off("idle",bn),Ne())};if(N.isStyleLoaded())bn();else{N.once("style.load",bn),N.once("idle",bn);const Fe=setInterval(()=>{if(!Ys||!N){clearInterval(Fe);return}let ot=!1;try{ot=N.isStyleLoaded()}catch{clearInterval(Fe);return}ot&&(clearInterval(Fe),bn())},120);setTimeout(()=>clearInterval(Fe),15e3)}const xk=[...vk.values()].filter(Fe=>Fe>=1).length;l.value=`${F.features.length} polys · ${xk}/26 zones · ${Ws.length} pins`}catch(fe){l.value="⚠ "+(fe&&fe.message?fe.message:String(fe))}let J=0;const re=()=>{const fe=typeof document<"u"&&document.querySelector("my-upg-100-list-map"),We=fe&&fe.shadowRoot||(typeof document<"u"?document:null);if(We&&We.querySelector(".stl-rows")){ae(),R();return}J++<40&&setTimeout(re,250)};re();{const fe=(Re=(Ie=(gt=i.value)==null?void 0:gt.getRootNode)==null?void 0:Ie.call(gt))==null?void 0:Re.host;fe&&(lt=Dt,fe.addEventListener("doxa:select-zone",lt))}}),$o(()=>{var Y,G,J;if(lt){const re=(J=(G=(Y=i.value)==null?void 0:Y.getRootNode)==null?void 0:G.call(Y))==null?void 0:J.host;re==null||re.removeEventListener("doxa:select-zone",lt),lt=null}if(ne){try{ne.disconnect()}catch{}ne=null}if(pe){try{pe()}catch{}pe=null}N&&(N.remove(),N=null),F=null}),(Y,G)=>{var J;return V(),Z("div",W1,[T("div",{ref_key:"mapEl",ref:i,class:"upg-map"},null,512),u.value?(V(),Z("div",Y1,[G[1]||(G[1]=T("strong",null,"Map unavailable",-1)),dt(le(u.value),1)])):he("",!0),r.value?(V(),Z(Se,{key:1},[G[2]||(G[2]=T("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),G[3]||(G[3]=T("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1))],64)):he("",!0),f.value?(V(),ut(L1,{key:2,ref_key:"geocoderRef",ref:se,"map-instance":f.value,"access-token":me(o)||((J=me(n))==null?void 0:J.tk)||"","data-source-id":Hs,"is-dark":_.value,placeholder:lk,"active-context":ik,onPeopleGroupResult:x,onAggregateResult:B,onClear:K},null,8,["map-instance","access-token","is-dark"])):he("",!0),f.value?(V(),ut(Fv,{key:3},{default:Ut(()=>[De(Dv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),De(Bv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),De(jv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),De(Kv,{"map-container":i.value,"is-dark":_.value},null,8,["map-container","is-dark"]),De(zv,{"is-dark":_.value,onToggle:Wt},null,8,["is-dark"]),De(Uu,{"is-dark":_.value,"embed-path":"my-upg-100-list/upg-100-list/index.html"},null,8,["is-dark"]),De(Vo,{"is-dark":_.value,active:d.value,class:$e({"upg-batch-on":d.value}),"aria-pressed":d.value?"true":"false",title:"Batch Select",onClick:$},{default:Ut(()=>[...G[4]||(G[4]=[T("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[T("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),T("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),T("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),T("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})],-1)])]),_:1},8,["is-dark","active","class","aria-pressed"])]),_:1})):he("",!0),T("div",q1,[c.value.length?(V(),ut(fu,{key:0,nodes:c.value,columns:["count","pop"],title:rd,"export-enabled":!0,onSelect:Le,onExport:we},null,8,["nodes"])):he("",!0)]),T("div",J1,[c.value.length?(V(),ut(Rv,{key:0,"legend-type":"upg-100",nodes:c.value,columns:["count","pop"],"column-label":"UPG 100",title:rd,"is-dark":_.value,"popup-action":"pray"},null,8,["nodes","is-dark"])):he("",!0)]),T("div",Z1,[me(s)&&me(s).selectedPeopleGroup?(V(),Z("div",{key:0,class:$e(["upg-detail-panel pg-detail-root",{dark:_.value}])},[De(me(t),{peopleGroup:me(s).selectedPeopleGroup,dark:_.value,action:"pray"},null,8,["peopleGroup","dark"])],2)):he("",!0)]),d.value?(V(),Z("div",X1,[G[5]||(G[5]=T("div",{class:"upg-hud-hint"}," Tap territories on the map or legend rows to add · tap again to remove ",-1)),A.value?(V(),Z("div",Q1,[T("span",null,le(A.value)+" territor"+le(A.value===1?"y":"ies")+" ·",1),T("span",ek,le(w.value)+" UUPG",1),T("span",{class:$e(["upg-hud-band",{ok:w.value>=50&&w.value<=100}])},le(w.value>=50&&w.value<=100?"✓ 50–100 band":"band 50–100"),3)])):he("",!0),A.value?(V(),Z("div",tk,le(g.value.map(re=>re.name).join(", ")),1)):he("",!0),A.value?(V(),Z("div",ok,[(V(),Z(Se,null,Lt(I,re=>T("button",{key:re,class:$e(["upg-swatch",{active:M.value===re}]),"data-color":re,style:ft({background:re}),title:re,onClick:xe=>ee(re)},null,14,nk)),64)),np(T("input",{"onUpdate:modelValue":G[0]||(G[0]=re=>U.value=re),class:"upg-hex",placeholder:"#hex",spellcheck:"false",onChange:q,onKeyup:Bg(q,["enter"])},null,544),[[Rg,U.value]])])):he("",!0),A.value?(V(),Z("div",ak,[T("button",{class:"upg-hud-btn copy",onClick:At},"Copy selection"),T("button",{class:"upg-hud-btn clear",onClick:Ze},"Clear")])):he("",!0),A.value?(V(),Z("div",rk,le(v.value),1)):he("",!0)])):he("",!0),T("div",sk,le(l.value),1)])}}}},Symbol.toStringTag,{value:"Module"})),uk=` + `));return!0}function ed(e){const t=[],o=n=>{for(const r of n)r.children&&r.children.length?o(r.children):t.push(r)};return o(e||[]),t}const td=()=>({type:"FeatureCollection",features:[]});function V1(e,t){const o=aa(e.selector,t),n=new Set;for(const r of t)r&&o.has(r.slug)&&r.country_code&&n.add(r.country_code);return n}function W1(e){return typeof e.id=="string"&&e.id.startsWith("asia-")}function Hs(e,t){return{type:"Feature",properties:{...e.properties||{},zoneKey:t.zoneKey??t.id,zoneColor:t.color??t.zoneColor??"#888",zoneLabel:t.label,...t.id==="deaf"?{hatch:!0}:{}},geometry:e.geometry}}function Y1(e,t){const{records:o=[],adm0:n,adm1Ind:r,adm1Chn:a}=t||{},s=td();if(W1(e)){const l=[r,a].filter(Boolean);for(const c of l)for(const u of c.features||[])u.properties&&u.properties.listId===e.id&&s.features.push(Hs(u,e));if(Array.isArray(e.adm0)&&e.adm0.length&&n){const c=new Set(e.adm0);for(const u of n.features||[])u.properties&&c.has(u.properties.iso3)&&s.features.push(Hs(u,e))}return s}if(!e.selector)return s;const i=V1(e,o);if(n&&i.size)for(const l of n.features||[])l.properties&&i.has(l.properties.iso3)&&s.features.push(Hs(l,e));return s}function q1(e,t){const o=td(),n=new Map;for(const r of e){if(r.id==="deaf"){n.set(r.zoneKey??r.id,0);continue}const a=Y1(r,t);n.set(r.zoneKey??r.id,a.features.length);for(const s of a.features)o.features.push(s)}return{tapestry:o,perZone:n}}const J1={"andean-caribbean":"#f9a51f","asia-china-tibet-autonomous-region":"#00f0c8","asia-china-yunnan-province":"#22ddff","asia-frontier-nas-a":"#ff1744","asia-india-andhra-pradesh":"#22ddff","asia-india-assam":"#22ddff","asia-india-chhattisgarh":"#536dfe","asia-india-gujarat":"#536dfe","asia-india-karnataka":"#536dfe","asia-india-kerala":"#2196ff","asia-india-madhya-pradesh":"#2196ff","asia-india-maharashtra":"#2196ff","asia-india-odisha":"#2196ff","asia-india-rajasthan":"#22ddff","asia-india-tamil-nadu":"#7c4dff","asia-india-uttarakhand":"#536dfe","asia-india-west-bengal":"#22ddff",brazil:"#f4c57b","central-africa":"#c20001",deaf:"#18ffff","east-africa":"#ef3410",europe:"#34cb74",laos:"#7c4dff","maghreb-egypt":"#602f74","mainland-se-asia-philippines":"#ff1744","middle-east-core":"#bc8bd0","oceania-indonesia":"#ee892f","southern-africa-islands":"#e75556",sudan:"#e69e93","uncovered-central-asia":"#ff8a00","uncovered-himalaya":"#ff6d00","uncovered-japan":"#ffc400","uncovered-mongolia":"#76ff03","uncovered-nas-a":"#ff1744","uncovered-nepal":"#ffea00","uncovered-sa-west":"#ff1744","uncovered-scatter":"#eeff41","west-africa":"#edcac9"};function Z1(e,t){const o=J1[e];return typeof o=="string"&&o?o:t}const dr={"Andaman and Nicobar Islands":9,"Andhra Pradesh":81,"Arunāchal Pradesh":7,Assam:15,Bihār:18,Chandīgarh:1,Chhattīsgarh:24,Delhi:1,"Dādra and Nagar Haveli and Damān and Diu":1,Goa:5,Gujarāt:90,Haryāna:4,"Himāchal Pradesh":20,"Jammu and Kashmīr":33,Jhārkhand:9,Karnātaka:81,Kerala:72,Ladākh:6,Lakshadweep:1,"Madhya Pradesh":33,Mahārāshtra:54,Manipur:5,Meghālaya:2,Odisha:64,Puducherry:5,Punjab:4,Rājasthān:48,Sikkim:1,"Tamil Nādu":64,Telangāna:26,Tripura:11,"Uttar Pradesh":23,Uttarākhand:7,"West Bengal":30,"Gansu Province":3,"Guangxi Zhuang Autonomous Region":6,"Guizhou Province":34,"Hainan Province":3,"Heilongjiang Province":2,"Hunan Province":5,"Inner Mongolia Autonomous Region":3,"Qinghai Province":3,"Sichuan Province":12,"Tibet Autonomous Region":13,"Xinjiang Uyghur Autonomous Region":7,"Yunnan Province":61},od={ABW:1,AFG:21,AGO:10,ALB:1,AND:1,ARE:2,ARM:1,ASM:1,ATG:1,AZE:3,BEN:9,BFA:8,BGD:3,BGR:1,BHR:2,BHS:1,BIH:1,BLM:1,BLR:1,BMU:1,BOL:1,BRA:103,BRB:1,BRN:5,BTN:13,CAF:1,CHN:154,CIV:2,CMR:8,COD:9,COG:2,COK:1,COL:27,COM:3,CUB:1,CUW:1,CYM:1,CYP:1,CZE:1,DJI:1,DMA:1,DZA:17,ECU:1,EGY:3,ERI:8,ESP:1,ETH:29,FIN:1,FJI:1,FRO:1,FSM:1,GAB:2,GEO:1,GGY:1,GHA:1,GIN:13,GLP:1,GMB:3,GNB:3,GNQ:1,GRC:1,GRD:1,GUF:2,GUM:1,GUY:1,IDN:36,IRN:20,IRQ:8,ISL:1,ISR:4,JAM:1,JOR:3,JPN:6,KAZ:1,KEN:5,KGZ:2,KHM:1,KIR:1,KWT:1,LAO:95,LBN:4,LBR:2,LBY:15,LCA:1,LIE:1,LKA:1,LUX:1,MAR:4,MDV:1,MHL:1,MLI:13,MLT:1,MMR:7,MNE:1,MNG:1,MNP:1,MOZ:4,MRT:3,MSR:1,MUS:1,MWI:1,MYS:12,MYT:1,NAM:6,NCL:1,NER:2,NGA:38,NIU:1,NPL:34,NZL:1,OMN:7,PAK:24,PAN:1,PER:10,PHL:1,PLW:1,PNG:1,PRK:1,PRY:1,PSE:4,PYF:1,QAT:3,RUS:21,SAU:3,SDN:105,SEN:1,SHN:1,SLB:1,SLE:2,SMR:1,SOM:9,SSD:22,STP:1,SUR:2,SWE:2,SWZ:1,SYR:5,TCA:1,TCD:53,TGO:6,THA:8,TJK:3,TON:1,TUN:2,TUR:3,TZA:16,UGA:6,USA:3,UZB:1,VCT:1,VEN:6,VGB:1,VIR:1,VNM:16,VUT:1,WLF:1,WSM:1,YEM:9,ZAF:2,ZMB:6,ZWE:3},ra={ABW:"Aruba",IND:"India",AFG:"Afghanistan",AGO:"Angola",ALB:"Albania",AND:"Andorra",ARE:"United Arab Emirates",ARM:"Armenia",ASM:"American Samoa",ATG:"Antigua and Barbuda",AZE:"Azerbaijan",BEN:"Benin",BFA:"Burkina Faso",BGD:"Bangladesh",BGR:"Bulgaria",BHR:"Bahrain",BHS:"Bahamas",BIH:"Bosnia and Herzegovina",BLM:"Saint Barthélemy",BLR:"Belarus",BMU:"Bermuda",BOL:"Bolivia",BRA:"Brazil",BRB:"Barbados",BRN:"Brunei",BTN:"Bhutan",CAF:"Central African Republic",CHN:"China",CIV:"Côte d'Ivoire",CMR:"Cameroon",COD:"DR Congo",COG:"Congo",COK:"Cook Islands",COL:"Colombia",COM:"Comoros",CUB:"Cuba",CUW:"Curaçao",CYM:"Cayman Islands",CYP:"Cyprus",CZE:"Czechia",DJI:"Djibouti",DMA:"Dominica",DZA:"Algeria",ECU:"Ecuador",EGY:"Egypt",ERI:"Eritrea",ESP:"Spain",ETH:"Ethiopia",FIN:"Finland",FJI:"Fiji",FRO:"Faroe Islands",FSM:"Micronesia",GAB:"Gabon",GEO:"Georgia",GGY:"Guernsey",GHA:"Ghana",GIN:"Guinea",GLP:"Guadeloupe",GMB:"Gambia",GNB:"Guinea-Bissau",GNQ:"Equatorial Guinea",GRC:"Greece",GRD:"Grenada",GUF:"French Guiana",GUM:"Guam",GUY:"Guyana",IDN:"Indonesia",IRN:"Iran",IRQ:"Iraq",ISL:"Iceland",ISR:"Israel",JAM:"Jamaica",JOR:"Jordan",JPN:"Japan",KAZ:"Kazakhstan",KEN:"Kenya",KGZ:"Kyrgyzstan",KHM:"Cambodia",KIR:"Kiribati",KWT:"Kuwait",LAO:"Laos",LBN:"Lebanon",LBR:"Liberia",LBY:"Libya",LCA:"Saint Lucia",LIE:"Liechtenstein",LKA:"Sri Lanka",LUX:"Luxembourg",MAR:"Morocco",MDV:"Maldives",MHL:"Marshall Islands",MLI:"Mali",MLT:"Malta",MMR:"Myanmar",MNE:"Montenegro",MNG:"Mongolia",MNP:"Northern Mariana Islands",MOZ:"Mozambique",MRT:"Mauritania",MSR:"Montserrat",MUS:"Mauritius",MWI:"Malawi",MYS:"Malaysia",MYT:"Mayotte",NAM:"Namibia",NCL:"New Caledonia",NER:"Niger",NGA:"Nigeria",NIU:"Niue",NPL:"Nepal",NZL:"New Zealand",OMN:"Oman",PAK:"Pakistan",PAN:"Panama",PER:"Peru",PHL:"Philippines",PLW:"Palau",PNG:"Papua New Guinea",PRK:"North Korea",PRY:"Paraguay",PSE:"Palestine",PYF:"French Polynesia",QAT:"Qatar",RUS:"Russia",SAU:"Saudi Arabia",SDN:"Sudan",SEN:"Senegal",SHN:"Saint Helena",SLB:"Solomon Islands",SLE:"Sierra Leone",SMR:"San Marino",SOM:"Somalia",SSD:"South Sudan",STP:"São Tomé and Príncipe",SUR:"Suriname",SWE:"Sweden",SWZ:"Eswatini",SYR:"Syria",TCA:"Turks and Caicos Islands",TCD:"Chad",TGO:"Togo",THA:"Thailand",TJK:"Tajikistan",TON:"Tonga",TUN:"Tunisia",TUR:"Turkey",TZA:"Tanzania",UGA:"Uganda",USA:"United States",UZB:"Uzbekistan",VCT:"Saint Vincent and the Grenadines",VEN:"Venezuela",VGB:"British Virgin Islands",VIR:"U.S. Virgin Islands",VNM:"Vietnam",VUT:"Vanuatu",WLF:"Wallis and Futuna",WSM:"Samoa",YEM:"Yemen",ZAF:"South Africa",ZMB:"Zambia",ZWE:"Zimbabwe"};function nd(e){const t={...ra};for(const o of e||[]){const n=o&&o.country_code,r=o&&o.country_code_label;n&&r&&(t[n]=r)}return t}function ad(e,t={}){if(!e||typeof e!="object")return null;const o=t.nameMap||ra;if(e.shapeName){const n=String(e.shapeName),r=Object.prototype.hasOwnProperty.call(dr,n)?dr[n]:null;return{key:"adm1:"+n,name:n,count:r,kind:"adm1"}}if(e.iso3){const n=String(e.iso3),r=o[n]||ra[n]||n,a=Object.prototype.hasOwnProperty.call(od,n)?od[n]:null;return{key:"adm0:"+n,name:r,count:a,kind:"adm0"}}return null}function rd(e,t={}){const o=Array.isArray(e)?e:[],n=o.map(l=>l.name),r=o.reduce((l,c)=>l+(Number(c.count)||0),0),a=t&&typeof t.color=="string"&&t.color?t.color:"",s=n.join(", ")+" — "+r+" UUPG"+(a?" · "+a:""),i=o.map(l=>l.name+" "+(Number(l.count)||0)).join(", ");return s+` +`+i}function kn(e){return String(e??"").normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim()}function X1(e){return kn(e).split(/[\s,;]+/).filter(Boolean)}function Q1(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:r={},countryNameMap:a=null}=e,s=[],i=new Set;for(const c of t){if(!c)continue;const u=c.slug;if(!u||i.has(u))continue;const d=Number(c.latitude),f=Number(c.longitude);if(!Number.isFinite(d)||!Number.isFinite(f))continue;const _=c.name||u;i.add(u),s.push({label:_,kind:"pg",target:{type:"pg",slug:u,lng:f,lat:d},_hay:kn(_)})}for(const c of o){if(!c)continue;const u=c.zoneKey||c.id,d=c.label||u;u&&s.push({label:d,kind:"zone",target:{type:"zone",zoneId:u},_hay:kn(d)})}for(const c of Object.keys(n))s.push({label:c,kind:"territory",target:{type:"territory",shapeName:c},_hay:kn(c)});const l=a||r;for(const c of Object.keys(r)){const u=l&&l[c]||r[c]||c;s.push({label:u,kind:"territory",target:{type:"territory",shapeName:c,iso3:!0},_hay:kn(u)})}return s}const ek={zone:0,territory:1,pg:2};function tk(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:r={},countryNameMap:a=null,centroidFor:s=null}=e,i=[];for(const u of t)u&&i.push(u);const l=(u,d,f)=>!d||!Number.isFinite(d[0])||!Number.isFinite(d[1])?null:{name:u,slug:f.__synthSlug,latitude:d[1],longitude:d[0],...f};for(const u of o){if(!u)continue;const d=u.zoneKey||u.id,f=u.label||d;if(!d)continue;const _=typeof s=="function"?s(b=>b&&b.properties&&b.properties.zoneKey===d):null,w=l(f,_,{__upgKind:"zone",__zoneId:d,__synthSlug:`__zone__${d}`});w&&i.push(w)}for(const u of Object.keys(n)){const d=typeof s=="function"?s(_=>_&&_.properties&&_.properties.shapeName===u):null,f=l(u,d,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});f&&i.push(f)}const c=a||r;for(const u of Object.keys(r)){const d=c&&c[u]||r[u]||u,f=typeof s=="function"?s(w=>w&&w.properties&&w.properties.iso3===u):null,_=l(d,f,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});_&&i.push(_)}return i}function sd(e,t,o={}){const n=o.limit??8,r=X1(t);if(!r.length)return[];const a=r[0],s=[];for(const i of e){let l=!0;for(const d of r)if(!i._hay.includes(d)){l=!1;break}if(!l)continue;const c=i._hay.startsWith(a)?0:1,u=i._hay===kn(t)?-1:0;s.push({e:i,starts:c,exact:u,kr:ek[i.kind]??9,len:i._hay.length})}return s.sort((i,l)=>i.exact-l.exact||i.starts-l.starts||i.kr-l.kr||i.len-l.len),s.slice(0,n).map(i=>i.e)}const ok="rgba(120, 128, 134, 0.28)",id="36px",ld=()=>{};function nk(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return ld;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return ld;const r=k=>k.classList.contains("map-scroll-edge--left");for(const k of n)k.style.background=`linear-gradient(${r(k)?"to right":"to left"}, ${ok} ${id}, transparent ${id})`,k.style.opacity="0",k.style.transition="opacity 0.16s ease",k.style.userSelect="none",k.style.webkitUserSelect="none";const a=k=>{k.style.opacity="1"},s=k=>{k.style.opacity="0"},i=()=>n.find(k=>!r(k))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const k of n)l.has(k)||s(k)},f=()=>{const k=i();k&&(a(k),u&&clearTimeout(u),u=setTimeout(d,250))},_=()=>f(),w=k=>{if(!(k.touches&&k.touches.length===1))return;const m=k.target;m&&m.classList&&m.classList.contains("map-scroll-edge")||f()},b=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",_,{passive:!0}),e.addEventListener("touchmove",w,{passive:!0}),e.addEventListener("touchend",b,{passive:!0}),e.addEventListener("touchcancel",b,{passive:!0});const v=()=>{c||f()};typeof window<"u"&&window.addEventListener("scroll",v,{passive:!0});const x=[];for(const k of n){const m=()=>{l.add(k),a(k)},g=()=>{l.delete(k),s(k)},y=()=>{c=!0,a(k)},A=()=>{c=!1,s(k)};k.addEventListener("mouseenter",m),k.addEventListener("mouseleave",g),k.addEventListener("touchstart",y,{passive:!0}),k.addEventListener("touchend",A,{passive:!0}),x.push(()=>{k.removeEventListener("mouseenter",m),k.removeEventListener("mouseleave",g),k.removeEventListener("touchstart",y),k.removeEventListener("touchend",A)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",_),e.removeEventListener("touchmove",w),e.removeEventListener("touchend",b),e.removeEventListener("touchcancel",b),typeof window<"u"&&window.removeEventListener("scroll",v);for(const m of x)m();for(const m of n)s(m)}}const ak={class:"upg-root"},rk={key:0,class:"upg-map-err"},sk={class:"upg-legend-desktop-slot"},ik={class:"upg-legend-mobile-slot"},lk={class:"upg-detail-desktop-slot"},ck={key:4,class:"upg-hud"},uk={key:0,class:"upg-hud-head"},dk={class:"upg-hud-total"},pk={key:1,class:"upg-hud-names"},gk={key:2,class:"upg-hud-swatches"},fk=["data-color","title","onClick"],hk={key:3,class:"upg-hud-actions"},mk={key:4,class:"upg-hud-flash"},bk={class:"upg-status"},zs="upg-search",cd="My UPG 100 List — Legend",yk="people-groups",_k="Search people group, zone, or territory…",ud=8,Vs=123,vk=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-list",setup(e){const t=Ki(()=>Sn(()=>Promise.resolve().then(()=>Mv),void 0)),o=Pe("mapboxToken",ue("")),n=Pe("profileConfig",ue(null)),r=ee(()=>{var j;const J=(j=n.value)==null?void 0:j.edgeScrollAffordance;return J==null?!0:!(J===!1||J==="false")}),a=Pe("dataStore",null),s=Pe("uiStore",null),i=ue(null),l=ue("loading…"),c=ue(""),u=Mn([]),d=ue(null),f=Mn(null),_=ue(!1),w=Ry("my-upg-100-list");w.theme.value="light",Fy(w);const b=ue([]),v=ee(()=>b.value.reduce((J,j)=>J+(Number(j.count)||0),0)),x=ee(()=>b.value.length),k=ue("");let m=null;const g=ue(!1);function y(J){const j=J===void 0?!g.value:!!J;return j===g.value||(g.value=j,T&&(T.getCanvas().style.cursor=""),je()),j}function A(){y()}pt([g,_],()=>{Ko(()=>V())});function M(J){if(!J)return;const j=b.value,te=j.findIndex(se=>se.key===J.key);te>=0?b.value=j.filter((se,$e)=>$e!==te):b.value=[...j,J],je(),k.value=""}const N=["#e69f00","#56b4e9","#009e73","#f0e442","#0072b2","#d55e00","#cc79a7","#999999"],P=ue(""),F=ue("");function W(J){const j=/^#?([0-9a-fA-F]{6})$/.exec(String(J||"").trim());if(!j)return;const te="#"+j[1].toLowerCase();P.value=P.value===te?"":te,je()}function Z(){/^#?[0-9a-fA-F]{6}$/.test(F.value.trim())&&W(F.value)}const ae=ue(null);let G=[],T=null,R=null,U=[],ie=null,_e=null,H=null;const fe=typeof window<"u"&&window.MAP_APP_API_URL||"https://pray.doxa.life";St(`.upg-root{position:absolute;inset:0;background:#0a1410;color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.upg-map{position:absolute;inset:0}.upg-map-err{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:1;pointer-events:none;text-align:center;padding:0 24px;font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#9aa7b8}.upg-map-err strong{display:block;font-size:14px;color:#cbd5e1;margin-bottom:4px}.map-scroll-edge{position:absolute;top:0;bottom:0;width:40px;z-index:2;touch-action:pan-y;pointer-events:auto;background:transparent}.map-scroll-edge--left{left:0}.map-scroll-edge--right{right:0}.upg-legend-mobile-slot{display:none}@media(max-width:767px){.upg-legend-mobile-slot{display:block}.upg-legend-desktop-slot{display:none}.upg-detail-desktop-slot{display:none}}.upg-status{position:absolute;bottom:10px;right:10px;z-index:5;font:10px/1 ui-monospace,monospace;color:#9aa7b8;background:rgba(10,14,21,.82);padding:6px 10px;border-radius:8px}.upg-detail-panel{position:absolute;top:60px;right:8px;bottom:10px;width:340px;max-width:calc(100vw - 16px);z-index:6;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.45);overflow:hidden;display:flex;flex-direction:column;animation:upgPanelIn .18s ease}.upg-detail-panel.dark{background:#1a1a2e}@keyframes upgPanelIn{from{transform:translateX(16px);opacity:0}to{transform:translateX(0);opacity:1}}@media(max-width:480px){.upg-detail-panel{top:auto;left:8px;right:8px;width:auto;height:55vh}}.upg-hud{position:absolute;bottom:34px;right:10px;z-index:6;min-width:150px;font:11px/1.35 ui-monospace,monospace;color:#e5e7eb;background:rgba(10,20,16,.92);border:1px solid rgba(110,231,183,.35);border-radius:10px;padding:8px 10px;box-shadow:0 4px 16px rgba(0,0,0,.4)}.upg-hud-head{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.upg-hud-total{font-size:15px;font-weight:700;color:#6ee7b7}.upg-hud-band{margin-left:auto;font-size:9px;color:#9aa7b8}.upg-hud-band.ok{color:#6ee7b7}.upg-hud-names{margin-top:5px;max-height:84px;overflow:auto;font-size:10px;color:#cbd5e1;line-height:1.45;word-break:break-word}.upg-hud-actions{display:flex;gap:6px;margin-top:7px}.upg-hud-btn{flex:1;cursor:pointer;border:1px solid rgba(110,231,183,.4);background:rgba(16,185,129,.18);color:#d1fae5;font:12px/1 ui-monospace,monospace;padding:0 10px;min-height:40px;border-radius:8px}.upg-hud-btn:hover{background:rgba(16,185,129,.32)}.upg-hud-btn.clear{background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.4);color:#cbd5e1}.upg-hud-flash{margin-top:5px;font-size:9px;color:#6ee7b7;min-height:11px}.upg-hud-hint{margin-top:4px;font-size:9px;color:#64748b}.upg-hud-swatches{display:flex;gap:6px;margin-top:7px;align-items:center;flex-wrap:wrap}.upg-swatch{width:40px;height:40px;border-radius:9px;cursor:pointer;padding:0;border:1px solid rgba(255,255,255,.3)}.upg-swatch.active{outline:2px solid #fff;outline-offset:1px}.upg-hex{width:84px;min-height:40px;background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.4);color:#cbd5e1;font:12px/1 ui-monospace,monospace;padding:0 8px;border-radius:8px}@media(max-width:480px){.upg-hud{left:8px;right:8px;min-width:0;bottom:30px;max-height:48vh;overflow:auto}}.map-toolbar .mcb.upg-batch-on{background:#10b981!important;color:#04241a!important;box-shadow:0 0 0 2px rgba(52,211,153,.45),0 1px 4px rgba(0,0,0,0.2)!important}.map-toolbar .mcb.upg-batch-on.dark{border-color:#34d399!important}.upg-batch-row{position:relative;background:rgba(16,185,129,.16)!important;opacity:1!important;box-shadow:inset 3px 0 0 0 #10b981}.upg-batch-row .stl-name{color:#065f46!important;font-weight:700}.stl-panel[data-theme="dark"] .upg-batch-row .stl-name,.upg-batch-row.dark .stl-name{color:#6ee7b7!important}.upg-batch-row .stl-dot{box-shadow:0 0 0 2px #10b981}.mapboxgl-ctrl-top-left{top:12px!important;left:8px!important;width:380px!important;max-width:380px!important;z-index:1200!important}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:0!important;float:none!important}.stl-panel{top:58px!important}.dg-main{font:13px/1.3 ui-monospace,monospace}.dg-meta{margin-top:2px;font-size:11px;color:#475569;display:flex;flex-wrap:wrap;gap:8px}.dg-field strong{font-weight:700}.dg-section-header-item{padding:4px 8px;font:10px/1.2 ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;pointer-events:none}`);function he(J){const j=[];for(const te of J)j.push(te.zoneKey,Z1(te.zoneKey,te.color));return["match",["get","zoneKey"],...j,"#9ca3af"]}function Ue(){if(T.getSource("tapestry"))return;T.addSource("tapestry",{type:"geojson",data:R});const J=_.value?.45:.3,j=_.value?.65:.45;T.addLayer({id:"tapestry-fill",type:"fill",source:"tapestry",paint:{"fill-color":ie,"fill-opacity":["case",["==",["get","zoneKey"],"deaf"],J,j]}}),T.addLayer({id:"tapestry-line",type:"line",source:"tapestry",paint:{"line-color":ie,"line-width":1.2,"line-opacity":.9}})}function Ve(){!T||!T.getSource("tapestry")||T.getLayer("upg-sel-fill")||(T.addLayer({id:"upg-sel-fill",type:"fill",source:"tapestry",filter:["boolean",!1],paint:{"fill-color":"#f59e0b","fill-opacity":.28}}),T.addLayer({id:"upg-sel-line",type:"line",source:"tapestry",filter:["boolean",!1],paint:{"line-color":"#fbbf24","line-width":2.4,"line-opacity":.95}}))}function et(){const J=[],j=[],te=[];for(const $e of b.value)$e.kind==="adm1"?J.push($e.name):$e.kind==="adm0"?j.push($e.key.slice(5)):$e.kind==="zone"&&te.push($e.key.slice(5));const se=[];return J.length&&se.push(["in",["get","shapeName"],["literal",J]]),j.length&&se.push(["in",["get","iso3"],["literal",j]]),te.length&&se.push(["in",["get","zoneKey"],["literal",te]]),se.length?se.length===1?se[0]:["any",...se]:["boolean",!1]}function je(){if(V(),!T||!T.getLayer("upg-sel-fill"))return;const J=g.value?et():["boolean",!1];T.setFilter("upg-sel-fill",J),T.setFilter("upg-sel-line",J);const j=P.value;T.setPaintProperty("upg-sel-fill","fill-color",j||"#f59e0b"),T.setPaintProperty("upg-sel-fill","fill-opacity",j?.55:.28),T.setPaintProperty("upg-sel-line","line-color",j||"#fbbf24")}let st=null,tt=!1;function bt(){if(!(!T||!T.getLayer("tapestry-fill"))){if(st)try{T.off("click","tapestry-fill",st)}catch{}st=J=>{const j=J&&J.features&&J.features[0];if(j&&g.value){const te=ad(j.properties,{nameMap:m});if(!te){console.warn("[batch-select] clicked feature has no shapeName/iso3",j.properties);return}te.count==null&&console.warn("[batch-select] no UUPG count for territory",te.name,j.properties),M(te)}},T.on("click","tapestry-fill",st),tt||(T.on("mouseenter","tapestry-fill",()=>{T&&(T.getCanvas().style.cursor=g.value?"crosshair":"")}),T.on("mouseleave","tapestry-fill",()=>{T&&(T.getCanvas().style.cursor="")}),tt=!0)}}function We(){b.value=[],k.value="",P.value="",F.value="",je()}async function Lt(){if(!b.value.length)return;const J=rd(b.value,{color:P.value});typeof window<"u"&&(window.__UPG_LAST_CLIPBOARD__=J);let j=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(J),j=!0):j=S(J)}catch{j=S(J)}k.value=j?"Copied!":"Copy failed — press Ctrl/Cmd-C",setTimeout(()=>{k.value.startsWith("Copied")&&(k.value="")},1800)}function S(J){try{const j=document.createElement("textarea");j.value=J,j.style.position="fixed",j.style.opacity="0",j.style.top="0",document.body.appendChild(j),j.focus(),j.select();const te=document.execCommand&&document.execCommand("copy");return document.body.removeChild(j),!!te}catch{return!1}}function E(J){if(a&&typeof a.cacheSourceData=="function"){const j=tk({records:J,leafZones:U,adm1Counts:dr,iso3Names:ra,countryNameMap:m,centroidFor:te=>{const se=h(te);return se?[(se[0][0]+se[1][0])/2,(se[0][1]+se[1][1])/2]:null}});a.cacheSourceData(zs,{normalizedData:j})}G=Q1({records:J,leafZones:U,adm1Counts:dr,iso3Names:ra,countryNameMap:m}),typeof window<"u"&&(window.__UPG_SEARCH__={size:()=>G.length,counts:()=>{const j={pg:0,zone:0,territory:0};for(const te of G)j[te.kind]=(j[te.kind]||0)+1;return j},query:j=>sd(G,j,{limit:ud}).map(te=>({label:te.label,kind:te.kind,target:te.target})),select:j=>{const te=sd(G,j,{limit:ud})[0];return te?(Q(te.target),{label:te.label,kind:te.kind,target:te.target}):null},feedSize:()=>{const j=a&&a.sources&&a.sources[zs];return j&&Array.isArray(j.features)&&j.features.length||0},localGeocoder:j=>{const te=ae.value&&ae.value.geocoder,se=te&&te.options&&te.options.localGeocoder;return se?se(j).map($e=>$e&&$e.place_name):null}})}function $(J){const j=J&&J.properties||{},te=j.__upgKind;if(te==="zone")q(j.__zoneId);else if(te==="territory")p(j.__shapeName);else{const se=J&&J.geometry,$e=se&&Array.isArray(se.coordinates)?se.coordinates:null;$e&&Number.isFinite($e[0])&&Number.isFinite($e[1])&&T&&T.flyTo({center:[$e[0],$e[1]],zoom:6,duration:800}),X(j.slug)}}function B(J){if(!J||!T)return;const j=new Set(J.memberIds||[]);if(!j.size)return;let te=[];try{te=T.querySourceFeatures("upg").filter(Fe=>{const me=Fe.properties||{};return j.has(me.slug)||j.has(me.id)||j.has(me.peopleGroupId)})}catch{return}if(!te.length)return;let se=180,$e=90,Rt=-180,yt=-90,Re=!1;for(const Fe of te){const me=Fe.geometry&&Fe.geometry.coordinates;!Array.isArray(me)||!Number.isFinite(me[0])||!Number.isFinite(me[1])||(me[0]Rt&&(Rt=me[0]),me[1]<$e&&($e=me[1]),me[1]>yt&&(yt=me[1]),Re=!0)}Re&&T.fitBounds([[se,$e],[Rt,yt]],{padding:60,duration:800,maxZoom:6})}function Y(){le(null),s&&typeof s.selectPeopleGroup=="function"&&s.selectPeopleGroup(null)}function Q(J){!J||!T||(J.type==="pg"?(Number.isFinite(J.lng)&&Number.isFinite(J.lat)&&T.flyTo({center:[J.lng,J.lat],zoom:6,duration:800}),X(J.slug)):J.type==="zone"?q(J.zoneId):J.type==="territory"&&p(J.shapeName))}function X(J){if(!J||!s||typeof s.selectPeopleGroup!="function")return;const j=T&&T.getSource&&T.getSource("upg"),se=(j&&j._data&&j._data.features||[]).find($e=>$e.properties&&$e.properties.slug===J);se&&s.selectPeopleGroup(se)}function q(J){if(!J||!T||!R)return;const j=h(te=>te.properties&&te.properties.zoneKey===J);j&&T.fitBounds(j,{padding:40,duration:800,maxZoom:6})}function p(J){if(!J||!T||!R)return;const j=h(te=>{const se=te.properties||{};return se.shapeName===J||se.iso3===J});j&&T.fitBounds(j,{padding:40,duration:800,maxZoom:6})}function h(J){let j=180,te=90,se=-180,$e=-90,Rt=!1;const yt=Re=>{if(typeof Re[0]=="number"){const[Fe,me]=Re;Fese&&(se=Fe),me$e&&($e=me),Rt=!0;return}for(const Fe of Re)yt(Fe)};for(const Re of R.features)J(Re)&&yt(Re.geometry.coordinates);return Rt?[[j,te],[se,$e]]:null}function I(J){const j=new Set,te=se=>{se.children&&se.children.length?se.children.forEach(te):j.add(se.zoneKey??se.id)};return te(J),j}let K=null;function re(J){if(![...I(J)].length)return;const te=[],se=Re=>{Re.children&&Re.children.length?Re.children.forEach(se):te.push(Re)};se(J);const $e=b.value,Rt=new Set($e.filter(Re=>Re.kind==="zone").map(Re=>Re.key));if(te.every(Re=>Rt.has("zone:"+(Re.zoneKey??Re.id)))){const Re=new Set(te.map(Fe=>"zone:"+(Fe.zoneKey??Fe.id)));b.value=$e.filter(Fe=>!Re.has(Fe.key))}else{const Re=te.filter(Fe=>!Rt.has("zone:"+(Fe.zoneKey??Fe.id))).map(Fe=>({key:"zone:"+(Fe.zoneKey??Fe.id),name:Fe.label||Fe.id,count:Number(Fe.count)||0,kind:"zone"}));b.value=[...$e,...Re]}je(),k.value=""}function ne(){const J=new Set;for(const j of b.value)j.kind==="zone"&&J.add(j.key.slice(5));return J}function O(){const J=new Map,j=te=>{const se=I(te);te.label&&J.set(te.label,se),te.children&&te.children.length&&te.children.forEach(j)};for(const te of u.value)j(te);return J}function V(){if(typeof document>"u")return;const J=document.querySelector("my-upg-100-list-map"),te=(J&&J.shadowRoot||document).querySelectorAll(".stl-row");if(!te.length)return;if(!g.value){te.forEach(yt=>yt.classList.remove("upg-batch-row"));return}const se=ne(),$e=O(),Rt=_.value;te.forEach(yt=>{const Re=yt.querySelector(".stl-name"),Fe=Re?Re.textContent.trim():"",me=Fe&&$e.get(Fe),Je=!!(me&&me.size&&[...me].every(lt=>se.has(lt)));yt.classList.toggle("upg-batch-row",Je),yt.classList.toggle("dark",Je&&Rt)})}let pe=null;function C(){if(typeof document>"u"||pe)return;const J=document.querySelector("my-upg-100-list-map"),te=(J&&J.shadowRoot||document).querySelector(".stl-rows");te&&(pe=new MutationObserver(()=>{requestAnimationFrame(()=>V())}),pe.observe(te,{childList:!0,subtree:!0}))}Gt("onSemanticTreeSelect",le);function D(J){var $e;const j=d.value;if(!j)return;if(J==="packet"){l.value="Prayer List — coming soon",setTimeout(()=>{l.value=""},2600);return}const te=String((($e=n.value)==null?void 0:$e.assetsBase)||"./assets").replace(/\/+$/,""),se=document.createElement("a");se.href=`${te}/posters/${j}.webp`,se.download=`doxa-upg-100-${j}-poster.webp`,document.body.appendChild(se),se.click(),se.remove()}function le(J){if(!T||!T.getLayer("tapestry-fill"))return;if(g.value){J&&re(J);return}if(!J){K=null,d.value=null,T.setFilter("tapestry-fill",null),T.setFilter("tapestry-line",null),T.setPaintProperty("upg-pins","circle-opacity",.85);return}K=J;const j=[...I(J)];d.value=j.length===1?j[0]:J.id??null;const te=["in",["get","zoneKey"],["literal",j]];T.setFilter("tapestry-fill",te),T.setFilter("tapestry-line",te),T.getLayer("upg-pins")&&T.setPaintProperty("upg-pins","circle-opacity",["case",["in",["get","zoneKey"],["literal",j]],.95,.05]);const se=h($e=>j.includes($e.properties.zoneKey));se&&T.fitBounds(se,{padding:40,duration:700,maxZoom:6})}function ge(){!T||!R||(Ue(),typeof H=="function"&&H(),Ve(),bt(),je(),d.value&&T.getLayer("tapestry-fill")&&le(K))}function ke(){T&&(_.value=!_.value,w.theme.value=_.value?"dark":"light",T.setStyle(_.value?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11"),T.once("style.load",ge))}function Ye(){!T||!T.getLayer("upg-pins")||(T.on("click","upg-pins",J=>{const j=J&&J.features&&J.features[0];j&&s&&typeof s.selectPeopleGroup=="function"&&s.selectPeopleGroup(j)}),T.on("mouseenter","upg-pins",()=>{T&&(T.getCanvas().style.cursor="pointer")}),T.on("mouseleave","upg-pins",()=>{T&&(T.getCanvas().style.cursor="")}))}let ye=null;function qe(J){var se;const j=((se=J==null?void 0:J.detail)==null?void 0:se.listId)??null;if(!j){le(null);return}const te=it(u.value,j);te&&le(te)}function it(J,j){for(const te of J||[]){if((te.zoneKey||te.id)===j)return te;const se=te.children&&it(te.children,j);if(se)return se}return null}function Mt(){const J=Ks(Ao,{deafCount:Vs});u.value=J,U=ed(J);const j={};for(const te of Ao.lists||[])j[te.id]=te.selector;for(const te of Ao.asia_lists||[])j[te.id]=te.selector;for(const te of Ao.uncovered_lists||[])j[te.id]=te.selector;j.deaf={type:"affinity_bloc",rop1:"A017"};for(const te of U)te.selector=j[te.id];ie=he(U)}async function pr(){try{const j=await fetch(`${fe}/api/people-groups/list?fields=slug,name,country_code,wagf_region,wagf_block,rop1,population,latitude,longitude&lang=en`,{cache:"no-store"});if(!j.ok)throw new Error(`list ${j.status}`);const te=Ju(Zu(await j.json()));m=nd(te),u.value=Ks(Ao,{deafCount:Vs,records:te})}catch{}}return no(async()=>{var $e,Rt,yt,Re,Fe;Mt();const J=window.mapboxgl,j=(o==null?void 0:o.value)||(($e=n==null?void 0:n.value)==null?void 0:$e.tk)||"";if(!J){l.value="⚠ mapbox-gl not loaded",c.value="mapbox-gl did not load. The list and legend are unaffected.",pr();return}if(!j){l.value="⚠ no mapbox token",c.value="No Mapbox token configured. The list and legend are unaffected.",pr();return}J.accessToken=j;try{const me=i.value&&i.value.getRootNode();if(me instanceof ShadowRoot){const Je="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.css";if(!me.querySelector(`link[href="${Je}"]`)){const lt=document.createElement("link");lt.rel="stylesheet",lt.href=Je,me.prepend(lt)}}}catch{}T=new J.Map({container:i.value,style:"mapbox://styles/mapbox/light-v11",center:[35,20],zoom:1.5,projection:"mercator"}),f.value=T,_e=nk(((Rt=i.value)==null?void 0:Rt.parentElement)||null,{enabled:r.value}),typeof window<"u"&&(window.__UPG_MAP__=T),window.__UPG_SELECT__={get list(){return b.value.map(me=>({...me}))},get total(){return v.value},get count(){return x.value},get color(){return P.value},get batchMode(){return g.value},setColor:me=>W(me),setBatchMode:me=>y(me),clipboardText:()=>rd(b.value,{color:P.value}),clear:()=>We(),toggleByProps:me=>{const Je=ad(me,{nameMap:m});return Je?(M(Je),{...Je}):null},toggleLegendRow:me=>{const Je=Bo=>{for(const at of Bo){if(at.label===me)return at;if(at.children&&at.children.length){const uo=Je(at.children);if(uo)return uo}}return null},lt=Je(u.value);return lt?(re(lt),{label:lt.label,zoneKeys:[...I(lt)]}):null},markedLegendRows:()=>{if(typeof document>"u")return[];const me=document.querySelector("my-upg-100-list-map");return[...(me&&me.shadowRoot||document).querySelectorAll(".stl-row.upg-batch-row .stl-name")].map(lt=>lt.textContent.trim())},highlightFeatureCount:()=>{if(!T||!R||!T.getLayer("upg-sel-fill"))return-1;const me=new Set,Je=new Set,lt=new Set;for(const at of b.value)at.kind==="zone"?me.add(at.key.slice(5)):at.kind==="adm1"?Je.add(at.name):at.kind==="adm0"&<.add(at.key.slice(5));let Bo=0;for(const at of R.features){const uo=at.properties||{};(me.has(uo.zoneKey)||Je.has(uo.shapeName)||lt.has(uo.iso3))&&Bo++}return Bo},zoneKeysForRow:me=>{const Je=Bo=>{for(const at of Bo){if(at.label===me)return at;if(at.children&&at.children.length){const uo=Je(at.children);if(uo)return uo}}return null},lt=Je(u.value);return lt?[...I(lt)]:null}};try{l.value="loading boundaries…";const me=Oe=>{var ct;return`${String(((ct=n.value)==null?void 0:ct.assetsBase)||"./assets").replace(/\/+$/,"")}/boundaries/${Oe}`},Je=Oe=>fetch(me(Oe)).then(ct=>{if(!ct.ok)throw new Error(`boundary fetch ${ct.status} ${Oe}`);return ct.json()}),[lt,Bo,at]=await Promise.all([Je("world-adm0.geojson"),Je("gb-IND-ADM1.geojson"),Je("gb-CHN-ADM1.geojson")]);l.value="fetching 2106 UUPGs…";const Ws=await fetch(`${fe}/api/people-groups/list?fields=slug,name,country_code,wagf_region,wagf_block,rop1,population,latitude,longitude&lang=en`,{cache:"no-store"});if(!Ws.ok)throw new Error(`list ${Ws.status}`);const wn=Ju(Zu(await Ws.json()));m=nd(wn),u.value=Ks(Ao,{deafCount:Vs,records:wn});const{tapestry:Ek,perZone:Pk}=q1(U,{records:wn,adm0:lt,adm1Ind:Bo,adm1Chn:at});R=Go(Ek),E(wn);const Ys=[],sa={},{evaluate:Mk}=await Sn(async()=>{const{evaluate:Oe}=await Promise.resolve().then(()=>U1);return{evaluate:Oe}},void 0);for(const Oe of U)if(Oe.selector&&Oe.selector.type==="pg_slugs")for(const ct of Oe.selector.values||[])ct in sa||(sa[ct]=Oe.zoneKey);else try{for(const ct of Mk(Oe.selector,wn))ct in sa||(sa[ct]=Oe.zoneKey)}catch(ct){console.warn("zone selector skipped",Oe.id,ct&&ct.message)}for(const Oe of wn){const ct=Number(Oe.latitude),Js=Number(Oe.longitude);!isFinite(ct)||!isFinite(Js)||Ys.push({type:"Feature",geometry:{type:"Point",coordinates:[Js,ct]},properties:{slug:Oe.slug,zoneKey:sa[Oe.slug]||"",name:Oe.name||Oe.slug||"",population:Oe.population??0,countryName:Oe.country_code_label||"",country:Oe.country_code||""}})}const Nk=Go({type:"FeatureCollection",features:Ys});H=()=>{T.getSource("upg")||(T.addSource("upg",{type:"geojson",data:Nk}),T.addLayer({id:"upg-pins",type:"circle",source:"upg",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,4,4,8,6],"circle-color":ie,"circle-opacity":.85,"circle-stroke-width":.6,"circle-stroke-color":"rgba(255,255,255,0.6)"}}),Ye())};let qs=!0;const xn=()=>{qs&&(qs=!1,T.off("style.load",xn),T.off("idle",xn),ge())};if(T.isStyleLoaded())xn();else{T.once("style.load",xn),T.once("idle",xn);const Oe=setInterval(()=>{if(!qs||!T){clearInterval(Oe);return}let ct=!1;try{ct=T.isStyleLoaded()}catch{clearInterval(Oe);return}ct&&(clearInterval(Oe),xn())},120);setTimeout(()=>clearInterval(Oe),15e3)}const Ik=[...Pk.values()].filter(Oe=>Oe>=1).length;l.value=`${R.features.length} polys · ${Ik}/26 zones · ${Ys.length} pins`}catch(me){l.value="⚠ "+(me&&me.message?me.message:String(me))}let te=0;const se=()=>{const me=typeof document<"u"&&document.querySelector("my-upg-100-list-map"),Je=me&&me.shadowRoot||(typeof document<"u"?document:null);if(Je&&Je.querySelector(".stl-rows")){C(),V();return}te++<40&&setTimeout(se,250)};se();{const me=(Fe=(Re=(yt=i.value)==null?void 0:yt.getRootNode)==null?void 0:Re.call(yt))==null?void 0:Fe.host;me&&(ye=qe,me.addEventListener("doxa:select-zone",ye))}}),Eo(()=>{var J,j,te;if(ye){const se=(te=(j=(J=i.value)==null?void 0:J.getRootNode)==null?void 0:j.call(J))==null?void 0:te.host;se==null||se.removeEventListener("doxa:select-zone",ye),ye=null}if(pe){try{pe.disconnect()}catch{}pe=null}if(_e){try{_e()}catch{}_e=null}T&&(T.remove(),T=null),R=null}),(J,j)=>{var te;return z(),oe("div",ak,[L("div",{ref_key:"mapEl",ref:i,class:"upg-map"},null,512),c.value?(z(),oe("div",rk,[j[1]||(j[1]=L("strong",null,"Map unavailable",-1)),gt(ce(c.value),1)])):be("",!0),r.value?(z(),oe(Te,{key:1},[j[2]||(j[2]=L("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),j[3]||(j[3]=L("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1))],64)):be("",!0),f.value?(z(),ut(O1,{key:2,ref_key:"geocoderRef",ref:ae,"map-instance":f.value,"access-token":ve(o)||((te=ve(n))==null?void 0:te.tk)||"","data-source-id":zs,"is-dark":_.value,placeholder:_k,"active-context":yk,onPeopleGroupResult:$,onAggregateResult:B,onClear:Y},null,8,["map-instance","access-token","is-dark"])):be("",!0),f.value?(z(),ut(Wv,{key:3},{default:Vt(()=>[Be(qv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),Be(Jv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),Be(Zv,{map:f.value,"is-dark":_.value},null,8,["map","is-dark"]),Be(e1,{"map-container":i.value,"is-dark":_.value},null,8,["map-container","is-dark"]),Be(o1,{"is-dark":_.value,onToggle:ke},null,8,["is-dark"]),Be(Vu,{"is-dark":_.value,"embed-path":"my-upg-100-list/upg-100-list/index.html"},null,8,["is-dark"]),Be(Zo,{"is-dark":_.value,active:g.value,class:Ce({"upg-batch-on":g.value}),"aria-pressed":g.value?"true":"false",title:"Batch Select",onClick:A},{default:Vt(()=>[...j[4]||(j[4]=[L("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),L("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),L("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),L("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})],-1)])]),_:1},8,["is-dark","active","class","aria-pressed"])]),_:1})):be("",!0),L("div",sk,[u.value.length?(z(),ut(mu,{key:0,nodes:u.value,columns:["count","pop"],title:cd,"export-enabled":!0,onSelect:le,onExport:D},null,8,["nodes"])):be("",!0)]),L("div",ik,[u.value.length?(z(),ut(Vv,{key:0,"legend-type":"upg-100",nodes:u.value,columns:["count","pop"],"column-label":"UPG 100",title:cd,"is-dark":_.value,"popup-action":"pray"},null,8,["nodes","is-dark"])):be("",!0)]),L("div",lk,[ve(s)&&ve(s).selectedPeopleGroup?(z(),oe("div",{key:0,class:Ce(["upg-detail-panel pg-detail-root",{dark:_.value}])},[Be(ve(t),{peopleGroup:ve(s).selectedPeopleGroup,dark:_.value,action:"pray"},null,8,["peopleGroup","dark"])],2)):be("",!0)]),g.value?(z(),oe("div",ck,[j[5]||(j[5]=L("div",{class:"upg-hud-hint"}," Tap territories on the map or legend rows to add · tap again to remove ",-1)),x.value?(z(),oe("div",uk,[L("span",null,ce(x.value)+" territor"+ce(x.value===1?"y":"ies")+" ·",1),L("span",dk,ce(v.value)+" UUPG",1),L("span",{class:Ce(["upg-hud-band",{ok:v.value>=50&&v.value<=100}])},ce(v.value>=50&&v.value<=100?"✓ 50–100 band":"band 50–100"),3)])):be("",!0),x.value?(z(),oe("div",pk,ce(b.value.map(se=>se.name).join(", ")),1)):be("",!0),x.value?(z(),oe("div",gk,[(z(),oe(Te,null,Ct(N,se=>L("button",{key:se,class:Ce(["upg-swatch",{active:P.value===se}]),"data-color":se,style:nt({background:se}),title:se,onClick:$e=>W(se)},null,14,fk)),64)),sp(L("input",{"onUpdate:modelValue":j[0]||(j[0]=se=>F.value=se),class:"upg-hex",placeholder:"#hex",spellcheck:"false",onChange:Z,onKeyup:Ug(Z,["enter"])},null,544),[[Dg,F.value]])])):be("",!0),x.value?(z(),oe("div",hk,[L("button",{class:"upg-hud-btn copy",onClick:Lt},"Copy selection"),L("button",{class:"upg-hud-btn clear",onClick:We},"Clear")])):be("",!0),x.value?(z(),oe("div",mk,ce(k.value),1)):be("",!0)])):be("",!0),L("div",bk,ce(l.value),1)])}}}},Symbol.toStringTag,{value:"Module"})),kk=` /* The column that scrolls. Vertical neighbours stack here and the user scrolls between them; scroll-snap makes each pane settle cleanly instead of stopping half-way between two views. */ @@ -1306,7 +1380,7 @@ background:rgba(0,0,0,.55); color:#fff; font-size:11px; letter-spacing:.02em; pointer-events:none; z-index:6; opacity:.9; } -`;function dk(e,{host:t,mountPane:o}){const n=Array.isArray(e==null?void 0:e.panes)?e.panes:[];if(n.length<2)return null;const r=n.filter(i=>{var l;return(((l=i.at)==null?void 0:l[1])??0)===0}).sort((i,l)=>{var u,c;return(((u=i.at)==null?void 0:u[0])??0)-(((c=l.at)==null?void 0:c[0])??0)});if(r.length<2)return null;const a=document.createElement("div");a.className="pane-col";const s=new Map;return r.forEach((i,l)=>{const u=document.createElement("div");u.className="pane",u.dataset.paneId=i.id;const c=document.createElement("div");if(c.className="pane-mount",u.appendChild(c),s.set(i.id,c),i.placeholder){const p=document.createElement("div");p.className="pane-placeholder",p.innerHTML=`

${i.label}

${i.placeholder}

`,u.appendChild(p)}if(l${r[l+1].label} below`,u.appendChild(p)}a.appendChild(u)}),t.appendChild(a),{panes:r,scrollTo(i){const l=a.querySelector(`.pane[data-pane-id="${i}"]`);l&&l.scrollIntoView({behavior:"smooth",block:"start"})},current(){var l;const i=r.map(u=>{const c=a.querySelector(`.pane[data-pane-id="${u.id}"]`);return{id:u.id,d:Math.abs(((c==null?void 0:c.offsetTop)??0)-a.scrollTop)}});return i.sort((u,c)=>u.d-c.d),((l=i[0])==null?void 0:l.id)||r[0].id},onScroll(i){let l=null;const u=()=>{l&&clearTimeout(l),l=setTimeout(i,120)};return a.addEventListener("scroll",u,{passive:!0}),()=>{l&&clearTimeout(l),a.removeEventListener("scroll",u)}},mountEl:i=>s.get(i)||null,destroy(){a.remove(),s.clear()}}}const pk={class:"upgmfe"},gk={class:"hdr"},fk={class:"viewsel"},hk={class:"seg",role:"tablist","aria-label":"Views"},mk=["aria-pressed","aria-selected","onClick"],id="my-upg-100-list-map",bk="my-upg-100-list/upg-100-mfe/index.html",yk=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-mfe",setup(e){const t=Te("profileConfig",ue(null)),o=Te("mapboxToken",ue("")),n=Te("uiStore",null),r=Q(()=>!!(n!=null&&n.isDark)),a=Q(()=>{var L;return((L=t.value)==null?void 0:L.instanceId)||"upg-100-mfe"}),s=Q(()=>{var L;return{id:"upg-100-mfe",tag:id,config:{profile:"upg-100-list",dataSource:((L=t.value)==null?void 0:L.dataSource)||"pray-tools",instanceId:a.value},panes:[{id:"map",label:"Map",at:[0,0],config:{profile:"upg-100-list"}},{id:"list",label:"Prayer Lists",at:[1,0],config:{profile:"poster-wall"}}],paneHint:!1}}),i=ue(null),l=ue("map");let u=null,c=null;function p(L){var v,m;const g=document.createElement(id),w={...s.value.config,...L.config};o.value&&(w.tk=o.value);const A=((v=t.value)==null?void 0:v.locale)||((m=t.value)==null?void 0:m.lang);return A&&(w.locale=A),g.setAttribute("profile-config",JSON.stringify(w)),g}function f(L){l.value=L,u==null||u.scrollTo(L)}function _(L){const g=(L==null?void 0:L.detail)||{};g.instanceId&&g.instanceId!==a.value||f("map")}return eo(()=>{var L;if(i.value&&(u=dk(s.value,{host:i.value}),!!u)){for(const g of u.panes)g.config&&((L=u.mountEl(g.id))==null||L.appendChild(p(g)));c=u.onScroll(()=>{const g=u.current();g&&g!==l.value&&(l.value=g)}),window.addEventListener("doxa-upg-100-list:show-on-map",_)}}),$o(()=>{window.removeEventListener("doxa-upg-100-list:show-on-map",_),c==null||c(),u==null||u.destroy(),u=null}),St(uk+` +`;function wk(e,{host:t,mountPane:o}){const n=Array.isArray(e==null?void 0:e.panes)?e.panes:[];if(n.length<2)return null;const r=n.filter(i=>{var l;return(((l=i.at)==null?void 0:l[1])??0)===0}).sort((i,l)=>{var c,u;return(((c=i.at)==null?void 0:c[0])??0)-(((u=l.at)==null?void 0:u[0])??0)});if(r.length<2)return null;const a=document.createElement("div");a.className="pane-col";const s=new Map;return r.forEach((i,l)=>{const c=document.createElement("div");c.className="pane",c.dataset.paneId=i.id;const u=document.createElement("div");if(u.className="pane-mount",c.appendChild(u),s.set(i.id,u),i.placeholder){const d=document.createElement("div");d.className="pane-placeholder",d.innerHTML=`

${i.label}

${i.placeholder}

`,c.appendChild(d)}if(l${r[l+1].label} below`,c.appendChild(d)}a.appendChild(c)}),t.appendChild(a),{panes:r,scrollTo(i){const l=a.querySelector(`.pane[data-pane-id="${i}"]`);l&&l.scrollIntoView({behavior:"smooth",block:"start"})},current(){var l;const i=r.map(c=>{const u=a.querySelector(`.pane[data-pane-id="${c.id}"]`);return{id:c.id,d:Math.abs(((u==null?void 0:u.offsetTop)??0)-a.scrollTop)}});return i.sort((c,u)=>c.d-u.d),((l=i[0])==null?void 0:l.id)||r[0].id},onScroll(i){let l=null;const c=()=>{l&&clearTimeout(l),l=setTimeout(i,120)};return a.addEventListener("scroll",c,{passive:!0}),()=>{l&&clearTimeout(l),a.removeEventListener("scroll",c)}},mountEl:i=>s.get(i)||null,destroy(){a.remove(),s.clear()}}}const xk={class:"upgmfe"},Sk={class:"hdr"},Ak={class:"viewsel"},Lk={class:"seg",role:"tablist","aria-label":"Views"},$k=["aria-pressed","aria-selected","onClick"],dd="my-upg-100-list-map",Ck="my-upg-100-list/upg-100-mfe/index.html",Tk=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-mfe",setup(e){const t=Pe("profileConfig",ue(null)),o=Pe("mapboxToken",ue("")),n=Pe("uiStore",null),r=ee(()=>!!(n!=null&&n.isDark)),a=ee(()=>{var w;return((w=t.value)==null?void 0:w.instanceId)||"upg-100-mfe"}),s=ee(()=>{var w;return{id:"upg-100-mfe",tag:dd,config:{profile:"upg-100-list",dataSource:((w=t.value)==null?void 0:w.dataSource)||"pray-tools",instanceId:a.value},panes:[{id:"map",label:"Map",at:[0,0],config:{profile:"upg-100-list"}},{id:"list",label:"Prayer Lists",at:[1,0],config:{profile:"poster-wall"}}],paneHint:!1}}),i=ue(null),l=ue("map");let c=null,u=null;function d(w){var k,m;const b=document.createElement(dd),v={...s.value.config,...w.config};o.value&&(v.tk=o.value);const x=((k=t.value)==null?void 0:k.locale)||((m=t.value)==null?void 0:m.lang);return x&&(v.locale=x),b.setAttribute("profile-config",JSON.stringify(v)),b}function f(w){l.value=w,c==null||c.scrollTo(w)}function _(w){const b=(w==null?void 0:w.detail)||{};b.instanceId&&b.instanceId!==a.value||f("map")}return no(()=>{var w;if(i.value&&(c=wk(s.value,{host:i.value}),!!c)){for(const b of c.panes)b.config&&((w=c.mountEl(b.id))==null||w.appendChild(d(b)));u=c.onScroll(()=>{const b=c.current();b&&b!==l.value&&(l.value=b)}),window.addEventListener("doxa-upg-100-list:show-on-map",_)}}),Eo(()=>{window.removeEventListener("doxa-upg-100-list:show-on-map",_),u==null||u(),c==null||c.destroy(),c=null}),St(kk+` /* ── palette: app-wrapper-material's --ui-* (light default, dark via system) ── */ .upgmfe{ --ui-bg:#ffffff; --ui-bg-elevated:#f9f9f9; --ui-bg-accented:#f0f0f0; @@ -1355,4 +1429,4 @@ .upgmfe .stage{ position:relative; flex:1 1 auto; min-height:0; } /* the live custom element fills its pane */ .pane > .pane-mount > *{ position:absolute; inset:0; width:100%; height:100%; display:block; } -`,"upg-100-mfe"),(L,g)=>(V(),Z("div",pk,[T("header",gk,[T("fieldset",fk,[g[0]||(g[0]=T("legend",null,"Select View",-1)),T("div",hk,[(V(!0),Z(Se,null,Lt(s.value.panes,w=>(V(),Z("button",{key:w.id,type:"button",role:"tab","aria-pressed":l.value===w.id?"true":"false","aria-selected":l.value===w.id?"true":"false",onClick:A=>f(w.id)},le(w.label),9,mk))),128))])]),De(Uu,{"is-dark":r.value,"embed-path":bk},null,8,["is-dark"])]),T("div",{class:"stage",ref_key:"stage",ref:i},null,512)]))}}},Symbol.toStringTag,{value:"Module"}))})(); +`,"upg-100-mfe"),(w,b)=>(z(),oe("div",xk,[L("header",Sk,[L("fieldset",Ak,[b[0]||(b[0]=L("legend",null,"Select View",-1)),L("div",Lk,[(z(!0),oe(Te,null,Ct(s.value.panes,v=>(z(),oe("button",{key:v.id,type:"button",role:"tab","aria-pressed":l.value===v.id?"true":"false","aria-selected":l.value===v.id?"true":"false",onClick:x=>f(v.id)},ce(v.label),9,$k))),128))])]),Be(Vu,{"is-dark":r.value,"embed-path":Ck},null,8,["is-dark"])]),L("div",{class:"stage",ref_key:"stage",ref:i},null,512)]))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html b/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html index b11d09df..ab86f23e 100644 --- a/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html +++ b/public/js/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - +