From c772b09c50dc0731a3cd1a9ad627738de65ea078 Mon Sep 17 00:00:00 2001 From: swift-river542 Date: Wed, 16 Sep 2026 23:23:59 -0500 Subject: [PATCH] Maps drop-in: pin invitation per visit --- .../all-people-groups/all-people-groups.js | 18 ++--- .../all-people-groups/index.html | 2 +- .../cities-internet/cities-internet.js | 24 +++---- .../connectivity-list/index.html | 2 +- .../connectivity-map/index.html | 2 +- .../cities-internet/data-tables/index.html | 2 +- .../country-posters/countries-map/index.html | 2 +- .../country-poster-wall/index.html | 2 +- .../country-posters/country-posters.js | 56 +++++++-------- .../doxa-maps/demo-map/demo-map.js | 26 +++---- .../doxa-maps/demo-map/demo-map/index.html | 2 +- .../demo-map/demo-map/maplibre/index.html | 2 +- .../doxa-research-map/doxa-research-map.js | 52 +++++++------- .../doxa-research-map/research-map/index.html | 2 +- .../doxa-simple-map/doxa-simple-map.js | 68 +++++++++---------- .../doxa-simple-map/adoption/index.html | 2 +- .../doxa-simple-map/engagement/index.html | 2 +- .../doxa-simple-map/index.html | 2 +- .../doxa-simple-map/prayer/index.html | 2 +- .../gospel-resources/charts/index.html | 2 +- .../gospel-resources/data-tables/index.html | 2 +- .../gospel-resources/gospel-resources.js | 20 +++--- .../resources-list/index.html | 2 +- .../gospel-resources/resources-map/index.html | 2 +- .../doxa-maps/key-cities/key-cities.js | 14 ++-- .../doxa-maps-build/doxa-maps/manifest.json | 58 ++++++++-------- .../my-upg-100-list/my-upg-100-list.js | 36 +++++----- .../my-upg-100-list/poster-wall/index.html | 2 +- .../my-upg-100-list/upg-100-list/index.html | 2 +- .../my-upg-100-list/upg-100-mfe/index.html | 2 +- .../research-dashboard/research-dashboard.js | 36 +++++----- .../research-dashboard/index.html | 2 +- .../template-bundle/template-bundle.js | 24 +++---- .../template-bundle/template-map-a/index.html | 2 +- .../template-bundle/template-map-b/index.html | 2 +- public/embed/doxa-maps-build/index.html | 2 +- 36 files changed, 240 insertions(+), 240 deletions(-) diff --git a/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js b/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js index 41331b44..20cfe080 100644 --- a/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js +++ b/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js @@ -7,14 +7,14 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/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 De(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:(De(t,"iterate",Mn),Ge(e)?t:t.map(et))}function ho(e){return De(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 Dn(this,"pop")},push(...e){return Dn(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return Dn(this,"shift")},some(e,t){return At(this,"some",e,t,void 0,arguments)},splice(...e){return Dn(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 Dn(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 Dc=Array.prototype;function At(e,t,n,o,a,s){const i=ho(e),r=i!==e&&!Ge(e),l=i[t];if(l!==Dc[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);De(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 Dn(e,t,n=[]){ct(),la();const o=ie(e)[t].apply(e,n);return ca(),ut(),o}const Rc=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 De(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):Rc(n))||(a||De(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&&De(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)&&De(i,"get",a),De(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&&De(ie(a),"iterate",Zt),a.size},has(a){const s=this.__v_raw,i=ie(s),r=ie(a);return e||(lt(a,r)&&De(i,"has",a),De(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&&De(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 Rn(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 D=Bs(),M=()=>{u.stop(),D&&D.active&&na(D.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}/** +**/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 De(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:(De(t,"iterate",Mn),Ge(e)?t:t.map(et))}function ho(e){return De(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 Dn(this,"pop")},push(...e){return Dn(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return Dn(this,"shift")},some(e,t){return At(this,"some",e,t,void 0,arguments)},splice(...e){return Dn(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 Dn(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 Dc=Array.prototype;function At(e,t,n,o,a,s){const i=ho(e),r=i!==e&&!Ge(e),l=i[t];if(l!==Dc[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);De(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 Dn(e,t,n=[]){ct(),la();const o=ie(e)[t].apply(e,n);return ca(),ut(),o}const Rc=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 De(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):Rc(n))||(a||De(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&&De(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)&&De(i,"get",a),De(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&&De(ie(a),"iterate",Zt),a.size},has(a){const s=this.__v_raw,i=ie(s),r=ie(a);return e||(lt(a,r)&&De(i,"has",a),De(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&&De(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 Rn(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=Re[o],s=xn(a);s=xn(n)?Re.push(e):Re.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&&Ro(-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&&Ro(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,D)=>Bn(A,t&&(Z(t)?t[D]: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,D)=>!(D&&mi(u,D));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),D=ve(l);if(A||D){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)):D&&(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((D,M)=>{l(A,()=>D(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,D){const M=E.isConnected;let L=!1;(A.bu||(A.bu=[])).push(()=>L=!0);const y=()=>{L||!E.parentNode||M&&!E.isConnected||D()},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 D=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&&!D.value&&!M.value){const T=new Error(`Async component timed out after ${i}ms.`);A(T),M.value=T}},i)),v().then(()=>{E.isUnmounted||(D.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(D.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"&&De(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 Du(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:D,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&&Ru(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,D),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 Ru(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 Do(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,D=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(D),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(Ri),Oi=e=>Object.getPrototypeOf(e)===Ri;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=Rt(p),fe(p,x,O,!0),p=null),_.patchFlag===-2&&(g=!1,_.dynamicChildren=null);const{type:d,ref:$,shapeFlag:w}=_;switch(d){case qn:D(p,_,m,N);break;case Tt:M(p,_,m,N);break;case Ra: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)},D=(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,Da(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,Da(_,x),O):G||V(p,_,U,null,m,N,Da(_,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):R(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)},R=(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),Rt(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(_===Ra){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 Rt(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:Rt,o:e};return{render:Jt,hydrate:void 0,createApp:Bu(Jt)}}function Da({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"),Ra=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 Ro(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{Du(e)}finally{ut(),a()}}}const fg={get(e,t){return De(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(Rn(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{Ro(-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{Ro(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=Re[o],s=xn(a);s=xn(n)?Re.push(e):Re.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&&Ro(-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&&Ro(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"&&De(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 Du(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&&Ru(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 Ru(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 Do(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(Ri),Oi=e=>Object.getPrototypeOf(e)===Ri;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=Rt(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 Ra: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,Da(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,Da(_,x),O):G||V(p,_,U,null,m,N,Da(_,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),Rt(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(_===Ra){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 Rt(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:Rt,o:e};return{render:Jt,hydrate:void 0,createApp:Bu(Jt)}}function Da({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"),Ra=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 Ro(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{Du(e)}finally{ut(),a()}}}const fg={get(e,t){return De(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(Rn(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{Ro(-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{Ro(1)}}const _g="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -22,7 +22,7 @@ * 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=Rn({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]=Rn(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 D(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 R(B){ee.push(B)}yn(b,{args:ae,name:W[Ua],store:T,after:Y,onError:R});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:D,$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=>{D(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",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},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 (Affinity)",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"},Dd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Rd={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:" из "},Df={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Rf={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:"宗教:"}};/*! + */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=Rn({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]=Rn(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",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},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 (Affinity)",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"},Dd={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Rd={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:" из "},Df={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Rf={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. @@ -31,16 +31,16 @@ * (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,E=()=>s,A=I=>i(I)||l(I)||c(I)?xe:t[I],D=()=>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:D,currentPeek:M,next:L,peek:y,reset:h,resetPeek:T,skipToPeek:C}}const Gt=void 0,gp=".",Dr="'",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 D(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()===Dr;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 R(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){D(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){D(g);let d="",$="";for(;d=B(g);)$+=d;return g.currentChar()===Gt&&f(Q.UNTERMINATED_CLOSING_BRACE,s(),0),$}function it(g){D(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 Rt(g){return g!==Dr&&g!==xe}function Ft(g){D(g),E(g,"'");let d="",$="";for(;d=ee(g,Rt);)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){D(g);let d="",$="";for(;d=ee(g,En);)$+=d;return $}function _(g){let d="",$="";for(;d=R(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){D(g);const d=E(g,"|");return D(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,"{"),D(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&&D(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)),D(g),$;if(K=h(g,d))return $=b(d,6,it(g)),D(g),$;if(k=T(g,d))return $=b(d,7,Ft(g)),D(g),$;if(!z&&!K&&!k)return $=b(d,13,p(g)),f(Q.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,$.value),D(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 D(g),g.next(),b(d,9,".");case":":return D(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)?(D(g),O(g,d)):I(g,d)?(D(g),b(d,12,_(g))):S(g,d)?(D(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 D(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:D(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 Rr(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,D){i.code+=A}function c(A,D=!0){const M=D?o:"";l(a?M+" ".repeat(A):M)}function u(A=!0){const D=++i.indentLevel;A&&c(D)}function f(A=!0){const D=--i.indentLevel;A&&c(D)}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"?";":` +`,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=".",Dr="'",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()===Dr;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 Rt(g){return g!==Dr&&g!==xe}function Ft(g){R(g),E(g,"'");let d="",$="";for(;d=ee(g,Rt);)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 Rr(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 Dp(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 Rp(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,D={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)(D),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 D}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,D=_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:D,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=Dp(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=Rp(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!=="",D=Wa(e,c);b&&Sh(c);let[M,L,y]=v?[l,D,r[D]||ge()]:fl(e,l,D,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 D={},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 D={},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 Dp(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 Rp(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=Dp(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=Rp(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 $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,D=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),R=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&&D?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 D},set fallbackRoot(k){D=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=R,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:D,__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:D,__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 Dl=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))}}),Rl=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 Dh(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 Rh(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)),[Dl.name,"I18nN"].forEach(i=>e.component(i,Dl)),[Rl.name,"I18nD"].forEach(i=>e.component(i,Rl))),e.directive("t",Dh(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__&&Rh(v,b,...E),__VUE_I18N_LEGACY_API__&&n&&v.mixin(Fh(r,r.__composer,b));const D=v.unmount;v.unmount=()=>{A&&A(),b.dispose(),D()}},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,D=_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():D}function R(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 Rt(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:R,rt:V,d:X,n:ue,tm:de,te:fe,getLocaleMessage:je,setLocaleMessage:Yt,mergeLocaleMessage:ln,getDateTimeFormat:it,setDateTimeFormat:Rt,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":Dd,"./locales/es/search.json":Rd,"./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":Df,"./locales/ru/tabs.json":Rf,"./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 D=0;r=setInterval(()=>{D++,A.querySelector("canvas")?(clearInterval(r),r=null,s.value=!0,l=A,A.addEventListener("pointerdown",v,!0),i=setTimeout(b,14e3)):D>40&&(clearInterval(r),r=null)},300)}),Ea(()=>{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 Dl=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))}}),Rl=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 Dh(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 Rh(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)),[Dl.name,"I18nN"].forEach(i=>e.component(i,Dl)),[Rl.name,"I18nD"].forEach(i=>e.component(i,Rl))),e.directive("t",Dh(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__&&Rh(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 Rt(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:Rt,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":Dd,"./locales/es/search.json":Rd,"./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":Df,"./locales/ru/tabs.json":Rf,"./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 l;return((l=n==null?void 0:n.value)==null?void 0:l.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),s=pe(!1);let i=null;function r(){s.value=!1}return Un(()=>{var f,b,v;const l=Ct(),c=(v=(b=(f=l==null?void 0:l.proxy)==null?void 0:f.$el)==null?void 0:b.getRootNode)==null?void 0:v.call(b);if(!c||typeof c.querySelector!="function")return;let u=0;i=setInterval(()=>{u++,c.querySelector("canvas")?(clearInterval(i),i=null,s.value=!0):u>40&&(clearInterval(i),i=null)},300)}),Ea(()=>{i&&clearInterval(i)}),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"),(E,A)=>s.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]=Rn({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]=Rn({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 D=nm(),M=om(),L=am();try{const h=typeof localStorage<"u"?localStorage.getItem("theme"):null;h&&((y=D.setTheme)==null||y.call(D,h))}catch{}return ft("uiStore",D),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 D=()=>{c||b()};typeof window<"u"&&window.addEventListener("scroll",D,{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",D);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),D=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},R=Y(S.clientWidth,S.clientHeight);if(y){A.value=new F.Map({container:e.value,style:Am(I),center:s,zoom:i,minZoom:R,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,renderWorldCopies:f,...E?{maxBounds:E}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ql(A.value);try{e.value.__doxaMap=A.value}catch{}}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:R,maxZoom:l,pitch:c,bearing:u,dragRotate:!1,touchPitch:!1,renderWorldCopies:f,...E?{maxBounds:E}:{},attributionControl:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ql(A.value);try{e.value.__doxaMap=A.value}catch{}}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)),D.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,D.value=!1)}return{map:A,isMapReady:D,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",Dm="#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"},Rm=Vt;function fs(e){return Vt[e]||Dm}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:Rm,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",Dt={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Km=Dt,_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)?Dt.hasEngagement:Dt.notEngaged}function ys({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Dt.hasEngagement,["==",t,1],Dt.hasEngagement,Dt.notEngaged]}const ac=ys,Gm=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Km,ENGAGEMENT_LABELS:Um,LABELS:_s,PALETTE:Dt,PROPERTY_KEY:nc,applyColor:ys,buildColorExpression:ac,default:{name:"Engagement Progress",propertyKey:nc,palette:Dt,colors:Dt,labels:_s,getColor:oc,applyColor:ys,buildColorExpression:ac},getColor:oc},Symbol.toStringTag,{value:"Module"})),sc="peoplePraying",Zo=144,Wt={noPrayer:"#e74c3c",hasPrayer:"#f0c64a",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 D(){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 R=a.getSourceData(n);u.value=s(R.normalizedData||[])}else{const R=await o.setActiveSource(n);for(const j of R){const B=Es(j.language||j.primary_language);B&&(j.language=B);const V=Qm(j);j.languageFamily=ps(V)}u.value=s(R),a&&a.cacheSourceData&&a.cacheSourceData(n,{normalizedData:R,timestamp:Date.now()})}c.value=s(Mm(u.value.map(R=>({id:R.uniqueId,slug:R.slug||"",rop3:R.peopleGroupId,peopleId3:R.peopleId3,name:R.name,language:R.language,languageFamily:R.languageFamily,country:R.country,population:R.population,status:R.engagementStatus||R.status,latitude:R.latitude,longitude:R.longitude,lng:R.longitude,lat:R.latitude,description:R.description,imageUrl:R.imageUrl,doxaRegion:R.doxaRegion||R.wagfRegion||"",peoplePraying:R.peoplePraying??null,_normalized:R}))));const I=o.getDataByLanguageFamily();b.value=Object.entries(I).map(([R,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:R,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((R,j)=>j.count-R.count);const F=o.getDataByRegion();v.value=Object.entries(F).map(([R,j])=>{const B=j.reduce((V,X)=>{const ue=parseInt(X.population)||0;return V+ue},0);return{name:R,count:j.length,peopleGroupCount:j.length,population:B,groups:j}}).sort((R,j)=>R.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(R=>{const j=parseInt(R.population)||0;let B=!1;R.bible==="Available"&&(S.bible.count++,S.bible.population+=j,S.bible.groups.push(R),B=!0),R.jesusFilm==="Available"&&(S.jesusFilm.count++,S.jesusFilm.population+=j,S.jesusFilm.groups.push(R),B=!0),R.radio==="Available"&&(S.radio.count++,S.radio.population+=j,S.radio.groups.push(R),B=!0),R.gospel==="Available"&&(S.gospel.count++,S.gospel.population+=j,S.gospel.groups.push(R),B=!0),R.audio==="Available"&&(S.audio.count++,S.audio.population+=j,S.audio.groups.push(R),B=!0),R.stories==="Available"&&(S.stories.count++,S.stories.population+=j,S.stories.groups.push(R),B=!0),B?(S.hasResources.count++,S.hasResources.population+=j,S.hasResources.groups.push(R)):(S.noResources.count++,S.noResources.population+=j,S.noResources.groups.push(R))});const W=u.value.length,ae=u.value.reduce((R,j)=>R+(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,R=H.doxaRegion||H.wagfRegion||(Y&&typeof Y=="object"?Y.value:"")||"";ee&&R&&!W[ee]&&(W[ee]=R)}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:D,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,[c[0]||(c[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:r},"×")])],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]=Rn({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]=Rn({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:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ql(A.value);try{e.value.__doxaMap=A.value}catch{}}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:!0,logoPosition:typeof window<"u"&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches?"bottom-right":"bottom-left"}),ql(A.value);try{e.value.__doxaMap=A.value}catch{}}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",Dm="#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"},Rm=Vt;function fs(e){return Vt[e]||Dm}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:Rm,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",Dt={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Km=Dt,_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)?Dt.hasEngagement:Dt.notEngaged}function ys({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","engagementStatus"]:["get","engagementStatus"];return["case",["==",t,!0],Dt.hasEngagement,["==",t,1],Dt.hasEngagement,Dt.notEngaged]}const ac=ys,Gm=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Km,ENGAGEMENT_LABELS:Um,LABELS:_s,PALETTE:Dt,PROPERTY_KEY:nc,applyColor:ys,buildColorExpression:ac,default:{name:"Engagement Progress",propertyKey:nc,palette:Dt,colors:Dt,labels:_s,getColor:oc,applyColor:ys,buildColorExpression:ac},getColor:oc},Symbol.toStringTag,{value:"Module"})),sc="peoplePraying",Zo=144,Wt={noPrayer:"#e74c3c",hasPrayer:"#f0c64a",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,R){if(R.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 R=(j=t==null?void 0:t.value)==null?void 0:j.utmSource;return encodeURIComponent(String(Y||R||"agwm"))}const v=pe(null),E=pe(!1),A=pe(null),{map:D,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,R=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[R])}async function F(){const[Y,R]=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 R){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 R=D.value;R.addSource("apg",{type:"geojson",data:Y}),R.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]}}),R.on("mouseenter","apg-pins",()=>{R.getCanvas().style.cursor="pointer"}),R.on("mouseleave","apg-pins",()=>{R.getCanvas().style.cursor=""}),R.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(R)})}const W=pe(null);function ae(Y){const R=D.value;if(!R||!R.getLayer("apg-pins"))return;if(W.value===Y){W.value=null,R.setFilter("apg-pins",null),R.fitBounds([[-170,-55],[179,72]],{padding:20,duration:900});return}W.value=Y,R.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&&R.fitBounds([[j,B],[V,X]],{padding:60,duration:900,maxZoom:6})}Un(async()=>{const Y=F().catch(R=>(A.value=String((R==null?void 0:R.message)||R),null));try{await M()}catch(R){A.value=String((R==null?void 0:R.message)||R);return}if(!D.value){A.value="Map failed to initialize — check token and container";return}D.value.once("style.load",async()=>{var R;try{const j=await Y;if(!j)return;try{D.value.setProjection("mercator")}catch{}S(j),(R=s==null?void 0:s.registerMap)==null||R.call(s,"all-people-groups",D.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,R)=>(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,[R[0]||(R[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)),R[1]||(R[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"}))})(); +
`).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/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html b/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html index 171994b4..56469b11 100644 --- a/public/embed/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html +++ b/public/embed/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-I+WqTOp/cYsQrMK+MJDHj6MMzXkdmBFhOwg6sLuTdL1Osm85h6cBk23kMesNNNId", + "integrity": "sha384-no+jaC+dznqyIKBAZXGzqgpT9Q7wzCEAcUyWMZlWwZIqHU6MFO4oi+jYk7y0oVTg", "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-7yBuDNvbjmmTWIgzLPWdiB2/fO6SG8GY7La8NjY7cyywSIvA+Tg7QCXCZMO5e/Rz", + "integrity": "sha384-2goQ4AjLeCh6gNsAbA14vMyOiIonnDGTbf6pFWrRSHpVK6xl9MZBnUC99pOuwZMZ", "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-MC6R/QB+KiNyNUBIu/SeSaHOR0jeY1o7Cp0NMyYvgIQFKyphtrfg+R0JAA5P3WYF", + "integrity": "sha384-T7wEbqZdmoy5W8Fk7belWoLrXA9eWCrnUhQGstwVDdgmutz6NSsnDv0QZ1jraQLn", "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-V1UWZkHJab3+7U/3I+fzciX/SYzbXng0WXbADcET4SlyBmgS7qoHNZ/QG8YlJMro", + "integrity": "sha384-euRBWgao2MrP71dm6xeC9gXc0hFk48B5RwKZryS1mQ4yiKR0cWM5J6jKxak2Du1R", "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-fp+96iHumESwrb6AqH44iSWjEHLd+qaUpCaLLf4xfRMqXOVdLa02xiyhxtVF3L+1", + "integrity": "sha384-ZAMljtM2Oa8KR6ZmEEfyt9UG1/nu01fb67hiSqjZrLSGyRY3oNr4JKsnZILG1EYV", "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-SQe/siyewSzfgXef3+eDOcB+p/cqH/Qh0LtBw5ajEbv5l/1foVWmMenb9EuESue+", + "integrity": "sha384-N15tjiJbrAiHVV2wqiTkyCa1LX/Wst3Vxg/4s69zmC9AP6aQU1S6aWRbNAEHs+D2", "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-IJjKzDicKG0MDMSxqGm+yhsq+gVHtt1HfO4wDTXPmgVvtv13Z7FI4/NJ0Ifnt9L4", + "integrity": "sha384-NO1mz4LGRkJfmuhhk0iwct21V1j8pKL7QJ/eB2KCjqOERimnXNdLXeJvSfVqTe/N", "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-uEOP46NoQVOoK2+BywSYnk0PdwdQC0YorO7Hh6wzaDDq82zPZB+ZfrZsbO/jlESM", + "integrity": "sha384-+mhLGi59n6skPX0+EDsSHffg1H6CP2/t3C99jq5Uxmg+Ui7bkyAGjXLcdTcZvlt5", "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-4tk3xExvD8kWK8B9kULi9FCt6q9Vr9ZgWVm0WJ2vDdsFoiS1S/h6EzQCh0yXPjNd", + "integrity": "sha384-97T77nVxLMQGnyUJp4zvisC/cWq/s1HAZButnNLcWTLLkjO5ZCngW9AW+9NKOIVC", "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/embed/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js b/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js index 4b1ed532..7af75b48 100644 --- a/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js +++ b/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/my-upg-100-list.js @@ -7,14 +7,14 @@ * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ut;class fi{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&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.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(ut===this)ut=this.prevScope;else{let t=ut;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(Tn){let t=Tn;for(Tn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Cn;){let t=Cn;for(Cn=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 _i(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Sr(n),Fd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function xr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ki(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ki(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===En)||(e.globalVersion=En,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xr(e))))return;e.flags|=2;const t=e.dep,o=ze,n=Gt;ze=e,Gt=!0;try{_i(e);const a=e.fn(e._value);(t.version===0||qt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{ze=o,Gt=n,vi(e),e.flags&=-3}}function Sr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Sr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Fd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Gt=!0;const wi=[];function Zt(){wi.push(Gt),Gt=!1}function Xt(){const e=wi.pop();Gt=e===void 0?!0:e}function xi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ze;ze=void 0;try{t()}finally{ze=o}}}let En=0;class Od{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 Ar{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(!ze||!Gt||ze===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ze)o=this.activeLink=new Od(ze,this),ze.deps?(o.prevDep=ze.depsTail,ze.depsTail.nextDep=o,ze.depsTail=o):ze.deps=ze.depsTail=o,Si(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=ze.depsTail,o.nextDep=void 0,ze.depsTail.nextDep=o,ze.depsTail=o,ze.deps===o&&(ze.deps=n)}return o}trigger(t){this.version++,En++,this.notify(t)}notify(t){kr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{wr()}}}function Si(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)Si(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const _a=new WeakMap,Bo=Symbol(""),$r=Symbol(""),Pn=Symbol("");function St(e,t,o){if(Gt&&ze){let n=_a.get(e);n||_a.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Ar),a.map=n,a.key=o),a.track()}}function co(e,t,o,n,a,r){const s=_a.get(e);if(!s){En++;return}const i=l=>{l&&l.trigger()};if(kr(),t==="clear")s.forEach(i);else{const l=_e(e),c=l&&ga(o);if(l&&o==="length"){const u=Number(n);s.forEach((d,h)=>{(h==="length"||h===Pn||!Nt(h)&&h>=u)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Pn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Bo)),Ao(e)&&i(s.get($r)));break;case"delete":l||(i(s.get(Bo)),Ao(e)&&i(s.get($r)));break;case"set":Ao(e)&&i(s.get(Bo));break}}wr()}function Dd(e,t){const o=_a.get(e);return o&&o.get(t)}function Qo(e){const t=Pe(e);return t===e?t:(St(t,"iterate",Pn),Rt(e)?t:t.map(Ut))}function va(e){return St(e=Pe(e),"iterate",Pn),e}function Qt(e,t){return go(e)?tn(po(e)?Ut(t):t):Ut(t)}const Bd={__proto__:null,[Symbol.iterator](){return Lr(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return Qo(this).concat(...e.map(t=>_e(t)?Qo(t):t))},entries(){return Lr(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return uo(this,"every",e,t,void 0,arguments)},filter(e,t){return uo(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return uo(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return uo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return uo(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return uo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return uo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cr(this,"includes",e)},indexOf(...e){return Cr(this,"indexOf",e)},join(e){return Qo(this).join(e)},lastIndexOf(...e){return Cr(this,"lastIndexOf",e)},map(e,t){return uo(this,"map",e,t,void 0,arguments)},pop(){return Mn(this,"pop")},push(...e){return Mn(this,"push",e)},reduce(e,...t){return Ai(this,"reduce",e,t)},reduceRight(e,...t){return Ai(this,"reduceRight",e,t)},shift(){return Mn(this,"shift")},some(e,t){return uo(this,"some",e,t,void 0,arguments)},splice(...e){return Mn(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 Mn(this,"unshift",e)},values(){return Lr(this,"values",e=>Qt(this,e))}};function Lr(e,t,o){const n=va(e),a=n[t]();return n!==e&&!Rt(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const jd=Array.prototype;function uo(e,t,o,n,a,r){const s=va(e),i=s!==e&&!Rt(e),l=s[t];if(l!==jd[t]){const d=l.apply(e,r);return i?Ut(d):d}let c=o;s!==e&&(i?c=function(d,h){return o.call(this,Qt(e,d),h,e)}:o.length>2&&(c=function(d,h){return o.call(this,d,h,e)}));const u=l.call(s,c,n);return i&&a?a(u):u}function Ai(e,t,o,n){const a=va(e),r=a!==e&&!Rt(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,d){return i&&(i=!1,c=Qt(e,c)),o.call(this,c,Qt(e,u),d,e)}):o.length>3&&(s=function(c,u,d){return o.call(this,c,u,d,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Cr(e,t,o){const n=Pe(e);St(n,"iterate",Pn);const a=n[t](...o);return(a===-1||a===!1)&&Aa(o[0])?(o[0]=Pe(o[0]),n[t](...o)):a}function Mn(e,t,o=[]){Zt(),kr();const n=Pe(e)[t].apply(e,o);return wr(),Xt(),n}const Gd=fr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt));function Ud(e){Nt(e)||(e=String(e));const t=Pe(this);return St(t,"has",e),t.hasOwnProperty(e)}class Li{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Ni:Mi:r?Pi:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=_e(t);if(!a){let l;if(s&&(l=Bd[o]))return l;if(o==="hasOwnProperty")return Ud}const i=Reflect.get(t,o,Je(t)?t:n);if((Nt(o)?$i.has(o):Gd(o))||(a||St(t,"get",o),r))return i;if(Je(i)){const l=s&&ga(o)?i:i.value;return a&&Be(l)?Er(l):l}return Be(i)?a?Er(i):en(i):i}}class Ci extends Li{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=_e(t)&&ga(o);if(!this._isShallow){const c=go(r);if(!Rt(n)&&!go(n)&&(r=Pe(r),n=Pe(n)),!s&&Je(r)&&!Je(n))return c||(r.value=n),!0}const i=s?Number(o)e,ka=e=>Reflect.getPrototypeOf(e);function Wd(e,t,o){return function(...n){const a=this.__v_raw,r=Pe(a),s=Ao(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Tr:t?tn:Ut;return!t&&St(r,"iterate",l?$r:Bo),nt(Object.create(c),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}}})}}function wa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yd(e,t){const o={get(a){const r=this.__v_raw,s=Pe(r),i=Pe(a);e||(qt(a,i)&&St(s,"get",a),St(s,"get",i));const{has:l}=ka(s),c=t?Tr:e?tn:Ut;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&St(Pe(a),"iterate",Bo),a.size},has(a){const r=this.__v_raw,s=Pe(r),i=Pe(a);return e||(qt(a,i)&&St(s,"has",a),St(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Pe(i),c=t?Tr:e?tn:Ut;return!e&&St(l,"iterate",Bo),i.forEach((u,d)=>a.call(r,c(u),c(d),s))}};return nt(o,e?{add:wa("add"),set:wa("set"),delete:wa("delete"),clear:wa("clear")}:{add(a){const r=Pe(this),s=ka(r),i=Pe(a),l=!t&&!Rt(a)&&!go(a)?i:a;return s.has.call(r,l)||qt(a,l)&&s.has.call(r,a)||qt(i,l)&&s.has.call(r,i)||(r.add(l),co(r,"add",l,l)),this},set(a,r){!t&&!Rt(r)&&!go(r)&&(r=Pe(r));const s=Pe(this),{has:i,get:l}=ka(s);let c=i.call(s,a);c||(a=Pe(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?qt(r,u)&&co(s,"set",a,r):co(s,"add",a,r),this},delete(a){const r=Pe(this),{has:s,get:i}=ka(r);let l=s.call(r,a);l||(a=Pe(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&co(r,"delete",a,void 0),c},clear(){const a=Pe(this),r=a.size!==0,s=a.clear();return r&&co(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=Wd(a,e,t)}),o}function xa(e,t){const o=Yd(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Ie(o,a)&&a in n?o:n,a,r)}const Jd={get:xa(!1,!1)},qd={get:xa(!1,!0)},Zd={get:xa(!0,!1)},Xd={get:xa(!0,!0)},Ei=new WeakMap,Pi=new WeakMap,Mi=new WeakMap,Ni=new WeakMap;function Qd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function en(e){return go(e)?e:Sa(e,!1,Kd,Jd,Ei)}function ep(e){return Sa(e,!1,zd,qd,Pi)}function Er(e){return Sa(e,!0,Hd,Zd,Mi)}function nw(e){return Sa(e,!0,Vd,Xd,Ni)}function Sa(e,t,o,n,a){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=Qd($d(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function po(e){return go(e)?po(e.__v_raw):!!(e&&e.__v_isReactive)}function go(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function Aa(e){return e?!!e.__v_raw:!1}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function jo(e){return!Ie(e,"__v_skip")&&Object.isExtensible(e)&&ii(e,"__v_skip",!0),e}const Ut=e=>Be(e)?en(e):e,tn=e=>Be(e)?Er(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function ue(e){return Ii(e,!1)}function Nn(e){return Ii(e,!0)}function Ii(e,t){return Je(e)?e:new tp(e,t)}class tp{constructor(t,o){this.dep=new Ar,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Pe(t),this._value=o?t:Ut(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Rt(t)||go(t);t=n?t:Pe(t),qt(t,o)&&(this._rawValue=t,this._value=n?t:Ut(t),this.dep.trigger())}}function be(e){return Je(e)?e.value:e}const op={get:(e,t,o)=>t==="__v_raw"?e:be(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Je(a)&&!Je(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Ri(e){return po(e)?e:new Proxy(e,op)}function np(e){const t=_e(e)?new Array(e.length):{};for(const o in e)t[o]=Fi(e,o);return t}class ap{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Nt(o)?o:String(o),this._raw=Pe(t);let a=!0,r=t;if(!_e(t)||Nt(this._key)||!ga(this._key))do a=!Aa(r)||Rt(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=be(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Je(this._raw[this._key])){const o=this._object[this._key];if(Je(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Dd(this._raw,this._key)}}class rp{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 sp(e,t,o){return Je(e)?e:ke(e)?new rp(e):Be(e)&&arguments.length>1?Fi(e,t,o):ue(e)}function Fi(e,t,o){return new ap(e,t,o)}class ip{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Ar(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=En-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ze!==this)return yi(this,!0),!0}get value(){const t=this.dep.track();return ki(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lp(e,t,o=!1){let n,a;return ke(e)?n=e:(n=e.get,a=e.set),new ip(n,a,o)}const $a={},La=new WeakMap;let Go;function cp(e,t=!1,o=Go){if(o){let n=La.get(o);n||La.set(o,n=[]),n.push(e)}}function up(e,t,o=Ue){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=p=>a?p:Rt(p)||a===!1||a===0?fo(p,1):fo(p);let u,d,h,k,f=!1,y=!1;if(Je(e)?(d=()=>e.value,f=Rt(e)):po(e)?(d=()=>c(e),f=!0):_e(e)?(y=!0,f=e.some(p=>po(p)||Rt(p)),d=()=>e.map(p=>{if(Je(p))return p.value;if(po(p))return c(p);if(ke(p))return l?l(p,2):p()})):ke(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Zt();try{h()}finally{Xt()}}const p=Go;Go=u;try{return l?l(e,3,[k]):e(k)}finally{Go=p}}:d=Jt,t&&a){const p=d,v=a===!0?1/0:a;d=()=>fo(p(),v)}const m=hi(),x=()=>{u.stop(),m&&m.active&&hr(m.effects,u)};if(r&&t){const p=t;t=(...v)=>{const C=p(...v);return x(),C}}let S=y?new Array(e.length).fill($a):$a;const b=p=>{if(!(!(u.flags&1)||!u.dirty&&!p))if(t){const v=u.run();if(p||a||f||(y?v.some((C,A)=>qt(C,S[A])):qt(v,S))){h&&h();const C=Go;Go=u;try{const A=[v,S===$a?void 0:y&&S[0]===$a?[]:S,k];S=v,l?l(t,3,A):t(...A)}finally{Go=C}}}else u.run()};return i&&i(b),u=new mi(d),u.scheduler=s?()=>s(b,!1):b,k=p=>cp(p,!1,u),h=u.onStop=()=>{const p=La.get(u);if(p){if(l)l(p,4);else for(const v of p)v();La.delete(u)}},t?n?b(!0):S=u.run():s?s(b.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function fo(e,t=1/0,o){if(t<=0||!Be(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Je(e))fo(e.value,t,o);else if(_e(e))for(let n=0;n{fo(n,t,o)});else if(pa(e)){for(const n in e)fo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&fo(e[n],t,o)}return e}/** +**/let ut;class fi{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&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.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(ut===this)ut=this.prevScope;else{let t=ut;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(Tn){let t=Tn;for(Tn=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;Cn;){let t=Cn;for(Cn=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 _i(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,o=e.depsTail,n=o;for(;n;){const a=n.prevDep;n.version===-1?(n===o&&(o=a),Sr(n),Fd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}e.deps=t,e.depsTail=o}function xr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ki(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ki(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===En)||(e.globalVersion=En,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xr(e))))return;e.flags|=2;const t=e.dep,o=ze,n=Gt;ze=e,Gt=!0;try{_i(e);const a=e.fn(e._value);(t.version===0||qt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{ze=o,Gt=n,vi(e),e.flags&=-3}}function Sr(e,t=!1){const{dep:o,prevSub:n,nextSub:a}=e;if(n&&(n.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Sr(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Fd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Gt=!0;const wi=[];function Zt(){wi.push(Gt),Gt=!1}function Xt(){const e=wi.pop();Gt=e===void 0?!0:e}function xi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ze;ze=void 0;try{t()}finally{ze=o}}}let En=0;class Od{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 Ar{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(!ze||!Gt||ze===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ze)o=this.activeLink=new Od(ze,this),ze.deps?(o.prevDep=ze.depsTail,ze.depsTail.nextDep=o,ze.depsTail=o):ze.deps=ze.depsTail=o,Si(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=ze.depsTail,o.nextDep=void 0,ze.depsTail.nextDep=o,ze.depsTail=o,ze.deps===o&&(ze.deps=n)}return o}trigger(t){this.version++,En++,this.notify(t)}notify(t){kr();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{wr()}}}function Si(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)Si(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const _a=new WeakMap,Bo=Symbol(""),$r=Symbol(""),Pn=Symbol("");function St(e,t,o){if(Gt&&ze){let n=_a.get(e);n||_a.set(e,n=new Map);let a=n.get(o);a||(n.set(o,a=new Ar),a.map=n,a.key=o),a.track()}}function co(e,t,o,n,a,r){const s=_a.get(e);if(!s){En++;return}const i=l=>{l&&l.trigger()};if(kr(),t==="clear")s.forEach(i);else{const l=_e(e),c=l&&ga(o);if(l&&o==="length"){const u=Number(n);s.forEach((d,f)=>{(f==="length"||f===Pn||!Nt(f)&&f>=u)&&i(d)})}else switch((o!==void 0||s.has(void 0))&&i(s.get(o)),c&&i(s.get(Pn)),t){case"add":l?c&&i(s.get("length")):(i(s.get(Bo)),Ao(e)&&i(s.get($r)));break;case"delete":l||(i(s.get(Bo)),Ao(e)&&i(s.get($r)));break;case"set":Ao(e)&&i(s.get(Bo));break}}wr()}function Dd(e,t){const o=_a.get(e);return o&&o.get(t)}function Qo(e){const t=Pe(e);return t===e?t:(St(t,"iterate",Pn),Rt(e)?t:t.map(Ut))}function va(e){return St(e=Pe(e),"iterate",Pn),e}function Qt(e,t){return go(e)?tn(po(e)?Ut(t):t):Ut(t)}const Bd={__proto__:null,[Symbol.iterator](){return Lr(this,Symbol.iterator,e=>Qt(this,e))},concat(...e){return Qo(this).concat(...e.map(t=>_e(t)?Qo(t):t))},entries(){return Lr(this,"entries",e=>(e[1]=Qt(this,e[1]),e))},every(e,t){return uo(this,"every",e,t,void 0,arguments)},filter(e,t){return uo(this,"filter",e,t,o=>o.map(n=>Qt(this,n)),arguments)},find(e,t){return uo(this,"find",e,t,o=>Qt(this,o),arguments)},findIndex(e,t){return uo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return uo(this,"findLast",e,t,o=>Qt(this,o),arguments)},findLastIndex(e,t){return uo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return uo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cr(this,"includes",e)},indexOf(...e){return Cr(this,"indexOf",e)},join(e){return Qo(this).join(e)},lastIndexOf(...e){return Cr(this,"lastIndexOf",e)},map(e,t){return uo(this,"map",e,t,void 0,arguments)},pop(){return Mn(this,"pop")},push(...e){return Mn(this,"push",e)},reduce(e,...t){return Ai(this,"reduce",e,t)},reduceRight(e,...t){return Ai(this,"reduceRight",e,t)},shift(){return Mn(this,"shift")},some(e,t){return uo(this,"some",e,t,void 0,arguments)},splice(...e){return Mn(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 Mn(this,"unshift",e)},values(){return Lr(this,"values",e=>Qt(this,e))}};function Lr(e,t,o){const n=va(e),a=n[t]();return n!==e&&!Rt(e)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.done||(r.value=o(r.value)),r}),a}const jd=Array.prototype;function uo(e,t,o,n,a,r){const s=va(e),i=s!==e&&!Rt(e),l=s[t];if(l!==jd[t]){const d=l.apply(e,r);return i?Ut(d):d}let c=o;s!==e&&(i?c=function(d,f){return o.call(this,Qt(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&&a?a(u):u}function Ai(e,t,o,n){const a=va(e),r=a!==e&&!Rt(e);let s=o,i=!1;a!==e&&(r?(i=n.length===0,s=function(c,u,d){return i&&(i=!1,c=Qt(e,c)),o.call(this,c,Qt(e,u),d,e)}):o.length>3&&(s=function(c,u,d){return o.call(this,c,u,d,e)}));const l=a[t](s,...n);return i?Qt(e,l):l}function Cr(e,t,o){const n=Pe(e);St(n,"iterate",Pn);const a=n[t](...o);return(a===-1||a===!1)&&Aa(o[0])?(o[0]=Pe(o[0]),n[t](...o)):a}function Mn(e,t,o=[]){Zt(),kr();const n=Pe(e)[t].apply(e,o);return wr(),Xt(),n}const Gd=fr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt));function Ud(e){Nt(e)||(e=String(e));const t=Pe(this);return St(t,"has",e),t.hasOwnProperty(e)}class Li{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const a=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!a;if(o==="__v_isReadonly")return a;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(a?r?Ni:Mi:r?Pi:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=_e(t);if(!a){let l;if(s&&(l=Bd[o]))return l;if(o==="hasOwnProperty")return Ud}const i=Reflect.get(t,o,Je(t)?t:n);if((Nt(o)?$i.has(o):Gd(o))||(a||St(t,"get",o),r))return i;if(Je(i)){const l=s&&ga(o)?i:i.value;return a&&Be(l)?Er(l):l}return Be(i)?a?Er(i):en(i):i}}class Ci extends Li{constructor(t=!1){super(!1,t)}set(t,o,n,a){let r=t[o];const s=_e(t)&&ga(o);if(!this._isShallow){const c=go(r);if(!Rt(n)&&!go(n)&&(r=Pe(r),n=Pe(n)),!s&&Je(r)&&!Je(n))return c||(r.value=n),!0}const i=s?Number(o)e,ka=e=>Reflect.getPrototypeOf(e);function Wd(e,t,o){return function(...n){const a=this.__v_raw,r=Pe(a),s=Ao(r),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=a[e](...n),u=o?Tr:t?tn:Ut;return!t&&St(r,"iterate",l?$r:Bo),nt(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 wa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yd(e,t){const o={get(a){const r=this.__v_raw,s=Pe(r),i=Pe(a);e||(qt(a,i)&&St(s,"get",a),St(s,"get",i));const{has:l}=ka(s),c=t?Tr:e?tn:Ut;if(l.call(s,a))return c(r.get(a));if(l.call(s,i))return c(r.get(i));r!==s&&r.get(a)},get size(){const a=this.__v_raw;return!e&&St(Pe(a),"iterate",Bo),a.size},has(a){const r=this.__v_raw,s=Pe(r),i=Pe(a);return e||(qt(a,i)&&St(s,"has",a),St(s,"has",i)),a===i?r.has(a):r.has(a)||r.has(i)},forEach(a,r){const s=this,i=s.__v_raw,l=Pe(i),c=t?Tr:e?tn:Ut;return!e&&St(l,"iterate",Bo),i.forEach((u,d)=>a.call(r,c(u),c(d),s))}};return nt(o,e?{add:wa("add"),set:wa("set"),delete:wa("delete"),clear:wa("clear")}:{add(a){const r=Pe(this),s=ka(r),i=Pe(a),l=!t&&!Rt(a)&&!go(a)?i:a;return s.has.call(r,l)||qt(a,l)&&s.has.call(r,a)||qt(i,l)&&s.has.call(r,i)||(r.add(l),co(r,"add",l,l)),this},set(a,r){!t&&!Rt(r)&&!go(r)&&(r=Pe(r));const s=Pe(this),{has:i,get:l}=ka(s);let c=i.call(s,a);c||(a=Pe(a),c=i.call(s,a));const u=l.call(s,a);return s.set(a,r),c?qt(r,u)&&co(s,"set",a,r):co(s,"add",a,r),this},delete(a){const r=Pe(this),{has:s,get:i}=ka(r);let l=s.call(r,a);l||(a=Pe(a),l=s.call(r,a)),i&&i.call(r,a);const c=r.delete(a);return l&&co(r,"delete",a,void 0),c},clear(){const a=Pe(this),r=a.size!==0,s=a.clear();return r&&co(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{o[a]=Wd(a,e,t)}),o}function xa(e,t){const o=Yd(e,t);return(n,a,r)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get(Ie(o,a)&&a in n?o:n,a,r)}const Jd={get:xa(!1,!1)},qd={get:xa(!1,!0)},Zd={get:xa(!0,!1)},Xd={get:xa(!0,!0)},Ei=new WeakMap,Pi=new WeakMap,Mi=new WeakMap,Ni=new WeakMap;function Qd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function en(e){return go(e)?e:Sa(e,!1,Kd,Jd,Ei)}function ep(e){return Sa(e,!1,zd,qd,Pi)}function Er(e){return Sa(e,!0,Hd,Zd,Mi)}function nw(e){return Sa(e,!0,Vd,Xd,Ni)}function Sa(e,t,o,n,a){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=a.get(e);if(r)return r;const s=Qd($d(e));if(s===0)return e;const i=new Proxy(e,s===2?n:o);return a.set(e,i),i}function po(e){return go(e)?po(e.__v_raw):!!(e&&e.__v_isReactive)}function go(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function Aa(e){return e?!!e.__v_raw:!1}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function jo(e){return!Ie(e,"__v_skip")&&Object.isExtensible(e)&&ii(e,"__v_skip",!0),e}const Ut=e=>Be(e)?en(e):e,tn=e=>Be(e)?Er(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function ue(e){return Ii(e,!1)}function Nn(e){return Ii(e,!0)}function Ii(e,t){return Je(e)?e:new tp(e,t)}class tp{constructor(t,o){this.dep=new Ar,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Pe(t),this._value=o?t:Ut(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Rt(t)||go(t);t=n?t:Pe(t),qt(t,o)&&(this._rawValue=t,this._value=n?t:Ut(t),this.dep.trigger())}}function be(e){return Je(e)?e.value:e}const op={get:(e,t,o)=>t==="__v_raw"?e:be(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const a=e[t];return Je(a)&&!Je(o)?(a.value=o,!0):Reflect.set(e,t,o,n)}};function Ri(e){return po(e)?e:new Proxy(e,op)}function np(e){const t=_e(e)?new Array(e.length):{};for(const o in e)t[o]=Fi(e,o);return t}class ap{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Nt(o)?o:String(o),this._raw=Pe(t);let a=!0,r=t;if(!_e(t)||Nt(this._key)||!ga(this._key))do a=!Aa(r)||Rt(r);while(a&&(r=r.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=be(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Je(this._raw[this._key])){const o=this._object[this._key];if(Je(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return Dd(this._raw,this._key)}}class rp{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 sp(e,t,o){return Je(e)?e:ke(e)?new rp(e):Be(e)&&arguments.length>1?Fi(e,t,o):ue(e)}function Fi(e,t,o){return new ap(e,t,o)}class ip{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Ar(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=En-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ze!==this)return yi(this,!0),!0}get value(){const t=this.dep.track();return ki(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lp(e,t,o=!1){let n,a;return ke(e)?n=e:(n=e.get,a=e.set),new ip(n,a,o)}const $a={},La=new WeakMap;let Go;function cp(e,t=!1,o=Go){if(o){let n=La.get(o);n||La.set(o,n=[]),n.push(e)}}function up(e,t,o=Ue){const{immediate:n,deep:a,once:r,scheduler:s,augmentJob:i,call:l}=o,c=p=>a?p:Rt(p)||a===!1||a===0?fo(p,1):fo(p);let u,d,f,k,m=!1,_=!1;if(Je(e)?(d=()=>e.value,m=Rt(e)):po(e)?(d=()=>c(e),m=!0):_e(e)?(_=!0,m=e.some(p=>po(p)||Rt(p)),d=()=>e.map(p=>{if(Je(p))return p.value;if(po(p))return c(p);if(ke(p))return l?l(p,2):p()})):ke(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){Zt();try{f()}finally{Xt()}}const p=Go;Go=u;try{return l?l(e,3,[k]):e(k)}finally{Go=p}}:d=Jt,t&&a){const p=d,v=a===!0?1/0:a;d=()=>fo(p(),v)}const h=hi(),x=()=>{u.stop(),h&&h.active&&hr(h.effects,u)};if(r&&t){const p=t;t=(...v)=>{const C=p(...v);return x(),C}}let S=_?new Array(e.length).fill($a):$a;const b=p=>{if(!(!(u.flags&1)||!u.dirty&&!p))if(t){const v=u.run();if(p||a||m||(_?v.some((C,A)=>qt(C,S[A])):qt(v,S))){f&&f();const C=Go;Go=u;try{const A=[v,S===$a?void 0:_&&S[0]===$a?[]:S,k];S=v,l?l(t,3,A):t(...A)}finally{Go=C}}}else u.run()};return i&&i(b),u=new mi(d),u.scheduler=s?()=>s(b,!1):b,k=p=>cp(p,!1,u),f=u.onStop=()=>{const p=La.get(u);if(p){if(l)l(p,4);else for(const v of p)v();La.delete(u)}},t?n?b(!0):S=u.run():s?s(b.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function fo(e,t=1/0,o){if(t<=0||!Be(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Je(e))fo(e.value,t,o);else if(_e(e))for(let n=0;n{fo(n,t,o)});else if(pa(e)){for(const n in e)fo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&fo(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const In=[];let Pr=!1;function aw(e,...t){if(Pr)return;Pr=!0,Zt();const o=In.length?In[In.length-1].component:null,n=o&&o.appContext.config.warnHandler,a=dp();if(n)on(n,o,11,[e+t.map(r=>{var s,i;return(i=(s=r.toString)==null?void 0:s.call(r))!=null?i:JSON.stringify(r)}).join(""),o&&o.proxy,a.map(({vnode:r})=>`at <${Fl(o,r.type)}>`).join(` `),a]);else{const r=[`[Vue warn]: ${e}`,...t];a.length&&r.push(` `,...pp(a)),console.warn(...r)}Xt(),Pr=!1}function dp(){let e=In[In.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 pp(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...gp(o))}),t}function gp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Fl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...fp(e.props),r]:[a+r]}function fp(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Oi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Oi(e,t,o){return He(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Je(t)?(t=Oi(e,Pe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ke(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Pe(t),o?t:[`${e}=`,t])}function on(e,t,o,n){try{return n?e(...n):e()}catch(a){Rn(a,t,o)}}function Kt(e,t,o,n){if(ke(e)){const a=on(e,t,o,n);return a&&ri(a)&&a.catch(r=>{Rn(r,t,o)}),a}if(_e(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Fn(a);r=Fn(o)?Lt.push(e):Lt.splice(mp(t),0,e),e.flags|=1,Bi()}}function Bi(){Ca||(Ca=Di.then(Ui))}function bp(e){if(!_e(e))$o&&e.id===-1?$o.splice(an+1,0,e):e.flags&1||(nn.push(e),e.flags|=1);else for(let t=0;tFn(o)-Fn(n));if(nn.length=0,$o){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){try{for(eo=0;eo{n._d&&Ba(-1);const r=Ta(t),s=mo.length;let i;try{i=e(...a)}finally{for(let l=mo.length;l>s;l--)Jr();Ta(r),n._d&&Ba(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function yp(e,t){if(yt===null)return e;const o=Ka(yt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&ke(t)?t.call(n&&n.proxy):t}}function _p(){return!!(yo()||Ho)}const vp=Symbol.for("v-scx"),kp=()=>Ee(vp);function wp(e,t){return Nr(e,null,t)}function rt(e,t,o){return Nr(e,t,o)}function Nr(e,t,o=Ue){const{immediate:n,deep:a,flush:r,once:s}=o,i=nt({},o),l=t&&n||!t&&r!=="post";let c;if(cn){if(r==="sync"){const k=kp();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=Jt,k.resume=Jt,k.pause=Jt,k}}const u=_t;i.call=(k,f,y)=>Kt(k,u,f,y);let d=!1;r==="post"?i.scheduler=k=>{Tt(k,u&&u.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(k,f)=>{f?k():Mr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),d&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const h=up(e,t,i);return cn&&(c?c.push(h):l&&h()),h}function xp(e,t,o){const n=this.proxy,a=He(e)?e.includes(".")?Hi(n,e):()=>n[e]:e.bind(n,n);let r;ke(t)?r=t:(r=t.handler,o=t);const s=Wn(this),i=Nr(a,r.bind(n),o);return s(),i}function Hi(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Ko=e=>e&&(e.disabled||e.disabled===""),Sp=e=>e&&(e.defer||e.defer===""),Vi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wi=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ir=(e,t)=>{const o=e&&e.to;return He(o)?t?t(o):null:o},Ap={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:d,pbc:h,o:{insert:k,querySelector:f,createText:y,createComment:m,parentNode:x}}=c,S=Ko(t.props);let{dynamicChildren:b}=t;const p=(A,N,M)=>{A.shapeFlag&16&&u(A.children,N,M,a,r,s,i,l)},v=(A=t)=>{const N=Ko(A.props),M=A.target=Ir(A.props,f),V=Rr(M,A,y,k);M&&(s!=="svg"&&Vi(M)?s="svg":s!=="mathml"&&Wi(M)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(M),N||(p(A,M,V),On(A,!1)))},C=A=>{const N=()=>{if(Co.get(A)===N){if(Co.delete(A),Ko(A.props)){const M=x(A.el)||o;p(A,M,A.anchor),On(A,!0)}v(A)}};Co.set(A,N),Tt(N,r)};if(e==null){const A=t.el=y(""),N=t.anchor=y("");if(k(A,o,n),k(N,o,n),Sp(t.props)||r&&r.pendingBranch){C(t);return}S&&(p(t,o,N),On(t,!0)),v()}else{t.el=e.el;const A=t.anchor=e.anchor,N=Co.get(e);if(N){N.flags|=8,Co.delete(e),C(t);return}t.targetStart=e.targetStart;const M=t.target=e.target,V=t.targetAnchor=e.targetAnchor,G=Ko(e.props),U=G?o:M,re=G?A:V;if(s==="svg"||Vi(M)?s="svg":(s==="mathml"||Wi(M))&&(s="mathml"),b?(h(e.dynamicChildren,b,U,a,r,s,i),Wr(e,t,!0)):l||d(e,t,U,re,a,r,s,i,!1),S)G?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pa(t,o,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=Ir(t.props,f);B&&(t.target=B,Pa(t,B,null,c,0))}else G&&Pa(t,M,V,c,1);On(t,S)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e,k=Ko(h),f=r||!k,y=Co.get(e);if(y&&(y.flags|=8,Co.delete(e)),d&&(a(c),a(u)),r&&a(l),!y&&(k||d)&&s&16)for(let m=0;m1){for(const o of e)if(o.type!==oo){t=o;break}}return t}function Yi(e){if(!Ia(e))return Ea(e.type)&&e.children?Cp(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&&ke(o.default))return o.default()}}function Or(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Or(Ea(o.type)&&Yi(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 Dn(e,t){return ke(e)?nt({name:e.name},t,{setup:e}):e}function Dr(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 Ma=new WeakMap;function Bn(e,t,o,n,a=!1){if(_e(e)){e.forEach((y,m)=>Bn(y,t&&(_e(t)?t[m]:t),o,n,a));return}if(rn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Bn(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Ka(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===Ue?i.refs={}:i.refs,d=i.setupState,h=Pe(d),k=d===Ue?ni:y=>Ji(u,y)?!1:Ie(h,y),f=(y,m)=>!(m&&Ji(u,m));if(c!=null&&c!==l){if(qi(t),He(c))u[c]=null,k(c)&&(d[c]=null);else if(Je(c)){const y=t;f(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(ke(l))on(l,i,12,[s,u]);else{const y=He(l),m=Je(l);if(y||m){const x=()=>{if(e.f){const S=y?k(l)?d[l]:u[l]:f()||!e.k?l.value:u[e.k];if(a)_e(S)&&hr(S,r);else if(_e(S))S.includes(r)||S.push(r);else if(y)u[l]=[r],k(l)&&(d[l]=u[l]);else{const b=[r];f(l,e.k)&&(l.value=b),e.k&&(u[e.k]=b)}}else y?(u[l]=s,k(l)&&(d[l]=s)):m&&(f(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const S=()=>{x(),Ma.delete(e)};S.id=-1,Ma.set(e,S),Tt(S,o)}else qi(e),x()}}}function qi(e){const t=Ma.get(e);t&&(t.flags|=8,Ma.delete(e))}const Zi=e=>e.nodeType===8;ba().requestIdleCallback,ba().cancelIdleCallback;function Tp(e,t){if(Zi(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Zi(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const rn=e=>!!e.type.__asyncLoader;function Xi(e){ke(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const h=()=>(d++,c=null,k()),k=()=>{let f;return c||(f=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((m,x)=>{l(y,()=>m(h()),()=>x(y),d+1)});throw y}).then(y=>f!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return Dn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(f,y,m){const x=f.isConnected;let S=!1;(y.bu||(y.bu=[])).push(()=>S=!0);const b=()=>{S||!f.parentNode||x&&!f.isConnected||m()},p=r?()=>{const v=r(b,C=>Tp(f,C));v&&(y.bum||(y.bum=[])).push(v)}:b;u?p():k().then(()=>!y.isUnmounted&&p())},get __asyncResolved(){return u},setup(){const f=_t;if(Dr(f),u)return()=>Na(u,f);const y=v=>{c=null,Rn(v,f,13,!n)};if(i&&f.suspense||cn)return k().then(v=>()=>Na(v,f)).catch(v=>(y(v),()=>n?je(n,{error:v}):null));const m=ue(!1),x=ue(),S=ue(!!a);let b,p;return Fa(()=>{b!=null&&clearTimeout(b),p!=null&&clearTimeout(p)}),a&&(p=setTimeout(()=>{f.isUnmounted||(S.value=!1)},a)),s!=null&&(b=setTimeout(()=>{if(!f.isUnmounted&&!m.value&&!x.value){const v=new Error(`Async component timed out after ${s}ms.`);y(v),x.value=v}},s)),k().then(()=>{f.isUnmounted||(m.value=!0,f.parent&&Ia(f.parent.vnode)&&f.parent.update())}).catch(v=>{if(f.isUnmounted){c=null;return}y(v),x.value=v}),()=>{if(m.value&&u)return Na(u,f);if(x.value&&n)return je(n,{error:x.value});if(o&&!S.value)return Na(o,f)}}})}function Na(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=je(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Ia=e=>e.type.__isKeepAlive;function Ep(e,t){Qi(e,"a",t)}function Pp(e,t){Qi(e,"da",t)}function Qi(e,t,o=_t){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Ra(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Ia(a.parent.vnode)&&Mp(n,t,o,a),a=a.parent}}function Mp(e,t,o,n){const a=Ra(t,e,n,!0);Fa(()=>{hr(n[t],a)},o)}function Ra(e,t,o=_t,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Wn(o),l=Kt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const ho=e=>(t,o=_t)=>{(!cn||e==="sp")&&Ra(e,(...n)=>t(...n),o)},el=ho("bm"),to=ho("m"),Np=ho("bu"),Ip=ho("u"),To=ho("bum"),Fa=ho("um"),Rp=ho("sp"),Fp=ho("rtg"),Op=ho("rtc");function Dp(e,t=_t){Ra("ec",e,t)}const Bp="components",tl=Symbol.for("v-ndc");function ol(e){return He(e)?jp(Bp,e,!1)||e:e||tl}function jp(e,t,o=!0,n=!1){const a=yt||_t;if(a){const r=a.type;{const i=Rl(r,!1);if(i&&(i===t||i===ht(t)||i===ha(ht(t))))return r}const s=nl(a[e]||r[e],t)||nl(a.appContext[e],t);return!s&&n?r:s}}function nl(e,t){return e&&(e[t]||e[ht(t)]||e[ha(ht(t))])}function At(e,t,o,n){let a;const r=o,s=_e(e);if(s||He(e)){const i=s&&po(e);let l=!1,c=!1;i&&(l=!Rt(e),c=go(e),e=va(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),z(),st(Ce,null,[je("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=mo.length;z();let l;try{const c=s&&al(s(o)),u=o.key||r||c&&c.key;l=st(Ce,{key:(u&&!Nt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=mo.length;u>i;u--)Jr();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function al(e){return e.some(t=>Hn(t)?!(t.type===oo||t.type===Ce&&!al(t.children)):!0)?e:null}const Br=e=>e?Ml(e)?Ka(e):Br(e.parent):null,jn=nt(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=>Br(e.parent),$root:e=>Br(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>{Mr(e.update)}),$nextTick:e=>e.n||(e.n=Lo.bind(e.proxy)),$watch:e=>xp.bind(e)}),jr=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ie(e,t),Gp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return a[t];case 4:return o[t];case 3:return r[t]}else{if(jr(n,t))return s[t]=1,n[t];if(a!==Ue&&Ie(a,t))return s[t]=2,a[t];if(Ie(r,t))return s[t]=3,r[t];if(o!==Ue&&Ie(o,t))return s[t]=4,o[t];Gr&&(s[t]=0)}}const c=jn[t];let u,d;if(c)return t==="$attrs"&&St(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==Ue&&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:a,ctx:r}=e;return jr(a,t)?(a[t]=o,!0):n!==Ue&&Ie(n,t)?(n[t]=o,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==Ue&&i[0]!=="$"&&Ie(e,i)||jr(t,i)||Ie(r,i)||Ie(n,i)||Ie(jn,i)||Ie(a.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 rl(e){return _e(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Gr=!0;function Up(e){const t=ll(e),o=e.proxy,n=e.ctx;Gr=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:k,updated:f,activated:y,deactivated:m,beforeDestroy:x,beforeUnmount:S,destroyed:b,unmounted:p,render:v,renderTracked:C,renderTriggered:A,errorCaptured:N,serverPrefetch:M,expose:V,inheritAttrs:G,components:U,directives:re,filters:B}=t;if(c&&Kp(c,n,null),s)for(const K in s){const se=s[K];ke(se)&&(n[K]=se.bind(o))}if(a){const K=a.call(o,o);Be(K)&&(e.data=en(K))}if(Gr=!0,r)for(const K in r){const se=r[K],ye=ke(se)?se.bind(o,o):ke(se.get)?se.get.bind(o,o):Jt,ne=!ke(se)&&ke(se.set)?se.set.bind(o):Jt,te=X({get:ye,set:ne});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>te.value,set:fe=>te.value=fe})}if(i)for(const K in i)il(i[K],n,o,K);if(l){const K=ke(l)?l.call(o):l;Reflect.ownKeys(K).forEach(se=>{Ft(se,K[se])})}u&&sl(u,e,"c");function L(K,se){_e(se)?se.forEach(ye=>K(ye.bind(o))):se&&K(se.bind(o))}if(L(el,d),L(to,h),L(Np,k),L(Ip,f),L(Ep,y),L(Pp,m),L(Dp,N),L(Op,C),L(Fp,A),L(To,S),L(Fa,p),L(Rp,M),_e(V))if(V.length){const K=e.exposed||(e.exposed={});V.forEach(se=>{Object.defineProperty(K,se,{get:()=>o[se],set:ye=>o[se]=ye,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===Jt&&(e.render=v),G!=null&&(e.inheritAttrs=G),U&&(e.components=U),re&&(e.directives=re),M&&Dr(e)}function Kp(e,t,o=Jt){_e(e)&&(e=Ur(e));for(const n in e){const a=e[n];let r;Be(a)?"default"in a?r=Ee(a.from||n,a.default,!0):r=Ee(a.from||n):r=Ee(a),Je(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function sl(e,t,o){Kt(_e(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function il(e,t,o,n){let a=n.includes(".")?Hi(o,n):()=>o[n];if(He(e)){const r=t[e];ke(r)&&rt(a,r)}else if(ke(e))rt(a,e.bind(o));else if(Be(e))if(_e(e))e.forEach(r=>il(r,t,o,n));else{const r=ke(e.handler)?e.handler.bind(o):t[e.handler];ke(r)&&rt(a,r,e)}}function ll(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Oa(l,c,s,!0)),Oa(l,t,s)),Be(t)&&r.set(t,l),l}function Oa(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Oa(e,r,o,!0),a&&a.forEach(s=>Oa(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=Hp[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Hp={data:cl,props:ul,emits:ul,methods:Gn,computed:Gn,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:Gn,directives:Gn,watch:Vp,provide:cl,inject:zp};function cl(e,t){return t?e?function(){return nt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function zp(e,t){return Gn(Ur(e),Ur(t))}function Ur(e){if(_e(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${It(t)}Modifiers`];function qp(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ue;let a=o;const r=t.startsWith("update:"),s=r&&Jp(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>He(u)?u.trim():u)),s.number&&(a=a.map(br)));let i,l=n[i=mr(t)]||n[i=mr(ht(t))];!l&&r&&(l=n[i=mr(It(t))]),l&&Kt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Kt(c,e,6,a)}}const Zp=new WeakMap;function pl(e,t,o=!1){const n=o?Zp:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!ke(e)){const l=c=>{const u=pl(c,t,!0);u&&(i=!0,nt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(Be(e)&&n.set(e,null),null):(_e(r)?r.forEach(l=>s[l]=null):nt(s,r),Be(e)&&n.set(e,s),s)}function Da(e,t){return!e||!ca(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,It(t))||Ie(e,t))}function rw(){}function gl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:d,data:h,setupState:k,ctx:f,inheritAttrs:y}=e,m=Ta(e);let x,S;try{if(o.shapeFlag&4){const p=a||n,v=p;x=no(c.call(v,p,u,d,k,h,f)),S=i}else{const p=t;x=no(p.length>1?p(d,{attrs:i,slots:s,emit:l}):p(d,null)),S=t.props?i:Xp(i)}}catch(p){mo.length=0,Rn(p,e,1),x=je(oo)}let b=x;if(S&&y!==!1){const p=Object.keys(S),{shapeFlag:v}=b;p.length&&v&7&&(r&&p.some(ua)&&(S=Qp(S,r)),b=ln(b,S,!1,!0))}if(o.dirs&&(b=ln(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(o.dirs):o.dirs),o.transition){const p=Ea(b.type)&&Yi(b)||b;Or(p,o.transition)}return x=b,Ta(m),x}const Xp=e=>{let t;for(const o in e)(o==="class"||o==="style"||ca(o))&&((t||(t={}))[o]=e[o]);return t},Qp=(e,t)=>{const o={};for(const n in e)(!ua(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function eg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?fl(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(ml),yl=e=>Object.getPrototypeOf(e)===ml;function og(e,t,o,n=!1){const a={},r=bl();e.propsDefaults=Object.create(null),_l(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:ep(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function ng(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Pe(a),[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[h,k]=vl(d,t,!0);nt(s,h),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Be(e)&&n.set(e,Xo),Xo;if(_e(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",zr=e=>_e(e)?e.map(no):[no(e)],rg=(e,t,o)=>{if(t._n)return t;const n=Bt((...a)=>zr(t(...a)),o);return n._c=!1,n},wl=(e,t,o)=>{const n=e._ctx;for(const a in e){if(Hr(a))continue;const r=e[a];if(ke(r))t[a]=rg(a,r,n);else if(r!=null){const s=zr(r);t[a]=()=>s}}},xl=(e,t)=>{const o=zr(t);e.slots.default=()=>o},Sl=(e,t,o)=>{for(const n in t)(o||!Hr(n))&&(e[n]=t[n])},sg=(e,t,o)=>{const n=e.slots=bl();if(e.vnode.shapeFlag&32){const a=t._;a?(Sl(n,t,o),o&&ii(n,"_",a,!0)):wl(t,n)}else t&&xl(e,t)},ig=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=Ue;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Sl(a,t,o):(r=!t.$stable,wl(t,a)),s=t}else t&&(xl(e,t),s={default:1});if(r)for(const i in a)!Hr(i)&&s[i]==null&&delete a[i]},Tt=pg;function lg(e){return cg(e)}function cg(e,t){const o=ba();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:k=Jt,insertStaticContent:f}=e,y=($,P,T,O=null,W=null,q=null,Z=void 0,Y=null,g=!!P.dynamicChildren)=>{if($===P)return;$&&!zn($,P)&&(O=ot($),fe($,W,q,!0),$=null),P.patchFlag===-2&&(g=!1,P.dynamicChildren=null);const{type:_,ref:R,shapeFlag:j}=P;switch(_){case Un:m($,P,T,O);break;case oo:x($,P,T,O);break;case Yr:$==null&&S(P,T,O,Z);break;case Ce:U($,P,T,O,W,q,Z,Y,g);break;default:j&1?v($,P,T,O,W,q,Z,Y,g):j&6?re($,P,T,O,W,q,Z,Y,g):(j&64||j&128)&&_.process($,P,T,O,W,q,Z,Y,g,et)}R!=null&&W?Bn(R,$&&$.ref,q,P||$,!P):R==null&&$&&$.ref!=null&&Bn($.ref,null,q,$,!0)},m=($,P,T,O)=>{if($==null)n(P.el=i(P.children),T,O);else{const W=P.el=$.el;P.children!==$.children&&c(W,P.children)}},x=($,P,T,O)=>{$==null?n(P.el=l(P.children||""),T,O):P.el=$.el},S=($,P,T,O)=>{[$.el,$.anchor]=f($.children,P,T,O,$.el,$.anchor)},b=({el:$,anchor:P},T,O)=>{let W;for(;$&&$!==P;)W=h($),n($,T,O),$=W;n(P,T,O)},p=({el:$,anchor:P})=>{let T;for(;$&&$!==P;)T=h($),a($),$=T;a(P)},v=($,P,T,O,W,q,Z,Y,g)=>{if(P.type==="svg"?Z="svg":P.type==="math"&&(Z="mathml"),$==null)C(P,T,O,W,q,Z,Y,g);else{const _=$.el&&$.el._isVueCE?$.el:null;try{_&&_._beginPatch(),M($,P,W,q,Z,Y,g)}finally{_&&_._endPatch()}}},C=($,P,T,O,W,q,Z,Y)=>{let g,_;const{props:R,shapeFlag:j,transition:ie,dirs:ae}=$;if(g=$.el=s($.type,q,R&&R.is,R),j&8?u(g,$.children):j&16&&N($.children,g,null,O,W,Vr($,q),Z,Y),ae&&Uo($,null,O,"created"),A(g,$,$.scopeId,Z,O),R){for(const w in R)w!=="value"&&!Ln(w)&&r(g,w,null,R[w],q,O);"value"in R&&r(g,"value",null,R.value,q),(_=R.onVnodeBeforeMount)&&ao(_,O,$)}ae&&Uo($,null,O,"beforeMount");const F=ug(W,ie);F&&ie.beforeEnter(g),n(g,P,T),((_=R&&R.onVnodeMounted)||F||ae)&&Tt(()=>{try{_&&ao(_,O,$),F&&ie.enter(g),ae&&Uo($,null,O,"mounted")}finally{}},W)},A=($,P,T,O,W)=>{if(T&&k($,T),O)for(let q=0;q{for(let _=g;_<$.length;_++){const R=$[_]=Y?bo($[_]):no($[_]);y(null,R,P,T,O,W,q,Z,Y)}},M=($,P,T,O,W,q,Z)=>{const Y=P.el=$.el;let{patchFlag:g,dynamicChildren:_,dirs:R}=P;g|=$.patchFlag&16;const j=$.props||Ue,ie=P.props||Ue;let ae;if(T&&zo(T,!1),(ae=ie.onVnodeBeforeUpdate)&&ao(ae,T,P,$),R&&Uo(P,$,T,"beforeUpdate"),T&&zo(T,!0),_&&(!$.dynamicChildren||$.dynamicChildren.length!==_.length)&&(g=0,Z=!1,_=null),(j.innerHTML&&ie.innerHTML==null||j.textContent&&ie.textContent==null)&&u(Y,""),_?V($.dynamicChildren,_,Y,T,O,Vr(P,W),q):Z||se($,P,Y,null,T,O,Vr(P,W),q,!1),g>0){if(g&16)G(Y,j,ie,T,W);else if(g&2&&j.class!==ie.class&&r(Y,"class",null,ie.class,W),g&4&&r(Y,"style",j.style,ie.style,W),g&8){const F=P.dynamicProps;for(let w=0;w{ae&&ao(ae,T,P,$),R&&Uo(P,$,T,"updated")},O)},V=($,P,T,O,W,q,Z)=>{for(let Y=0;Y{if(P!==T){if(P!==Ue)for(const q in P)!Ln(q)&&!(q in T)&&r($,q,P[q],null,W,O);for(const q in T){if(Ln(q))continue;const Z=T[q],Y=P[q];Z!==Y&&q!=="value"&&r($,q,Y,Z,W,O)}"value"in T&&r($,"value",P.value,T.value,W)}},U=($,P,T,O,W,q,Z,Y,g)=>{const _=P.el=$?$.el:i(""),R=P.anchor=$?$.anchor:i("");let{patchFlag:j,dynamicChildren:ie,slotScopeIds:ae}=P;ae&&(Y=Y?Y.concat(ae):ae),$==null?(n(_,T,O),n(R,T,O),N(P.children||[],T,R,W,q,Z,Y,g)):j>0&&j&64&&ie&&$.dynamicChildren&&$.dynamicChildren.length===ie.length?(V($.dynamicChildren,ie,T,W,q,Z,Y),(P.key!=null||W&&P===W.subTree)&&Wr($,P,!0)):se($,P,T,R,W,q,Z,Y,g)},re=($,P,T,O,W,q,Z,Y,g)=>{P.slotScopeIds=Y,$==null?P.shapeFlag&512?W.ctx.activate(P,T,O,Z,g):B(P,T,O,W,q,Z,g):H($,P,g)},B=($,P,T,O,W,q,Z)=>{const Y=$.component=yg($,O,W);if(Ia($)&&(Y.ctx.renderer=et),_g(Y,!1,Z),Y.asyncDep){if(W&&W.registerDep(Y,L,Z),!$.el){const g=Y.subTree=je(oo);x(null,g,P,T),$.placeholder=g.el}}else L(Y,$,P,T,W,q,Z)},H=($,P,T)=>{const O=P.component=$.component;if(eg($,P,T))if(O.asyncDep&&!O.asyncResolved){K(O,P,T);return}else O.next=P,O.update();else P.el=$.el,O.vnode=P},L=($,P,T,O,W,q,Z)=>{const Y=()=>{if($.isMounted){let{next:j,bu:ie,u:ae,parent:F,vnode:w}=$;{const Ae=Al($);if(Ae){j&&(j.el=w.el,K($,j,Z)),Ae.asyncDep.then(()=>{Tt(()=>{$.isUnmounted||_()},W)});return}}let I=j,oe;zo($,!1),j?(j.el=w.el,K($,j,Z)):j=w,ie&&ma(ie),(oe=j.props&&j.props.onVnodeBeforeUpdate)&&ao(oe,F,j,w),zo($,!0);const de=gl($),ge=$.subTree;$.subTree=de,y(ge,de,d(ge.el),ot(ge),$,W,q),j.el=de.el,I===null&&tg($,de.el),ae&&Tt(ae,W),(oe=j.props&&j.props.onVnodeUpdated)&&Tt(()=>ao(oe,F,j,w),W)}else{let j;const{el:ie,props:ae}=P,{bm:F,m:w,parent:I,root:oe,type:de}=$,ge=rn(P);zo($,!1),F&&ma(F),!ge&&(j=ae&&ae.onVnodeBeforeMount)&&ao(j,I,P),zo($,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(de,$.parent?$.parent.type:void 0);const Ae=$.subTree=gl($);y(null,Ae,T,O,$,W,q),P.el=Ae.el}if(w&&Tt(w,W),!ge&&(j=ae&&ae.onVnodeMounted)){const Ae=P;Tt(()=>ao(j,I,Ae),W)}(P.shapeFlag&256||I&&rn(I.vnode)&&I.vnode.shapeFlag&256)&&$.a&&Tt($.a,W),$.isMounted=!0,P=T=O=null}};$.scope.on();const g=$.effect=new mi(Y);$.scope.off();const _=$.update=g.run.bind(g),R=$.job=g.runIfDirty.bind(g);R.i=$,R.id=$.uid,g.scheduler=()=>Mr(R),zo($,!0),_()},K=($,P,T)=>{P.component=$;const O=$.vnode.props;$.vnode=P,$.next=null,ng($,P.props,O,T),ig($,P.children,T),Zt(),ji($),Xt()},se=($,P,T,O,W,q,Z,Y,g=!1)=>{const _=$&&$.children,R=$?$.shapeFlag:0,j=P.children,{patchFlag:ie,shapeFlag:ae}=P;if(ie>0){if(ie&128){ne(_,j,T,O,W,q,Z,Y,g);return}else if(ie&256){ye(_,j,T,O,W,q,Z,Y,g);return}}ae&8?(R&16&&Xe(_,W,q),j!==_&&u(T,j)):R&16?ae&16?ne(_,j,T,O,W,q,Z,Y,g):Xe(_,W,q,!0):(R&8&&u(T,""),ae&16&&N(j,T,O,W,q,Z,Y,g))},ye=($,P,T,O,W,q,Z,Y,g)=>{$=$||Xo,P=P||Xo;const _=$.length,R=P.length,j=Math.min(_,R);let ie;for(ie=0;ieR?Xe($,W,q,!0,!1,j):N(P,T,O,W,q,Z,Y,g,j)},ne=($,P,T,O,W,q,Z,Y,g)=>{let _=0;const R=P.length;let j=$.length-1,ie=R-1;for(;_<=j&&_<=ie;){const ae=$[_],F=P[_]=g?bo(P[_]):no(P[_]);if(zn(ae,F))y(ae,F,T,null,W,q,Z,Y,g);else break;_++}for(;_<=j&&_<=ie;){const ae=$[j],F=P[ie]=g?bo(P[ie]):no(P[ie]);if(zn(ae,F))y(ae,F,T,null,W,q,Z,Y,g);else break;j--,ie--}if(_>j){if(_<=ie){const ae=ie+1,F=aeie)for(;_<=j;)fe($[_],W,q,!0),_++;else{const ae=_,F=_,w=new Map;for(_=F;_<=ie;_++){const Re=P[_]=g?bo(P[_]):no(P[_]);Re.key!=null&&w.set(Re.key,_)}let I,oe=0;const de=ie-F+1;let ge=!1,Ae=0;const we=new Array(de);for(_=0;_=de){fe(Re,W,q,!0);continue}let Ke;if(Re.key!=null)Ke=w.get(Re.key);else for(I=F;I<=ie;I++)if(we[I-F]===0&&zn(Re,P[I])){Ke=I;break}Ke===void 0?fe(Re,W,q,!0):(we[Ke-F]=_+1,Ke>=Ae?Ae=Ke:ge=!0,y(Re,P[Ke],T,null,W,q,Z,Y,g),oe++)}const ft=ge?dg(we):Xo;for(I=ft.length-1,_=de-1;_>=0;_--){const Re=F+_,Ke=P[Re],wn=P[Re+1],ia=Re+1{const{el:q,type:Z,transition:Y,children:g,shapeFlag:_}=$;if(_&6){te($.component.subTree,P,T,O);return}if(_&128){$.suspense.move(P,T,O);return}if(_&64){Z.move($,P,T,et);return}if(Z===Ce){n(q,P,T);for(let j=0;jY.enter(q),W));else{const{leave:j,delayLeave:ie,afterLeave:ae}=Y,F=()=>{$.ctx.isUnmounted?a(q):n(q,P,T)},w=()=>{const I=q._isLeaving||!!q[Fr];q._isLeaving&&q[Fr](!0),Y.persisted&&!I?F():j(q,()=>{F(),ae&&ae()})};ie?ie(q,F,w):w()}else n(q,P,T)},fe=($,P,T,O=!1,W=!1)=>{const{type:q,props:Z,ref:Y,children:g,dynamicChildren:_,shapeFlag:R,patchFlag:j,dirs:ie,cacheIndex:ae,memo:F}=$;if(j===-2&&(W=!1),Y!=null&&(Zt(),Bn(Y,null,T,$,!0),Xt()),ae!=null&&(P.renderCache[ae]=void 0),R&256){P.ctx.deactivate($);return}const w=R&1&&ie,I=!rn($);let oe;if(I&&(oe=Z&&Z.onVnodeBeforeUnmount)&&ao(oe,P,$),R&6)Ze($.component,T,O);else{if(R&128){$.suspense.unmount(T,O);return}w&&Uo($,null,P,"beforeUnmount"),R&64?$.type.remove($,P,T,et,O):_&&!_.hasOnce&&(q!==Ce||j>0&&j&64)?Xe(_,P,T,!1,!0):(q===Ce&&j&384||!W&&R&16)&&Xe(g,P,T),O&&Me($)}const de=F!=null&&ae==null;(I&&(oe=Z&&Z.onVnodeUnmounted)||w||de)&&Tt(()=>{oe&&ao(oe,P,$),w&&Uo($,null,P,"unmounted"),de&&($.el=null)},T)},Me=$=>{const{type:P,el:T,anchor:O,transition:W}=$;if(P===Ce){We(T,O);return}if(P===Yr){p($);return}const q=()=>{a(T),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if($.shapeFlag&1&&W&&!W.persisted){const{leave:Z,delayLeave:Y}=W,g=()=>Z(T,q);Y?Y($.el,q,g):g()}else q()},We=($,P)=>{let T;for(;$!==P;)T=h($),a($),$=T;a(P)},Ze=($,P,T)=>{const{bum:O,scope:W,job:q,subTree:Z,um:Y,m:g,a:_}=$;$l(g),$l(_),O&&ma(O),W.stop(),q&&(q.flags|=8,fe(Z,$,P,T)),Y&&Tt(Y,P),Tt(()=>{$.isUnmounted=!0},P)},Xe=($,P,T,O=!1,W=!1,q=0)=>{for(let Z=q;Z<$.length;Z++)fe($[Z],P,T,O,W)},ot=$=>{if($.shapeFlag&6)return ot($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const P=h($.anchor||$.el),T=P&&P[zi];return T?h(T):P};let Qe=!1;const gt=($,P,T)=>{let O;$==null?P._vnode&&(fe(P._vnode,null,null,!0),O=P._vnode.component):y(P._vnode||null,$,P,null,null,null,T),P._vnode=$,Qe||(Qe=!0,ji(O),Gi(),Qe=!1)},et={p:y,um:fe,m:te,r:Me,mt:B,mc:N,pc:se,pbc:V,n:ot,o:e};return{render:gt,hydrate:void 0,createApp:Yp(gt)}}function Vr({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 zo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ug(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wr(e,t,o=!1){const n=e.children,a=t.children;if(_e(n)&&_e(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Al(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Al(t)}function $l(e){if(e)for(let t=0;te.__isSuspense;function pg(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):bp(e)}const Ce=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),oo=Symbol.for("v-cmt"),Yr=Symbol.for("v-stc"),mo=[];let Ot=null;function z(e=!1){mo.push(Ot=e?null:[])}function Jr(){mo.pop(),Ot=mo[mo.length-1]||null}let Kn=1;function Ba(e,t=!1){Kn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Tl(e){return e.dynamicChildren=Kn>0?Ot||Xo:null,Jr(),Kn>0&&Ot&&Ot.push(e),e}function Q(e,t,o,n,a,r){return Tl(E(e,t,o,n,a,r,!0))}function st(e,t,o,n,a){return Tl(je(e,t,o,n,a,!0))}function Hn(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}const El=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Je(e)||ke(e)?{i:yt,r:e,k:t,f:!!o}:e:null);function E(e,t=null,o=null,n=0,a=null,r=e===Ce?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&El(t),ref:t&&ja(t),scopeId:Ki,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:yt};return i?(Ga(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=He(o)?8:16),Kn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const je=gg;function gg(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===tl)&&(e=oo),Hn(e)){const i=ln(e,t,!0);return o&&Ga(i,o),Kn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(Ag(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:i,style:l}=t;i&&!He(i)&&(t.class=Le(i)),Be(l)&&(Aa(l)&&!_e(l)&&(l=nt({},l)),t.style=tt(l))}const s=He(e)?1:Cl(e)?128:Ea(e)?64:Be(e)?4:ke(e)?2:0;return E(e,t,o,n,a,s,r,!0)}function fg(e){return e?Aa(e)||yl(e)?nt({},e):e:null}function ln(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?hg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&El(c),ref:t&&t.ref?o&&r?_e(r)?r.concat(ja(t)):[r,ja(t)]:ja(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?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&&Or(u,l.clone(u)),u}function dt(e=" ",t=0){return je(Un,null,e,t)}function me(e="",t=!1){return t?(z(),st(oo,null,e)):je(oo,null,e)}function no(e){return e==null||typeof e=="boolean"?je(oo):_e(e)?je(Ce,null,e.slice()):Hn(e)?bo(e):je(Un,null,String(e))}function bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Ga(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(_e(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ga(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!yl(t)?t._ctx=yt:a===3&&yt&&(yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ke(t)){if(n&65){Ga(e,{default:t});return}t={default:t,_ctx:yt},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function hg(...e){const t={};for(let o=0;o_t||yt;let Ua,Vn;{const e=ba(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Ua=t("__VUE_INSTANCE_SETTERS__",o=>_t=o),Vn=t("__VUE_SSR_SETTERS__",o=>cn=o)}const Wn=e=>{const t=_t;return Ua(e),e.scope.on(),()=>{e.scope.off(),Ua(t)}},Pl=()=>{_t&&_t.scope.off(),Ua(null)};function Ml(e){return e.vnode.shapeFlag&4}let cn=!1;function _g(e,t=!1,o=!1){t&&Vn(t);const{props:n,children:a}=e.vnode,r=Ml(e);og(e,n,r,t),sg(e,a,o||t);const s=r?vg(e,t):void 0;return t&&Vn(!1),s}function vg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gp);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?wg(e):null,r=Wn(e),s=on(n,e,0,[e.props,a]),i=ri(s);if(Xt(),r(),(i||e.sp)&&!rn(e)&&Dr(e),i){if(s.then(Pl,Pl),t)return s.then(l=>{Vn(!0);try{Nl(e,l,t)}finally{Vn(!1)}}).catch(l=>{Rn(l,e,0)});e.asyncDep=s}else Nl(e,s)}else Il(e)}function Nl(e,t,o){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=Ri(t)),Il(e)}function Il(e,t,o){const n=e.type;e.render||(e.render=n.render||Jt);{const a=Wn(e);Zt();try{Up(e)}finally{Xt(),a()}}}const kg={get(e,t){return St(e,"get",""),e[t]}};function wg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,kg),slots:e.slots,emit:e.emit,expose:t}}function Ka(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ri(jo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in jn)return jn[o](e)},has(t,o){return o in t||o in jn}})):e.proxy}const xg=/(?:^|[-_])\w/g,Sg=e=>e.replace(xg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rl(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function Fl(e,t,o=!1){let n=Rl(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Sg(n):o?"App":"Anonymous"}function Ag(e){return ke(e)&&"__vccOpts"in e}const X=(e,t)=>lp(e,t,cn);function Ol(e,t,o){try{Ba(-1);const n=arguments.length;return n===2?Be(t)&&!_e(t)?Hn(t)?je(e,null,[t]):je(e,t):je(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Hn(o)&&(o=[o]),je(e,t,o))}finally{Ba(1)}}const $g="3.5.42";/** +`],...gp(o))}),t}function gp({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,a=` at <${Fl(e.component,e.type,n)}`,r=">"+o;return e.props?[a,...fp(e.props),r]:[a+r]}function fp(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Oi(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Oi(e,t,o){return He(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Je(t)?(t=Oi(e,Pe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ke(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Pe(t),o?t:[`${e}=`,t])}function on(e,t,o,n){try{return n?e(...n):e()}catch(a){Rn(a,t,o)}}function Kt(e,t,o,n){if(ke(e)){const a=on(e,t,o,n);return a&&ri(a)&&a.catch(r=>{Rn(r,t,o)}),a}if(_e(e)){const a=[];for(let r=0;r>>1,a=Lt[n],r=Fn(a);r=Fn(o)?Lt.push(e):Lt.splice(mp(t),0,e),e.flags|=1,Bi()}}function Bi(){Ca||(Ca=Di.then(Ui))}function bp(e){if(!_e(e))$o&&e.id===-1?$o.splice(an+1,0,e):e.flags&1||(nn.push(e),e.flags|=1);else for(let t=0;tFn(o)-Fn(n));if(nn.length=0,$o){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){try{for(eo=0;eo{n._d&&Ba(-1);const r=Ta(t),s=mo.length;let i;try{i=e(...a)}finally{for(let l=mo.length;l>s;l--)Jr();Ta(r),n._d&&Ba(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function yp(e,t){if(yt===null)return e;const o=Ka(yt),n=e.dirs||(e.dirs=[]);for(let a=0;a1)return o&&ke(t)?t.call(n&&n.proxy):t}}function _p(){return!!(yo()||Ho)}const vp=Symbol.for("v-scx"),kp=()=>Ee(vp);function wp(e,t){return Nr(e,null,t)}function rt(e,t,o){return Nr(e,t,o)}function Nr(e,t,o=Ue){const{immediate:n,deep:a,flush:r,once:s}=o,i=nt({},o),l=t&&n||!t&&r!=="post";let c;if(cn){if(r==="sync"){const k=kp();c=k.__watcherHandles||(k.__watcherHandles=[])}else if(!l){const k=()=>{};return k.stop=Jt,k.resume=Jt,k.pause=Jt,k}}const u=_t;i.call=(k,m,_)=>Kt(k,u,m,_);let d=!1;r==="post"?i.scheduler=k=>{Tt(k,u&&u.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(k,m)=>{m?k():Mr(k)}),i.augmentJob=k=>{t&&(k.flags|=4),d&&(k.flags|=2,u&&(k.id=u.uid,k.i=u))};const f=up(e,t,i);return cn&&(c?c.push(f):l&&f()),f}function xp(e,t,o){const n=this.proxy,a=He(e)?e.includes(".")?Hi(n,e):()=>n[e]:e.bind(n,n);let r;ke(t)?r=t:(r=t.handler,o=t);const s=Wn(this),i=Nr(a,r.bind(n),o);return s(),i}function Hi(e,t){const o=t.split(".");return()=>{let n=e;for(let a=0;ae.__isTeleport,Ko=e=>e&&(e.disabled||e.disabled===""),Sp=e=>e&&(e.defer||e.defer===""),Vi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wi=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ir=(e,t)=>{const o=e&&e.to;return He(o)?t?t(o):null:o},Ap={name:"Teleport",__isTeleport:!0,process(e,t,o,n,a,r,s,i,l,c){const{mc:u,pc:d,pbc:f,o:{insert:k,querySelector:m,createText:_,createComment:h,parentNode:x}}=c,S=Ko(t.props);let{dynamicChildren:b}=t;const p=(A,N,M)=>{A.shapeFlag&16&&u(A.children,N,M,a,r,s,i,l)},v=(A=t)=>{const N=Ko(A.props),M=A.target=Ir(A.props,m),V=Rr(M,A,_,k);M&&(s!=="svg"&&Vi(M)?s="svg":s!=="mathml"&&Wi(M)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(M),N||(p(A,M,V),On(A,!1)))},C=A=>{const N=()=>{if(Co.get(A)===N){if(Co.delete(A),Ko(A.props)){const M=x(A.el)||o;p(A,M,A.anchor),On(A,!0)}v(A)}};Co.set(A,N),Tt(N,r)};if(e==null){const A=t.el=_(""),N=t.anchor=_("");if(k(A,o,n),k(N,o,n),Sp(t.props)||r&&r.pendingBranch){C(t);return}S&&(p(t,o,N),On(t,!0)),v()}else{t.el=e.el;const A=t.anchor=e.anchor,N=Co.get(e);if(N){N.flags|=8,Co.delete(e),C(t);return}t.targetStart=e.targetStart;const M=t.target=e.target,V=t.targetAnchor=e.targetAnchor,G=Ko(e.props),U=G?o:M,re=G?A:V;if(s==="svg"||Vi(M)?s="svg":(s==="mathml"||Wi(M))&&(s="mathml"),b?(f(e.dynamicChildren,b,U,a,r,s,i),Wr(e,t,!0)):l||d(e,t,U,re,a,r,s,i,!1),S)G?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pa(t,o,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=Ir(t.props,m);B&&(t.target=B,Pa(t,B,null,c,0))}else G&&Pa(t,M,V,c,1);On(t,S)}},remove(e,t,o,{um:n,o:{remove:a}},r){const{shapeFlag:s,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e,k=Ko(f),m=r||!k,_=Co.get(e);if(_&&(_.flags|=8,Co.delete(e)),d&&(a(c),a(u)),r&&a(l),!_&&(k||d)&&s&16)for(let h=0;h1){for(const o of e)if(o.type!==oo){t=o;break}}return t}function Yi(e){if(!Ia(e))return Ea(e.type)&&e.children?Cp(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&&ke(o.default))return o.default()}}function Or(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Or(Ea(o.type)&&Yi(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 Dn(e,t){return ke(e)?nt({name:e.name},t,{setup:e}):e}function Dr(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 Ma=new WeakMap;function Bn(e,t,o,n,a=!1){if(_e(e)){e.forEach((_,h)=>Bn(_,t&&(_e(t)?t[h]:t),o,n,a));return}if(rn(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Bn(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Ka(n.component):n.el,s=a?null:r,{i,r:l}=e,c=t&&t.r,u=i.refs===Ue?i.refs={}:i.refs,d=i.setupState,f=Pe(d),k=d===Ue?ni:_=>Ji(u,_)?!1:Ie(f,_),m=(_,h)=>!(h&&Ji(u,h));if(c!=null&&c!==l){if(qi(t),He(c))u[c]=null,k(c)&&(d[c]=null);else if(Je(c)){const _=t;m(c,_.k)&&(c.value=null),_.k&&(u[_.k]=null)}}if(ke(l))on(l,i,12,[s,u]);else{const _=He(l),h=Je(l);if(_||h){const x=()=>{if(e.f){const S=_?k(l)?d[l]:u[l]:m()||!e.k?l.value:u[e.k];if(a)_e(S)&&hr(S,r);else if(_e(S))S.includes(r)||S.push(r);else if(_)u[l]=[r],k(l)&&(d[l]=u[l]);else{const b=[r];m(l,e.k)&&(l.value=b),e.k&&(u[e.k]=b)}}else _?(u[l]=s,k(l)&&(d[l]=s)):h&&(m(l,e.k)&&(l.value=s),e.k&&(u[e.k]=s))};if(s){const S=()=>{x(),Ma.delete(e)};S.id=-1,Ma.set(e,S),Tt(S,o)}else qi(e),x()}}}function qi(e){const t=Ma.get(e);t&&(t.flags|=8,Ma.delete(e))}const Zi=e=>e.nodeType===8;ba().requestIdleCallback,ba().cancelIdleCallback;function Tp(e,t){if(Zi(e)&&e.data==="["){let o=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Zi(n))if(n.data==="]"){if(--o===0)break}else n.data==="["&&o++;n=n.nextSibling}}else t(e)}const rn=e=>!!e.type.__asyncLoader;function Xi(e){ke(e)&&(e={loader:e});const{loader:t,loadingComponent:o,errorComponent:n,delay:a=200,hydrate:r,timeout:s,suspensible:i=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,k()),k=()=>{let m;return c||(m=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((h,x)=>{l(_,()=>h(f()),()=>x(_),d+1)});throw _}).then(_=>m!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return Dn({name:"AsyncComponentWrapper",__asyncLoader:k,__asyncHydrate(m,_,h){const x=m.isConnected;let S=!1;(_.bu||(_.bu=[])).push(()=>S=!0);const b=()=>{S||!m.parentNode||x&&!m.isConnected||h()},p=r?()=>{const v=r(b,C=>Tp(m,C));v&&(_.bum||(_.bum=[])).push(v)}:b;u?p():k().then(()=>!_.isUnmounted&&p())},get __asyncResolved(){return u},setup(){const m=_t;if(Dr(m),u)return()=>Na(u,m);const _=v=>{c=null,Rn(v,m,13,!n)};if(i&&m.suspense||cn)return k().then(v=>()=>Na(v,m)).catch(v=>(_(v),()=>n?je(n,{error:v}):null));const h=ue(!1),x=ue(),S=ue(!!a);let b,p;return Fa(()=>{b!=null&&clearTimeout(b),p!=null&&clearTimeout(p)}),a&&(p=setTimeout(()=>{m.isUnmounted||(S.value=!1)},a)),s!=null&&(b=setTimeout(()=>{if(!m.isUnmounted&&!h.value&&!x.value){const v=new Error(`Async component timed out after ${s}ms.`);_(v),x.value=v}},s)),k().then(()=>{m.isUnmounted||(h.value=!0,m.parent&&Ia(m.parent.vnode)&&m.parent.update())}).catch(v=>{if(m.isUnmounted){c=null;return}_(v),x.value=v}),()=>{if(h.value&&u)return Na(u,m);if(x.value&&n)return je(n,{error:x.value});if(o&&!S.value)return Na(o,m)}}})}function Na(e,t){const{ref:o,props:n,children:a,ce:r}=t.vnode,s=je(e,n,a);return s.ref=o,s.ce=r,delete t.vnode.ce,s}const Ia=e=>e.type.__isKeepAlive;function Ep(e,t){Qi(e,"a",t)}function Pp(e,t){Qi(e,"da",t)}function Qi(e,t,o=_t){const n=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Ra(t,n,o),o){let a=o.parent;for(;a&&a.parent;)Ia(a.parent.vnode)&&Mp(n,t,o,a),a=a.parent}}function Mp(e,t,o,n){const a=Ra(t,e,n,!0);Fa(()=>{hr(n[t],a)},o)}function Ra(e,t,o=_t,n=!1){if(o){const a=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...s)=>{Zt();const i=Wn(o),l=Kt(t,o,e,s);return i(),Xt(),l});return n?a.unshift(r):a.push(r),r}}const ho=e=>(t,o=_t)=>{(!cn||e==="sp")&&Ra(e,(...n)=>t(...n),o)},el=ho("bm"),to=ho("m"),Np=ho("bu"),Ip=ho("u"),To=ho("bum"),Fa=ho("um"),Rp=ho("sp"),Fp=ho("rtg"),Op=ho("rtc");function Dp(e,t=_t){Ra("ec",e,t)}const Bp="components",tl=Symbol.for("v-ndc");function ol(e){return He(e)?jp(Bp,e,!1)||e:e||tl}function jp(e,t,o=!0,n=!1){const a=yt||_t;if(a){const r=a.type;{const i=Rl(r,!1);if(i&&(i===t||i===ht(t)||i===ha(ht(t))))return r}const s=nl(a[e]||r[e],t)||nl(a.appContext[e],t);return!s&&n?r:s}}function nl(e,t){return e&&(e[t]||e[ht(t)]||e[ha(ht(t))])}function At(e,t,o,n){let a;const r=o,s=_e(e);if(s||He(e)){const i=s&&po(e);let l=!1,c=!1;i&&(l=!Rt(e),c=go(e),e=va(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,r));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l0;return t!=="default"&&(c.name=t),z(),st(Ce,null,[je("slot",c,n)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const i=mo.length;z();let l;try{const c=s&&al(s(o)),u=o.key||r||c&&c.key;l=st(Ce,{key:(u&&!Nt(u)?u:`_${t}`)+(!c&&n?"_fb":"")},c||(n?n():[]),c&&e._===1?64:-2)}catch(c){for(let u=mo.length;u>i;u--)Jr();throw c}finally{s&&s._c&&(s._d=!0)}return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function al(e){return e.some(t=>Hn(t)?!(t.type===oo||t.type===Ce&&!al(t.children)):!0)?e:null}const Br=e=>e?Ml(e)?Ka(e):Br(e.parent):null,jn=nt(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=>Br(e.parent),$root:e=>Br(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>{Mr(e.update)}),$nextTick:e=>e.n||(e.n=Lo.bind(e.proxy)),$watch:e=>xp.bind(e)}),jr=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ie(e,t),Gp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:a,props:r,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 a[t];case 4:return o[t];case 3:return r[t]}else{if(jr(n,t))return s[t]=1,n[t];if(a!==Ue&&Ie(a,t))return s[t]=2,a[t];if(Ie(r,t))return s[t]=3,r[t];if(o!==Ue&&Ie(o,t))return s[t]=4,o[t];Gr&&(s[t]=0)}}const c=jn[t];let u,d;if(c)return t==="$attrs"&&St(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(o!==Ue&&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:a,ctx:r}=e;return jr(a,t)?(a[t]=o,!0):n!==Ue&&Ie(n,t)?(n[t]=o,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:a,props:r,type:s}},i){let l;return!!(o[i]||e!==Ue&&i[0]!=="$"&&Ie(e,i)||jr(t,i)||Ie(r,i)||Ie(n,i)||Ie(jn,i)||Ie(a.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 rl(e){return _e(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Gr=!0;function Up(e){const t=ll(e),o=e.proxy,n=e.ctx;Gr=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:s,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:k,updated:m,activated:_,deactivated:h,beforeDestroy:x,beforeUnmount:S,destroyed:b,unmounted:p,render:v,renderTracked:C,renderTriggered:A,errorCaptured:N,serverPrefetch:M,expose:V,inheritAttrs:G,components:U,directives:re,filters:B}=t;if(c&&Kp(c,n,null),s)for(const K in s){const se=s[K];ke(se)&&(n[K]=se.bind(o))}if(a){const K=a.call(o,o);Be(K)&&(e.data=en(K))}if(Gr=!0,r)for(const K in r){const se=r[K],ye=ke(se)?se.bind(o,o):ke(se.get)?se.get.bind(o,o):Jt,ne=!ke(se)&&ke(se.set)?se.set.bind(o):Jt,te=X({get:ye,set:ne});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>te.value,set:fe=>te.value=fe})}if(i)for(const K in i)il(i[K],n,o,K);if(l){const K=ke(l)?l.call(o):l;Reflect.ownKeys(K).forEach(se=>{Ft(se,K[se])})}u&&sl(u,e,"c");function L(K,se){_e(se)?se.forEach(ye=>K(ye.bind(o))):se&&K(se.bind(o))}if(L(el,d),L(to,f),L(Np,k),L(Ip,m),L(Ep,_),L(Pp,h),L(Dp,N),L(Op,C),L(Fp,A),L(To,S),L(Fa,p),L(Rp,M),_e(V))if(V.length){const K=e.exposed||(e.exposed={});V.forEach(se=>{Object.defineProperty(K,se,{get:()=>o[se],set:ye=>o[se]=ye,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===Jt&&(e.render=v),G!=null&&(e.inheritAttrs=G),U&&(e.components=U),re&&(e.directives=re),M&&Dr(e)}function Kp(e,t,o=Jt){_e(e)&&(e=Ur(e));for(const n in e){const a=e[n];let r;Be(a)?"default"in a?r=Ee(a.from||n,a.default,!0):r=Ee(a.from||n):r=Ee(a),Je(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[n]=r}}function sl(e,t,o){Kt(_e(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function il(e,t,o,n){let a=n.includes(".")?Hi(o,n):()=>o[n];if(He(e)){const r=t[e];ke(r)&&rt(a,r)}else if(ke(e))rt(a,e.bind(o));else if(Be(e))if(_e(e))e.forEach(r=>il(r,t,o,n));else{const r=ke(e.handler)?e.handler.bind(o):t[e.handler];ke(r)&&rt(a,r,e)}}function ll(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let l;return i?l=i:!a.length&&!o&&!n?l=t:(l={},a.length&&a.forEach(c=>Oa(l,c,s,!0)),Oa(l,t,s)),Be(t)&&r.set(t,l),l}function Oa(e,t,o,n=!1){const{mixins:a,extends:r}=t;r&&Oa(e,r,o,!0),a&&a.forEach(s=>Oa(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const i=Hp[s]||o&&o[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Hp={data:cl,props:ul,emits:ul,methods:Gn,computed:Gn,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:Gn,directives:Gn,watch:Vp,provide:cl,inject:zp};function cl(e,t){return t?e?function(){return nt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function zp(e,t){return Gn(Ur(e),Ur(t))}function Ur(e){if(_e(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${It(t)}Modifiers`];function qp(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ue;let a=o;const r=t.startsWith("update:"),s=r&&Jp(n,t.slice(7));s&&(s.trim&&(a=o.map(u=>He(u)?u.trim():u)),s.number&&(a=a.map(br)));let i,l=n[i=mr(t)]||n[i=mr(ht(t))];!l&&r&&(l=n[i=mr(It(t))]),l&&Kt(l,e,6,a);const c=n[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Kt(c,e,6,a)}}const Zp=new WeakMap;function pl(e,t,o=!1){const n=o?Zp:t.emitsCache,a=n.get(e);if(a!==void 0)return a;const r=e.emits;let s={},i=!1;if(!ke(e)){const l=c=>{const u=pl(c,t,!0);u&&(i=!0,nt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(Be(e)&&n.set(e,null),null):(_e(r)?r.forEach(l=>s[l]=null):nt(s,r),Be(e)&&n.set(e,s),s)}function Da(e,t){return!e||!ca(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,It(t))||Ie(e,t))}function rw(){}function gl(e){const{type:t,vnode:o,proxy:n,withProxy:a,propsOptions:[r],slots:s,attrs:i,emit:l,render:c,renderCache:u,props:d,data:f,setupState:k,ctx:m,inheritAttrs:_}=e,h=Ta(e);let x,S;try{if(o.shapeFlag&4){const p=a||n,v=p;x=no(c.call(v,p,u,d,k,f,m)),S=i}else{const p=t;x=no(p.length>1?p(d,{attrs:i,slots:s,emit:l}):p(d,null)),S=t.props?i:Xp(i)}}catch(p){mo.length=0,Rn(p,e,1),x=je(oo)}let b=x;if(S&&_!==!1){const p=Object.keys(S),{shapeFlag:v}=b;p.length&&v&7&&(r&&p.some(ua)&&(S=Qp(S,r)),b=ln(b,S,!1,!0))}if(o.dirs&&(b=ln(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(o.dirs):o.dirs),o.transition){const p=Ea(b.type)&&Yi(b)||b;Or(p,o.transition)}return x=b,Ta(h),x}const Xp=e=>{let t;for(const o in e)(o==="class"||o==="style"||ca(o))&&((t||(t={}))[o]=e[o]);return t},Qp=(e,t)=>{const o={};for(const n in e)(!ua(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function eg(e,t,o){const{props:n,children:a,component:r}=e,{props:s,children:i,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?fl(n,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(ml),yl=e=>Object.getPrototypeOf(e)===ml;function og(e,t,o,n=!1){const a={},r=bl();e.propsDefaults=Object.create(null),_l(e,t,a,r);for(const s in e.propsOptions[0])s in a||(a[s]=void 0);o?e.props=n?a:ep(a):e.type.props?e.props=a:e.props=r,e.attrs=r}function ng(e,t,o,n){const{props:a,attrs:r,vnode:{patchFlag:s}}=e,i=Pe(a),[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,k]=vl(d,t,!0);nt(s,f),k&&i.push(...k)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Be(e)&&n.set(e,Xo),Xo;if(_e(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",zr=e=>_e(e)?e.map(no):[no(e)],rg=(e,t,o)=>{if(t._n)return t;const n=Bt((...a)=>zr(t(...a)),o);return n._c=!1,n},wl=(e,t,o)=>{const n=e._ctx;for(const a in e){if(Hr(a))continue;const r=e[a];if(ke(r))t[a]=rg(a,r,n);else if(r!=null){const s=zr(r);t[a]=()=>s}}},xl=(e,t)=>{const o=zr(t);e.slots.default=()=>o},Sl=(e,t,o)=>{for(const n in t)(o||!Hr(n))&&(e[n]=t[n])},sg=(e,t,o)=>{const n=e.slots=bl();if(e.vnode.shapeFlag&32){const a=t._;a?(Sl(n,t,o),o&&ii(n,"_",a,!0)):wl(t,n)}else t&&xl(e,t)},ig=(e,t,o)=>{const{vnode:n,slots:a}=e;let r=!0,s=Ue;if(n.shapeFlag&32){const i=t._;i?o&&i===1?r=!1:Sl(a,t,o):(r=!t.$stable,wl(t,a)),s=t}else t&&(xl(e,t),s={default:1});if(r)for(const i in a)!Hr(i)&&s[i]==null&&delete a[i]},Tt=pg;function lg(e){return cg(e)}function cg(e,t){const o=ba();o.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:k=Jt,insertStaticContent:m}=e,_=($,P,T,O=null,W=null,q=null,Z=void 0,Y=null,g=!!P.dynamicChildren)=>{if($===P)return;$&&!zn($,P)&&(O=ot($),fe($,W,q,!0),$=null),P.patchFlag===-2&&(g=!1,P.dynamicChildren=null);const{type:y,ref:R,shapeFlag:j}=P;switch(y){case Un:h($,P,T,O);break;case oo:x($,P,T,O);break;case Yr:$==null&&S(P,T,O,Z);break;case Ce:U($,P,T,O,W,q,Z,Y,g);break;default:j&1?v($,P,T,O,W,q,Z,Y,g):j&6?re($,P,T,O,W,q,Z,Y,g):(j&64||j&128)&&y.process($,P,T,O,W,q,Z,Y,g,et)}R!=null&&W?Bn(R,$&&$.ref,q,P||$,!P):R==null&&$&&$.ref!=null&&Bn($.ref,null,q,$,!0)},h=($,P,T,O)=>{if($==null)n(P.el=i(P.children),T,O);else{const W=P.el=$.el;P.children!==$.children&&c(W,P.children)}},x=($,P,T,O)=>{$==null?n(P.el=l(P.children||""),T,O):P.el=$.el},S=($,P,T,O)=>{[$.el,$.anchor]=m($.children,P,T,O,$.el,$.anchor)},b=({el:$,anchor:P},T,O)=>{let W;for(;$&&$!==P;)W=f($),n($,T,O),$=W;n(P,T,O)},p=({el:$,anchor:P})=>{let T;for(;$&&$!==P;)T=f($),a($),$=T;a(P)},v=($,P,T,O,W,q,Z,Y,g)=>{if(P.type==="svg"?Z="svg":P.type==="math"&&(Z="mathml"),$==null)C(P,T,O,W,q,Z,Y,g);else{const y=$.el&&$.el._isVueCE?$.el:null;try{y&&y._beginPatch(),M($,P,W,q,Z,Y,g)}finally{y&&y._endPatch()}}},C=($,P,T,O,W,q,Z,Y)=>{let g,y;const{props:R,shapeFlag:j,transition:ie,dirs:ae}=$;if(g=$.el=s($.type,q,R&&R.is,R),j&8?u(g,$.children):j&16&&N($.children,g,null,O,W,Vr($,q),Z,Y),ae&&Uo($,null,O,"created"),A(g,$,$.scopeId,Z,O),R){for(const w in R)w!=="value"&&!Ln(w)&&r(g,w,null,R[w],q,O);"value"in R&&r(g,"value",null,R.value,q),(y=R.onVnodeBeforeMount)&&ao(y,O,$)}ae&&Uo($,null,O,"beforeMount");const F=ug(W,ie);F&&ie.beforeEnter(g),n(g,P,T),((y=R&&R.onVnodeMounted)||F||ae)&&Tt(()=>{try{y&&ao(y,O,$),F&&ie.enter(g),ae&&Uo($,null,O,"mounted")}finally{}},W)},A=($,P,T,O,W)=>{if(T&&k($,T),O)for(let q=0;q{for(let y=g;y<$.length;y++){const R=$[y]=Y?bo($[y]):no($[y]);_(null,R,P,T,O,W,q,Z,Y)}},M=($,P,T,O,W,q,Z)=>{const Y=P.el=$.el;let{patchFlag:g,dynamicChildren:y,dirs:R}=P;g|=$.patchFlag&16;const j=$.props||Ue,ie=P.props||Ue;let ae;if(T&&zo(T,!1),(ae=ie.onVnodeBeforeUpdate)&&ao(ae,T,P,$),R&&Uo(P,$,T,"beforeUpdate"),T&&zo(T,!0),y&&(!$.dynamicChildren||$.dynamicChildren.length!==y.length)&&(g=0,Z=!1,y=null),(j.innerHTML&&ie.innerHTML==null||j.textContent&&ie.textContent==null)&&u(Y,""),y?V($.dynamicChildren,y,Y,T,O,Vr(P,W),q):Z||se($,P,Y,null,T,O,Vr(P,W),q,!1),g>0){if(g&16)G(Y,j,ie,T,W);else if(g&2&&j.class!==ie.class&&r(Y,"class",null,ie.class,W),g&4&&r(Y,"style",j.style,ie.style,W),g&8){const F=P.dynamicProps;for(let w=0;w{ae&&ao(ae,T,P,$),R&&Uo(P,$,T,"updated")},O)},V=($,P,T,O,W,q,Z)=>{for(let Y=0;Y{if(P!==T){if(P!==Ue)for(const q in P)!Ln(q)&&!(q in T)&&r($,q,P[q],null,W,O);for(const q in T){if(Ln(q))continue;const Z=T[q],Y=P[q];Z!==Y&&q!=="value"&&r($,q,Y,Z,W,O)}"value"in T&&r($,"value",P.value,T.value,W)}},U=($,P,T,O,W,q,Z,Y,g)=>{const y=P.el=$?$.el:i(""),R=P.anchor=$?$.anchor:i("");let{patchFlag:j,dynamicChildren:ie,slotScopeIds:ae}=P;ae&&(Y=Y?Y.concat(ae):ae),$==null?(n(y,T,O),n(R,T,O),N(P.children||[],T,R,W,q,Z,Y,g)):j>0&&j&64&&ie&&$.dynamicChildren&&$.dynamicChildren.length===ie.length?(V($.dynamicChildren,ie,T,W,q,Z,Y),(P.key!=null||W&&P===W.subTree)&&Wr($,P,!0)):se($,P,T,R,W,q,Z,Y,g)},re=($,P,T,O,W,q,Z,Y,g)=>{P.slotScopeIds=Y,$==null?P.shapeFlag&512?W.ctx.activate(P,T,O,Z,g):B(P,T,O,W,q,Z,g):H($,P,g)},B=($,P,T,O,W,q,Z)=>{const Y=$.component=yg($,O,W);if(Ia($)&&(Y.ctx.renderer=et),_g(Y,!1,Z),Y.asyncDep){if(W&&W.registerDep(Y,L,Z),!$.el){const g=Y.subTree=je(oo);x(null,g,P,T),$.placeholder=g.el}}else L(Y,$,P,T,W,q,Z)},H=($,P,T)=>{const O=P.component=$.component;if(eg($,P,T))if(O.asyncDep&&!O.asyncResolved){K(O,P,T);return}else O.next=P,O.update();else P.el=$.el,O.vnode=P},L=($,P,T,O,W,q,Z)=>{const Y=()=>{if($.isMounted){let{next:j,bu:ie,u:ae,parent:F,vnode:w}=$;{const Ae=Al($);if(Ae){j&&(j.el=w.el,K($,j,Z)),Ae.asyncDep.then(()=>{Tt(()=>{$.isUnmounted||y()},W)});return}}let I=j,oe;zo($,!1),j?(j.el=w.el,K($,j,Z)):j=w,ie&&ma(ie),(oe=j.props&&j.props.onVnodeBeforeUpdate)&&ao(oe,F,j,w),zo($,!0);const de=gl($),ge=$.subTree;$.subTree=de,_(ge,de,d(ge.el),ot(ge),$,W,q),j.el=de.el,I===null&&tg($,de.el),ae&&Tt(ae,W),(oe=j.props&&j.props.onVnodeUpdated)&&Tt(()=>ao(oe,F,j,w),W)}else{let j;const{el:ie,props:ae}=P,{bm:F,m:w,parent:I,root:oe,type:de}=$,ge=rn(P);zo($,!1),F&&ma(F),!ge&&(j=ae&&ae.onVnodeBeforeMount)&&ao(j,I,P),zo($,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(de,$.parent?$.parent.type:void 0);const Ae=$.subTree=gl($);_(null,Ae,T,O,$,W,q),P.el=Ae.el}if(w&&Tt(w,W),!ge&&(j=ae&&ae.onVnodeMounted)){const Ae=P;Tt(()=>ao(j,I,Ae),W)}(P.shapeFlag&256||I&&rn(I.vnode)&&I.vnode.shapeFlag&256)&&$.a&&Tt($.a,W),$.isMounted=!0,P=T=O=null}};$.scope.on();const g=$.effect=new mi(Y);$.scope.off();const y=$.update=g.run.bind(g),R=$.job=g.runIfDirty.bind(g);R.i=$,R.id=$.uid,g.scheduler=()=>Mr(R),zo($,!0),y()},K=($,P,T)=>{P.component=$;const O=$.vnode.props;$.vnode=P,$.next=null,ng($,P.props,O,T),ig($,P.children,T),Zt(),ji($),Xt()},se=($,P,T,O,W,q,Z,Y,g=!1)=>{const y=$&&$.children,R=$?$.shapeFlag:0,j=P.children,{patchFlag:ie,shapeFlag:ae}=P;if(ie>0){if(ie&128){ne(y,j,T,O,W,q,Z,Y,g);return}else if(ie&256){ye(y,j,T,O,W,q,Z,Y,g);return}}ae&8?(R&16&&Xe(y,W,q),j!==y&&u(T,j)):R&16?ae&16?ne(y,j,T,O,W,q,Z,Y,g):Xe(y,W,q,!0):(R&8&&u(T,""),ae&16&&N(j,T,O,W,q,Z,Y,g))},ye=($,P,T,O,W,q,Z,Y,g)=>{$=$||Xo,P=P||Xo;const y=$.length,R=P.length,j=Math.min(y,R);let ie;for(ie=0;ieR?Xe($,W,q,!0,!1,j):N(P,T,O,W,q,Z,Y,g,j)},ne=($,P,T,O,W,q,Z,Y,g)=>{let y=0;const R=P.length;let j=$.length-1,ie=R-1;for(;y<=j&&y<=ie;){const ae=$[y],F=P[y]=g?bo(P[y]):no(P[y]);if(zn(ae,F))_(ae,F,T,null,W,q,Z,Y,g);else break;y++}for(;y<=j&&y<=ie;){const ae=$[j],F=P[ie]=g?bo(P[ie]):no(P[ie]);if(zn(ae,F))_(ae,F,T,null,W,q,Z,Y,g);else break;j--,ie--}if(y>j){if(y<=ie){const ae=ie+1,F=aeie)for(;y<=j;)fe($[y],W,q,!0),y++;else{const ae=y,F=y,w=new Map;for(y=F;y<=ie;y++){const Re=P[y]=g?bo(P[y]):no(P[y]);Re.key!=null&&w.set(Re.key,y)}let I,oe=0;const de=ie-F+1;let ge=!1,Ae=0;const we=new Array(de);for(y=0;y=de){fe(Re,W,q,!0);continue}let Ke;if(Re.key!=null)Ke=w.get(Re.key);else for(I=F;I<=ie;I++)if(we[I-F]===0&&zn(Re,P[I])){Ke=I;break}Ke===void 0?fe(Re,W,q,!0):(we[Ke-F]=y+1,Ke>=Ae?Ae=Ke:ge=!0,_(Re,P[Ke],T,null,W,q,Z,Y,g),oe++)}const ft=ge?dg(we):Xo;for(I=ft.length-1,y=de-1;y>=0;y--){const Re=F+y,Ke=P[Re],wn=P[Re+1],ia=Re+1{const{el:q,type:Z,transition:Y,children:g,shapeFlag:y}=$;if(y&6){te($.component.subTree,P,T,O);return}if(y&128){$.suspense.move(P,T,O);return}if(y&64){Z.move($,P,T,et);return}if(Z===Ce){n(q,P,T);for(let j=0;jY.enter(q),W));else{const{leave:j,delayLeave:ie,afterLeave:ae}=Y,F=()=>{$.ctx.isUnmounted?a(q):n(q,P,T)},w=()=>{const I=q._isLeaving||!!q[Fr];q._isLeaving&&q[Fr](!0),Y.persisted&&!I?F():j(q,()=>{F(),ae&&ae()})};ie?ie(q,F,w):w()}else n(q,P,T)},fe=($,P,T,O=!1,W=!1)=>{const{type:q,props:Z,ref:Y,children:g,dynamicChildren:y,shapeFlag:R,patchFlag:j,dirs:ie,cacheIndex:ae,memo:F}=$;if(j===-2&&(W=!1),Y!=null&&(Zt(),Bn(Y,null,T,$,!0),Xt()),ae!=null&&(P.renderCache[ae]=void 0),R&256){P.ctx.deactivate($);return}const w=R&1&&ie,I=!rn($);let oe;if(I&&(oe=Z&&Z.onVnodeBeforeUnmount)&&ao(oe,P,$),R&6)Ze($.component,T,O);else{if(R&128){$.suspense.unmount(T,O);return}w&&Uo($,null,P,"beforeUnmount"),R&64?$.type.remove($,P,T,et,O):y&&!y.hasOnce&&(q!==Ce||j>0&&j&64)?Xe(y,P,T,!1,!0):(q===Ce&&j&384||!W&&R&16)&&Xe(g,P,T),O&&Me($)}const de=F!=null&&ae==null;(I&&(oe=Z&&Z.onVnodeUnmounted)||w||de)&&Tt(()=>{oe&&ao(oe,P,$),w&&Uo($,null,P,"unmounted"),de&&($.el=null)},T)},Me=$=>{const{type:P,el:T,anchor:O,transition:W}=$;if(P===Ce){We(T,O);return}if(P===Yr){p($);return}const q=()=>{a(T),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if($.shapeFlag&1&&W&&!W.persisted){const{leave:Z,delayLeave:Y}=W,g=()=>Z(T,q);Y?Y($.el,q,g):g()}else q()},We=($,P)=>{let T;for(;$!==P;)T=f($),a($),$=T;a(P)},Ze=($,P,T)=>{const{bum:O,scope:W,job:q,subTree:Z,um:Y,m:g,a:y}=$;$l(g),$l(y),O&&ma(O),W.stop(),q&&(q.flags|=8,fe(Z,$,P,T)),Y&&Tt(Y,P),Tt(()=>{$.isUnmounted=!0},P)},Xe=($,P,T,O=!1,W=!1,q=0)=>{for(let Z=q;Z<$.length;Z++)fe($[Z],P,T,O,W)},ot=$=>{if($.shapeFlag&6)return ot($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const P=f($.anchor||$.el),T=P&&P[zi];return T?f(T):P};let Qe=!1;const gt=($,P,T)=>{let O;$==null?P._vnode&&(fe(P._vnode,null,null,!0),O=P._vnode.component):_(P._vnode||null,$,P,null,null,null,T),P._vnode=$,Qe||(Qe=!0,ji(O),Gi(),Qe=!1)},et={p:_,um:fe,m:te,r:Me,mt:B,mc:N,pc:se,pbc:V,n:ot,o:e};return{render:gt,hydrate:void 0,createApp:Yp(gt)}}function Vr({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 zo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ug(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wr(e,t,o=!1){const n=e.children,a=t.children;if(_e(n)&&_e(a))for(let r=0;r>1,e[o[i]]0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=t[s];return o}function Al(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Al(t)}function $l(e){if(e)for(let t=0;te.__isSuspense;function pg(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):bp(e)}const Ce=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),oo=Symbol.for("v-cmt"),Yr=Symbol.for("v-stc"),mo=[];let Ot=null;function z(e=!1){mo.push(Ot=e?null:[])}function Jr(){mo.pop(),Ot=mo[mo.length-1]||null}let Kn=1;function Ba(e,t=!1){Kn+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Tl(e){return e.dynamicChildren=Kn>0?Ot||Xo:null,Jr(),Kn>0&&Ot&&Ot.push(e),e}function Q(e,t,o,n,a,r){return Tl(E(e,t,o,n,a,r,!0))}function st(e,t,o,n,a){return Tl(je(e,t,o,n,a,!0))}function Hn(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}const El=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Je(e)||ke(e)?{i:yt,r:e,k:t,f:!!o}:e:null);function E(e,t=null,o=null,n=0,a=null,r=e===Ce?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&El(t),ref:t&&ja(t),scopeId:Ki,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:yt};return i?(Ga(l,o),r&128&&e.normalize(l)):o&&(l.shapeFlag|=He(o)?8:16),Kn>0&&!s&&Ot&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ot.push(l),l}const je=gg;function gg(e,t=null,o=null,n=0,a=null,r=!1){if((!e||e===tl)&&(e=oo),Hn(e)){const i=ln(e,t,!0);return o&&Ga(i,o),Kn>0&&!r&&Ot&&(i.shapeFlag&6?Ot[Ot.indexOf(e)]=i:Ot.push(i)),i.patchFlag=-2,i}if(Ag(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:i,style:l}=t;i&&!He(i)&&(t.class=Le(i)),Be(l)&&(Aa(l)&&!_e(l)&&(l=nt({},l)),t.style=tt(l))}const s=He(e)?1:Cl(e)?128:Ea(e)?64:Be(e)?4:ke(e)?2:0;return E(e,t,o,n,a,s,r,!0)}function fg(e){return e?Aa(e)||yl(e)?nt({},e):e:null}function ln(e,t,o=!1,n=!1){const{props:a,ref:r,patchFlag:s,children:i,transition:l}=e,c=t?hg(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&El(c),ref:t&&t.ref?o&&r?_e(r)?r.concat(ja(t)):[r,ja(t)]:ja(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?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&&Or(u,l.clone(u)),u}function dt(e=" ",t=0){return je(Un,null,e,t)}function me(e="",t=!1){return t?(z(),st(oo,null,e)):je(oo,null,e)}function no(e){return e==null||typeof e=="boolean"?je(oo):_e(e)?je(Ce,null,e.slice()):Hn(e)?bo(e):je(Un,null,String(e))}function bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Ga(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(_e(t))o=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),Ga(e,a()),a._c&&(a._d=!0));return}else{o=32;const a=t._;!a&&!yl(t)?t._ctx=yt:a===3&&yt&&(yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ke(t)){if(n&65){Ga(e,{default:t});return}t={default:t,_ctx:yt},o=32}else t=String(t),n&64?(o=16,t=[dt(t)]):o=8;e.children=t,e.shapeFlag|=o}function hg(...e){const t={};for(let o=0;o_t||yt;let Ua,Vn;{const e=ba(),t=(o,n)=>{let a;return(a=e[o])||(a=e[o]=[]),a.push(n),r=>{a.length>1?a.forEach(s=>s(r)):a[0](r)}};Ua=t("__VUE_INSTANCE_SETTERS__",o=>_t=o),Vn=t("__VUE_SSR_SETTERS__",o=>cn=o)}const Wn=e=>{const t=_t;return Ua(e),e.scope.on(),()=>{e.scope.off(),Ua(t)}},Pl=()=>{_t&&_t.scope.off(),Ua(null)};function Ml(e){return e.vnode.shapeFlag&4}let cn=!1;function _g(e,t=!1,o=!1){t&&Vn(t);const{props:n,children:a}=e.vnode,r=Ml(e);og(e,n,r,t),sg(e,a,o||t);const s=r?vg(e,t):void 0;return t&&Vn(!1),s}function vg(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gp);const{setup:n}=o;if(n){Zt();const a=e.setupContext=n.length>1?wg(e):null,r=Wn(e),s=on(n,e,0,[e.props,a]),i=ri(s);if(Xt(),r(),(i||e.sp)&&!rn(e)&&Dr(e),i){if(s.then(Pl,Pl),t)return s.then(l=>{Vn(!0);try{Nl(e,l,t)}finally{Vn(!1)}}).catch(l=>{Rn(l,e,0)});e.asyncDep=s}else Nl(e,s)}else Il(e)}function Nl(e,t,o){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=Ri(t)),Il(e)}function Il(e,t,o){const n=e.type;e.render||(e.render=n.render||Jt);{const a=Wn(e);Zt();try{Up(e)}finally{Xt(),a()}}}const kg={get(e,t){return St(e,"get",""),e[t]}};function wg(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,kg),slots:e.slots,emit:e.emit,expose:t}}function Ka(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ri(jo(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in jn)return jn[o](e)},has(t,o){return o in t||o in jn}})):e.proxy}const xg=/(?:^|[-_])\w/g,Sg=e=>e.replace(xg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rl(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function Fl(e,t,o=!1){let n=Rl(t);if(!n&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(n=a[1])}if(!n&&e){const a=r=>{for(const s in r)if(r[s]===t)return s};n=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return n?Sg(n):o?"App":"Anonymous"}function Ag(e){return ke(e)&&"__vccOpts"in e}const X=(e,t)=>lp(e,t,cn);function Ol(e,t,o){try{Ba(-1);const n=arguments.length;return n===2?Be(t)&&!_e(t)?Hn(t)?je(e,null,[t]):je(e,t):je(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Hn(o)&&(o=[o]),je(e,t,o))}finally{Ba(1)}}const $g="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -23,7 +23,7 @@ * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let ec;const Wa=e=>ec=e,tc=Symbol();function ts(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Jn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Jn||(Jn={}));function lf(){const e=_r(!0),t=e.run(()=>ue({}));let o=[],n=[];const a=jo({install(r){Wa(a),a._a=r,r.provide(tc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const oc=()=>{};function nc(e,t,o,n=oc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&hi()&&Rd(a),a}function dn(e,...t){e.slice().forEach(o=>{o(...t)})}const cf=e=>e(),ac=Symbol(),os=Symbol();function ns(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],a=e[o];ts(a)&&ts(n)&&e.hasOwnProperty(o)&&!Je(n)&&!po(n)?e[o]=ns(a,n):e[o]=n}return e}const uf=Symbol();function df(e){return!ts(e)||!e.hasOwnProperty(uf)}const{assign:Eo}=Object;function pf(e){return!!(Je(e)&&e.effect)}function gf(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=np(o.state.value[e]);return Eo(u,r,Object.keys(s||{}).reduce((d,h)=>(d[h]=jo(X(()=>{Wa(o);const k=o._s.get(e);return s[h].call(k,k)})),d),{}))}return l=rc(e,c,t,o,n,!0),l}function rc(e,t,o={},n,a,r){let s;const i=Eo({actions:{}},o),l={deep:!0};let c,u,d=[],h=[],k;const f=n.state.value[e];!r&&!f&&(n.state.value[e]={});let y;function m(N){let M;c=u=!1,typeof N=="function"?(N(n.state.value[e]),M={type:Jn.patchFunction,storeId:e,events:k}):(ns(n.state.value[e],N),M={type:Jn.patchObject,payload:N,storeId:e,events:k});const V=y=Symbol();Lo().then(()=>{y===V&&(c=!0)}),u=!0,dn(d,M,n.state.value[e])}const x=r?function(){const{state:M}=o,V=M?M():{};this.$patch(G=>{Eo(G,V)})}:oc;function S(){s.stop(),d=[],h=[],n._s.delete(e)}const b=(N,M="")=>{if(ac in N)return N[os]=M,N;const V=function(){Wa(n);const G=Array.from(arguments),U=[],re=[];function B(K){U.push(K)}function H(K){re.push(K)}dn(h,{args:G,name:V[os],store:v,after:B,onError:H});let L;try{L=N.apply(this&&this.$id===e?this:v,G)}catch(K){throw dn(re,K),K}return L instanceof Promise?L.then(K=>(dn(U,K),K)).catch(K=>(dn(re,K),Promise.reject(K))):(dn(U,L),L)};return V[ac]=!0,V[os]=M,V},p={_p:n,$id:e,$onAction:nc.bind(null,h),$patch:m,$reset:x,$subscribe(N,M={}){const V=nc(d,N,M.detached,()=>G()),G=s.run(()=>rt(()=>n.state.value[e],U=>{(M.flush==="sync"?u:c)&&N({storeId:e,type:Jn.direct,events:k},U)},Eo({},l,M)));return V},$dispose:S},v=en(p);n._s.set(e,v);const A=(n._a&&n._a.runWithContext||cf)(()=>n._e.run(()=>(s=_r()).run(()=>t({action:b}))));for(const N in A){const M=A[N];if(Je(M)&&!pf(M)||po(M))r||(f&&df(M)&&(Je(M)?M.value=f[N]:ns(M,f[N])),n.state.value[e][N]=M);else if(typeof M=="function"){const V=b(M,N);A[N]=V,i.actions[N]=M}}return Eo(v,A),Eo(Pe(v),A),Object.defineProperty(v,"$state",{get:()=>n.state.value[e],set:N=>{m(M=>{Eo(M,N)})}}),n._p.forEach(N=>{Eo(v,s.run(()=>N({store:v,app:n._a,pinia:n,options:i})))}),f&&r&&o.hydrate&&o.hydrate(v.$state,f),c=!0,u=!0,v}/*! #__NO_SIDE_EFFECTS__ */function as(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const c=_p();return i=i||(c?Ee(tc,null):null),i&&Wa(i),i=ec,i._s.has(n)||(r?rc(n,t,a,i):gf(n,a,i)),i._s.get(n)}return s.$id=n,s}const ff={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},hf={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},mf={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},bf={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:"اللغات"}},yf={menuComingSoon:"القائمة قادمة قريباً"},_f={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},vf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},kf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},wf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},xf={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"},Af={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},$f={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"}},Lf={menuComingSoon:"Menü folgt in Kürze"},Cf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Tf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Ef={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Pf={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"},Mf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Nf={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},If={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Rf={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"}},Ff={menuComingSoon:"Menu coming soon"},Of={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Df={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Bf={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},jf={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"}},Gf={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",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"},Uf={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Kf={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"},Hf={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."}},zf={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"}},Vf={menuComingSoon:"Menú próximamente"},Wf={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Yf={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Jf={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"}},qf={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"},Zf={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Xf={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"},Qf={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},eh={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"}},th={menuComingSoon:"Menu bientôt disponible"},oh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},nh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},ah={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},rh={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"}},sh={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"},ih={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},lh={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:"कोई विवरण उपलब्ध नहीं है।"}},uh={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:"कुल"}},dh={menuComingSoon:"मेनू शीघ्र आ रहा है"},ph={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},gh={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},fh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},hh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},mh={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"},bh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},yh={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"}},_h={menuComingSoon:"Menu in arrivo"},vh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},kh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},wh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},xh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Sh={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"},Ah={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."}},$h={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"}},Lh={menuComingSoon:"Menu em breve"},Ch={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Th={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Eh={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"}},Ph={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"},Mh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Nh={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ă"},Ih={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ă."}},Rh={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"}},Fh={menuComingSoon:"Meniu în curând"},Oh={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Dh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Bh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},jh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Gh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Uh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Kh={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:"Языки"}},Hh={menuComingSoon:"Меню скоро появится"},zh={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Vh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Wh={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Yh={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Jh={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},qh={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},Zh={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},Xh={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:"总计"}},Qh={menuComingSoon:"菜单即将推出"},em={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},tm={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},om={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! + */let ec;const Wa=e=>ec=e,tc=Symbol();function ts(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Jn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Jn||(Jn={}));function lf(){const e=_r(!0),t=e.run(()=>ue({}));let o=[],n=[];const a=jo({install(r){Wa(a),a._a=r,r.provide(tc,a),r.config.globalProperties.$pinia=a,n.forEach(s=>o.push(s)),n=[]},use(r){return this._a?o.push(r):n.push(r),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return a}const oc=()=>{};function nc(e,t,o,n=oc){e.push(t);const a=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!o&&hi()&&Rd(a),a}function dn(e,...t){e.slice().forEach(o=>{o(...t)})}const cf=e=>e(),ac=Symbol(),os=Symbol();function ns(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],a=e[o];ts(a)&&ts(n)&&e.hasOwnProperty(o)&&!Je(n)&&!po(n)?e[o]=ns(a,n):e[o]=n}return e}const uf=Symbol();function df(e){return!ts(e)||!e.hasOwnProperty(uf)}const{assign:Eo}=Object;function pf(e){return!!(Je(e)&&e.effect)}function gf(e,t,o,n){const{state:a,actions:r,getters:s}=t,i=o.state.value[e];let l;function c(){i||(o.state.value[e]=a?a():{});const u=np(o.state.value[e]);return Eo(u,r,Object.keys(s||{}).reduce((d,f)=>(d[f]=jo(X(()=>{Wa(o);const k=o._s.get(e);return s[f].call(k,k)})),d),{}))}return l=rc(e,c,t,o,n,!0),l}function rc(e,t,o={},n,a,r){let s;const i=Eo({actions:{}},o),l={deep:!0};let c,u,d=[],f=[],k;const m=n.state.value[e];!r&&!m&&(n.state.value[e]={});let _;function h(N){let M;c=u=!1,typeof N=="function"?(N(n.state.value[e]),M={type:Jn.patchFunction,storeId:e,events:k}):(ns(n.state.value[e],N),M={type:Jn.patchObject,payload:N,storeId:e,events:k});const V=_=Symbol();Lo().then(()=>{_===V&&(c=!0)}),u=!0,dn(d,M,n.state.value[e])}const x=r?function(){const{state:M}=o,V=M?M():{};this.$patch(G=>{Eo(G,V)})}:oc;function S(){s.stop(),d=[],f=[],n._s.delete(e)}const b=(N,M="")=>{if(ac in N)return N[os]=M,N;const V=function(){Wa(n);const G=Array.from(arguments),U=[],re=[];function B(K){U.push(K)}function H(K){re.push(K)}dn(f,{args:G,name:V[os],store:v,after:B,onError:H});let L;try{L=N.apply(this&&this.$id===e?this:v,G)}catch(K){throw dn(re,K),K}return L instanceof Promise?L.then(K=>(dn(U,K),K)).catch(K=>(dn(re,K),Promise.reject(K))):(dn(U,L),L)};return V[ac]=!0,V[os]=M,V},p={_p:n,$id:e,$onAction:nc.bind(null,f),$patch:h,$reset:x,$subscribe(N,M={}){const V=nc(d,N,M.detached,()=>G()),G=s.run(()=>rt(()=>n.state.value[e],U=>{(M.flush==="sync"?u:c)&&N({storeId:e,type:Jn.direct,events:k},U)},Eo({},l,M)));return V},$dispose:S},v=en(p);n._s.set(e,v);const A=(n._a&&n._a.runWithContext||cf)(()=>n._e.run(()=>(s=_r()).run(()=>t({action:b}))));for(const N in A){const M=A[N];if(Je(M)&&!pf(M)||po(M))r||(m&&df(M)&&(Je(M)?M.value=m[N]:ns(M,m[N])),n.state.value[e][N]=M);else if(typeof M=="function"){const V=b(M,N);A[N]=V,i.actions[N]=M}}return Eo(v,A),Eo(Pe(v),A),Object.defineProperty(v,"$state",{get:()=>n.state.value[e],set:N=>{h(M=>{Eo(M,N)})}}),n._p.forEach(N=>{Eo(v,s.run(()=>N({store:v,app:n._a,pinia:n,options:i})))}),m&&r&&o.hydrate&&o.hydrate(v.$state,m),c=!0,u=!0,v}/*! #__NO_SIDE_EFFECTS__ */function as(e,t,o){let n,a;const r=typeof t=="function";typeof e=="string"?(n=e,a=r?o:t):(a=e,n=e.id);function s(i,l){const c=_p();return i=i||(c?Ee(tc,null):null),i&&Wa(i),i=ec,i._s.has(n)||(r?rc(n,t,a,i):gf(n,a,i)),i._s.get(n)}return s.$id=n,s}const ff={backToLegend:"العودة إلى المفتاح",closeDetailView:"إغلاق عرض التفاصيل"},hf={prayForThem:"صلِّ من أجلهم",adoptThem:"تبنَّهم",moreInfo:"مزيد من المعلومات",zoomIn:"تكبير",zoomOut:"تصغير",switchToLightMode:"التبديل إلى الوضع الفاتح",switchToDarkMode:"التبديل إلى الوضع الداكن",resetView:"إعادة تعيين العرض",toggleFullscreen:"تبديل ملء الشاشة",aboutThisMap:"حول هذه الخريطة",closeMenu:"إغلاق القائمة",reloadMap:"إعادة تحميل الخريطة",showClusters:"إظهار المجموعات",clusterSettings:"إعدادات المجموعات",startAutoFly:"بدء الطيران التلقائي",stopFlight:"إيقاف الطيران",speedLabel:"السرعة:",speedOption:{slow:"بطيء",normal:"عادي",fast:"سريع"},shareEmbed:"مشاركة وتضمين"},mf={labels:{country:"الدولة:",population:"السكان:",language:"اللغة:",religion:"الديانة:",languageFamily:"العائلة اللغوية:",peopleCommitted:"ملتزمون بالصلاة:"},messages:{noDescription:"لا يوجد وصف متاح."}},bf={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:"اللغات"}},yf={menuComingSoon:"القائمة قادمة قريباً"},_f={clusterByRegion:"حسب منطقة Doxa",clusterByLanguageFamily:"حسب العائلة اللغوية",clusterByGospelResource:"حسب مورد الإنجيل"},vf={header:"دورة الصلاة الحالية",lap:"الدورة",upgs:"UUPGs",separator:" من "},kf={placeholder:"شعب، مكان، لغة، ديانة",labels:{people:"الشعب:",place:"المكان:",language:"اللغة:",religion:"الديانة:"},kinds:{people:"الشعب + الدولة",peopleGroup:"الشعب",bloc:"كتلة التقارب",cluster:"مجموعة شعوب",country:"الدولة",region:"المنطقة",family:"عائلة اللغة",languageKind:"اللغة",dialect:"اللهجة",religionKind:"الدين"}},wf={prayer:"الصلاة",adoption:"التبني",engagement:"المشاركة","affinity-blocks":"الشعوب",regions:"المناطق",countries:"الدول","language-families":"اللغات",religion:"الأديان",family:"عائلة اللغة",language:"اللغة",dialect:"اللهجة/التنوع",bloc:"كتلة التقارب",cluster:"المجموعة",group:"الشعب",pgic:"الشعب في الدولة",region:"منطقة WAGF",block:"كتلة WAGF",country:"الدولة"},xf={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"},Af={labels:{country:"Land:",population:"Bevölkerung:",language:"Sprache:",religion:"Religion:",languageFamily:"Sprachfamilie:",peopleCommitted:"Zum Gebet verpflichtet:"},messages:{noDescription:"Keine Beschreibung verfügbar."}},$f={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"}},Lf={menuComingSoon:"Menü folgt in Kürze"},Cf={clusterByRegion:"Nach Doxa-Region",clusterByLanguageFamily:"Nach Sprachfamilie",clusterByGospelResource:"Nach Evangeliumsressource"},Tf={header:"AKTUELLE GEBETSRUNDE",lap:"Runde",upgs:"UUPGs",separator:" von "},Ef={placeholder:"Volk, Ort, Sprache, Religion",labels:{people:"Volk:",place:"Ort:",language:"Sprache:",religion:"Religion:"},sections:{within:"Innerhalb {selection}",allData:"Alle DOXA-Daten"}},Pf={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"},Mf={backToLegend:"Back to Legend",closeDetailView:"Close detail view"},Nf={prayForThem:"Pray for them",adoptThem:"Adopt",moreInfo:"More info",zoomIn:"Zoom in",zoomOut:"Zoom out",switchToLightMode:"Switch to light mode",switchToDarkMode:"Switch to dark mode",resetView:"Reset view",toggleFullscreen:"Toggle fullscreen",aboutThisMap:"About this map",closeMenu:"Close menu",reloadMap:"Reload Map",showClusters:"Show Clusters",clusterSettings:"Cluster Settings",startAutoFly:"Start Auto Fly",stopFlight:"Stop Flight",speedLabel:"Speed:",speedOption:{slow:"Slow",normal:"Normal",fast:"Fast"},shareEmbed:"Share & embed",shareSteps:["Embed this map on your site","Create a list of the websites in your city","Train them to embed it too","Train them to train others to embed it too","Multiply maps everywhere for Jesus!"],share:"Share"},If={labels:{country:"Country:",population:"Population:",language:"Language:",religion:"Religion:",languageFamily:"Language Family:",peopleCommitted:"Committed to pray:"},messages:{noDescription:"No description available."}},Rf={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"}},Ff={menuComingSoon:"Menu coming soon"},Of={clusterByRegion:"By Doxa Region",clusterByLanguageFamily:"By Language Family",clusterByGospelResource:"By Gospel Resource"},Df={country:{wagfRegion:"WAGF Region",wagfBlock:"WAGF Bloc",country:"Country",uupgCount:"UUPG Count"}},Bf={header:"CURRENT PRAYER LAP",lap:"Lap",upgs:"UUPGs",separator:" of "},jf={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"}},Gf={prayer:"Prayer",adoption:"Adoption",engagement:"Engagement","affinity-blocks":"People Groups (Affinity)",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"},Uf={backToLegend:"Volver a la leyenda",closeDetailView:"Cerrar vista de detalle"},Kf={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"},Hf={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."}},zf={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"}},Vf={menuComingSoon:"Menú próximamente"},Wf={clusterByRegion:"Por región Doxa",clusterByLanguageFamily:"Por familia lingüística",clusterByGospelResource:"Por recurso del Evangelio"},Yf={header:"VUELTA DE ORACIÓN ACTUAL",lap:"Vuelta",upgs:"UUPGs",separator:" de "},Jf={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"}},qf={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"},Zf={backToLegend:"Retour à la légende",closeDetailView:"Fermer la vue détaillée"},Xf={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"},Qf={labels:{country:"Pays :",population:"Population :",language:"Langue :",religion:"Religion :",languageFamily:"Famille de langues :",peopleCommitted:"Engagés à prier :"},messages:{noDescription:"Aucune description disponible."}},eh={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"}},th={menuComingSoon:"Menu bientôt disponible"},oh={clusterByRegion:"Par région Doxa",clusterByLanguageFamily:"Par famille de langues",clusterByGospelResource:"Par ressource de l'Évangile"},nh={country:{wagfRegion:"Région WAGF",wagfBlock:"Bloc WAGF",country:"Pays",uupgCount:"Nombre d'UUPG"}},ah={header:"TOUR DE PRIÈRE ACTUEL",lap:"Tour",upgs:"UUPGs",separator:" sur "},rh={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"}},sh={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"},ih={backToLegend:"लेजेंड पर वापस जाएं",closeDetailView:"विवरण दृश्य बंद करें"},lh={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:"कोई विवरण उपलब्ध नहीं है।"}},uh={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:"कुल"}},dh={menuComingSoon:"मेनू शीघ्र आ रहा है"},ph={clusterByRegion:"Doxa क्षेत्र के अनुसार",clusterByLanguageFamily:"भाषा परिवार के अनुसार",clusterByGospelResource:"सुसमाचार संसाधन के अनुसार"},gh={header:"वर्तमान प्रार्थना चक्र",lap:"चक्र",upgs:"UUPGs",separator:" में से "},fh={placeholder:"लोग, स्थान, भाषा, धर्म",labels:{people:"लोग:",place:"स्थान:",language:"भाषा:",religion:"धर्म:"}},hh={backToLegend:"Torna alla legenda",closeDetailView:"Chiudi vista dettaglio"},mh={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"},bh={labels:{country:"Paese:",population:"Popolazione:",language:"Lingua:",religion:"Religione:",languageFamily:"Famiglia linguistica:",peopleCommitted:"Impegnati a pregare:"},messages:{noDescription:"Nessuna descrizione disponibile."}},yh={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"}},_h={menuComingSoon:"Menu in arrivo"},vh={clusterByRegion:"Per regione Doxa",clusterByLanguageFamily:"Per famiglia linguistica",clusterByGospelResource:"Per risorsa del Vangelo"},kh={header:"GIRO DI PREGHIERA ATTUALE",lap:"Giro",upgs:"UUPGs",separator:" di "},wh={placeholder:"Popolo, luogo, lingua, religione",labels:{people:"Popolo:",place:"Luogo:",language:"Lingua:",religion:"Religione:"}},xh={backToLegend:"Voltar à legenda",closeDetailView:"Fechar vista de detalhe"},Sh={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"},Ah={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."}},$h={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"}},Lh={menuComingSoon:"Menu em breve"},Ch={clusterByRegion:"Por região Doxa",clusterByLanguageFamily:"Por família linguística",clusterByGospelResource:"Por recurso do Evangelho"},Th={header:"VOLTA DE ORAÇÃO ATUAL",lap:"Volta",upgs:"UUPGs",separator:" de "},Eh={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"}},Ph={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"},Mh={backToLegend:"Înapoi la legendă",closeDetailView:"Închide vizualizarea detaliată"},Nh={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ă"},Ih={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ă."}},Rh={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"}},Fh={menuComingSoon:"Meniu în curând"},Oh={clusterByRegion:"După regiune Doxa",clusterByLanguageFamily:"După familia de limbi",clusterByGospelResource:"După resursa Evangheliei"},Dh={header:"TURUL DE RUGĂCIUNE CURENT",lap:"Tur",upgs:"UUPGs",separator:" din "},Bh={placeholder:"Popor, loc, limbă, religie",labels:{people:"Popor:",place:"Loc:",language:"Limbă:",religion:"Religie:"}},jh={backToLegend:"Назад к легенде",closeDetailView:"Закрыть подробный вид"},Gh={prayForThem:"Молитесь о них",adoptThem:"Усыновите их",moreInfo:"Подробнее",zoomIn:"Приблизить",zoomOut:"Отдалить",switchToLightMode:"Переключить на светлый режим",switchToDarkMode:"Переключить на тёмный режим",resetView:"Сбросить вид",toggleFullscreen:"Полноэкранный режим",aboutThisMap:"Об этой карте",closeMenu:"Закрыть меню",reloadMap:"Перезагрузить карту",showClusters:"Показать кластеры",clusterSettings:"Настройки кластеров",startAutoFly:"Начать авто-полёт",stopFlight:"Остановить полёт",speedLabel:"Скорость:",speedOption:{slow:"Медленно",normal:"Нормально",fast:"Быстро"},shareEmbed:"Поделиться и встроить"},Uh={labels:{country:"Страна:",population:"Население:",language:"Язык:",religion:"Религия:",languageFamily:"Языковая семья:",peopleCommitted:"Обязались молиться:"},messages:{noDescription:"Описание недоступно."}},Kh={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:"Языки"}},Hh={menuComingSoon:"Меню скоро появится"},zh={clusterByRegion:"По региону Doxa",clusterByLanguageFamily:"По языковой семье",clusterByGospelResource:"По евангельскому ресурсу"},Vh={header:"ТЕКУЩИЙ КРУГ МОЛИТВЫ",lap:"Круг",upgs:"UUPGs",separator:" из "},Wh={placeholder:"Народ, место, язык, религия",labels:{people:"Народ:",place:"Место:",language:"Язык:",religion:"Религия:"},kinds:{people:"Народ + страна",peopleGroup:"Народ",bloc:"Блок родства",cluster:"Кластер народов",country:"Страна",region:"Регион",family:"Языковая семья",languageKind:"Язык",dialect:"Диалект",religionKind:"Религия"}},Yh={prayer:"Молитва",adoption:"Усыновление",engagement:"Вовлечённость","affinity-blocks":"Народы",regions:"Регионы",countries:"Страны","language-families":"Языки",religion:"Религии",family:"Языковая семья",language:"Язык",dialect:"Диалект/вариант",bloc:"Блок родства",cluster:"Кластер",group:"Народ",pgic:"Народ в стране",region:"Регион WAGF",block:"Блок WAGF",country:"Страна"},Jh={backToLegend:"返回图例",closeDetailView:"关闭详情视图"},qh={prayForThem:"为他们祷告",adoptThem:"认领他们",moreInfo:"更多信息",zoomIn:"放大",zoomOut:"缩小",switchToLightMode:"切换至浅色模式",switchToDarkMode:"切换至深色模式",resetView:"重置视图",toggleFullscreen:"切换全屏",aboutThisMap:"关于此地图",closeMenu:"关闭菜单",reloadMap:"重新加载地图",showClusters:"显示聚类",clusterSettings:"聚类设置",startAutoFly:"开始自动飞行",stopFlight:"停止飞行",speedLabel:"速度:",speedOption:{slow:"慢",normal:"正常",fast:"快"},shareEmbed:"分享与嵌入"},Zh={labels:{country:"国家:",population:"人口:",language:"语言:",religion:"宗教:",languageFamily:"语系:",peopleCommitted:"承诺祷告人数:"},messages:{noDescription:"暂无描述。"}},Xh={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:"总计"}},Qh={menuComingSoon:"菜单即将推出"},em={clusterByRegion:"按 Doxa 区域",clusterByLanguageFamily:"按语系",clusterByGospelResource:"按福音资源"},tm={header:"当前祷告轮次",lap:"第",upgs:"UUPGs",separator:" / "},om={placeholder:"民族、地点、语言、宗教",labels:{people:"民族:",place:"地点:",language:"语言:",religion:"宗教:"}};/*! * shared v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. @@ -32,16 +32,16 @@ * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function gm(e,t,o){return{line:e,column:t,offset:o}}function Qa(e,t,o){return{start:e,end:t}}const fm=/\{([0-9a-zA-Z]+)\}/g;function dc(e,...t){return t.length===1&&hm(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(fm,(o,n)=>t.hasOwnProperty(n)?t[n]:"")}const pc=Object.assign,gc=e=>typeof e=="string",hm=e=>e!==null&&typeof e=="object";function fc(e,t=""){return e.reduce((o,n,a)=>a===0?o+n:o+t+n,"")}const rs={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},mm={[rs.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function bm(e,t,...o){const n=dc(mm[e],...o||[]),a={message:String(n),code:e};return t&&(a.location=t),a}const ve={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},ym={[ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function pn(e,t,o={}){const{domain:n,messages:a,args:r}=o,s=dc((a||ym)[e]||"",...r||[]),i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=n,i}function _m(e){throw e}const ko=" ",vm="\r",Et=` -`,km="\u2028",wm="\u2029";function xm(e){const t=e;let o=0,n=1,a=1,r=0;const s=A=>t[A]===vm&&t[A+1]===Et,i=A=>t[A]===Et,l=A=>t[A]===wm,c=A=>t[A]===km,u=A=>s(A)||i(A)||l(A)||c(A),d=()=>o,h=()=>n,k=()=>a,f=()=>r,y=A=>s(A)||l(A)||c(A)?Et:t[A],m=()=>y(o),x=()=>y(o+r);function S(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function b(){return s(o+r)&&r++,r++,t[o+r]}function p(){o=0,n=1,a=1,r=0}function v(A=0){r=A}function C(){const A=o+r;for(;A!==o;)S();r=0}return{index:d,line:h,column:k,peekOffset:f,charAt:y,currentChar:m,currentPeek:x,next:S,peek:b,reset:p,resetPeek:v,skipToPeek:C}}const No=void 0,Sm=".",hc="'",Am="tokenizer";function $m(e,t={}){const o=t.location!==!1,n=xm(e),a=()=>n.index(),r=()=>gm(n.line(),n.column(),n.index()),s=r(),i=a(),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(g,_,R,...j){const ie=c();if(_.column+=R,_.offset+=R,u){const ae=o?Qa(ie.startLoc,_):null,F=pn(g,ae,{domain:Am,args:j});u(F)}}function h(g,_,R){g.endLoc=r(),g.currentType=_;const j={type:_};return o&&(j.loc=Qa(g.startLoc,g.endLoc)),R!=null&&(j.value=R),j}const k=g=>h(g,14);function f(g,_){return g.currentChar()===_?(g.next(),_):(d(ve.EXPECTED_TOKEN,r(),0,_),"")}function y(g){let _="";for(;g.currentPeek()===ko||g.currentPeek()===Et;)_+=g.currentPeek(),g.peek();return _}function m(g){const _=y(g);return g.skipToPeek(),_}function x(g){if(g===No)return!1;const _=g.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function S(g){if(g===No)return!1;const _=g.charCodeAt(0);return _>=48&&_<=57}function b(g,_){const{currentType:R}=_;if(R!==2)return!1;y(g);const j=x(g.currentPeek());return g.resetPeek(),j}function p(g,_){const{currentType:R}=_;if(R!==2)return!1;y(g);const j=g.currentPeek()==="-"?g.peek():g.currentPeek(),ie=S(j);return g.resetPeek(),ie}function v(g,_){const{currentType:R}=_;if(R!==2)return!1;y(g);const j=g.currentPeek()===hc;return g.resetPeek(),j}function C(g,_){const{currentType:R}=_;if(R!==8)return!1;y(g);const j=g.currentPeek()===".";return g.resetPeek(),j}function A(g,_){const{currentType:R}=_;if(R!==9)return!1;y(g);const j=x(g.currentPeek());return g.resetPeek(),j}function N(g,_){const{currentType:R}=_;if(!(R===8||R===12))return!1;y(g);const j=g.currentPeek()===":";return g.resetPeek(),j}function M(g,_){const{currentType:R}=_;if(R!==10)return!1;const j=()=>{const ae=g.currentPeek();return ae==="{"?x(g.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===ko||!ae?!1:ae===Et?(g.peek(),j()):U(g,!1)},ie=j();return g.resetPeek(),ie}function V(g){y(g);const _=g.currentPeek()==="|";return g.resetPeek(),_}function G(g){const _=y(g),R=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:R,hasSpace:_.length>0}}function U(g,_=!0){const R=(ie=!1,ae="",F=!1)=>{const w=g.currentPeek();return w==="{"?ae==="%"?!1:ie:w==="@"||!w?ae==="%"?!0:ie:w==="%"?(g.peek(),R(ie,"%",!0)):w==="|"?ae==="%"||F?!0:!(ae===ko||ae===Et):w===ko?(g.peek(),R(!0,ko,F)):w===Et?(g.peek(),R(!0,Et,F)):!0},j=R();return _&&g.resetPeek(),j}function re(g,_){const R=g.currentChar();return R===No?No:_(R)?(g.next(),R):null}function B(g){const _=g.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function H(g){return re(g,B)}function L(g){const _=g.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function K(g){return re(g,L)}function se(g){const _=g.charCodeAt(0);return _>=48&&_<=57}function ye(g){return re(g,se)}function ne(g){const _=g.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function te(g){return re(g,ne)}function fe(g){let _="",R="";for(;_=ye(g);)R+=_;return R}function Me(g){m(g);const _=g.currentChar();return _!=="%"&&d(ve.EXPECTED_TOKEN,r(),0,_),g.next(),"%"}function We(g){let _="";for(;;){const R=g.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(g))_+=R,g.next();else break;else if(R===ko||R===Et)if(U(g))_+=R,g.next();else{if(V(g))break;_+=R,g.next()}else _+=R,g.next()}return _}function Ze(g){m(g);let _="",R="";for(;_=K(g);)R+=_;return g.currentChar()===No&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R}function Xe(g){m(g);let _="";return g.currentChar()==="-"?(g.next(),_+=`-${fe(g)}`):_+=fe(g),g.currentChar()===No&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),_}function ot(g){return g!==hc&&g!==Et}function Qe(g){m(g),f(g,"'");let _="",R="";for(;_=re(g,ot);)_==="\\"?R+=gt(g):R+=_;const j=g.currentChar();return j===Et||j===No?(d(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),j===Et&&(g.next(),f(g,"'")),R):(f(g,"'"),R)}function gt(g){const _=g.currentChar();switch(_){case"\\":case"'":return g.next(),`\\${_}`;case"u":return et(g,_,4);case"U":return et(g,_,6);default:return d(ve.UNKNOWN_ESCAPE_SEQUENCE,r(),0,_),""}}function et(g,_,R){f(g,_);let j="";for(let ie=0;ie{const j=g.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===ko?R:(R+=j,g.next(),_(R))};return _("")}function O(g){m(g);const _=f(g,"|");return m(g),_}function W(g,_){let R=null;switch(g.currentChar()){case"{":return _.braceNest>=1&&d(ve.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),g.next(),R=h(_,2,"{"),m(g),_.braceNest++,R;case"}":return _.braceNest>0&&_.currentType===2&&d(ve.EMPTY_PLACEHOLDER,r(),0),g.next(),R=h(_,3,"}"),_.braceNest--,_.braceNest>0&&m(g),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),R;case"@":return _.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R=q(g,_)||k(_),_.braceNest=0,R;default:{let ie=!0,ae=!0,F=!0;if(V(g))return _.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R=h(_,1,O(g)),_.braceNest=0,_.inLinked=!1,R;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),_.braceNest=0,Z(g,_);if(ie=b(g,_))return R=h(_,5,Ze(g)),m(g),R;if(ae=p(g,_))return R=h(_,6,Xe(g)),m(g),R;if(F=v(g,_))return R=h(_,7,Qe(g)),m(g),R;if(!ie&&!ae&&!F)return R=h(_,13,$(g)),d(ve.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,R.value),m(g),R;break}}return R}function q(g,_){const{currentType:R}=_;let j=null;const ie=g.currentChar();switch((R===8||R===9||R===12||R===10)&&(ie===Et||ie===ko)&&d(ve.INVALID_LINKED_FORMAT,r(),0),ie){case"@":return g.next(),j=h(_,8,"@"),_.inLinked=!0,j;case".":return m(g),g.next(),h(_,9,".");case":":return m(g),g.next(),h(_,10,":");default:return V(g)?(j=h(_,1,O(g)),_.braceNest=0,_.inLinked=!1,j):C(g,_)||N(g,_)?(m(g),q(g,_)):A(g,_)?(m(g),h(_,12,P(g))):M(g,_)?(m(g),ie==="{"?W(g,_)||j:h(_,11,T(g))):(R===8&&d(ve.INVALID_LINKED_FORMAT,r(),0),_.braceNest=0,_.inLinked=!1,Z(g,_))}}function Z(g,_){let R={type:14};if(_.braceNest>0)return W(g,_)||k(_);if(_.inLinked)return q(g,_)||k(_);switch(g.currentChar()){case"{":return W(g,_)||k(_);case"}":return d(ve.UNBALANCED_CLOSING_BRACE,r(),0),g.next(),h(_,3,"}");case"@":return q(g,_)||k(_);default:{if(V(g))return R=h(_,1,O(g)),_.braceNest=0,_.inLinked=!1,R;const{isModulo:ie,hasSpace:ae}=G(g);if(ie)return ae?h(_,0,We(g)):h(_,4,Me(g));if(U(g))return h(_,0,We(g));break}}return R}function Y(){const{currentType:g,offset:_,startLoc:R,endLoc:j}=l;return l.lastType=g,l.lastOffset=_,l.lastStartLoc=R,l.lastEndLoc=j,l.offset=a(),l.startLoc=r(),n.currentChar()===No?h(l,14):Z(n,l)}return{nextToken:Y,currentOffset:a,currentPosition:r,context:c}}const Lm="parser",Cm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Tm(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 Em(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(b,p,v,C,...A){const N=b.currentPosition();if(N.offset+=C,N.column+=C,o){const M=t?Qa(v,N):null,V=pn(p,M,{domain:Lm,args:A});o(V)}}function r(b,p,v,C,...A){const N=b.currentPosition();if(N.offset+=C,N.column+=C,n){const M=t?Qa(v,N):null;n(bm(p,M,A))}}function s(b,p,v){const C={type:b};return t&&(C.start=p,C.end=p,C.loc={start:v,end:v}),C}function i(b,p,v,C){t&&(b.end=p,b.loc&&(b.loc.end=v))}function l(b,p){const v=b.context(),C=s(3,v.offset,v.startLoc);return C.value=p,i(C,b.currentOffset(),b.currentPosition()),C}function c(b,p){const v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(5,C,A);return N.index=parseInt(p,10),b.nextToken(),i(N,b.currentOffset(),b.currentPosition()),N}function u(b,p,v){const C=b.context(),{lastOffset:A,lastStartLoc:N}=C,M=s(4,A,N);return M.key=p,v===!0&&(M.modulo=!0),b.nextToken(),i(M,b.currentOffset(),b.currentPosition()),M}function d(b,p){const v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(9,C,A);return N.value=p.replace(Cm,Tm),b.nextToken(),i(N,b.currentOffset(),b.currentPosition()),N}function h(b){const p=b.nextToken(),v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(8,C,A);return p.type!==12?(a(b,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),N.value="",i(N,C,A),{nextConsumeToken:p,node:N}):(p.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vt(p)),N.value=p.value||"",i(N,b.currentOffset(),b.currentPosition()),{node:N})}function k(b,p){const v=b.context(),C=s(7,v.offset,v.startLoc);return C.value=p,i(C,b.currentOffset(),b.currentPosition()),C}function f(b){const p=b.context(),v=s(6,p.offset,p.startLoc);let C=b.nextToken();if(C.type===9){const A=h(b);v.modifier=A.node,C=A.nextConsumeToken||b.nextToken()}switch(C.type!==10&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),C=b.nextToken(),C.type===2&&(C=b.nextToken()),C.type){case 11:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=k(b,C.value||"");break;case 5:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=u(b,C.value||"");break;case 6:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=c(b,C.value||"");break;case 7:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=d(b,C.value||"");break;default:{a(b,ve.UNEXPECTED_EMPTY_LINKED_KEY,p.lastStartLoc,0);const A=b.context(),N=s(7,A.offset,A.startLoc);return N.value="",i(N,A.offset,A.startLoc),v.key=N,i(v,A.offset,A.startLoc),{nextConsumeToken:C,node:v}}}return i(v,b.currentOffset(),b.currentPosition()),{node:v}}function y(b){const p=b.context(),v=p.currentType===1?b.currentOffset():p.offset,C=p.currentType===1?p.endLoc:p.startLoc,A=s(2,v,C);A.items=[];let N=null,M=null;do{const U=N||b.nextToken();switch(N=null,U.type){case 0:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(l(b,U.value||""));break;case 6:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(c(b,U.value||""));break;case 4:M=!0;break;case 5:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(u(b,U.value||"",!!M)),M&&(r(b,rs.USE_MODULO_SYNTAX,p.lastStartLoc,0,Vt(U)),M=null);break;case 7:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(d(b,U.value||""));break;case 8:{const re=f(b);A.items.push(re.node),N=re.nextConsumeToken||null;break}}}while(p.currentType!==14&&p.currentType!==1);const V=p.currentType===1?p.lastOffset:b.currentOffset(),G=p.currentType===1?p.lastEndLoc:b.currentPosition();return i(A,V,G),A}function m(b,p,v,C){const A=b.context();let N=C.items.length===0;const M=s(1,p,v);M.cases=[],M.cases.push(C);do{const V=y(b);N||(N=V.items.length===0),M.cases.push(V)}while(A.currentType!==14);return N&&a(b,ve.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),i(M,b.currentOffset(),b.currentPosition()),M}function x(b){const p=b.context(),{offset:v,startLoc:C}=p,A=y(b);return p.currentType===14?A:m(b,v,C,A)}function S(b){const p=$m(b,pc({},e)),v=p.context(),C=s(0,v.offset,v.startLoc);return t&&C.loc&&(C.loc.source=b),C.body=x(p),e.onCacheKey&&(C.cacheKey=e.onCacheKey(b)),v.currentType!==14&&a(p,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,b[v.offset]||""),i(C,p.currentOffset(),p.currentPosition()),C}return{parse:S}}function Vt(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 Pm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function mc(e,t){for(let o=0;obc(o)),e}function bc(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(y,m){s.code+=y}function c(y,m=!0){const x=m?n:"";l(a?x+" ".repeat(y):x)}function u(y=!0){const m=++s.indentLevel;y&&c(m)}function d(y=!0){const m=--s.indentLevel;y&&c(m)}function h(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:h,helper:y=>`_${y}`,needIndent:()=>s.needIndent}}function Om(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 Dm(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=gc(t.mode)?t.mode:"normal",n=gc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` +`,km="\u2028",wm="\u2029";function xm(e){const t=e;let o=0,n=1,a=1,r=0;const s=A=>t[A]===vm&&t[A+1]===Et,i=A=>t[A]===Et,l=A=>t[A]===wm,c=A=>t[A]===km,u=A=>s(A)||i(A)||l(A)||c(A),d=()=>o,f=()=>n,k=()=>a,m=()=>r,_=A=>s(A)||l(A)||c(A)?Et:t[A],h=()=>_(o),x=()=>_(o+r);function S(){return r=0,u(o)&&(n++,a=0),s(o)&&o++,o++,a++,t[o]}function b(){return s(o+r)&&r++,r++,t[o+r]}function p(){o=0,n=1,a=1,r=0}function v(A=0){r=A}function C(){const A=o+r;for(;A!==o;)S();r=0}return{index:d,line:f,column:k,peekOffset:m,charAt:_,currentChar:h,currentPeek:x,next:S,peek:b,reset:p,resetPeek:v,skipToPeek:C}}const No=void 0,Sm=".",hc="'",Am="tokenizer";function $m(e,t={}){const o=t.location!==!1,n=xm(e),a=()=>n.index(),r=()=>gm(n.line(),n.column(),n.index()),s=r(),i=a(),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(g,y,R,...j){const ie=c();if(y.column+=R,y.offset+=R,u){const ae=o?Qa(ie.startLoc,y):null,F=pn(g,ae,{domain:Am,args:j});u(F)}}function f(g,y,R){g.endLoc=r(),g.currentType=y;const j={type:y};return o&&(j.loc=Qa(g.startLoc,g.endLoc)),R!=null&&(j.value=R),j}const k=g=>f(g,14);function m(g,y){return g.currentChar()===y?(g.next(),y):(d(ve.EXPECTED_TOKEN,r(),0,y),"")}function _(g){let y="";for(;g.currentPeek()===ko||g.currentPeek()===Et;)y+=g.currentPeek(),g.peek();return y}function h(g){const y=_(g);return g.skipToPeek(),y}function x(g){if(g===No)return!1;const y=g.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y===95}function S(g){if(g===No)return!1;const y=g.charCodeAt(0);return y>=48&&y<=57}function b(g,y){const{currentType:R}=y;if(R!==2)return!1;_(g);const j=x(g.currentPeek());return g.resetPeek(),j}function p(g,y){const{currentType:R}=y;if(R!==2)return!1;_(g);const j=g.currentPeek()==="-"?g.peek():g.currentPeek(),ie=S(j);return g.resetPeek(),ie}function v(g,y){const{currentType:R}=y;if(R!==2)return!1;_(g);const j=g.currentPeek()===hc;return g.resetPeek(),j}function C(g,y){const{currentType:R}=y;if(R!==8)return!1;_(g);const j=g.currentPeek()===".";return g.resetPeek(),j}function A(g,y){const{currentType:R}=y;if(R!==9)return!1;_(g);const j=x(g.currentPeek());return g.resetPeek(),j}function N(g,y){const{currentType:R}=y;if(!(R===8||R===12))return!1;_(g);const j=g.currentPeek()===":";return g.resetPeek(),j}function M(g,y){const{currentType:R}=y;if(R!==10)return!1;const j=()=>{const ae=g.currentPeek();return ae==="{"?x(g.peek()):ae==="@"||ae==="%"||ae==="|"||ae===":"||ae==="."||ae===ko||!ae?!1:ae===Et?(g.peek(),j()):U(g,!1)},ie=j();return g.resetPeek(),ie}function V(g){_(g);const y=g.currentPeek()==="|";return g.resetPeek(),y}function G(g){const y=_(g),R=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:R,hasSpace:y.length>0}}function U(g,y=!0){const R=(ie=!1,ae="",F=!1)=>{const w=g.currentPeek();return w==="{"?ae==="%"?!1:ie:w==="@"||!w?ae==="%"?!0:ie:w==="%"?(g.peek(),R(ie,"%",!0)):w==="|"?ae==="%"||F?!0:!(ae===ko||ae===Et):w===ko?(g.peek(),R(!0,ko,F)):w===Et?(g.peek(),R(!0,Et,F)):!0},j=R();return y&&g.resetPeek(),j}function re(g,y){const R=g.currentChar();return R===No?No:y(R)?(g.next(),R):null}function B(g){const y=g.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36}function H(g){return re(g,B)}function L(g){const y=g.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36||y===45}function K(g){return re(g,L)}function se(g){const y=g.charCodeAt(0);return y>=48&&y<=57}function ye(g){return re(g,se)}function ne(g){const y=g.charCodeAt(0);return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function te(g){return re(g,ne)}function fe(g){let y="",R="";for(;y=ye(g);)R+=y;return R}function Me(g){h(g);const y=g.currentChar();return y!=="%"&&d(ve.EXPECTED_TOKEN,r(),0,y),g.next(),"%"}function We(g){let y="";for(;;){const R=g.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(g))y+=R,g.next();else break;else if(R===ko||R===Et)if(U(g))y+=R,g.next();else{if(V(g))break;y+=R,g.next()}else y+=R,g.next()}return y}function Ze(g){h(g);let y="",R="";for(;y=K(g);)R+=y;return g.currentChar()===No&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R}function Xe(g){h(g);let y="";return g.currentChar()==="-"?(g.next(),y+=`-${fe(g)}`):y+=fe(g),g.currentChar()===No&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),y}function ot(g){return g!==hc&&g!==Et}function Qe(g){h(g),m(g,"'");let y="",R="";for(;y=re(g,ot);)y==="\\"?R+=gt(g):R+=y;const j=g.currentChar();return j===Et||j===No?(d(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),j===Et&&(g.next(),m(g,"'")),R):(m(g,"'"),R)}function gt(g){const y=g.currentChar();switch(y){case"\\":case"'":return g.next(),`\\${y}`;case"u":return et(g,y,4);case"U":return et(g,y,6);default:return d(ve.UNKNOWN_ESCAPE_SEQUENCE,r(),0,y),""}}function et(g,y,R){m(g,y);let j="";for(let ie=0;ie{const j=g.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===ko?R:(R+=j,g.next(),y(R))};return y("")}function O(g){h(g);const y=m(g,"|");return h(g),y}function W(g,y){let R=null;switch(g.currentChar()){case"{":return y.braceNest>=1&&d(ve.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),g.next(),R=f(y,2,"{"),h(g),y.braceNest++,R;case"}":return y.braceNest>0&&y.currentType===2&&d(ve.EMPTY_PLACEHOLDER,r(),0),g.next(),R=f(y,3,"}"),y.braceNest--,y.braceNest>0&&h(g),y.inLinked&&y.braceNest===0&&(y.inLinked=!1),R;case"@":return y.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R=q(g,y)||k(y),y.braceNest=0,R;default:{let ie=!0,ae=!0,F=!0;if(V(g))return y.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),R=f(y,1,O(g)),y.braceNest=0,y.inLinked=!1,R;if(y.braceNest>0&&(y.currentType===5||y.currentType===6||y.currentType===7))return d(ve.UNTERMINATED_CLOSING_BRACE,r(),0),y.braceNest=0,Z(g,y);if(ie=b(g,y))return R=f(y,5,Ze(g)),h(g),R;if(ae=p(g,y))return R=f(y,6,Xe(g)),h(g),R;if(F=v(g,y))return R=f(y,7,Qe(g)),h(g),R;if(!ie&&!ae&&!F)return R=f(y,13,$(g)),d(ve.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,R.value),h(g),R;break}}return R}function q(g,y){const{currentType:R}=y;let j=null;const ie=g.currentChar();switch((R===8||R===9||R===12||R===10)&&(ie===Et||ie===ko)&&d(ve.INVALID_LINKED_FORMAT,r(),0),ie){case"@":return g.next(),j=f(y,8,"@"),y.inLinked=!0,j;case".":return h(g),g.next(),f(y,9,".");case":":return h(g),g.next(),f(y,10,":");default:return V(g)?(j=f(y,1,O(g)),y.braceNest=0,y.inLinked=!1,j):C(g,y)||N(g,y)?(h(g),q(g,y)):A(g,y)?(h(g),f(y,12,P(g))):M(g,y)?(h(g),ie==="{"?W(g,y)||j:f(y,11,T(g))):(R===8&&d(ve.INVALID_LINKED_FORMAT,r(),0),y.braceNest=0,y.inLinked=!1,Z(g,y))}}function Z(g,y){let R={type:14};if(y.braceNest>0)return W(g,y)||k(y);if(y.inLinked)return q(g,y)||k(y);switch(g.currentChar()){case"{":return W(g,y)||k(y);case"}":return d(ve.UNBALANCED_CLOSING_BRACE,r(),0),g.next(),f(y,3,"}");case"@":return q(g,y)||k(y);default:{if(V(g))return R=f(y,1,O(g)),y.braceNest=0,y.inLinked=!1,R;const{isModulo:ie,hasSpace:ae}=G(g);if(ie)return ae?f(y,0,We(g)):f(y,4,Me(g));if(U(g))return f(y,0,We(g));break}}return R}function Y(){const{currentType:g,offset:y,startLoc:R,endLoc:j}=l;return l.lastType=g,l.lastOffset=y,l.lastStartLoc=R,l.lastEndLoc=j,l.offset=a(),l.startLoc=r(),n.currentChar()===No?f(l,14):Z(n,l)}return{nextToken:Y,currentOffset:a,currentPosition:r,context:c}}const Lm="parser",Cm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Tm(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 Em(e={}){const t=e.location!==!1,{onError:o,onWarn:n}=e;function a(b,p,v,C,...A){const N=b.currentPosition();if(N.offset+=C,N.column+=C,o){const M=t?Qa(v,N):null,V=pn(p,M,{domain:Lm,args:A});o(V)}}function r(b,p,v,C,...A){const N=b.currentPosition();if(N.offset+=C,N.column+=C,n){const M=t?Qa(v,N):null;n(bm(p,M,A))}}function s(b,p,v){const C={type:b};return t&&(C.start=p,C.end=p,C.loc={start:v,end:v}),C}function i(b,p,v,C){t&&(b.end=p,b.loc&&(b.loc.end=v))}function l(b,p){const v=b.context(),C=s(3,v.offset,v.startLoc);return C.value=p,i(C,b.currentOffset(),b.currentPosition()),C}function c(b,p){const v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(5,C,A);return N.index=parseInt(p,10),b.nextToken(),i(N,b.currentOffset(),b.currentPosition()),N}function u(b,p,v){const C=b.context(),{lastOffset:A,lastStartLoc:N}=C,M=s(4,A,N);return M.key=p,v===!0&&(M.modulo=!0),b.nextToken(),i(M,b.currentOffset(),b.currentPosition()),M}function d(b,p){const v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(9,C,A);return N.value=p.replace(Cm,Tm),b.nextToken(),i(N,b.currentOffset(),b.currentPosition()),N}function f(b){const p=b.nextToken(),v=b.context(),{lastOffset:C,lastStartLoc:A}=v,N=s(8,C,A);return p.type!==12?(a(b,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),N.value="",i(N,C,A),{nextConsumeToken:p,node:N}):(p.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vt(p)),N.value=p.value||"",i(N,b.currentOffset(),b.currentPosition()),{node:N})}function k(b,p){const v=b.context(),C=s(7,v.offset,v.startLoc);return C.value=p,i(C,b.currentOffset(),b.currentPosition()),C}function m(b){const p=b.context(),v=s(6,p.offset,p.startLoc);let C=b.nextToken();if(C.type===9){const A=f(b);v.modifier=A.node,C=A.nextConsumeToken||b.nextToken()}switch(C.type!==10&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),C=b.nextToken(),C.type===2&&(C=b.nextToken()),C.type){case 11:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=k(b,C.value||"");break;case 5:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=u(b,C.value||"");break;case 6:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=c(b,C.value||"");break;case 7:C.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(C)),v.key=d(b,C.value||"");break;default:{a(b,ve.UNEXPECTED_EMPTY_LINKED_KEY,p.lastStartLoc,0);const A=b.context(),N=s(7,A.offset,A.startLoc);return N.value="",i(N,A.offset,A.startLoc),v.key=N,i(v,A.offset,A.startLoc),{nextConsumeToken:C,node:v}}}return i(v,b.currentOffset(),b.currentPosition()),{node:v}}function _(b){const p=b.context(),v=p.currentType===1?b.currentOffset():p.offset,C=p.currentType===1?p.endLoc:p.startLoc,A=s(2,v,C);A.items=[];let N=null,M=null;do{const U=N||b.nextToken();switch(N=null,U.type){case 0:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(l(b,U.value||""));break;case 6:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(c(b,U.value||""));break;case 4:M=!0;break;case 5:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(u(b,U.value||"",!!M)),M&&(r(b,rs.USE_MODULO_SYNTAX,p.lastStartLoc,0,Vt(U)),M=null);break;case 7:U.value==null&&a(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Vt(U)),A.items.push(d(b,U.value||""));break;case 8:{const re=m(b);A.items.push(re.node),N=re.nextConsumeToken||null;break}}}while(p.currentType!==14&&p.currentType!==1);const V=p.currentType===1?p.lastOffset:b.currentOffset(),G=p.currentType===1?p.lastEndLoc:b.currentPosition();return i(A,V,G),A}function h(b,p,v,C){const A=b.context();let N=C.items.length===0;const M=s(1,p,v);M.cases=[],M.cases.push(C);do{const V=_(b);N||(N=V.items.length===0),M.cases.push(V)}while(A.currentType!==14);return N&&a(b,ve.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),i(M,b.currentOffset(),b.currentPosition()),M}function x(b){const p=b.context(),{offset:v,startLoc:C}=p,A=_(b);return p.currentType===14?A:h(b,v,C,A)}function S(b){const p=$m(b,pc({},e)),v=p.context(),C=s(0,v.offset,v.startLoc);return t&&C.loc&&(C.loc.source=b),C.body=x(p),e.onCacheKey&&(C.cacheKey=e.onCacheKey(b)),v.currentType!==14&&a(p,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,b[v.offset]||""),i(C,p.currentOffset(),p.currentPosition()),C}return{parse:S}}function Vt(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 Pm(e,t={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function mc(e,t){for(let o=0;obc(o)),e}function bc(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(_,h){s.code+=_}function c(_,h=!0){const x=h?n:"";l(a?x+" ".repeat(_):x)}function u(_=!0){const h=++s.indentLevel;_&&c(h)}function d(_=!0){const h=--s.indentLevel;_&&c(h)}function f(){c(s.indentLevel)}return{context:i,push:l,indent:u,deindent:d,newline:f,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function Om(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 Dm(e,t){const{helper:o,needIndent:n}=e;e.push(`${o("normalize")}([`),e.indent(n());const a=t.items.length;for(let r=0;r1){e.push(`${o("plural")}([`),e.indent(n());const a=t.cases.length;for(let r=0;r{const o=gc(t.mode)?t.mode:"normal",n=gc(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:o==="arrow"?";":` `,r=t.needIndent?t.needIndent:o!=="arrow",s=e.helpers||[],i=Fm(e,{filename:n,breakLineCode:a,needIndent:r});i.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),s.length>0&&(i.push(`const { ${fc(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),i.newline()),i.push("return "),fn(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:l,map:c}=i.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Um(e,t={}){const o=pc({},t),n=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,i=Em(o).parse(e);return n?(r&&Nm(i),a&&gn(i),{ast:i,code:""}):(Mm(i,o),Gm(i,o))}/*! * core-base v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Km(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(vo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(vo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(vo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ro(e){return Ne(e)&&is(e)===0&&(zt(e,"b")||zt(e,"body"))}const yc=["b","body"];function Hm(e){return Io(e,yc)}const _c=["c","cases"];function zm(e){return Io(e,_c,[])}const vc=["s","static"];function Vm(e){return Io(e,vc)}const kc=["i","items"];function Wm(e){return Io(e,kc,[])}const wc=["t","type"];function is(e){return Io(e,wc)}const xc=["v","value"];function er(e,t){const o=Io(e,xc);if(o!=null)return o;throw qn(t)}const Sc=["m","modifier"];function Ym(e){return Io(e,Sc)}const Ac=["k","key"];function Jm(e){const t=Io(e,Ac);if(t)return t;throw qn(6)}function Io(e,t,o){for(let n=0;n{s===void 0?s=i:s+=i},h[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,n=4,h[0]();else{if(a=0,s===void 0||(s=eb(s),s===!1))return!1;h[1]()}};function k(){const f=e[o+1];if(n===5&&f==="'"||n===6&&f==='"')return o++,i="\\"+f,h[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=Qm(r),d=Ro[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Lc=new Map;function ob(e,t){return Ne(e)?e[t]:null}function nb(e,t){if(!Ne(e))return null;let o=Lc.get(t);if(o||(o=tb(t),o&&Lc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,rb=e=>"",sb="text",ib=e=>e.length===0?"":pm(e),lb=dm;function Cc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cb(e){const t=it(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(it(e.named.count)||it(e.named.n))?it(e.named.count)?e.named.count:it(e.named.n)?e.named.n:t:t}function ub(e,t){t.count||(t.count=e),t.n||(t.n=e)}function db(e={}){const t=e.locale,o=cb(e),n=Ne(e.pluralRules)&&pe(t)&&Ve(e.pluralRules[t])?e.pluralRules[t]:Cc,a=Ne(e.pluralRules)&&pe(t)&&Ve(e.pluralRules[t])?Cc:void 0,r=x=>x[n(o,x.length,a)],s=e.list||[],i=x=>s[x],l=e.named||Ge();it(e.pluralIndex)&&ub(o,l);const c=x=>l[x];function u(x){const S=Ve(e.messages)?e.messages(x):Ne(e.messages)?e.messages[x]:!1;return S||(e.parent?e.parent.message(x):rb)}const d=x=>e.modifiers?e.modifiers[x]:ab,h=Se(e.processor)&&Ve(e.processor.normalize)?e.processor.normalize:ib,k=Se(e.processor)&&Ve(e.processor.interpolate)?e.processor.interpolate:lb,f=Se(e.processor)&&pe(e.processor.type)?e.processor.type:sb,m={list:i,named:c,plural:r,linked:(x,...S)=>{const[b,p]=S;let v="text",C="";S.length===1?Ne(b)?(C=b.modifier||C,v=b.type||v):pe(b)&&(C=b||C):S.length===2&&(pe(b)&&(C=b||C),pe(p)&&(v=p||v));const A=u(x)(m),N=v==="vnode"&&qe(A)&&C?A[0]:A;return C?d(C)(N,v):N},message:u,type:f,interpolate:k,normalize:h,values:vt(Ge(),s,l)};return m}let Zn=null;function pb(e){Zn=e}function gb(e,t,o){Zn&&Zn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const fb=hb("function:translate");function hb(e){return t=>Zn&&Zn.emit(e,t)}const mb=rs.__EXTEND_POINT__,Vo=qa(mb),bb={FALLBACK_TO_TRANSLATE:Vo(),CANNOT_FORMAT_NUMBER:Vo(),FALLBACK_TO_NUMBER_FORMAT:Vo(),CANNOT_FORMAT_DATE:Vo(),FALLBACK_TO_DATE_FORMAT:Vo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Vo(),__EXTEND_POINT__:Vo()},Tc=ve.__EXTEND_POINT__,Wo=qa(Tc),Wt={INVALID_ARGUMENT:Tc,INVALID_DATE_ARGUMENT:Wo(),INVALID_ISO_DATE_ARGUMENT:Wo(),NOT_SUPPORT_NON_STRING_MESSAGE:Wo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Wo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Wo(),NOT_SUPPORT_LOCALE_TYPE:Wo(),__EXTEND_POINT__:Wo()};function so(e){return pn(e,null,void 0)}function ls(e,t){return t.locale!=null?Ec(t.locale):Ec(e.locale)}let cs;function Ec(e){if(pe(e))return e;if(Ve(e)){if(e.resolvedOnce&&cs!=null)return cs;if(e.constructor.name==="Function"){const t=e();if(um(t))throw so(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return cs=t}else throw so(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw so(Wt.NOT_SUPPORT_LOCALE_TYPE)}function yb(e,t,o){return[...new Set([o,...qe(t)?t:Ne(t)?Object.keys(t):pe(t)?[t]:[o]])]}function Pc(e,t,o){const n=pe(o)?o:hn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;qe(s);)s=Mc(r,s,t);const i=qe(t)||!Se(t)?t:t.default?t.default:null;s=pe(i)?[i]:i,qe(s)&&Mc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function Mc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wb(){return{upper:(e,t)=>t==="text"&&pe(e)?e.toUpperCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&pe(e)?e.toLowerCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&pe(e)?Ic(e):t==="vnode"&&Ne(e)&&"__v_isVNode"in e?Ic(e.children):e}}let Rc;function Fc(e){Rc=e}let Oc;function xb(e){Oc=e}let Dc;function Sb(e){Dc=e}let Bc=null;const Ab=e=>{Bc=e},$b=()=>Bc;let jc=null;const Gc=e=>{jc=e},Lb=()=>jc;let Uc=0;function Cb(e={}){const t=Ve(e.onWarn)?e.onWarn:nm,o=pe(e.version)?e.version:kb,n=pe(e.locale)||Ve(e.locale)?e.locale:hn,a=Ve(n)?hn:n,r=qe(e.fallbackLocale)||Se(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=Se(e.messages)?e.messages:us(a),i=Se(e.datetimeFormats)?e.datetimeFormats:us(a),l=Se(e.numberFormats)?e.numberFormats:us(a),c=vt(Ge(),e.modifiers,wb()),u=e.pluralRules||Ge(),d=Ve(e.missing)?e.missing:null,h=Te(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,k=Te(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,y=!!e.unresolving,m=Ve(e.postTranslation)?e.postTranslation:null,x=Se(e.processor)?e.processor:null,S=Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,p=Ve(e.messageCompiler)?e.messageCompiler:Rc,v=Ve(e.messageResolver)?e.messageResolver:Oc||ob,C=Ve(e.localeFallbacker)?e.localeFallbacker:Dc||yb,A=Ne(e.fallbackContext)?e.fallbackContext:void 0,N=e,M=Ne(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,V=Ne(N.__numberFormatters)?N.__numberFormatters:new Map,G=Ne(N.__meta)?N.__meta:{};Uc++;const U={version:o,cid:Uc,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:k,fallbackFormat:f,unresolving:y,postTranslation:m,processor:x,warnHtmlMessage:S,escapeParameter:b,messageCompiler:p,messageResolver:v,localeFallbacker:C,fallbackContext:A,onWarn:t,__meta:G};return U.datetimeFormats=i,U.numberFormats=l,U.__datetimeFormatters=M,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&gb(U,o,G),U}const us=e=>({[e]:Ge()});function ds(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return pe(i)?i:t}else return t}function Xn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Tb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Eb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nPb(o,e)}function Pb(e,t){const o=Hm(t);if(o==null)throw qn(0);if(is(o)===1){const r=zm(o);return e.plural(r.reduce((s,i)=>[...s,Kc(e,i)],[]))}else return Kc(e,o)}function Kc(e,t){const o=Vm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Wm(t).reduce((a,r)=>[...a,gs(e,r)],[]);return e.normalize(n)}}function gs(e,t){const o=is(t);switch(o){case 3:return er(t,o);case 9:return er(t,o);case 4:{const n=t;if(zt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(zt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw qn(o)}case 5:{const n=t;if(zt(n,"i")&&it(n.i))return e.interpolate(e.list(n.i));if(zt(n,"index")&&it(n.index))return e.interpolate(e.list(n.index));throw qn(o)}case 6:{const n=t,a=Ym(n),r=Jm(n);return e.linked(gs(e,r),a?gs(e,a):void 0,e.type)}case 7:return er(t,o);case 8:return er(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Hc=e=>e;let mn=Ge();function zc(e,t={}){let o=!1;const n=t.onError||_m;return t.onError=a=>{o=!0,n(a)},{...Um(e,t),detectError:o}}const Mb=(e,t)=>{if(!pe(e))throw so(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Hc)(e),a=mn[n];if(a)return a;const{code:r,detectError:s}=zc(e,t),i=new Function(`return ${r}`)();return s?i:mn[n]=i}};function Nb(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&pe(e)){Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Hc)(e),a=mn[n];if(a)return a;const{ast:r,detectError:s}=zc(e,{...t,location:!1,jit:!0}),i=ps(r);return s?i:mn[n]=i}else{const o=e.cacheKey;if(o){const n=mn[o];return n||(mn[o]=ps(e))}else return ps(e)}}const Vc=()=>"",jt=e=>Ve(e);function Wc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=fs(...t),u=Te(c.missingWarn)?c.missingWarn:e.missingWarn,d=Te(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=Te(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,f=pe(c.default)||Te(c.default)?Te(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",y=o||f!=="",m=ls(e,c);h&&Ib(c);let[x,S,b]=k?[l,m,i[m]||Ge()]:Yc(e,l,m,s,d,u),p=x,v=l;if(!k&&!(pe(p)||ro(p)||jt(p))&&y&&(p=f,v=p),!k&&(!(pe(p)||ro(p)||jt(p))||!pe(S)))return a?tr:l;let C=!1;const A=()=>{C=!0},N=jt(p)?p:Jc(e,l,S,p,v,A);if(C)return p;const M=Ob(e,S,b,c),V=db(M),G=Rb(e,N,V);let U=n?n(G,l):G;if(h&&pe(U)&&(U=lm(U)),__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:pe(l)?l:jt(p)?p.key:"",locale:S||(jt(p)?p.locale:""),format:pe(p)?p:jt(p)?p.source:"",message:U};re.meta=vt({},e.__meta,$b()||{}),fb(re)}return U}function Ib(e){qe(e.list)?e.list=e.list.map(t=>pe(t)?ic(t):t):Ne(e.named)&&Object.keys(e.named).forEach(t=>{pe(e.named[t])&&(e.named[t]=ic(e.named[t]))})}function Yc(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=Ge(),h,k=null;const f="translate";for(let y=0;yn;return c.locale=o,c.key=t,c}const l=s(n,Fb(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function Rb(e,t,o){return t(o)}function fs(...e){const[t,o,n]=e,a=Ge();if(!pe(t)&&!it(t)&&!jt(t)&&!ro(t))throw so(Wt.INVALID_ARGUMENT);const r=it(t)?String(t):(jt(t),t);return it(o)?a.plural=o:pe(o)?a.default=o:Se(o)&&!Ja(o)?a.named=o:qe(o)&&(a.list=o),it(n)?a.plural=n:pe(n)?a.default=n:Se(n)&&vt(a,n),[r,a]}function Fb(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>am(t,o,s)}}function Ob(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:a,pluralRules:r,messages:k=>{let f=s(o,k);if(f==null&&u){const[,,y]=Yc(u,k,t,i,l,c);f=s(y,k)}if(pe(f)||ro(f)){let y=!1;const x=Jc(e,k,t,f,k,()=>{y=!0});return y?Vc:x}else return jt(f)?f:Vc}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),it(n.plural)&&(h.pluralIndex=n.plural),h}function qc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=hs(...t),h=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,f=ls(e,u),y=s(e,a,f);if(!pe(l)||l==="")return new Intl.DateTimeFormat(f,d).format(c);let m={},x,S=null;const b="datetime format";for(let C=0;C{Zc.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Se(n)&&(s=n),Se(a)&&(s=a),[r.key||"",i,r,s]}function Xc(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function Qc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,d]=ms(...t),h=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,f=ls(e,u),y=s(e,a,f);if(!pe(l)||l==="")return new Intl.NumberFormat(f,d).format(c);let m={},x,S=null;const b="number format";for(let C=0;C{eu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Se(n)&&(s=n),Se(a)&&(s=a),[r.key||"",i,r,s]}function tu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}Km();/*! + */function Km(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(vo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(vo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(vo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ro(e){return Ne(e)&&is(e)===0&&(zt(e,"b")||zt(e,"body"))}const yc=["b","body"];function Hm(e){return Io(e,yc)}const _c=["c","cases"];function zm(e){return Io(e,_c,[])}const vc=["s","static"];function Vm(e){return Io(e,vc)}const kc=["i","items"];function Wm(e){return Io(e,kc,[])}const wc=["t","type"];function is(e){return Io(e,wc)}const xc=["v","value"];function er(e,t){const o=Io(e,xc);if(o!=null)return o;throw qn(t)}const Sc=["m","modifier"];function Ym(e){return Io(e,Sc)}const Ac=["k","key"];function Jm(e){const t=Io(e,Ac);if(t)return t;throw qn(6)}function Io(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](),a++},f[3]=()=>{if(a>0)a--,n=4,f[0]();else{if(a=0,s===void 0||(s=eb(s),s===!1))return!1;f[1]()}};function k(){const m=e[o+1];if(n===5&&m==="'"||n===6&&m==='"')return o++,i="\\"+m,f[0](),!0}for(;n!==null;)if(o++,r=e[o],!(r==="\\"&&k())){if(l=Qm(r),d=Ro[n],c=d[l]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(i=r,u()===!1))))return;if(n===7)return t}}const Lc=new Map;function ob(e,t){return Ne(e)?e[t]:null}function nb(e,t){if(!Ne(e))return null;let o=Lc.get(t);if(o||(o=tb(t),o&&Lc.set(t,o)),!o)return null;const n=o.length;let a=e,r=0;for(;re,rb=e=>"",sb="text",ib=e=>e.length===0?"":pm(e),lb=dm;function Cc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cb(e){const t=it(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(it(e.named.count)||it(e.named.n))?it(e.named.count)?e.named.count:it(e.named.n)?e.named.n:t:t}function ub(e,t){t.count||(t.count=e),t.n||(t.n=e)}function db(e={}){const t=e.locale,o=cb(e),n=Ne(e.pluralRules)&&pe(t)&&Ve(e.pluralRules[t])?e.pluralRules[t]:Cc,a=Ne(e.pluralRules)&&pe(t)&&Ve(e.pluralRules[t])?Cc:void 0,r=x=>x[n(o,x.length,a)],s=e.list||[],i=x=>s[x],l=e.named||Ge();it(e.pluralIndex)&&ub(o,l);const c=x=>l[x];function u(x){const S=Ve(e.messages)?e.messages(x):Ne(e.messages)?e.messages[x]:!1;return S||(e.parent?e.parent.message(x):rb)}const d=x=>e.modifiers?e.modifiers[x]:ab,f=Se(e.processor)&&Ve(e.processor.normalize)?e.processor.normalize:ib,k=Se(e.processor)&&Ve(e.processor.interpolate)?e.processor.interpolate:lb,m=Se(e.processor)&&pe(e.processor.type)?e.processor.type:sb,h={list:i,named:c,plural:r,linked:(x,...S)=>{const[b,p]=S;let v="text",C="";S.length===1?Ne(b)?(C=b.modifier||C,v=b.type||v):pe(b)&&(C=b||C):S.length===2&&(pe(b)&&(C=b||C),pe(p)&&(v=p||v));const A=u(x)(h),N=v==="vnode"&&qe(A)&&C?A[0]:A;return C?d(C)(N,v):N},message:u,type:m,interpolate:k,normalize:f,values:vt(Ge(),s,l)};return h}let Zn=null;function pb(e){Zn=e}function gb(e,t,o){Zn&&Zn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:o})}const fb=hb("function:translate");function hb(e){return t=>Zn&&Zn.emit(e,t)}const mb=rs.__EXTEND_POINT__,Vo=qa(mb),bb={FALLBACK_TO_TRANSLATE:Vo(),CANNOT_FORMAT_NUMBER:Vo(),FALLBACK_TO_NUMBER_FORMAT:Vo(),CANNOT_FORMAT_DATE:Vo(),FALLBACK_TO_DATE_FORMAT:Vo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Vo(),__EXTEND_POINT__:Vo()},Tc=ve.__EXTEND_POINT__,Wo=qa(Tc),Wt={INVALID_ARGUMENT:Tc,INVALID_DATE_ARGUMENT:Wo(),INVALID_ISO_DATE_ARGUMENT:Wo(),NOT_SUPPORT_NON_STRING_MESSAGE:Wo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Wo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Wo(),NOT_SUPPORT_LOCALE_TYPE:Wo(),__EXTEND_POINT__:Wo()};function so(e){return pn(e,null,void 0)}function ls(e,t){return t.locale!=null?Ec(t.locale):Ec(e.locale)}let cs;function Ec(e){if(pe(e))return e;if(Ve(e)){if(e.resolvedOnce&&cs!=null)return cs;if(e.constructor.name==="Function"){const t=e();if(um(t))throw so(Wt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return cs=t}else throw so(Wt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw so(Wt.NOT_SUPPORT_LOCALE_TYPE)}function yb(e,t,o){return[...new Set([o,...qe(t)?t:Ne(t)?Object.keys(t):pe(t)?[t]:[o]])]}function Pc(e,t,o){const n=pe(o)?o:hn,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let s=[o];for(;qe(s);)s=Mc(r,s,t);const i=qe(t)||!Se(t)?t:t.default?t.default:null;s=pe(i)?[i]:i,qe(s)&&Mc(r,s,!1),a.__localeChainCache.set(n,r)}return r}function Mc(e,t,o){let n=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wb(){return{upper:(e,t)=>t==="text"&&pe(e)?e.toUpperCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&pe(e)?e.toLowerCase():t==="vnode"&&Ne(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&pe(e)?Ic(e):t==="vnode"&&Ne(e)&&"__v_isVNode"in e?Ic(e.children):e}}let Rc;function Fc(e){Rc=e}let Oc;function xb(e){Oc=e}let Dc;function Sb(e){Dc=e}let Bc=null;const Ab=e=>{Bc=e},$b=()=>Bc;let jc=null;const Gc=e=>{jc=e},Lb=()=>jc;let Uc=0;function Cb(e={}){const t=Ve(e.onWarn)?e.onWarn:nm,o=pe(e.version)?e.version:kb,n=pe(e.locale)||Ve(e.locale)?e.locale:hn,a=Ve(n)?hn:n,r=qe(e.fallbackLocale)||Se(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=Se(e.messages)?e.messages:us(a),i=Se(e.datetimeFormats)?e.datetimeFormats:us(a),l=Se(e.numberFormats)?e.numberFormats:us(a),c=vt(Ge(),e.modifiers,wb()),u=e.pluralRules||Ge(),d=Ve(e.missing)?e.missing:null,f=Te(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,k=Te(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,_=!!e.unresolving,h=Ve(e.postTranslation)?e.postTranslation:null,x=Se(e.processor)?e.processor:null,S=Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,p=Ve(e.messageCompiler)?e.messageCompiler:Rc,v=Ve(e.messageResolver)?e.messageResolver:Oc||ob,C=Ve(e.localeFallbacker)?e.localeFallbacker:Dc||yb,A=Ne(e.fallbackContext)?e.fallbackContext:void 0,N=e,M=Ne(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,V=Ne(N.__numberFormatters)?N.__numberFormatters:new Map,G=Ne(N.__meta)?N.__meta:{};Uc++;const U={version:o,cid:Uc,locale:n,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:k,fallbackFormat:m,unresolving:_,postTranslation:h,processor:x,warnHtmlMessage:S,escapeParameter:b,messageCompiler:p,messageResolver:v,localeFallbacker:C,fallbackContext:A,onWarn:t,__meta:G};return U.datetimeFormats=i,U.numberFormats=l,U.__datetimeFormatters=M,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&gb(U,o,G),U}const us=e=>({[e]:Ge()});function ds(e,t,o,n,a){const{missing:r,onWarn:s}=e;if(r!==null){const i=r(e,o,t,a);return pe(i)?i:t}else return t}function Xn(e,t,o){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}function Tb(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Eb(e,t){const o=t.indexOf(e);if(o===-1)return!1;for(let n=o+1;nPb(o,e)}function Pb(e,t){const o=Hm(t);if(o==null)throw qn(0);if(is(o)===1){const r=zm(o);return e.plural(r.reduce((s,i)=>[...s,Kc(e,i)],[]))}else return Kc(e,o)}function Kc(e,t){const o=Vm(t);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const n=Wm(t).reduce((a,r)=>[...a,gs(e,r)],[]);return e.normalize(n)}}function gs(e,t){const o=is(t);switch(o){case 3:return er(t,o);case 9:return er(t,o);case 4:{const n=t;if(zt(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(zt(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw qn(o)}case 5:{const n=t;if(zt(n,"i")&&it(n.i))return e.interpolate(e.list(n.i));if(zt(n,"index")&&it(n.index))return e.interpolate(e.list(n.index));throw qn(o)}case 6:{const n=t,a=Ym(n),r=Jm(n);return e.linked(gs(e,r),a?gs(e,a):void 0,e.type)}case 7:return er(t,o);case 8:return er(t,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Hc=e=>e;let mn=Ge();function zc(e,t={}){let o=!1;const n=t.onError||_m;return t.onError=a=>{o=!0,n(a)},{...Um(e,t),detectError:o}}const Mb=(e,t)=>{if(!pe(e))throw so(Wt.NOT_SUPPORT_NON_STRING_MESSAGE);{Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Hc)(e),a=mn[n];if(a)return a;const{code:r,detectError:s}=zc(e,t),i=new Function(`return ${r}`)();return s?i:mn[n]=i}};function Nb(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&pe(e)){Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Hc)(e),a=mn[n];if(a)return a;const{ast:r,detectError:s}=zc(e,{...t,location:!1,jit:!0}),i=ps(r);return s?i:mn[n]=i}else{const o=e.cacheKey;if(o){const n=mn[o];return n||(mn[o]=ps(e))}else return ps(e)}}const Vc=()=>"",jt=e=>Ve(e);function Wc(e,...t){const{fallbackFormat:o,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:s,messages:i}=e,[l,c]=fs(...t),u=Te(c.missingWarn)?c.missingWarn:e.missingWarn,d=Te(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Te(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,m=pe(c.default)||Te(c.default)?Te(c.default)?r?l:()=>l:c.default:o?r?l:()=>l:"",_=o||m!=="",h=ls(e,c);f&&Ib(c);let[x,S,b]=k?[l,h,i[h]||Ge()]:Yc(e,l,h,s,d,u),p=x,v=l;if(!k&&!(pe(p)||ro(p)||jt(p))&&_&&(p=m,v=p),!k&&(!(pe(p)||ro(p)||jt(p))||!pe(S)))return a?tr:l;let C=!1;const A=()=>{C=!0},N=jt(p)?p:Jc(e,l,S,p,v,A);if(C)return p;const M=Ob(e,S,b,c),V=db(M),G=Rb(e,N,V);let U=n?n(G,l):G;if(f&&pe(U)&&(U=lm(U)),__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:pe(l)?l:jt(p)?p.key:"",locale:S||(jt(p)?p.locale:""),format:pe(p)?p:jt(p)?p.source:"",message:U};re.meta=vt({},e.__meta,$b()||{}),fb(re)}return U}function Ib(e){qe(e.list)?e.list=e.list.map(t=>pe(t)?ic(t):t):Ne(e.named)&&Object.keys(e.named).forEach(t=>{pe(e.named[t])&&(e.named[t]=ic(e.named[t]))})}function Yc(e,t,o,n,a,r){const{messages:s,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,o);let d=Ge(),f,k=null;const m="translate";for(let _=0;_n;return c.locale=o,c.key=t,c}const l=s(n,Fb(e,o,a,n,i,r));return l.locale=o,l.key=t,l.source=n,l}function Rb(e,t,o){return t(o)}function fs(...e){const[t,o,n]=e,a=Ge();if(!pe(t)&&!it(t)&&!jt(t)&&!ro(t))throw so(Wt.INVALID_ARGUMENT);const r=it(t)?String(t):(jt(t),t);return it(o)?a.plural=o:pe(o)?a.default=o:Se(o)&&!Ja(o)?a.named=o:qe(o)&&(a.list=o),it(n)?a.plural=n:pe(n)?a.default=n:Se(n)&&vt(a,n),[r,a]}function Fb(e,t,o,n,a,r){return{locale:t,key:o,warnHtmlMessage:a,onError:s=>{throw r&&r(s),s},onCacheKey:s=>am(t,o,s)}}function Ob(e,t,o,n){const{modifiers:a,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:a,pluralRules:r,messages:k=>{let m=s(o,k);if(m==null&&u){const[,,_]=Yc(u,k,t,i,l,c);m=s(_,k)}if(pe(m)||ro(m)){let _=!1;const x=Jc(e,k,t,m,k,()=>{_=!0});return _?Vc:x}else return jt(m)?m:Vc}};return e.processor&&(f.processor=e.processor),n.list&&(f.list=n.list),n.named&&(f.named=n.named),it(n.plural)&&(f.pluralIndex=n.plural),f}function qc(e,...t){const{datetimeFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=hs(...t),f=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,m=ls(e,u),_=s(e,a,m);if(!pe(l)||l==="")return new Intl.DateTimeFormat(m,d).format(c);let h={},x,S=null;const b="datetime format";for(let C=0;C<_.length&&(x=_[C],h=o[x]||{},S=h[l],!Se(S));C++)ds(e,l,x,f,b);if(!Se(S)||!pe(x))return n?tr:l;let p=`${x}__${l}`;Ja(d)||(p=`${p}__${JSON.stringify(d)}`);let v=i.get(p);return v||(v=new Intl.DateTimeFormat(x,vt({},S,d)),i.set(p,v)),k?v.formatToParts(c):v.format(c)}const Zc=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function hs(...e){const[t,o,n,a]=e,r=Ge();let s=Ge(),i;if(pe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw so(Wt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw so(Wt.INVALID_ISO_DATE_ARGUMENT)}}else if(sm(t)){if(isNaN(t.getTime()))throw so(Wt.INVALID_DATE_ARGUMENT);i=t}else if(it(t))i=t;else throw so(Wt.INVALID_ARGUMENT);return pe(o)?r.key=o:Se(o)&&Object.keys(o).forEach(l=>{Zc.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Se(n)&&(s=n),Se(a)&&(s=a),[r.key||"",i,r,s]}function Xc(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function Qc(e,...t){const{numberFormats:o,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[l,c,u,d]=ms(...t),f=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,m=ls(e,u),_=s(e,a,m);if(!pe(l)||l==="")return new Intl.NumberFormat(m,d).format(c);let h={},x,S=null;const b="number format";for(let C=0;C<_.length&&(x=_[C],h=o[x]||{},S=h[l],!Se(S));C++)ds(e,l,x,f,b);if(!Se(S)||!pe(x))return n?tr:l;let p=`${x}__${l}`;Ja(d)||(p=`${p}__${JSON.stringify(d)}`);let v=i.get(p);return v||(v=new Intl.NumberFormat(x,vt({},S,d)),i.set(p,v)),k?v.formatToParts(c):v.format(c)}const eu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ms(...e){const[t,o,n,a]=e,r=Ge();let s=Ge();if(!it(t))throw so(Wt.INVALID_ARGUMENT);const i=t;return pe(o)?r.key=o:Se(o)&&Object.keys(o).forEach(l=>{eu.includes(l)?s[l]=o[l]:r[l]=o[l]}),pe(n)?r.locale=n:Se(n)&&(s=n),Se(a)&&(s=a),[r.key||"",i,r,s]}function tu(e,t,o){const n=e;for(const a in o){const r=`${t}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}Km();/*! * vue-i18n v9.14.5 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const Db="9.14.5";function Bb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(vo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(vo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(vo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(vo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(vo().__INTLIFY_PROD_DEVTOOLS__=!1)}const jb=bb.__EXTEND_POINT__,wo=qa(jb);wo(),wo(),wo(),wo(),wo(),wo(),wo(),wo(),wo();const ou=Wt.__EXTEND_POINT__,Pt=qa(ou),pt={UNEXPECTED_RETURN_TYPE:ou,INVALID_ARGUMENT:Pt(),MUST_BE_CALL_SETUP_TOP:Pt(),NOT_INSTALLED:Pt(),NOT_AVAILABLE_IN_LEGACY_MODE:Pt(),REQUIRED_VALUE:Pt(),INVALID_VALUE:Pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pt(),NOT_INSTALLED_WITH_PROVIDE:Pt(),UNEXPECTED_ERROR:Pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pt(),BRIDGE_SUPPORT_VUE_2_ONLY:Pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pt(),__EXTEND_POINT__:Pt()};function mt(e,...t){return pn(e,null,void 0)}const bs=Po("__translateVNode"),ys=Po("__datetimeParts"),_s=Po("__numberParts"),nu=Po("__setPluralRules"),au=Po("__injectWithOption"),vs=Po("__dispose");function Qn(e){if(!Ne(e)||ro(e))return e;for(const t in e)if(zt(e,t))if(!t.includes("."))Ne(e[t])&&Qn(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!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(),Xa(c,s[l])):Xa(c,s)}else pe(i)&&Xa(JSON.parse(i),s)}),a==null&&r)for(const i in s)zt(s,i)&&Qn(s[i]);return s}function ru(e){return e.type}function su(e,t,o){let n=Ne(t.messages)?t.messages:Ge();"__i18nGlobal"in o&&(n=or(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Ne(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ne(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function iu(e){return je(Un,null,e,0)}const lu="__INTLIFY_META__",cu=()=>[],Gb=()=>!1;let uu=0;function du(e){return(t,o,n,a)=>e(o,n,yo()||void 0,a)}const Ub=()=>{const e=yo();let t=null;return e&&(t=ru(e)[lu])?{[lu]:t}:null};function ks(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=Ya?ue:Nn,i=!!e.translateExistCompatible;let l=Te(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:pe(e.locale)?e.locale:hn),u=s(o&&l?o.fallbackLocale.value:pe(e.fallbackLocale)||qe(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=s(or(c.value,e)),h=s(Se(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=s(Se(e.numberFormats)?e.numberFormats:{[c.value]:{}});let f=o?o.missingWarn:Te(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,y=o?o.fallbackWarn:Te(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,m=o?o.fallbackRoot:Te(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,S=Ve(e.missing)?e.missing:null,b=Ve(e.missing)?du(e.missing):null,p=Ve(e.postTranslation)?e.postTranslation:null,v=o?o.warnHtmlMessage:Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const A=o?o.modifiers:Se(e.modifiers)?e.modifiers:{};let N=e.pluralRules||o&&o.pluralRules,M;M=(()=>{a&&Gc(null);const F={version:Db,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:A,pluralRules:N,missing:b===null?void 0:b,missingWarn:f,fallbackWarn:y,fallbackFormat:x,unresolving:!0,postTranslation:p===null?void 0:p,warnHtmlMessage:v,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};F.datetimeFormats=h.value,F.numberFormats=k.value,F.__datetimeFormatters=Se(M)?M.__datetimeFormatters:void 0,F.__numberFormatters=Se(M)?M.__numberFormatters:void 0;const w=Cb(F);return a&&Gc(w),w})(),Xn(M,c.value,u.value);function G(){return[c.value,u.value,d.value,h.value,k.value]}const U=X({get:()=>c.value,set:F=>{c.value=F,M.locale=c.value}}),re=X({get:()=>u.value,set:F=>{u.value=F,M.fallbackLocale=u.value,Xn(M,c.value,F)}}),B=X(()=>d.value),H=X(()=>h.value),L=X(()=>k.value);function K(){return Ve(p)?p:null}function se(F){p=F,M.postTranslation=F}function ye(){return S}function ne(F){F!==null&&(b=du(F)),S=F,M.missing=b}const te=(F,w,I,oe,de,ge)=>{G();let Ae;try{__INTLIFY_PROD_DEVTOOLS__,a||(M.fallbackContext=o?Lb():void 0),Ae=F(M)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(M.fallbackContext=void 0)}if(I!=="translate exists"&&it(Ae)&&Ae===tr||I==="translate exists"&&!Ae){const[we,ft]=w();return o&&m?oe(o):de(we)}else{if(ge(Ae))return Ae;throw mt(pt.UNEXPECTED_RETURN_TYPE)}};function fe(...F){return te(w=>Reflect.apply(Wc,null,[w,...F]),()=>fs(...F),"translate",w=>Reflect.apply(w.t,w,[...F]),w=>w,w=>pe(w))}function Me(...F){const[w,I,oe]=F;if(oe&&!Ne(oe))throw mt(pt.INVALID_ARGUMENT);return fe(w,I,vt({resolvedMessage:!0},oe||{}))}function We(...F){return te(w=>Reflect.apply(qc,null,[w,...F]),()=>hs(...F),"datetime format",w=>Reflect.apply(w.d,w,[...F]),()=>Nc,w=>pe(w))}function Ze(...F){return te(w=>Reflect.apply(Qc,null,[w,...F]),()=>ms(...F),"number format",w=>Reflect.apply(w.n,w,[...F]),()=>Nc,w=>pe(w))}function Xe(F){return F.map(w=>pe(w)||it(w)||Te(w)?iu(String(w)):w)}const Qe={normalize:Xe,interpolate:F=>F,type:"vnode"};function gt(...F){return te(w=>{let I;const oe=w;try{oe.processor=Qe,I=Reflect.apply(Wc,null,[oe,...F])}finally{oe.processor=null}return I},()=>fs(...F),"translate",w=>w[bs](...F),w=>[iu(w)],w=>qe(w))}function et(...F){return te(w=>Reflect.apply(Qc,null,[w,...F]),()=>ms(...F),"number format",w=>w[_s](...F),cu,w=>pe(w)||qe(w))}function xt(...F){return te(w=>Reflect.apply(qc,null,[w,...F]),()=>hs(...F),"datetime format",w=>w[ys](...F),cu,w=>pe(w)||qe(w))}function $(F){N=F,M.pluralRules=N}function P(F,w){return te(()=>{if(!F)return!1;const I=pe(w)?w:c.value,oe=W(I),de=M.messageResolver(oe,F);return i?de!=null:ro(de)||jt(de)||pe(de)},()=>[F],"translate exists",I=>Reflect.apply(I.te,I,[F,w]),Gb,I=>Te(I))}function T(F){let w=null;const I=Pc(M,u.value,c.value);for(let oe=0;oe{l&&(c.value=F,M.locale=F,Xn(M,c.value,u.value))}),rt(o.fallbackLocale,F=>{l&&(u.value=F,M.fallbackLocale=F,Xn(M,c.value,u.value))}));const ae={id:uu,locale:U,fallbackLocale:re,get inheritLocale(){return l},set inheritLocale(F){l=F,F&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Xn(M,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:B,get modifiers(){return A},get pluralRules(){return N||{}},get isGlobal(){return a},get missingWarn(){return f},set missingWarn(F){f=F,M.missingWarn=f},get fallbackWarn(){return y},set fallbackWarn(F){y=F,M.fallbackWarn=y},get fallbackRoot(){return m},set fallbackRoot(F){m=F},get fallbackFormat(){return x},set fallbackFormat(F){x=F,M.fallbackFormat=x},get warnHtmlMessage(){return v},set warnHtmlMessage(F){v=F,M.warnHtmlMessage=F},get escapeParameter(){return C},set escapeParameter(F){C=F,M.escapeParameter=F},t:fe,getLocaleMessage:W,setLocaleMessage:q,mergeLocaleMessage:Z,getPostTranslationHandler:K,setPostTranslationHandler:se,getMissingHandler:ye,setMissingHandler:ne,[nu]:$};return ae.datetimeFormats=H,ae.numberFormats=L,ae.rt=Me,ae.te=P,ae.tm=O,ae.d=We,ae.n=Ze,ae.getDateTimeFormat=Y,ae.setDateTimeFormat=g,ae.mergeDateTimeFormat=_,ae.getNumberFormat=R,ae.setNumberFormat=j,ae.mergeNumberFormat=ie,ae[au]=n,ae[bs]=gt,ae[ys]=xt,ae[_s]=et,ae}function Kb(e){const t=pe(e.locale)?e.locale:hn,o=pe(e.fallbackLocale)||qe(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ve(e.missing)?e.missing:void 0,a=Te(e.silentTranslationWarn)||Mo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Te(e.silentFallbackWarn)||Mo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Te(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ve(e.postTranslation)?e.postTranslation:void 0,d=pe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,k=Te(e.sync)?e.sync:!0;let f=e.messages;if(Se(e.sharedMessages)){const C=e.sharedMessages;f=Object.keys(C).reduce((N,M)=>{const V=N[M]||(N[M]={});return vt(V,C[M]),N},f||{})}const{__i18n:y,__root:m,__injectWithOption:x}=e,S=e.datetimeFormats,b=e.numberFormats,p=e.flatJson,v=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:f,flatJson:p,datetimeFormats:S,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:v,__i18n:y,__root:m,__injectWithOption:x}}function ws(e={},t){{const o=ks(Kb(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Te(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Te(r)?!r:r},get silentFallbackWarn(){return Te(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Te(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,d=null;if(!pe(s))throw mt(pt.INVALID_ARGUMENT);const h=s;return pe(i)?c.locale=i:qe(i)?u=i:Se(i)&&(d=i),qe(l)?u=l:Se(l)&&(d=l),Reflect.apply(o.t,o,[h,u||d||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,d=null;if(!pe(s))throw mt(pt.INVALID_ARGUMENT);const h=s;return pe(i)?c.locale=i:it(i)?c.plural=i:qe(i)?u=i:Se(i)&&(d=i),pe(l)?c.locale=l:qe(l)?u=l:Se(l)&&(d=l),Reflect.apply(o.t,o,[h,u||d||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const xs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hb({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ce?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ge())}function pu(e){return Ce}const gu=Dn({name:"i18n-t",props:vt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>it(e)||!isNaN(e)}},xs),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||kt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(d=>d!=="_"),s=Ge();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=pe(e.plural)?+e.plural:e.plural);const i=Hb(t,r),l=a[bs](e.keypath,i,s),c=vt(Ge(),n),u=pe(e.tag)||Ne(e.tag)?e.tag:pu();return Ol(u,c,l)}}});function zb(e){return qe(e)&&!pe(e[0])}function fu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ge();e.locale&&(s.locale=e.locale),pe(e.format)?s.key=e.format:Ne(e.format)&&(pe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((h,k)=>o.includes(k)?vt(Ge(),h,{[k]:e.format[k]}):h,Ge()));const l=n(e.value,s,i);let c=[s.key];qe(l)?c=l.map((h,k)=>{const f=a[h.type],y=f?f({[h.type]:h.value,index:k,parts:l}):[h.value];return zb(y)&&(y[0].key=`${h.type}-${k}`),y}):pe(l)&&(c=[l]);const u=vt(Ge(),r),d=pe(e.tag)||Ne(e.tag)?e.tag:pu();return Ol(d,u,c)}}const hu=Dn({name:"i18n-n",props:vt({value:{type:Number,required:!0},format:{type:[String,Object]}},xs),setup(e,t){const o=e.i18n||kt({useScope:e.scope,__useComponent:!0});return fu(e,t,eu,(...n)=>o[_s](...n))}}),mu=Dn({name:"i18n-d",props:vt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xs),setup(e,t){const o=e.i18n||kt({useScope:e.scope,__useComponent:!0});return fu(e,t,Zc,(...n)=>o[ys](...n))}});function Vb(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 Wb(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw mt(pt.UNEXPECTED_ERROR);const u=Vb(e,i.$),d=bu(c);return[Reflect.apply(u.t,u,[...yu(d)]),u]};return{created:(s,i)=>{const[l,c]=t(i);Ya&&e.global===c&&(s.__i18nWatcher=rt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ya&&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=bu(i);s.textContent=Reflect.apply(l.t,l,[...yu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function bu(e){if(pe(e))return{path:e};if(Se(e)){if(!("path"in e))throw mt(pt.REQUIRED_VALUE,"path");return e}else throw mt(pt.INVALID_VALUE)}function yu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return pe(o)&&(s.locale=o),it(a)&&(s.plural=a),it(r)&&(s.plural=r),[t,i,s]}function Yb(e,t,...o){const n=Se(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Te(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":gu.name,"I18nT"].forEach(s=>e.component(s,gu)),[hu.name,"I18nN"].forEach(s=>e.component(s,hu)),[mu.name,"I18nD"].forEach(s=>e.component(s,mu))),e.directive("t",Wb(t))}function Jb(e,t,o){return{beforeCreate(){const n=yo();if(!n)throw mt(pt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=_u(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=ws(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=_u(e,a);else{this.$i18n=ws({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&su(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=yo();if(!n)throw mt(pt.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),o.__deleteInstance(n),delete this.$i18n}}}function _u(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[nu](t.pluralizationRules||e.pluralizationRules);const o=or(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 qb=Po("global-vue-i18n");function Zb(e={},t){const o=__VUE_I18N_LEGACY_API__&&Te(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Te(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=Xb(e,o),l=Po("");function c(h){return r.get(h)||null}function u(h,k){r.set(h,k)}function d(h){r.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...f){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,h),Se(f[0])){const x=f[0];h.__composerExtend=x.__composerExtend,h.__vueI18nExtend=x.__vueI18nExtend}let y=null;!o&&n&&(y=iy(k,h.global)),__VUE_I18N_FULL_INSTALL__&&Yb(k,h,...f),__VUE_I18N_LEGACY_API__&&o&&k.mixin(Jb(i,i.__composer,h));const m=k.unmount;k.unmount=()=>{y&&y(),h.dispose(),m()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:d};return h}}function kt(e={}){const t=yo();if(t==null)throw mt(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw mt(pt.NOT_INSTALLED);const o=Qb(t),n=ty(o),a=ru(t),r=ey(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw mt(pt.NOT_AVAILABLE_IN_LEGACY_MODE);return ry(t,r,n,e)}if(r==="global")return su(n,e,a),n;if(r==="parent"){let l=oy(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=vt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ks(l),s.__composerExtend&&(i[vs]=s.__composerExtend(i)),ay(s,t,i),s.__setInstance(t,i)}return i}function Xb(e,t,o){const n=_r();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ws(e)):n.run(()=>ks(e));if(a==null)throw mt(pt.UNEXPECTED_ERROR);return[n,a]}}function Qb(e){{const t=Ee(e.isCE?qb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw mt(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function ey(e,t){return Ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ty(e){return e.mode==="composition"?e.global:e.global.__composer}function oy(e,t,o=!1){let n=null;const a=t.root;let r=ny(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[au]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function ny(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ay(e,t,o){to(()=>{},t),Fa(()=>{const n=o;e.__deleteInstance(t);const a=n[vs];a&&(a(),delete n[vs])},t)}function ry(e,t,o,n={}){const a=t==="local",r=Nn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw mt(pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Te(n.inheritLocale)?n.inheritLocale:!pe(n.locale),i=ue(!a||s?o.locale.value:pe(n.locale)?n.locale:hn),l=ue(!a||s?o.fallbackLocale.value:pe(n.fallbackLocale)||qe(n.fallbackLocale)||Se(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ue(or(i.value,n)),u=ue(Se(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=ue(Se(n.numberFormats)?n.numberFormats:{[i.value]:{}}),h=a?o.missingWarn:Te(n.missingWarn)||Mo(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Te(n.fallbackWarn)||Mo(n.fallbackWarn)?n.fallbackWarn:!0,f=a?o.fallbackRoot:Te(n.fallbackRoot)?n.fallbackRoot:!0,y=!!n.fallbackFormat,m=Ve(n.missing)?n.missing:null,x=Ve(n.postTranslation)?n.postTranslation:null,S=a?o.warnHtmlMessage:Te(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,p=a?o.modifiers:Se(n.modifiers)?n.modifiers:{},v=n.pluralRules||a&&o.pluralRules;function C(){return[i.value,l.value,c.value,u.value,d.value]}const A=X({get:()=>r.value?r.value.locale.value:i.value,set:T=>{r.value&&(r.value.locale.value=T),i.value=T}}),N=X({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:T=>{r.value&&(r.value.fallbackLocale.value=T),l.value=T}}),M=X(()=>r.value?r.value.messages.value:c.value),V=X(()=>u.value),G=X(()=>d.value);function U(){return r.value?r.value.getPostTranslationHandler():x}function re(T){r.value&&r.value.setPostTranslationHandler(T)}function B(){return r.value?r.value.getMissingHandler():m}function H(T){r.value&&r.value.setMissingHandler(T)}function L(T){return C(),T()}function K(...T){return r.value?L(()=>Reflect.apply(r.value.t,null,[...T])):L(()=>"")}function se(...T){return r.value?Reflect.apply(r.value.rt,null,[...T]):""}function ye(...T){return r.value?L(()=>Reflect.apply(r.value.d,null,[...T])):L(()=>"")}function ne(...T){return r.value?L(()=>Reflect.apply(r.value.n,null,[...T])):L(()=>"")}function te(T){return r.value?r.value.tm(T):{}}function fe(T,O){return r.value?r.value.te(T,O):!1}function Me(T){return r.value?r.value.getLocaleMessage(T):{}}function We(T,O){r.value&&(r.value.setLocaleMessage(T,O),c.value[T]=O)}function Ze(T,O){r.value&&r.value.mergeLocaleMessage(T,O)}function Xe(T){return r.value?r.value.getDateTimeFormat(T):{}}function ot(T,O){r.value&&(r.value.setDateTimeFormat(T,O),u.value[T]=O)}function Qe(T,O){r.value&&r.value.mergeDateTimeFormat(T,O)}function gt(T){return r.value?r.value.getNumberFormat(T):{}}function et(T,O){r.value&&(r.value.setNumberFormat(T,O),d.value[T]=O)}function xt(T,O){r.value&&r.value.mergeNumberFormat(T,O)}const $={get id(){return r.value?r.value.id:-1},locale:A,fallbackLocale:N,messages:M,datetimeFormats:V,numberFormats:G,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(T){r.value&&(r.value.inheritLocale=T)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:p},get pluralRules(){return r.value?r.value.pluralRules:v},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(T){r.value&&(r.value.missingWarn=T)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(T){r.value&&(r.value.missingWarn=T)},get fallbackRoot(){return r.value?r.value.fallbackRoot:f},set fallbackRoot(T){r.value&&(r.value.fallbackRoot=T)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(T){r.value&&(r.value.fallbackFormat=T)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:S},set warnHtmlMessage(T){r.value&&(r.value.warnHtmlMessage=T)},get escapeParameter(){return r.value?r.value.escapeParameter:b},set escapeParameter(T){r.value&&(r.value.escapeParameter=T)},t:K,getPostTranslationHandler:U,setPostTranslationHandler:re,getMissingHandler:B,setMissingHandler:H,rt:se,d:ye,n:ne,tm:te,te:fe,getLocaleMessage:Me,setLocaleMessage:We,mergeLocaleMessage:Ze,getDateTimeFormat:Xe,setDateTimeFormat:ot,mergeDateTimeFormat:Qe,getNumberFormat:gt,setNumberFormat:et,mergeNumberFormat:xt};function P(T){T.locale.value=i.value,T.fallbackLocale.value=l.value,Object.keys(c.value).forEach(O=>{T.mergeLocaleMessage(O,c.value[O])}),Object.keys(u.value).forEach(O=>{T.mergeDateTimeFormat(O,u.value[O])}),Object.keys(d.value).forEach(O=>{T.mergeNumberFormat(O,d.value[O])}),T.escapeParameter=b,T.fallbackFormat=y,T.fallbackRoot=f,T.fallbackWarn=k,T.missingWarn=h,T.warnHtmlMessage=S}return el(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw mt(pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const T=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=T.locale.value,l.value=T.fallbackLocale.value,c.value=T.messages.value,u.value=T.datetimeFormats.value,d.value=T.numberFormats.value):a&&P(T)}),$}const sy=["locale","fallbackLocale","availableLocales"],vu=["t","rt","d","n","tm","te"];function iy(e,t){const o=Object.create(null);return sy.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw mt(pt.UNEXPECTED_ERROR);const s=Je(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,vu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw mt(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,vu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Bb(),__INTLIFY_JIT_COMPILATION__?Fc(Nb):Fc(Mb),xb(nb),Sb(Pc),__INTLIFY_PROD_DEVTOOLS__){const e=vo();e.__INTLIFY__=!0,pb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ly=Object.assign({"./locales/ar/aria.json":ff,"./locales/ar/buttons.json":hf,"./locales/ar/detail.json":mf,"./locales/ar/legend.json":bf,"./locales/ar/messages.json":yf,"./locales/ar/options.json":_f,"./locales/ar/prayerLaps.json":vf,"./locales/ar/search.json":kf,"./locales/ar/tabs.json":wf,"./locales/de/aria.json":xf,"./locales/de/buttons.json":Sf,"./locales/de/detail.json":Af,"./locales/de/legend.json":$f,"./locales/de/messages.json":Lf,"./locales/de/options.json":Cf,"./locales/de/prayerLaps.json":Tf,"./locales/de/search.json":Ef,"./locales/de/tabs.json":Pf,"./locales/en/aria.json":Mf,"./locales/en/buttons.json":Nf,"./locales/en/detail.json":If,"./locales/en/legend.json":Rf,"./locales/en/messages.json":Ff,"./locales/en/options.json":Of,"./locales/en/popup.json":Df,"./locales/en/prayerLaps.json":Bf,"./locales/en/search.json":jf,"./locales/en/tabs.json":Gf,"./locales/es/aria.json":Uf,"./locales/es/buttons.json":Kf,"./locales/es/detail.json":Hf,"./locales/es/legend.json":zf,"./locales/es/messages.json":Vf,"./locales/es/options.json":Wf,"./locales/es/prayerLaps.json":Yf,"./locales/es/search.json":Jf,"./locales/es/tabs.json":qf,"./locales/fr/aria.json":Zf,"./locales/fr/buttons.json":Xf,"./locales/fr/detail.json":Qf,"./locales/fr/legend.json":eh,"./locales/fr/messages.json":th,"./locales/fr/options.json":oh,"./locales/fr/popup.json":nh,"./locales/fr/prayerLaps.json":ah,"./locales/fr/search.json":rh,"./locales/fr/tabs.json":sh,"./locales/hi/aria.json":ih,"./locales/hi/buttons.json":lh,"./locales/hi/detail.json":ch,"./locales/hi/legend.json":uh,"./locales/hi/messages.json":dh,"./locales/hi/options.json":ph,"./locales/hi/prayerLaps.json":gh,"./locales/hi/search.json":fh,"./locales/it/aria.json":hh,"./locales/it/buttons.json":mh,"./locales/it/detail.json":bh,"./locales/it/legend.json":yh,"./locales/it/messages.json":_h,"./locales/it/options.json":vh,"./locales/it/prayerLaps.json":kh,"./locales/it/search.json":wh,"./locales/pt/aria.json":xh,"./locales/pt/buttons.json":Sh,"./locales/pt/detail.json":Ah,"./locales/pt/legend.json":$h,"./locales/pt/messages.json":Lh,"./locales/pt/options.json":Ch,"./locales/pt/prayerLaps.json":Th,"./locales/pt/search.json":Eh,"./locales/pt/tabs.json":Ph,"./locales/ro/aria.json":Mh,"./locales/ro/buttons.json":Nh,"./locales/ro/detail.json":Ih,"./locales/ro/legend.json":Rh,"./locales/ro/messages.json":Fh,"./locales/ro/options.json":Oh,"./locales/ro/prayerLaps.json":Dh,"./locales/ro/search.json":Bh,"./locales/ru/aria.json":jh,"./locales/ru/buttons.json":Gh,"./locales/ru/detail.json":Uh,"./locales/ru/legend.json":Kh,"./locales/ru/messages.json":Hh,"./locales/ru/options.json":zh,"./locales/ru/prayerLaps.json":Vh,"./locales/ru/search.json":Wh,"./locales/ru/tabs.json":Yh,"./locales/zh/aria.json":Jh,"./locales/zh/buttons.json":qh,"./locales/zh/detail.json":Zh,"./locales/zh/legend.json":Xh,"./locales/zh/messages.json":Qh,"./locales/zh/options.json":em,"./locales/zh/prayerLaps.json":tm,"./locales/zh/search.json":om}),ea={};for(const[e,t]of Object.entries(ly)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;ea[n]??(ea[n]={}),ea[n][a]=t}const ku=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function cy(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return ku.includes(t)?t:"en"}function uy(){return Zb({legacy:!1,globalInjection:!0,locale:cy(),fallbackLocale:"en",messages:ea,missingWarn:!1,fallbackWarn:!1})}function wt(e,t){const o=t||dy(e);to(()=>{var i;const n=yo();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function dy(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=X(()=>{var f;return((f=o==null?void 0:o.value)==null?void 0:f.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),r=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 h(){r.value&&(r.value=!1,d(),l&&(l.removeEventListener("pointerdown",k,!0),l=null),s&&(clearTimeout(s),s=null))}function k(){h()}return to(()=>{var x,S,b;if(u())return;const f=yo(),y=(b=(S=(x=f==null?void 0:f.proxy)==null?void 0:x.$el)==null?void 0:S.getRootNode)==null?void 0:b.call(S);if(!y||typeof y.querySelector!="function")return;let m=0;i=setInterval(()=>{m++,y.querySelector("canvas")?(clearInterval(i),i=null,r.value=!0,l=y,y.addEventListener("pointerdown",k,!0),s=setTimeout(h,14e3)):m>40&&(clearInterval(i),i=null)},300)}),To(()=>{i&&clearInterval(i),s&&clearTimeout(s),l&&l.removeEventListener("pointerdown",k,!0)}),wt(` + */const Db="9.14.5";function Bb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(vo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(vo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(vo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(vo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(vo().__INTLIFY_PROD_DEVTOOLS__=!1)}const jb=bb.__EXTEND_POINT__,wo=qa(jb);wo(),wo(),wo(),wo(),wo(),wo(),wo(),wo(),wo();const ou=Wt.__EXTEND_POINT__,Pt=qa(ou),pt={UNEXPECTED_RETURN_TYPE:ou,INVALID_ARGUMENT:Pt(),MUST_BE_CALL_SETUP_TOP:Pt(),NOT_INSTALLED:Pt(),NOT_AVAILABLE_IN_LEGACY_MODE:Pt(),REQUIRED_VALUE:Pt(),INVALID_VALUE:Pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pt(),NOT_INSTALLED_WITH_PROVIDE:Pt(),UNEXPECTED_ERROR:Pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pt(),BRIDGE_SUPPORT_VUE_2_ONLY:Pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pt(),__EXTEND_POINT__:Pt()};function mt(e,...t){return pn(e,null,void 0)}const bs=Po("__translateVNode"),ys=Po("__datetimeParts"),_s=Po("__numberParts"),nu=Po("__setPluralRules"),au=Po("__injectWithOption"),vs=Po("__dispose");function Qn(e){if(!Ne(e)||ro(e))return e;for(const t in e)if(zt(e,t))if(!t.includes("."))Ne(e[t])&&Qn(e[t]);else{const o=t.split("."),n=o.length-1;let a=e,r=!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(),Xa(c,s[l])):Xa(c,s)}else pe(i)&&Xa(JSON.parse(i),s)}),a==null&&r)for(const i in s)zt(s,i)&&Qn(s[i]);return s}function ru(e){return e.type}function su(e,t,o){let n=Ne(t.messages)?t.messages:Ge();"__i18nGlobal"in o&&(n=or(e.locale.value,{messages:n,__i18n:o.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,n[r])});{if(Ne(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ne(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function iu(e){return je(Un,null,e,0)}const lu="__INTLIFY_META__",cu=()=>[],Gb=()=>!1;let uu=0;function du(e){return(t,o,n,a)=>e(o,n,yo()||void 0,a)}const Ub=()=>{const e=yo();let t=null;return e&&(t=ru(e)[lu])?{[lu]:t}:null};function ks(e={},t){const{__root:o,__injectWithOption:n}=e,a=o===void 0,r=e.flatJson,s=Ya?ue:Nn,i=!!e.translateExistCompatible;let l=Te(e.inheritLocale)?e.inheritLocale:!0;const c=s(o&&l?o.locale.value:pe(e.locale)?e.locale:hn),u=s(o&&l?o.fallbackLocale.value:pe(e.fallbackLocale)||qe(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=s(or(c.value,e)),f=s(Se(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),k=s(Se(e.numberFormats)?e.numberFormats:{[c.value]:{}});let m=o?o.missingWarn:Te(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,_=o?o.fallbackWarn:Te(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,h=o?o.fallbackRoot:Te(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,S=Ve(e.missing)?e.missing:null,b=Ve(e.missing)?du(e.missing):null,p=Ve(e.postTranslation)?e.postTranslation:null,v=o?o.warnHtmlMessage:Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const A=o?o.modifiers:Se(e.modifiers)?e.modifiers:{};let N=e.pluralRules||o&&o.pluralRules,M;M=(()=>{a&&Gc(null);const F={version:Db,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:A,pluralRules:N,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:_,fallbackFormat:x,unresolving:!0,postTranslation:p===null?void 0:p,warnHtmlMessage:v,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};F.datetimeFormats=f.value,F.numberFormats=k.value,F.__datetimeFormatters=Se(M)?M.__datetimeFormatters:void 0,F.__numberFormatters=Se(M)?M.__numberFormatters:void 0;const w=Cb(F);return a&&Gc(w),w})(),Xn(M,c.value,u.value);function G(){return[c.value,u.value,d.value,f.value,k.value]}const U=X({get:()=>c.value,set:F=>{c.value=F,M.locale=c.value}}),re=X({get:()=>u.value,set:F=>{u.value=F,M.fallbackLocale=u.value,Xn(M,c.value,F)}}),B=X(()=>d.value),H=X(()=>f.value),L=X(()=>k.value);function K(){return Ve(p)?p:null}function se(F){p=F,M.postTranslation=F}function ye(){return S}function ne(F){F!==null&&(b=du(F)),S=F,M.missing=b}const te=(F,w,I,oe,de,ge)=>{G();let Ae;try{__INTLIFY_PROD_DEVTOOLS__,a||(M.fallbackContext=o?Lb():void 0),Ae=F(M)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(M.fallbackContext=void 0)}if(I!=="translate exists"&&it(Ae)&&Ae===tr||I==="translate exists"&&!Ae){const[we,ft]=w();return o&&h?oe(o):de(we)}else{if(ge(Ae))return Ae;throw mt(pt.UNEXPECTED_RETURN_TYPE)}};function fe(...F){return te(w=>Reflect.apply(Wc,null,[w,...F]),()=>fs(...F),"translate",w=>Reflect.apply(w.t,w,[...F]),w=>w,w=>pe(w))}function Me(...F){const[w,I,oe]=F;if(oe&&!Ne(oe))throw mt(pt.INVALID_ARGUMENT);return fe(w,I,vt({resolvedMessage:!0},oe||{}))}function We(...F){return te(w=>Reflect.apply(qc,null,[w,...F]),()=>hs(...F),"datetime format",w=>Reflect.apply(w.d,w,[...F]),()=>Nc,w=>pe(w))}function Ze(...F){return te(w=>Reflect.apply(Qc,null,[w,...F]),()=>ms(...F),"number format",w=>Reflect.apply(w.n,w,[...F]),()=>Nc,w=>pe(w))}function Xe(F){return F.map(w=>pe(w)||it(w)||Te(w)?iu(String(w)):w)}const Qe={normalize:Xe,interpolate:F=>F,type:"vnode"};function gt(...F){return te(w=>{let I;const oe=w;try{oe.processor=Qe,I=Reflect.apply(Wc,null,[oe,...F])}finally{oe.processor=null}return I},()=>fs(...F),"translate",w=>w[bs](...F),w=>[iu(w)],w=>qe(w))}function et(...F){return te(w=>Reflect.apply(Qc,null,[w,...F]),()=>ms(...F),"number format",w=>w[_s](...F),cu,w=>pe(w)||qe(w))}function xt(...F){return te(w=>Reflect.apply(qc,null,[w,...F]),()=>hs(...F),"datetime format",w=>w[ys](...F),cu,w=>pe(w)||qe(w))}function $(F){N=F,M.pluralRules=N}function P(F,w){return te(()=>{if(!F)return!1;const I=pe(w)?w:c.value,oe=W(I),de=M.messageResolver(oe,F);return i?de!=null:ro(de)||jt(de)||pe(de)},()=>[F],"translate exists",I=>Reflect.apply(I.te,I,[F,w]),Gb,I=>Te(I))}function T(F){let w=null;const I=Pc(M,u.value,c.value);for(let oe=0;oe{l&&(c.value=F,M.locale=F,Xn(M,c.value,u.value))}),rt(o.fallbackLocale,F=>{l&&(u.value=F,M.fallbackLocale=F,Xn(M,c.value,u.value))}));const ae={id:uu,locale:U,fallbackLocale:re,get inheritLocale(){return l},set inheritLocale(F){l=F,F&&o&&(c.value=o.locale.value,u.value=o.fallbackLocale.value,Xn(M,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:B,get modifiers(){return A},get pluralRules(){return N||{}},get isGlobal(){return a},get missingWarn(){return m},set missingWarn(F){m=F,M.missingWarn=m},get fallbackWarn(){return _},set fallbackWarn(F){_=F,M.fallbackWarn=_},get fallbackRoot(){return h},set fallbackRoot(F){h=F},get fallbackFormat(){return x},set fallbackFormat(F){x=F,M.fallbackFormat=x},get warnHtmlMessage(){return v},set warnHtmlMessage(F){v=F,M.warnHtmlMessage=F},get escapeParameter(){return C},set escapeParameter(F){C=F,M.escapeParameter=F},t:fe,getLocaleMessage:W,setLocaleMessage:q,mergeLocaleMessage:Z,getPostTranslationHandler:K,setPostTranslationHandler:se,getMissingHandler:ye,setMissingHandler:ne,[nu]:$};return ae.datetimeFormats=H,ae.numberFormats=L,ae.rt=Me,ae.te=P,ae.tm=O,ae.d=We,ae.n=Ze,ae.getDateTimeFormat=Y,ae.setDateTimeFormat=g,ae.mergeDateTimeFormat=y,ae.getNumberFormat=R,ae.setNumberFormat=j,ae.mergeNumberFormat=ie,ae[au]=n,ae[bs]=gt,ae[ys]=xt,ae[_s]=et,ae}function Kb(e){const t=pe(e.locale)?e.locale:hn,o=pe(e.fallbackLocale)||qe(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ve(e.missing)?e.missing:void 0,a=Te(e.silentTranslationWarn)||Mo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=Te(e.silentFallbackWarn)||Mo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Te(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ve(e.postTranslation)?e.postTranslation:void 0,d=pe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,k=Te(e.sync)?e.sync:!0;let m=e.messages;if(Se(e.sharedMessages)){const C=e.sharedMessages;m=Object.keys(C).reduce((N,M)=>{const V=N[M]||(N[M]={});return vt(V,C[M]),N},m||{})}const{__i18n:_,__root:h,__injectWithOption:x}=e,S=e.datetimeFormats,b=e.numberFormats,p=e.flatJson,v=e.translateExistCompatible;return{locale:t,fallbackLocale:o,messages:m,flatJson:p,datetimeFormats:S,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:r,fallbackRoot:s,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:k,translateExistCompatible:v,__i18n:_,__root:h,__injectWithOption:x}}function ws(e={},t){{const o=ks(Kb(e)),{__extender:n}=e,a={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Te(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Te(r)?!r:r},get silentFallbackWarn(){return Te(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Te(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,i,l]=r,c={};let u=null,d=null;if(!pe(s))throw mt(pt.INVALID_ARGUMENT);const f=s;return pe(i)?c.locale=i:qe(i)?u=i:Se(i)&&(d=i),qe(l)?u=l:Se(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,i,l]=r,c={plural:1};let u=null,d=null;if(!pe(s))throw mt(pt.INVALID_ARGUMENT);const f=s;return pe(i)?c.locale=i:it(i)?c.plural=i:qe(i)?u=i:Se(i)&&(d=i),pe(l)?c.locale=l:qe(l)?u=l:Se(l)&&(d=l),Reflect.apply(o.t,o,[f,u||d||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return a.__extender=n,a}}const xs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hb({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,a)=>[...n,...a.type===Ce?a.children:[a]],[]):t.reduce((o,n)=>{const a=e[n];return a&&(o[n]=a()),o},Ge())}function pu(e){return Ce}const gu=Dn({name:"i18n-t",props:vt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>it(e)||!isNaN(e)}},xs),setup(e,t){const{slots:o,attrs:n}=t,a=e.i18n||kt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(d=>d!=="_"),s=Ge();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=pe(e.plural)?+e.plural:e.plural);const i=Hb(t,r),l=a[bs](e.keypath,i,s),c=vt(Ge(),n),u=pe(e.tag)||Ne(e.tag)?e.tag:pu();return Ol(u,c,l)}}});function zb(e){return qe(e)&&!pe(e[0])}function fu(e,t,o,n){const{slots:a,attrs:r}=t;return()=>{const s={part:!0};let i=Ge();e.locale&&(s.locale=e.locale),pe(e.format)?s.key=e.format:Ne(e.format)&&(pe(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((f,k)=>o.includes(k)?vt(Ge(),f,{[k]:e.format[k]}):f,Ge()));const l=n(e.value,s,i);let c=[s.key];qe(l)?c=l.map((f,k)=>{const m=a[f.type],_=m?m({[f.type]:f.value,index:k,parts:l}):[f.value];return zb(_)&&(_[0].key=`${f.type}-${k}`),_}):pe(l)&&(c=[l]);const u=vt(Ge(),r),d=pe(e.tag)||Ne(e.tag)?e.tag:pu();return Ol(d,u,c)}}const hu=Dn({name:"i18n-n",props:vt({value:{type:Number,required:!0},format:{type:[String,Object]}},xs),setup(e,t){const o=e.i18n||kt({useScope:e.scope,__useComponent:!0});return fu(e,t,eu,(...n)=>o[_s](...n))}}),mu=Dn({name:"i18n-d",props:vt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xs),setup(e,t){const o=e.i18n||kt({useScope:e.scope,__useComponent:!0});return fu(e,t,Zc,(...n)=>o[ys](...n))}});function Vb(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 Wb(e){const t=s=>{const{instance:i,modifiers:l,value:c}=s;if(!i||!i.$)throw mt(pt.UNEXPECTED_ERROR);const u=Vb(e,i.$),d=bu(c);return[Reflect.apply(u.t,u,[...yu(d)]),u]};return{created:(s,i)=>{const[l,c]=t(i);Ya&&e.global===c&&(s.__i18nWatcher=rt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ya&&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=bu(i);s.textContent=Reflect.apply(l.t,l,[...yu(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function bu(e){if(pe(e))return{path:e};if(Se(e)){if(!("path"in e))throw mt(pt.REQUIRED_VALUE,"path");return e}else throw mt(pt.INVALID_VALUE)}function yu(e){const{path:t,locale:o,args:n,choice:a,plural:r}=e,s={},i=n||{};return pe(o)&&(s.locale=o),it(a)&&(s.plural=a),it(r)&&(s.plural=r),[t,i,s]}function Yb(e,t,...o){const n=Se(o[0])?o[0]:{},a=!!n.useI18nComponentName;(Te(n.globalInstall)?n.globalInstall:!0)&&([a?"i18n":gu.name,"I18nT"].forEach(s=>e.component(s,gu)),[hu.name,"I18nN"].forEach(s=>e.component(s,hu)),[mu.name,"I18nD"].forEach(s=>e.component(s,mu))),e.directive("t",Wb(t))}function Jb(e,t,o){return{beforeCreate(){const n=yo();if(!n)throw mt(pt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=_u(e,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=ws(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=_u(e,a);else{this.$i18n=ws({__i18n:a.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&su(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=yo();if(!n)throw mt(pt.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),o.__deleteInstance(n),delete this.$i18n}}}function _u(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[nu](t.pluralizationRules||e.pluralizationRules);const o=or(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 qb=Po("global-vue-i18n");function Zb(e={},t){const o=__VUE_I18N_LEGACY_API__&&Te(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Te(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&o?!!e.allowComposition:!0,r=new Map,[s,i]=Xb(e,o),l=Po("");function c(f){return r.get(f)||null}function u(f,k){r.set(f,k)}function d(f){r.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return a},async install(k,...m){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,f),Se(m[0])){const x=m[0];f.__composerExtend=x.__composerExtend,f.__vueI18nExtend=x.__vueI18nExtend}let _=null;!o&&n&&(_=iy(k,f.global)),__VUE_I18N_FULL_INSTALL__&&Yb(k,f,...m),__VUE_I18N_LEGACY_API__&&o&&k.mixin(Jb(i,i.__composer,f));const h=k.unmount;k.unmount=()=>{_&&_(),f.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function kt(e={}){const t=yo();if(t==null)throw mt(pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw mt(pt.NOT_INSTALLED);const o=Qb(t),n=ty(o),a=ru(t),r=ey(e,a);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!e.__useComponent){if(!o.allowComposition)throw mt(pt.NOT_AVAILABLE_IN_LEGACY_MODE);return ry(t,r,n,e)}if(r==="global")return su(n,e,a),n;if(r==="parent"){let l=oy(o,t,e.__useComponent);return l==null&&(l=n),l}const s=o;let i=s.__getInstance(t);if(i==null){const l=vt({},e);"__i18n"in a&&(l.__i18n=a.__i18n),n&&(l.__root=n),i=ks(l),s.__composerExtend&&(i[vs]=s.__composerExtend(i)),ay(s,t,i),s.__setInstance(t,i)}return i}function Xb(e,t,o){const n=_r();{const a=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ws(e)):n.run(()=>ks(e));if(a==null)throw mt(pt.UNEXPECTED_ERROR);return[n,a]}}function Qb(e){{const t=Ee(e.isCE?qb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw mt(e.isCE?pt.NOT_INSTALLED_WITH_PROVIDE:pt.UNEXPECTED_ERROR);return t}}function ey(e,t){return Ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ty(e){return e.mode==="composition"?e.global:e.global.__composer}function oy(e,t,o=!1){let n=null;const a=t.root;let r=ny(t,o);for(;r!=null;){const s=e;if(e.mode==="composition")n=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=s.__getInstance(r);i!=null&&(n=i.__composer,o&&n&&!n[au]&&(n=null))}if(n!=null||a===r)break;r=r.parent}return n}function ny(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ay(e,t,o){to(()=>{},t),Fa(()=>{const n=o;e.__deleteInstance(t);const a=n[vs];a&&(a(),delete n[vs])},t)}function ry(e,t,o,n={}){const a=t==="local",r=Nn(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw mt(pt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Te(n.inheritLocale)?n.inheritLocale:!pe(n.locale),i=ue(!a||s?o.locale.value:pe(n.locale)?n.locale:hn),l=ue(!a||s?o.fallbackLocale.value:pe(n.fallbackLocale)||qe(n.fallbackLocale)||Se(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:i.value),c=ue(or(i.value,n)),u=ue(Se(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),d=ue(Se(n.numberFormats)?n.numberFormats:{[i.value]:{}}),f=a?o.missingWarn:Te(n.missingWarn)||Mo(n.missingWarn)?n.missingWarn:!0,k=a?o.fallbackWarn:Te(n.fallbackWarn)||Mo(n.fallbackWarn)?n.fallbackWarn:!0,m=a?o.fallbackRoot:Te(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,h=Ve(n.missing)?n.missing:null,x=Ve(n.postTranslation)?n.postTranslation:null,S=a?o.warnHtmlMessage:Te(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,p=a?o.modifiers:Se(n.modifiers)?n.modifiers:{},v=n.pluralRules||a&&o.pluralRules;function C(){return[i.value,l.value,c.value,u.value,d.value]}const A=X({get:()=>r.value?r.value.locale.value:i.value,set:T=>{r.value&&(r.value.locale.value=T),i.value=T}}),N=X({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:T=>{r.value&&(r.value.fallbackLocale.value=T),l.value=T}}),M=X(()=>r.value?r.value.messages.value:c.value),V=X(()=>u.value),G=X(()=>d.value);function U(){return r.value?r.value.getPostTranslationHandler():x}function re(T){r.value&&r.value.setPostTranslationHandler(T)}function B(){return r.value?r.value.getMissingHandler():h}function H(T){r.value&&r.value.setMissingHandler(T)}function L(T){return C(),T()}function K(...T){return r.value?L(()=>Reflect.apply(r.value.t,null,[...T])):L(()=>"")}function se(...T){return r.value?Reflect.apply(r.value.rt,null,[...T]):""}function ye(...T){return r.value?L(()=>Reflect.apply(r.value.d,null,[...T])):L(()=>"")}function ne(...T){return r.value?L(()=>Reflect.apply(r.value.n,null,[...T])):L(()=>"")}function te(T){return r.value?r.value.tm(T):{}}function fe(T,O){return r.value?r.value.te(T,O):!1}function Me(T){return r.value?r.value.getLocaleMessage(T):{}}function We(T,O){r.value&&(r.value.setLocaleMessage(T,O),c.value[T]=O)}function Ze(T,O){r.value&&r.value.mergeLocaleMessage(T,O)}function Xe(T){return r.value?r.value.getDateTimeFormat(T):{}}function ot(T,O){r.value&&(r.value.setDateTimeFormat(T,O),u.value[T]=O)}function Qe(T,O){r.value&&r.value.mergeDateTimeFormat(T,O)}function gt(T){return r.value?r.value.getNumberFormat(T):{}}function et(T,O){r.value&&(r.value.setNumberFormat(T,O),d.value[T]=O)}function xt(T,O){r.value&&r.value.mergeNumberFormat(T,O)}const $={get id(){return r.value?r.value.id:-1},locale:A,fallbackLocale:N,messages:M,datetimeFormats:V,numberFormats:G,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(T){r.value&&(r.value.inheritLocale=T)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:p},get pluralRules(){return r.value?r.value.pluralRules:v},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:f},set missingWarn(T){r.value&&(r.value.missingWarn=T)},get fallbackWarn(){return r.value?r.value.fallbackWarn:k},set fallbackWarn(T){r.value&&(r.value.missingWarn=T)},get fallbackRoot(){return r.value?r.value.fallbackRoot:m},set fallbackRoot(T){r.value&&(r.value.fallbackRoot=T)},get fallbackFormat(){return r.value?r.value.fallbackFormat:_},set fallbackFormat(T){r.value&&(r.value.fallbackFormat=T)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:S},set warnHtmlMessage(T){r.value&&(r.value.warnHtmlMessage=T)},get escapeParameter(){return r.value?r.value.escapeParameter:b},set escapeParameter(T){r.value&&(r.value.escapeParameter=T)},t:K,getPostTranslationHandler:U,setPostTranslationHandler:re,getMissingHandler:B,setMissingHandler:H,rt:se,d:ye,n:ne,tm:te,te:fe,getLocaleMessage:Me,setLocaleMessage:We,mergeLocaleMessage:Ze,getDateTimeFormat:Xe,setDateTimeFormat:ot,mergeDateTimeFormat:Qe,getNumberFormat:gt,setNumberFormat:et,mergeNumberFormat:xt};function P(T){T.locale.value=i.value,T.fallbackLocale.value=l.value,Object.keys(c.value).forEach(O=>{T.mergeLocaleMessage(O,c.value[O])}),Object.keys(u.value).forEach(O=>{T.mergeDateTimeFormat(O,u.value[O])}),Object.keys(d.value).forEach(O=>{T.mergeNumberFormat(O,d.value[O])}),T.escapeParameter=b,T.fallbackFormat=_,T.fallbackRoot=m,T.fallbackWarn=k,T.missingWarn=f,T.warnHtmlMessage=S}return el(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw mt(pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const T=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=T.locale.value,l.value=T.fallbackLocale.value,c.value=T.messages.value,u.value=T.datetimeFormats.value,d.value=T.numberFormats.value):a&&P(T)}),$}const sy=["locale","fallbackLocale","availableLocales"],vu=["t","rt","d","n","tm","te"];function iy(e,t){const o=Object.create(null);return sy.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw mt(pt.UNEXPECTED_ERROR);const s=Je(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,a,s)}),e.config.globalProperties.$i18n=o,vu.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw mt(pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,vu.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}if(Bb(),__INTLIFY_JIT_COMPILATION__?Fc(Nb):Fc(Mb),xb(nb),Sb(Pc),__INTLIFY_PROD_DEVTOOLS__){const e=vo();e.__INTLIFY__=!0,pb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ly=Object.assign({"./locales/ar/aria.json":ff,"./locales/ar/buttons.json":hf,"./locales/ar/detail.json":mf,"./locales/ar/legend.json":bf,"./locales/ar/messages.json":yf,"./locales/ar/options.json":_f,"./locales/ar/prayerLaps.json":vf,"./locales/ar/search.json":kf,"./locales/ar/tabs.json":wf,"./locales/de/aria.json":xf,"./locales/de/buttons.json":Sf,"./locales/de/detail.json":Af,"./locales/de/legend.json":$f,"./locales/de/messages.json":Lf,"./locales/de/options.json":Cf,"./locales/de/prayerLaps.json":Tf,"./locales/de/search.json":Ef,"./locales/de/tabs.json":Pf,"./locales/en/aria.json":Mf,"./locales/en/buttons.json":Nf,"./locales/en/detail.json":If,"./locales/en/legend.json":Rf,"./locales/en/messages.json":Ff,"./locales/en/options.json":Of,"./locales/en/popup.json":Df,"./locales/en/prayerLaps.json":Bf,"./locales/en/search.json":jf,"./locales/en/tabs.json":Gf,"./locales/es/aria.json":Uf,"./locales/es/buttons.json":Kf,"./locales/es/detail.json":Hf,"./locales/es/legend.json":zf,"./locales/es/messages.json":Vf,"./locales/es/options.json":Wf,"./locales/es/prayerLaps.json":Yf,"./locales/es/search.json":Jf,"./locales/es/tabs.json":qf,"./locales/fr/aria.json":Zf,"./locales/fr/buttons.json":Xf,"./locales/fr/detail.json":Qf,"./locales/fr/legend.json":eh,"./locales/fr/messages.json":th,"./locales/fr/options.json":oh,"./locales/fr/popup.json":nh,"./locales/fr/prayerLaps.json":ah,"./locales/fr/search.json":rh,"./locales/fr/tabs.json":sh,"./locales/hi/aria.json":ih,"./locales/hi/buttons.json":lh,"./locales/hi/detail.json":ch,"./locales/hi/legend.json":uh,"./locales/hi/messages.json":dh,"./locales/hi/options.json":ph,"./locales/hi/prayerLaps.json":gh,"./locales/hi/search.json":fh,"./locales/it/aria.json":hh,"./locales/it/buttons.json":mh,"./locales/it/detail.json":bh,"./locales/it/legend.json":yh,"./locales/it/messages.json":_h,"./locales/it/options.json":vh,"./locales/it/prayerLaps.json":kh,"./locales/it/search.json":wh,"./locales/pt/aria.json":xh,"./locales/pt/buttons.json":Sh,"./locales/pt/detail.json":Ah,"./locales/pt/legend.json":$h,"./locales/pt/messages.json":Lh,"./locales/pt/options.json":Ch,"./locales/pt/prayerLaps.json":Th,"./locales/pt/search.json":Eh,"./locales/pt/tabs.json":Ph,"./locales/ro/aria.json":Mh,"./locales/ro/buttons.json":Nh,"./locales/ro/detail.json":Ih,"./locales/ro/legend.json":Rh,"./locales/ro/messages.json":Fh,"./locales/ro/options.json":Oh,"./locales/ro/prayerLaps.json":Dh,"./locales/ro/search.json":Bh,"./locales/ru/aria.json":jh,"./locales/ru/buttons.json":Gh,"./locales/ru/detail.json":Uh,"./locales/ru/legend.json":Kh,"./locales/ru/messages.json":Hh,"./locales/ru/options.json":zh,"./locales/ru/prayerLaps.json":Vh,"./locales/ru/search.json":Wh,"./locales/ru/tabs.json":Yh,"./locales/zh/aria.json":Jh,"./locales/zh/buttons.json":qh,"./locales/zh/detail.json":Zh,"./locales/zh/legend.json":Xh,"./locales/zh/messages.json":Qh,"./locales/zh/options.json":em,"./locales/zh/prayerLaps.json":tm,"./locales/zh/search.json":om}),ea={};for(const[e,t]of Object.entries(ly)){const o=e.match(/\.\/locales\/([^/]+)\/([^/]+)\.json$/);if(!o)continue;const[,n,a]=o;ea[n]??(ea[n]={}),ea[n][a]=t}const ku=["ar","de","en","es","fr","hi","it","pt","ro","ru","zh"];function cy(){var o;const t=(((o=document==null?void 0:document.documentElement)==null?void 0:o.lang)||"").split("-")[0].toLowerCase();return ku.includes(t)?t:"en"}function uy(){return Zb({legacy:!1,globalInjection:!0,locale:cy(),fallbackLocale:"en",messages:ea,missingWarn:!1,fallbackWarn:!1})}function wt(e,t){const o=t||dy(e);to(()=>{var i;const n=yo();if(!n)return;const a=(i=n.proxy)==null?void 0:i.$el;if(!a)return;const r=a.getRootNode();if(!(r instanceof ShadowRoot)||r.querySelector(`style[data-shadow-styles="${o}"]`))return;const s=document.createElement("style");s.setAttribute("data-shadow-styles",o),s.textContent=e,r.appendChild(s)})}function dy(e){let t=0;for(let o=0;o(t==null?void 0:t.theme)==="dark"),a=X(()=>{var l;return((l=o==null?void 0:o.value)==null?void 0:l.pinHintLabel)||"Tap a red dot — someone still needs prayer"}),r=ue(!1);let s=null;function i(){r.value=!1}return to(()=>{var d,f,k;const l=yo(),c=(k=(f=(d=l==null?void 0:l.proxy)==null?void 0:d.$el)==null?void 0:f.getRootNode)==null?void 0:k.call(f);if(!c||typeof c.querySelector!="function")return;let u=0;s=setInterval(()=>{u++,c.querySelector("canvas")?(clearInterval(s),s=null,r.value=!0):u>40&&(clearInterval(s),s=null)},300)}),To(()=>{s&&clearInterval(s)}),wt(` .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,7 @@ @media (prefers-reduced-motion: reduce) { .pin-hint, .pin-hint-pill, .pin-hint-dot::after { animation: none !important; } } -`,"pin-hint"),(f,y)=>r.value?(z(),Q("div",{key:0,class:Le(["pin-hint",{dark:n.value}]),role:"status"},[E("span",py,[y[0]||(y[0]=E("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),dt(" "+ce(a.value)+" ",1),E("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:h},"×")])],2)):me("",!0)}},fy=!1;let hy=0;const my=as("ui",{state:()=>({_storeInstanceId:++hy,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:a=null,persistent:r=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:r,createdAt:Date.now()};return this.toasts.push(s),!r&&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)}))}}}),by=as("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 a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const r=t.getCenter();r&&(a=[r.lng,r.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,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 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()}}}),yy=as("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]=jo({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]=jo({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}}}),ta={_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,a]of t)o[n]=a;return o},_y={class:"profile-loader"},vy={key:0,class:"profile-error"},ky={key:1,class:"profile-error"},wy=bn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var b;const o=e,n=X(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),a=X(()=>{var p;return((p=n.value)==null?void 0:p.profile)||null}),r=X(()=>{var p;return((p=n.value)==null?void 0:p.tk)||""}),s=X(()=>{var p;return((p=n.value)==null?void 0:p.dataSource)||ta.activeSource}),i=X(()=>{var p;return((p=n.value)==null?void 0:p.colorSet)||"default"}),l=X(()=>!1),c=X(()=>{var p;return((p=n.value)==null?void 0:p.pinHint)!==!1}),u=X(()=>{var v,C;const p=(((v=n.value)==null?void 0:v.locale)||((C=n.value)==null?void 0:C.lang)||"").split("-")[0].toLowerCase();return ku.includes(p)?p:""}),d=Ee("appI18n",null);wp(()=>{u.value&&d&&(d.global.locale.value=u.value)});const h=X(()=>{var p,v;return u.value||((v=(p=d==null?void 0:d.global)==null?void 0:p.locale)==null?void 0:v.value)||"en"}),k=X(()=>{var p;return((p=n.value)==null?void 0:p.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),f=Ee("profileModules",null);if(!f)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const y=X(()=>{if(!a.value)return null;const p=`./${a.value}.vue`;return f[p]?Xi(f[p]):(console.error(`[ProfileLoader] Profile not found: "${a.value}". Available:`,Object.keys(f)),null)});Ft("mapboxToken",r),Ft("dataSource",s),Ft("colorSet",i),Ft("profileConfig",n),Ft("instanceId",k),Ft("lang",h);const m=my(),x=by(),S=yy();try{const p=typeof localStorage<"u"?localStorage.getItem("theme"):null;p&&((b=m.setTheme)==null||b.call(m,p))}catch{}return Ft("uiStore",m),Ft("mapStore",x),Ft("dataStore",S),(p,v)=>(z(),Q("div",_y,[n.value?y.value?(z(),st(ol(y.value),{key:2})):(z(),Q("div",ky,[E("p",null,[v[1]||(v[1]=dt("⚠️ Profile ",-1)),E("strong",null,'"'+ce(a.value)+'"',1),v[2]||(v[2]=dt(" not found.",-1))])])):(z(),Q("div",vy,[...v[0]||(v[0]=[E("p",null,[dt("⚠️ "),E("strong",null,"doxa-map"),dt(": missing or invalid "),E("code",null,"profile-config"),dt(" prop.")],-1),E("p",null,[dt("Example: "),E("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),y.value&&l.value?(z(),st(ol(be(null)),{key:3})):me("",!0),y.value&&c.value?(z(),st(gy,{key:4})):me("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),xy=Object.assign({"./poster-wall.vue":()=>An(()=>Promise.resolve().then(()=>Yy),void 0),"./upg-100-list.vue":()=>An(()=>Promise.resolve().then(()=>Ok),void 0),"./upg-100-mfe.vue":()=>An(()=>Promise.resolve().then(()=>Vk),void 0)});if(typeof window<"u"&&((xd=window.mapboxgl)!=null&&xd.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 Sy(){return Jg(wy,{configureApp(e){e.use(lf()),e.use(uy()),e.provide("profileModules",xy)}})}const Ay=Sy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",Ay));const wu=[{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]}],xu=[{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"]}],Su=[{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"}],$y={class:"sec-head"},Ly={class:"sec-name"},Cy={class:"sec-count"},Ty={class:"grid"},Ey=["data-list-id"],Py=["aria-label","onClick"],My={class:"hcount"},Ny={class:"main"},Iy=["src","alt","onError"],Ry={key:1,class:"ph"},Fy={class:"ph-label"},Oy={key:0,class:"ph-count"},Dy={class:"tape pfs"},By=["onClick"],jy=["onClick"],Gy={class:"modal",role:"dialog","aria-live":"polite"},Uy={class:"modal-kind"},Ky={class:"modal-title"},Hy={class:"modal-err"},zy={class:"modal-soon"},Vy={class:"bar"},Wy={class:"modal-phase"},Yy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t={lists:wu,asia_lists:xu,uncovered_lists:Su},o=Ee("profileConfig",ue(null)),n=X(()=>{var b;return((b=o.value)==null?void 0:b.instanceId)||"upg-100-wall"}),a=X(()=>{var b;return((b=o.value)==null?void 0:b.isDark)===!0}),r=X(()=>{var b;return String(((b=o.value)==null?void 0:b.assetsBase)||"./assets").replace(/\/+$/,"")}),s={"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"},i=b=>s[b]?s[b]:b.startsWith("asia-india-")?"India":b.startsWith("asia-china-")?"China + Mongolia":"Other",l=X(()=>[...t.lists||[],...t.asia_lists||[],...t.uncovered_lists||[]].filter(b=>b&&b.id)),c=X(()=>{const b=new Map;for(const p of l.value){const v=i(p.id);b.has(v)||b.set(v,[]),b.get(v).push(p)}return[...b.entries()].map(([p,v])=>({name:p,items:v.slice().sort((C,A)=>(A.count||0)-(C.count||0)),total:v.reduce((C,A)=>C+(A.count||0),0)})).sort((p,v)=>v.total-p.total)}),u=ue(null);function d(b){const p=u.value===b.id;u.value=p?null:b.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:n.value,listId:p?null:b.id,label:p?null:b.label}}))}const h=b=>`${r.value}/previews/${b}.webp`,k=ue({}),f=ue(null);async function y(b){if(!f.value){f.value={label:b.label,kind:"Poster",phase:"fetch",message:"fetching poster",pct:20};try{const p=`${r.value}/posters/${b.id}.webp`,v=await fetch(p);if(!v.ok)throw new Error(`poster not found (${v.status})`);f.value={...f.value,phase:"save",message:"saving",pct:80};const C=await v.blob();x(C,`doxa-upg-100-${b.id}-poster.webp`),f.value={...f.value,phase:"done",message:"saved",pct:100},setTimeout(()=>{f.value=null},900)}catch(p){f.value={label:b.label,kind:"Poster",phase:"error",message:String((p==null?void 0:p.message)||p).slice(0,140),pct:0}}}}function m(b){f.value={label:b.label,kind:"Prayer List",phase:"soon",message:"Coming soon — the prayer list for each people group is in build.",pct:0}}function x(b,p){const v=document.createElement("a");v.href=URL.createObjectURL(b),v.download=p,document.body.appendChild(v),v.click(),v.remove(),setTimeout(()=>URL.revokeObjectURL(v.href),4e3)}function S(){f.value=null}return wt(`.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"),(b,p)=>(z(),Q("div",{class:Le(["wall",{"is-dark":a.value}])},[p[6]||(p[6]=E("h2",{class:"wall-h"},"My UPG 100 List — Prayer Lists & Posters",-1)),p[7]||(p[7]=E("div",{class:"wall-tag"},"Prayer Mobilization",-1)),p[8]||(p[8]=E("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 "),E("strong",null,"by their people group name"),dt(". ")],-1)),(z(!0),Q(Ce,null,At(c.value,v=>(z(),Q("section",{key:v.name,class:"sec"},[E("div",$y,[E("h3",Ly,ce(v.name),1),E("span",Cy,ce(v.total.toLocaleString())+" people groups · "+ce(v.items.length)+" "+ce(v.items.length===1?"list":"lists"),1)]),E("div",Ty,[(z(!0),Q(Ce,null,At(v.items,C=>(z(),Q("div",{key:C.id,class:Le(["card",{"is-last":u.value===C.id}]),"data-list-id":C.id},[E("button",{type:"button",class:"tape tape-h","aria-label":`Show ${C.label} on the map`,onClick:A=>d(C)},[E("span",My,ce(C.count)+" UPG",1),p[1]||(p[1]=E("span",{class:"hsep"},"·",-1)),p[2]||(p[2]=E("span",{class:"hlabel"},"Show on map",-1))],8,Py),E("div",Ny,[k.value[C.id]?(z(),Q("div",Ry,[E("div",Fy,ce(C.label),1),C.count?(z(),Q("div",Oy,ce(C.count)+" people groups",1)):me("",!0),p[3]||(p[3]=E("div",{class:"ph-note"},"poster not generated yet",-1))])):(z(),Q("img",{key:0,class:"img",src:h(C.id),alt:`${C.label} — UPG 100 list prayer poster`,loading:"lazy",decoding:"async",onError:A=>k.value[C.id]=!0},null,40,Iy))]),E("fieldset",Dy,[p[4]||(p[4]=E("legend",null,"Print Options",-1)),E("button",{type:"button",class:"pbtn",onClick:A=>m(C)},"Prayer List",8,By),E("button",{type:"button",class:"pbtn",onClick:A=>y(C)},"Poster Map",8,jy)])],10,Ey))),128))])]))),128)),f.value?(z(),Q("div",{key:0,class:"modal-scrim",onClick:p[0]||(p[0]=Ht(v=>f.value.phase==="error"&&S(),["self"]))},[E("div",Gy,[E("div",Uy,ce(f.value.kind),1),E("div",Ky,ce(f.value.label),1),f.value.phase==="error"?(z(),Q(Ce,{key:0},[E("div",Hy,ce(f.value.message),1),E("button",{type:"button",class:"modal-btn",onClick:S},"Close")],64)):f.value.phase==="soon"?(z(),Q(Ce,{key:1},[E("div",zy,ce(f.value.message),1),E("button",{type:"button",class:"modal-btn",onClick:S},"Close")],64)):(z(),Q(Ce,{key:2},[E("div",Vy,[E("div",{class:"bar-fill",style:tt({width:f.value.pct+"%"})},null,4)]),E("div",Wy,ce(f.value.message),1),p[5]||(p[5]=E("div",{class:"modal-hint"}," Rendering a print-quality image in your browser — nothing is uploaded. ",-1))],64))])])):me("",!0)],2))}}},Symbol.toStringTag,{value:"Module"})),Au="pplrInstance";function Jy(e){return{instanceId:e,selection:ue(null),activeTab:ue(0),isSearching:ue(!1),geocoderText:ue(""),pinDetail:ue(null),theme:ue("dark")}}function qy(e){Ft(Au,e)}function Zy(){return Ee(Au,null)}const Xy=["data-covered","data-total","data-pct"],Qy={class:"lpb-track"},e_=["data-span-pct"],t_=["data-seg","data-count","aria-label","onMouseenter","onFocus","onClick"],o_=["data-seg","data-count","aria-label"],n_=["aria-valuenow","aria-valuemax","aria-valuetext","aria-label","title"],$u=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()},compact:{type:Boolean,default:!1},stacked:{type:Boolean,default:!1},showText:{type:Boolean,default:!0}},emits:["select-segment"],setup(e,{emit:t}){const{t:o}=kt();wt(` +`,"pin-hint"),(l,c)=>r.value?(z(),Q("div",{key:0,class:Le(["pin-hint",{dark:n.value}]),role:"status"},[E("span",py,[c[0]||(c[0]=E("span",{class:"pin-hint-dot","aria-hidden":"true"},null,-1)),dt(" "+ce(a.value)+" ",1),E("button",{class:"pin-hint-x",type:"button","aria-label":"Dismiss hint",onClick:i},"×")])],2)):me("",!0)}},fy=!1;let hy=0;const my=as("ui",{state:()=>({_storeInstanceId:++hy,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:a=null,persistent:r=!1}=e,s={id:this.nextToastId++,message:t,type:o,duration:n,action:a,persistent:r,createdAt:Date.now()};return this.toasts.push(s),!r&&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)}))}}}),by=as("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 a=[0,0];if(o.center)a=o.center;else if(t&&typeof t.getCenter=="function"){const r=t.getCenter();r&&(a=[r.lng,r.lat])}this.maps[e]={instance:t,config:o,isReady:!1,zoom:n,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 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()}}}),yy=as("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]=jo({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]=jo({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}}}),ta={_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,a]of t)o[n]=a;return o},_y={class:"profile-loader"},vy={key:0,class:"profile-error"},ky={key:1,class:"profile-error"},wy=bn({__name:"ProfileLoader",props:{profileConfig:{type:String,default:""}},setup(e){var b;const o=e,n=X(()=>{if(!o.profileConfig)return null;try{return JSON.parse(o.profileConfig)}catch{return console.error("[ProfileLoader] Invalid profile-config JSON:",o.profileConfig),null}}),a=X(()=>{var p;return((p=n.value)==null?void 0:p.profile)||null}),r=X(()=>{var p;return((p=n.value)==null?void 0:p.tk)||""}),s=X(()=>{var p;return((p=n.value)==null?void 0:p.dataSource)||ta.activeSource}),i=X(()=>{var p;return((p=n.value)==null?void 0:p.colorSet)||"default"}),l=X(()=>!1),c=X(()=>{var p;return((p=n.value)==null?void 0:p.pinHint)!==!1}),u=X(()=>{var v,C;const p=(((v=n.value)==null?void 0:v.locale)||((C=n.value)==null?void 0:C.lang)||"").split("-")[0].toLowerCase();return ku.includes(p)?p:""}),d=Ee("appI18n",null);wp(()=>{u.value&&d&&(d.global.locale.value=u.value)});const f=X(()=>{var p,v;return u.value||((v=(p=d==null?void 0:d.global)==null?void 0:p.locale)==null?void 0:v.value)||"en"}),k=X(()=>{var p;return((p=n.value)==null?void 0:p.instanceId)||"doxa-map-"+Math.random().toString(36).slice(2,9)}),m=Ee("profileModules",null);if(!m)throw new Error('[ProfileLoader] No profileModules provided. Bundle entry must `app.provide("profileModules", import.meta.glob("./*.vue"))`');const _=X(()=>{if(!a.value)return null;const p=`./${a.value}.vue`;return m[p]?Xi(m[p]):(console.error(`[ProfileLoader] Profile not found: "${a.value}". Available:`,Object.keys(m)),null)});Ft("mapboxToken",r),Ft("dataSource",s),Ft("colorSet",i),Ft("profileConfig",n),Ft("instanceId",k),Ft("lang",f);const h=my(),x=by(),S=yy();try{const p=typeof localStorage<"u"?localStorage.getItem("theme"):null;p&&((b=h.setTheme)==null||b.call(h,p))}catch{}return Ft("uiStore",h),Ft("mapStore",x),Ft("dataStore",S),(p,v)=>(z(),Q("div",_y,[n.value?_.value?(z(),st(ol(_.value),{key:2})):(z(),Q("div",ky,[E("p",null,[v[1]||(v[1]=dt("⚠️ Profile ",-1)),E("strong",null,'"'+ce(a.value)+'"',1),v[2]||(v[2]=dt(" not found.",-1))])])):(z(),Q("div",vy,[...v[0]||(v[0]=[E("p",null,[dt("⚠️ "),E("strong",null,"doxa-map"),dt(": missing or invalid "),E("code",null,"profile-config"),dt(" prop.")],-1),E("p",null,[dt("Example: "),E("code",null,`profile-config='{"profile":"example-map","tk":"pk.eyJ..."}'`)],-1)])])),_.value&&l.value?(z(),st(ol(be(null)),{key:3})):me("",!0),_.value&&c.value?(z(),st(gy,{key:4})):me("",!0)]))}},[["__scopeId","data-v-b7582f77"]]),xy=Object.assign({"./poster-wall.vue":()=>An(()=>Promise.resolve().then(()=>Yy),void 0),"./upg-100-list.vue":()=>An(()=>Promise.resolve().then(()=>Ok),void 0),"./upg-100-mfe.vue":()=>An(()=>Promise.resolve().then(()=>Vk),void 0)});if(typeof window<"u"&&((xd=window.mapboxgl)!=null&&xd.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 Sy(){return Jg(wy,{configureApp(e){e.use(lf()),e.use(uy()),e.provide("profileModules",xy)}})}const Ay=Sy();typeof customElements<"u"&&(customElements.get("my-upg-100-list-map")||customElements.define("my-upg-100-list-map",Ay));const wu=[{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]}],xu=[{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"]}],Su=[{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"}],$y={class:"sec-head"},Ly={class:"sec-name"},Cy={class:"sec-count"},Ty={class:"grid"},Ey=["data-list-id"],Py=["aria-label","onClick"],My={class:"hcount"},Ny={class:"main"},Iy=["src","alt","onError"],Ry={key:1,class:"ph"},Fy={class:"ph-label"},Oy={key:0,class:"ph-count"},Dy={class:"tape pfs"},By=["onClick"],jy=["onClick"],Gy={class:"modal",role:"dialog","aria-live":"polite"},Uy={class:"modal-kind"},Ky={class:"modal-title"},Hy={class:"modal-err"},zy={class:"modal-soon"},Vy={class:"bar"},Wy={class:"modal-phase"},Yy=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"poster-wall",setup(e){const t={lists:wu,asia_lists:xu,uncovered_lists:Su},o=Ee("profileConfig",ue(null)),n=X(()=>{var b;return((b=o.value)==null?void 0:b.instanceId)||"upg-100-wall"}),a=X(()=>{var b;return((b=o.value)==null?void 0:b.isDark)===!0}),r=X(()=>{var b;return String(((b=o.value)==null?void 0:b.assetsBase)||"./assets").replace(/\/+$/,"")}),s={"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"},i=b=>s[b]?s[b]:b.startsWith("asia-india-")?"India":b.startsWith("asia-china-")?"China + Mongolia":"Other",l=X(()=>[...t.lists||[],...t.asia_lists||[],...t.uncovered_lists||[]].filter(b=>b&&b.id)),c=X(()=>{const b=new Map;for(const p of l.value){const v=i(p.id);b.has(v)||b.set(v,[]),b.get(v).push(p)}return[...b.entries()].map(([p,v])=>({name:p,items:v.slice().sort((C,A)=>(A.count||0)-(C.count||0)),total:v.reduce((C,A)=>C+(A.count||0),0)})).sort((p,v)=>v.total-p.total)}),u=ue(null);function d(b){const p=u.value===b.id;u.value=p?null:b.id,window.dispatchEvent(new CustomEvent("doxa-upg-100-list:show-on-map",{detail:{instanceId:n.value,listId:p?null:b.id,label:p?null:b.label}}))}const f=b=>`${r.value}/previews/${b}.webp`,k=ue({}),m=ue(null);async function _(b){if(!m.value){m.value={label:b.label,kind:"Poster",phase:"fetch",message:"fetching poster",pct:20};try{const p=`${r.value}/posters/${b.id}.webp`,v=await fetch(p);if(!v.ok)throw new Error(`poster not found (${v.status})`);m.value={...m.value,phase:"save",message:"saving",pct:80};const C=await v.blob();x(C,`doxa-upg-100-${b.id}-poster.webp`),m.value={...m.value,phase:"done",message:"saved",pct:100},setTimeout(()=>{m.value=null},900)}catch(p){m.value={label:b.label,kind:"Poster",phase:"error",message:String((p==null?void 0:p.message)||p).slice(0,140),pct:0}}}}function h(b){m.value={label:b.label,kind:"Prayer List",phase:"soon",message:"Coming soon — the prayer list for each people group is in build.",pct:0}}function x(b,p){const v=document.createElement("a");v.href=URL.createObjectURL(b),v.download=p,document.body.appendChild(v),v.click(),v.remove(),setTimeout(()=>URL.revokeObjectURL(v.href),4e3)}function S(){m.value=null}return wt(`.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"),(b,p)=>(z(),Q("div",{class:Le(["wall",{"is-dark":a.value}])},[p[6]||(p[6]=E("h2",{class:"wall-h"},"My UPG 100 List — Prayer Lists & Posters",-1)),p[7]||(p[7]=E("div",{class:"wall-tag"},"Prayer Mobilization",-1)),p[8]||(p[8]=E("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 "),E("strong",null,"by their people group name"),dt(". ")],-1)),(z(!0),Q(Ce,null,At(c.value,v=>(z(),Q("section",{key:v.name,class:"sec"},[E("div",$y,[E("h3",Ly,ce(v.name),1),E("span",Cy,ce(v.total.toLocaleString())+" people groups · "+ce(v.items.length)+" "+ce(v.items.length===1?"list":"lists"),1)]),E("div",Ty,[(z(!0),Q(Ce,null,At(v.items,C=>(z(),Q("div",{key:C.id,class:Le(["card",{"is-last":u.value===C.id}]),"data-list-id":C.id},[E("button",{type:"button",class:"tape tape-h","aria-label":`Show ${C.label} on the map`,onClick:A=>d(C)},[E("span",My,ce(C.count)+" UPG",1),p[1]||(p[1]=E("span",{class:"hsep"},"·",-1)),p[2]||(p[2]=E("span",{class:"hlabel"},"Show on map",-1))],8,Py),E("div",Ny,[k.value[C.id]?(z(),Q("div",Ry,[E("div",Fy,ce(C.label),1),C.count?(z(),Q("div",Oy,ce(C.count)+" people groups",1)):me("",!0),p[3]||(p[3]=E("div",{class:"ph-note"},"poster not generated yet",-1))])):(z(),Q("img",{key:0,class:"img",src:f(C.id),alt:`${C.label} — UPG 100 list prayer poster`,loading:"lazy",decoding:"async",onError:A=>k.value[C.id]=!0},null,40,Iy))]),E("fieldset",Dy,[p[4]||(p[4]=E("legend",null,"Print Options",-1)),E("button",{type:"button",class:"pbtn",onClick:A=>h(C)},"Prayer List",8,By),E("button",{type:"button",class:"pbtn",onClick:A=>_(C)},"Poster Map",8,jy)])],10,Ey))),128))])]))),128)),m.value?(z(),Q("div",{key:0,class:"modal-scrim",onClick:p[0]||(p[0]=Ht(v=>m.value.phase==="error"&&S(),["self"]))},[E("div",Gy,[E("div",Uy,ce(m.value.kind),1),E("div",Ky,ce(m.value.label),1),m.value.phase==="error"?(z(),Q(Ce,{key:0},[E("div",Hy,ce(m.value.message),1),E("button",{type:"button",class:"modal-btn",onClick:S},"Close")],64)):m.value.phase==="soon"?(z(),Q(Ce,{key:1},[E("div",zy,ce(m.value.message),1),E("button",{type:"button",class:"modal-btn",onClick:S},"Close")],64)):(z(),Q(Ce,{key:2},[E("div",Vy,[E("div",{class:"bar-fill",style:tt({width:m.value.pct+"%"})},null,4)]),E("div",Wy,ce(m.value.message),1),p[5]||(p[5]=E("div",{class:"modal-hint"}," Rendering a print-quality image in your browser — nothing is uploaded. ",-1))],64))])])):me("",!0)],2))}}},Symbol.toStringTag,{value:"Module"})),Au="pplrInstance";function Jy(e){return{instanceId:e,selection:ue(null),activeTab:ue(0),isSearching:ue(!1),geocoderText:ue(""),pinDetail:ue(null),theme:ue("dark")}}function qy(e){Ft(Au,e)}function Zy(){return Ee(Au,null)}const Xy=["data-covered","data-total","data-pct"],Qy={class:"lpb-track"},e_=["data-span-pct"],t_=["data-seg","data-count","aria-label","onMouseenter","onFocus","onClick"],o_=["data-seg","data-count","aria-label"],n_=["aria-valuenow","aria-valuemax","aria-valuetext","aria-label","title"],$u=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()},compact:{type:Boolean,default:!1},stacked:{type:Boolean,default:!1},showText:{type:Boolean,default:!0}},emits:["select-segment"],setup(e,{emit:t}){const{t:o}=kt();wt(` .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;} @@ -86,7 +86,7 @@ .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);} .legend-mobile-sheet.collapsed .lpb{display:none!important;} -`,"legend-progress-bar");const n=e,a=t,r=X(()=>n.total>0?Math.round(n.covered/n.total*100):0),s=X(()=>n.total>0?Math.min(100,Math.max(0,n.covered/n.total*100)):0),i=X(()=>n.segments.slice(0,-1)),l=X(()=>n.segments.length?n.segments[n.segments.length-1]:null);function c(A){return n.covered>0?Math.min(100,Math.max(0,(A.count||0)/n.covered*100)):0}function u(A){return n.total>0?Math.round((A.count||0)/n.total*100):0}const d=X(()=>n.label||o("legend.progress.covered",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:r.value})),h=X(()=>o("legend.progress.short",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:r.value}));function k(A){return o("legend.progress.segment",{label:A.label,count:n.fmtCount(A.count||0),pct:u(A)})}const f=ue(null),y=ue(null),m={},x=ue(null),S=ue(0),b=X(()=>n.segments.find(A=>A.key===x.value)||null);function p(A,N){N?m[A]=N:delete m[A]}async function v(A){x.value=A,await Lo();const N=f.value,M=m[A],V=y.value;if(!N||!M||!V)return;const G=N.getBoundingClientRect(),U=M.getBoundingClientRect(),re=Math.max(0,G.width-V.offsetWidth);S.value=Math.min(Math.max(0,U.left-G.left),re)}function C(){x.value=null}return(A,N)=>(z(),Q("div",{ref_key:"rootEl",ref:f,class:Le(["lpb",[e.isDark?"lpb-dark":"lpb-light",{"lpb-stacked":e.stacked}]]),"data-covered":e.covered,"data-total":e.total,"data-pct":r.value,onMouseleave:C},[E("div",Qy,[E("span",{class:"lpb-span",style:tt({width:s.value+"%"}),"data-span-pct":s.value.toFixed(2)},[(z(!0),Q(Ce,null,At(i.value,M=>(z(),Q("button",{key:M.key,type:"button",class:Le(["lpb-seg",{active:x.value===M.key}]),style:tt({width:c(M)+"%",background:M.color}),"data-seg":M.key,"data-count":M.count||0,"aria-label":k(M),ref_for:!0,ref:V=>p(M.key,V),onMouseenter:V=>v(M.key),onFocus:V=>v(M.key),onBlur:C,onClick:Ht(V=>a("select-segment",M.key),["stop"])},null,46,t_))),128))],12,e_),l.value?(z(),Q("button",{key:0,type:"button",class:Le(["lpb-seg lpb-seg-rest",{active:x.value===l.value.key}]),style:tt({background:l.value.color}),"data-seg":l.value.key,"data-count":l.value.count||0,"aria-label":k(l.value),ref:M=>p(l.value.key,M),onMouseenter:N[0]||(N[0]=M=>v(l.value.key)),onFocus:N[1]||(N[1]=M=>v(l.value.key)),onBlur:C,onClick:N[2]||(N[2]=Ht(M=>a("select-segment",l.value.key),["stop"]))},null,46,o_)):me("",!0)]),e.showText?(z(),Q("span",{key:0,class:"lpb-text",role:"progressbar","aria-valuenow":e.covered,"aria-valuemin":"0","aria-valuemax":e.total,"aria-valuetext":h.value,"aria-label":d.value,title:d.value},ce(e.compact?r.value+"%":h.value),9,n_)):me("",!0),b.value?(z(),Q("div",{key:1,ref_key:"popEl",ref:y,class:"lpb-pop",role:"tooltip",style:tt({left:S.value+"px"})},[E("span",{class:"lpb-pop-dot",style:tt({background:b.value.color})},null,4),dt(ce(k(b.value)),1)],4)):me("",!0)],42,Xy))}},[["__scopeId","data-v-acafdbf6"]]),a_=["data-theme"],r_={class:"stl-inner"},s_={class:"stl-tb-caret-slot"},i_=["title"],l_={class:"stl-tb-eyebrow"},c_=["title","aria-label"],u_=["title"],d_={key:2,class:"stl-tb-title"},p_={key:0,class:"stl-tabs-wrap"},g_={class:"stl-tabs"},f_=["onClick"],h_=["title","onClick"],m_={key:0,class:"stl-info-pop"},b_={class:"stl-col-hdr"},y_={class:"stl-hdr-name"},__=["title"],v_={key:0,class:"stl-sort-arrow"},k_=["title"],w_={key:0,class:"stl-sort-arrow"},x_=["data-stl-node-id","onClick"],S_=["onClick"],A_={key:1,class:"stl-caret-sp"},$_={key:3,class:"stl-dot-sp"},L_={class:"stl-name"},C_={key:4,class:"stl-num"},T_={key:5,class:"stl-num"},E_={class:"stl-x-slot"},P_={key:0,class:"stl-empty stl-loading"},M_={key:1,class:"stl-empty"},N_={key:2,class:"stl-empty"},I_={key:3,class:"stl-overflow"},R_=["data-theme"],F_={class:"stl-reopen-label"},Lu=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}=kt();function a(w){const I="tabs."+((w==null?void 0:w.i18nKey)||(w==null?void 0:w.id));return w&&n(I)?o(I):(w==null?void 0:w.label)??""}const r=e,s=t,i=Zy(),l=Ee("legendProgress",null),c=X(()=>r.progress??be(l)??null),u=X(()=>c.value?o("legend.progress.title"):r.title),d=X(()=>((i==null?void 0:i.theme.value)||"dark")==="dark");function h(w,I){var oe;for(const de of w||[]){if((de==null?void 0:de.id)===I)return de;const ge=(oe=de==null?void 0:de.children)!=null&&oe.length?h(de.children,I):null;if(ge)return ge}return null}function k(w){const I=h(b.value,w);I&&W(I)}function f(w,I=0){return w!=null&&w.length?Math.max(...w.map(oe=>f(oe.children??[],I+1))):I}function y(w,I,oe=0){return oe===I?w.slice():w.flatMap(de=>y(de.children??[],I,oe+1))}function m(w,I,oe=[]){var de;for(const ge of w){if(ge.id===I)return oe;if((de=ge.children)!=null&&de.length){const Ae=m(ge.children,I,[...oe,ge]);if(Ae)return Ae}}return null}function x(w,I=new Set){var oe;if(!((oe=w==null?void 0:w.children)!=null&&oe.length))return I;for(const de of w.children)I.add(de.id),x(de,I);return I}function S(w,I="root"){var de;if(!Array.isArray(w))return[];const oe=[];for(const ge of w){if(!ge||typeof ge!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",I)}catch{}continue}oe.push((de=ge.children)!=null&&de.length?{...ge,children:S(ge.children,ge.label||ge.id||I)}:ge)}return oe}const b=X(()=>S(r.nodes)),p=X(()=>f(b.value)),v=X(()=>{const w=r.tabs??[],I=w.length||p.value+1;return Array.from({length:I},(oe,de)=>w[de]??{id:`gen${de+1}`,label:`Generation ${de+1}`})}),C=ue(Math.max(0,r.defaultTab|0)),A=ue(new Set),N=ue(null),M=ue(r.open!==null?r.open:!0),V=ue(null),G=ue(!1),U=ue(null),re=ue("desc"),B=X({get:()=>r.hideTabs?0:i?i.activeTab.value:C.value,set:w=>{r.hideTabs||(i?i.activeTab.value=w:C.value=w)}}),H=X({get:()=>i?i.selection.value:N.value,set:w=>{i?i.selection.value=w:N.value=w}}),L=X(()=>{var w;return((w=H.value)==null?void 0:w.id)||null}),K=ue(null);rt(()=>r.open,w=>{w!==null&&(M.value=w)}),rt(()=>b.value,()=>{const w=i==null?void 0:i.activeTab.value,I=Math.min(Math.max(0,r.defaultTab|0),Math.max(0,v.value.length-1));B.value=typeof w=="number"&&w>=0?w:I,A.value=new Set,H.value=null,s("select",null)},{deep:!1});let se=null;i&&rt(()=>i.selection.value,w=>{if((w==null?void 0:w.id)===se)return;if(!w){se=null;return}se=w.id;const I=m(b.value,w.id)||[];typeof w.depth=="number"&&(B.value=Math.min(w.depth,v.value.length-1));const oe=new Set;I.forEach(de=>oe.add(de.id)),A.value=oe,s("select",w)});function ye(w,I){const oe=(I.pop??0)-(w.pop??0);return oe!==0?oe:(I.count??0)-(w.count??0)}const ne=X(()=>{if(!U.value)return ye;const w=U.value,I=re.value==="asc"?1:-1;return(oe,de)=>((oe[w]??0)-(de[w]??0))*I});function te(w){U.value===w?re.value==="desc"?re.value="asc":(U.value=null,re.value="desc"):(U.value=w,re.value="desc")}const fe=ue([]),Me=ue(!1);let We=-1;function Ze(w){if(fe.value[w]){Me.value=!1;return}Me.value=!0,We=w,setTimeout(()=>{if(We!==w)return;const I=[...y(b.value,w)].sort(ne.value),oe=[...fe.value];oe[w]=I,fe.value=oe,Me.value=!1},0)}rt(B,w=>Ze(w),{immediate:!0}),rt(()=>[b.value,U.value,re.value],()=>{fe.value=[],Ze(B.value)},{deep:!1});const Xe=X(()=>fe.value[B.value]||[]),ot=X(()=>{var I;const w=(I=v.value[B.value])==null?void 0:I.topLimit;return w?Xe.value.slice(0,w):Xe.value}),Qe=X(()=>{var I;const w=(I=v.value[B.value])==null?void 0:I.topLimit;return w?Math.max(0,Xe.value.length-w):0});function gt(w,I,oe,de,ge){var Ae;for(const we of I)we&&(w.push({node:we,relDepth:oe,parent:de,ancestors:ge}),A.value.has(we.id)&&((Ae=we.children)!=null&&Ae.length)&>(w,[...we.children].sort(ne.value),oe+1,we,[...ge,we]))}const et=X(()=>{const w=[];gt(w,ot.value,0,null,[]);for(let I=0;Ige+1&&Re.ancestors[ge]}if(ge===oe.relDepth-1){let ft=!1;for(let Re=I+1;ReL.value!==null),$=X(()=>r.columns.includes("count")),P=X(()=>r.columns.includes("pop")),T=X(()=>H.value?x(H.value):new Set),O=X(()=>{var Ae;const w=H.value;if(!w)return null;const I=m(b.value,w.id);if(!I||!I.length)return null;const oe=I[I.length-1],de=I.length-1,ge=((Ae=v.value[de])==null?void 0:Ae.label)||"Parent";return{node:oe,tabName:ge,depth:de}});function W(w){L.value===w.id?(se=null,H.value=null,s("select",null)):(se=w.id,H.value=w,s("select",w))}function q(w,I){I==null||I.stopPropagation();const oe=new Set(A.value),de=oe.has(w);if(de?oe.delete(w):oe.add(w),A.value=oe,de&&H.value){const ge=m(b.value,H.value.id);ge&&ge.some(Ae=>Ae.id===w)&&(se=null,H.value=null,s("select",null))}}function Z(){const w=O.value;w!=null&&w.node&&(!r.hideTabs&&typeof w.depth=="number"&&(B.value=w.depth),A.value=new Set,W(w.node))}function Y(w){if(B.value===w){V.value=V.value===w?null:w;return}B.value=w,A.value=new Set,se=null,H.value=null,V.value=null,s("select",null)}function g(w){w==null||w.stopPropagation(),se=null,H.value=null,s("select",null)}function _(w,I){I==null||I.stopPropagation(),V.value=V.value===w?null:w}rt(L,w=>{w||(G.value=!1)});function R(w){let I=w.parentElement;for(;I;){const oe=getComputedStyle(I).overflowY;if((oe==="auto"||oe==="scroll")&&I.scrollHeight>I.clientHeight+1){const de=w.getBoundingClientRect(),ge=I.getBoundingClientRect();I.scrollTop+=de.top-ge.top-8}I=I.parentElement}}let j=0;rt(L,async w=>{if(!w)return;const I=++j,oe=K.value;if(!oe)return;await Lo();const de=(ge=0)=>{if(I!==j)return;const Ae=oe.querySelector(`[data-stl-node-id="${CSS.escape(String(w))}"]`);Ae&&R(Ae),ge<6&&setTimeout(()=>de(ge+1),70)};de(0)});function ie(w){return w?w>=1e6?(w/1e6).toFixed(1)+"M":w>=1e3?Math.round(w/1e3)+"k":w.toLocaleString():"—"}function ae(w){return w!=null?w.toLocaleString():"—"}function F(w){var I;return{selected:L.value===w.node.id,descendant:xt.value&&T.value.has(w.node.id),child:w.relDepth>0,leaf:!((I=w.node.children)!=null&&I.length)}}return wt(` +`,"legend-progress-bar");const n=e,a=t,r=X(()=>n.total>0?Math.round(n.covered/n.total*100):0),s=X(()=>n.total>0?Math.min(100,Math.max(0,n.covered/n.total*100)):0),i=X(()=>n.segments.slice(0,-1)),l=X(()=>n.segments.length?n.segments[n.segments.length-1]:null);function c(A){return n.covered>0?Math.min(100,Math.max(0,(A.count||0)/n.covered*100)):0}function u(A){return n.total>0?Math.round((A.count||0)/n.total*100):0}const d=X(()=>n.label||o("legend.progress.covered",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:r.value})),f=X(()=>o("legend.progress.short",{covered:n.fmtCount(n.covered),total:n.fmtCount(n.total),pct:r.value}));function k(A){return o("legend.progress.segment",{label:A.label,count:n.fmtCount(A.count||0),pct:u(A)})}const m=ue(null),_=ue(null),h={},x=ue(null),S=ue(0),b=X(()=>n.segments.find(A=>A.key===x.value)||null);function p(A,N){N?h[A]=N:delete h[A]}async function v(A){x.value=A,await Lo();const N=m.value,M=h[A],V=_.value;if(!N||!M||!V)return;const G=N.getBoundingClientRect(),U=M.getBoundingClientRect(),re=Math.max(0,G.width-V.offsetWidth);S.value=Math.min(Math.max(0,U.left-G.left),re)}function C(){x.value=null}return(A,N)=>(z(),Q("div",{ref_key:"rootEl",ref:m,class:Le(["lpb",[e.isDark?"lpb-dark":"lpb-light",{"lpb-stacked":e.stacked}]]),"data-covered":e.covered,"data-total":e.total,"data-pct":r.value,onMouseleave:C},[E("div",Qy,[E("span",{class:"lpb-span",style:tt({width:s.value+"%"}),"data-span-pct":s.value.toFixed(2)},[(z(!0),Q(Ce,null,At(i.value,M=>(z(),Q("button",{key:M.key,type:"button",class:Le(["lpb-seg",{active:x.value===M.key}]),style:tt({width:c(M)+"%",background:M.color}),"data-seg":M.key,"data-count":M.count||0,"aria-label":k(M),ref_for:!0,ref:V=>p(M.key,V),onMouseenter:V=>v(M.key),onFocus:V=>v(M.key),onBlur:C,onClick:Ht(V=>a("select-segment",M.key),["stop"])},null,46,t_))),128))],12,e_),l.value?(z(),Q("button",{key:0,type:"button",class:Le(["lpb-seg lpb-seg-rest",{active:x.value===l.value.key}]),style:tt({background:l.value.color}),"data-seg":l.value.key,"data-count":l.value.count||0,"aria-label":k(l.value),ref:M=>p(l.value.key,M),onMouseenter:N[0]||(N[0]=M=>v(l.value.key)),onFocus:N[1]||(N[1]=M=>v(l.value.key)),onBlur:C,onClick:N[2]||(N[2]=Ht(M=>a("select-segment",l.value.key),["stop"]))},null,46,o_)):me("",!0)]),e.showText?(z(),Q("span",{key:0,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(e.compact?r.value+"%":f.value),9,n_)):me("",!0),b.value?(z(),Q("div",{key:1,ref_key:"popEl",ref:_,class:"lpb-pop",role:"tooltip",style:tt({left:S.value+"px"})},[E("span",{class:"lpb-pop-dot",style:tt({background:b.value.color})},null,4),dt(ce(k(b.value)),1)],4)):me("",!0)],42,Xy))}},[["__scopeId","data-v-acafdbf6"]]),a_=["data-theme"],r_={class:"stl-inner"},s_={class:"stl-tb-caret-slot"},i_=["title"],l_={class:"stl-tb-eyebrow"},c_=["title","aria-label"],u_=["title"],d_={key:2,class:"stl-tb-title"},p_={key:0,class:"stl-tabs-wrap"},g_={class:"stl-tabs"},f_=["onClick"],h_=["title","onClick"],m_={key:0,class:"stl-info-pop"},b_={class:"stl-col-hdr"},y_={class:"stl-hdr-name"},__=["title"],v_={key:0,class:"stl-sort-arrow"},k_=["title"],w_={key:0,class:"stl-sort-arrow"},x_=["data-stl-node-id","onClick"],S_=["onClick"],A_={key:1,class:"stl-caret-sp"},$_={key:3,class:"stl-dot-sp"},L_={class:"stl-name"},C_={key:4,class:"stl-num"},T_={key:5,class:"stl-num"},E_={class:"stl-x-slot"},P_={key:0,class:"stl-empty stl-loading"},M_={key:1,class:"stl-empty"},N_={key:2,class:"stl-empty"},I_={key:3,class:"stl-overflow"},R_=["data-theme"],F_={class:"stl-reopen-label"},Lu=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}=kt();function a(w){const I="tabs."+((w==null?void 0:w.i18nKey)||(w==null?void 0:w.id));return w&&n(I)?o(I):(w==null?void 0:w.label)??""}const r=e,s=t,i=Zy(),l=Ee("legendProgress",null),c=X(()=>r.progress??be(l)??null),u=X(()=>c.value?o("legend.progress.title"):r.title),d=X(()=>((i==null?void 0:i.theme.value)||"dark")==="dark");function f(w,I){var oe;for(const de of w||[]){if((de==null?void 0:de.id)===I)return de;const ge=(oe=de==null?void 0:de.children)!=null&&oe.length?f(de.children,I):null;if(ge)return ge}return null}function k(w){const I=f(b.value,w);I&&W(I)}function m(w,I=0){return w!=null&&w.length?Math.max(...w.map(oe=>m(oe.children??[],I+1))):I}function _(w,I,oe=0){return oe===I?w.slice():w.flatMap(de=>_(de.children??[],I,oe+1))}function h(w,I,oe=[]){var de;for(const ge of w){if(ge.id===I)return oe;if((de=ge.children)!=null&&de.length){const Ae=h(ge.children,I,[...oe,ge]);if(Ae)return Ae}}return null}function x(w,I=new Set){var oe;if(!((oe=w==null?void 0:w.children)!=null&&oe.length))return I;for(const de of w.children)I.add(de.id),x(de,I);return I}function S(w,I="root"){var de;if(!Array.isArray(w))return[];const oe=[];for(const ge of w){if(!ge||typeof ge!="object"){try{console.warn("[SemanticTreeLegend] dropped null node under",I)}catch{}continue}oe.push((de=ge.children)!=null&&de.length?{...ge,children:S(ge.children,ge.label||ge.id||I)}:ge)}return oe}const b=X(()=>S(r.nodes)),p=X(()=>m(b.value)),v=X(()=>{const w=r.tabs??[],I=w.length||p.value+1;return Array.from({length:I},(oe,de)=>w[de]??{id:`gen${de+1}`,label:`Generation ${de+1}`})}),C=ue(Math.max(0,r.defaultTab|0)),A=ue(new Set),N=ue(null),M=ue(r.open!==null?r.open:!0),V=ue(null),G=ue(!1),U=ue(null),re=ue("desc"),B=X({get:()=>r.hideTabs?0:i?i.activeTab.value:C.value,set:w=>{r.hideTabs||(i?i.activeTab.value=w:C.value=w)}}),H=X({get:()=>i?i.selection.value:N.value,set:w=>{i?i.selection.value=w:N.value=w}}),L=X(()=>{var w;return((w=H.value)==null?void 0:w.id)||null}),K=ue(null);rt(()=>r.open,w=>{w!==null&&(M.value=w)}),rt(()=>b.value,()=>{const w=i==null?void 0:i.activeTab.value,I=Math.min(Math.max(0,r.defaultTab|0),Math.max(0,v.value.length-1));B.value=typeof w=="number"&&w>=0?w:I,A.value=new Set,H.value=null,s("select",null)},{deep:!1});let se=null;i&&rt(()=>i.selection.value,w=>{if((w==null?void 0:w.id)===se)return;if(!w){se=null;return}se=w.id;const I=h(b.value,w.id)||[];typeof w.depth=="number"&&(B.value=Math.min(w.depth,v.value.length-1));const oe=new Set;I.forEach(de=>oe.add(de.id)),A.value=oe,s("select",w)});function ye(w,I){const oe=(I.pop??0)-(w.pop??0);return oe!==0?oe:(I.count??0)-(w.count??0)}const ne=X(()=>{if(!U.value)return ye;const w=U.value,I=re.value==="asc"?1:-1;return(oe,de)=>((oe[w]??0)-(de[w]??0))*I});function te(w){U.value===w?re.value==="desc"?re.value="asc":(U.value=null,re.value="desc"):(U.value=w,re.value="desc")}const fe=ue([]),Me=ue(!1);let We=-1;function Ze(w){if(fe.value[w]){Me.value=!1;return}Me.value=!0,We=w,setTimeout(()=>{if(We!==w)return;const I=[..._(b.value,w)].sort(ne.value),oe=[...fe.value];oe[w]=I,fe.value=oe,Me.value=!1},0)}rt(B,w=>Ze(w),{immediate:!0}),rt(()=>[b.value,U.value,re.value],()=>{fe.value=[],Ze(B.value)},{deep:!1});const Xe=X(()=>fe.value[B.value]||[]),ot=X(()=>{var I;const w=(I=v.value[B.value])==null?void 0:I.topLimit;return w?Xe.value.slice(0,w):Xe.value}),Qe=X(()=>{var I;const w=(I=v.value[B.value])==null?void 0:I.topLimit;return w?Math.max(0,Xe.value.length-w):0});function gt(w,I,oe,de,ge){var Ae;for(const we of I)we&&(w.push({node:we,relDepth:oe,parent:de,ancestors:ge}),A.value.has(we.id)&&((Ae=we.children)!=null&&Ae.length)&>(w,[...we.children].sort(ne.value),oe+1,we,[...ge,we]))}const et=X(()=>{const w=[];gt(w,ot.value,0,null,[]);for(let I=0;Ige+1&&Re.ancestors[ge]}if(ge===oe.relDepth-1){let ft=!1;for(let Re=I+1;ReL.value!==null),$=X(()=>r.columns.includes("count")),P=X(()=>r.columns.includes("pop")),T=X(()=>H.value?x(H.value):new Set),O=X(()=>{var Ae;const w=H.value;if(!w)return null;const I=h(b.value,w.id);if(!I||!I.length)return null;const oe=I[I.length-1],de=I.length-1,ge=((Ae=v.value[de])==null?void 0:Ae.label)||"Parent";return{node:oe,tabName:ge,depth:de}});function W(w){L.value===w.id?(se=null,H.value=null,s("select",null)):(se=w.id,H.value=w,s("select",w))}function q(w,I){I==null||I.stopPropagation();const oe=new Set(A.value),de=oe.has(w);if(de?oe.delete(w):oe.add(w),A.value=oe,de&&H.value){const ge=h(b.value,H.value.id);ge&&ge.some(Ae=>Ae.id===w)&&(se=null,H.value=null,s("select",null))}}function Z(){const w=O.value;w!=null&&w.node&&(!r.hideTabs&&typeof w.depth=="number"&&(B.value=w.depth),A.value=new Set,W(w.node))}function Y(w){if(B.value===w){V.value=V.value===w?null:w;return}B.value=w,A.value=new Set,se=null,H.value=null,V.value=null,s("select",null)}function g(w){w==null||w.stopPropagation(),se=null,H.value=null,s("select",null)}function y(w,I){I==null||I.stopPropagation(),V.value=V.value===w?null:w}rt(L,w=>{w||(G.value=!1)});function R(w){let I=w.parentElement;for(;I;){const oe=getComputedStyle(I).overflowY;if((oe==="auto"||oe==="scroll")&&I.scrollHeight>I.clientHeight+1){const de=w.getBoundingClientRect(),ge=I.getBoundingClientRect();I.scrollTop+=de.top-ge.top-8}I=I.parentElement}}let j=0;rt(L,async w=>{if(!w)return;const I=++j,oe=K.value;if(!oe)return;await Lo();const de=(ge=0)=>{if(I!==j)return;const Ae=oe.querySelector(`[data-stl-node-id="${CSS.escape(String(w))}"]`);Ae&&R(Ae),ge<6&&setTimeout(()=>de(ge+1),70)};de(0)});function ie(w){return w?w>=1e6?(w/1e6).toFixed(1)+"M":w>=1e3?Math.round(w/1e3)+"k":w.toLocaleString():"—"}function ae(w){return w!=null?w.toLocaleString():"—"}function F(w){var I;return{selected:L.value===w.node.id,descendant:xt.value&&T.value.has(w.node.id),child:w.relDepth>0,leaf:!((I=w.node.children)!=null&&I.length)}}return wt(` .stl-inner { --stl-pad-x: 10px; --stl-gap: 6px; @@ -538,7 +538,7 @@ .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"),(w,I)=>{var oe,de,ge,Ae;return z(),Q(Ce,null,[E("div",{class:Le(["stl-panel",{closed:!M.value,"fit-content":e.hideTabs}]),"data-theme":((oe=be(i))==null?void 0:oe.theme.value)||"dark"},[E("div",r_,[E("div",{class:Le(["stl-titlebar",{"has-progress":!!c.value}])},[E("span",s_,[sn(w.$slots,"title-caret",{},void 0,!0)]),w.$slots["title-caret"]?me("",!0):(z(),Q("button",{key:0,class:Le(["stl-collapse-btn",{closed:!M.value}]),title:M.value?"Collapse legend":"Expand legend",onClick:I[0]||(I[0]=we=>{M.value=!M.value,s("update:open",M.value)})},[...I[8]||(I[8]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,i_)),O.value&&H.value?(z(),Q(Ce,{key:1},[E("span",l_,ce(O.value.tabName),1),E("button",{type:"button",class:"stl-tb-up",title:`Go up to ${O.value.node.label}`,"aria-label":`Go up to ${O.value.tabName} ${O.value.node.label}`,onClick:Ht(Z,["stop"])},[I[9]||(I[9]=E("svg",{class:"stl-tb-up-icon",width:"9",height:"9",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[E("path",{d:"M3 7.5L6 4.5L9 7.5",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),O.value.node.color?(z(),Q("span",{key:0,class:"stl-tb-dot",style:tt({background:O.value.node.color})},null,4)):me("",!0),E("span",{class:"stl-tb-text",title:O.value.node.label},ce(O.value.node.label),9,u_)],8,c_)],64)):(z(),Q("span",d_,ce(u.value),1)),me("",!0),c.value?(z(),st($u,{key:4,class:"stl-progress","show-text":!1,covered:c.value.covered,total:c.value.total,segments:c.value.segments,"is-dark":d.value,"fmt-count":ae,onSelectSegment:k},null,8,["covered","total","segments","is-dark"])):me("",!0)],2),e.hideTabs?me("",!0):(z(),Q("div",p_,[E("div",g_,[(z(!0),Q(Ce,null,At(v.value,(we,ft)=>(z(),Q("div",{key:we.id,class:Le(["stl-tab-chip",{active:B.value===ft}])},[E("button",{class:"stl-tab",onClick:Re=>Y(ft)},ce(a(we)),9,f_),we.info?(z(),Q("button",{key:0,class:"stl-tab-info",title:we.info,onClick:Re=>_(ft,Re)},"i",8,h_)):me("",!0)],2))),128))]),V.value!==null&&((de=v.value[V.value])!=null&&de.info)?(z(),Q("div",m_,ce(v.value[V.value].info),1)):me("",!0)])),E("div",b_,[I[13]||(I[13]=E("span",{class:"stl-caret-sp"},null,-1)),I[14]||(I[14]=E("span",{class:"stl-dot-sp"},null,-1)),E("span",y_,ce(e.columnLabel||(e.hideTabs?e.title:a(v.value[B.value])||be(o)("legend.columns.name"))),1),$.value?(z(),Q("button",{key:0,class:Le(["stl-hdr-num",{active:U.value==="count"}]),title:be(o)("legend.sortByUpgs"),onClick:I[4]||(I[4]=we=>te("count"))},[dt(ce(be(o)("legend.columns.upgs"))+" ",1),U.value==="count"?(z(),Q("span",v_,ce(re.value==="desc"?"▼":"▲"),1)):me("",!0)],10,__)):me("",!0),P.value?(z(),Q("button",{key:1,class:Le(["stl-hdr-num",{active:U.value==="pop"}]),title:be(o)("legend.sortByPop"),onClick:I[5]||(I[5]=we=>te("pop"))},[dt(ce(be(o)("legend.columns.population"))+" ",1),U.value==="pop"?(z(),Q("span",w_,ce(re.value==="desc"?"▼":"▲"),1)):me("",!0)],10,k_)):me("",!0),I[15]||(I[15]=E("span",{class:"stl-x-slot"},null,-1))]),E("div",{class:Le(["stl-rows",{"has-sel":xt.value}]),ref_key:"rowsContainer",ref:K},[(z(!0),Q(Ce,null,At(et.value,we=>{var ft,Re;return z(),Q("div",{key:we.node.id,class:Le(["stl-row",F(we)]),"data-stl-node-id":we.node.id,style:tt({"--trunk-color":((ft=we.parent)==null?void 0:ft.color)||"#6e7681","--row-color":we.node.color||"#73A17F"}),onClick:Ke=>W(we.node)},[(z(!0),Q(Ce,null,At(we.trunks,(Ke,wn)=>(z(),Q("span",{key:`tr${wn}`,class:Le(["stl-trunk",`stl-trunk-${Ke}`])},null,2))),128)),(Re=we.node.children)!=null&&Re.length?(z(),Q("button",{key:0,class:Le(["stl-caret",{open:A.value.has(we.node.id)}]),onClick:Ht(Ke=>q(we.node.id,Ke),["stop"])},[...I[16]||(I[16]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,S_)):(z(),Q("span",A_)),we.node.color?(z(),Q("span",{key:2,class:"stl-dot",style:tt({background:we.node.color})},null,4)):(z(),Q("span",$_)),E("span",L_,ce(we.node.label),1),$.value?(z(),Q("span",C_,ce(ae(we.node.count)),1)):me("",!0),P.value?(z(),Q("span",T_,ce(ie(we.node.pop)),1)):me("",!0),E("span",E_,[L.value===we.node.id?(z(),Q("button",{key:0,class:"stl-x-chip",title:"Clear selection",onClick:I[6]||(I[6]=Ht(Ke=>g(Ke),["stop"]))},[...I[17]||(I[17]=[E("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])])):me("",!0)])],14,x_)}),128)),Me.value&&!et.value.length?(z(),Q("div",P_,[I[18]||(I[18]=E("span",{class:"stl-spinner"},null,-1)),E("span",null,"Loading "+ce(((ge=v.value[B.value])==null?void 0:ge.label)||"rows")+"…",1)])):!et.value.length&&e.nodes.length===0?(z(),Q("div",M_,"Loading data…")):et.value.length?me("",!0):(z(),Q("div",N_,"No data at this level")),Qe.value>0?(z(),Q("div",I_,[dt(" Showing top "+ce(v.value[B.value].topLimit.toLocaleString())+" of "+ce(Xe.value.length.toLocaleString())+" — ",1),I[19]||(I[19]=E("span",{class:"stl-overflow-hint"},"use the geocoder above to find the rest",-1))])):me("",!0)],2)])],10,a_),M.value?me("",!0):(z(),Q("button",{key:0,class:"stl-reopen","data-theme":((Ae=be(i))==null?void 0:Ae.theme.value)||"dark",title:"Expand legend",onClick:I[7]||(I[7]=we=>{M.value=!0,s("update:open",!0)})},[I[20]||(I[20]=E("svg",{class:"stl-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),E("span",F_,[H.value?(z(),Q(Ce,{key:0},[H.value.color?(z(),Q("span",{key:0,class:"stl-reopen-dot",style:tt({background:H.value.color})},null,4)):me("",!0),dt(" "+ce(H.value.label),1)],64)):(z(),Q(Ce,{key:1},[dt(ce(u.value),1)],64))]),I[21]||(I[21]=E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",class:"stl-reopen-caret"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,R_))],64)}}},[["__scopeId","data-v-78a7a96e"]]),Cu="peoplePraying",nr=144,Fo={noPrayer:"#e74c3c",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},Yo=Fo,Ss={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},O_=Ss;function ar(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>=nr?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function As(e){return Fo[ar(e)]}function Tu(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 Eu(e){return ar(e)==="fullPrayer"}function Pu(e){return As(e)}function $s({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,nr],Fo.fullPrayer,[">",t,0],Fo.hasPrayer,Fo.noPrayer]}const Mu=$s,D_=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:nr,LABELS:Ss,PALETTE:Fo,PRAYER_COLORS:Yo,PRAYER_LABELS:O_,PROPERTY_KEY:Cu,applyColor:$s,buildColorExpression:Mu,checkHasFullPrayer:Eu,checkHasPrayer:Tu,default:{name:"Prayer Progress",propertyKey:Cu,palette:Fo,colors:Fo,labels:Ss,threshold:nr,getColor:Pu,applyColor:$s,buildColorExpression:Mu,getPrayerLevel:ar,getPrayerColor:As,checkHasPrayer:Tu,checkHasFullPrayer:Eu},getColor:Pu,getPrayerColor:As,getPrayerLevel:ar},Symbol.toStringTag,{value:"Module"}));function Nu(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Zo&&Zo.tagName.toUpperCase()==="SCRIPT"&&Zo.src||new URL("my-upg-100-list.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}const Ls=ue(0),rr=ue(0),sr=ue(0),Cs=ue(!1),Ts=ue(!1),Es=ue(null);let oa=null;async function B_(){if(!Cs.value)return oa||(Ts.value=!0,Es.value=null,oa=(async()=>{var e,t;try{const o=((e=ta==null?void 0:ta.sources)==null?void 0:e[ta.activeSource])||{},n=Nu(),a=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",r=await fetch(`${n}${a}`,{cache:"no-store"});if(!r.ok)throw new Error(`statistics HTTP ${r.status}`);const s=await r.json();Ls.value=Number(s.total||0),rr.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),sr.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),Cs.value=!0}catch(o){Es.value=o&&o.message?o.message:String(o)}finally{Ts.value=!1,oa=null}})(),oa)}function j_(){return{total:Ls,withPrayer:rr,withFullPrayer:sr,loaded:Cs,loading:Ts,error:Es,load:B_,noPrayerCount:()=>Math.max(0,Ls.value-rr.value),hasPrayerCount:()=>Math.max(0,rr.value-sr.value),fullPrayerCount:()=>sr.value}}const Iu="engagementStatus",xo={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Ps=xo,Ms={notEngaged:"Unengaged",hasEngagement:"Engaged"},G_=Ms;function Ru(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 Ns({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 Fu=Ns,U_=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Ps,ENGAGEMENT_LABELS:G_,LABELS:Ms,PALETTE:xo,PROPERTY_KEY:Iu,applyColor:Ns,buildColorExpression:Fu,default:{name:"Engagement Progress",propertyKey:Iu,palette:xo,colors:xo,labels:Ms,getColor:Ru,applyColor:Ns,buildColorExpression:Fu},getColor:Ru},Symbol.toStringTag,{value:"Module"})),Ou="adoptionStatus",So={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},Is=So,Rs={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},K_=Rs;function Du(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 Fs({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 Bu=Fs,H_=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Is,ADOPTION_LABELS:K_,LABELS:Rs,PALETTE:So,PROPERTY_KEY:Ou,applyColor:Fs,buildColorExpression:Bu,default:{name:"Adoption Progress",propertyKey:Ou,palette:So,colors:So,labels:Rs,getColor:Du,applyColor:Fs,buildColorExpression:Bu},getColor:Du},Symbol.toStringTag,{value:"Module"})),Os="languageFamily",z_="#000000",Oo={"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"},ju=Oo;function Yt(e){return Oo[e]||z_}const V_=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Oo))t[e(o)]=o;return t})();function Ds(e){if(!e)return"Unknown";const t=String(e).trim();return V_[t.toLowerCase()]||t}function Gu(e){var t;return Yt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Bs(){const e=["match",["get",Os]];return Object.entries(Oo).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Uu=Bs,W_=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:ju,PALETTE:Oo,PROPERTY_KEY:Os,applyColor:Bs,buildColorExpression:Uu,canonicalFamilyName:Ds,default:{name:"Language Family",propertyKey:Os,palette:Oo,colors:Oo,getColor:Gu,applyColor:Bs,buildColorExpression:Uu,getLanguageFamilyColor:Yt,canonicalFamilyName:Ds},defaultFamilyColor:"#95a5a6",getColor:Gu,getLanguageFamilyColor:Yt,languageFamilyColors:Oo},Symbol.toStringTag,{value:"Module"})),Ku="religion",js="#94a3b8",na={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Dt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function aa(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return na[t]?t:"U"}function Hu(e){var o,n,a;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)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Dt[aa(t)]||js}function Gs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Dt.C,"M",Dt.M,"H",Dt.H,"B",Dt.B,"E",Dt.E,"J",Dt.J,"S",Dt.S,"N",Dt.N,"O",Dt.O,js]}const zu=Gs,Y_=Object.assign({"./adoption.js":H_,"./engagement.js":U_,"./language-family.js":W_,"./prayer-progress.js":D_,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Dt,PROPERTY_KEY:Ku,RELIGION_FAMILIES:na,applyColor:Gs,buildColorExpression:zu,default:{name:"Religion",propertyKey:Ku,palette:Dt,families:na,getColor:Hu,applyColor:Gs,buildColorExpression:zu,fallback:js},getColor:Hu,getReligionFamily:aa},Symbol.toStringTag,{value:"Module"}))}),J_=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),q_=e=>e.replace(/-/g,"_").toUpperCase(),yn={...{STATUS:"status",CUSTOM:"custom"}},Us={};function Z_(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 a=J_(o);yn[q_(o)]=a,Us[a]=n}}Z_(Y_);function ir(e){return Us[e]||Us[yn.LANGUAGE_FAMILY]}const $t={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 X_(e){return(e==null?void 0:e.properties)||e||{}}function lr(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Q_(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($t[n])return $t[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if($t[a])return $t[a]}}if($t[e])return $t[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&$t[o]?$t[o]:null}const e0=[[/ sign language$/i,"Sign Language"]];function t0(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function o0(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function n0(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=lr(t),n=Ds(o);if(n&&n!=="Unknown")return n;const a=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),r=lr(a);if(r){const u=String(r).trim(),d=Q_(u);if(d)return d;for(const[h,k]of e0)if(h.test(u))return k}return"Unknown"}function a0(e){var a,r;const t=((a=e._raw)==null?void 0:a.primary_language)??((r=e._raw)==null?void 0:r.PrimaryLanguage);if(t){const s=lr(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=lr(o);return n&&String(n).trim()||"— Unknown —"}function r0(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 s0(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 i0(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function l0(e,t){var a,r,s,i;const o=parseFloat(t.latitude??t.lat??((a=t._raw)==null?void 0:a.Latitude)??((r=t._raw)==null?void 0:r.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 c0(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function cr(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Vu(e,t={}){t.aggregator;const o=en({});function n(y){return!!o[y]}function a(y){o[y]=!o[y]}function r(y){const m=new Set(Array.isArray(y)?y:[]);for(const x of Object.keys(o))m.has(x)||(o[x]=!1);for(const x of m)o[x]=!0}const s=X(()=>{const y=(e==null?void 0:e.value)||[],m=new Map;for(const x of y){const S=X_(x),b=n0(S),p=a0(S),v=t0(p),C=o0(p),A=r0(S),N=s0(x,S),M=i0(x,S),V=l0(x,S);let G=m.get(b);G||(G={key:b,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},m.set(b,G)),G.peopleGroupCount+=1,G.population+=A,N!=null&&G.pinIds.push(N),V&&G.coords.push(V),M&&!G.clusterId&&(G.clusterId=M);let U=G.languages.get(v);if(U||(U={key:v,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},G.languages.set(v,U)),U.peopleGroupCount+=1,U.population+=A,N!=null&&U.pinIds.push(N),V&&U.coords.push(V),M&&!U.clusterId&&(U.clusterId=M),C){let re=U.dialects.get(C);re?re.originalLabels.add(p):(re={key:C,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([p])},U.dialects.set(C,re)),re.peopleGroupCount+=1,re.population+=A,N!=null&&re.pinIds.push(N),V&&re.coords.push(V)}}return m}),i=t.showAllKnown!==!1,l=X(()=>{const y=s.value,m=[],x=new Set;for(const S of y.values())m.push({key:S.key,label:S.key,color:Yt(S.key),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"family",clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords}),x.add(S.key);if(i)for(const S of Object.keys(ju))x.has(S)||m.push({key:S,label:S,color:Yt(S),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return m.sort(c0),m});function c(y){const m=s.value.get(y);if(!m)return[];const x=[];for(const S of m.languages.values())x.push({key:`${y}__${S.key}`,label:S.key,color:Yt(y),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"language",familyKey:y,clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords,hasDialects:S.dialects.size>0});return x.sort(cr),x}function u(y){const m=y.indexOf("__");if(m<0)return[];const x=y.slice(0,m),S=y.slice(m+2),b=s.value.get(x);if(!b)return[];const p=b.languages.get(S);if(!p)return[];const v=[];for(const C of p.dialects.values())v.push({key:`${y}__${C.key}`,label:`${S}, ${C.key}`,dialectOnly:C.key,color:Yt(x),peopleGroupCount:C.peopleGroupCount,population:C.population,kind:"dialect",languageKey:S,familyKey:x,pinIds:C.pinIds,coords:C.coords,originalLabels:Array.from(C.originalLabels)});return v.sort(cr),v}const d=X(()=>{const y=s.value,m=[];for(const x of y.values())for(const S of x.languages.values())m.push({key:`${x.key}__${S.key}`,label:S.key,color:Yt(x.key),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"language",familyKey:x.key,clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords,hasDialects:S.dialects.size>0});return m.sort(cr),m}),h=X(()=>{const y=s.value,m=[];for(const x of y.values())for(const S of x.languages.values())for(const b of S.dialects.values())m.push({key:`${x.key}__${S.key}__${b.key}`,label:`${S.key}, ${b.key}`,dialectOnly:b.key,color:Yt(x.key),peopleGroupCount:b.peopleGroupCount,population:b.population,kind:"dialect",languageKey:S.key,familyKey:x.key,pinIds:b.pinIds,coords:b.coords,originalLabels:Array.from(b.originalLabels)});return m.sort(cr),m});function k(y){let m=y;if(typeof y=="string"&&(m=l.value.find(S=>S.key===y),!m))return;const x={kind:m.kind,pinIds:m.pinIds||[],coords:m.coords||[]};m.kind==="family"&&(x.familyKey=m.label),m.kind==="language"&&(x.languageKey=m.label,x.familyKey=m.familyKey),m.kind==="dialect"&&(x.dialectKey=m.key,x.dialectOnly=m.dialectOnly||m.label,x.languageKey=m.languageKey,x.familyKey=m.familyKey,x.originalLabels=m.originalLabels||[]),m.kind==="cluster"&&(x.clusterId=m.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:x}))}const f=X(()=>{const y=s.value,m=[];for(const x of y.values()){const S=Yt(x.key),b=[];for(const v of x.languages.values()){v.key&&v.key!=="— Unknown —"&&b.push(v.key);for(const C of v.dialects.values())for(const A of C.originalLabels)A&&b.push(A)}const p={id:`fam:${x.key}`,label:x.key,color:S,count:x.peopleGroupCount,pop:x.population,filter:b.length>0?["any",["==",["get","languageFamily"],x.key],["in",["get","language"],["literal",Array.from(new Set(b))]]]:["==",["get","languageFamily"],x.key],children:[]};for(const v of x.languages.values()){const C=v.key,A={id:`lang:${x.key}__${C}`,label:C,color:S,count:v.peopleGroupCount,pop:v.population,filter:["any",["==",["get","language"],C],["==",["slice",["get","language"],0,C.length+1],C+","],["in"," "+C,["get","language"]]],children:[]};for(const N of v.dialects.values()){const M=Array.from(N.originalLabels);A.children.push({id:`dial:${x.key}__${C}__${N.key}`,label:`${C}, ${N.key}`,color:S,count:N.peopleGroupCount,pop:N.population,filter:M.length===1?["==",["get","language"],M[0]]:["in",["get","language"],["literal",M]],originalLabels:M,children:[]})}p.children.push(A)}m.push(p)}return m.sort((x,S)=>S.pop-x.pop||S.count-x.count),m});return{rows:l,languageRows:d,dialectRows:h,langTree:f,toggle:a,isExpanded:n,setExpansionToOnly:r,childRowsFor:c,dialectRowsFor:u,highlight:k}}const u0=[];function d0(){const e=ir(yn.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function p0(){const e=ir(yn.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function g0(){const e=ir(yn.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const a of Object.keys(t))n[t[a]]=o[a]||"#999";return n}function Jo(e,t){const a=Object.values(e.sources||{}).flatMap(r=>(r==null?void 0:r.features)||[]).filter(r=>t(r.properties||r));return{count:a.length,population:a.reduce((r,s)=>{var l;const i=s.properties||s;return r+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const Wu=100;function f0(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 Ks(e){return t=>{const o=f0(t);return e==="fullPrayer"?o>=Wu:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function Ju(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 h0={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 m0(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function b0(e){return(Number(e)||0).toLocaleString()}function y0(e,t={}){const o=Ee("dataStore"),n=Ee("uiStore"),a=Ee("mapStore"),{t:r}=kt(),s=j_();s.load();const i=X(()=>{if(_n(e.value)==="religion")return"Religion";const x=h0[e.value];return x?r(x):""}),l=X(()=>_n(e.value)==="affinity-blocs"?u0:[{key:"count",label:r("legend.columns.upgs"),width:48},{key:"population",label:r("legend.columns.population"),width:48}]),c=X(()=>{const m=_n(e.value);return m==="prayer"?n.prayerFilter:m==="engagement"?n.engagementFilter:m==="adoption"?n.adoptionFilter:m==="language-families"?a.selectedFamily:m==="doxa-regions"?a.selectedRegion:m==="gospel-resources"?a.selectedResource:m==="religion"?n.religionFilter:null});function u(m){const x=_n(e.value);x==="prayer"?n.setPrayerFilter(n.prayerFilter===m?null:m):x==="engagement"?n.setEngagementFilter(n.engagementFilter===m?null:m):x==="adoption"?n.setAdoptionFilter(n.adoptionFilter===m?null:m):x==="language-families"?a.selectFamily(a.selectedFamily===m?null:m):x==="doxa-regions"?a.selectRegion(a.selectedRegion===m?null:m):x==="gospel-resources"?a.selectResource(a.selectedResource===m?null:m):x==="religion"&&n.setReligionFilter(n.religionFilter===m?null:m)}const d=X(()=>{var x,S,b,p;const m=_n(e.value);if(m==="prayer"){const v=Jo(o,Ks("noPrayer")),C=Jo(o,Ks("hasPrayer")),A=Jo(o,Ks("fullPrayer")),N=s.loaded.value,M=N?s.noPrayerCount():v.count,V=N?s.hasPrayerCount():C.count,G=N?s.fullPrayerCount():A.count;return[{key:"noPrayer",label:r("legend.prayer.needsPrayer"),color:Yo.noPrayer,count:M,population:v.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:r("legend.prayer.hasPrayer"),color:Yo.hasPrayer,count:V,population:C.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:r("legend.prayer.fullPrayerCoverage"),color:Yo.fullPrayer,count:G,population:A.population,filterKey:"fullPrayer"}]}]}if(m==="engagement"){const v=Jo(o,A=>!Yu(A)),C=Jo(o,A=>Yu(A));return[{key:"notEngaged",label:r("legend.engagement.needsEngagement"),color:Ps.notEngaged,count:v.count,population:v.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:r("legend.engagement.hasEngagement"),color:Ps.hasEngagement,count:C.count,population:C.population,filterKey:"hasEngagement"}]}]}if(m==="adoption"){const v=Jo(o,A=>!Ju(A)),C=Jo(o,A=>Ju(A));return[{key:"notAdopted",label:r("legend.adoption.needsAdoption"),color:Is.notAdopted,count:v.count,population:v.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:r("legend.adoption.hasAdoption"),color:Is.hasAdoption,count:C.count,population:C.population,filterKey:"hasAdoption"}]}]}if(m==="religion"){const v={},A=Object.values(o.sources||{}).flatMap(V=>(V==null?void 0:V.features)||[]);for(const V of A){const G=V.properties||V,U=G.religion||((S=(x=G._raw)==null?void 0:x.religion)==null?void 0:S.value)||((b=G._raw)==null?void 0:b.religion)||"",re=aa(U);v[re]||(v[re]={count:0,population:0}),v[re].count+=1,v[re].population+=parseInt(G.population||((p=G._raw)==null?void 0:p.Population)||0)||0}const N=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const V of N)delete v[V];return Object.keys(v).sort((V,G)=>V==="C"?-1:G==="C"?1:v[G].population-v[V].population).map(V=>({key:V,label:na[V]||"Unknown",color:Dt[V]||"#94a3b8",count:v[V].count,population:v[V].population,filterKey:V,children:[]}))}if(m==="language-families")return(o.languageFamiliesData||[]).map(v=>({key:v.name,label:v.name,color:Yt(v.name),count:v.count,population:v.population,filterKey:v.name,children:[]}));if(m==="language-family"){const C={value:Object.values(o.sources||{}).flatMap(N=>(N==null?void 0:N.features)||[])},{rows:A}=Vu(C);return A.value.map(N=>({key:N.key,label:N.label,color:N.color,count:N.peopleGroupCount,population:N.population,filterKey:N.key,children:[]}))}if(m==="doxa-regions"){const v=p0();return(o.doxaRegionsData||[]).map(C=>({key:C.name,label:C.name,color:v[C.name]||"#999",count:C.count,population:C.population,filterKey:C.name,children:[]}))}if(m==="gospel-resources"){const v=d0(),C=(v==null?void 0:v.palette)??{},A=(v==null?void 0:v.names)??{},N=o.resourcesData||[];return Object.keys(C).map(M=>{const V=N.find(G=>G.key===M);return{key:M,label:A[M]||M,color:C[M],count:(V==null?void 0:V.count)||0,population:(V==null?void 0:V.population)||0,filterKey:M,children:((V==null?void 0:V.children)||[]).map(G=>({key:G.key,label:G.name||G.key,color:G.color||C[M],count:G.count||0,population:G.population||0,filterKey:G.key}))}})}if(m==="affinity-blocs"){const v=g0();return Object.keys(v).sort().map(C=>({key:C,label:C,color:v[C],filterKey:C,children:[]}))}return[]});function h(m,x){return m.reduce((S,b)=>{var v;let p=b[x]||0;return(v=b.children)!=null&&v.length&&(p+=h(b.children,x)),S+p},0)}const k=X(()=>h(d.value,"count")),f=X(()=>h(d.value,"population")),y=X(()=>{if(_n(e.value)!=="prayer")return null;const m=d.value[0];if(!m)return null;const x=(m.children||[]).find(A=>A.key==="hasPrayer"),S=(m.children||[]).find(A=>A.key==="fullPrayer"),b=Number(m.count)||0,p=Number(x==null?void 0:x.count)||0,v=Number(S==null?void 0:S.count)||0,C=(Number(x==null?void 0:x.population)||0)+(Number(S==null?void 0:S.population)||0);return{covered:p+v,total:k.value,coveredPopulation:C,totalPopulation:f.value,segments:[{key:"fullPrayer",label:(S==null?void 0:S.label)??r("legend.prayer.fullPrayerCoverage"),count:v,color:Yo.fullPrayer},{key:"hasPrayer",label:(x==null?void 0:x.label)??r("legend.prayer.hasPrayer"),count:p,color:Yo.hasPrayer},{key:"noPrayer",label:m.label,count:b,color:Yo.noPrayer}]}});return{items:d,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:k,totalPopulation:f,progress:y,fmtPop:m0,fmtCount:b0}}const _0={excludeReligionFamilies:["C"]},v0={key:0,class:"lrg-title-row"},k0={class:"lrg-title-caret-slot"},w0={class:"lrg-title"},x0=["data-lrg-filter-key"],S0=["onClick"],A0={key:1,class:"lrg-caret-placeholder","aria-hidden":"true"},$0=["onClick"],L0={class:"lrg-name"},C0={class:"lrg-badge-inner"},T0=["data-lrg-filter-key"],E0=["onClick"],P0={class:"lrg-name"},M0={class:"lrg-badge-inner"},N0={key:1,class:"lrg-footer"},I0={class:"lrg-footer-label"},R0=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}=kt();wt(` +`,"semantic-tree-legend"),(w,I)=>{var oe,de,ge,Ae;return z(),Q(Ce,null,[E("div",{class:Le(["stl-panel",{closed:!M.value,"fit-content":e.hideTabs}]),"data-theme":((oe=be(i))==null?void 0:oe.theme.value)||"dark"},[E("div",r_,[E("div",{class:Le(["stl-titlebar",{"has-progress":!!c.value}])},[E("span",s_,[sn(w.$slots,"title-caret",{},void 0,!0)]),w.$slots["title-caret"]?me("",!0):(z(),Q("button",{key:0,class:Le(["stl-collapse-btn",{closed:!M.value}]),title:M.value?"Collapse legend":"Expand legend",onClick:I[0]||(I[0]=we=>{M.value=!M.value,s("update:open",M.value)})},[...I[8]||(I[8]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,i_)),O.value&&H.value?(z(),Q(Ce,{key:1},[E("span",l_,ce(O.value.tabName),1),E("button",{type:"button",class:"stl-tb-up",title:`Go up to ${O.value.node.label}`,"aria-label":`Go up to ${O.value.tabName} ${O.value.node.label}`,onClick:Ht(Z,["stop"])},[I[9]||(I[9]=E("svg",{class:"stl-tb-up-icon",width:"9",height:"9",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true"},[E("path",{d:"M3 7.5L6 4.5L9 7.5",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),O.value.node.color?(z(),Q("span",{key:0,class:"stl-tb-dot",style:tt({background:O.value.node.color})},null,4)):me("",!0),E("span",{class:"stl-tb-text",title:O.value.node.label},ce(O.value.node.label),9,u_)],8,c_)],64)):(z(),Q("span",d_,ce(u.value),1)),me("",!0),c.value?(z(),st($u,{key:4,class:"stl-progress","show-text":!1,covered:c.value.covered,total:c.value.total,segments:c.value.segments,"is-dark":d.value,"fmt-count":ae,onSelectSegment:k},null,8,["covered","total","segments","is-dark"])):me("",!0)],2),e.hideTabs?me("",!0):(z(),Q("div",p_,[E("div",g_,[(z(!0),Q(Ce,null,At(v.value,(we,ft)=>(z(),Q("div",{key:we.id,class:Le(["stl-tab-chip",{active:B.value===ft}])},[E("button",{class:"stl-tab",onClick:Re=>Y(ft)},ce(a(we)),9,f_),we.info?(z(),Q("button",{key:0,class:"stl-tab-info",title:we.info,onClick:Re=>y(ft,Re)},"i",8,h_)):me("",!0)],2))),128))]),V.value!==null&&((de=v.value[V.value])!=null&&de.info)?(z(),Q("div",m_,ce(v.value[V.value].info),1)):me("",!0)])),E("div",b_,[I[13]||(I[13]=E("span",{class:"stl-caret-sp"},null,-1)),I[14]||(I[14]=E("span",{class:"stl-dot-sp"},null,-1)),E("span",y_,ce(e.columnLabel||(e.hideTabs?e.title:a(v.value[B.value])||be(o)("legend.columns.name"))),1),$.value?(z(),Q("button",{key:0,class:Le(["stl-hdr-num",{active:U.value==="count"}]),title:be(o)("legend.sortByUpgs"),onClick:I[4]||(I[4]=we=>te("count"))},[dt(ce(be(o)("legend.columns.upgs"))+" ",1),U.value==="count"?(z(),Q("span",v_,ce(re.value==="desc"?"▼":"▲"),1)):me("",!0)],10,__)):me("",!0),P.value?(z(),Q("button",{key:1,class:Le(["stl-hdr-num",{active:U.value==="pop"}]),title:be(o)("legend.sortByPop"),onClick:I[5]||(I[5]=we=>te("pop"))},[dt(ce(be(o)("legend.columns.population"))+" ",1),U.value==="pop"?(z(),Q("span",w_,ce(re.value==="desc"?"▼":"▲"),1)):me("",!0)],10,k_)):me("",!0),I[15]||(I[15]=E("span",{class:"stl-x-slot"},null,-1))]),E("div",{class:Le(["stl-rows",{"has-sel":xt.value}]),ref_key:"rowsContainer",ref:K},[(z(!0),Q(Ce,null,At(et.value,we=>{var ft,Re;return z(),Q("div",{key:we.node.id,class:Le(["stl-row",F(we)]),"data-stl-node-id":we.node.id,style:tt({"--trunk-color":((ft=we.parent)==null?void 0:ft.color)||"#6e7681","--row-color":we.node.color||"#73A17F"}),onClick:Ke=>W(we.node)},[(z(!0),Q(Ce,null,At(we.trunks,(Ke,wn)=>(z(),Q("span",{key:`tr${wn}`,class:Le(["stl-trunk",`stl-trunk-${Ke}`])},null,2))),128)),(Re=we.node.children)!=null&&Re.length?(z(),Q("button",{key:0,class:Le(["stl-caret",{open:A.value.has(we.node.id)}]),onClick:Ht(Ke=>q(we.node.id,Ke),["stop"])},[...I[16]||(I[16]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,S_)):(z(),Q("span",A_)),we.node.color?(z(),Q("span",{key:2,class:"stl-dot",style:tt({background:we.node.color})},null,4)):(z(),Q("span",$_)),E("span",L_,ce(we.node.label),1),$.value?(z(),Q("span",C_,ce(ae(we.node.count)),1)):me("",!0),P.value?(z(),Q("span",T_,ce(ie(we.node.pop)),1)):me("",!0),E("span",E_,[L.value===we.node.id?(z(),Q("button",{key:0,class:"stl-x-chip",title:"Clear selection",onClick:I[6]||(I[6]=Ht(Ke=>g(Ke),["stop"]))},[...I[17]||(I[17]=[E("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M2 2L10 10M10 2L2 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])])):me("",!0)])],14,x_)}),128)),Me.value&&!et.value.length?(z(),Q("div",P_,[I[18]||(I[18]=E("span",{class:"stl-spinner"},null,-1)),E("span",null,"Loading "+ce(((ge=v.value[B.value])==null?void 0:ge.label)||"rows")+"…",1)])):!et.value.length&&e.nodes.length===0?(z(),Q("div",M_,"Loading data…")):et.value.length?me("",!0):(z(),Q("div",N_,"No data at this level")),Qe.value>0?(z(),Q("div",I_,[dt(" Showing top "+ce(v.value[B.value].topLimit.toLocaleString())+" of "+ce(Xe.value.length.toLocaleString())+" — ",1),I[19]||(I[19]=E("span",{class:"stl-overflow-hint"},"use the geocoder above to find the rest",-1))])):me("",!0)],2)])],10,a_),M.value?me("",!0):(z(),Q("button",{key:0,class:"stl-reopen","data-theme":((Ae=be(i))==null?void 0:Ae.theme.value)||"dark",title:"Expand legend",onClick:I[7]||(I[7]=we=>{M.value=!0,s("update:open",!0)})},[I[20]||(I[20]=E("svg",{class:"stl-reopen-icon",width:"11",height:"11",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M2 4h8M2 6h8M2 8h5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})],-1)),E("span",F_,[H.value?(z(),Q(Ce,{key:0},[H.value.color?(z(),Q("span",{key:0,class:"stl-reopen-dot",style:tt({background:H.value.color})},null,4)):me("",!0),dt(" "+ce(H.value.label),1)],64)):(z(),Q(Ce,{key:1},[dt(ce(u.value),1)],64))]),I[21]||(I[21]=E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none",class:"stl-reopen-caret"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,R_))],64)}}},[["__scopeId","data-v-78a7a96e"]]),Cu="peoplePraying",nr=144,Fo={noPrayer:"#e74c3c",hasPrayer:"#f0c64a",fullPrayer:"#22c55e"},Yo=Fo,Ss={noPrayer:"Needs Prayer",hasPrayer:"Has Prayer",fullPrayer:"Has Full Prayer Coverage"},O_=Ss;function ar(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>=nr?"fullPrayer":o>0?"hasPrayer":"noPrayer"}function As(e){return Fo[ar(e)]}function Tu(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 Eu(e){return ar(e)==="fullPrayer"}function Pu(e){return As(e)}function $s({colorSource:e="properties"}={}){const t=e==="feature-state"?["feature-state","peoplePraying"]:["get","peoplePraying"];return["case",[">=",t,nr],Fo.fullPrayer,[">",t,0],Fo.hasPrayer,Fo.noPrayer]}const Mu=$s,D_=Object.freeze(Object.defineProperty({__proto__:null,FULL_PRAYER_THRESHOLD:nr,LABELS:Ss,PALETTE:Fo,PRAYER_COLORS:Yo,PRAYER_LABELS:O_,PROPERTY_KEY:Cu,applyColor:$s,buildColorExpression:Mu,checkHasFullPrayer:Eu,checkHasPrayer:Tu,default:{name:"Prayer Progress",propertyKey:Cu,palette:Fo,colors:Fo,labels:Ss,threshold:nr,getColor:Pu,applyColor:$s,buildColorExpression:Mu,getPrayerLevel:ar,getPrayerColor:As,checkHasPrayer:Tu,checkHasFullPrayer:Eu},getColor:Pu,getPrayerColor:As,getPrayerLevel:ar},Symbol.toStringTag,{value:"Module"}));function Nu(){return typeof window<"u"&&window.MAP_APP_API_URL||typeof{url:Zo&&Zo.tagName.toUpperCase()==="SCRIPT"&&Zo.src||new URL("my-upg-100-list.js",document.baseURI).href}<"u"&&"https://pray.doxa.life"||""}const Ls=ue(0),rr=ue(0),sr=ue(0),Cs=ue(!1),Ts=ue(!1),Es=ue(null);let oa=null;async function B_(){if(!Cs.value)return oa||(Ts.value=!0,Es.value=null,oa=(async()=>{var e,t;try{const o=((e=ta==null?void 0:ta.sources)==null?void 0:e[ta.activeSource])||{},n=Nu(),a=((t=o.endpoints)==null?void 0:t.statistics)||"/api/people-groups/statistics",r=await fetch(`${n}${a}`,{cache:"no-store"});if(!r.ok)throw new Error(`statistics HTTP ${r.status}`);const s=await r.json();Ls.value=Number(s.total||0),rr.value=Number(s.total_with_prayer_committed??s.total_with_prayer??0),sr.value=Number(s.total_with_100_committed??s.total_with_full_prayer??0),Cs.value=!0}catch(o){Es.value=o&&o.message?o.message:String(o)}finally{Ts.value=!1,oa=null}})(),oa)}function j_(){return{total:Ls,withPrayer:rr,withFullPrayer:sr,loaded:Cs,loading:Ts,error:Es,load:B_,noPrayerCount:()=>Math.max(0,Ls.value-rr.value),hasPrayerCount:()=>Math.max(0,rr.value-sr.value),fullPrayerCount:()=>sr.value}}const Iu="engagementStatus",xo={notEngaged:"#e74c3c",hasEngagement:"#22c55e"},Ps=xo,Ms={notEngaged:"Unengaged",hasEngagement:"Engaged"},G_=Ms;function Ru(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 Ns({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 Fu=Ns,U_=Object.freeze(Object.defineProperty({__proto__:null,ENGAGEMENT_COLORS:Ps,ENGAGEMENT_LABELS:G_,LABELS:Ms,PALETTE:xo,PROPERTY_KEY:Iu,applyColor:Ns,buildColorExpression:Fu,default:{name:"Engagement Progress",propertyKey:Iu,palette:xo,colors:xo,labels:Ms,getColor:Ru,applyColor:Ns,buildColorExpression:Fu},getColor:Ru},Symbol.toStringTag,{value:"Module"})),Ou="adoptionStatus",So={notAdopted:"#e74c3c",hasAdoption:"#22c55e"},Is=So,Rs={notAdopted:"Needs Adoption",hasAdopted:"Has Adoption"},K_=Rs;function Du(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 Fs({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 Bu=Fs,H_=Object.freeze(Object.defineProperty({__proto__:null,ADOPTION_COLORS:Is,ADOPTION_LABELS:K_,LABELS:Rs,PALETTE:So,PROPERTY_KEY:Ou,applyColor:Fs,buildColorExpression:Bu,default:{name:"Adoption Progress",propertyKey:Ou,palette:So,colors:So,labels:Rs,getColor:Du,applyColor:Fs,buildColorExpression:Bu},getColor:Du},Symbol.toStringTag,{value:"Module"})),Os="languageFamily",z_="#000000",Oo={"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"},ju=Oo;function Yt(e){return Oo[e]||z_}const V_=(()=>{const e=o=>String(o||"").toLowerCase().trim(),t={};for(const o of Object.keys(Oo))t[e(o)]=o;return t})();function Ds(e){if(!e)return"Unknown";const t=String(e).trim();return V_[t.toLowerCase()]||t}function Gu(e){var t;return Yt(e.languageFamily||((t=e._normalized)==null?void 0:t.languageFamily))}function Bs(){const e=["match",["get",Os]];return Object.entries(Oo).forEach(([t,o])=>{e.push(t,o)}),e.push("#95a5a6"),e}const Uu=Bs,W_=Object.freeze(Object.defineProperty({__proto__:null,LANGUAGE_FAMILY_COLORS:ju,PALETTE:Oo,PROPERTY_KEY:Os,applyColor:Bs,buildColorExpression:Uu,canonicalFamilyName:Ds,default:{name:"Language Family",propertyKey:Os,palette:Oo,colors:Oo,getColor:Gu,applyColor:Bs,buildColorExpression:Uu,getLanguageFamilyColor:Yt,canonicalFamilyName:Ds},defaultFamilyColor:"#95a5a6",getColor:Gu,getLanguageFamilyColor:Yt,languageFamilyColors:Oo},Symbol.toStringTag,{value:"Module"})),Ku="religion",js="#94a3b8",na={C:"Christianity",M:"Islam",H:"Hinduism",B:"Buddhism",E:"Ethnoreligion",J:"Judaism",S:"Sikhism",N:"Unaffiliated",O:"Other",U:"Unknown"},Dt={C:"#3b82f6",M:"#ef4444",H:"#f59e0b",B:"#facc15",E:"#84cc16",J:"#a855f7",S:"#ec4899",N:"#71717a",O:"#ff6b2b",U:"#94a3b8"};function aa(e){if(!e||typeof e!="string")return"U";const t=e.charAt(0).toUpperCase();return na[t]?t:"U"}function Hu(e){var o,n,a;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)||((a=e==null?void 0:e._raw)==null?void 0:a.religion);return Dt[aa(t)]||js}function Gs(){return["match",["slice",["coalesce",["get","religion"],""],0,1],"C",Dt.C,"M",Dt.M,"H",Dt.H,"B",Dt.B,"E",Dt.E,"J",Dt.J,"S",Dt.S,"N",Dt.N,"O",Dt.O,js]}const zu=Gs,Y_=Object.assign({"./adoption.js":H_,"./engagement.js":U_,"./language-family.js":W_,"./prayer-progress.js":D_,"./religion.js":Object.freeze(Object.defineProperty({__proto__:null,PALETTE:Dt,PROPERTY_KEY:Ku,RELIGION_FAMILIES:na,applyColor:Gs,buildColorExpression:zu,default:{name:"Religion",propertyKey:Ku,palette:Dt,families:na,getColor:Hu,applyColor:Gs,buildColorExpression:zu,fallback:js},getColor:Hu,getReligionFamily:aa},Symbol.toStringTag,{value:"Module"}))}),J_=e=>e.replace(/-([a-z0-9])/g,(t,o)=>o.toUpperCase()),q_=e=>e.replace(/-/g,"_").toUpperCase(),yn={...{STATUS:"status",CUSTOM:"custom"}},Us={};function Z_(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 a=J_(o);yn[q_(o)]=a,Us[a]=n}}Z_(Y_);function ir(e){return Us[e]||Us[yn.LANGUAGE_FAMILY]}const $t={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 X_(e){return(e==null?void 0:e.properties)||e||{}}function lr(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function Q_(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($t[n])return $t[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if($t[a])return $t[a]}}if($t[e])return $t[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();return o!==e&&$t[o]?$t[o]:null}const e0=[[/ sign language$/i,"Sign Language"]];function t0(e){if(!e||typeof e!="string")return"— Unknown —";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function o0(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function n0(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=lr(t),n=Ds(o);if(n&&n!=="Unknown")return n;const a=e.primary_language??e.primaryLanguage??((l=e._raw)==null?void 0:l.PrimaryLanguage)??((c=e._raw)==null?void 0:c.primary_language),r=lr(a);if(r){const u=String(r).trim(),d=Q_(u);if(d)return d;for(const[f,k]of e0)if(f.test(u))return k}return"Unknown"}function a0(e){var a,r;const t=((a=e._raw)==null?void 0:a.primary_language)??((r=e._raw)==null?void 0:r.PrimaryLanguage);if(t){const s=lr(t);if(s)return String(s).trim()}const o=e.primary_language??e.primaryLanguage??e.language,n=lr(o);return n&&String(n).trim()||"— Unknown —"}function r0(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 s0(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 i0(e,t){return(e==null?void 0:e.clusterId)??t.clusterId??null}function l0(e,t){var a,r,s,i;const o=parseFloat(t.latitude??t.lat??((a=t._raw)==null?void 0:a.Latitude)??((r=t._raw)==null?void 0:r.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 c0(e,t){return t.peopleGroupCount!==e.peopleGroupCount?t.peopleGroupCount-e.peopleGroupCount:(t.population||0)-(e.population||0)}function cr(e,t){return(t.population||0)!==(e.population||0)?(t.population||0)-(e.population||0):t.peopleGroupCount-e.peopleGroupCount}function Vu(e,t={}){t.aggregator;const o=en({});function n(_){return!!o[_]}function a(_){o[_]=!o[_]}function r(_){const h=new Set(Array.isArray(_)?_:[]);for(const x of Object.keys(o))h.has(x)||(o[x]=!1);for(const x of h)o[x]=!0}const s=X(()=>{const _=(e==null?void 0:e.value)||[],h=new Map;for(const x of _){const S=X_(x),b=n0(S),p=a0(S),v=t0(p),C=o0(p),A=r0(S),N=s0(x,S),M=i0(x,S),V=l0(x,S);let G=h.get(b);G||(G={key:b,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,languages:new Map},h.set(b,G)),G.peopleGroupCount+=1,G.population+=A,N!=null&&G.pinIds.push(N),V&&G.coords.push(V),M&&!G.clusterId&&(G.clusterId=M);let U=G.languages.get(v);if(U||(U={key:v,peopleGroupCount:0,population:0,pinIds:[],coords:[],clusterId:null,dialects:new Map},G.languages.set(v,U)),U.peopleGroupCount+=1,U.population+=A,N!=null&&U.pinIds.push(N),V&&U.coords.push(V),M&&!U.clusterId&&(U.clusterId=M),C){let re=U.dialects.get(C);re?re.originalLabels.add(p):(re={key:C,peopleGroupCount:0,population:0,pinIds:[],coords:[],originalLabels:new Set([p])},U.dialects.set(C,re)),re.peopleGroupCount+=1,re.population+=A,N!=null&&re.pinIds.push(N),V&&re.coords.push(V)}}return h}),i=t.showAllKnown!==!1,l=X(()=>{const _=s.value,h=[],x=new Set;for(const S of _.values())h.push({key:S.key,label:S.key,color:Yt(S.key),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"family",clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords}),x.add(S.key);if(i)for(const S of Object.keys(ju))x.has(S)||h.push({key:S,label:S,color:Yt(S),peopleGroupCount:0,population:0,kind:"family",pinIds:[],coords:[]});return h.sort(c0),h});function c(_){const h=s.value.get(_);if(!h)return[];const x=[];for(const S of h.languages.values())x.push({key:`${_}__${S.key}`,label:S.key,color:Yt(_),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"language",familyKey:_,clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords,hasDialects:S.dialects.size>0});return x.sort(cr),x}function u(_){const h=_.indexOf("__");if(h<0)return[];const x=_.slice(0,h),S=_.slice(h+2),b=s.value.get(x);if(!b)return[];const p=b.languages.get(S);if(!p)return[];const v=[];for(const C of p.dialects.values())v.push({key:`${_}__${C.key}`,label:`${S}, ${C.key}`,dialectOnly:C.key,color:Yt(x),peopleGroupCount:C.peopleGroupCount,population:C.population,kind:"dialect",languageKey:S,familyKey:x,pinIds:C.pinIds,coords:C.coords,originalLabels:Array.from(C.originalLabels)});return v.sort(cr),v}const d=X(()=>{const _=s.value,h=[];for(const x of _.values())for(const S of x.languages.values())h.push({key:`${x.key}__${S.key}`,label:S.key,color:Yt(x.key),peopleGroupCount:S.peopleGroupCount,population:S.population,kind:S.clusterId?"cluster":"language",familyKey:x.key,clusterId:S.clusterId||void 0,pinIds:S.pinIds,coords:S.coords,hasDialects:S.dialects.size>0});return h.sort(cr),h}),f=X(()=>{const _=s.value,h=[];for(const x of _.values())for(const S of x.languages.values())for(const b of S.dialects.values())h.push({key:`${x.key}__${S.key}__${b.key}`,label:`${S.key}, ${b.key}`,dialectOnly:b.key,color:Yt(x.key),peopleGroupCount:b.peopleGroupCount,population:b.population,kind:"dialect",languageKey:S.key,familyKey:x.key,pinIds:b.pinIds,coords:b.coords,originalLabels:Array.from(b.originalLabels)});return h.sort(cr),h});function k(_){let h=_;if(typeof _=="string"&&(h=l.value.find(S=>S.key===_),!h))return;const x={kind:h.kind,pinIds:h.pinIds||[],coords:h.coords||[]};h.kind==="family"&&(x.familyKey=h.label),h.kind==="language"&&(x.languageKey=h.label,x.familyKey=h.familyKey),h.kind==="dialect"&&(x.dialectKey=h.key,x.dialectOnly=h.dialectOnly||h.label,x.languageKey=h.languageKey,x.familyKey=h.familyKey,x.originalLabels=h.originalLabels||[]),h.kind==="cluster"&&(x.clusterId=h.clusterId),typeof window<"u"&&typeof window.CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("legend:highlight",{detail:x}))}const m=X(()=>{const _=s.value,h=[];for(const x of _.values()){const S=Yt(x.key),b=[];for(const v of x.languages.values()){v.key&&v.key!=="— Unknown —"&&b.push(v.key);for(const C of v.dialects.values())for(const A of C.originalLabels)A&&b.push(A)}const p={id:`fam:${x.key}`,label:x.key,color:S,count:x.peopleGroupCount,pop:x.population,filter:b.length>0?["any",["==",["get","languageFamily"],x.key],["in",["get","language"],["literal",Array.from(new Set(b))]]]:["==",["get","languageFamily"],x.key],children:[]};for(const v of x.languages.values()){const C=v.key,A={id:`lang:${x.key}__${C}`,label:C,color:S,count:v.peopleGroupCount,pop:v.population,filter:["any",["==",["get","language"],C],["==",["slice",["get","language"],0,C.length+1],C+","],["in"," "+C,["get","language"]]],children:[]};for(const N of v.dialects.values()){const M=Array.from(N.originalLabels);A.children.push({id:`dial:${x.key}__${C}__${N.key}`,label:`${C}, ${N.key}`,color:S,count:N.peopleGroupCount,pop:N.population,filter:M.length===1?["==",["get","language"],M[0]]:["in",["get","language"],["literal",M]],originalLabels:M,children:[]})}p.children.push(A)}h.push(p)}return h.sort((x,S)=>S.pop-x.pop||S.count-x.count),h});return{rows:l,languageRows:d,dialectRows:f,langTree:m,toggle:a,isExpanded:n,setExpansionToOnly:r,childRowsFor:c,dialectRowsFor:u,highlight:k}}const u0=[];function d0(){const e=ir(yn.RESOURCE);return e&&e.propertyKey==="resourceType"?e:null}function p0(){const e=ir(yn.DOXA_REGION);return e&&e.propertyKey==="doxaRegion"?e.palette||{}:{}}function g0(){const e=ir(yn.AFFINITY_BLOCK);if(!e||e.propertyKey!=="affinityBlock")return{};const t=e.names||{},o=e.palette||{},n={};for(const a of Object.keys(t))n[t[a]]=o[a]||"#999";return n}function Jo(e,t){const a=Object.values(e.sources||{}).flatMap(r=>(r==null?void 0:r.features)||[]).filter(r=>t(r.properties||r));return{count:a.length,population:a.reduce((r,s)=>{var l;const i=s.properties||s;return r+(parseInt(i.population||((l=i._raw)==null?void 0:l.Population)||0)||0)},0)}}const Wu=100;function f0(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 Ks(e){return t=>{const o=f0(t);return e==="fullPrayer"?o>=Wu:e==="hasPrayer"?o>0&&o0||typeof t=="string"&&parseInt(t,10)>0}function Ju(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 h0={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 m0(e){return e?e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toLocaleString():"0"}function b0(e){return(Number(e)||0).toLocaleString()}function y0(e,t={}){const o=Ee("dataStore"),n=Ee("uiStore"),a=Ee("mapStore"),{t:r}=kt(),s=j_();s.load();const i=X(()=>{if(_n(e.value)==="religion")return"Religion";const x=h0[e.value];return x?r(x):""}),l=X(()=>_n(e.value)==="affinity-blocs"?u0:[{key:"count",label:r("legend.columns.upgs"),width:48},{key:"population",label:r("legend.columns.population"),width:48}]),c=X(()=>{const h=_n(e.value);return h==="prayer"?n.prayerFilter:h==="engagement"?n.engagementFilter:h==="adoption"?n.adoptionFilter:h==="language-families"?a.selectedFamily:h==="doxa-regions"?a.selectedRegion:h==="gospel-resources"?a.selectedResource:h==="religion"?n.religionFilter:null});function u(h){const x=_n(e.value);x==="prayer"?n.setPrayerFilter(n.prayerFilter===h?null:h):x==="engagement"?n.setEngagementFilter(n.engagementFilter===h?null:h):x==="adoption"?n.setAdoptionFilter(n.adoptionFilter===h?null:h):x==="language-families"?a.selectFamily(a.selectedFamily===h?null:h):x==="doxa-regions"?a.selectRegion(a.selectedRegion===h?null:h):x==="gospel-resources"?a.selectResource(a.selectedResource===h?null:h):x==="religion"&&n.setReligionFilter(n.religionFilter===h?null:h)}const d=X(()=>{var x,S,b,p;const h=_n(e.value);if(h==="prayer"){const v=Jo(o,Ks("noPrayer")),C=Jo(o,Ks("hasPrayer")),A=Jo(o,Ks("fullPrayer")),N=s.loaded.value,M=N?s.noPrayerCount():v.count,V=N?s.hasPrayerCount():C.count,G=N?s.fullPrayerCount():A.count;return[{key:"noPrayer",label:r("legend.prayer.needsPrayer"),color:Yo.noPrayer,count:M,population:v.population,filterKey:"noPrayer",children:[{key:"hasPrayer",label:r("legend.prayer.hasPrayer"),color:Yo.hasPrayer,count:V,population:C.population,filterKey:"hasPrayer"},{key:"fullPrayer",label:r("legend.prayer.fullPrayerCoverage"),color:Yo.fullPrayer,count:G,population:A.population,filterKey:"fullPrayer"}]}]}if(h==="engagement"){const v=Jo(o,A=>!Yu(A)),C=Jo(o,A=>Yu(A));return[{key:"notEngaged",label:r("legend.engagement.needsEngagement"),color:Ps.notEngaged,count:v.count,population:v.population,filterKey:"notEngaged",children:[{key:"hasEngagement",label:r("legend.engagement.hasEngagement"),color:Ps.hasEngagement,count:C.count,population:C.population,filterKey:"hasEngagement"}]}]}if(h==="adoption"){const v=Jo(o,A=>!Ju(A)),C=Jo(o,A=>Ju(A));return[{key:"notAdopted",label:r("legend.adoption.needsAdoption"),color:Is.notAdopted,count:v.count,population:v.population,filterKey:"notAdopted",children:[{key:"hasAdoption",label:r("legend.adoption.hasAdoption"),color:Is.hasAdoption,count:C.count,population:C.population,filterKey:"hasAdoption"}]}]}if(h==="religion"){const v={},A=Object.values(o.sources||{}).flatMap(V=>(V==null?void 0:V.features)||[]);for(const V of A){const G=V.properties||V,U=G.religion||((S=(x=G._raw)==null?void 0:x.religion)==null?void 0:S.value)||((b=G._raw)==null?void 0:b.religion)||"",re=aa(U);v[re]||(v[re]={count:0,population:0}),v[re].count+=1,v[re].population+=parseInt(G.population||((p=G._raw)==null?void 0:p.Population)||0)||0}const N=new Set((t==null?void 0:t.excludeReligionFamilies)||[]);for(const V of N)delete v[V];return Object.keys(v).sort((V,G)=>V==="C"?-1:G==="C"?1:v[G].population-v[V].population).map(V=>({key:V,label:na[V]||"Unknown",color:Dt[V]||"#94a3b8",count:v[V].count,population:v[V].population,filterKey:V,children:[]}))}if(h==="language-families")return(o.languageFamiliesData||[]).map(v=>({key:v.name,label:v.name,color:Yt(v.name),count:v.count,population:v.population,filterKey:v.name,children:[]}));if(h==="language-family"){const C={value:Object.values(o.sources||{}).flatMap(N=>(N==null?void 0:N.features)||[])},{rows:A}=Vu(C);return A.value.map(N=>({key:N.key,label:N.label,color:N.color,count:N.peopleGroupCount,population:N.population,filterKey:N.key,children:[]}))}if(h==="doxa-regions"){const v=p0();return(o.doxaRegionsData||[]).map(C=>({key:C.name,label:C.name,color:v[C.name]||"#999",count:C.count,population:C.population,filterKey:C.name,children:[]}))}if(h==="gospel-resources"){const v=d0(),C=(v==null?void 0:v.palette)??{},A=(v==null?void 0:v.names)??{},N=o.resourcesData||[];return Object.keys(C).map(M=>{const V=N.find(G=>G.key===M);return{key:M,label:A[M]||M,color:C[M],count:(V==null?void 0:V.count)||0,population:(V==null?void 0:V.population)||0,filterKey:M,children:((V==null?void 0:V.children)||[]).map(G=>({key:G.key,label:G.name||G.key,color:G.color||C[M],count:G.count||0,population:G.population||0,filterKey:G.key}))}})}if(h==="affinity-blocs"){const v=g0();return Object.keys(v).sort().map(C=>({key:C,label:C,color:v[C],filterKey:C,children:[]}))}return[]});function f(h,x){return h.reduce((S,b)=>{var v;let p=b[x]||0;return(v=b.children)!=null&&v.length&&(p+=f(b.children,x)),S+p},0)}const k=X(()=>f(d.value,"count")),m=X(()=>f(d.value,"population")),_=X(()=>{if(_n(e.value)!=="prayer")return null;const h=d.value[0];if(!h)return null;const x=(h.children||[]).find(A=>A.key==="hasPrayer"),S=(h.children||[]).find(A=>A.key==="fullPrayer"),b=Number(h.count)||0,p=Number(x==null?void 0:x.count)||0,v=Number(S==null?void 0:S.count)||0,C=(Number(x==null?void 0:x.population)||0)+(Number(S==null?void 0:S.population)||0);return{covered:p+v,total:k.value,coveredPopulation:C,totalPopulation:m.value,segments:[{key:"fullPrayer",label:(S==null?void 0:S.label)??r("legend.prayer.fullPrayerCoverage"),count:v,color:Yo.fullPrayer},{key:"hasPrayer",label:(x==null?void 0:x.label)??r("legend.prayer.hasPrayer"),count:p,color:Yo.hasPrayer},{key:"noPrayer",label:h.label,count:b,color:Yo.noPrayer}]}});return{items:d,columns:l,title:i,activeFilter:c,setFilter:u,totalCount:k,totalPopulation:m,progress:_,fmtPop:m0,fmtCount:b0}}const _0={excludeReligionFamilies:["C"]},v0={key:0,class:"lrg-title-row"},k0={class:"lrg-title-caret-slot"},w0={class:"lrg-title"},x0=["data-lrg-filter-key"],S0=["onClick"],A0={key:1,class:"lrg-caret-placeholder","aria-hidden":"true"},$0=["onClick"],L0={class:"lrg-name"},C0={class:"lrg-badge-inner"},T0=["data-lrg-filter-key"],E0=["onClick"],P0={class:"lrg-name"},M0={class:"lrg-badge-inner"},N0={key:1,class:"lrg-footer"},I0={class:"lrg-footer-label"},R0=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}=kt();wt(` .legend-row-group{--lrg-caret-col:30px;display:flex;flex-direction:column;height:100%;min-height:0;} .lrg-items{display:grid;grid-template-columns:var(--lrg-grid-cols, var(--lrg-caret-col) minmax(80px,1fr) auto auto var(--lrg-caret-col));grid-auto-rows:auto;align-content:start;column-gap:6px;row-gap:6px;padding:0 0 12px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;} .lrg-items::-webkit-scrollbar{display:none;width:0;height:0;} @@ -575,7 +575,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=Ee("legendProgress",null),a=X(()=>o.progress??be(n)??null),r=X(()=>a.value?t("legend.progress.title"):o.title),s=ue(null);function i(h){let k=h.parentElement;for(;k;){const f=getComputedStyle(k).overflowY;if((f==="auto"||f==="scroll")&&k.scrollHeight>k.clientHeight+1){const y=h.getBoundingClientRect(),m=k.getBoundingClientRect();k.scrollTop+=y.top-m.top-8}k=k.parentElement}}let l=0;rt(()=>o.activeFilter,async h=>{if(!h)return;const k=++l,f=s.value;if(!f)return;await Lo();const y=(m=0)=>{if(k!==l)return;const x=f.querySelector(`[data-lrg-filter-key="${CSS.escape(String(h))}"]`);x&&i(x),m<6&&setTimeout(()=>y(m+1),70)};y(0)});const c=en({});function u(h){c[h]=!c[h]}const d=X(()=>`var(--lrg-caret-col) minmax(80px, 1fr) ${o.columns.map(()=>"auto").join(" ")} var(--lrg-caret-col)`);return(h,k)=>(z(),Q("div",{class:Le(["legend-row-group",e.isDark?"lrg-dark":"lrg-light"])},[E("div",{class:"lrg-items",style:tt({"--lrg-grid-cols":d.value}),ref_key:"itemsContainer",ref:s},[!e.hideColumnHeader&&(e.title||e.columns.length)?(z(),Q("div",v0,[E("span",k0,[sn(h.$slots,"title-caret",{},void 0,!0)]),E("span",w0,ce(r.value),1),(z(!0),Q(Ce,null,At(e.columns,f=>(z(),Q("span",{key:f.key,class:"lrg-header-col"},ce(f.label),1))),128)),a.value?(z(),st($u,{key:0,class:"lrg-progress",covered:a.value.covered,total:a.value.total,segments:a.value.segments,"is-dark":e.isDark,"fmt-count":e.fmtCount,onSelectSegment:k[0]||(k[0]=f=>h.$emit("filter-click",f))},null,8,["covered","total","segments","is-dark","fmt-count"])):me("",!0)])):me("",!0),(z(!0),Q(Ce,null,At(e.items,f=>(z(),Q(Ce,{key:f.key},[E("div",{class:"lrg-row","data-lrg-filter-key":f.filterKey},[f.children&&f.children.length&&!e.disableCollapse?(z(),Q("button",{key:0,class:Le(["lrg-caret",{expanded:!c[f.key]}]),onClick:Ht(y=>u(f.key),["stop"]),"aria-label":"Toggle children"},[...k[1]||(k[1]=[E("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,S0)):(z(),Q("span",A0)),E("div",{class:Le(["lrg-item",{selected:e.activeFilter===f.filterKey}]),onClick:y=>h.$emit("filter-click",f.filterKey)},[E("div",{class:"lrg-item-inner",style:tt({backgroundColor:f.color,"--lrg-item-color":f.color})},[E("span",L0,ce(f.label),1),(z(!0),Q(Ce,null,At(e.columns,y=>(z(),Q("span",{key:y.key,class:"lrg-badge"},[E("span",C0,ce(y.key==="population"?e.fmtPop(f.population):e.fmtCount(f.count)),1)]))),128))],4)],10,$0)],8,x0),f.children&&f.children.length&&!c[f.key]?(z(!0),Q(Ce,{key:0},At(f.children,y=>(z(),Q("div",{key:y.key,class:"lrg-row lrg-row-child","data-lrg-filter-key":y.filterKey},[k[2]||(k[2]=E("span",{class:"lrg-caret-placeholder","aria-hidden":"true"},null,-1)),E("div",{class:Le(["lrg-item",{selected:e.activeFilter===y.filterKey}]),onClick:m=>h.$emit("filter-click",y.filterKey)},[E("div",{class:"lrg-item-inner",style:tt({backgroundColor:y.color,"--lrg-item-color":y.color})},[E("span",P0,ce(y.label),1),(z(!0),Q(Ce,null,At(e.columns,m=>(z(),Q("span",{key:m.key,class:"lrg-badge"},[E("span",M0,ce(m.key==="population"?e.fmtPop(y.population):e.fmtCount(y.count)),1)]))),128))],4)],10,E0)],8,T0))),128)):me("",!0)],64))),128)),e.columns.length&&e.showFooter?(z(),Q("div",N0,[k[3]||(k[3]=E("span",{class:"lrg-footer-caret-slot","aria-hidden":"true"},null,-1)),E("span",I0,ce(be(t)("legend.footer.total")),1),(z(!0),Q(Ce,null,At(e.columns,f=>(z(),Q("span",{key:f.key,class:"lrg-footer-value"},ce(f.key==="population"?e.fmtPop(e.totalPopulation):e.fmtCount(e.totalCount)),1))),128))])):me("",!0)],4)],2))}},[["__scopeId","data-v-3bddba9a"]]),F0="#6b7280";function O0(){const e=ir(yn.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function D0(e,t){const o=O0();return e&&o[e]?o[e]:F0}function B0(e){return(e==null?void 0:e.properties)||e||{}}function Hs(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function j0(e){var t;return String(e.affinityBlock||Hs((t=e._raw)==null?void 0:t.rop1)||"").trim()}function G0(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function U0(e){var t;return String(e.cluster||Hs((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function K0(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 H0(e){var t;return String(e.peopleGroup||Hs((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function z0(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 V0(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function W0(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function Y0(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 J0(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function q0(e){const t=X(()=>{const r=e&&e.value||[],s=new Map;for(const i of r){const l=B0(i),c=j0(l),u=G0(l)||c||"— Unknown —",d=U0(l),h=K0(l)||d||"— Unknown —",k=H0(l),f=z0(l)||k||"— Unknown —",y=V0(l),m=W0(l)||y,x=Y0(l),S=J0(l);if(!y)continue;let b=s.get(c||"__unknown__");b||(b={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},s.set(c||"__unknown__",b)),b.count+=1,b.pop+=x,b.memberIds.push(y);let p=b.clusters.get(d||"__unknown__");p||(p={code:d,label:h,count:0,pop:0,memberIds:[],peopleGroups:new Map},b.clusters.set(d||"__unknown__",p)),p.count+=1,p.pop+=x,p.memberIds.push(y);let v=p.peopleGroups.get(k||"__unknown__");v||(v={code:k,label:f,count:0,pop:0,memberIds:[],instances:[]},p.peopleGroups.set(k||"__unknown__",v)),v.count+=1,v.pop+=x,v.memberIds.push(y),v.instances.push({id:y,name:m,country:S,pop:x})}return s}),o=r=>r&&r.length?["in",["get","uniqueId"],["literal",r]]:["==",["get","uniqueId"],"__none__"],n=X(()=>{const r=t.value,s=[];for(const i of r.values()){const l=D0(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 h of u.peopleGroups.values()){const k={id:`pg:${i.code}__${u.code}__${h.code||h.label}`,label:`${h.label} (PG)`,color:l,count:h.count,pop:h.pop,filter:o(h.memberIds),children:[]};h.instances.sort((f,y)=>y.pop-f.pop||f.country.localeCompare(y.country));for(const f of h.instances)k.children.push({id:`pgic:${f.id}`,label:`${f.country?`${f.name}, ${f.country}`:f.name} (PGIC)`,color:l,count:1,pop:f.pop,filter:["==",["get","uniqueId"],f.id],children:[]});d.children.push(k)}d.children.sort((h,k)=>k.count-h.count||k.pop-h.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 a(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(r.id||""),i={kind:null,label:r.label,filterExpr:r.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:a}}const Z0={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},X0="#95a5a6";function Q0(e){return Z0[String(e||"").toLowerCase()]||X0}function ev(e){return(e==null?void 0:e.properties)||e||{}}function tv(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 ov(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 nv(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 av(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 rv(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 sv(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 iv(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 lv(e){const t=X(()=>{const a=e&&e.value||[],r=new Map;for(const s of a){const i=ev(s),l=ov(i),c=nv(i)||l||"— Unknown —",u=av(i),d=rv(i)||u||"— Unknown —",h=sv(i),k=iv(i)||h||"— Unknown —",f=tv(i);if(!l||l==="na"||l==="none")continue;let y=r.get(l);if(y||(y={slug:l,label:c,count:0,pop:0,blocks:new Map},r.set(l,y)),y.count+=1,y.pop+=f,!u||u==="na")continue;let m=y.blocks.get(u);if(m||(m={slug:u,label:d,count:0,pop:0,countries:new Map},y.blocks.set(u,m)),m.count+=1,m.pop+=f,!h)continue;let x=m.countries.get(h);x||(x={iso:h,name:k,count:0,pop:0},m.countries.set(h,x)),x.count+=1,x.pop+=f}return r}),o=X(()=>{const a=t.value,r=[];for(const s of a.values()){const i=Q0(s.slug),l=[],c=[],u=[...s.blocks.values()].sort((d,h)=>h.pop-d.pop||d.label.localeCompare(h.label));for(const d of u){const h=[],k=[],f=[...d.countries.values()].sort((y,m)=>m.pop-y.pop||y.name.localeCompare(m.name));for(const y of f)h.push(y.iso),l.push(y.iso),k.push({id:`country:${s.slug}__${d.slug}__${y.iso}`,label:y.name,color:i,count:y.count,pop:y.pop,filter:["==",["get","countryIso"],y.iso],isoCodes:[y.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:h,children:k})}r.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 r.sort((s,i)=>i.pop-s.pop||s.label.localeCompare(i.label)),r});function n(a){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!a){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const r=String(a.id||""),s={kind:null,label:a.label,filterExpr:a.filter};r.startsWith("region:")?s.kind="region":r.startsWith("block:")?s.kind="block":r.startsWith("country:")&&(s.kind="country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:s}))}return{aggregated:t,regionsTree:o,highlight:n}}const qu="doxa-prayed-local";function cv(){try{const e=localStorage.getItem(qu);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function uv(e){try{localStorage.setItem(qu,JSON.stringify(e))}catch{}}function dv(e){if(!e)return;const t=cv();t[e]=Date.now(),uv(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}const Zu=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"];function Xu(e){const t=(e||"U")[0].toUpperCase(),o=t.charCodeAt(0)%Zu.length,n=Zu[o];return{letter:t,color:"#ffffff",backgroundColor:n}}function pv(e,t={}){const{size:o=32,borderRadius:n=4}=t,a=Xu(e);return{width:`${o}px`,height:`${o}px`,borderRadius:`${n}px`,backgroundColor:a.backgroundColor,color:a.color,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"600",fontSize:`${Math.floor(o*.5)}px`,flexShrink:"0"}}const gv={key:0,class:"detail-header"},fv={class:"header-left"},hv={class:"header-text"},mv={class:"people-group-name"},bv={class:"people-group-subtitle"},yv=["aria-label"],_v={class:"detail-content"},vv={key:0,class:"pg-name-lead"},kv={class:"action-buttons"},wv={class:"quick-stats"},xv={class:"stat-item"},Sv={class:"stat-label"},Av={class:"stat-value"},$v={class:"stat-item"},Lv={class:"stat-label"},Cv={class:"stat-value"},Tv={class:"stat-item"},Ev={class:"stat-label"},Pv={class:"stat-value"},Mv={class:"stat-item"},Nv={class:"stat-label"},Iv={class:"stat-value"},Rv={class:"stat-item stat-committed"},Fv={class:"stat-label"},Ov={class:"stat-value"},Dv={key:1,class:"image-container position-inside"},Bv=["src","alt"],jv={key:2,class:"description-section"},Gv={key:0,class:"description-text"},Uv={key:1,class:"description-text empty"},Qu="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",ed=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}=kt();wt(` +`,"legend-row-group");const o=e,n=Ee("legendProgress",null),a=X(()=>o.progress??be(n)??null),r=X(()=>a.value?t("legend.progress.title"):o.title),s=ue(null);function i(f){let k=f.parentElement;for(;k;){const m=getComputedStyle(k).overflowY;if((m==="auto"||m==="scroll")&&k.scrollHeight>k.clientHeight+1){const _=f.getBoundingClientRect(),h=k.getBoundingClientRect();k.scrollTop+=_.top-h.top-8}k=k.parentElement}}let l=0;rt(()=>o.activeFilter,async f=>{if(!f)return;const k=++l,m=s.value;if(!m)return;await Lo();const _=(h=0)=>{if(k!==l)return;const x=m.querySelector(`[data-lrg-filter-key="${CSS.escape(String(f))}"]`);x&&i(x),h<6&&setTimeout(()=>_(h+1),70)};_(0)});const c=en({});function u(f){c[f]=!c[f]}const d=X(()=>`var(--lrg-caret-col) minmax(80px, 1fr) ${o.columns.map(()=>"auto").join(" ")} var(--lrg-caret-col)`);return(f,k)=>(z(),Q("div",{class:Le(["legend-row-group",e.isDark?"lrg-dark":"lrg-light"])},[E("div",{class:"lrg-items",style:tt({"--lrg-grid-cols":d.value}),ref_key:"itemsContainer",ref:s},[!e.hideColumnHeader&&(e.title||e.columns.length)?(z(),Q("div",v0,[E("span",k0,[sn(f.$slots,"title-caret",{},void 0,!0)]),E("span",w0,ce(r.value),1),(z(!0),Q(Ce,null,At(e.columns,m=>(z(),Q("span",{key:m.key,class:"lrg-header-col"},ce(m.label),1))),128)),a.value?(z(),st($u,{key:0,class:"lrg-progress",covered:a.value.covered,total:a.value.total,segments:a.value.segments,"is-dark":e.isDark,"fmt-count":e.fmtCount,onSelectSegment:k[0]||(k[0]=m=>f.$emit("filter-click",m))},null,8,["covered","total","segments","is-dark","fmt-count"])):me("",!0)])):me("",!0),(z(!0),Q(Ce,null,At(e.items,m=>(z(),Q(Ce,{key:m.key},[E("div",{class:"lrg-row","data-lrg-filter-key":m.filterKey},[m.children&&m.children.length&&!e.disableCollapse?(z(),Q("button",{key:0,class:Le(["lrg-caret",{expanded:!c[m.key]}]),onClick:Ht(_=>u(m.key),["stop"]),"aria-label":"Toggle children"},[...k[1]||(k[1]=[E("svg",{width:"8",height:"8",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],10,S0)):(z(),Q("span",A0)),E("div",{class:Le(["lrg-item",{selected:e.activeFilter===m.filterKey}]),onClick:_=>f.$emit("filter-click",m.filterKey)},[E("div",{class:"lrg-item-inner",style:tt({backgroundColor:m.color,"--lrg-item-color":m.color})},[E("span",L0,ce(m.label),1),(z(!0),Q(Ce,null,At(e.columns,_=>(z(),Q("span",{key:_.key,class:"lrg-badge"},[E("span",C0,ce(_.key==="population"?e.fmtPop(m.population):e.fmtCount(m.count)),1)]))),128))],4)],10,$0)],8,x0),m.children&&m.children.length&&!c[m.key]?(z(!0),Q(Ce,{key:0},At(m.children,_=>(z(),Q("div",{key:_.key,class:"lrg-row lrg-row-child","data-lrg-filter-key":_.filterKey},[k[2]||(k[2]=E("span",{class:"lrg-caret-placeholder","aria-hidden":"true"},null,-1)),E("div",{class:Le(["lrg-item",{selected:e.activeFilter===_.filterKey}]),onClick:h=>f.$emit("filter-click",_.filterKey)},[E("div",{class:"lrg-item-inner",style:tt({backgroundColor:_.color,"--lrg-item-color":_.color})},[E("span",P0,ce(_.label),1),(z(!0),Q(Ce,null,At(e.columns,h=>(z(),Q("span",{key:h.key,class:"lrg-badge"},[E("span",M0,ce(h.key==="population"?e.fmtPop(_.population):e.fmtCount(_.count)),1)]))),128))],4)],10,E0)],8,T0))),128)):me("",!0)],64))),128)),e.columns.length&&e.showFooter?(z(),Q("div",N0,[k[3]||(k[3]=E("span",{class:"lrg-footer-caret-slot","aria-hidden":"true"},null,-1)),E("span",I0,ce(be(t)("legend.footer.total")),1),(z(!0),Q(Ce,null,At(e.columns,m=>(z(),Q("span",{key:m.key,class:"lrg-footer-value"},ce(m.key==="population"?e.fmtPop(e.totalPopulation):e.fmtCount(e.totalCount)),1))),128))])):me("",!0)],4)],2))}},[["__scopeId","data-v-3bddba9a"]]),F0="#6b7280";function O0(){const e=ir(yn.AFFINITY_BLOCK);return e&&e.propertyKey==="affinityBlock"&&e.palette?e.palette:{}}function D0(e,t){const o=O0();return e&&o[e]?o[e]:F0}function B0(e){return(e==null?void 0:e.properties)||e||{}}function Hs(e){return e&&typeof e=="object"&&"label"in e?e.label||e.value||"":e}function j0(e){var t;return String(e.affinityBlock||Hs((t=e._raw)==null?void 0:t.rop1)||"").trim()}function G0(e){var t;return String(e.affinityBlockLabel||((t=e._raw)!=null&&t.rop1&&typeof e._raw.rop1=="object"?e._raw.rop1.label:"")||"").trim()}function U0(e){var t;return String(e.cluster||Hs((t=e._raw)==null?void 0:t.imb_reg_of_people_2)||"").trim()}function K0(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 H0(e){var t;return String(e.peopleGroup||Hs((t=e._raw)==null?void 0:t.imb_reg_of_people_25)||"").trim()}function z0(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 V0(e){var t;return String(e.uniqueId||e.slug||((t=e._raw)==null?void 0:t.slug)||"").trim()}function W0(e){var t;return String(e.name||e.displayName||((t=e._raw)==null?void 0:t.name)||"").trim()}function Y0(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 J0(e){return String(e.countryName||e.country||e.countryIsoLabel||e.countryIso||"").trim()}function q0(e){const t=X(()=>{const r=e&&e.value||[],s=new Map;for(const i of r){const l=B0(i),c=j0(l),u=G0(l)||c||"— Unknown —",d=U0(l),f=K0(l)||d||"— Unknown —",k=H0(l),m=z0(l)||k||"— Unknown —",_=V0(l),h=W0(l)||_,x=Y0(l),S=J0(l);if(!_)continue;let b=s.get(c||"__unknown__");b||(b={code:c,label:u,count:0,pop:0,memberIds:[],clusters:new Map},s.set(c||"__unknown__",b)),b.count+=1,b.pop+=x,b.memberIds.push(_);let p=b.clusters.get(d||"__unknown__");p||(p={code:d,label:f,count:0,pop:0,memberIds:[],peopleGroups:new Map},b.clusters.set(d||"__unknown__",p)),p.count+=1,p.pop+=x,p.memberIds.push(_);let v=p.peopleGroups.get(k||"__unknown__");v||(v={code:k,label:m,count:0,pop:0,memberIds:[],instances:[]},p.peopleGroups.set(k||"__unknown__",v)),v.count+=1,v.pop+=x,v.memberIds.push(_),v.instances.push({id:_,name:h,country:S,pop:x})}return s}),o=r=>r&&r.length?["in",["get","uniqueId"],["literal",r]]:["==",["get","uniqueId"],"__none__"],n=X(()=>{const r=t.value,s=[];for(const i of r.values()){const l=D0(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 k={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((m,_)=>_.pop-m.pop||m.country.localeCompare(_.country));for(const m of f.instances)k.children.push({id:`pgic:${m.id}`,label:`${m.country?`${m.name}, ${m.country}`:m.name} (PGIC)`,color:l,count:1,pop:m.pop,filter:["==",["get","uniqueId"],m.id],children:[]});d.children.push(k)}d.children.sort((f,k)=>k.count-f.count||k.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 a(r){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!r){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const s=String(r.id||""),i={kind:null,label:r.label,filterExpr:r.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:a}}const Z0={africa:"#ff2e2e",asia:"#1a8cff",europe:"#1ee05f","latin_america_&_caribbean":"#FFEB3B",middle_east:"#a83dff","north_america_&_non-spanish_caribbean":"#00e0bd",oceania:"#ff7f11"},X0="#95a5a6";function Q0(e){return Z0[String(e||"").toLowerCase()]||X0}function ev(e){return(e==null?void 0:e.properties)||e||{}}function tv(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 ov(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 nv(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 av(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 rv(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 sv(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 iv(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 lv(e){const t=X(()=>{const a=e&&e.value||[],r=new Map;for(const s of a){const i=ev(s),l=ov(i),c=nv(i)||l||"— Unknown —",u=av(i),d=rv(i)||u||"— Unknown —",f=sv(i),k=iv(i)||f||"— Unknown —",m=tv(i);if(!l||l==="na"||l==="none")continue;let _=r.get(l);if(_||(_={slug:l,label:c,count:0,pop:0,blocks:new Map},r.set(l,_)),_.count+=1,_.pop+=m,!u||u==="na")continue;let h=_.blocks.get(u);if(h||(h={slug:u,label:d,count:0,pop:0,countries:new Map},_.blocks.set(u,h)),h.count+=1,h.pop+=m,!f)continue;let x=h.countries.get(f);x||(x={iso:f,name:k,count:0,pop:0},h.countries.set(f,x)),x.count+=1,x.pop+=m}return r}),o=X(()=>{const a=t.value,r=[];for(const s of a.values()){const i=Q0(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=[],k=[],m=[...d.countries.values()].sort((_,h)=>h.pop-_.pop||_.name.localeCompare(h.name));for(const _ of m)f.push(_.iso),l.push(_.iso),k.push({id:`country:${s.slug}__${d.slug}__${_.iso}`,label:_.name,color:i,count:_.count,pop:_.pop,filter:["==",["get","countryIso"],_.iso],isoCodes:[_.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:k})}r.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 r.sort((s,i)=>i.pop-s.pop||s.label.localeCompare(i.label)),r});function n(a){if(typeof window>"u"||typeof window.CustomEvent!="function")return;if(!a){window.dispatchEvent(new CustomEvent("legend:highlight",{detail:{kind:null}}));return}const r=String(a.id||""),s={kind:null,label:a.label,filterExpr:a.filter};r.startsWith("region:")?s.kind="region":r.startsWith("block:")?s.kind="block":r.startsWith("country:")&&(s.kind="country"),window.dispatchEvent(new CustomEvent("legend:highlight",{detail:s}))}return{aggregated:t,regionsTree:o,highlight:n}}const qu="doxa-prayed-local";function cv(){try{const e=localStorage.getItem(qu);if(!e)return{};const t=JSON.parse(e);return t&&typeof t=="object"?t:{}}catch{return{}}}function uv(e){try{localStorage.setItem(qu,JSON.stringify(e))}catch{}}function dv(e){if(!e)return;const t=cv();t[e]=Date.now(),uv(t);try{window.dispatchEvent(new CustomEvent("doxa:prayed-locally",{detail:{slug:e}}))}catch{}}const Zu=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#e67e22","#34495e"];function Xu(e){const t=(e||"U")[0].toUpperCase(),o=t.charCodeAt(0)%Zu.length,n=Zu[o];return{letter:t,color:"#ffffff",backgroundColor:n}}function pv(e,t={}){const{size:o=32,borderRadius:n=4}=t,a=Xu(e);return{width:`${o}px`,height:`${o}px`,borderRadius:`${n}px`,backgroundColor:a.backgroundColor,color:a.color,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"600",fontSize:`${Math.floor(o*.5)}px`,flexShrink:"0"}}const gv={key:0,class:"detail-header"},fv={class:"header-left"},hv={class:"header-text"},mv={class:"people-group-name"},bv={class:"people-group-subtitle"},yv=["aria-label"],_v={class:"detail-content"},vv={key:0,class:"pg-name-lead"},kv={class:"action-buttons"},wv={class:"quick-stats"},xv={class:"stat-item"},Sv={class:"stat-label"},Av={class:"stat-value"},$v={class:"stat-item"},Lv={class:"stat-label"},Cv={class:"stat-value"},Tv={class:"stat-item"},Ev={class:"stat-label"},Pv={class:"stat-value"},Mv={class:"stat-item"},Nv={class:"stat-label"},Iv={class:"stat-value"},Rv={class:"stat-item stat-committed"},Fv={class:"stat-label"},Ov={class:"stat-value"},Dv={key:1,class:"image-container position-inside"},Bv=["src","alt"],jv={key:2,class:"description-section"},Gv={key:0,class:"description-text"},Uv={key:1,class:"description-text empty"},Qu="https://www.peoplegroups.org/images/pgphotosearch/NoImageAvailable_search.jpg",ed=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}=kt();wt(` .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;} @@ -626,7 +626,7 @@ .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,a=Ee("uiStore"),r=Ee("profileConfig",null),s=X(()=>a.legendState),i=X(()=>a.isMobile),l=X(()=>!i.value||s.value==="fullyOpen"),c=X(()=>Xu(n.peopleGroup.properties.name)),u=X(()=>c.value.letter),d=X(()=>pv(n.peopleGroup.properties.name,{size:32,borderRadius:4})),h=X(()=>n.peopleGroup.properties),k=ue(null),f=ue(!1),y=X(()=>h.value.slug||"");async function m(ne){if(!ne)return;const te=Nu();if(te)try{const fe=await fetch(`${te}/api/people-groups/detail/${encodeURIComponent(ne)}?lang=${encodeURIComponent(o.value)}`);if(!fe.ok)throw new Error(`HTTP ${fe.status}`);k.value=await fe.json()}catch{k.value=null}}rt(y,ne=>{f.value=!1,k.value=null,m(ne)},{immediate:!0});const x=X(()=>{var ne;return h.value.countryName||h.value.countryIsoLabel||h.value.country||h.value.countryIso||((ne=h.value._raw)==null?void 0:ne.Country)||""}),S=X(()=>{var fe;const ne=h.value.status||((fe=h.value._raw)==null?void 0:fe.Status),te=x.value||"Unknown";return ne?`${te} • ${ne}`:te}),b=X(()=>{var te;const ne=h.value.language||((te=h.value._raw)==null?void 0:te.Language);if(!ne)return"Unknown";if(typeof ne=="object"&&ne.label)return ne.label;if(typeof ne=="string"&&ne.startsWith("{"))try{const fe=JSON.parse(ne);if(fe!=null&&fe.label)return fe.label}catch{}return ne}),p=X(()=>{var ne;return h.value.population||((ne=h.value._raw)==null?void 0:ne.Population)||0}),v=X(()=>{var te,fe;const ne=[(te=k.value)==null?void 0:te.people_praying,h.value.peoplePraying,(fe=h.value._raw)==null?void 0:fe.people_praying];for(const Me of ne)if(Me!=null&&Me!=="")return Number(Me);return null}),C=X(()=>v.value===null?"—":v.value.toLocaleString()),A=X(()=>{var ne;return h.value.religionName||h.value.religionLabel||h.value.religion||((ne=h.value._raw)==null?void 0:ne.Religion)||""}),N=X(()=>{var ne,te,fe;return((ne=k.value)==null?void 0:ne.imb_people_description)||((te=k.value)==null?void 0:te.description)||h.value.description||((fe=h.value._raw)==null?void 0:fe.Description)||""}),M=X(()=>{var ne,te,fe;return((ne=k.value)==null?void 0:ne.image_url)||((te=k.value)==null?void 0:te.imageUrl)||h.value.imageUrl||((fe=h.value._raw)==null?void 0:fe.ImageURL)||Qu}),V=X(()=>{const ne=parseInt(p.value);return ne>=1e6?`${(ne/1e6).toFixed(1)}M`:ne>=1e3?`${(ne/1e3).toFixed(1)}K`:ne.toLocaleString()});function G(){a.selectPeopleGroup(null)}function U(){var Me;let ne="";try{ne=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const te=(Me=r==null?void 0:r.value)==null?void 0:Me.utmSource,fe=typeof window<"u"&&window.DOXA_UTM_SOURCE||"";return encodeURIComponent(String(ne||te||fe||"agwm"))}function re(ne){return`https://pray.doxa.life/${encodeURIComponent(ne)}?source=doxalife&utm_source=${U()}`}function B(ne){return`${H()}/adopt/${encodeURIComponent(ne)}/?source=doxalife&utm_source=${U()}`}function H(){const ne=typeof window<"u"&&window.DOXA_SITE_URL||"";return String(ne||"https://doxa.life").replace(/\/+$/,"")}function L(ne){return`${H()}/research/${encodeURIComponent(ne)}/?utm_source=${U()}`}function K(){const ne=y.value;if(!ne)return;n.action!=="adopt"&&dv(ne);const te=n.action==="adopt"?B(ne):re(ne);window.open(te,"_blank","noopener")}function se(){const ne=y.value;ne&&window.open(L(ne),"_blank","noopener")}function ye(ne){ne.target.dataset.usedFallback||(ne.target.dataset.usedFallback="true",ne.target.src=Qu)}return(ne,te)=>(z(),Q("div",{class:Le(["people-group-detail",{"dark-mode":e.dark}])},[e.hideHeader?me("",!0):(z(),Q("div",gv,[E("div",fv,[E("div",{class:"avatar",style:tt(d.value)},ce(u.value),5),E("div",hv,[E("h3",mv,ce(e.peopleGroup.properties.name),1),E("p",bv,ce(S.value),1)])]),E("button",{class:"close-button",onClick:G,"aria-label":be(t)("aria.closeDetailView")},[...te[1]||(te[1]=[E("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[E("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,yv)])),E("div",_v,[e.hideHeader?(z(),Q("h3",vv,ce(e.peopleGroup.properties.name||be(t)("legend.header.peopleGroupFallback")),1)):me("",!0),E("div",kv,[e.action==="pray"||e.action==="adopt"?(z(),Q("button",{key:0,class:"action-btn primary",onClick:K},[te[2]||(te[2]=E("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[E("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),E("span",null,ce(e.action==="adopt"?be(t)("buttons.adoptThem"):be(t)("buttons.prayForThem")),1)])):me("",!0),E("button",{class:"action-btn secondary",onClick:se},[te[3]||(te[3]=E("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[E("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),E("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),E("span",null,ce(be(t)("buttons.moreInfo")),1)])]),E("div",wv,[E("div",xv,[E("span",Sv,ce(be(t)("detail.labels.country")),1),E("span",Av,ce(x.value||"—"),1)]),E("div",$v,[E("span",Lv,ce(be(t)("detail.labels.population")),1),E("span",Cv,ce(V.value||"—"),1)]),E("div",Tv,[E("span",Ev,ce(be(t)("detail.labels.language")),1),E("span",Pv,ce(b.value||"—"),1)]),E("div",Mv,[E("span",Nv,ce(be(t)("detail.labels.religion")),1),E("span",Iv,ce(A.value||"—"),1)]),E("div",Rv,[E("span",Fv,ce(be(t)("detail.labels.peopleCommitted")),1),E("span",Ov,ce(C.value),1)])]),l.value?(z(),Q("div",Dv,[E("div",{class:Le(["image-placeholder-svg",{hidden:f.value}])},[...te[4]||(te[4]=[E("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 120",width:"80",height:"96","aria-hidden":"true"},[E("circle",{cx:"50",cy:"36",r:"22",fill:"#ccc"}),E("ellipse",{cx:"50",cy:"95",rx:"36",ry:"28",fill:"#ccc"})],-1)])],2),M.value?(z(),Q("img",{key:0,src:M.value,alt:`${e.peopleGroup.properties.name} people group`,class:Le(["people-group-image",{loaded:f.value}]),onLoad:te[0]||(te[0]=fe=>f.value=!0),onError:ye},null,42,Bv)):me("",!0)])):me("",!0),l.value?(z(),Q("div",jv,[N.value?(z(),Q("p",Gv,ce(N.value),1)):(z(),Q("p",Uv,ce(be(t)("detail.messages.noDescription")),1))])):me("",!0)])],2))}},[["__scopeId","data-v-8142ca9c"]]),Kv=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"})),Hv={class:"legend-sheet-root"},zv=["src","alt"],Vv={key:0,class:"pull-tab-handle"},Wv=["aria-label"],Yv=["aria-label"],Jv=["aria-label"],qv={class:"collapsed-detail-title"},Zv={class:"legend-content"},Xv=["aria-label"],Qv=["aria-label"],td=80,e1=48,t1=44,o1=24,od="--legend-sheet-h",n1=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}=kt();wt(` +`,"legend-people-group-detail");const n=e,a=Ee("uiStore"),r=Ee("profileConfig",null),s=X(()=>a.legendState),i=X(()=>a.isMobile),l=X(()=>!i.value||s.value==="fullyOpen"),c=X(()=>Xu(n.peopleGroup.properties.name)),u=X(()=>c.value.letter),d=X(()=>pv(n.peopleGroup.properties.name,{size:32,borderRadius:4})),f=X(()=>n.peopleGroup.properties),k=ue(null),m=ue(!1),_=X(()=>f.value.slug||"");async function h(ne){if(!ne)return;const te=Nu();if(te)try{const fe=await fetch(`${te}/api/people-groups/detail/${encodeURIComponent(ne)}?lang=${encodeURIComponent(o.value)}`);if(!fe.ok)throw new Error(`HTTP ${fe.status}`);k.value=await fe.json()}catch{k.value=null}}rt(_,ne=>{m.value=!1,k.value=null,h(ne)},{immediate:!0});const x=X(()=>{var ne;return f.value.countryName||f.value.countryIsoLabel||f.value.country||f.value.countryIso||((ne=f.value._raw)==null?void 0:ne.Country)||""}),S=X(()=>{var fe;const ne=f.value.status||((fe=f.value._raw)==null?void 0:fe.Status),te=x.value||"Unknown";return ne?`${te} • ${ne}`:te}),b=X(()=>{var te;const ne=f.value.language||((te=f.value._raw)==null?void 0:te.Language);if(!ne)return"Unknown";if(typeof ne=="object"&&ne.label)return ne.label;if(typeof ne=="string"&&ne.startsWith("{"))try{const fe=JSON.parse(ne);if(fe!=null&&fe.label)return fe.label}catch{}return ne}),p=X(()=>{var ne;return f.value.population||((ne=f.value._raw)==null?void 0:ne.Population)||0}),v=X(()=>{var te,fe;const ne=[(te=k.value)==null?void 0:te.people_praying,f.value.peoplePraying,(fe=f.value._raw)==null?void 0:fe.people_praying];for(const Me of ne)if(Me!=null&&Me!=="")return Number(Me);return null}),C=X(()=>v.value===null?"—":v.value.toLocaleString()),A=X(()=>{var ne;return f.value.religionName||f.value.religionLabel||f.value.religion||((ne=f.value._raw)==null?void 0:ne.Religion)||""}),N=X(()=>{var ne,te,fe;return((ne=k.value)==null?void 0:ne.imb_people_description)||((te=k.value)==null?void 0:te.description)||f.value.description||((fe=f.value._raw)==null?void 0:fe.Description)||""}),M=X(()=>{var ne,te,fe;return((ne=k.value)==null?void 0:ne.image_url)||((te=k.value)==null?void 0:te.imageUrl)||f.value.imageUrl||((fe=f.value._raw)==null?void 0:fe.ImageURL)||Qu}),V=X(()=>{const ne=parseInt(p.value);return ne>=1e6?`${(ne/1e6).toFixed(1)}M`:ne>=1e3?`${(ne/1e3).toFixed(1)}K`:ne.toLocaleString()});function G(){a.selectPeopleGroup(null)}function U(){var Me;let ne="";try{ne=new URLSearchParams(window.location.search).get("utm_source")||""}catch{}const te=(Me=r==null?void 0:r.value)==null?void 0:Me.utmSource,fe=typeof window<"u"&&window.DOXA_UTM_SOURCE||"";return encodeURIComponent(String(ne||te||fe||"agwm"))}function re(ne){return`https://pray.doxa.life/${encodeURIComponent(ne)}?source=doxalife&utm_source=${U()}`}function B(ne){return`${H()}/adopt/${encodeURIComponent(ne)}/?source=doxalife&utm_source=${U()}`}function H(){const ne=typeof window<"u"&&window.DOXA_SITE_URL||"";return String(ne||"https://doxa.life").replace(/\/+$/,"")}function L(ne){return`${H()}/research/${encodeURIComponent(ne)}/?utm_source=${U()}`}function K(){const ne=_.value;if(!ne)return;n.action!=="adopt"&&dv(ne);const te=n.action==="adopt"?B(ne):re(ne);window.open(te,"_blank","noopener")}function se(){const ne=_.value;ne&&window.open(L(ne),"_blank","noopener")}function ye(ne){ne.target.dataset.usedFallback||(ne.target.dataset.usedFallback="true",ne.target.src=Qu)}return(ne,te)=>(z(),Q("div",{class:Le(["people-group-detail",{"dark-mode":e.dark}])},[e.hideHeader?me("",!0):(z(),Q("div",gv,[E("div",fv,[E("div",{class:"avatar",style:tt(d.value)},ce(u.value),5),E("div",hv,[E("h3",mv,ce(e.peopleGroup.properties.name),1),E("p",bv,ce(S.value),1)])]),E("button",{class:"close-button",onClick:G,"aria-label":be(t)("aria.closeDetailView")},[...te[1]||(te[1]=[E("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[E("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,yv)])),E("div",_v,[e.hideHeader?(z(),Q("h3",vv,ce(e.peopleGroup.properties.name||be(t)("legend.header.peopleGroupFallback")),1)):me("",!0),E("div",kv,[e.action==="pray"||e.action==="adopt"?(z(),Q("button",{key:0,class:"action-btn primary",onClick:K},[te[2]||(te[2]=E("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[E("path",{d:"M8 2L10 6L14 6.5L11 9.5L11.5 14L8 12L4.5 14L5 9.5L2 6.5L6 6L8 2Z",fill:"currentColor"})],-1)),E("span",null,ce(e.action==="adopt"?be(t)("buttons.adoptThem"):be(t)("buttons.prayForThem")),1)])):me("",!0),E("button",{class:"action-btn secondary",onClick:se},[te[3]||(te[3]=E("svg",{class:"btn-icon",width:"16",height:"16",viewBox:"0 0 16 16"},[E("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none"}),E("path",{d:"M8 6V8M8 10H8.01",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),E("span",null,ce(be(t)("buttons.moreInfo")),1)])]),E("div",wv,[E("div",xv,[E("span",Sv,ce(be(t)("detail.labels.country")),1),E("span",Av,ce(x.value||"—"),1)]),E("div",$v,[E("span",Lv,ce(be(t)("detail.labels.population")),1),E("span",Cv,ce(V.value||"—"),1)]),E("div",Tv,[E("span",Ev,ce(be(t)("detail.labels.language")),1),E("span",Pv,ce(b.value||"—"),1)]),E("div",Mv,[E("span",Nv,ce(be(t)("detail.labels.religion")),1),E("span",Iv,ce(A.value||"—"),1)]),E("div",Rv,[E("span",Fv,ce(be(t)("detail.labels.peopleCommitted")),1),E("span",Ov,ce(C.value),1)])]),l.value?(z(),Q("div",Dv,[E("div",{class:Le(["image-placeholder-svg",{hidden:m.value}])},[...te[4]||(te[4]=[E("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 120",width:"80",height:"96","aria-hidden":"true"},[E("circle",{cx:"50",cy:"36",r:"22",fill:"#ccc"}),E("ellipse",{cx:"50",cy:"95",rx:"36",ry:"28",fill:"#ccc"})],-1)])],2),M.value?(z(),Q("img",{key:0,src:M.value,alt:`${e.peopleGroup.properties.name} people group`,class:Le(["people-group-image",{loaded:m.value}]),onLoad:te[0]||(te[0]=fe=>m.value=!0),onError:ye},null,42,Bv)):me("",!0)])):me("",!0),l.value?(z(),Q("div",jv,[N.value?(z(),Q("p",Gv,ce(N.value),1)):(z(),Q("p",Uv,ce(be(t)("detail.messages.noDescription")),1))])):me("",!0)])],2))}},[["__scopeId","data-v-8142ca9c"]]),Kv=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"})),Hv={class:"legend-sheet-root"},zv=["src","alt"],Vv={key:0,class:"pull-tab-handle"},Wv=["aria-label"],Yv=["aria-label"],Jv=["aria-label"],qv={class:"collapsed-detail-title"},Zv={class:"legend-content"},Xv=["aria-label"],Qv=["aria-label"],td=80,e1=48,t1=44,o1=24,od="--legend-sheet-h",n1=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}=kt();wt(` .floating-mini-image{position:absolute;left:16px;bottom:calc(30% + 16px);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;} .legend-sheet-root{position:absolute;inset:0;pointer-events:none;overflow:hidden;} @@ -716,7 +716,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=Ee("uiStore");Ee("mapStore");const a=Ee("dataStore"),r=Ee("onSemanticTreeSelect",()=>{}),s=sp(o,"legendType"),{items:i,columns:l,title:c,activeFilter:u,setFilter:d,totalCount:h,totalPopulation:k,fmtPop:f,fmtCount:y}=y0(s,_0),m=Ee("normalizedPeopleGroups",null),x=X(()=>{var Y,g;if((Y=m==null?void 0:m.value)!=null&&Y.length)return m.value;const Z=[];for(const _ in(a==null?void 0:a.sources)||{}){const R=a.sources[_];(g=R==null?void 0:R.features)!=null&&g.length&&Z.push(...R.features)}return Z}),S={get value(){return x.value}},{langTree:b}=Vu(S),{affinityTree:p}=q0(S),{regionsTree:v}=lv(S),C=[{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."}],A=[{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."}],M=X(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function V(Z){const Y=[];for(const g of Z){Y.push({id:g.key,label:g.label,color:g.color,count:g.count??0,pop:g.population??0,filter:g.filterKey?["==",["get","_flat_filter"],g.filterKey]:null,children:[]});for(const _ of g.children||[])Y.push({id:_.key,label:_.label,color:_.color,count:_.count??0,pop:_.population??0,filter:_.filterKey?["==",["get","_flat_filter"],_.filterKey]:null,children:[]})}return Y}const G=X(()=>o.nodes?o.nodes:M.value?V(i.value):o.legendType==="affinity-block"?p.value:o.legendType==="doxa-regions"?v.value:b.value),U=X(()=>o.nodes?o.tabs:M.value?null:o.legendType==="affinity-block"?A:o.legendType==="doxa-regions"?N:C),re=X(()=>o.title?o.title:M.value?"Legend":o.legendType==="affinity-block"?"People Groups":o.legendType==="doxa-regions"?"WAGF Regions":"Languages"),B=X(()=>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":""),H=ue(null),L=ue(!1),K={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let se=0;const ye=()=>Date.now()-se<400,ne=X(()=>n.legendState),te=X(()=>n.legendHeight),fe=X(()=>n.caretRotation),Me=X(()=>n.showPullTab),We=X(()=>n.legendMode),Ze=X(()=>n.selectedPeopleGroup),Xe=X(()=>{var Z;return We.value==="detail"&&Ze.value?((Z=Ze.value.properties)==null?void 0:Z.name)||t("legend.header.peopleGroupFallback"):ne.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||c.value});function ot(Z){n.handleLegendItemClick(),d(Z)}function Qe(){ye()||n.toggleLegend()}function gt(){ye()||(n.selectPeopleGroup(null),n.openLegend())}const et=X(()=>{var Y;if(!Ze.value)return null;const Z=Ze.value.properties||{};return Z.imageUrl||((Y=Z._raw)==null?void 0:Y.ImageURL)||null});function xt(Z){var j;if(ne.value==="collapsed")return;const Y=Z.touches[0],g=H.value;if(!Y||!g)return;const R=Y.clientY-g.getBoundingClientRect().top<=t1?"grab":We.value==="detail"?"content":null;R&&(K.pending=R,K.active=!1,K.startY=Y.clientY,K.startH=g.offsetHeight,K.lastH=K.startH,K.startState=ne.value,K.containerH=((j=g.parentElement)==null?void 0:j.offsetHeight)||window.innerHeight,K.maxH=K.containerH-td,K.contentEl=g.querySelector(".legend-content"))}function $(Z){if(!K.pending&&!K.active)return;const Y=Z.touches[0];if(!Y)return;const g=K.startY-Y.clientY;if(!K.active){if(g===0)return;let R=K.pending==="grab";if(K.pending==="content"){const j=!K.contentEl||K.contentEl.scrollTop<=0;R=g>0?K.startH0?n.fullyOpenLegend():K.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function T(Z){Z==="fullyOpen"?n.fullyOpenLegend():Z==="collapsed"?n.collapseLegend():n.openLegend()}let O=null,W=null,q=null;return to(()=>{const Z=H.value;if(!Z||typeof ResizeObserver>"u")return;const Y=Z.getRootNode();W=Y instanceof ShadowRoot?Y.host:Y.documentElement||null,W&&(q=Z,O=new ResizeObserver(()=>{const g=Z.offsetHeight;g<=0||(W.style.setProperty(od,`${g}px`),W.__legendSheetVarOwner=Z)}),O.observe(Z))}),To(()=>{O&&(O.disconnect(),O=null),W&&W.__legendSheetVarOwner===q&&(W.style.removeProperty(od),W.__legendSheetVarOwner=null),W=null,q=null}),(Z,Y)=>{var g;return z(),Q("div",Hv,[We.value==="detail"&&Ze.value&&ne.value==="open"&&et.value?(z(),Q("div",{key:0,class:"floating-mini-image",onClick:Y[0]||(Y[0]=_=>be(n).fullyOpenLegend())},[E("img",{src:et.value,alt:(g=Ze.value.properties)==null?void 0:g.name,class:"mini-image"},null,8,zv)])):me("",!0),E("div",{ref_key:"sheetRef",ref:H,class:Le(["legend-mobile-sheet",[ne.value,{"sheet-dark":e.isDark,dragging:L.value}]]),style:tt({height:te.value,"--legend-sheet-top-reserve":td+"px"}),onTouchstart:xt,onTouchmove:$,onTouchend:P,onTouchcancel:P},[E("div",{class:"sheet-drag-strip",onClick:Qe},[Me.value?(z(),Q("div",Vv)):me("",!0)]),We.value==="detail"&&ne.value!=="collapsed"?(z(),Q("button",{key:0,class:"detail-collapse-btn-mobile",onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},null,8,Wv)):me("",!0),We.value==="detail"&&ne.value!=="collapsed"?(z(),Q("button",{key:1,class:"detail-close-btn",onClick:Ht(gt,["stop"]),"aria-label":be(t)("aria.backToLegend")},[...Y[1]||(Y[1]=[E("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[E("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Yv)):me("",!0),ne.value==="collapsed"&&We.value==="detail"&&Ze.value?(z(),Q("div",{key:2,class:"collapsed-detail-footer",onClick:Qe},[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),"aria-label":be(t)("aria.toggleLegend"),tabindex:"-1"},[...Y[2]||(Y[2]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Jv),E("span",qv,ce(Xe.value),1)])):me("",!0),E("div",Zv,[We.value==="detail"&&Ze.value?(z(),Q(Ce,{key:0},[ne.value!=="collapsed"?(z(),st(ed,{key:0,peopleGroup:Ze.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):me("",!0)],64)):e.legendType!=="default"?(z(),st(Lu,{key:1,nodes:G.value,tabs:U.value,title:Xe.value||re.value,hideTabs:e.nodes?!e.tabs:M.value,columnLabel:B.value,columns:e.columns||["count","pop"],onSelect:be(r)},{"title-caret":Bt(()=>[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},[...Y[3]||(Y[3]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Xv)]),_:1},8,["nodes","tabs","title","hideTabs","columnLabel","columns","onSelect"])):(z(),st(R0,{key:2,title:Xe.value,items:be(i),columns:be(l),activeFilter:be(u),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:be(h),totalPopulation:be(k),fmtPop:be(f),fmtCount:be(y),onFilterClick:ot},{"title-caret":Bt(()=>[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},[...Y[4]||(Y[4]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Qv)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["__scopeId","data-v-87b1df09"]]),a1={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){const t=ue(null);return Ft("mapToolbar",{el:t}),wt(` +`,"legend-mobile-sheet");const o=e,n=Ee("uiStore");Ee("mapStore");const a=Ee("dataStore"),r=Ee("onSemanticTreeSelect",()=>{}),s=sp(o,"legendType"),{items:i,columns:l,title:c,activeFilter:u,setFilter:d,totalCount:f,totalPopulation:k,fmtPop:m,fmtCount:_}=y0(s,_0),h=Ee("normalizedPeopleGroups",null),x=X(()=>{var Y,g;if((Y=h==null?void 0:h.value)!=null&&Y.length)return h.value;const Z=[];for(const y in(a==null?void 0:a.sources)||{}){const R=a.sources[y];(g=R==null?void 0:R.features)!=null&&g.length&&Z.push(...R.features)}return Z}),S={get value(){return x.value}},{langTree:b}=Vu(S),{affinityTree:p}=q0(S),{regionsTree:v}=lv(S),C=[{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."}],A=[{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."}],M=X(()=>["prayer","engagement","adoption","religion"].includes(o.legendType));function V(Z){const Y=[];for(const g of Z){Y.push({id:g.key,label:g.label,color:g.color,count:g.count??0,pop:g.population??0,filter:g.filterKey?["==",["get","_flat_filter"],g.filterKey]:null,children:[]});for(const y of g.children||[])Y.push({id:y.key,label:y.label,color:y.color,count:y.count??0,pop:y.population??0,filter:y.filterKey?["==",["get","_flat_filter"],y.filterKey]:null,children:[]})}return Y}const G=X(()=>o.nodes?o.nodes:M.value?V(i.value):o.legendType==="affinity-block"?p.value:o.legendType==="doxa-regions"?v.value:b.value),U=X(()=>o.nodes?o.tabs:M.value?null:o.legendType==="affinity-block"?A:o.legendType==="doxa-regions"?N:C),re=X(()=>o.title?o.title:M.value?"Legend":o.legendType==="affinity-block"?"People Groups":o.legendType==="doxa-regions"?"WAGF Regions":"Languages"),B=X(()=>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":""),H=ue(null),L=ue(!1),K={pending:null,active:!1,startY:0,startH:0,startState:"",containerH:0,maxH:0,lastH:0,contentEl:null};let se=0;const ye=()=>Date.now()-se<400,ne=X(()=>n.legendState),te=X(()=>n.legendHeight),fe=X(()=>n.caretRotation),Me=X(()=>n.showPullTab),We=X(()=>n.legendMode),Ze=X(()=>n.selectedPeopleGroup),Xe=X(()=>{var Z;return We.value==="detail"&&Ze.value?((Z=Ze.value.properties)==null?void 0:Z.name)||t("legend.header.peopleGroupFallback"):ne.value==="collapsed"?o.title||t("legend.header.collapsed"):o.title||c.value});function ot(Z){n.handleLegendItemClick(),d(Z)}function Qe(){ye()||n.toggleLegend()}function gt(){ye()||(n.selectPeopleGroup(null),n.openLegend())}const et=X(()=>{var Y;if(!Ze.value)return null;const Z=Ze.value.properties||{};return Z.imageUrl||((Y=Z._raw)==null?void 0:Y.ImageURL)||null});function xt(Z){var j;if(ne.value==="collapsed")return;const Y=Z.touches[0],g=H.value;if(!Y||!g)return;const R=Y.clientY-g.getBoundingClientRect().top<=t1?"grab":We.value==="detail"?"content":null;R&&(K.pending=R,K.active=!1,K.startY=Y.clientY,K.startH=g.offsetHeight,K.lastH=K.startH,K.startState=ne.value,K.containerH=((j=g.parentElement)==null?void 0:j.offsetHeight)||window.innerHeight,K.maxH=K.containerH-td,K.contentEl=g.querySelector(".legend-content"))}function $(Z){if(!K.pending&&!K.active)return;const Y=Z.touches[0];if(!Y)return;const g=K.startY-Y.clientY;if(!K.active){if(g===0)return;let R=K.pending==="grab";if(K.pending==="content"){const j=!K.contentEl||K.contentEl.scrollTop<=0;R=g>0?K.startH0?n.fullyOpenLegend():K.startState==="fullyOpen"?n.openLegend():n.collapseLegend()}function T(Z){Z==="fullyOpen"?n.fullyOpenLegend():Z==="collapsed"?n.collapseLegend():n.openLegend()}let O=null,W=null,q=null;return to(()=>{const Z=H.value;if(!Z||typeof ResizeObserver>"u")return;const Y=Z.getRootNode();W=Y instanceof ShadowRoot?Y.host:Y.documentElement||null,W&&(q=Z,O=new ResizeObserver(()=>{const g=Z.offsetHeight;g<=0||(W.style.setProperty(od,`${g}px`),W.__legendSheetVarOwner=Z)}),O.observe(Z))}),To(()=>{O&&(O.disconnect(),O=null),W&&W.__legendSheetVarOwner===q&&(W.style.removeProperty(od),W.__legendSheetVarOwner=null),W=null,q=null}),(Z,Y)=>{var g;return z(),Q("div",Hv,[We.value==="detail"&&Ze.value&&ne.value==="open"&&et.value?(z(),Q("div",{key:0,class:"floating-mini-image",onClick:Y[0]||(Y[0]=y=>be(n).fullyOpenLegend())},[E("img",{src:et.value,alt:(g=Ze.value.properties)==null?void 0:g.name,class:"mini-image"},null,8,zv)])):me("",!0),E("div",{ref_key:"sheetRef",ref:H,class:Le(["legend-mobile-sheet",[ne.value,{"sheet-dark":e.isDark,dragging:L.value}]]),style:tt({height:te.value,"--legend-sheet-top-reserve":td+"px"}),onTouchstart:xt,onTouchmove:$,onTouchend:P,onTouchcancel:P},[E("div",{class:"sheet-drag-strip",onClick:Qe},[Me.value?(z(),Q("div",Vv)):me("",!0)]),We.value==="detail"&&ne.value!=="collapsed"?(z(),Q("button",{key:0,class:"detail-collapse-btn-mobile",onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},null,8,Wv)):me("",!0),We.value==="detail"&&ne.value!=="collapsed"?(z(),Q("button",{key:1,class:"detail-close-btn",onClick:Ht(gt,["stop"]),"aria-label":be(t)("aria.backToLegend")},[...Y[1]||(Y[1]=[E("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none"},[E("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Yv)):me("",!0),ne.value==="collapsed"&&We.value==="detail"&&Ze.value?(z(),Q("div",{key:2,class:"collapsed-detail-footer",onClick:Qe},[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),"aria-label":be(t)("aria.toggleLegend"),tabindex:"-1"},[...Y[2]||(Y[2]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Jv),E("span",qv,ce(Xe.value),1)])):me("",!0),E("div",Zv,[We.value==="detail"&&Ze.value?(z(),Q(Ce,{key:0},[ne.value!=="collapsed"?(z(),st(ed,{key:0,peopleGroup:Ze.value,hideHeader:!0,dark:e.isDark,action:e.popupAction},null,8,["peopleGroup","dark","action"])):me("",!0)],64)):e.legendType!=="default"?(z(),st(Lu,{key:1,nodes:G.value,tabs:U.value,title:Xe.value||re.value,hideTabs:e.nodes?!e.tabs:M.value,columnLabel:B.value,columns:e.columns||["count","pop"],onSelect:be(r)},{"title-caret":Bt(()=>[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},[...Y[3]||(Y[3]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Xv)]),_:1},8,["nodes","tabs","title","hideTabs","columnLabel","columns","onSelect"])):(z(),st(R0,{key:2,title:Xe.value,items:be(i),columns:be(l),activeFilter:be(u),isDark:e.isDark,hideColumnHeader:!1,showFooter:!1,disableCollapse:!0,totalCount:be(f),totalPopulation:be(k),fmtPop:be(m),fmtCount:be(_),onFilterClick:ot},{"title-caret":Bt(()=>[E("button",{class:"mobile-collapse-caret",style:tt({transform:`rotate(${fe.value}deg)`}),onClick:Ht(Qe,["stop"]),"aria-label":be(t)("aria.toggleLegend")},[...Y[4]||(Y[4]=[E("svg",{width:"9",height:"9",viewBox:"0 0 12 12",fill:"none"},[E("path",{d:"M4.5 3L7.5 6L4.5 9",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],12,Qv)]),_:1},8,["title","items","columns","activeFilter","isDark","totalCount","totalPopulation","fmtPop","fmtCount"]))])],38)])}}},[["__scopeId","data-v-87b1df09"]]),a1={__name:"MapToolbar",props:{hasGeocoder:{type:Boolean,default:!0}},setup(e){const t=ue(null);return Ft("mapToolbar",{el:t}),wt(` .map-toolbar { position: absolute; top: 6px; @@ -757,7 +757,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)=>(z(),Q("button",{class:Le(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[sn(t.$slots,"default")],10,r1))}},s1={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=kt(),o=e;function n(){var a;(a=o.map)==null||a.zoomIn()}return(a,r)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.zoomIn"),onClick:n},{default:Bt(()=>[...r[0]||(r[0]=[E("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","title"]))}},i1={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=kt(),o=e;function n(){var a;(a=o.map)==null||a.zoomOut()}return(a,r)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.zoomOut"),onClick:n},{default:Bt(()=>[...r[0]||(r[0]=[E("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","title"]))}},l1={__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}=kt(),o=e;function n(){var r;(r=o.map)==null||r.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function a(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(r=>{const{longitude:s,latitude:i}=r.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(r,s)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.resetView"),onClick:a},{default:Bt(()=>[...s[0]||(s[0]=[E("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[E("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"]))}},c1={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},u1={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},d1={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=kt(),n=e,a=t,r=ue(!1);let s=null,i=null,l=null,c=null,u=null,d=null,h=null,k=null,f=null,y=null,m=null,x=0,S=0,b=null,p=null;function v(){if(typeof document>"u")return!1;const H=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(H)||H.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function C(){var H,L,K;return((K=(L=(H=n.mapContainer)==null?void 0:H.getRootNode)==null?void 0:L.call(H))==null?void 0:K.host)??null}function A(){var L,K;const H=(K=(L=n.mapContainer)==null?void 0:L.getRootNode)==null?void 0:K.call(L);return document.fullscreenElement||document.webkitFullscreenElement||(H&&H instanceof ShadowRoot?H.fullscreenElement:null)||null}function N(H){const L=H.requestFullscreen||H.webkitRequestFullscreen;if(!L)return Promise.reject(new Error("Fullscreen API unavailable"));const K=L.call(H);return K&&typeof K.then=="function"?K:Promise.resolve()}function M(){const H=document.exitFullscreen||document.webkitExitFullscreen;if(!H)return Promise.reject(new Error("Fullscreen API unavailable"));const L=H.call(document);return L&&typeof L.then=="function"?L:Promise.resolve()}function V(){const H=C();if(!H)return!1;if(l=H,i=H.style.cssText,H.style.position="fixed",H.style.top="0",H.style.left="0",H.style.right="0",H.style.bottom="0",H.style.width="100vw",H.style.height="100vh",H.style.height="100dvh",H.style.zIndex="2147483647",H.style.margin="0",H.style.borderRadius="0",H.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){x=window.scrollY||window.pageYOffset||0,S=window.scrollX||window.pageXOffset||0;const L=document.body,K=document.documentElement;c=L?L.style.overflow:null,u=K?K.style.overflow:null,d=L?L.style.position:null,h=L?L.style.top:null,k=L?L.style.left:null,f=L?L.style.width:null,y=L?L.style.touchAction:null,m=K?K.style.touchAction:null,K&&(K.style.overflow="hidden",K.style.touchAction="none"),L&&(L.style.overflow="hidden",L.style.position="fixed",L.style.top=`-${x}px`,L.style.left=`-${S}px`,L.style.width="100%",L.style.touchAction="none"),b=se=>{if(!l)return;const ye=se.target;ye&&(ye===l||l.contains&&l.contains(ye))||se.cancelable&&se.preventDefault()},p=se=>{if(!l)return;const ye=se.target;ye&&(ye===l||l.contains&&l.contains(ye))||se.cancelable&&se.preventDefault()},document.addEventListener("touchmove",b,{passive:!1,capture:!0}),document.addEventListener("wheel",p,{passive:!1,capture:!0})}return!0}function G(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const H=document.body,L=document.documentElement;H&&(H.style.overflow=c??"",H.style.position=d??"",H.style.top=h??"",H.style.left=k??"",H.style.width=f??"",H.style.touchAction=y??""),L&&(L.style.overflow=u??"",L.style.touchAction=m??""),b&&(document.removeEventListener("touchmove",b,{capture:!0}),b=null),p&&(document.removeEventListener("wheel",p,{capture:!0}),p=null),typeof window<"u"&&(x||S)&&window.scrollTo(S,x)}c=null,u=null,d=null,h=null,k=null,f=null,y=null,m=null,x=0,S=0}}function U(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function re(){if(!v()){r.value?(G(),r.value=!1,a("change",!1)):V()&&(r.value=!0,a("change",!0)),U();return}if(A())M().then(()=>{r.value=!1,a("change",!1)}).catch(()=>{});else{const L=C()??document.documentElement;N(L).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{N(document.documentElement).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{})})}}function B(){r.value=!!A(),a("change",r.value)}return to(()=>{var L,K;document.addEventListener("fullscreenchange",B),document.addEventListener("webkitfullscreenchange",B);const H=(K=(L=n.mapContainer)==null?void 0:L.getRootNode)==null?void 0:K.call(L);H instanceof ShadowRoot&&(s=H,H.addEventListener("fullscreenchange",B),H.addEventListener("webkitfullscreenchange",B))}),To(()=>{document.removeEventListener("fullscreenchange",B),document.removeEventListener("webkitfullscreenchange",B),s&&(s.removeEventListener("fullscreenchange",B),s.removeEventListener("webkitfullscreenchange",B),s=null),l&&G()}),(H,L)=>(z(),st(qo,{"is-dark":e.isDark,active:r.value,title:be(o)("buttons.toggleFullscreen"),onClick:re},{default:Bt(()=>[r.value?(z(),Q("svg",u1,[...L[1]||(L[1]=[E("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(),Q("svg",c1,[...L[0]||(L[0]=[E("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"]))}},p1={style:{"font-size":"16px","line-height":"1"}},g1={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=kt();return(o,n)=>be(fy)?(z(),st(qo,{key:0,"is-dark":e.isDark,title:e.isDark?be(t)("buttons.switchToLightMode"):be(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=a=>o.$emit("toggle"))},{default:Bt(()=>[E("span",p1,ce(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):me("",!0)}},f1=Zo&&Zo.tagName.toUpperCase()==="SCRIPT"&&Zo.src||new URL("my-upg-100-list.js",document.baseURI).href,zs=e=>String(e||"").trim().replace(/\/+$/,"");function h1(){try{const t=String(f1||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function m1(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return zs(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return zs(o)}return zs(h1()||"")}function b1({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.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 a?window.location.origin+s:s;const i=m1(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 a?window.location.origin+window.location.pathname:""}const y1=["aria-label"],_1={class:"mcm-header"},v1={class:"mcm-title"},k1={class:"mcm-body"},w1=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Vs="doxa-map-menu-open",x1={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){wt(` +`,"map-control-button"),(t,o)=>(z(),Q("button",{class:Le(["mcb",{dark:e.isDark,active:e.active}]),title:e.title,disabled:e.disabled,onClick:o[0]||(o[0]=n=>t.$emit("click"))},[sn(t.$slots,"default")],10,r1))}},s1={__name:"ZoomInButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=kt(),o=e;function n(){var a;(a=o.map)==null||a.zoomIn()}return(a,r)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.zoomIn"),onClick:n},{default:Bt(()=>[...r[0]||(r[0]=[E("span",{style:{"font-size":"20px","line-height":"1","font-weight":"600"}},"+",-1)])]),_:1},8,["is-dark","title"]))}},i1={__name:"ZoomOutButton",props:{map:{type:Object,default:null},isDark:{type:Boolean,default:!1}},setup(e){const{t}=kt(),o=e;function n(){var a;(a=o.map)==null||a.zoomOut()}return(a,r)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.zoomOut"),onClick:n},{default:Bt(()=>[...r[0]||(r[0]=[E("span",{style:{"font-size":"22px","line-height":"1","font-weight":"600"}},"−",-1)])]),_:1},8,["is-dark","title"]))}},l1={__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}=kt(),o=e;function n(){var r;(r=o.map)==null||r.flyTo({center:o.center,zoom:o.zoom,duration:1200})}function a(){if(o.map){if(typeof navigator>"u"||!navigator.geolocation){n();return}navigator.geolocation.getCurrentPosition(r=>{const{longitude:s,latitude:i}=r.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(r,s)=>(z(),st(qo,{"is-dark":e.isDark,title:be(t)("buttons.resetView"),onClick:a},{default:Bt(()=>[...s[0]||(s[0]=[E("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor"},[E("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"]))}},c1={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},u1={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 29 29",fill:"currentColor"},d1={__name:"FullscreenButton",props:{mapContainer:{type:Object,default:null},isDark:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const{t:o}=kt(),n=e,a=t,r=ue(!1);let s=null,i=null,l=null,c=null,u=null,d=null,f=null,k=null,m=null,_=null,h=null,x=0,S=0,b=null,p=null;function v(){if(typeof document>"u")return!1;const H=typeof navigator<"u"&&navigator.userAgent||"";return/iPad|iPhone|iPod/.test(H)||H.includes("Mac")&&typeof document<"u"&&"ontouchend"in document?!1:!!(document.fullscreenEnabled||document.webkitFullscreenEnabled)}function C(){var H,L,K;return((K=(L=(H=n.mapContainer)==null?void 0:H.getRootNode)==null?void 0:L.call(H))==null?void 0:K.host)??null}function A(){var L,K;const H=(K=(L=n.mapContainer)==null?void 0:L.getRootNode)==null?void 0:K.call(L);return document.fullscreenElement||document.webkitFullscreenElement||(H&&H instanceof ShadowRoot?H.fullscreenElement:null)||null}function N(H){const L=H.requestFullscreen||H.webkitRequestFullscreen;if(!L)return Promise.reject(new Error("Fullscreen API unavailable"));const K=L.call(H);return K&&typeof K.then=="function"?K:Promise.resolve()}function M(){const H=document.exitFullscreen||document.webkitExitFullscreen;if(!H)return Promise.reject(new Error("Fullscreen API unavailable"));const L=H.call(document);return L&&typeof L.then=="function"?L:Promise.resolve()}function V(){const H=C();if(!H)return!1;if(l=H,i=H.style.cssText,H.style.position="fixed",H.style.top="0",H.style.left="0",H.style.right="0",H.style.bottom="0",H.style.width="100vw",H.style.height="100vh",H.style.height="100dvh",H.style.zIndex="2147483647",H.style.margin="0",H.style.borderRadius="0",H.style.touchAction="pan-x pan-y pinch-zoom",typeof document<"u"){x=window.scrollY||window.pageYOffset||0,S=window.scrollX||window.pageXOffset||0;const L=document.body,K=document.documentElement;c=L?L.style.overflow:null,u=K?K.style.overflow:null,d=L?L.style.position:null,f=L?L.style.top:null,k=L?L.style.left:null,m=L?L.style.width:null,_=L?L.style.touchAction:null,h=K?K.style.touchAction:null,K&&(K.style.overflow="hidden",K.style.touchAction="none"),L&&(L.style.overflow="hidden",L.style.position="fixed",L.style.top=`-${x}px`,L.style.left=`-${S}px`,L.style.width="100%",L.style.touchAction="none"),b=se=>{if(!l)return;const ye=se.target;ye&&(ye===l||l.contains&&l.contains(ye))||se.cancelable&&se.preventDefault()},p=se=>{if(!l)return;const ye=se.target;ye&&(ye===l||l.contains&&l.contains(ye))||se.cancelable&&se.preventDefault()},document.addEventListener("touchmove",b,{passive:!1,capture:!0}),document.addEventListener("wheel",p,{passive:!1,capture:!0})}return!0}function G(){if(l){if(l.style.cssText=i||"",l=null,i=null,typeof document<"u"){const H=document.body,L=document.documentElement;H&&(H.style.overflow=c??"",H.style.position=d??"",H.style.top=f??"",H.style.left=k??"",H.style.width=m??"",H.style.touchAction=_??""),L&&(L.style.overflow=u??"",L.style.touchAction=h??""),b&&(document.removeEventListener("touchmove",b,{capture:!0}),b=null),p&&(document.removeEventListener("wheel",p,{capture:!0}),p=null),typeof window<"u"&&(x||S)&&window.scrollTo(S,x)}c=null,u=null,d=null,f=null,k=null,m=null,_=null,h=null,x=0,S=0}}function U(){typeof window>"u"||window.requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})}function re(){if(!v()){r.value?(G(),r.value=!1,a("change",!1)):V()&&(r.value=!0,a("change",!0)),U();return}if(A())M().then(()=>{r.value=!1,a("change",!1)}).catch(()=>{});else{const L=C()??document.documentElement;N(L).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{N(document.documentElement).then(()=>{r.value=!0,a("change",!0)}).catch(()=>{})})}}function B(){r.value=!!A(),a("change",r.value)}return to(()=>{var L,K;document.addEventListener("fullscreenchange",B),document.addEventListener("webkitfullscreenchange",B);const H=(K=(L=n.mapContainer)==null?void 0:L.getRootNode)==null?void 0:K.call(L);H instanceof ShadowRoot&&(s=H,H.addEventListener("fullscreenchange",B),H.addEventListener("webkitfullscreenchange",B))}),To(()=>{document.removeEventListener("fullscreenchange",B),document.removeEventListener("webkitfullscreenchange",B),s&&(s.removeEventListener("fullscreenchange",B),s.removeEventListener("webkitfullscreenchange",B),s=null),l&&G()}),(H,L)=>(z(),st(qo,{"is-dark":e.isDark,active:r.value,title:be(o)("buttons.toggleFullscreen"),onClick:re},{default:Bt(()=>[r.value?(z(),Q("svg",u1,[...L[1]||(L[1]=[E("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(),Q("svg",c1,[...L[0]||(L[0]=[E("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"]))}},p1={style:{"font-size":"16px","line-height":"1"}},g1={__name:"ThemeToggleButton",props:{isDark:{type:Boolean,default:!1}},emits:["toggle"],setup(e){const{t}=kt();return(o,n)=>be(fy)?(z(),st(qo,{key:0,"is-dark":e.isDark,title:e.isDark?be(t)("buttons.switchToLightMode"):be(t)("buttons.switchToDarkMode"),onClick:n[0]||(n[0]=a=>o.$emit("toggle"))},{default:Bt(()=>[E("span",p1,ce(e.isDark?"☀️":"🌙"),1)]),_:1},8,["is-dark","title"])):me("",!0)}},f1=Zo&&Zo.tagName.toUpperCase()==="SCRIPT"&&Zo.src||new URL("my-upg-100-list.js",document.baseURI).href,zs=e=>String(e||"").trim().replace(/\/+$/,"");function h1(){try{const t=String(f1||"").split(/[?#]/)[0].match(/^(.*)\/([^/]+)\/([^/]+)\.js$/);return!t||t[2]!==t[3]?null:t[1]||null}catch{return null}}function m1(e){const t=e==null?void 0:e.embedBaseUrl;if(typeof t=="string"&&t.trim())return zs(t);if(typeof window<"u"){const o=window.MAP_EMBED_BASE_URL;if(typeof o=="string"&&o.trim())return zs(o)}return zs(h1()||"")}function b1({shareUrl:e,embedPath:t,profileConfig:o}={}){const n=o||null,a=typeof window<"u",r=e||(n==null?void 0:n.shareUrl);if(typeof r=="string"&&r.trim())return r.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 a?window.location.origin+s:s;const i=m1(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 a?window.location.origin+window.location.pathname:""}const y1=["aria-label"],_1={class:"mcm-header"},v1={class:"mcm-title"},k1={class:"mcm-body"},w1=".dsm-map-area, .rm-map-area, .dm-map-area, [data-map-area]",Vs="doxa-map-menu-open",x1={__name:"MapControlMenu",props:{open:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:340},isDark:{type:Boolean,default:!1},maxHeight:{type:Number,default:null},height:{type:Number,default:null},matchToolbar:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){wt(` .mcm{position:absolute;z-index:var(--z-menu,3000);display:flex;flex-direction:column;box-sizing:border-box; background:#161b22;border:1px solid #30363d;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,0.45); color:#e6edf3;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:13px; @@ -773,7 +773,7 @@ .mcm.light .mcm-close{background:rgba(208,215,222,0.4);border-color:#d0d7de;color:#57606a;} .mcm.light .mcm-close:hover{color:#3b463d;background:rgba(59,70,61,0.12);border-color:#3b463d;} .mcm-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;} -`,"map-control-menu");const o=e,n=t,a=Ee("mapToolbar",null),r=ue(null),s=ue(null),i=ue({});function l(){var N;const k=(N=a==null?void 0:a.el)==null?void 0:N.value,f=r.value;if(!k||!f){i.value={};return}const y=f.getBoundingClientRect(),m=k.getBoundingClientRect(),x=(m.left+m.right)/2>(y.left+y.right)/2,S=8,b=12,p=x?y.right-m.left+S:m.right-y.left+S,v=Math.max(200,Math.min(o.width,y.width-p-b)),C=Math.max(0,m.top-y.top);let A=Math.max(120,y.height-C-b);o.matchToolbar&&(A=Math.max(120,Math.min(A,m.height))),o.maxHeight&&(A=Math.min(A,o.maxHeight)),i.value={top:`${Math.round(C)}px`,[x?"right":"left"]:`${Math.round(p)}px`,width:`${Math.round(v)}px`,maxHeight:`${Math.round(A)}px`,...o.height?{height:`${Math.round(Math.min(o.height,A))}px`}:{}}}function c(k){o.open&&k.detail!==s.value&&n("close")}rt(()=>o.open,async k=>{var f;if(k){await Lo(),l();try{(f=r.value)==null||f.dispatchEvent(new CustomEvent(Vs,{detail:s.value}))}catch{}}});function u(){o.open&&l()}function d(k){k.key==="Escape"&&o.open&&n("close")}function h(k){var y;if(!o.open)return;const f=k.composedPath?k.composedPath():[k.target];s.value&&f.includes(s.value)||(y=a==null?void 0:a.el)!=null&&y.value&&f.includes(a.el.value)||f.some(m=>{var x,S,b,p;return((S=(x=m==null?void 0:m.classList)==null?void 0:x.contains)==null?void 0:S.call(x,"mapboxgl-canvas"))||((p=(b=m==null?void 0:m.classList)==null?void 0:b.contains)==null?void 0:p.call(b,"maplibregl-canvas"))})&&n("close")}return to(()=>{var k,f,y;r.value=((f=(k=a==null?void 0:a.el)==null?void 0:k.value)==null?void 0:f.closest(w1))||null,(y=r.value)==null||y.addEventListener(Vs,c),window.addEventListener("resize",u),document.addEventListener("click",h,!0),document.addEventListener("keydown",d)}),To(()=>{var k;(k=r.value)==null||k.removeEventListener(Vs,c),window.removeEventListener("resize",u),document.removeEventListener("click",h,!0),document.removeEventListener("keydown",d)}),(k,f)=>(z(),st(Lp,{to:r.value,disabled:!r.value},[e.open?(z(),Q("div",{key:0,ref_key:"el",ref:s,class:Le(["mcm",{light:!e.isDark}]),style:tt(i.value),role:"dialog","aria-label":e.title},[E("div",_1,[E("span",v1,ce(e.title),1),E("button",{class:"mcm-close",type:"button","aria-label":"Close",onClick:f[0]||(f[0]=y=>n("close"))},[...f[1]||(f[1]=[E("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[E("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),E("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),E("div",k1,[sn(k.$slots,"default")])],14,y1)):me("",!0)],8,["to","disabled"]))}},S1={class:"share-steps"},A1={class:"share-tabs"},$1={key:0,class:"share-body"},L1={class:"share-url-box"},C1={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"},E1={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"},P1={key:1,class:"share-body"},M1={class:"share-size-pills"},N1=["onClick"],I1={class:"share-code-box"},R1={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},F1={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"},nd={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){wt(` +`,"map-control-menu");const o=e,n=t,a=Ee("mapToolbar",null),r=ue(null),s=ue(null),i=ue({});function l(){var N;const k=(N=a==null?void 0:a.el)==null?void 0:N.value,m=r.value;if(!k||!m){i.value={};return}const _=m.getBoundingClientRect(),h=k.getBoundingClientRect(),x=(h.left+h.right)/2>(_.left+_.right)/2,S=8,b=12,p=x?_.right-h.left+S:h.right-_.left+S,v=Math.max(200,Math.min(o.width,_.width-p-b)),C=Math.max(0,h.top-_.top);let A=Math.max(120,_.height-C-b);o.matchToolbar&&(A=Math.max(120,Math.min(A,h.height))),o.maxHeight&&(A=Math.min(A,o.maxHeight)),i.value={top:`${Math.round(C)}px`,[x?"right":"left"]:`${Math.round(p)}px`,width:`${Math.round(v)}px`,maxHeight:`${Math.round(A)}px`,...o.height?{height:`${Math.round(Math.min(o.height,A))}px`}:{}}}function c(k){o.open&&k.detail!==s.value&&n("close")}rt(()=>o.open,async k=>{var m;if(k){await Lo(),l();try{(m=r.value)==null||m.dispatchEvent(new CustomEvent(Vs,{detail:s.value}))}catch{}}});function u(){o.open&&l()}function d(k){k.key==="Escape"&&o.open&&n("close")}function f(k){var _;if(!o.open)return;const m=k.composedPath?k.composedPath():[k.target];s.value&&m.includes(s.value)||(_=a==null?void 0:a.el)!=null&&_.value&&m.includes(a.el.value)||m.some(h=>{var x,S,b,p;return((S=(x=h==null?void 0:h.classList)==null?void 0:x.contains)==null?void 0:S.call(x,"mapboxgl-canvas"))||((p=(b=h==null?void 0:h.classList)==null?void 0:b.contains)==null?void 0:p.call(b,"maplibregl-canvas"))})&&n("close")}return to(()=>{var k,m,_;r.value=((m=(k=a==null?void 0:a.el)==null?void 0:k.value)==null?void 0:m.closest(w1))||null,(_=r.value)==null||_.addEventListener(Vs,c),window.addEventListener("resize",u),document.addEventListener("click",f,!0),document.addEventListener("keydown",d)}),To(()=>{var k;(k=r.value)==null||k.removeEventListener(Vs,c),window.removeEventListener("resize",u),document.removeEventListener("click",f,!0),document.removeEventListener("keydown",d)}),(k,m)=>(z(),st(Lp,{to:r.value,disabled:!r.value},[e.open?(z(),Q("div",{key:0,ref_key:"el",ref:s,class:Le(["mcm",{light:!e.isDark}]),style:tt(i.value),role:"dialog","aria-label":e.title},[E("div",_1,[E("span",v1,ce(e.title),1),E("button",{class:"mcm-close",type:"button","aria-label":"Close",onClick:m[0]||(m[0]=_=>n("close"))},[...m[1]||(m[1]=[E("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[E("line",{x1:"2",y1:"2",x2:"12",y2:"12"}),E("line",{x1:"12",y1:"2",x2:"2",y2:"12"})],-1)])])]),E("div",k1,[sn(k.$slots,"default")])],14,y1)):me("",!0)],8,["to","disabled"]))}},S1={class:"share-steps"},A1={class:"share-tabs"},$1={key:0,class:"share-body"},L1={class:"share-url-box"},C1={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"},E1={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"},P1={key:1,class:"share-body"},M1={class:"share-size-pills"},N1=["onClick"],I1={class:"share-code-box"},R1={key:0,width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},F1={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"},nd={__name:"ShareButton",props:{isDark:{type:Boolean,default:!1},embedPath:{type:String,default:""}},setup(e){wt(` .share-wrap{position:relative;display:inline-block;border-radius:50%;} .share-wrap::before{content:'';position:absolute;inset:-2px;border-radius:50%;padding:2px;pointer-events:none; background:conic-gradient(#ff6b6b,#ffd166,#6bd67b,#4dabf7,#9775fa,#f783ac,#ff6b6b); @@ -1026,10 +1026,10 @@ border-color:rgba(46,164,79,0.30); color:#2ea44f; } -`,"share-button");const{t,tm:o,rt:n}=kt(),a=e,r=ue(null),s=ue(!1),i=ue(null),l=ue(null),c=ue("link"),u=ue(!1),d=ue(!1),h=ue("medium"),k={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},f=Ee("profileConfig",null),y=X(()=>b1({embedPath:a.embedPath,profileConfig:be(f)||null})),m=X(()=>{const C=k[h.value].height;return''});function x(){s.value=!s.value,s.value&&(c.value="link",u.value=!1,d.value=!1)}function S(){s.value=!1}async function b(C){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(C),!0}catch{}try{const A=document.createElement("textarea");A.value=C,A.setAttribute("readonly",""),A.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(A),A.select();const N=document.execCommand("copy");return document.body.removeChild(A),N}catch{return!1}}async function p(){await b(y.value)&&(u.value=!0,setTimeout(()=>{u.value=!1},2e3))}async function v(){await b(m.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}return(C,A)=>(z(),Q("div",{ref_key:"rootEl",ref:r,class:"share-wrap"},[je(qo,{ref_key:"btnEl",ref:l,"is-dark":e.isDark,active:s.value,title:be(t)("buttons.share"),onClick:x},{default:Bt(()=>[...A[2]||(A[2]=[E("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"},[E("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),E("polyline",{points:"16 6 12 2 8 6"}),E("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),je(x1,{open:s.value,title:be(t)("buttons.share"),"is-dark":e.isDark,onClose:S},{default:Bt(()=>[E("div",{ref_key:"popoverEl",ref:i,class:Le(["share-pop",{light:!e.isDark}])},[E("ul",S1,[(z(!0),Q(Ce,null,At(be(o)("buttons.shareSteps"),(N,M)=>(z(),Q("li",{key:M},ce(be(n)(N)),1))),128))]),E("div",A1,[E("button",{class:Le(["share-tab",{active:c.value==="link"}]),onClick:A[0]||(A[0]=N=>c.value="link")},"Embed link",2),E("button",{class:Le(["share-tab",{active:c.value==="embed"}]),onClick:A[1]||(A[1]=N=>c.value="embed")},"Add to Your Website",2)]),c.value==="link"?(z(),Q("div",$1,[E("div",L1,[E("div",C1,ce(y.value),1)]),E("button",{class:Le(["share-primary-btn",{copied:u.value}]),onClick:p},[u.value?(z(),Q("svg",E1,[...A[4]||(A[4]=[E("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),Q("svg",T1,[...A[3]||(A[3]=[E("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),E("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(" "+ce(u.value?"Copied!":"Copy Link"),1)],2)])):me("",!0),c.value==="embed"?(z(),Q("div",P1,[A[7]||(A[7]=E("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),E("div",M1,[(z(),Q(Ce,null,At(k,(N,M)=>E("button",{key:M,class:Le(["share-size-pill",{active:h.value===M}]),onClick:V=>h.value=M},ce(N.label),11,N1)),64))]),E("div",I1,ce(m.value),1),E("button",{class:Le(["share-secondary-btn",{copied:d.value}]),onClick:v},[d.value?(z(),Q("svg",F1,[...A[6]||(A[6]=[E("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),Q("svg",R1,[...A[5]||(A[5]=[E("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),E("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(" "+ce(d.value?"Copied!":"Copy Code"),1)],2)])):me("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},O1=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],D1={"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 B1(e){return D1[e]||O1}const j1={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},ur=["peopleGroups","people","places","languages","religions"],G1={regions:[...ur,"regions","wagfBlocks"],"people-groups":[...ur,"blocs","clusters"],language:[...ur,"dialects","families"],religion:[...ur]},U1=100,K1=50,H1=25,z1=10,Ws=5,ad=20,V1=[[/ sign language$/i,"Sign Language"]];function W1(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function Y1(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function J1(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($t[n])return $t[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if($t[a])return $t[a]}}if($t[e])return $t[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&$t[o])return $t[o];for(const[n,a]of V1)if(n.test(e))return a;return null}function rd(e,t){return{id:`doxa-section-header-${Ys(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 Ys(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function xe(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 dr(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function q1(e){var o,n,a,r,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=xe(i.name)+" "+xe(i.displayName)+" "+xe(i.alternateName),d=xe(i.countryName)+" "+xe(i.country)+" "+xe(i.countryIso)+" "+xe(i.countryIsoLabel),h=xe(i.religionName)+" "+xe(i.religion)+" "+xe(i.religionLabel)+" "+xe(i.religionCode),k=xe(i.language)+" "+xe(i.languageFamily)+" "+xe(i.languageCode),f=xe(i.doxaRegion)+" "+xe(i.wagfRegion)+" "+xe(i.wagfBlock),y=xe(i.affinityBlock)+" "+xe(i.affinityBlockLabel)+" "+xe((o=i._raw)==null?void 0:o.rop1),m=xe(i.cluster)+" "+xe(i.clusterLabel)+" "+xe((n=i._raw)==null?void 0:n.imb_reg_of_people_2),x=xe(i.peopleGroup)+" "+xe(i.peopleGroupLabel)+" "+xe((a=i._raw)==null?void 0:a.imb_reg_of_people_25),S=((r=i._raw)==null?void 0:r.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),b=S&&(typeof S=="object"?S.label||S.value:S)||dr(i.language)||dr(i.primaryLanguage)||"",p=W1(b),v=Y1(b);t.push({feature:i,nameHay:u,countryHay:d,religionHay:h,languageHay:k,regionHay:f,haystack:u+" "+d+" "+h+" "+k+" "+f+" "+y+" "+m+" "+x,blocHay:y,clusterHay:m,pgHay:x,lat:l,lng:c,familyDerived:J1(b)||null,languageLabel:b,baseLang:p,dialectLabel:v})}return t}function Z1(e){const t=(o,n,a)=>{const r=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=r.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),a&&a(l,s,!1);else{const c={key:i,label:dr(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??"")]};a&&a(c,s,!0),r.set(i,c)}}for(const s of r.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(r.values())};return{countries:t(o=>xe(o.feature.countryName)||xe(o.feature.country)||xe(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>xe(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>xe(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${xe(o.baseLang)}__${xe(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,a)=>{a?(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,a,r;return aa(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")},o=>{var n,a,r;return na[aa(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")]||"Unknown"}),regions:t(o=>xe(o.feature.doxaRegion)||xe(o.feature.wagfRegion),o=>{var n,a;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:a.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>xe(o.feature.wagfBlock),o=>{var n,a;return o.feature.wagfBlockLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:a.label)||o.feature.wagfBlock||""}),blocs:t(o=>xe(o.feature.affinityBlockLabel)||xe(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",a=o.feature.cluster||"";return a?`${n}__${a}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>xe(o.feature.peopleGroup)||xe(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,a)=>{a&&(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 X1(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",a=t.religionName||t.religion||"",r=t.slug||t.uniqueId||Ys(o+"-"+n),s=[e.lng,e.lat],i=[n,a].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${r}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:r,...t},feature:t}}function io(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 a=dr(t.label)||t.key,r=Ys(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${a} (${l}) · ${t.count}`:`${a} (${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}${r}`,place_name:c,text:a,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:r,doxaAggregate:e,count:t.count,label:a,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 Q1(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:a}=e,{t:r}=kt(),s=X(()=>{var d,h;if(!t||!t.sources)return[];if(o&&((d=t.sources[o])!=null&&d.features))return t.sources[o].features;for(const k of Object.keys(t.sources)){const f=t.sources[k];if((h=f==null?void 0:f.features)!=null&&h.length)return f.features}return[]}),i=X(()=>q1(s.value)),l=X(()=>Z1(i.value));function c(d){const h=String(d||"").trim().toLowerCase(),k={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(h.length<2)return k;const f=h.split(/[\s,;]+/).filter(Boolean);if(!f.length)return k;const y=i.value;if(!y.length)return k;const m=l.value,x=[];for(const L of y){let K=!0;for(const ye of f)if(!L.haystack.includes(ye)){K=!1;break}if(!K)continue;let se=0;f.some(ye=>L.nameHay.includes(ye))&&(se+=U1),f.some(ye=>L.countryHay.includes(ye))&&(se+=K1),f.some(ye=>L.religionHay.includes(ye))&&(se+=H1),f.some(ye=>L.languageHay.includes(ye))&&(se+=z1),x.push({entry:L,score:se})}x.sort((L,K)=>K.score-L.score);const S=x.slice(0,Ws).map(L=>X1(L.entry)),b=L=>L.filter(K=>f.every(se=>K.key.includes(se)||xe(K.label).includes(se))).sort((K,se)=>se.count-K.count).slice(0,Ws),p=b(m.countries).map(L=>io("country",L)),v=b(m.regions).map(L=>io("region",L)),C=b(m.wagfBlocks).map(L=>io("region",L)),A=b(m.families).map(L=>io("language-family",L)),N=b(m.languages).map(L=>io("language",L)),M=b(m.dialects).map(L=>io("dialect",L)),V=b(m.religions).map(L=>io("religion",L)),G=b(m.blocs).map(L=>io("affinity-bloc",L));let U=b(m.clusters).map(L=>io("cluster",L)),re=b(m.peopleGroups).map(L=>io("people-group",L));const B=new Set(G.map(L=>xe(L.text)));U=U.filter(L=>!B.has(xe(L.text)));const H=new Set(U.map(L=>xe(L.text)));return re=re.filter(L=>!B.has(xe(L.text))&&!H.has(xe(L.text))),{people:S,places:p,regions:v,wagfBlocks:C,families:A,languages:N,dialects:M,religions:V,blocs:G,clusters:U,peopleGroups:re}}function u(d){const h=typeof n=="function"?n():null,k=typeof a=="function"?a():null,f=c(d),y=B1(k),m=G1[k],x=m?Object.fromEntries(m.filter(A=>f[A]).map(A=>[A,f[A]])):f,S=y.flatMap(A=>x[A]||[]);if(!(h!=null&&h.key)||!S.length)return S.slice(0,ad);const b=[];for(const A of f.people){const N=i.value.find(V=>V.feature===A.feature);let M=!1;N&&(h.kind==="family"?M=(N.familyDerived||"").toLowerCase()===h.key.toLowerCase():h.kind==="language"&&(M=N.languageLabel.toLowerCase()===h.key.toLowerCase())),M&&b.push(A)}const p=[],v=h.key;b.length&&(p.push(rd(r("search.sections.within",{selection:v}),!1)),p.push(...b.slice(0,Ws)));const C=y.flatMap(A=>(x[A]||[]).slice(0,j1[A]??3)).map(A=>({...A,properties:{...A.properties,_allDataSection:!0}}));return p.push(rd(r("search.sections.allData"),!0)),p.push(...C),p.slice(0,ad+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const sd="https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.min.js",ek={__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(G){return G+G.replace(/mapboxgl/g,"maplibregl")}wt(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"),wt(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),wt(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"),wt(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.dg-search-band{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:9px 14px!important;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.10);}.dg-search-band--dark{background:#3b463d;box-shadow:0 1px 4px rgba(0,0,0,0.35);}.dg-search-band .mapboxgl-ctrl,.dg-search-band .maplibregl-ctrl{margin:0!important;float: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:a,locale:r}=kt(),s=e,i=X(()=>s.placeholder||a("search.placeholder")),l=o,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(G){return String(G??"").replace(/[&<>"']/g,U=>c[U])}function d(G){return G==null?"":typeof G=="string"?G:typeof G=="object"?G.label||G.value||"":String(G)}const h={"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 k(G){const U=h[G];if(!U)return"";const re=a("search.kinds."+U);return`${u(re)}`}function f(G){var B;if(!G)return"";const U=G.place_type||[];if(U.includes("doxa-section-header"))return`
${u(((B=G.properties)==null?void 0:B.headerLabel)||G.text||"")}
`;if(U.includes("people-group")){const H=G.properties||{},L=d(H.name)||d(H.displayName)||d(G.text)||"",K=d(H.countryName)||d(H.country)||d(H.countryIso)||"",se=d(H.language)||d(H.primaryLanguage)||d(H.languageFamily)||"",ye=d(H.religionName)||d(H.religion)||"",ne=a("search.labels.place"),te=a("search.labels.language"),fe=a("search.labels.religion"),Me=[];return K&&Me.push(`${u(ne)} ${u(K)}`),se&&Me.push(`${u(te)} ${u(se)}`),ye&&Me.push(`${u(fe)} ${u(ye)}`),`
${k("people-group")}${u(L)}
`+(Me.length?`
${Me.join("")}
`:"")}const re=U.find(H=>H.startsWith("doxa-"));if(re){const H=G.properties||{},L=u(d(H.label)||G.text||""),K=Number(H.count)||0,se=K?` ${K}`:"";return`
${k(re)}${L}${se}
`}return`
${u(G.place_name||G.text||"")}
`}const y=Ee("dataStore",null),m=Ee("mapStore",null),x=Ee("uiStore",null);function S(){return m?m.selectedFamily?{kind:"family",key:m.selectedFamily}:m.selectedLanguage?{kind:"language",key:m.selectedLanguage}:null:null}const{search:b}=Q1({dataStore:y,dataSourceId:s.dataSourceId||void 0,getActiveFilter:S,getActiveContext:()=>s.activeContext||null}),p=Nn(null),v=ue(null),C={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 A(G,U){const re=C[U]||C.mapbox;if(G.querySelector(`link[href="${re}"]`))return;const B=document.createElement("link");B.rel="stylesheet",B.href=re,G.prepend(B)}async function N(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const G=document.querySelector(`script[src="${sd}"]`);if(G){if(window.MaplibreGeocoder)return;await new Promise(U=>{G.addEventListener("load",U,{once:!0}),G.addEventListener("error",U,{once:!0})});return}await new Promise((U,re)=>{const B=document.createElement("script");B.src=sd,B.async=!1,B.addEventListener("load",U,{once:!0}),B.addEventListener("error",()=>re(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(B)})}function M(G,U){return async re=>{const B={features:[]};if(!G||!(re!=null&&re.query))return B;try{const H=Array.isArray(re.language)?re.language[0]:re.language||U()||"en",L=new URLSearchParams({access_token:G,autocomplete:"true",limit:String(re.limit||5)});H&&L.set("language",H);const K=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(re.query)}.json?${L.toString()}`,se=await fetch(K);if(!se.ok)return B;const ye=await se.json();return ye&&Array.isArray(ye.features)?ye:B}catch{return B}}}to(async()=>{var H,L,K,se,ye;const G=s.provider==="maplibre";if(G){if(await N(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u")return;const U=s.mapInstance;if(!s.standalone&&!U)return;const re=s.standalone?(L=(H=v.value)==null?void 0:H.getRootNode)==null?void 0:L.call(H):(ye=(se=(K=U.getContainer)==null?void 0:K.call(U))==null?void 0:se.getRootNode)==null?void 0:ye.call(se);re instanceof ShadowRoot&&A(re,s.provider);const B={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:i.value,language:r.value||"en",localGeocoder:b,limit:20,zoom:6,render:f};if(G){const ne=typeof maplibregl<"u"?maplibregl:void 0,te={forwardGeocode:M(s.accessToken,()=>r.value)};p.value=new MaplibreGeocoder(te,{...B,maplibregl:ne,showResultsWhileTyping:!0,reverseGeocode:!1})}else p.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...B});if(p.value.on("result",ne=>{var fe,Me,We,Ze,Xe,ot,Qe,gt,et,xt,$,P,T,O,W,q,Z,Y,g,_,R,j,ie,ae,F,w,I,oe,de,ge;const te=ne==null?void 0:ne.result;te&&((fe=te.place_type)!=null&&fe.includes("doxa-section-header")||(m&&(m.selectedRegion=null,m.selectedResource=null,m.selectedAffinityBlock=null,m.selectedDialect=null),x&&((Me=x.setPrayerFilter)==null||Me.call(x,null),(We=x.setEngagementFilter)==null||We.call(x,null),(Ze=x.setAdoptionFilter)==null||Ze.call(x,null),(Xe=x.setReligionFilter)==null||Xe.call(x,null)),(ot=te.properties)!=null&&ot._allDataSection&&m&&(m.selectedFamily=null,m.selectedLanguage=null),l("result",ne),(Qe=te.place_type)!=null&&Qe.includes("people-group")&&te.feature?l("people-group-result",{type:"Feature",properties:te.properties||te.feature,geometry:te.geometry||{type:"Point",coordinates:te.center}}):((gt=te.place_type)!=null&>.includes("doxa-country")||(et=te.place_type)!=null&&et.includes("doxa-region")||(xt=te.place_type)!=null&&xt.includes("doxa-language-family")||($=te.place_type)!=null&&$.includes("doxa-language")||(P=te.place_type)!=null&&P.includes("doxa-dialect")||(T=te.place_type)!=null&&T.includes("doxa-religion")||(O=te.place_type)!=null&&O.includes("doxa-affinity-bloc")||(W=te.place_type)!=null&&W.includes("doxa-cluster")||(q=te.place_type)!=null&&q.includes("doxa-people-group"))&&l("aggregate-result",{kind:te.place_type[0].replace(/^doxa-/,""),label:((Z=te.properties)==null?void 0:Z.label)||te.text,count:((Y=te.properties)==null?void 0:Y.count)||0,memberIds:((g=te.properties)==null?void 0:g.memberIds)||[],bounds:((_=te.properties)==null?void 0:_.bounds)||null,center:te.center,originalLabels:((R=te.properties)==null?void 0:R.originalLabels)||null,familyDerived:((j=te.properties)==null?void 0:j.familyDerived)||"",baseLang:((ie=te.properties)==null?void 0:ie.baseLang)||"",dialectLabel:((ae=te.properties)==null?void 0:ae.dialectLabel)||"",slug:((F=te.properties)==null?void 0:F.slug)||null,id:te.id||null,blocCode:((w=te.properties)==null?void 0:w.blocCode)||"",blocLabel:((I=te.properties)==null?void 0:I.blocLabel)||"",clusterCode:((oe=te.properties)==null?void 0:oe.clusterCode)||"",clusterLabel:((de=te.properties)==null?void 0:de.clusterLabel)||"",peopleGroupCode:((ge=te.properties)==null?void 0:ge.peopleGroupCode)||"",properties:te.properties||null})))}),p.value.on("clear",()=>l("clear")),p.value.on("error",ne=>l("error",ne)),s.standalone){if(v.value){const ne={on(){},off(){},fire(){},getContainer:()=>v.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const te=p.value.onAdd(s.mapInstance||ne);te&&v.value.appendChild(te)}catch(te){l("error",te)}}}else U.addControl(p.value,"top-left"),V()});function V(){var U,re;const G=(re=(U=p.value)==null?void 0:U.container)==null?void 0:re.parentElement;G&&(G.classList.add("dg-search-band"),G.classList.toggle("dg-search-band--dark",!!s.isDark))}return rt(()=>s.isDark,()=>V()),rt(i,G=>{var B,H;const U=p.value;if(!U)return;const re=U._inputEl||((H=(B=U.container)==null?void 0:B.querySelector)==null?void 0:H.call(B,"input.mapboxgl-ctrl-geocoder--input"));re&&(re.placeholder=G,re.setAttribute("placeholder",G)),U.options&&(U.options.placeholder=G)}),rt(r,G=>{const U=p.value;U!=null&&U.options&&(U.options.language=G||"en")}),To(()=>{var G,U;if(p.value){try{s.standalone?(U=(G=p.value).onRemove)==null||U.call(G):s.mapInstance&&s.mapInstance.removeControl(p.value)}catch{}p.value=null}}),t({geocoder:p}),(G,U)=>e.standalone?(z(),Q("div",{key:0,ref_key:"standaloneContainer",ref:v,class:"dg-standalone-geocoder"},null,512)):sn(G.$slots,"default",{},void 0,void 0,1)}},tk=["country_code","wagf_region","wagf_block","primary_language","religion"];function ok(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function nk(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of tk)if(o in t){const{value:n,label:a}=ok(t[o]);t[o]=n,a!=null&&(t[`${o}_label`]=a)}return t}function id(e){return Array.isArray(e)?e.map(nk):[]}function ld(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 cd(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function ak(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function ra(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 a=e.value;for(const r of n)if(r&&r.country_code===a){const s=vn(r);s!=null&&o.add(s)}return o}case"country_codes":{const a=new Set(Array.isArray(e.values)?e.values:[]);for(const r of n)if(r&&a.has(r.country_code)){const s=vn(r);s!=null&&o.add(s)}return o}case"wagf_block":{const a=e.value;for(const r of n)if(r&&r.wagf_block===a){const s=vn(r);s!=null&&o.add(s)}return o}case"wagf_region":{const a=e.value;for(const r of n)if(r&&r.wagf_region===a){const s=vn(r);s!=null&&o.add(s)}return o}case"union":{const a=Array.isArray(e.selectors)?e.selectors:[];for(const r of a){const s=ra(r,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const a=new Set(Array.isArray(e.regions)?e.regions:[]);for(const r of n){if(!r)continue;if((cd(r.slug)||cd(r.name))&&a.has(r.wagf_region)){const i=vn(r);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const a=e.rop1;for(const r of n)if(r&&ak(r)===a){const s=vn(r);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 rk=Object.freeze(Object.defineProperty({__proto__:null,default:ra,evaluate:ra},Symbol.toStringTag,{value:"Module"}));function sk(e,t){return`hsl(${Math.round(e*360/(t||1))}, 72%, 56%)`}function pr(e){if(typeof e.count=="number")return e.count;if(typeof e.expected_count=="number")return e.expected_count}function ud(e){const t=parseInt(e&&e.population,10);return Number.isFinite(t)?t:0}function ik(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 r=new Set(Array.isArray(o.values)?o.values:[]);let s=0;for(const i of t)i&&r.has(i.slug)&&(s+=ud(i));return s}const n=ra(o,t);let a=0;for(const r of t)r&&n.has(r.slug)&&(a+=ud(r));return a}function Js(e,t={}){const o=t.deafCount??123,n=Array.isArray(t.records)?t.records:null,a=e.lists||[],r=e.asia_lists||[],s=e.uncovered_lists||[],i={type:"affinity_bloc",rop1:"A017"},l=r.filter(B=>B.id.startsWith("asia-india")),c=r.filter(B=>B.id.startsWith("asia-china")),u=[...a.map(B=>B.id),"deaf",...l.map(B=>B.id),...c.map(B=>B.id),...s.map(B=>B.id)],d=u.length,h=B=>sk(u.indexOf(B),d),k=(B,H,L)=>{if(!n)return B;const K=L??(H&&H.selector);return B.pop=ik({selector:K},n),B},f=B=>n?B.reduce((H,L)=>H+(L.pop||0),0):void 0,y=a.map(B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:h(B.id),count:pr(B)},B)),m=k({id:"deaf",zoneKey:"deaf",label:"Deaf (affinity bloc A017)",color:h("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=B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:h(B.id),count:pr(B),...Array.isArray(B.adm0)&&B.adm0.length?{adm0:B.adm0}:{},...Array.isArray(B.provinces)&&B.provinces.length?{provinces:B.provinces}:{}},B),S=l.map(x),b=c.map(x),p=B=>B.reduce((H,L)=>H+(pr(L)||0),0),v={id:"asia-india",label:"India",count:p(l),children:S},C={id:"asia-china",label:"China",count:p(c),children:b};n&&(v.pop=f(S),C.pop=f(b)),p(r),n&&f([v,C]);const A=B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:h(B.id),count:pr(B)},B),N=s.map(A);N.length>0&&(()=>{const B={id:"frontier-asia",label:"Frontier Asia (uncovered)",count:p(s),children:N};return n&&(B.pop=f(N)),B})();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"},V=B=>M[B]||(String(B).startsWith("asia-india-")?"India":String(B).startsWith("asia-china-")?"China + Mongolia":"Other"),G=[...y,m,...S,...b,...N].filter(Boolean),U=new Map;for(const B of G){const H=V(B.id||B.zoneKey);U.has(H)||U.set(H,[]),U.get(H).push(B)}const re=[...U.entries()].map(([B,H])=>{H.sort((K,se)=>(se.count||0)-(K.count||0));const L={id:"region-"+B.toLowerCase().replace(/[^a-z0-9]+/g,"-"),label:B,count:H.reduce((K,se)=>K+(se.count||0),0),children:H};return n&&(L.pop=f(H)),L}).sort((B,H)=>(H.count||0)-(B.count||0));return lk(dd(re),{withPop:!!n}),re}function lk(e,{withPop:t=!1}={}){const o=[];for(const n of e||[]){const a=[];(typeof n.id!="string"||!n.id)&&a.push("id"),(typeof n.zoneKey!="string"||!n.zoneKey)&&a.push("zoneKey"),(typeof n.label!="string"||!n.label)&&a.push("label"),(typeof n.color!="string"||!n.color)&&a.push("color"),typeof n.count!="number"&&a.push("count"),t&&typeof n.pop!="number"&&a.push("pop"),a.length&&o.push(`${n.id||"(no-id)"}: missing/!type [${a.join(", ")}]`)}if(o.length)throw new Error(`legend-tree L15: ${o.length} leaf node(s) violate the uniform consumer shape: +`,"share-button");const{t,tm:o,rt:n}=kt(),a=e,r=ue(null),s=ue(!1),i=ue(null),l=ue(null),c=ue("link"),u=ue(!1),d=ue(!1),f=ue("medium"),k={small:{label:"Small",height:400},medium:{label:"Medium",height:600},large:{label:"Large",height:800}},m=Ee("profileConfig",null),_=X(()=>b1({embedPath:a.embedPath,profileConfig:be(m)||null})),h=X(()=>{const C=k[f.value].height;return''});function x(){s.value=!s.value,s.value&&(c.value="link",u.value=!1,d.value=!1)}function S(){s.value=!1}async function b(C){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(C),!0}catch{}try{const A=document.createElement("textarea");A.value=C,A.setAttribute("readonly",""),A.style.cssText="position:fixed;top:-1000px;opacity:0",document.body.appendChild(A),A.select();const N=document.execCommand("copy");return document.body.removeChild(A),N}catch{return!1}}async function p(){await b(_.value)&&(u.value=!0,setTimeout(()=>{u.value=!1},2e3))}async function v(){await b(h.value)&&(d.value=!0,setTimeout(()=>{d.value=!1},2e3))}return(C,A)=>(z(),Q("div",{ref_key:"rootEl",ref:r,class:"share-wrap"},[je(qo,{ref_key:"btnEl",ref:l,"is-dark":e.isDark,active:s.value,title:be(t)("buttons.share"),onClick:x},{default:Bt(()=>[...A[2]||(A[2]=[E("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"},[E("path",{d:"M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"}),E("polyline",{points:"16 6 12 2 8 6"}),E("line",{x1:"12",y1:"2",x2:"12",y2:"15"})],-1)])]),_:1},8,["is-dark","active","title"]),je(x1,{open:s.value,title:be(t)("buttons.share"),"is-dark":e.isDark,onClose:S},{default:Bt(()=>[E("div",{ref_key:"popoverEl",ref:i,class:Le(["share-pop",{light:!e.isDark}])},[E("ul",S1,[(z(!0),Q(Ce,null,At(be(o)("buttons.shareSteps"),(N,M)=>(z(),Q("li",{key:M},ce(be(n)(N)),1))),128))]),E("div",A1,[E("button",{class:Le(["share-tab",{active:c.value==="link"}]),onClick:A[0]||(A[0]=N=>c.value="link")},"Embed link",2),E("button",{class:Le(["share-tab",{active:c.value==="embed"}]),onClick:A[1]||(A[1]=N=>c.value="embed")},"Add to Your Website",2)]),c.value==="link"?(z(),Q("div",$1,[E("div",L1,[E("div",C1,ce(_.value),1)]),E("button",{class:Le(["share-primary-btn",{copied:u.value}]),onClick:p},[u.value?(z(),Q("svg",E1,[...A[4]||(A[4]=[E("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),Q("svg",T1,[...A[3]||(A[3]=[E("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),E("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(" "+ce(u.value?"Copied!":"Copy Link"),1)],2)])):me("",!0),c.value==="embed"?(z(),Q("div",P1,[A[7]||(A[7]=E("div",{class:"share-embed-desc"}," Paste this code into your website builder (WordPress, Squarespace, Wix, or any site that accepts HTML widgets). ",-1)),E("div",M1,[(z(),Q(Ce,null,At(k,(N,M)=>E("button",{key:M,class:Le(["share-size-pill",{active:f.value===M}]),onClick:V=>f.value=M},ce(N.label),11,N1)),64))]),E("div",I1,ce(h.value),1),E("button",{class:Le(["share-secondary-btn",{copied:d.value}]),onClick:v},[d.value?(z(),Q("svg",F1,[...A[6]||(A[6]=[E("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(z(),Q("svg",R1,[...A[5]||(A[5]=[E("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},null,-1),E("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(" "+ce(d.value?"Copied!":"Copy Code"),1)],2)])):me("",!0)],2)]),_:1},8,["open","title","is-dark"])],512))}},O1=["blocs","clusters","peopleGroups","families","languages","dialects","people","places","regions","wagfBlocks","religions"],D1={"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 B1(e){return D1[e]||O1}const j1={blocs:3,clusters:3,peopleGroups:3,families:3,languages:3,dialects:3,people:5,places:2,regions:3,wagfBlocks:3,religions:2},ur=["peopleGroups","people","places","languages","religions"],G1={regions:[...ur,"regions","wagfBlocks"],"people-groups":[...ur,"blocs","clusters"],language:[...ur,"dialects","families"],religion:[...ur]},U1=100,K1=50,H1=25,z1=10,Ws=5,ad=20,V1=[[/ sign language$/i,"Sign Language"]];function W1(e){if(!e||typeof e!="string")return"";const t=e.indexOf(",");return t>0?e.slice(0,t).trim():e.trim()}function Y1(e){if(!e||typeof e!="string")return null;const t=e.indexOf(",");return t>=0&&e.slice(t+1).trim()||null}function J1(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($t[n])return $t[n];if(t.length>=3){const a=[t[1],t[0]].join(" ");if($t[a])return $t[a]}}if($t[e])return $t[e];const o=e.replace(/\s*\(.*?\)\s*$/,"").trim();if(o!==e&&$t[o])return $t[o];for(const[n,a]of V1)if(n.test(e))return a;return null}function rd(e,t){return{id:`doxa-section-header-${Ys(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 Ys(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function xe(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 dr(e){return e==null?"":typeof e=="string"?e:typeof e=="object"?e.label||e.value||"":String(e)}function q1(e){var o,n,a,r,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=xe(i.name)+" "+xe(i.displayName)+" "+xe(i.alternateName),d=xe(i.countryName)+" "+xe(i.country)+" "+xe(i.countryIso)+" "+xe(i.countryIsoLabel),f=xe(i.religionName)+" "+xe(i.religion)+" "+xe(i.religionLabel)+" "+xe(i.religionCode),k=xe(i.language)+" "+xe(i.languageFamily)+" "+xe(i.languageCode),m=xe(i.doxaRegion)+" "+xe(i.wagfRegion)+" "+xe(i.wagfBlock),_=xe(i.affinityBlock)+" "+xe(i.affinityBlockLabel)+" "+xe((o=i._raw)==null?void 0:o.rop1),h=xe(i.cluster)+" "+xe(i.clusterLabel)+" "+xe((n=i._raw)==null?void 0:n.imb_reg_of_people_2),x=xe(i.peopleGroup)+" "+xe(i.peopleGroupLabel)+" "+xe((a=i._raw)==null?void 0:a.imb_reg_of_people_25),S=((r=i._raw)==null?void 0:r.primary_language)??((s=i._raw)==null?void 0:s.PrimaryLanguage),b=S&&(typeof S=="object"?S.label||S.value:S)||dr(i.language)||dr(i.primaryLanguage)||"",p=W1(b),v=Y1(b);t.push({feature:i,nameHay:u,countryHay:d,religionHay:f,languageHay:k,regionHay:m,haystack:u+" "+d+" "+f+" "+k+" "+m+" "+_+" "+h+" "+x,blocHay:_,clusterHay:h,pgHay:x,lat:l,lng:c,familyDerived:J1(b)||null,languageLabel:b,baseLang:p,dialectLabel:v})}return t}function Z1(e){const t=(o,n,a)=>{const r=new Map;for(const s of e){const i=o(s);if(!i)continue;const l=r.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),a&&a(l,s,!1);else{const c={key:i,label:dr(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??"")]};a&&a(c,s,!0),r.set(i,c)}}for(const s of r.values())s.lng=s.lngSum/s.count,s.lat=s.latSum/s.count;return Array.from(r.values())};return{countries:t(o=>xe(o.feature.countryName)||xe(o.feature.country)||xe(o.feature.countryIso),o=>o.feature.countryName||o.feature.country||o.feature.countryIso||""),families:t(o=>xe(o.familyDerived),o=>o.familyDerived||""),languages:t(o=>xe(o.baseLang),o=>o.baseLang||""),dialects:t(o=>o.dialectLabel?`${xe(o.baseLang)}__${xe(o.dialectLabel)}`:"",o=>`${o.baseLang}, ${o.dialectLabel}`,(o,n,a)=>{a?(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,a,r;return aa(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")},o=>{var n,a,r;return na[aa(o.feature.religion||((a=(n=o.feature._raw)==null?void 0:n.religion)==null?void 0:a.value)||((r=o.feature._raw)==null?void 0:r.religion)||"")]||"Unknown"}),regions:t(o=>xe(o.feature.doxaRegion)||xe(o.feature.wagfRegion),o=>{var n,a;return o.feature.wagfRegionLabel||o.feature.doxaRegionLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_region)==null?void 0:a.label)||o.feature.doxaRegion||o.feature.wagfRegion||""}),wagfBlocks:t(o=>xe(o.feature.wagfBlock),o=>{var n,a;return o.feature.wagfBlockLabel||((a=(n=o.feature._raw)==null?void 0:n.wagf_block)==null?void 0:a.label)||o.feature.wagfBlock||""}),blocs:t(o=>xe(o.feature.affinityBlockLabel)||xe(o.feature.affinityBlock),o=>o.feature.affinityBlockLabel||o.feature.affinityBlock||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"")}),clusters:t(o=>{const n=o.feature.affinityBlock||"",a=o.feature.cluster||"";return a?`${n}__${a}`:""},o=>o.feature.clusterLabel||o.feature.cluster||"",(o,n,a)=>{a&&(o.blocCode=n.feature.affinityBlock||"",o.blocLabel=n.feature.affinityBlockLabel||"",o.clusterCode=n.feature.cluster||"")}),peopleGroups:t(o=>xe(o.feature.peopleGroup)||xe(o.feature.peopleGroupLabel),o=>o.feature.peopleGroupLabel||o.feature.peopleGroup||o.feature.name||"",(o,n,a)=>{a&&(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 X1(e){const t=e.feature,o=t.name||t.displayName||t.slug||"Unknown",n=t.countryName||t.country||t.countryIso||"",a=t.religionName||t.religion||"",r=t.slug||t.uniqueId||Ys(o+"-"+n),s=[e.lng,e.lat],i=[n,a].filter(Boolean).join(" — "),l=i?`${o}, ${i}`:o;return{id:`doxa-pg-${r}`,place_name:l,text:o,center:s,place_type:["people-group"],geometry:{type:"Point",coordinates:s},properties:{slug:r,...t},feature:t}}function io(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 a=dr(t.label)||t.key,r=Ys(t.key),s=[t.lng,t.lat],l={"affinity-bloc":"Affinity Block",cluster:"Cluster","people-group":"PG","pg-in-country":"PGIC"}[e],c=l?`${a} (${l}) · ${t.count}`:`${a} (${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}${r}`,place_name:c,text:a,center:s,bbox:[t.minLng,t.minLat,t.maxLng,t.maxLat],place_type:[o],geometry:{type:"Point",coordinates:s},properties:{slug:r,doxaAggregate:e,count:t.count,label:a,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 Q1(e={}){const{dataStore:t,dataSourceId:o,getActiveFilter:n,getActiveContext:a}=e,{t:r}=kt(),s=X(()=>{var d,f;if(!t||!t.sources)return[];if(o&&((d=t.sources[o])!=null&&d.features))return t.sources[o].features;for(const k of Object.keys(t.sources)){const m=t.sources[k];if((f=m==null?void 0:m.features)!=null&&f.length)return m.features}return[]}),i=X(()=>q1(s.value)),l=X(()=>Z1(i.value));function c(d){const f=String(d||"").trim().toLowerCase(),k={people:[],places:[],regions:[],wagfBlocks:[],families:[],languages:[],dialects:[],religions:[],blocs:[],clusters:[],peopleGroups:[]};if(f.length<2)return k;const m=f.split(/[\s,;]+/).filter(Boolean);if(!m.length)return k;const _=i.value;if(!_.length)return k;const h=l.value,x=[];for(const L of _){let K=!0;for(const ye of m)if(!L.haystack.includes(ye)){K=!1;break}if(!K)continue;let se=0;m.some(ye=>L.nameHay.includes(ye))&&(se+=U1),m.some(ye=>L.countryHay.includes(ye))&&(se+=K1),m.some(ye=>L.religionHay.includes(ye))&&(se+=H1),m.some(ye=>L.languageHay.includes(ye))&&(se+=z1),x.push({entry:L,score:se})}x.sort((L,K)=>K.score-L.score);const S=x.slice(0,Ws).map(L=>X1(L.entry)),b=L=>L.filter(K=>m.every(se=>K.key.includes(se)||xe(K.label).includes(se))).sort((K,se)=>se.count-K.count).slice(0,Ws),p=b(h.countries).map(L=>io("country",L)),v=b(h.regions).map(L=>io("region",L)),C=b(h.wagfBlocks).map(L=>io("region",L)),A=b(h.families).map(L=>io("language-family",L)),N=b(h.languages).map(L=>io("language",L)),M=b(h.dialects).map(L=>io("dialect",L)),V=b(h.religions).map(L=>io("religion",L)),G=b(h.blocs).map(L=>io("affinity-bloc",L));let U=b(h.clusters).map(L=>io("cluster",L)),re=b(h.peopleGroups).map(L=>io("people-group",L));const B=new Set(G.map(L=>xe(L.text)));U=U.filter(L=>!B.has(xe(L.text)));const H=new Set(U.map(L=>xe(L.text)));return re=re.filter(L=>!B.has(xe(L.text))&&!H.has(xe(L.text))),{people:S,places:p,regions:v,wagfBlocks:C,families:A,languages:N,dialects:M,religions:V,blocs:G,clusters:U,peopleGroups:re}}function u(d){const f=typeof n=="function"?n():null,k=typeof a=="function"?a():null,m=c(d),_=B1(k),h=G1[k],x=h?Object.fromEntries(h.filter(A=>m[A]).map(A=>[A,m[A]])):m,S=_.flatMap(A=>x[A]||[]);if(!(f!=null&&f.key)||!S.length)return S.slice(0,ad);const b=[];for(const A of m.people){const N=i.value.find(V=>V.feature===A.feature);let M=!1;N&&(f.kind==="family"?M=(N.familyDerived||"").toLowerCase()===f.key.toLowerCase():f.kind==="language"&&(M=N.languageLabel.toLowerCase()===f.key.toLowerCase())),M&&b.push(A)}const p=[],v=f.key;b.length&&(p.push(rd(r("search.sections.within",{selection:v}),!1)),p.push(...b.slice(0,Ws)));const C=_.flatMap(A=>(x[A]||[]).slice(0,j1[A]??3)).map(A=>({...A,properties:{...A.properties,_allDataSection:!0}}));return p.push(rd(r("search.sections.allData"),!0)),p.push(...C),p.slice(0,ad+8)}return{search:u,searchGrouped:c,index:i,aggregates:l}}const sd="https://cdn.jsdelivr.net/npm/@maplibre/maplibre-gl-geocoder@1/dist/maplibre-gl-geocoder.min.js",ek={__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(G){return G+G.replace(/mapboxgl/g,"maplibregl")}wt(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"),wt(n(".mapboxgl-ctrl-geocoder--icon-loading{display:none !important;}"),"geocoder-hide-loading"),wt(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"),wt(n(".mapboxgl-ctrl-geocoder{width:100%!important;max-width:100%!important;min-width:0!important;}@media(max-width:767px){.dg-search-band{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:9px 14px!important;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.10);}.dg-search-band--dark{background:#3b463d;box-shadow:0 1px 4px rgba(0,0,0,0.35);}.dg-search-band .mapboxgl-ctrl,.dg-search-band .maplibregl-ctrl{margin:0!important;float: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:a,locale:r}=kt(),s=e,i=X(()=>s.placeholder||a("search.placeholder")),l=o,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(G){return String(G??"").replace(/[&<>"']/g,U=>c[U])}function d(G){return G==null?"":typeof G=="string"?G:typeof G=="object"?G.label||G.value||"":String(G)}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 k(G){const U=f[G];if(!U)return"";const re=a("search.kinds."+U);return`${u(re)}`}function m(G){var B;if(!G)return"";const U=G.place_type||[];if(U.includes("doxa-section-header"))return`
${u(((B=G.properties)==null?void 0:B.headerLabel)||G.text||"")}
`;if(U.includes("people-group")){const H=G.properties||{},L=d(H.name)||d(H.displayName)||d(G.text)||"",K=d(H.countryName)||d(H.country)||d(H.countryIso)||"",se=d(H.language)||d(H.primaryLanguage)||d(H.languageFamily)||"",ye=d(H.religionName)||d(H.religion)||"",ne=a("search.labels.place"),te=a("search.labels.language"),fe=a("search.labels.religion"),Me=[];return K&&Me.push(`${u(ne)} ${u(K)}`),se&&Me.push(`${u(te)} ${u(se)}`),ye&&Me.push(`${u(fe)} ${u(ye)}`),`
${k("people-group")}${u(L)}
`+(Me.length?`
${Me.join("")}
`:"")}const re=U.find(H=>H.startsWith("doxa-"));if(re){const H=G.properties||{},L=u(d(H.label)||G.text||""),K=Number(H.count)||0,se=K?` ${K}`:"";return`
${k(re)}${L}${se}
`}return`
${u(G.place_name||G.text||"")}
`}const _=Ee("dataStore",null),h=Ee("mapStore",null),x=Ee("uiStore",null);function S(){return h?h.selectedFamily?{kind:"family",key:h.selectedFamily}:h.selectedLanguage?{kind:"language",key:h.selectedLanguage}:null:null}const{search:b}=Q1({dataStore:_,dataSourceId:s.dataSourceId||void 0,getActiveFilter:S,getActiveContext:()=>s.activeContext||null}),p=Nn(null),v=ue(null),C={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 A(G,U){const re=C[U]||C.mapbox;if(G.querySelector(`link[href="${re}"]`))return;const B=document.createElement("link");B.rel="stylesheet",B.href=re,G.prepend(B)}async function N(){if(typeof window<"u"&&window.MaplibreGeocoder||typeof document>"u")return;const G=document.querySelector(`script[src="${sd}"]`);if(G){if(window.MaplibreGeocoder)return;await new Promise(U=>{G.addEventListener("load",U,{once:!0}),G.addEventListener("error",U,{once:!0})});return}await new Promise((U,re)=>{const B=document.createElement("script");B.src=sd,B.async=!1,B.addEventListener("load",U,{once:!0}),B.addEventListener("error",()=>re(new Error("[GeocoderComponent] Failed to load MapLibre geocoder")),{once:!0}),document.head.appendChild(B)})}function M(G,U){return async re=>{const B={features:[]};if(!G||!(re!=null&&re.query))return B;try{const H=Array.isArray(re.language)?re.language[0]:re.language||U()||"en",L=new URLSearchParams({access_token:G,autocomplete:"true",limit:String(re.limit||5)});H&&L.set("language",H);const K=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(re.query)}.json?${L.toString()}`,se=await fetch(K);if(!se.ok)return B;const ye=await se.json();return ye&&Array.isArray(ye.features)?ye:B}catch{return B}}}to(async()=>{var H,L,K,se,ye;const G=s.provider==="maplibre";if(G){if(await N(),typeof MaplibreGeocoder>"u"){console.error("[GeocoderComponent] MaplibreGeocoder global unavailable.");return}}else if(typeof MapboxGeocoder>"u")return;const U=s.mapInstance;if(!s.standalone&&!U)return;const re=s.standalone?(L=(H=v.value)==null?void 0:H.getRootNode)==null?void 0:L.call(H):(ye=(se=(K=U.getContainer)==null?void 0:K.call(U))==null?void 0:se.getRootNode)==null?void 0:ye.call(se);re instanceof ShadowRoot&&A(re,s.provider);const B={marker:!1,flyTo:!s.standalone,trackProximity:!s.standalone,placeholder:i.value,language:r.value||"en",localGeocoder:b,limit:20,zoom:6,render:m};if(G){const ne=typeof maplibregl<"u"?maplibregl:void 0,te={forwardGeocode:M(s.accessToken,()=>r.value)};p.value=new MaplibreGeocoder(te,{...B,maplibregl:ne,showResultsWhileTyping:!0,reverseGeocode:!1})}else p.value=new MapboxGeocoder({accessToken:s.accessToken,mapboxgl,...B});if(p.value.on("result",ne=>{var fe,Me,We,Ze,Xe,ot,Qe,gt,et,xt,$,P,T,O,W,q,Z,Y,g,y,R,j,ie,ae,F,w,I,oe,de,ge;const te=ne==null?void 0:ne.result;te&&((fe=te.place_type)!=null&&fe.includes("doxa-section-header")||(h&&(h.selectedRegion=null,h.selectedResource=null,h.selectedAffinityBlock=null,h.selectedDialect=null),x&&((Me=x.setPrayerFilter)==null||Me.call(x,null),(We=x.setEngagementFilter)==null||We.call(x,null),(Ze=x.setAdoptionFilter)==null||Ze.call(x,null),(Xe=x.setReligionFilter)==null||Xe.call(x,null)),(ot=te.properties)!=null&&ot._allDataSection&&h&&(h.selectedFamily=null,h.selectedLanguage=null),l("result",ne),(Qe=te.place_type)!=null&&Qe.includes("people-group")&&te.feature?l("people-group-result",{type:"Feature",properties:te.properties||te.feature,geometry:te.geometry||{type:"Point",coordinates:te.center}}):((gt=te.place_type)!=null&>.includes("doxa-country")||(et=te.place_type)!=null&&et.includes("doxa-region")||(xt=te.place_type)!=null&&xt.includes("doxa-language-family")||($=te.place_type)!=null&&$.includes("doxa-language")||(P=te.place_type)!=null&&P.includes("doxa-dialect")||(T=te.place_type)!=null&&T.includes("doxa-religion")||(O=te.place_type)!=null&&O.includes("doxa-affinity-bloc")||(W=te.place_type)!=null&&W.includes("doxa-cluster")||(q=te.place_type)!=null&&q.includes("doxa-people-group"))&&l("aggregate-result",{kind:te.place_type[0].replace(/^doxa-/,""),label:((Z=te.properties)==null?void 0:Z.label)||te.text,count:((Y=te.properties)==null?void 0:Y.count)||0,memberIds:((g=te.properties)==null?void 0:g.memberIds)||[],bounds:((y=te.properties)==null?void 0:y.bounds)||null,center:te.center,originalLabels:((R=te.properties)==null?void 0:R.originalLabels)||null,familyDerived:((j=te.properties)==null?void 0:j.familyDerived)||"",baseLang:((ie=te.properties)==null?void 0:ie.baseLang)||"",dialectLabel:((ae=te.properties)==null?void 0:ae.dialectLabel)||"",slug:((F=te.properties)==null?void 0:F.slug)||null,id:te.id||null,blocCode:((w=te.properties)==null?void 0:w.blocCode)||"",blocLabel:((I=te.properties)==null?void 0:I.blocLabel)||"",clusterCode:((oe=te.properties)==null?void 0:oe.clusterCode)||"",clusterLabel:((de=te.properties)==null?void 0:de.clusterLabel)||"",peopleGroupCode:((ge=te.properties)==null?void 0:ge.peopleGroupCode)||"",properties:te.properties||null})))}),p.value.on("clear",()=>l("clear")),p.value.on("error",ne=>l("error",ne)),s.standalone){if(v.value){const ne={on(){},off(){},fire(){},getContainer:()=>v.value,getZoom:()=>0,getCenter:()=>({lng:0,lat:0}),getBounds:()=>null,flyTo(){},fitBounds(){},addControl(){},removeControl(){},hasControl:()=>!1};try{const te=p.value.onAdd(s.mapInstance||ne);te&&v.value.appendChild(te)}catch(te){l("error",te)}}}else U.addControl(p.value,"top-left"),V()});function V(){var U,re;const G=(re=(U=p.value)==null?void 0:U.container)==null?void 0:re.parentElement;G&&(G.classList.add("dg-search-band"),G.classList.toggle("dg-search-band--dark",!!s.isDark))}return rt(()=>s.isDark,()=>V()),rt(i,G=>{var B,H;const U=p.value;if(!U)return;const re=U._inputEl||((H=(B=U.container)==null?void 0:B.querySelector)==null?void 0:H.call(B,"input.mapboxgl-ctrl-geocoder--input"));re&&(re.placeholder=G,re.setAttribute("placeholder",G)),U.options&&(U.options.placeholder=G)}),rt(r,G=>{const U=p.value;U!=null&&U.options&&(U.options.language=G||"en")}),To(()=>{var G,U;if(p.value){try{s.standalone?(U=(G=p.value).onRemove)==null||U.call(G):s.mapInstance&&s.mapInstance.removeControl(p.value)}catch{}p.value=null}}),t({geocoder:p}),(G,U)=>e.standalone?(z(),Q("div",{key:0,ref_key:"standaloneContainer",ref:v,class:"dg-standalone-geocoder"},null,512)):sn(G.$slots,"default",{},void 0,void 0,1)}},tk=["country_code","wagf_region","wagf_block","primary_language","religion"];function ok(e){return e==null?{value:null,label:null}:typeof e=="object"?{value:e.value??null,label:e.label??null}:{value:e,label:null}}function nk(e){if(e==null||typeof e!="object")return e;const t={...e};for(const o of tk)if(o in t){const{value:n,label:a}=ok(t[o]);t[o]=n,a!=null&&(t[`${o}_label`]=a)}return t}function id(e){return Array.isArray(e)?e.map(nk):[]}function ld(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 cd(e){return typeof e=="string"&&e.toLowerCase().includes("deaf")}function ak(e){const t=e==null?null:e.rop1;return t==null?null:typeof t=="object"?t.value??null:t}function ra(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 a=e.value;for(const r of n)if(r&&r.country_code===a){const s=vn(r);s!=null&&o.add(s)}return o}case"country_codes":{const a=new Set(Array.isArray(e.values)?e.values:[]);for(const r of n)if(r&&a.has(r.country_code)){const s=vn(r);s!=null&&o.add(s)}return o}case"wagf_block":{const a=e.value;for(const r of n)if(r&&r.wagf_block===a){const s=vn(r);s!=null&&o.add(s)}return o}case"wagf_region":{const a=e.value;for(const r of n)if(r&&r.wagf_region===a){const s=vn(r);s!=null&&o.add(s)}return o}case"union":{const a=Array.isArray(e.selectors)?e.selectors:[];for(const r of a){const s=ra(r,n);for(const i of s)o.add(i)}return o}case"deaf_predicate":{const a=new Set(Array.isArray(e.regions)?e.regions:[]);for(const r of n){if(!r)continue;if((cd(r.slug)||cd(r.name))&&a.has(r.wagf_region)){const i=vn(r);i!=null&&o.add(i)}}return o}case"affinity_bloc":{const a=e.rop1;for(const r of n)if(r&&ak(r)===a){const s=vn(r);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 rk=Object.freeze(Object.defineProperty({__proto__:null,default:ra,evaluate:ra},Symbol.toStringTag,{value:"Module"}));function sk(e,t){return`hsl(${Math.round(e*360/(t||1))}, 72%, 56%)`}function pr(e){if(typeof e.count=="number")return e.count;if(typeof e.expected_count=="number")return e.expected_count}function ud(e){const t=parseInt(e&&e.population,10);return Number.isFinite(t)?t:0}function ik(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 r=new Set(Array.isArray(o.values)?o.values:[]);let s=0;for(const i of t)i&&r.has(i.slug)&&(s+=ud(i));return s}const n=ra(o,t);let a=0;for(const r of t)r&&n.has(r.slug)&&(a+=ud(r));return a}function Js(e,t={}){const o=t.deafCount??123,n=Array.isArray(t.records)?t.records:null,a=e.lists||[],r=e.asia_lists||[],s=e.uncovered_lists||[],i={type:"affinity_bloc",rop1:"A017"},l=r.filter(B=>B.id.startsWith("asia-india")),c=r.filter(B=>B.id.startsWith("asia-china")),u=[...a.map(B=>B.id),"deaf",...l.map(B=>B.id),...c.map(B=>B.id),...s.map(B=>B.id)],d=u.length,f=B=>sk(u.indexOf(B),d),k=(B,H,L)=>{if(!n)return B;const K=L??(H&&H.selector);return B.pop=ik({selector:K},n),B},m=B=>n?B.reduce((H,L)=>H+(L.pop||0),0):void 0,_=a.map(B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:f(B.id),count:pr(B)},B)),h=k({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=B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:f(B.id),count:pr(B),...Array.isArray(B.adm0)&&B.adm0.length?{adm0:B.adm0}:{},...Array.isArray(B.provinces)&&B.provinces.length?{provinces:B.provinces}:{}},B),S=l.map(x),b=c.map(x),p=B=>B.reduce((H,L)=>H+(pr(L)||0),0),v={id:"asia-india",label:"India",count:p(l),children:S},C={id:"asia-china",label:"China",count:p(c),children:b};n&&(v.pop=m(S),C.pop=m(b)),p(r),n&&m([v,C]);const A=B=>k({id:B.id,zoneKey:B.id,label:B.label,...B.provinceLabel?{provinceLabel:B.provinceLabel}:{},color:f(B.id),count:pr(B)},B),N=s.map(A);N.length>0&&(()=>{const B={id:"frontier-asia",label:"Frontier Asia (uncovered)",count:p(s),children:N};return n&&(B.pop=m(N)),B})();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"},V=B=>M[B]||(String(B).startsWith("asia-india-")?"India":String(B).startsWith("asia-china-")?"China + Mongolia":"Other"),G=[..._,h,...S,...b,...N].filter(Boolean),U=new Map;for(const B of G){const H=V(B.id||B.zoneKey);U.has(H)||U.set(H,[]),U.get(H).push(B)}const re=[...U.entries()].map(([B,H])=>{H.sort((K,se)=>(se.count||0)-(K.count||0));const L={id:"region-"+B.toLowerCase().replace(/[^a-z0-9]+/g,"-"),label:B,count:H.reduce((K,se)=>K+(se.count||0),0),children:H};return n&&(L.pop=m(H)),L}).sort((B,H)=>(H.count||0)-(B.count||0));return lk(dd(re),{withPop:!!n}),re}function lk(e,{withPop:t=!1}={}){const o=[];for(const n of e||[]){const a=[];(typeof n.id!="string"||!n.id)&&a.push("id"),(typeof n.zoneKey!="string"||!n.zoneKey)&&a.push("zoneKey"),(typeof n.label!="string"||!n.label)&&a.push("label"),(typeof n.color!="string"||!n.color)&&a.push("color"),typeof n.count!="number"&&a.push("count"),t&&typeof n.pop!="number"&&a.push("pop"),a.length&&o.push(`${n.id||"(no-id)"}: missing/!type [${a.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 dd(e){const t=[],o=n=>{for(const a of n)a.children&&a.children.length?o(a.children):t.push(a)};return o(e||[]),t}const pd=()=>({type:"FeatureCollection",features:[]});function ck(e,t){const o=ra(e.selector,t),n=new Set;for(const a of t)a&&o.has(a.slug)&&a.country_code&&n.add(a.country_code);return n}function uk(e){return typeof e.id=="string"&&e.id.startsWith("asia-")}function qs(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 dk(e,t){const{records:o=[],adm0:n,adm1Ind:a,adm1Chn:r}=t||{},s=pd();if(uk(e)){const l=[a,r].filter(Boolean);for(const c of l)for(const u of c.features||[])u.properties&&u.properties.listId===e.id&&s.features.push(qs(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(qs(u,e))}return s}if(!e.selector)return s;const i=ck(e,o);if(n&&i.size)for(const l of n.features||[])l.properties&&i.has(l.properties.iso3)&&s.features.push(qs(l,e));return s}function pk(e,t){const o=pd(),n=new Map;for(const a of e){if(a.id==="deaf"){n.set(a.zoneKey??a.id,0);continue}const r=dk(a,t);n.set(a.zoneKey??a.id,r.features.length);for(const s of r.features)o.features.push(s)}return{tapestry:o,perZone:n}}const gk={"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 fk(e,t){const o=gk[e];return typeof o=="string"&&o?o:t}const gr={"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},gd={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},sa={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 fd(e){const t={...sa};for(const o of e||[]){const n=o&&o.country_code,a=o&&o.country_code_label;n&&a&&(t[n]=a)}return t}function hd(e,t={}){if(!e||typeof e!="object")return null;const o=t.nameMap||sa;if(e.shapeName){const n=String(e.shapeName),a=Object.prototype.hasOwnProperty.call(gr,n)?gr[n]:null;return{key:"adm1:"+n,name:n,count:a,kind:"adm1"}}if(e.iso3){const n=String(e.iso3),a=o[n]||sa[n]||n,r=Object.prototype.hasOwnProperty.call(gd,n)?gd[n]:null;return{key:"adm0:"+n,name:a,count:r,kind:"adm0"}}return null}function md(e,t={}){const o=Array.isArray(e)?e:[],n=o.map(l=>l.name),a=o.reduce((l,c)=>l+(Number(c.count)||0),0),r=t&&typeof t.color=="string"&&t.color?t.color:"",s=n.join(", ")+" — "+a+" UUPG"+(r?" · "+r:""),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 hk(e){return kn(e).split(/[\s,;]+/).filter(Boolean)}function mk(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:a={},countryNameMap:r=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),h=Number(c.longitude);if(!Number.isFinite(d)||!Number.isFinite(h))continue;const k=c.name||u;i.add(u),s.push({label:k,kind:"pg",target:{type:"pg",slug:u,lng:h,lat:d},_hay:kn(k)})}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=r||a;for(const c of Object.keys(a)){const u=l&&l[c]||a[c]||c;s.push({label:u,kind:"territory",target:{type:"territory",shapeName:c,iso3:!0},_hay:kn(u)})}return s}const bk={zone:0,territory:1,pg:2};function yk(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:a={},countryNameMap:r=null,centroidFor:s=null}=e,i=[];for(const u of t)u&&i.push(u);const l=(u,d,h)=>!d||!Number.isFinite(d[0])||!Number.isFinite(d[1])?null:{name:u,slug:h.__synthSlug,latitude:d[1],longitude:d[0],...h};for(const u of o){if(!u)continue;const d=u.zoneKey||u.id,h=u.label||d;if(!d)continue;const k=typeof s=="function"?s(y=>y&&y.properties&&y.properties.zoneKey===d):null,f=l(h,k,{__upgKind:"zone",__zoneId:d,__synthSlug:`__zone__${d}`});f&&i.push(f)}for(const u of Object.keys(n)){const d=typeof s=="function"?s(k=>k&&k.properties&&k.properties.shapeName===u):null,h=l(u,d,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});h&&i.push(h)}const c=r||a;for(const u of Object.keys(a)){const d=c&&c[u]||a[u]||u,h=typeof s=="function"?s(f=>f&&f.properties&&f.properties.iso3===u):null,k=l(d,h,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});k&&i.push(k)}return i}function bd(e,t,o={}){const n=o.limit??8,a=hk(t);if(!a.length)return[];const r=a[0],s=[];for(const i of e){let l=!0;for(const d of a)if(!i._hay.includes(d)){l=!1;break}if(!l)continue;const c=i._hay.startsWith(r)?0:1,u=i._hay===kn(t)?-1:0;s.push({e:i,starts:c,exact:u,kr:bk[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 _k="rgba(120, 128, 134, 0.28)",yd="36px",_d=()=>{};function vk(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return _d;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return _d;const a=S=>S.classList.contains("map-scroll-edge--left");for(const S of n)S.style.background=`linear-gradient(${a(S)?"to right":"to left"}, ${_k} ${yd}, transparent ${yd})`,S.style.opacity="0",S.style.transition="opacity 0.16s ease",S.style.userSelect="none",S.style.webkitUserSelect="none";const r=S=>{S.style.opacity="1"},s=S=>{S.style.opacity="0"},i=()=>n.find(S=>!a(S))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const S of n)l.has(S)||s(S)},h=()=>{const S=i();S&&(r(S),u&&clearTimeout(u),u=setTimeout(d,250))},k=()=>h(),f=S=>{if(!(S.touches&&S.touches.length===1))return;const b=S.target;b&&b.classList&&b.classList.contains("map-scroll-edge")||h()},y=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",f,{passive:!0}),e.addEventListener("touchend",y,{passive:!0}),e.addEventListener("touchcancel",y,{passive:!0});const m=()=>{c||h()};typeof window<"u"&&window.addEventListener("scroll",m,{passive:!0});const x=[];for(const S of n){const b=()=>{l.add(S),r(S)},p=()=>{l.delete(S),s(S)},v=()=>{c=!0,r(S)},C=()=>{c=!1,s(S)};S.addEventListener("mouseenter",b),S.addEventListener("mouseleave",p),S.addEventListener("touchstart",v,{passive:!0}),S.addEventListener("touchend",C,{passive:!0}),x.push(()=>{S.removeEventListener("mouseenter",b),S.removeEventListener("mouseleave",p),S.removeEventListener("touchstart",v),S.removeEventListener("touchend",C)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",f),e.removeEventListener("touchend",y),e.removeEventListener("touchcancel",y),typeof window<"u"&&window.removeEventListener("scroll",m);for(const b of x)b();for(const b of n)s(b)}}const kk={class:"upg-root"},wk={key:0,class:"upg-map-err"},xk={class:"upg-legend-desktop-slot"},Sk={class:"upg-legend-mobile-slot"},Ak={class:"upg-detail-desktop-slot"},$k={key:4,class:"upg-hud"},Lk={key:0,class:"upg-hud-head"},Ck={class:"upg-hud-total"},Tk={key:1,class:"upg-hud-names"},Ek={key:2,class:"upg-hud-swatches"},Pk=["data-color","title","onClick"],Mk={key:3,class:"upg-hud-actions"},Nk={key:4,class:"upg-hud-flash"},Ik={class:"upg-status"},Zs="upg-search",vd="My UPG 100 List — Legend",Rk="people-groups",Fk="Search people group, zone, or territory…",kd=8,Xs=123,Ok=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-list",setup(e){const t=Xi(()=>An(()=>Promise.resolve().then(()=>Kv),void 0)),o={lists:wu,asia_lists:xu,uncovered_lists:Su},n=Ee("mapboxToken",ue("")),a=Ee("profileConfig",ue(null)),r=X(()=>{var D;const J=(D=a.value)==null?void 0:D.edgeScrollAffordance;return J==null?!0:!(J===!1||J==="false")}),s=Ee("dataStore",null),i=Ee("uiStore",null),l=ue(null),c=ue("loading…"),u=ue(""),d=Nn([]),h=ue(null),k=Nn(null),f=ue(!1),y=Jy("my-upg-100-list");y.theme.value="light",qy(y);const m=ue([]),x=X(()=>m.value.reduce((J,D)=>J+(Number(D.count)||0),0)),S=X(()=>m.value.length),b=ue("");let p=null;const v=ue(!1);function C(J){const D=J===void 0?!v.value:!!J;return D===v.value||(v.value=D,L&&(L.getCanvas().style.cursor=""),ot()),D}function A(){C()}rt([v,f],()=>{Lo(()=>I())});function N(J){if(!J)return;const D=m.value,ee=D.findIndex(le=>le.key===J.key);ee>=0?m.value=D.filter((le,$e)=>$e!==ee):m.value=[...D,J],ot(),b.value=""}const M=["#e69f00","#56b4e9","#009e73","#f0e442","#0072b2","#d55e00","#cc79a7","#999999"],V=ue(""),G=ue("");function U(J){const D=/^#?([0-9a-fA-F]{6})$/.exec(String(J||"").trim());if(!D)return;const ee="#"+D[1].toLowerCase();V.value=V.value===ee?"":ee,ot()}function re(){/^#?[0-9a-fA-F]{6}$/.test(G.value.trim())&&U(G.value)}const B=ue(null);let H=[],L=null,K=null,se=[],ye=null,ne=null,te=null;const fe=typeof window<"u"&&window.MAP_APP_API_URL||"https://pray.doxa.life";wt(`.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 Me(J){const D=[];for(const ee of J)D.push(ee.zoneKey,fk(ee.zoneKey,ee.color));return["match",["get","zoneKey"],...D,"#9ca3af"]}function We(){if(L.getSource("tapestry"))return;L.addSource("tapestry",{type:"geojson",data:K});const J=f.value?.45:.3,D=f.value?.65:.45;L.addLayer({id:"tapestry-fill",type:"fill",source:"tapestry",paint:{"fill-color":ye,"fill-opacity":["case",["==",["get","zoneKey"],"deaf"],J,D]}}),L.addLayer({id:"tapestry-line",type:"line",source:"tapestry",paint:{"line-color":ye,"line-width":1.2,"line-opacity":.9}})}function Ze(){!L||!L.getSource("tapestry")||L.getLayer("upg-sel-fill")||(L.addLayer({id:"upg-sel-fill",type:"fill",source:"tapestry",filter:["boolean",!1],paint:{"fill-color":"#f59e0b","fill-opacity":.28}}),L.addLayer({id:"upg-sel-line",type:"line",source:"tapestry",filter:["boolean",!1],paint:{"line-color":"#fbbf24","line-width":2.4,"line-opacity":.95}}))}function Xe(){const J=[],D=[],ee=[];for(const $e of m.value)$e.kind==="adm1"?J.push($e.name):$e.kind==="adm0"?D.push($e.key.slice(5)):$e.kind==="zone"&&ee.push($e.key.slice(5));const le=[];return J.length&&le.push(["in",["get","shapeName"],["literal",J]]),D.length&&le.push(["in",["get","iso3"],["literal",D]]),ee.length&&le.push(["in",["get","zoneKey"],["literal",ee]]),le.length?le.length===1?le[0]:["any",...le]:["boolean",!1]}function ot(){if(I(),!L||!L.getLayer("upg-sel-fill"))return;const J=v.value?Xe():["boolean",!1];L.setFilter("upg-sel-fill",J),L.setFilter("upg-sel-line",J);const D=V.value;L.setPaintProperty("upg-sel-fill","fill-color",D||"#f59e0b"),L.setPaintProperty("upg-sel-fill","fill-opacity",D?.55:.28),L.setPaintProperty("upg-sel-line","line-color",D||"#fbbf24")}let Qe=null,gt=!1;function et(){if(!(!L||!L.getLayer("tapestry-fill"))){if(Qe)try{L.off("click","tapestry-fill",Qe)}catch{}Qe=J=>{const D=J&&J.features&&J.features[0];if(D&&v.value){const ee=hd(D.properties,{nameMap:p});if(!ee){console.warn("[batch-select] clicked feature has no shapeName/iso3",D.properties);return}ee.count==null&&console.warn("[batch-select] no UUPG count for territory",ee.name,D.properties),N(ee)}},L.on("click","tapestry-fill",Qe),gt||(L.on("mouseenter","tapestry-fill",()=>{L&&(L.getCanvas().style.cursor=v.value?"crosshair":"")}),L.on("mouseleave","tapestry-fill",()=>{L&&(L.getCanvas().style.cursor="")}),gt=!0)}}function xt(){m.value=[],b.value="",V.value="",G.value="",ot()}async function $(){if(!m.value.length)return;const J=md(m.value,{color:V.value});typeof window<"u"&&(window.__UPG_LAST_CLIPBOARD__=J);let D=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(J),D=!0):D=P(J)}catch{D=P(J)}b.value=D?"Copied!":"Copy failed — press Ctrl/Cmd-C",setTimeout(()=>{b.value.startsWith("Copied")&&(b.value="")},1800)}function P(J){try{const D=document.createElement("textarea");D.value=J,D.style.position="fixed",D.style.opacity="0",D.style.top="0",document.body.appendChild(D),D.focus(),D.select();const ee=document.execCommand&&document.execCommand("copy");return document.body.removeChild(D),!!ee}catch{return!1}}function T(J){if(s&&typeof s.cacheSourceData=="function"){const D=yk({records:J,leafZones:se,adm1Counts:gr,iso3Names:sa,countryNameMap:p,centroidFor:ee=>{const le=R(ee);return le?[(le[0][0]+le[1][0])/2,(le[0][1]+le[1][1])/2]:null}});s.cacheSourceData(Zs,{normalizedData:D})}H=mk({records:J,leafZones:se,adm1Counts:gr,iso3Names:sa,countryNameMap:p}),typeof window<"u"&&(window.__UPG_SEARCH__={size:()=>H.length,counts:()=>{const D={pg:0,zone:0,territory:0};for(const ee of H)D[ee.kind]=(D[ee.kind]||0)+1;return D},query:D=>bd(H,D,{limit:kd}).map(ee=>({label:ee.label,kind:ee.kind,target:ee.target})),select:D=>{const ee=bd(H,D,{limit:kd})[0];return ee?(Z(ee.target),{label:ee.label,kind:ee.kind,target:ee.target}):null},feedSize:()=>{const D=s&&s.sources&&s.sources[Zs];return D&&Array.isArray(D.features)&&D.features.length||0},localGeocoder:D=>{const ee=B.value&&B.value.geocoder,le=ee&&ee.options&&ee.options.localGeocoder;return le?le(D).map($e=>$e&&$e.place_name):null}})}function O(J){const D=J&&J.properties||{},ee=D.__upgKind;if(ee==="zone")g(D.__zoneId);else if(ee==="territory")_(D.__shapeName);else{const le=J&&J.geometry,$e=le&&Array.isArray(le.coordinates)?le.coordinates:null;$e&&Number.isFinite($e[0])&&Number.isFinite($e[1])&&L&&L.flyTo({center:[$e[0],$e[1]],zoom:6,duration:800}),Y(D.slug)}}function W(J){if(!J||!L)return;const D=new Set(J.memberIds||[]);if(!D.size)return;let ee=[];try{ee=L.querySourceFeatures("upg").filter(Oe=>{const he=Oe.properties||{};return D.has(he.slug)||D.has(he.id)||D.has(he.peopleGroupId)})}catch{return}if(!ee.length)return;let le=180,$e=90,Mt=-180,bt=-90,Fe=!1;for(const Oe of ee){const he=Oe.geometry&&Oe.geometry.coordinates;!Array.isArray(he)||!Number.isFinite(he[0])||!Number.isFinite(he[1])||(he[0]Mt&&(Mt=he[0]),he[1]<$e&&($e=he[1]),he[1]>bt&&(bt=he[1]),Fe=!0)}Fe&&L.fitBounds([[le,$e],[Mt,bt]],{padding:60,duration:800,maxZoom:6})}function q(){Ae(null),i&&typeof i.selectPeopleGroup=="function"&&i.selectPeopleGroup(null)}function Z(J){!J||!L||(J.type==="pg"?(Number.isFinite(J.lng)&&Number.isFinite(J.lat)&&L.flyTo({center:[J.lng,J.lat],zoom:6,duration:800}),Y(J.slug)):J.type==="zone"?g(J.zoneId):J.type==="territory"&&_(J.shapeName))}function Y(J){if(!J||!i||typeof i.selectPeopleGroup!="function")return;const D=L&&L.getSource&&L.getSource("upg"),le=(D&&D._data&&D._data.features||[]).find($e=>$e.properties&&$e.properties.slug===J);le&&i.selectPeopleGroup(le)}function g(J){if(!J||!L||!K)return;const D=R(ee=>ee.properties&&ee.properties.zoneKey===J);D&&L.fitBounds(D,{padding:40,duration:800,maxZoom:6})}function _(J){if(!J||!L||!K)return;const D=R(ee=>{const le=ee.properties||{};return le.shapeName===J||le.iso3===J});D&&L.fitBounds(D,{padding:40,duration:800,maxZoom:6})}function R(J){let D=180,ee=90,le=-180,$e=-90,Mt=!1;const bt=Fe=>{if(typeof Fe[0]=="number"){const[Oe,he]=Fe;Oele&&(le=Oe),he$e&&($e=he),Mt=!0;return}for(const Oe of Fe)bt(Oe)};for(const Fe of K.features)J(Fe)&&bt(Fe.geometry.coordinates);return Mt?[[D,ee],[le,$e]]:null}function j(J){const D=new Set,ee=le=>{le.children&&le.children.length?le.children.forEach(ee):D.add(le.zoneKey??le.id)};return ee(J),D}let ie=null;function ae(J){if(![...j(J)].length)return;const ee=[],le=Fe=>{Fe.children&&Fe.children.length?Fe.children.forEach(le):ee.push(Fe)};le(J);const $e=m.value,Mt=new Set($e.filter(Fe=>Fe.kind==="zone").map(Fe=>Fe.key));if(ee.every(Fe=>Mt.has("zone:"+(Fe.zoneKey??Fe.id)))){const Fe=new Set(ee.map(Oe=>"zone:"+(Oe.zoneKey??Oe.id)));m.value=$e.filter(Oe=>!Fe.has(Oe.key))}else{const Fe=ee.filter(Oe=>!Mt.has("zone:"+(Oe.zoneKey??Oe.id))).map(Oe=>({key:"zone:"+(Oe.zoneKey??Oe.id),name:Oe.label||Oe.id,count:Number(Oe.count)||0,kind:"zone"}));m.value=[...$e,...Fe]}ot(),b.value=""}function F(){const J=new Set;for(const D of m.value)D.kind==="zone"&&J.add(D.key.slice(5));return J}function w(){const J=new Map,D=ee=>{const le=j(ee);ee.label&&J.set(ee.label,le),ee.children&&ee.children.length&&ee.children.forEach(D)};for(const ee of d.value)D(ee);return J}function I(){if(typeof document>"u")return;const J=document.querySelector("my-upg-100-list-map"),ee=(J&&J.shadowRoot||document).querySelectorAll(".stl-row");if(!ee.length)return;if(!v.value){ee.forEach(bt=>bt.classList.remove("upg-batch-row"));return}const le=F(),$e=w(),Mt=f.value;ee.forEach(bt=>{const Fe=bt.querySelector(".stl-name"),Oe=Fe?Fe.textContent.trim():"",he=Oe&&$e.get(Oe),Ye=!!(he&&he.size&&[...he].every(lt=>le.has(lt)));bt.classList.toggle("upg-batch-row",Ye),bt.classList.toggle("dark",Ye&&Mt)})}let oe=null;function de(){if(typeof document>"u"||oe)return;const J=document.querySelector("my-upg-100-list-map"),ee=(J&&J.shadowRoot||document).querySelector(".stl-rows");ee&&(oe=new MutationObserver(()=>{requestAnimationFrame(()=>I())}),oe.observe(ee,{childList:!0,subtree:!0}))}Ft("onSemanticTreeSelect",Ae);function ge(J){var $e;const D=h.value;if(!D)return;if(J==="packet"){c.value="Prayer List — coming soon",setTimeout(()=>{c.value=""},2600);return}const ee=String((($e=a.value)==null?void 0:$e.assetsBase)||"./assets").replace(/\/+$/,""),le=document.createElement("a");le.href=`${ee}/posters/${D}.webp`,le.download=`doxa-upg-100-${D}-poster.webp`,document.body.appendChild(le),le.click(),le.remove()}function Ae(J){if(!L||!L.getLayer("tapestry-fill"))return;if(v.value){J&&ae(J);return}if(!J){ie=null,h.value=null,L.setFilter("tapestry-fill",null),L.setFilter("tapestry-line",null),L.setPaintProperty("upg-pins","circle-opacity",.85);return}ie=J;const D=[...j(J)];h.value=D.length===1?D[0]:J.id??null;const ee=["in",["get","zoneKey"],["literal",D]];L.setFilter("tapestry-fill",ee),L.setFilter("tapestry-line",ee),L.getLayer("upg-pins")&&L.setPaintProperty("upg-pins","circle-opacity",["case",["in",["get","zoneKey"],["literal",D]],.95,.05]);const le=R($e=>D.includes($e.properties.zoneKey));le&&L.fitBounds(le,{padding:40,duration:700,maxZoom:6})}function we(){!L||!K||(We(),typeof te=="function"&&te(),Ze(),et(),ot(),h.value&&L.getLayer("tapestry-fill")&&Ae(ie))}function ft(){L&&(f.value=!f.value,y.theme.value=f.value?"dark":"light",L.setStyle(f.value?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11"),L.once("style.load",we))}function Re(){!L||!L.getLayer("upg-pins")||(L.on("click","upg-pins",J=>{const D=J&&J.features&&J.features[0];D&&i&&typeof i.selectPeopleGroup=="function"&&i.selectPeopleGroup(D)}),L.on("mouseenter","upg-pins",()=>{L&&(L.getCanvas().style.cursor="pointer")}),L.on("mouseleave","upg-pins",()=>{L&&(L.getCanvas().style.cursor="")}))}let Ke=null;function wn(J){var le;const D=((le=J==null?void 0:J.detail)==null?void 0:le.listId)??null;if(!D){Ae(null);return}const ee=ia(d.value,D);ee&&Ae(ee)}function ia(J,D){for(const ee of J||[]){if((ee.zoneKey||ee.id)===D)return ee;const le=ee.children&&ia(ee.children,D);if(le)return le}return null}function Wk(){const J=Js(o,{deafCount:Xs});d.value=J,se=dd(J);const D={};for(const ee of o.lists||[])D[ee.id]=ee.selector;for(const ee of o.asia_lists||[])D[ee.id]=ee.selector;for(const ee of o.uncovered_lists||[])D[ee.id]=ee.selector;D.deaf={type:"affinity_bloc",rop1:"A017"};for(const ee of se)ee.selector=D[ee.id];ye=Me(se)}async function Sd(){try{const D=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(!D.ok)throw new Error(`list ${D.status}`);const ee=id(ld(await D.json()));p=fd(ee),d.value=Js(o,{deafCount:Xs,records:ee})}catch{}}return to(async()=>{var $e,Mt,bt,Fe,Oe;Wk();const J=window.mapboxgl,D=(n==null?void 0:n.value)||(($e=a==null?void 0:a.value)==null?void 0:$e.tk)||"";if(!J){c.value="⚠ mapbox-gl not loaded",u.value="mapbox-gl did not load. The list and legend are unaffected.",Sd();return}if(!D){c.value="⚠ no mapbox token",u.value="No Mapbox token configured. The list and legend are unaffected.",Sd();return}J.accessToken=D;try{const he=l.value&&l.value.getRootNode();if(he instanceof ShadowRoot){const Ye="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.css";if(!he.querySelector(`link[href="${Ye}"]`)){const lt=document.createElement("link");lt.rel="stylesheet",lt.href=Ye,he.prepend(lt)}}}catch{}L=new J.Map({container:l.value,style:"mapbox://styles/mapbox/light-v11",center:[35,20],zoom:1.5,projection:"mercator"}),k.value=L,ne=vk(((Mt=l.value)==null?void 0:Mt.parentElement)||null,{enabled:r.value}),typeof window<"u"&&(window.__UPG_MAP__=L),window.__UPG_SELECT__={get list(){return m.value.map(he=>({...he}))},get total(){return x.value},get count(){return S.value},get color(){return V.value},get batchMode(){return v.value},setColor:he=>U(he),setBatchMode:he=>C(he),clipboardText:()=>md(m.value,{color:V.value}),clear:()=>xt(),toggleByProps:he=>{const Ye=hd(he,{nameMap:p});return Ye?(N(Ye),{...Ye}):null},toggleLegendRow:he=>{const Ye=Do=>{for(const at of Do){if(at.label===he)return at;if(at.children&&at.children.length){const lo=Ye(at.children);if(lo)return lo}}return null},lt=Ye(d.value);return lt?(ae(lt),{label:lt.label,zoneKeys:[...j(lt)]}):null},markedLegendRows:()=>{if(typeof document>"u")return[];const he=document.querySelector("my-upg-100-list-map");return[...(he&&he.shadowRoot||document).querySelectorAll(".stl-row.upg-batch-row .stl-name")].map(lt=>lt.textContent.trim())},highlightFeatureCount:()=>{if(!L||!K||!L.getLayer("upg-sel-fill"))return-1;const he=new Set,Ye=new Set,lt=new Set;for(const at of m.value)at.kind==="zone"?he.add(at.key.slice(5)):at.kind==="adm1"?Ye.add(at.name):at.kind==="adm0"&<.add(at.key.slice(5));let Do=0;for(const at of K.features){const lo=at.properties||{};(he.has(lo.zoneKey)||Ye.has(lo.shapeName)||lt.has(lo.iso3))&&Do++}return Do},zoneKeysForRow:he=>{const Ye=Do=>{for(const at of Do){if(at.label===he)return at;if(at.children&&at.children.length){const lo=Ye(at.children);if(lo)return lo}}return null},lt=Ye(d.value);return lt?[...j(lt)]:null}};try{c.value="loading boundaries…";const he=De=>{var ct;return`${String(((ct=a.value)==null?void 0:ct.assetsBase)||"./assets").replace(/\/+$/,"")}/boundaries/${De}`},Ye=De=>fetch(he(De)).then(ct=>{if(!ct.ok)throw new Error(`boundary fetch ${ct.status} ${De}`);return ct.json()}),[lt,Do,at]=await Promise.all([Ye("world-adm0.geojson"),Ye("gb-IND-ADM1.geojson"),Ye("gb-CHN-ADM1.geojson")]);c.value="fetching 2106 UUPGs…";const Qs=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(!Qs.ok)throw new Error(`list ${Qs.status}`);const xn=id(ld(await Qs.json()));p=fd(xn),d.value=Js(o,{deafCount:Xs,records:xn});const{tapestry:Yk,perZone:Jk}=pk(se,{records:xn,adm0:lt,adm1Ind:Do,adm1Chn:at});K=jo(Yk),T(xn);const ei=[],la={},{evaluate:qk}=await An(async()=>{const{evaluate:De}=await Promise.resolve().then(()=>rk);return{evaluate:De}},void 0);for(const De of se)if(De.selector&&De.selector.type==="pg_slugs")for(const ct of De.selector.values||[])ct in la||(la[ct]=De.zoneKey);else try{for(const ct of qk(De.selector,xn))ct in la||(la[ct]=De.zoneKey)}catch(ct){console.warn("zone selector skipped",De.id,ct&&ct.message)}for(const De of xn){const ct=Number(De.latitude),oi=Number(De.longitude);!isFinite(ct)||!isFinite(oi)||ei.push({type:"Feature",geometry:{type:"Point",coordinates:[oi,ct]},properties:{slug:De.slug,zoneKey:la[De.slug]||"",name:De.name||De.slug||"",population:De.population??0,countryName:De.country_code_label||"",country:De.country_code||""}})}const Zk=jo({type:"FeatureCollection",features:ei});te=()=>{L.getSource("upg")||(L.addSource("upg",{type:"geojson",data:Zk}),L.addLayer({id:"upg-pins",type:"circle",source:"upg",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,4,4,8,6],"circle-color":ye,"circle-opacity":.85,"circle-stroke-width":.6,"circle-stroke-color":"rgba(255,255,255,0.6)"}}),Re())};let ti=!0;const Sn=()=>{ti&&(ti=!1,L.off("style.load",Sn),L.off("idle",Sn),we())};if(L.isStyleLoaded())Sn();else{L.once("style.load",Sn),L.once("idle",Sn);const De=setInterval(()=>{if(!ti||!L){clearInterval(De);return}let ct=!1;try{ct=L.isStyleLoaded()}catch{clearInterval(De);return}ct&&(clearInterval(De),Sn())},120);setTimeout(()=>clearInterval(De),15e3)}const Xk=[...Jk.values()].filter(De=>De>=1).length;c.value=`${K.features.length} polys · ${Xk}/26 zones · ${ei.length} pins`}catch(he){c.value="⚠ "+(he&&he.message?he.message:String(he))}let ee=0;const le=()=>{const he=typeof document<"u"&&document.querySelector("my-upg-100-list-map"),Ye=he&&he.shadowRoot||(typeof document<"u"?document:null);if(Ye&&Ye.querySelector(".stl-rows")){de(),I();return}ee++<40&&setTimeout(le,250)};le();{const he=(Oe=(Fe=(bt=l.value)==null?void 0:bt.getRootNode)==null?void 0:Fe.call(bt))==null?void 0:Oe.host;he&&(Ke=wn,he.addEventListener("doxa:select-zone",Ke))}}),To(()=>{var J,D,ee;if(Ke){const le=(ee=(D=(J=l.value)==null?void 0:J.getRootNode)==null?void 0:D.call(J))==null?void 0:ee.host;le==null||le.removeEventListener("doxa:select-zone",Ke),Ke=null}if(oe){try{oe.disconnect()}catch{}oe=null}if(ne){try{ne()}catch{}ne=null}L&&(L.remove(),L=null),K=null}),(J,D)=>{var ee;return z(),Q("div",kk,[E("div",{ref_key:"mapEl",ref:l,class:"upg-map"},null,512),u.value?(z(),Q("div",wk,[D[1]||(D[1]=E("strong",null,"Map unavailable",-1)),dt(ce(u.value),1)])):me("",!0),r.value?(z(),Q(Ce,{key:1},[D[2]||(D[2]=E("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),D[3]||(D[3]=E("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1))],64)):me("",!0),k.value?(z(),st(ek,{key:2,ref_key:"geocoderRef",ref:B,"map-instance":k.value,"access-token":be(n)||((ee=be(a))==null?void 0:ee.tk)||"","data-source-id":Zs,"is-dark":f.value,placeholder:Fk,"active-context":Rk,onPeopleGroupResult:O,onAggregateResult:W,onClear:q},null,8,["map-instance","access-token","is-dark"])):me("",!0),k.value?(z(),st(a1,{key:3},{default:Bt(()=>[je(s1,{map:k.value,"is-dark":f.value},null,8,["map","is-dark"]),je(i1,{map:k.value,"is-dark":f.value},null,8,["map","is-dark"]),je(l1,{map:k.value,"is-dark":f.value},null,8,["map","is-dark"]),je(d1,{"map-container":l.value,"is-dark":f.value},null,8,["map-container","is-dark"]),je(g1,{"is-dark":f.value,onToggle:ft},null,8,["is-dark"]),je(nd,{"is-dark":f.value,"embed-path":"my-upg-100-list/upg-100-list/index.html"},null,8,["is-dark"]),je(qo,{"is-dark":f.value,active:v.value,class:Le({"upg-batch-on":v.value}),"aria-pressed":v.value?"true":"false",title:"Batch Select",onClick:A},{default:Bt(()=>[...D[4]||(D[4]=[E("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[E("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),E("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),E("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),E("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})],-1)])]),_:1},8,["is-dark","active","class","aria-pressed"])]),_:1})):me("",!0),E("div",xk,[d.value.length?(z(),st(Lu,{key:0,nodes:d.value,columns:["count","pop"],title:vd,"export-enabled":!0,onSelect:Ae,onExport:ge},null,8,["nodes"])):me("",!0)]),E("div",Sk,[d.value.length?(z(),st(n1,{key:0,"legend-type":"upg-100",nodes:d.value,columns:["count","pop"],"column-label":"UPG 100",title:vd,"is-dark":f.value,"popup-action":"pray"},null,8,["nodes","is-dark"])):me("",!0)]),E("div",Ak,[be(i)&&be(i).selectedPeopleGroup?(z(),Q("div",{key:0,class:Le(["upg-detail-panel pg-detail-root",{dark:f.value}])},[je(be(t),{peopleGroup:be(i).selectedPeopleGroup,dark:f.value,action:"pray"},null,8,["peopleGroup","dark"])],2)):me("",!0)]),v.value?(z(),Q("div",$k,[D[5]||(D[5]=E("div",{class:"upg-hud-hint"}," Tap territories on the map or legend rows to add · tap again to remove ",-1)),S.value?(z(),Q("div",Lk,[E("span",null,ce(S.value)+" territor"+ce(S.value===1?"y":"ies")+" ·",1),E("span",Ck,ce(x.value)+" UUPG",1),E("span",{class:Le(["upg-hud-band",{ok:x.value>=50&&x.value<=100}])},ce(x.value>=50&&x.value<=100?"✓ 50–100 band":"band 50–100"),3)])):me("",!0),S.value?(z(),Q("div",Tk,ce(m.value.map(le=>le.name).join(", ")),1)):me("",!0),S.value?(z(),Q("div",Ek,[(z(),Q(Ce,null,At(M,le=>E("button",{key:le,class:Le(["upg-swatch",{active:V.value===le}]),"data-color":le,style:tt({background:le}),title:le,onClick:$e=>U(le)},null,14,Pk)),64)),yp(E("input",{"onUpdate:modelValue":D[0]||(D[0]=le=>G.value=le),class:"upg-hex",placeholder:"#hex",spellcheck:"false",onChange:re,onKeyup:of(re,["enter"])},null,544),[[Xg,G.value]])])):me("",!0),S.value?(z(),Q("div",Mk,[E("button",{class:"upg-hud-btn copy",onClick:$},"Copy selection"),E("button",{class:"upg-hud-btn clear",onClick:xt},"Clear")])):me("",!0),S.value?(z(),Q("div",Nk,ce(b.value),1)):me("",!0)])):me("",!0),E("div",Ik,ce(c.value),1)])}}}},Symbol.toStringTag,{value:"Module"})),Dk=` +`+i}function kn(e){return String(e??"").normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim()}function hk(e){return kn(e).split(/[\s,;]+/).filter(Boolean)}function mk(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:a={},countryNameMap:r=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 k=c.name||u;i.add(u),s.push({label:k,kind:"pg",target:{type:"pg",slug:u,lng:f,lat:d},_hay:kn(k)})}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=r||a;for(const c of Object.keys(a)){const u=l&&l[c]||a[c]||c;s.push({label:u,kind:"territory",target:{type:"territory",shapeName:c,iso3:!0},_hay:kn(u)})}return s}const bk={zone:0,territory:1,pg:2};function yk(e={}){const{records:t=[],leafZones:o=[],adm1Counts:n={},iso3Names:a={},countryNameMap:r=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 k=typeof s=="function"?s(_=>_&&_.properties&&_.properties.zoneKey===d):null,m=l(f,k,{__upgKind:"zone",__zoneId:d,__synthSlug:`__zone__${d}`});m&&i.push(m)}for(const u of Object.keys(n)){const d=typeof s=="function"?s(k=>k&&k.properties&&k.properties.shapeName===u):null,f=l(u,d,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});f&&i.push(f)}const c=r||a;for(const u of Object.keys(a)){const d=c&&c[u]||a[u]||u,f=typeof s=="function"?s(m=>m&&m.properties&&m.properties.iso3===u):null,k=l(d,f,{__upgKind:"territory",__shapeName:u,__synthSlug:`__terr__${u}`});k&&i.push(k)}return i}function bd(e,t,o={}){const n=o.limit??8,a=hk(t);if(!a.length)return[];const r=a[0],s=[];for(const i of e){let l=!0;for(const d of a)if(!i._hay.includes(d)){l=!1;break}if(!l)continue;const c=i._hay.startsWith(r)?0:1,u=i._hay===kn(t)?-1:0;s.push({e:i,starts:c,exact:u,kr:bk[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 _k="rgba(120, 128, 134, 0.28)",yd="36px",_d=()=>{};function vk(e,t={}){const{enabled:o=!0}=t;if(!o||!e)return _d;const n=Array.from(e.querySelectorAll(".map-scroll-edge"));if(!n.length)return _d;const a=S=>S.classList.contains("map-scroll-edge--left");for(const S of n)S.style.background=`linear-gradient(${a(S)?"to right":"to left"}, ${_k} ${yd}, transparent ${yd})`,S.style.opacity="0",S.style.transition="opacity 0.16s ease",S.style.userSelect="none",S.style.webkitUserSelect="none";const r=S=>{S.style.opacity="1"},s=S=>{S.style.opacity="0"},i=()=>n.find(S=>!a(S))||null,l=new Set;let c=!1,u=null;const d=()=>{for(const S of n)l.has(S)||s(S)},f=()=>{const S=i();S&&(r(S),u&&clearTimeout(u),u=setTimeout(d,250))},k=()=>f(),m=S=>{if(!(S.touches&&S.touches.length===1))return;const b=S.target;b&&b.classList&&b.classList.contains("map-scroll-edge")||f()},_=()=>{u&&clearTimeout(u),d()};e.addEventListener("wheel",k,{passive:!0}),e.addEventListener("touchmove",m,{passive:!0}),e.addEventListener("touchend",_,{passive:!0}),e.addEventListener("touchcancel",_,{passive:!0});const h=()=>{c||f()};typeof window<"u"&&window.addEventListener("scroll",h,{passive:!0});const x=[];for(const S of n){const b=()=>{l.add(S),r(S)},p=()=>{l.delete(S),s(S)},v=()=>{c=!0,r(S)},C=()=>{c=!1,s(S)};S.addEventListener("mouseenter",b),S.addEventListener("mouseleave",p),S.addEventListener("touchstart",v,{passive:!0}),S.addEventListener("touchend",C,{passive:!0}),x.push(()=>{S.removeEventListener("mouseenter",b),S.removeEventListener("mouseleave",p),S.removeEventListener("touchstart",v),S.removeEventListener("touchend",C)})}return function(){u&&(clearTimeout(u),u=null),e.removeEventListener("wheel",k),e.removeEventListener("touchmove",m),e.removeEventListener("touchend",_),e.removeEventListener("touchcancel",_),typeof window<"u"&&window.removeEventListener("scroll",h);for(const b of x)b();for(const b of n)s(b)}}const kk={class:"upg-root"},wk={key:0,class:"upg-map-err"},xk={class:"upg-legend-desktop-slot"},Sk={class:"upg-legend-mobile-slot"},Ak={class:"upg-detail-desktop-slot"},$k={key:4,class:"upg-hud"},Lk={key:0,class:"upg-hud-head"},Ck={class:"upg-hud-total"},Tk={key:1,class:"upg-hud-names"},Ek={key:2,class:"upg-hud-swatches"},Pk=["data-color","title","onClick"],Mk={key:3,class:"upg-hud-actions"},Nk={key:4,class:"upg-hud-flash"},Ik={class:"upg-status"},Zs="upg-search",vd="My UPG 100 List — Legend",Rk="people-groups",Fk="Search people group, zone, or territory…",kd=8,Xs=123,Ok=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-list",setup(e){const t=Xi(()=>An(()=>Promise.resolve().then(()=>Kv),void 0)),o={lists:wu,asia_lists:xu,uncovered_lists:Su},n=Ee("mapboxToken",ue("")),a=Ee("profileConfig",ue(null)),r=X(()=>{var D;const J=(D=a.value)==null?void 0:D.edgeScrollAffordance;return J==null?!0:!(J===!1||J==="false")}),s=Ee("dataStore",null),i=Ee("uiStore",null),l=ue(null),c=ue("loading…"),u=ue(""),d=Nn([]),f=ue(null),k=Nn(null),m=ue(!1),_=Jy("my-upg-100-list");_.theme.value="light",qy(_);const h=ue([]),x=X(()=>h.value.reduce((J,D)=>J+(Number(D.count)||0),0)),S=X(()=>h.value.length),b=ue("");let p=null;const v=ue(!1);function C(J){const D=J===void 0?!v.value:!!J;return D===v.value||(v.value=D,L&&(L.getCanvas().style.cursor=""),ot()),D}function A(){C()}rt([v,m],()=>{Lo(()=>I())});function N(J){if(!J)return;const D=h.value,ee=D.findIndex(le=>le.key===J.key);ee>=0?h.value=D.filter((le,$e)=>$e!==ee):h.value=[...D,J],ot(),b.value=""}const M=["#e69f00","#56b4e9","#009e73","#f0e442","#0072b2","#d55e00","#cc79a7","#999999"],V=ue(""),G=ue("");function U(J){const D=/^#?([0-9a-fA-F]{6})$/.exec(String(J||"").trim());if(!D)return;const ee="#"+D[1].toLowerCase();V.value=V.value===ee?"":ee,ot()}function re(){/^#?[0-9a-fA-F]{6}$/.test(G.value.trim())&&U(G.value)}const B=ue(null);let H=[],L=null,K=null,se=[],ye=null,ne=null,te=null;const fe=typeof window<"u"&&window.MAP_APP_API_URL||"https://pray.doxa.life";wt(`.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 Me(J){const D=[];for(const ee of J)D.push(ee.zoneKey,fk(ee.zoneKey,ee.color));return["match",["get","zoneKey"],...D,"#9ca3af"]}function We(){if(L.getSource("tapestry"))return;L.addSource("tapestry",{type:"geojson",data:K});const J=m.value?.45:.3,D=m.value?.65:.45;L.addLayer({id:"tapestry-fill",type:"fill",source:"tapestry",paint:{"fill-color":ye,"fill-opacity":["case",["==",["get","zoneKey"],"deaf"],J,D]}}),L.addLayer({id:"tapestry-line",type:"line",source:"tapestry",paint:{"line-color":ye,"line-width":1.2,"line-opacity":.9}})}function Ze(){!L||!L.getSource("tapestry")||L.getLayer("upg-sel-fill")||(L.addLayer({id:"upg-sel-fill",type:"fill",source:"tapestry",filter:["boolean",!1],paint:{"fill-color":"#f59e0b","fill-opacity":.28}}),L.addLayer({id:"upg-sel-line",type:"line",source:"tapestry",filter:["boolean",!1],paint:{"line-color":"#fbbf24","line-width":2.4,"line-opacity":.95}}))}function Xe(){const J=[],D=[],ee=[];for(const $e of h.value)$e.kind==="adm1"?J.push($e.name):$e.kind==="adm0"?D.push($e.key.slice(5)):$e.kind==="zone"&&ee.push($e.key.slice(5));const le=[];return J.length&&le.push(["in",["get","shapeName"],["literal",J]]),D.length&&le.push(["in",["get","iso3"],["literal",D]]),ee.length&&le.push(["in",["get","zoneKey"],["literal",ee]]),le.length?le.length===1?le[0]:["any",...le]:["boolean",!1]}function ot(){if(I(),!L||!L.getLayer("upg-sel-fill"))return;const J=v.value?Xe():["boolean",!1];L.setFilter("upg-sel-fill",J),L.setFilter("upg-sel-line",J);const D=V.value;L.setPaintProperty("upg-sel-fill","fill-color",D||"#f59e0b"),L.setPaintProperty("upg-sel-fill","fill-opacity",D?.55:.28),L.setPaintProperty("upg-sel-line","line-color",D||"#fbbf24")}let Qe=null,gt=!1;function et(){if(!(!L||!L.getLayer("tapestry-fill"))){if(Qe)try{L.off("click","tapestry-fill",Qe)}catch{}Qe=J=>{const D=J&&J.features&&J.features[0];if(D&&v.value){const ee=hd(D.properties,{nameMap:p});if(!ee){console.warn("[batch-select] clicked feature has no shapeName/iso3",D.properties);return}ee.count==null&&console.warn("[batch-select] no UUPG count for territory",ee.name,D.properties),N(ee)}},L.on("click","tapestry-fill",Qe),gt||(L.on("mouseenter","tapestry-fill",()=>{L&&(L.getCanvas().style.cursor=v.value?"crosshair":"")}),L.on("mouseleave","tapestry-fill",()=>{L&&(L.getCanvas().style.cursor="")}),gt=!0)}}function xt(){h.value=[],b.value="",V.value="",G.value="",ot()}async function $(){if(!h.value.length)return;const J=md(h.value,{color:V.value});typeof window<"u"&&(window.__UPG_LAST_CLIPBOARD__=J);let D=!1;try{navigator.clipboard&&navigator.clipboard.writeText?(await navigator.clipboard.writeText(J),D=!0):D=P(J)}catch{D=P(J)}b.value=D?"Copied!":"Copy failed — press Ctrl/Cmd-C",setTimeout(()=>{b.value.startsWith("Copied")&&(b.value="")},1800)}function P(J){try{const D=document.createElement("textarea");D.value=J,D.style.position="fixed",D.style.opacity="0",D.style.top="0",document.body.appendChild(D),D.focus(),D.select();const ee=document.execCommand&&document.execCommand("copy");return document.body.removeChild(D),!!ee}catch{return!1}}function T(J){if(s&&typeof s.cacheSourceData=="function"){const D=yk({records:J,leafZones:se,adm1Counts:gr,iso3Names:sa,countryNameMap:p,centroidFor:ee=>{const le=R(ee);return le?[(le[0][0]+le[1][0])/2,(le[0][1]+le[1][1])/2]:null}});s.cacheSourceData(Zs,{normalizedData:D})}H=mk({records:J,leafZones:se,adm1Counts:gr,iso3Names:sa,countryNameMap:p}),typeof window<"u"&&(window.__UPG_SEARCH__={size:()=>H.length,counts:()=>{const D={pg:0,zone:0,territory:0};for(const ee of H)D[ee.kind]=(D[ee.kind]||0)+1;return D},query:D=>bd(H,D,{limit:kd}).map(ee=>({label:ee.label,kind:ee.kind,target:ee.target})),select:D=>{const ee=bd(H,D,{limit:kd})[0];return ee?(Z(ee.target),{label:ee.label,kind:ee.kind,target:ee.target}):null},feedSize:()=>{const D=s&&s.sources&&s.sources[Zs];return D&&Array.isArray(D.features)&&D.features.length||0},localGeocoder:D=>{const ee=B.value&&B.value.geocoder,le=ee&&ee.options&&ee.options.localGeocoder;return le?le(D).map($e=>$e&&$e.place_name):null}})}function O(J){const D=J&&J.properties||{},ee=D.__upgKind;if(ee==="zone")g(D.__zoneId);else if(ee==="territory")y(D.__shapeName);else{const le=J&&J.geometry,$e=le&&Array.isArray(le.coordinates)?le.coordinates:null;$e&&Number.isFinite($e[0])&&Number.isFinite($e[1])&&L&&L.flyTo({center:[$e[0],$e[1]],zoom:6,duration:800}),Y(D.slug)}}function W(J){if(!J||!L)return;const D=new Set(J.memberIds||[]);if(!D.size)return;let ee=[];try{ee=L.querySourceFeatures("upg").filter(Oe=>{const he=Oe.properties||{};return D.has(he.slug)||D.has(he.id)||D.has(he.peopleGroupId)})}catch{return}if(!ee.length)return;let le=180,$e=90,Mt=-180,bt=-90,Fe=!1;for(const Oe of ee){const he=Oe.geometry&&Oe.geometry.coordinates;!Array.isArray(he)||!Number.isFinite(he[0])||!Number.isFinite(he[1])||(he[0]Mt&&(Mt=he[0]),he[1]<$e&&($e=he[1]),he[1]>bt&&(bt=he[1]),Fe=!0)}Fe&&L.fitBounds([[le,$e],[Mt,bt]],{padding:60,duration:800,maxZoom:6})}function q(){Ae(null),i&&typeof i.selectPeopleGroup=="function"&&i.selectPeopleGroup(null)}function Z(J){!J||!L||(J.type==="pg"?(Number.isFinite(J.lng)&&Number.isFinite(J.lat)&&L.flyTo({center:[J.lng,J.lat],zoom:6,duration:800}),Y(J.slug)):J.type==="zone"?g(J.zoneId):J.type==="territory"&&y(J.shapeName))}function Y(J){if(!J||!i||typeof i.selectPeopleGroup!="function")return;const D=L&&L.getSource&&L.getSource("upg"),le=(D&&D._data&&D._data.features||[]).find($e=>$e.properties&&$e.properties.slug===J);le&&i.selectPeopleGroup(le)}function g(J){if(!J||!L||!K)return;const D=R(ee=>ee.properties&&ee.properties.zoneKey===J);D&&L.fitBounds(D,{padding:40,duration:800,maxZoom:6})}function y(J){if(!J||!L||!K)return;const D=R(ee=>{const le=ee.properties||{};return le.shapeName===J||le.iso3===J});D&&L.fitBounds(D,{padding:40,duration:800,maxZoom:6})}function R(J){let D=180,ee=90,le=-180,$e=-90,Mt=!1;const bt=Fe=>{if(typeof Fe[0]=="number"){const[Oe,he]=Fe;Oele&&(le=Oe),he$e&&($e=he),Mt=!0;return}for(const Oe of Fe)bt(Oe)};for(const Fe of K.features)J(Fe)&&bt(Fe.geometry.coordinates);return Mt?[[D,ee],[le,$e]]:null}function j(J){const D=new Set,ee=le=>{le.children&&le.children.length?le.children.forEach(ee):D.add(le.zoneKey??le.id)};return ee(J),D}let ie=null;function ae(J){if(![...j(J)].length)return;const ee=[],le=Fe=>{Fe.children&&Fe.children.length?Fe.children.forEach(le):ee.push(Fe)};le(J);const $e=h.value,Mt=new Set($e.filter(Fe=>Fe.kind==="zone").map(Fe=>Fe.key));if(ee.every(Fe=>Mt.has("zone:"+(Fe.zoneKey??Fe.id)))){const Fe=new Set(ee.map(Oe=>"zone:"+(Oe.zoneKey??Oe.id)));h.value=$e.filter(Oe=>!Fe.has(Oe.key))}else{const Fe=ee.filter(Oe=>!Mt.has("zone:"+(Oe.zoneKey??Oe.id))).map(Oe=>({key:"zone:"+(Oe.zoneKey??Oe.id),name:Oe.label||Oe.id,count:Number(Oe.count)||0,kind:"zone"}));h.value=[...$e,...Fe]}ot(),b.value=""}function F(){const J=new Set;for(const D of h.value)D.kind==="zone"&&J.add(D.key.slice(5));return J}function w(){const J=new Map,D=ee=>{const le=j(ee);ee.label&&J.set(ee.label,le),ee.children&&ee.children.length&&ee.children.forEach(D)};for(const ee of d.value)D(ee);return J}function I(){if(typeof document>"u")return;const J=document.querySelector("my-upg-100-list-map"),ee=(J&&J.shadowRoot||document).querySelectorAll(".stl-row");if(!ee.length)return;if(!v.value){ee.forEach(bt=>bt.classList.remove("upg-batch-row"));return}const le=F(),$e=w(),Mt=m.value;ee.forEach(bt=>{const Fe=bt.querySelector(".stl-name"),Oe=Fe?Fe.textContent.trim():"",he=Oe&&$e.get(Oe),Ye=!!(he&&he.size&&[...he].every(lt=>le.has(lt)));bt.classList.toggle("upg-batch-row",Ye),bt.classList.toggle("dark",Ye&&Mt)})}let oe=null;function de(){if(typeof document>"u"||oe)return;const J=document.querySelector("my-upg-100-list-map"),ee=(J&&J.shadowRoot||document).querySelector(".stl-rows");ee&&(oe=new MutationObserver(()=>{requestAnimationFrame(()=>I())}),oe.observe(ee,{childList:!0,subtree:!0}))}Ft("onSemanticTreeSelect",Ae);function ge(J){var $e;const D=f.value;if(!D)return;if(J==="packet"){c.value="Prayer List — coming soon",setTimeout(()=>{c.value=""},2600);return}const ee=String((($e=a.value)==null?void 0:$e.assetsBase)||"./assets").replace(/\/+$/,""),le=document.createElement("a");le.href=`${ee}/posters/${D}.webp`,le.download=`doxa-upg-100-${D}-poster.webp`,document.body.appendChild(le),le.click(),le.remove()}function Ae(J){if(!L||!L.getLayer("tapestry-fill"))return;if(v.value){J&&ae(J);return}if(!J){ie=null,f.value=null,L.setFilter("tapestry-fill",null),L.setFilter("tapestry-line",null),L.setPaintProperty("upg-pins","circle-opacity",.85);return}ie=J;const D=[...j(J)];f.value=D.length===1?D[0]:J.id??null;const ee=["in",["get","zoneKey"],["literal",D]];L.setFilter("tapestry-fill",ee),L.setFilter("tapestry-line",ee),L.getLayer("upg-pins")&&L.setPaintProperty("upg-pins","circle-opacity",["case",["in",["get","zoneKey"],["literal",D]],.95,.05]);const le=R($e=>D.includes($e.properties.zoneKey));le&&L.fitBounds(le,{padding:40,duration:700,maxZoom:6})}function we(){!L||!K||(We(),typeof te=="function"&&te(),Ze(),et(),ot(),f.value&&L.getLayer("tapestry-fill")&&Ae(ie))}function ft(){L&&(m.value=!m.value,_.theme.value=m.value?"dark":"light",L.setStyle(m.value?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11"),L.once("style.load",we))}function Re(){!L||!L.getLayer("upg-pins")||(L.on("click","upg-pins",J=>{const D=J&&J.features&&J.features[0];D&&i&&typeof i.selectPeopleGroup=="function"&&i.selectPeopleGroup(D)}),L.on("mouseenter","upg-pins",()=>{L&&(L.getCanvas().style.cursor="pointer")}),L.on("mouseleave","upg-pins",()=>{L&&(L.getCanvas().style.cursor="")}))}let Ke=null;function wn(J){var le;const D=((le=J==null?void 0:J.detail)==null?void 0:le.listId)??null;if(!D){Ae(null);return}const ee=ia(d.value,D);ee&&Ae(ee)}function ia(J,D){for(const ee of J||[]){if((ee.zoneKey||ee.id)===D)return ee;const le=ee.children&&ia(ee.children,D);if(le)return le}return null}function Wk(){const J=Js(o,{deafCount:Xs});d.value=J,se=dd(J);const D={};for(const ee of o.lists||[])D[ee.id]=ee.selector;for(const ee of o.asia_lists||[])D[ee.id]=ee.selector;for(const ee of o.uncovered_lists||[])D[ee.id]=ee.selector;D.deaf={type:"affinity_bloc",rop1:"A017"};for(const ee of se)ee.selector=D[ee.id];ye=Me(se)}async function Sd(){try{const D=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(!D.ok)throw new Error(`list ${D.status}`);const ee=id(ld(await D.json()));p=fd(ee),d.value=Js(o,{deafCount:Xs,records:ee})}catch{}}return to(async()=>{var $e,Mt,bt,Fe,Oe;Wk();const J=window.mapboxgl,D=(n==null?void 0:n.value)||(($e=a==null?void 0:a.value)==null?void 0:$e.tk)||"";if(!J){c.value="⚠ mapbox-gl not loaded",u.value="mapbox-gl did not load. The list and legend are unaffected.",Sd();return}if(!D){c.value="⚠ no mapbox token",u.value="No Mapbox token configured. The list and legend are unaffected.",Sd();return}J.accessToken=D;try{const he=l.value&&l.value.getRootNode();if(he instanceof ShadowRoot){const Ye="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.css";if(!he.querySelector(`link[href="${Ye}"]`)){const lt=document.createElement("link");lt.rel="stylesheet",lt.href=Ye,he.prepend(lt)}}}catch{}L=new J.Map({container:l.value,style:"mapbox://styles/mapbox/light-v11",center:[35,20],zoom:1.5,projection:"mercator"}),k.value=L,ne=vk(((Mt=l.value)==null?void 0:Mt.parentElement)||null,{enabled:r.value}),typeof window<"u"&&(window.__UPG_MAP__=L),window.__UPG_SELECT__={get list(){return h.value.map(he=>({...he}))},get total(){return x.value},get count(){return S.value},get color(){return V.value},get batchMode(){return v.value},setColor:he=>U(he),setBatchMode:he=>C(he),clipboardText:()=>md(h.value,{color:V.value}),clear:()=>xt(),toggleByProps:he=>{const Ye=hd(he,{nameMap:p});return Ye?(N(Ye),{...Ye}):null},toggleLegendRow:he=>{const Ye=Do=>{for(const at of Do){if(at.label===he)return at;if(at.children&&at.children.length){const lo=Ye(at.children);if(lo)return lo}}return null},lt=Ye(d.value);return lt?(ae(lt),{label:lt.label,zoneKeys:[...j(lt)]}):null},markedLegendRows:()=>{if(typeof document>"u")return[];const he=document.querySelector("my-upg-100-list-map");return[...(he&&he.shadowRoot||document).querySelectorAll(".stl-row.upg-batch-row .stl-name")].map(lt=>lt.textContent.trim())},highlightFeatureCount:()=>{if(!L||!K||!L.getLayer("upg-sel-fill"))return-1;const he=new Set,Ye=new Set,lt=new Set;for(const at of h.value)at.kind==="zone"?he.add(at.key.slice(5)):at.kind==="adm1"?Ye.add(at.name):at.kind==="adm0"&<.add(at.key.slice(5));let Do=0;for(const at of K.features){const lo=at.properties||{};(he.has(lo.zoneKey)||Ye.has(lo.shapeName)||lt.has(lo.iso3))&&Do++}return Do},zoneKeysForRow:he=>{const Ye=Do=>{for(const at of Do){if(at.label===he)return at;if(at.children&&at.children.length){const lo=Ye(at.children);if(lo)return lo}}return null},lt=Ye(d.value);return lt?[...j(lt)]:null}};try{c.value="loading boundaries…";const he=De=>{var ct;return`${String(((ct=a.value)==null?void 0:ct.assetsBase)||"./assets").replace(/\/+$/,"")}/boundaries/${De}`},Ye=De=>fetch(he(De)).then(ct=>{if(!ct.ok)throw new Error(`boundary fetch ${ct.status} ${De}`);return ct.json()}),[lt,Do,at]=await Promise.all([Ye("world-adm0.geojson"),Ye("gb-IND-ADM1.geojson"),Ye("gb-CHN-ADM1.geojson")]);c.value="fetching 2106 UUPGs…";const Qs=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(!Qs.ok)throw new Error(`list ${Qs.status}`);const xn=id(ld(await Qs.json()));p=fd(xn),d.value=Js(o,{deafCount:Xs,records:xn});const{tapestry:Yk,perZone:Jk}=pk(se,{records:xn,adm0:lt,adm1Ind:Do,adm1Chn:at});K=jo(Yk),T(xn);const ei=[],la={},{evaluate:qk}=await An(async()=>{const{evaluate:De}=await Promise.resolve().then(()=>rk);return{evaluate:De}},void 0);for(const De of se)if(De.selector&&De.selector.type==="pg_slugs")for(const ct of De.selector.values||[])ct in la||(la[ct]=De.zoneKey);else try{for(const ct of qk(De.selector,xn))ct in la||(la[ct]=De.zoneKey)}catch(ct){console.warn("zone selector skipped",De.id,ct&&ct.message)}for(const De of xn){const ct=Number(De.latitude),oi=Number(De.longitude);!isFinite(ct)||!isFinite(oi)||ei.push({type:"Feature",geometry:{type:"Point",coordinates:[oi,ct]},properties:{slug:De.slug,zoneKey:la[De.slug]||"",name:De.name||De.slug||"",population:De.population??0,countryName:De.country_code_label||"",country:De.country_code||""}})}const Zk=jo({type:"FeatureCollection",features:ei});te=()=>{L.getSource("upg")||(L.addSource("upg",{type:"geojson",data:Zk}),L.addLayer({id:"upg-pins",type:"circle",source:"upg",paint:{"circle-radius":["interpolate",["linear"],["zoom"],1,2.5,4,4,8,6],"circle-color":ye,"circle-opacity":.85,"circle-stroke-width":.6,"circle-stroke-color":"rgba(255,255,255,0.6)"}}),Re())};let ti=!0;const Sn=()=>{ti&&(ti=!1,L.off("style.load",Sn),L.off("idle",Sn),we())};if(L.isStyleLoaded())Sn();else{L.once("style.load",Sn),L.once("idle",Sn);const De=setInterval(()=>{if(!ti||!L){clearInterval(De);return}let ct=!1;try{ct=L.isStyleLoaded()}catch{clearInterval(De);return}ct&&(clearInterval(De),Sn())},120);setTimeout(()=>clearInterval(De),15e3)}const Xk=[...Jk.values()].filter(De=>De>=1).length;c.value=`${K.features.length} polys · ${Xk}/26 zones · ${ei.length} pins`}catch(he){c.value="⚠ "+(he&&he.message?he.message:String(he))}let ee=0;const le=()=>{const he=typeof document<"u"&&document.querySelector("my-upg-100-list-map"),Ye=he&&he.shadowRoot||(typeof document<"u"?document:null);if(Ye&&Ye.querySelector(".stl-rows")){de(),I();return}ee++<40&&setTimeout(le,250)};le();{const he=(Oe=(Fe=(bt=l.value)==null?void 0:bt.getRootNode)==null?void 0:Fe.call(bt))==null?void 0:Oe.host;he&&(Ke=wn,he.addEventListener("doxa:select-zone",Ke))}}),To(()=>{var J,D,ee;if(Ke){const le=(ee=(D=(J=l.value)==null?void 0:J.getRootNode)==null?void 0:D.call(J))==null?void 0:ee.host;le==null||le.removeEventListener("doxa:select-zone",Ke),Ke=null}if(oe){try{oe.disconnect()}catch{}oe=null}if(ne){try{ne()}catch{}ne=null}L&&(L.remove(),L=null),K=null}),(J,D)=>{var ee;return z(),Q("div",kk,[E("div",{ref_key:"mapEl",ref:l,class:"upg-map"},null,512),u.value?(z(),Q("div",wk,[D[1]||(D[1]=E("strong",null,"Map unavailable",-1)),dt(ce(u.value),1)])):me("",!0),r.value?(z(),Q(Ce,{key:1},[D[2]||(D[2]=E("div",{class:"map-scroll-edge map-scroll-edge--left"},null,-1)),D[3]||(D[3]=E("div",{class:"map-scroll-edge map-scroll-edge--right"},null,-1))],64)):me("",!0),k.value?(z(),st(ek,{key:2,ref_key:"geocoderRef",ref:B,"map-instance":k.value,"access-token":be(n)||((ee=be(a))==null?void 0:ee.tk)||"","data-source-id":Zs,"is-dark":m.value,placeholder:Fk,"active-context":Rk,onPeopleGroupResult:O,onAggregateResult:W,onClear:q},null,8,["map-instance","access-token","is-dark"])):me("",!0),k.value?(z(),st(a1,{key:3},{default:Bt(()=>[je(s1,{map:k.value,"is-dark":m.value},null,8,["map","is-dark"]),je(i1,{map:k.value,"is-dark":m.value},null,8,["map","is-dark"]),je(l1,{map:k.value,"is-dark":m.value},null,8,["map","is-dark"]),je(d1,{"map-container":l.value,"is-dark":m.value},null,8,["map-container","is-dark"]),je(g1,{"is-dark":m.value,onToggle:ft},null,8,["is-dark"]),je(nd,{"is-dark":m.value,"embed-path":"my-upg-100-list/upg-100-list/index.html"},null,8,["is-dark"]),je(qo,{"is-dark":m.value,active:v.value,class:Le({"upg-batch-on":v.value}),"aria-pressed":v.value?"true":"false",title:"Batch Select",onClick:A},{default:Bt(()=>[...D[4]||(D[4]=[E("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[E("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),E("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),E("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"}),E("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"})],-1)])]),_:1},8,["is-dark","active","class","aria-pressed"])]),_:1})):me("",!0),E("div",xk,[d.value.length?(z(),st(Lu,{key:0,nodes:d.value,columns:["count","pop"],title:vd,"export-enabled":!0,onSelect:Ae,onExport:ge},null,8,["nodes"])):me("",!0)]),E("div",Sk,[d.value.length?(z(),st(n1,{key:0,"legend-type":"upg-100",nodes:d.value,columns:["count","pop"],"column-label":"UPG 100",title:vd,"is-dark":m.value,"popup-action":"pray"},null,8,["nodes","is-dark"])):me("",!0)]),E("div",Ak,[be(i)&&be(i).selectedPeopleGroup?(z(),Q("div",{key:0,class:Le(["upg-detail-panel pg-detail-root",{dark:m.value}])},[je(be(t),{peopleGroup:be(i).selectedPeopleGroup,dark:m.value,action:"pray"},null,8,["peopleGroup","dark"])],2)):me("",!0)]),v.value?(z(),Q("div",$k,[D[5]||(D[5]=E("div",{class:"upg-hud-hint"}," Tap territories on the map or legend rows to add · tap again to remove ",-1)),S.value?(z(),Q("div",Lk,[E("span",null,ce(S.value)+" territor"+ce(S.value===1?"y":"ies")+" ·",1),E("span",Ck,ce(x.value)+" UUPG",1),E("span",{class:Le(["upg-hud-band",{ok:x.value>=50&&x.value<=100}])},ce(x.value>=50&&x.value<=100?"✓ 50–100 band":"band 50–100"),3)])):me("",!0),S.value?(z(),Q("div",Tk,ce(h.value.map(le=>le.name).join(", ")),1)):me("",!0),S.value?(z(),Q("div",Ek,[(z(),Q(Ce,null,At(M,le=>E("button",{key:le,class:Le(["upg-swatch",{active:V.value===le}]),"data-color":le,style:tt({background:le}),title:le,onClick:$e=>U(le)},null,14,Pk)),64)),yp(E("input",{"onUpdate:modelValue":D[0]||(D[0]=le=>G.value=le),class:"upg-hex",placeholder:"#hex",spellcheck:"false",onChange:re,onKeyup:of(re,["enter"])},null,544),[[Xg,G.value]])])):me("",!0),S.value?(z(),Q("div",Mk,[E("button",{class:"upg-hud-btn copy",onClick:$},"Copy selection"),E("button",{class:"upg-hud-btn clear",onClick:xt},"Clear")])):me("",!0),S.value?(z(),Q("div",Nk,ce(b.value),1)):me("",!0)])):me("",!0),E("div",Ik,ce(c.value),1)])}}}},Symbol.toStringTag,{value:"Module"})),Dk=` /* 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. */ @@ -1074,7 +1074,7 @@ background:rgba(0,0,0,.55); color:#fff; font-size:11px; letter-spacing:.02em; pointer-events:none; z-index:6; opacity:.9; } -`;function Bk(e,{host:t,mountPane:o}){const n=Array.isArray(e==null?void 0:e.panes)?e.panes:[];if(n.length<2)return null;const a=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(a.length<2)return null;const r=document.createElement("div");r.className="pane-col";const s=new Map;return a.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${a[l+1].label} below`,c.appendChild(d)}r.appendChild(c)}),t.appendChild(r),{panes:a,scrollTo(i){const l=r.querySelector(`.pane[data-pane-id="${i}"]`);l&&l.scrollIntoView({behavior:"smooth",block:"start"})},current(){var l;const i=a.map(c=>{const u=r.querySelector(`.pane[data-pane-id="${c.id}"]`);return{id:c.id,d:Math.abs(((u==null?void 0:u.offsetTop)??0)-r.scrollTop)}});return i.sort((c,u)=>c.d-u.d),((l=i[0])==null?void 0:l.id)||a[0].id},onScroll(i){let l=null;const c=()=>{l&&clearTimeout(l),l=setTimeout(i,120)};return r.addEventListener("scroll",c,{passive:!0}),()=>{l&&clearTimeout(l),r.removeEventListener("scroll",c)}},mountEl:i=>s.get(i)||null,destroy(){r.remove(),s.clear()}}}const jk={class:"upgmfe"},Gk={class:"hdr"},Uk={class:"viewsel"},Kk={class:"seg",role:"tablist","aria-label":"Views"},Hk=["aria-pressed","aria-selected","onClick"],wd="my-upg-100-list-map",zk="my-upg-100-list/upg-100-mfe/index.html",Vk=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-mfe",setup(e){const t=Ee("profileConfig",ue(null)),o=Ee("mapboxToken",ue("")),n=Ee("uiStore",null),a=X(()=>!!(n!=null&&n.isDark)),r=X(()=>{var f;return((f=t.value)==null?void 0:f.instanceId)||"upg-100-mfe"}),s=X(()=>{var f;return{id:"upg-100-mfe",tag:wd,config:{profile:"upg-100-list",dataSource:((f=t.value)==null?void 0:f.dataSource)||"pray-tools",instanceId:r.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(f){var S,b;const y=document.createElement(wd),m={...s.value.config,...f.config};o.value&&(m.tk=o.value);const x=((S=t.value)==null?void 0:S.locale)||((b=t.value)==null?void 0:b.lang);return x&&(m.locale=x),y.setAttribute("profile-config",JSON.stringify(m)),y}function h(f){l.value=f,c==null||c.scrollTo(f)}function k(f){const y=(f==null?void 0:f.detail)||{};y.instanceId&&y.instanceId!==r.value||h("map")}return to(()=>{var f;if(i.value&&(c=Bk(s.value,{host:i.value}),!!c)){for(const y of c.panes)y.config&&((f=c.mountEl(y.id))==null||f.appendChild(d(y)));u=c.onScroll(()=>{const y=c.current();y&&y!==l.value&&(l.value=y)}),window.addEventListener("doxa-upg-100-list:show-on-map",k)}}),To(()=>{window.removeEventListener("doxa-upg-100-list:show-on-map",k),u==null||u(),c==null||c.destroy(),c=null}),wt(Dk+` +`;function Bk(e,{host:t,mountPane:o}){const n=Array.isArray(e==null?void 0:e.panes)?e.panes:[];if(n.length<2)return null;const a=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(a.length<2)return null;const r=document.createElement("div");r.className="pane-col";const s=new Map;return a.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${a[l+1].label} below`,c.appendChild(d)}r.appendChild(c)}),t.appendChild(r),{panes:a,scrollTo(i){const l=r.querySelector(`.pane[data-pane-id="${i}"]`);l&&l.scrollIntoView({behavior:"smooth",block:"start"})},current(){var l;const i=a.map(c=>{const u=r.querySelector(`.pane[data-pane-id="${c.id}"]`);return{id:c.id,d:Math.abs(((u==null?void 0:u.offsetTop)??0)-r.scrollTop)}});return i.sort((c,u)=>c.d-u.d),((l=i[0])==null?void 0:l.id)||a[0].id},onScroll(i){let l=null;const c=()=>{l&&clearTimeout(l),l=setTimeout(i,120)};return r.addEventListener("scroll",c,{passive:!0}),()=>{l&&clearTimeout(l),r.removeEventListener("scroll",c)}},mountEl:i=>s.get(i)||null,destroy(){r.remove(),s.clear()}}}const jk={class:"upgmfe"},Gk={class:"hdr"},Uk={class:"viewsel"},Kk={class:"seg",role:"tablist","aria-label":"Views"},Hk=["aria-pressed","aria-selected","onClick"],wd="my-upg-100-list-map",zk="my-upg-100-list/upg-100-mfe/index.html",Vk=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"upg-100-mfe",setup(e){const t=Ee("profileConfig",ue(null)),o=Ee("mapboxToken",ue("")),n=Ee("uiStore",null),a=X(()=>!!(n!=null&&n.isDark)),r=X(()=>{var m;return((m=t.value)==null?void 0:m.instanceId)||"upg-100-mfe"}),s=X(()=>{var m;return{id:"upg-100-mfe",tag:wd,config:{profile:"upg-100-list",dataSource:((m=t.value)==null?void 0:m.dataSource)||"pray-tools",instanceId:r.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(m){var S,b;const _=document.createElement(wd),h={...s.value.config,...m.config};o.value&&(h.tk=o.value);const x=((S=t.value)==null?void 0:S.locale)||((b=t.value)==null?void 0:b.lang);return x&&(h.locale=x),_.setAttribute("profile-config",JSON.stringify(h)),_}function f(m){l.value=m,c==null||c.scrollTo(m)}function k(m){const _=(m==null?void 0:m.detail)||{};_.instanceId&&_.instanceId!==r.value||f("map")}return to(()=>{var m;if(i.value&&(c=Bk(s.value,{host:i.value}),!!c)){for(const _ of c.panes)_.config&&((m=c.mountEl(_.id))==null||m.appendChild(d(_)));u=c.onScroll(()=>{const _=c.current();_&&_!==l.value&&(l.value=_)}),window.addEventListener("doxa-upg-100-list:show-on-map",k)}}),To(()=>{window.removeEventListener("doxa-upg-100-list:show-on-map",k),u==null||u(),c==null||c.destroy(),c=null}),wt(Dk+` /* ── palette: app-wrapper-material's --ui-* (light default, dark via system) ── */ .upgmfe{ --ui-bg:#ffffff; --ui-bg-elevated:#f9f9f9; --ui-bg-accented:#f0f0f0; @@ -1123,4 +1123,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"),(f,y)=>(z(),Q("div",jk,[E("header",Gk,[E("fieldset",Uk,[y[0]||(y[0]=E("legend",null,"Select View",-1)),E("div",Kk,[(z(!0),Q(Ce,null,At(s.value.panes,m=>(z(),Q("button",{key:m.id,type:"button",role:"tab","aria-pressed":l.value===m.id?"true":"false","aria-selected":l.value===m.id?"true":"false",onClick:x=>h(m.id)},ce(m.label),9,Hk))),128))])]),je(nd,{"is-dark":a.value,"embed-path":zk},null,8,["is-dark"])]),E("div",{class:"stage",ref_key:"stage",ref:i},null,512)]))}}},Symbol.toStringTag,{value:"Module"}))})(); +`,"upg-100-mfe"),(m,_)=>(z(),Q("div",jk,[E("header",Gk,[E("fieldset",Uk,[_[0]||(_[0]=E("legend",null,"Select View",-1)),E("div",Kk,[(z(!0),Q(Ce,null,At(s.value.panes,h=>(z(),Q("button",{key:h.id,type:"button",role:"tab","aria-pressed":l.value===h.id?"true":"false","aria-selected":l.value===h.id?"true":"false",onClick:x=>f(h.id)},ce(h.label),9,Hk))),128))])]),je(nd,{"is-dark":a.value,"embed-path":zk},null,8,["is-dark"])]),E("div",{class:"stage",ref_key:"stage",ref:i},null,512)]))}}},Symbol.toStringTag,{value:"Module"}))})(); diff --git a/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html b/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html index 43d96d91..50481a34 100644 --- a/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html +++ b/public/embed/doxa-maps-build/doxa-maps/my-upg-100-list/poster-wall/index.html @@ -29,7 +29,7 @@ - + - + - + - + - + - +